/* Classic pages deliberately own their table typography and spacing. */
.native-preview-banner {margin:0 0 24px;padding:18px 22px;border:2px solid #f3bc55;border-left-width:6px;border-radius:6px;background:#382b15;color:#fff1ce;font-size:16px;line-height:1.6;font-weight:600}
.native-preview-banner a {color:#a8e1ff;text-decoration:underline;font-weight:750}
.native-headline div {flex:0 0 auto}
.native-headline dt,.native-headline dd {white-space:nowrap}
.classic-page {font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0b1220;color:#e6edf7}
.classic-page main {max-width:1480px;margin:0 auto;padding:30px 32px 64px}
.classic-page h1 {font-size:32px;letter-spacing:-.025em}
.classic-page h2 {padding-left:0;padding-right:0;font-size:24px;line-height:1.3;letter-spacing:-.015em}
.classic-page h3 {font-size:18px;margin:0;padding:16px 20px;background:#101826;color:#eff6ff;border-bottom:1px solid #344254}
.classic-page a {color:#83d4fc}
.classic-intro {max-width:800px;margin-bottom:28px;color:#b7c6d9}
.classic-intro p {margin:6px 0}
.classic-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:22px}
.classic-card {display:flex;flex-direction:column;background:#141c2b;border:1px solid #344254;border-radius:10px;padding:24px}
.classic-card h2 {margin:6px 0 12px}
.classic-card h2 a {color:#f3f7fc;text-decoration:none}
.classic-kicker {color:#9bb0c8;font-size:13px;font-weight:650;margin:0}
.classic-headline {display:flex;flex-wrap:wrap;gap:20px 36px;margin:18px 0 26px;padding:20px;background:#141c2b;border-radius:8px}
.classic-card .classic-headline {padding:0;background:none}
.classic-headline div {min-width:135px}
.classic-headline dt {font-size:13px;color:#b7c6d9;font-weight:650;text-transform:uppercase;letter-spacing:.035em}
.classic-headline dd {margin:5px 0 0;font-size:25px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums;color:#f3f7fc}
.classic-open {display:block;margin-top:auto;padding-top:18px;text-decoration:none;font-weight:650}
.classic-back {display:inline-block;margin-bottom:20px}
.classic-filters {display:flex;align-items:end;flex-wrap:wrap;gap:16px;padding:20px;background:#141c2b;border:1px solid #344254;border-radius:8px}
.classic-filters label {display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:650}
.classic-filters select,.classic-filters input[type="date"],.classic-filters button {font:inherit;min-height:44px;padding:9px 12px;border:1px solid #52647c;border-radius:5px;background:#0b1220;color:#e6edf7}
.classic-filters button {background:#94d5f7;color:#0b1220;border-color:#94d5f7;font-weight:700;cursor:pointer}
.classic-filters select:disabled {opacity:.6}
.classic-filters a {padding:10px}
.classic-note {color:#b7c6d9;font-size:14px;margin:12px 0}
.classic-empty {padding:24px;color:#c7d3e3;border:1px dashed #52647c;border-radius:8px;margin:18px 0}
.classic-tab-links {display:flex;flex-wrap:wrap;gap:12px 24px;margin:24px 0}
.classic-tab {margin-top:44px;scroll-margin-top:20px}
.classic-tab>h2 {border-bottom:2px solid #5f8aaf;padding-bottom:12px;margin-bottom:24px}
.classic-table-block {margin:0 0 28px;border:1px solid #344254;border-radius:8px;overflow:hidden}
.classic-table-block>.classic-note {padding:0 20px}
.classic-scroll {overflow:auto;max-height:72vh;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#6b7a90 #141c2b}
.classic-scroll::-webkit-scrollbar {height:12px;width:12px}
.classic-scroll::-webkit-scrollbar-thumb {background:#6b7a90;border-radius:6px;border:2px solid #141c2b}
.classic-scroll::-webkit-scrollbar-track {background:#141c2b}
/* Wide pivots (status x closer) clip at 1440px: pin the row labels so the scrolled totals stay readable. */
/* Pin the label column only: body row labels, flagged row-label header cells, and the first single-span cell of each
   pivot header row (those rows live in tbody). Width is bounded so the pinned column never hides the first data columns. */
.classic-table th[scope="row"],.classic-table .classic-row-label,.classic-table .classic-section-header th:first-child[colspan="1"] {position:sticky;left:0;z-index:1;box-shadow:1px 0 0 #344254;min-width:clamp(180px,var(--label-width,30ch),260px);max-width:260px;width:260px;overflow-wrap:anywhere;text-align:left}
.classic-table th[scope="row"] {background:inherit}
/* Section title spans the table; keep its text in view while the pivot scrolls. */
.classic-table .classic-section-title th {position:sticky;left:0;z-index:1}
.classic-table .classic-section-title h3,.classic-table .classic-section-title .classic-note {position:sticky;left:20px;display:inline-block;max-width:calc(100vw - 120px)}
.classic-table .classic-row-label,.classic-table .classic-section-header th:first-child[colspan="1"] {z-index:3;background:var(--header-fill,#141c2b)}
.classic-table tbody tr:nth-child(odd) th[scope="row"] {background:#101826}
.classic-table tbody tr:nth-child(even) th[scope="row"] {background:#182233}
.classic-table tbody tr:hover th[scope="row"] {background:#22334a}
.classic-table tbody tr.classic-subtotal th[scope="row"] {background:#23334a}
.classic-table tbody tr.classic-total th[scope="row"] {background:#294861}
.classic-table {width:100%;border-collapse:separate;border-spacing:0;font-size:15px;line-height:1.5;white-space:normal}
.classic-table th {position:static;font-size:inherit;text-transform:none;letter-spacing:normal;white-space:normal;background:inherit;color:inherit}
.classic-table th,.classic-table td {padding:12px 16px;border:0;border-bottom:1px solid #2b3748;vertical-align:middle}
.classic-table thead {position:sticky;top:0;z-index:2}
.classic-table thead th {background:var(--header-fill,#141c2b);color:#e6edf7;font-weight:700;text-align:right;z-index:2;min-width:112px;font-size:14px;text-transform:none;letter-spacing:normal}
.classic-table thead .classic-row-label {text-align:left}
.classic-column-group {display:block;color:#b1d7ee;margin-bottom:6px;white-space:nowrap}
.classic-table tbody th {text-align:left;font-weight:400;padding-left:calc(16px + var(--level,0)*22px);overflow-wrap:anywhere}
.classic-table td {text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;color:#e6edf7}
.classic-table tbody tr:nth-child(odd) {background:#101826}
.classic-table tbody tr:nth-child(even) {background:#182233}
.classic-table tbody tr:hover {background:#22334a}
.classic-table tbody tr.classic-subtotal {background:#23334a}
.classic-table .classic-subtotal th,.classic-table .classic-subtotal td {font-weight:700;border-top:1px solid #52647c}
.classic-table tbody tr.classic-total {background:#294861}
.classic-table .classic-total th,.classic-table .classic-total td {font-weight:750;border-top:2px solid #83bde5;color:#fff}
.classic-sr-only {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.classic-page :focus-visible {outline:3px solid #94d5f7;outline-offset:3px}
@media(max-width:700px) {.classic-page main{padding:20px 14px 40px}.classic-cards{grid-template-columns:1fr}.classic-filters label{flex:1 1 180px}.classic-table th,.classic-table td{padding:11px 12px}.classic-table th[scope="row"],.classic-table .classic-row-label{min-width:160px;width:160px}}
@media print {
  @page {size:landscape;margin:12mm}
  .classic-page {background:white;color:#111;font-size:11pt}
  .classic-page main {max-width:none;padding:0}
  .classic-page .masthead,.classic-page .navigation,.classic-page footer,.classic-page .badge,.classic-back,.classic-filters,.classic-tab-links {display:none}
  .classic-page h1,.classic-page h2,.classic-page h3,.classic-page a,.classic-note {color:#111}
  .classic-scroll {overflow:visible;max-height:none}
  .classic-table {font-size:9pt;width:100%}
  .classic-table th,.classic-table td {padding:5px 7px;min-width:0!important;color:#111!important;white-space:normal}
  .classic-table thead th {position:static;background:#e7edf2;color:#111}
  .classic-table thead {display:table-header-group}
  .classic-table tr {break-inside:avoid}
  .classic-table tbody tr:nth-child(even) {background:#f1f4f6}
  .classic-table tbody tr.classic-subtotal {background:#e7edf2}
  .classic-table tbody tr.classic-total {background:#d1e0eb}
  .classic-column-group,.classic-headline dt,.classic-headline dd {color:#111;white-space:normal}
  .classic-headline,.classic-card,.classic-page h3 {background:#f1f4f6}
  .classic-table-block {overflow:visible;border-color:#aaa}
  .classic-tab {break-before:page}
}

.classic-table-lanes{display:flex;gap:24px;align-items:start}.classic-lane{min-width:0;flex:1}
@media(max-width:1200px){.classic-table-lanes{display:block}}
@media print{.classic-table-lanes{display:block}.classic-table thead{position:static}}

.classic-print{display:none}
@media print{.classic-screen{display:none}.classic-print{display:block}.classic-print table+table{break-before:page}.classic-print caption{text-align:left;font-size:12pt;font-weight:700;padding:12px 0}}

.classic-filter-strip{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.classic-filter-strip strong{font-size:13px;min-width:90px;color:#b7c6d9}
.classic-filter-strip a{padding:9px 17px;border:1px solid #52647c;border-radius:6px;text-decoration:none}
.classic-filter-strip a[aria-current]{color:#0b1220;background:#94d5f7;font-weight:700;border-color:#94d5f7}
.classic-sparkline{width:100%;max-width:240px;height:60px;color:#83d4fc;fill:currentColor}
.classic-secondary{margin-top:32px;font-size:14px}
.classic-page input,.classic-page textarea,.classic-page select,.classic-page button{font:inherit;color:inherit;background:#101826;border:1px solid #52647c;border-radius:5px;padding:8px 10px;min-height:40px;max-width:100%;box-sizing:border-box}
.classic-page button{cursor:pointer;background:#294861;font-weight:650}
.classic-page input[type=checkbox]{min-height:0}
.classic-page summary{cursor:pointer;padding:12px 0;font-weight:650;overflow-wrap:anywhere}
.classic-editor textarea{width:100%;font:13px/1.5 ui-monospace,monospace}
.classic-editor label,.classic-map-form label{display:flex;flex-direction:column;gap:5px;font-size:14px}
.classic-editor-fields,.classic-map-form,.classic-inline-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:12px 0}
.classic-editor-fields>strong{flex-basis:100%}
.classic-editor-section,.classic-editor-tab,.classic-map-row{padding:14px;border:1px solid #344254;border-radius:8px;margin:14px 0}
.classic-map-row[hidden]{display:none}
.classic-map-form .classic-note{flex-basis:100%}
.classic-error{color:#ffb4b4;white-space:pre-wrap}
.classic-table .classic-program th,.classic-table .classic-program td{font-weight:700;background:#20364a;border-top:1px solid #52647c}
/* Each Excel tab is one table, with independently sized pivot row groups. */
.classic-workbook-table{display:block}
.classic-workbook-table .classic-matrix{display:table;width:100%;border-collapse:separate;border-spacing:0;margin-bottom:28px;border:1px solid #344254}
.classic-table .classic-section-title th{padding:0;text-align:left;background:#101826}
.classic-table .classic-section-title .classic-note{padding:0 20px}
.classic-table .classic-section-header th{position:sticky;top:calc(var(--header-level,0)*46px);z-index:2;height:46px;box-sizing:border-box;background:var(--header-fill,#141c2b);font-weight:700;text-align:right;min-width:112px;white-space:nowrap}
.classic-table .classic-section-header .classic-row-label{text-align:left}
@media print{.classic-filter-strip{display:none}}
.conversion-summary{border:1px solid #80545b;border-radius:8px;padding:16px;margin:18px 0;background:#2b202b}
.conversion-summary h2,.conversion-summary h3{margin:0 0 8px}
.conversion-summary-groups{display:flex;flex-wrap:wrap;gap:16px 32px}
.conversion-summary-groups section{flex:1;min-width:220px}
.conversion-summary ul{padding-left:20px}
.conversion-flag{color:#ffb4b4;white-space:nowrap}
.classic-table td.conversion-low{background:#552b36;color:#ffd2d2;font-weight:700}
.transfer-settings{margin-top:24px}
@media print{.conversion-summary{background:#fff;border-color:#a44}.conversion-flag{color:#822}.classic-table td.conversion-low{background:#f6dada!important;color:#600}}
