/* Service status surfaces use appyJunto blue/navy with distinct, labelled pastel health states. */
.status-site {
    margin: 0;
    background: #f7f9fd;
    color: #102e61;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
.status-site *,
.status-admin * {
    box-sizing: border-box;
}
.status-site [hidden],
.status-admin [hidden] {
    display: none !important;
}
.status-site a {
    color: #0866ff;
    text-decoration: none;
}
.status-site button,
.status-site select {
    font: inherit;
}
.status-site a:focus-visible,
.status-site button:focus-visible,
.status-site select:focus-visible,
.status-day:focus-visible,
.status-timeline summary:focus-visible {
    outline: 3px solid #0866ff;
    outline-offset: 4px;
}
.status-container {
    width: min(1040px, calc(100% - 64px));
    margin: 0 auto;
}
.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
}
.status-site .brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #102e61;
    font-size: 29px;
    font-weight: 750;
    letter-spacing: -1.4px;
}
.status-site .brand img {
    width: 186px;
    height: 52px;
    object-fit: contain;
}
.status-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.status-site .language-picker {
    display: flex;
    gap: 10px;
    align-items: center;
}
.status-site .language-picker label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.status-site .language-picker select {
    border: 1px solid #dce6f3;
    background: #fff;
    border-radius: 10px;
    color: #29466f;
    padding: 9px 12px;
    max-width: 160px;
}
.status-intro {
    padding: 52px 0 28px;
    max-width: 760px;
}
.status-eyebrow {
    display: block;
    color: #0866ff;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.status-intro h1,
.status-holding h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 15px 0 18px;
    font-weight: 750;
}
.status-intro p {
    color: #60718c;
    font-size: 17px;
    margin: 0;
    max-width: 690px;
}
.status-operational {
    --status-ink: #14684f;
    --status-soft: #eaf7f0;
    --status-solid: #29a879;
}
.status-degraded {
    --status-ink: #8b520b;
    --status-soft: #fff4e4;
    --status-solid: #eda534;
}
.status-outage {
    --status-ink: #a13243;
    --status-soft: #fff0f2;
    --status-solid: #de687b;
}
.status-maintenance,
.status-scheduled {
    --status-ink: #2451aa;
    --status-soft: #ecf2ff;
    --status-solid: #6791eb;
}
.status-unknown {
    --status-ink: #58677e;
    --status-soft: #edf1f6;
    --status-solid: #dce3ee;
}
.status-overview {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e0eade;
    border-radius: 22px;
    padding: 25px 28px;
    color: var(--status-ink);
    background: var(--status-soft);
    margin: 6px 0 32px;
}
.status-overview h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 3px;
    line-height: 1.35;
    color: inherit;
    letter-spacing: -0.4px;
}
.status-overview p {
    margin: 0;
    font-size: 12px;
    color: inherit;
}
.status-overview-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #ffffffb3;
}
.status-overview-icon svg {
    width: 30px;
    height: 30px;
}
.status-overview a.status-refresh {
    margin-left: auto;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    font-weight: 650;
    color: var(--status-ink);
    white-space: nowrap;
}
.status-section {
    margin: 28px 0;
}
.status-section h2 {
    margin: 0 0 18px;
    font-size: 19px;
    letter-spacing: -0.3px;
    color: #102e61;
    font-weight: 700;
}
.status-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.status-section-heading h2 {
    margin: 0;
}
.status-services-panel,
.status-days-panel {
    background: #fff;
    border: 1px solid #e4eaf4;
    border-radius: 22px;
    padding: 28px;
}
.status-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid #edf1f7;
}
.status-service-name {
    display: flex;
    align-items: center;
    gap: 13px;
    font-weight: 570;
}
.status-service-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--status-solid, #29a879);
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 650;
    background: var(--status-soft);
    color: var(--status-ink);
}
.status-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-solid);
}
.status-footnote {
    font-size: 12px;
    color: #63758e;
    margin: 18px 0 0;
    line-height: 1.6;
}
.status-muted {
    color: #63758e;
    font-size: 12px;
}
.status-days {
    display: grid;
    grid-template-columns: repeat(30, minmax(0, 1fr));
    gap: 5px;
    margin-top: 23px;
}
.status-day {
    display: block;
    position: relative;
    height: 34px;
    border-radius: 4px;
    background: var(--status-solid);
}
.status-day::after {
    display: none;
    position: absolute;
    z-index: 2;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 220px;
    padding: 8px 12px;
    border-radius: 9px;
    background: #102e61;
    color: #fff;
    font-size: 12px;
    content: attr(data-tip);
}
.status-day:first-child::after {
    left: 0;
    transform: none;
}
.status-day:last-child::after {
    right: 0;
    left: auto;
    transform: none;
}
.status-day:hover::after,
.status-day:focus-visible::after {
    display: block;
}
.status-days-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #63758e;
    margin-top: 8px;
}
.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 16px;
    font-size: 11px;
    color: #63758e;
}
.status-legend span {
    display: flex;
    gap: 7px;
    align-items: center;
}
.status-event {
    padding: 25px 28px;
    border: 1px solid #e4eaf4;
    border-left: 3px solid var(--status-solid);
    border-radius: 18px;
    background: #fff;
    margin: 12px 0;
}
.status-event-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.status-event h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    color: #102e61;
    font-weight: 700;
}
.status-event > p {
    margin: 17px 0;
    color: #526786;
}
.status-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}
.status-tags span {
    font-size: 11px;
    padding: 3px 8px;
    color: #526786;
    background: #f4f7fc;
    border-radius: 5px;
}
.status-event-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 28px;
    margin: 14px 0;
    font-size: 12px;
}
.status-event-dates dt {
    color: #63758e;
    font-weight: 400;
}
.status-event-dates dd {
    margin: 2px 0 0;
    font-weight: 600;
}
.status-timeline {
    margin-top: 18px;
    border-top: 1px solid #edf1f7;
    padding-top: 14px;
}
.status-timeline summary {
    display: flex;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
    color: #2451aa;
}
.status-timeline summary::-webkit-details-marker {
    display: none;
}
.status-timeline ol {
    list-style: none;
    margin: 22px 0 0 5px;
    padding: 0 0 0 23px;
    border-left: 1px solid #dce6f3;
}
.status-timeline li {
    position: relative;
    padding-bottom: 20px;
    font-size: 13px;
}
.status-timeline li:last-child {
    padding-bottom: 0;
}
.status-timeline li::before {
    position: absolute;
    left: -28px;
    top: 6px;
    content: '';
    border-radius: 50%;
    width: 9px;
    height: 9px;
    background: #0866ff;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e6efff;
}
.status-timeline time {
    display: block;
    font-size: 11px;
    color: #63758e;
    margin-top: 3px;
}
.status-timeline p {
    color: #526786;
    margin: 7px 0 0;
}
.status-empty {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e4eaf4;
    border-radius: 18px;
    padding: 24px;
    color: #63758e;
}
.status-empty > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #14684f;
    background: #eaf7f0;
}
.status-empty svg {
    width: 22px;
    height: 22px;
}
.status-empty p {
    margin: 0;
}
.status-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 22px;
    font-size: 13px;
}
.status-footer {
    margin-top: 55px;
    padding: 28px 0;
    border-top: 1px solid #e4eaf4;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 12px;
}
.status-footer div {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.status-footer span {
    color: #63758e;
}
.status-footer a {
    display: flex;
    gap: 12px;
    align-items: center;
}
.status-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px solid #0866ff;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 650;
    background: #0866ff;
    color: #fff !important;
}
.status-button-light {
    color: #102e61 !important;
    border-color: #dce6f3;
    background: #fff;
}
.status-button:hover {
    filter: brightness(0.96);
}
.status-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.status-holding {
    text-align: center;
    max-width: 750px;
    margin: 55px auto 75px;
}
.status-holding h1 {
    margin: 22px 0;
}
.status-holding > p {
    color: #526786;
    max-width: 580px;
    margin: 0 auto 26px;
    font-size: 17px;
}
.status-emblem {
    width: 90px;
    height: 90px;
    border-radius: 27px;
    background: #e9f1ff;
    color: #0866ff;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    box-shadow: 0 0 0 12px #f0f5ff;
}
.status-emblem svg {
    width: 44px;
    height: 44px;
}
.status-holding-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 23px;
    border: 1px solid #e4eaf4;
    border-radius: 18px;
    background: #fff;
    max-width: 550px;
    margin: 0 auto 25px;
}
.status-holding-detail span {
    font-size: 13px;
    color: #63758e;
}
.status-text-button {
    background: none;
    border: 0;
    color: #63758e;
    padding: 12px;
    cursor: pointer;
}
.status-notice {
    padding: 20px 24px;
    background: #ecf2ff;
    border: 1px solid #dce6f3;
    border-radius: 15px;
    color: #365981;
    font-size: 14px;
    margin: 20px 0;
}
.status-admin {
    max-width: 1180px;
    margin: 0 auto;
}
.status-admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}
.status-admin-heading h1 {
    margin: 12px 0;
}
.status-admin-heading p {
    color: #63758e;
    max-width: 710px;
}
.status-create.panel {
    margin-top: 28px;
    padding: 30px;
}
.status-create h2 {
    margin: 0 0 24px;
    font-size: 24px;
}
.status-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.status-form-grid > div > label {
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}
.status-form-grid .form-select,
.status-form-grid .form-control {
    margin-top: 8px;
}
.status-component-choices {
    margin: 0;
    padding: 0;
    border: 0;
}
.status-component-choices legend {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.status-component-choices label {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    margin-bottom: 6px;
    border: 1px solid #e4eaf4;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.status-component-choices input,
.status-confirm input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    accent-color: #0866ff;
}
.status-message-preview {
    margin-top: 22px;
    padding: 22px;
    background: #f4f7fc;
    border-radius: 14px;
}
.status-message-preview h3 {
    font-size: 16px;
    margin: 12px 0;
}
.status-message-preview p {
    font-size: 13px;
    color: #526786;
    margin: 0;
}
.status-confirm {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #29466f;
    padding: 16px 0;
}
.status-create > button {
    margin-top: 18px;
}
.status-operator-event {
    margin: 24px 0;
    border: 1px solid #e4eaf4;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}
.status-operator-event .status-event {
    margin: 0;
    border-width: 0 0 0 3px;
    border-radius: 0;
}
.status-operator-actions {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    padding: 18px 28px;
    background: #f4f7fc;
    border-top: 1px solid #e4eaf4;
    flex-wrap: wrap;
}
.status-operator-actions label {
    font-size: 13px;
}
.status-operator-actions .form-select {
    margin-top: 6px;
}
.status-planned-actions .status-confirm {
    width: 100%;
    margin: 0;
    padding: 0;
}
.status-admin-board {
    margin-top: 32px;
}
.status-admin-board > summary {
    cursor: pointer;
    font-weight: 650;
    color: #2451aa;
    padding: 12px 0;
}
.service-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    white-space: nowrap;
}
.service-admin-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
    padding: 14px 20px;
    border-radius: 12px;
    background: #ecf2ff;
    color: #2451aa;
    font-size: 13px;
}
@media (max-width: 700px) {
    .status-container {
        width: calc(100% - 32px);
    }
    .status-header {
        align-items: flex-start;
        gap: 16px;
        padding: 22px 0;
    }
    .status-site .brand {
        font-size: 23px;
    }
    .status-site .brand img {
        width: 140px;
        height: 42px;
    }
    .status-header-actions {
        gap: 8px;
        flex-direction: column;
        align-items: flex-end;
    }
    .status-header-actions .status-button {
        padding: 7px 12px;
        font-size: 12px;
    }
    .status-site .language-picker select {
        padding: 6px;
        font-size: 12px;
        max-width: 122px;
    }
    .status-intro {
        padding: 25px 0;
    }
    .status-intro p {
        font-size: 15px;
    }
    .status-overview {
        flex-wrap: wrap;
        padding: 20px;
        gap: 14px;
    }
    .status-overview h2 {
        font-size: 18px;
    }
    .status-overview > div {
        flex: 1;
    }
    .status-overview a.status-refresh {
        margin-left: 64px;
    }
    .status-services-panel,
    .status-days-panel,
    .status-event {
        padding: 20px;
    }
    .status-service-row {
        align-items: flex-start;
    }
    .status-service-name {
        font-size: 13px;
        gap: 8px;
    }
    .status-service-dot {
        margin-top: 6px;
    }
    .status-pill {
        font-size: 10px;
        padding: 5px 8px;
        flex-shrink: 0;
        max-width: 45%;
        text-align: right;
        line-height: 1.5;
    }
    .status-holding .status-pill {
        max-width: none;
    }
    .status-days {
        gap: 3px;
    }
    .status-day {
        height: 28px;
        border-radius: 3px;
    }
    .status-event-heading {
        flex-direction: column;
        gap: 9px;
    }
    .status-event-heading .status-pill {
        max-width: 100%;
    }
    .status-event h3 {
        font-size: 16px;
    }
    .status-footer {
        flex-direction: column;
        margin-top: 36px;
    }
    .status-footer div {
        gap: 8px;
        flex-direction: column;
    }
    .status-holding {
        margin: 32px auto;
    }
    .status-admin-heading {
        flex-direction: column;
    }
    .status-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .status-create.panel {
        padding: 22px;
    }
    .status-operator-actions {
        padding: 20px;
    }
    .service-admin-banner {
        flex-wrap: wrap;
    }
}
