/* Individual service status pages */
.status-source-explainer {
    margin-top: 8px !important;
    padding-inline-start: 12px;
    border-inline-start: 3px solid var(--primary, #0077FF);
    font-size: .82rem !important;
}

.status-service-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
}

.status-details-link {
    color: var(--navy, #0B1D3A);
}

.status-detail-hero {
    padding: 28px 0 34px;
    background:
        radial-gradient(
            circle at 18% 10%,
            rgba(0, 119, 255, .10),
            transparent 30%
        ),
        linear-gradient(180deg, #FFFFFF, #F6F8FB);
}

.status-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 24px;
    color: #7B8798;
    font-size: .78rem;
}

.status-breadcrumb a {
    color: var(--primary, #0077FF);
    text-decoration: none;
}

.status-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    align-items: center;
    gap: 28px;
}

.status-detail-title-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-detail-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    flex: 0 0 86px;
    overflow: hidden;
    color: #FFFFFF;
    border: 1px solid #E6EBF1;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 16px 38px rgba(11, 29, 58, .08);
    font-weight: 900;
}

.status-detail-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #FFFFFF;
}

.status-detail-title-wrap h1 {
    margin: 7px 0 10px;
    color: var(--navy, #0B1D3A);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.15;
}

.status-detail-title-wrap p {
    max-width: 720px;
    margin: 0;
    color: #64748B;
    line-height: 1.85;
}

.status-detail-current {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid #E6EBF1;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 16px 42px rgba(11, 29, 58, .06);
}

.status-detail-current::before,
.status-detail-panel::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #64748B;
}

.status-detail-current.status-operational::before,
.status-detail-panel.status-operational::before {
    background: #18A957;
}

.status-detail-current.status-reports::before,
.status-detail-panel.status-reports::before {
    background: #E6A700;
}

.status-detail-current.status-possible::before,
.status-detail-panel.status-possible::before {
    background: #F97316;
}

.status-detail-current.status-confirmed::before,
.status-detail-panel.status-confirmed::before {
    background: #DC2626;
}

.status-detail-current.status-maintenance::before,
.status-detail-panel.status-maintenance::before {
    background: #2563EB;
}

.status-detail-current strong,
.status-detail-current small {
    display: block;
}

.status-detail-current strong {
    margin: 13px 0 10px;
    color: var(--navy, #0B1D3A);
    line-height: 1.7;
}

.status-detail-current small {
    color: #7B8798;
    line-height: 1.6;
}

.status-detail-main-section {
    padding-top: 36px;
}

.status-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, .55fr);
    align-items: start;
    gap: 22px;
}

.status-detail-primary,
.status-detail-sidebar {
    display: grid;
    gap: 22px;
}

.status-detail-sidebar {
    position: sticky;
    top: 92px;
}

.status-detail-panel,
.status-troubleshooting,
.status-detail-history {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #E6EBF1;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 14px 38px rgba(11, 29, 58, .045);
}

.history-dot.status-operational { background: #18A957; }
.history-dot.status-reports { background: #E6A700; }
.history-dot.status-possible { background: #F97316; }
.history-dot.status-confirmed { background: #DC2626; }
.history-dot.status-maintenance { background: #2563EB; }
.history-dot.status-checking { background: #64748B; }

.status-detail-side-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #E6EBF1;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 14px 38px rgba(11, 29, 58, .045);
}

.status-detail-panel-head,
.status-detail-source-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.status-detail-panel-head h2,
.status-troubleshooting h2,
.status-detail-history h2,
.status-detail-side-card h2 {
    margin: 6px 0 0;
    color: var(--navy, #0B1D3A);
}

.status-detail-diagnosis {
    margin: 20px 0;
    color: #334155;
    font-size: 1rem;
    line-height: 1.9;
}

.status-detail-source-row {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #EEF2F6;
}

.status-detail-source-row div span,
.status-detail-source-row div strong {
    display: block;
}

.status-detail-source-row div span {
    margin-bottom: 4px;
    color: #7B8798;
    font-size: .72rem;
}

.status-detail-source-row div strong {
    color: var(--navy, #0B1D3A);
    font-size: .85rem;
}

.status-troubleshooting .section-heading p {
    margin: 8px 0 0;
    color: #64748B;
    line-height: 1.7;
}

.status-troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.status-troubleshooting-grid article {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    border: 1px solid #E6EBF1;
    border-radius: 16px;
    background: #F8FAFC;
}

.status-troubleshooting-grid article > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    border-radius: 12px;
    background: var(--primary, #0077FF);
    font-weight: 900;
}

.status-troubleshooting-grid h3 {
    margin: 0 0 5px;
    color: var(--navy, #0B1D3A);
    font-size: .92rem;
}

.status-troubleshooting-grid p {
    margin: 0;
    color: #64748B;
    font-size: .78rem;
    line-height: 1.7;
}

.history-dot.status-operational { background: #18A957; }
.history-dot.status-reports { background: #E6A700; }
.history-dot.status-possible { background: #F97316; }
.history-dot.status-confirmed { background: #DC2626; }
.history-dot.status-maintenance { background: #2563EB; }
.history-dot.status-checking { background: #64748B; }

.status-detail-side-card {
    padding: 20px;
}

.status-share-actions {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.status-share-actions a,
.status-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 15px;
    color: var(--navy, #0B1D3A);
    border: 1px solid #D9E2EC;
    border-radius: 13px;
    background: #FFFFFF;
    font-size: .82rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.status-share-actions a:first-child {
    color: #FFFFFF;
    border-color: var(--primary, #0077FF);
    background: var(--primary, #0077FF);
}

.status-related-list {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.status-related-list > a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: inherit;
    border: 1px solid #EEF2F6;
    border-radius: 14px;
    text-decoration: none;
}

.status-related-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #E6EBF1;
    border-radius: 12px;
    background: #FFFFFF;
}

.status-related-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.status-related-list strong,
.status-related-list small {
    display: block;
}

.status-related-list strong {
    color: var(--navy, #0B1D3A);
    font-size: .84rem;
}

.status-related-list small {
    margin-top: 4px;
    color: #64748B;
    font-size: .7rem;
}

.status-related-list i {
    color: #94A3B8;
    font-style: normal;
}

.status-back-link {
    color: #FFFFFF;
    border-color: var(--navy, #0B1D3A);
    background: var(--navy, #0B1D3A);
}

@media (max-width: 980px) {
    .status-detail-hero-grid,
    .status-detail-layout {
        grid-template-columns: 1fr;
    }

    .status-detail-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .status-back-link {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .status-detail-title-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .status-detail-icon {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
        border-radius: 20px;
    }

    .status-detail-panel-head,
    .status-detail-source-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .status-troubleshooting-grid,
    .status-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .status-service-links {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Phase 20G — Apple global incident scope */
.apple-incident-scope {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e3eaf3;
}

.apple-incident-scope-head h3 {
    margin: 5px 0 8px;
    color: #0b1d3a;
    font-size: 1.25rem;
}

.apple-incident-scope-head p {
    margin: 0;
    color: #6d7b8f;
    line-height: 1.8;
}

.apple-incident-scope-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.apple-incident-scope-card {
    padding: 18px;
    border: 1px solid #dbe6f3;
    border-radius: 18px;
    background: #f8fbff;
}

.apple-incident-scope-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.apple-incident-scope-title strong {
    color: #0b1d3a;
    font-size: 1.05rem;
}

.apple-incident-scope-title > span {
    color: #b42318;
    font-weight: 800;
    font-size: .86rem;
}

.apple-incident-scope-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.apple-incident-scope-badges span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #005fd6;
    font-size: .82rem;
    font-weight: 800;
}

.apple-incident-scope-card > p {
    margin: 8px 0 0;
    color: #415168;
    line-height: 1.8;
}

.apple-incident-scope-card .apple-incident-availability-note {
    color: #7a5b00;
    background: #fff8dc;
    border-radius: 12px;
    padding: 10px 12px;
}

@media (max-width: 720px) {
    .apple-incident-scope-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .apple-incident-scope-card {
        padding: 15px;
    }
}

/* SVQ8 STATUS SOURCE LABEL PUBLIC V1 */
.status-source-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 7px 11px;
    border: 1px solid #dbe7f3;
    border-radius: 999px;
    background: #f4f8fc;
    color: #5f7188;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.35;
    cursor: default;
}

/* ==========================================================
   SVQ8 STATUS CENTER V3-A
   Public /status/ refinement only.
   Home ticker and home summary are intentionally untouched.
   ========================================================== */

.status-page-section .status-overview {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid #dbe7f3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(11, 29, 58, .045);
}

.status-page-section .status-overview::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 5px;
    background: #64748b;
}

.status-page-section .status-overview-operational::before {
    background: #18a957;
}

.status-page-section .status-overview-reports::before {
    background: #e6a700;
}

.status-page-section .status-overview-possible::before {
    background: #f97316;
}

.status-page-section .status-overview-confirmed::before {
    background: #dc2626;
}

.status-page-section .status-overview-maintenance::before {
    background: #2563eb;
}

.status-page-section .status-overview-symbol {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 16px;
    font-weight: 900;
}

.status-page-section .status-overview-operational .status-overview-symbol {
    background: #eaf8f0;
    color: #148448;
}

.status-page-section .status-overview-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.status-page-section .status-overview-copy strong {
    color: #0b1d3a;
    font-size: 16px;
    font-weight: 900;
}

.status-page-section .status-overview-copy span {
    color: #718096;
    font-size: 12px;
    line-height: 1.6;
}

.status-page-section .status-overview-total {
    margin-inline-start: auto;
    padding: 6px 10px;
    white-space: nowrap;
    border-radius: 999px;
    background: #f3f7fb;
    color: #5f7188;
    font-size: 11px;
    font-weight: 850;
}

.status-page-section .status-service-grid {
    gap: 14px;
}

.status-page-section .status-service-card {
    padding: 18px 20px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(11, 29, 58, .04);
}

.status-page-section .status-service-head {
    gap: 12px;
}

.status-page-section .status-service-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 15px;
}

.status-page-section .status-service-head h2 {
    margin-bottom: 4px;
}

.status-page-section .status-service-message {
    margin-block: 12px 8px;
}

.status-page-section .status-service-details {
    margin-top: 10px;
    line-height: 1.65;
}

.status-page-section .status-service-meta {
    margin-top: 11px;
    color: #8795a8;
    font-size: 11px;
}

.status-page-section .status-service-meta time {
    color: #66768b;
    font-weight: 750;
}

.status-page-section .status-service-links {
    margin-top: 10px;
    gap: 9px 12px;
}

.status-page-section .status-source-label {
    padding: 5px 9px;
    font-size: .74rem;
}

@media (max-width: 720px) {
    .status-page-section .status-overview {
        align-items: flex-start;
        gap: 11px;
        padding: 14px 15px;
        border-radius: 18px;
    }

    .status-page-section .status-overview-symbol {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .status-page-section .status-overview-total {
        align-self: center;
        padding: 5px 8px;
        font-size: 10px;
    }

    .status-page-section .status-service-grid {
        gap: 12px;
    }

    .status-page-section .status-service-card {
        padding: 16px;
        border-radius: 18px;
    }

    .status-page-section .status-service-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 14px;
    }
}

/* ==========================================================
   SVQ8 STATUS CENTER V3-B
   Meaningful public event stream.
   ========================================================== */

.status-history-section .status-history-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
}

.status-history-section .status-history-copy {
    min-width: 0;
}

.status-history-section .history-kind {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.3;
}

.status-history-section .history-kind-started {
    background: #fff3e8;
    color: #c65c08;
}

.status-history-section .history-kind-updated,
.status-history-section .history-kind-changed {
    background: #fff8dc;
    color: #8a6800;
}

.status-history-section .history-kind-resolved {
    background: #eaf8f0;
    color: #148448;
}

.status-history-section .history-kind-maintenance {
    background: #eaf2ff;
    color: #1464c7;
}

.status-history-section .status-history-list time {
    white-space: nowrap;
    color: #7d8ba0;
    font-size: 11px;
}

@media (max-width: 720px) {
    .status-history-section .status-history-list article {
        align-items: flex-start;
    }

    .status-history-section .status-history-list time {
        margin-inline-start: 0;
        font-size: 10px;
    }

    .status-history-section .history-kind {
        padding: 3px 7px;
        font-size: 9px;
    }
}

/* ==========================================================
   SVQ8 STATUS CENTER V3-C
   Professional service detail page.
   ========================================================== */

.status-detail-current time {
    font: inherit;
}

.status-detail-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.status-detail-fact {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #dfe8f2;
    border-radius: 16px;
    background: #f8fbfe;
}

.status-detail-fact > span {
    color: #7a899d;
    font-size: 10px;
    font-weight: 800;
}

.status-detail-fact > strong {
    overflow-wrap: anywhere;
    color: #0b1d3a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.55;
}

.status-detail-fact > small {
    color: #95a1b1;
    font-size: 9px;
    line-height: 1.5;
}

.status-detail-fact.is-incident {
    border-color: #ffd7bf;
    background: #fff8f3;
}

.status-detail-fact.is-incident > span {
    color: #c65c08;
}

.status-detail-history .section-heading p {
    max-width: 620px;
}

.status-detail-history .status-detail-history-copy {
    min-width: 0;
}

.status-detail-history .status-detail-history-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
}

.status-detail-history .history-kind {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.3;
}

.status-detail-history .history-kind-started {
    background: #fff3e8;
    color: #c65c08;
}

.status-detail-history .history-kind-updated,
.status-detail-history .history-kind-changed {
    background: #fff8dc;
    color: #8a6800;
}

.status-detail-history .history-kind-resolved {
    background: #eaf8f0;
    color: #148448;
}

.status-detail-history .history-kind-maintenance {
    background: #eaf2ff;
    color: #1464c7;
}

.status-detail-history .status-history-list time {
    white-space: nowrap;
    color: #7d8ba0;
    font-size: 11px;
}

@media (max-width: 820px) {
    .status-detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .status-detail-facts {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .status-detail-fact {
        padding: 12px 13px;
        border-radius: 14px;
    }

    .status-detail-history .status-history-list article {
        align-items: flex-start;
    }

    .status-detail-history .status-history-list time {
        font-size: 10px;
    }

    .status-detail-history .history-kind {
        padding: 3px 7px;
        font-size: 9px;
    }
}

/* ==========================================================
   SVQ8 STATUS HERO COMPACT V1
   Compact public /status/ intro only.
   Home status surfaces remain untouched.
   ========================================================== */

.status-page-hero.status-page-hero-compact {
    padding: 30px 0 24px;
}

.status-page-hero-compact .status-page-hero-inner {
    display: block;
}

.status-page-hero-compact .status-hero-copy {
    max-width: 860px;
    margin-inline-start: auto;
}

.status-page-hero-compact h1 {
    margin: 6px 0 8px;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.15;
}

.status-page-hero-compact .status-hero-copy > p {
    max-width: 780px;
    font-size: .96rem;
    line-height: 1.75;
}

.status-page-hero-compact .status-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 12px;
    color: #738196;
    font-size: .78rem;
    font-weight: 700;
}

.status-page-hero-compact .status-hero-meta strong {
    color: #53657c;
    font-weight: 850;
}

.status-page-hero-compact .status-hero-meta i {
    color: #b2becc;
    font-style: normal;
}

.status-page-hero-compact + .status-page-section {
    padding-top: 20px;
}

@media (max-width: 720px) {
    .status-page-hero.status-page-hero-compact {
        padding: 26px 0 20px;
    }

    .status-page-hero-compact h1 {
        margin: 6px 0 9px;
        font-size: clamp(1.85rem, 8vw, 2.45rem);
        line-height: 1.2;
    }

    .status-page-hero-compact .status-hero-copy > p {
        font-size: .92rem;
        line-height: 1.7;
    }

    .status-page-hero-compact .status-hero-meta {
        gap: 6px 8px;
        margin-top: 11px;
        font-size: .75rem;
    }

    .status-page-hero-compact + .status-page-section {
        padding-top: 16px;
    }
}
