:root {
    --report-ink: #f1f3ff;
    --report-dim: #a4aed7;
    --report-line: #4d5bc0;
    --report-panel: #080875;
    --report-green: #7dffb2;
    --report-red: #ff9d9d;
    --report-page: #000078;
    --report-well: #00005d;
    --report-head: #00006a;
    --report-rule: #28358c;
    --report-edge: #aeb6ff;
    --report-stripe: rgba(0, 0, 30, .25);
    --report-hover: rgba(85, 255, 255, .09);
    --report-green-line: #4ba877;
    --report-red-line: #b46161;
}
/* the Light theme (theme.js) */
:root[data-theme="light"] {
    --report-ink: #1f1f1f;
    --report-dim: #55597a;
    --report-line: #b8bede;
    --report-panel: #ffffff;
    --report-green: #0a7a3e;
    --report-red: #b3261e;
    --report-page: #ffffff;
    --report-well: #f3f4fa;
    --report-head: #e6e8f5;
    --report-rule: #d5d8ea;
    --report-edge: #1f1f1f;
    --report-stripe: rgba(0, 0, 80, .035);
    --report-hover: rgba(0, 168, 168, .1);
}

body { background: var(--report-page); }
main { width: min(1440px, 94%); }
.report-heading { margin: 36px 0 34px; max-width: 880px; }
.eyebrow { margin: 0 0 6px; color: var(--accent); font-size: .68em; letter-spacing: .1em; }
.report-heading h1 { color: var(--bright); font-size: clamp(1.45em, 4vw, 2.25em); line-height: 1.16; margin: 0 0 14px; }
.dek { color: var(--report-ink); font-size: 1.05em; max-width: 780px; }
.report-meta { color: var(--report-dim); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .75em; }
.report-meta span:first-child { color: var(--accent); }
.box { background: var(--report-panel); border-color: var(--report-edge); }
.box > h1, .box > h2 { background: var(--report-panel); }
.section-intro { color: var(--report-dim); max-width: 1000px; font-size: .78em; }
.overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric { min-width: 0; padding: 12px 14px; border: 1px solid var(--report-line); background: var(--report-well); }
.metric strong { display: block; color: var(--accent); font-size: 1.25em; line-height: 1.3; overflow-wrap: anywhere; }
.metric span { display: block; color: var(--report-dim); font-size: .68em; line-height: 1.4; }
.freshness-summary { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.freshness-chip, .pill { display: inline-block; border: 1px solid var(--report-line); padding: 1px 8px; font-size: .68em; white-space: nowrap; }
.freshness-chip.current, .pill.current { color: var(--report-green); border-color: var(--report-green-line); }
.freshness-chip.outdated, .pill.outdated { color: var(--report-red); border-color: var(--report-red-line); }
.freshness-chip.unknown, .pill.unknown, .pill.unmeasured { color: var(--report-dim); }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--report-line); margin: 12px 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: .7em; line-height: 1.45; }
caption { text-align: left; padding: 8px 10px; color: var(--report-dim); font-size: .95em; }
th, td { text-align: left; vertical-align: top; border-top: 1px solid var(--report-rule); padding: 9px 10px; }
th { color: var(--accent); background: var(--report-head); position: sticky; top: 0; z-index: 1; }
td { color: var(--report-ink); }
tbody tr:nth-child(even) { background: var(--report-stripe); }
tbody tr:hover { background: var(--report-hover); }
.sort-button { border: 0; background: transparent; color: inherit; padding: 2px 0; font: inherit; font-weight: bold; cursor: pointer; white-space: nowrap; }
.sort-button:hover, .sort-button:focus-visible { color: var(--report-ink); text-decoration: underline; outline: 2px solid var(--accent); outline-offset: 2px; }
.sort-button span { color: var(--report-dim); }
.domain-cell { min-width: 230px; }
.domain-cell a { overflow-wrap: anywhere; }
.rank-source, .cell-sub { display: block; color: var(--report-dim); font-size: .86em; margin-top: 3px; }
.rank-detail { margin-top: 5px; }
.rank-detail summary { color: var(--link); cursor: pointer; font-size: .82em; }
.rank-detail summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ranking-panel { min-width: 240px; }
.ranking-panel p { margin: 0 0 6px; }
.site-detail { margin-top: 6px; }
.site-detail summary { color: var(--link); cursor: pointer; font-size: .9em; }
.site-detail summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.detail-panel { min-width: 260px; max-width: 680px; padding: 8px 10px; margin-top: 6px; border-left: 2px solid var(--accent); background: var(--report-well); font-size: .9em; }
.detail-panel h3 { font-size: 1em; margin: 8px 0 4px; }
.detail-panel h3::before { content: ''; }
.detail-panel ul { list-style: square; padding-left: 20px; }
.detail-panel li { padding: 0; text-indent: 0; overflow-wrap: anywhere; }
.detail-panel li::before { content: ''; }
.detail-panel a { overflow-wrap: anywhere; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) minmax(190px, 1.4fr) auto; gap: 10px; align-items: end; margin: 18px 0 8px; }
.filters label { display: flex; flex-direction: column; color: var(--accent); font-size: .68em; gap: 4px; }
.filters select, .filters input, .reset-button { min-width: 0; min-height: 42px; padding: 7px 9px; border: 2px solid var(--report-edge); border-radius: 0; color: var(--report-ink); background: var(--report-well); font: inherit; font-size: .72em; }
.filters select:focus-visible, .filters input:focus-visible, .reset-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.filters option { background: var(--report-well); }
.reset-button { cursor: pointer; color: var(--bar-text); background: var(--button-bg); white-space: nowrap; }
.table-status { color: var(--report-dim); font-size: .68em; margin: 8px 0; }
.site-table-wrap table { min-width: 900px; table-layout: fixed; }
.site-table-wrap th:nth-child(1), .site-table-wrap td:nth-child(1) { width: 16%; }
.site-table-wrap th:nth-child(2), .site-table-wrap td:nth-child(2) { width: 6%; }
.site-table-wrap th:nth-child(3), .site-table-wrap td:nth-child(3) { width: 30%; }
.site-table-wrap th:nth-child(4), .site-table-wrap td:nth-child(4) { width: 12%; }
.site-table-wrap th:nth-child(5), .site-table-wrap td:nth-child(5) { width: 17%; }
.site-table-wrap th:nth-child(6), .site-table-wrap td:nth-child(6) { width: 19%; }
.site-table-wrap th:first-child, .site-table-wrap td:first-child { min-width: 150px; }
.site-table-wrap td:nth-child(2), .site-table-wrap td:nth-child(4) { white-space: nowrap; }
.site-table-wrap td:nth-child(5) { white-space: normal; overflow-wrap: anywhere; }
.framework-name { color: var(--report-ink); }
.framework-version { color: var(--report-dim); font-size: .85em; }
.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.leader { border: 1px solid var(--report-line); padding: 10px 12px; background: var(--report-well); }
.leader h3 { margin: 0 0 4px; font-size: .76em; }
.leader h3::before { content: ''; }
.leader p { font-size: .72em; margin: 0; }
.methodology p { font-size: .78em; }
.method-list { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 2fr); gap: 5px 16px; margin: 12px 0; font-size: .76em; }
.method-list dt { color: var(--accent); text-transform: capitalize; }
.method-list dd { margin: 0; color: var(--report-ink); overflow-wrap: anywhere; }
.methodology .muted { color: var(--report-dim); }
.back-link { text-align: center; margin: 20px 0 34px; }
footer { color: var(--report-dim); font-size: .68em; }
.error-message { color: var(--report-red); }

@media (max-width: 900px) {
    .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-table-wrap { overflow-x: auto; }
}
@media (max-width: 520px) {
    body { font-size: 18px; }
    main { width: auto; padding: 0 12px; margin-top: 22px; }
    .report-heading { margin-top: 26px; }
    .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .metric { padding: 9px; }
    .filters { grid-template-columns: 1fr; }
    .filters label, .filters select, .filters input, .reset-button { width: 100%; }
    .leader-grid { grid-template-columns: 1fr; }
    .method-list { grid-template-columns: 1fr; gap: 0; }
    .method-list dd { margin-bottom: 8px; }
    .box { padding: 16px 12px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
