:root{--navy:#0d2847;--ink:#123247;--teal:#14627a;--mint:#34b5aa;--bg:#f3f6fb;--muted:#687c8d;--border:#dfe6ec;--white:#fff;--shadow:0 3px 20px #17344b05}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:15px;line-height:1.5}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,summary,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.4px;line-height:1.15;margin-bottom:10px}h2{font-size:19px;letter-spacing:-.4px;margin-bottom:8px}h3{font-size:16px;margin-bottom:4px}p{margin-bottom:14px}small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:3px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#5a6e7e;min-width:0}input,select,textarea{width:100%;border:1px solid #d7e0e7;border-radius:8px;background:white;color:#233f52;min-height:43px;padding:10px 12px}select{padding-right:25px}input:focus,select:focus,textarea:focus{border-color:var(--teal)}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--teal);flex-shrink:0}fieldset{border:0;padding:0;margin:0;min-width:0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}details{margin:16px 0}summary{cursor:pointer;color:var(--teal);font-weight:600}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th{font-size:11px;letter-spacing:.9px;text-transform:uppercase;color:#738495;background:#f8fafc;white-space:nowrap}th,td{padding:15px 18px;border-bottom:1px solid #e9edf1;vertical-align:middle}td{font-variant-numeric:tabular-nums}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fcfd}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:white;padding:26px 16px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;font-size:23px;letter-spacing:-.5px;color:inherit;white-space:nowrap}.sidebar .brand{padding:0 11px}.brand:hover{text-decoration:none}.brand-mark{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#24abb2;color:#0d2847;font-weight:850;font-size:26px;flex-shrink:0}.brand-light{font-weight:400;color:#8fc3ce}.nav-caption{font-size:11px;letter-spacing:2px;font-weight:700;color:#8ca6bd;margin:40px 12px 13px}.nav-link{display:flex;gap:13px;align-items:center;padding:14px 15px;margin:4px 0;color:#c5d5e2;border-radius:9px;font-size:14px}.nav-link>span{width:19px;font-size:22px;line-height:1}.nav-link.active{background:#1a4668;color:white;font-weight:650}.nav-link:hover{background:#183b59;text-decoration:none}.sidebar-foot{margin-top:auto;padding:24px 12px 4px;color:#a0b7ca;font-size:12px}.sidebar-foot p{line-height:1.8;margin-top:12px}.sidebar-foot>span:last-child{font-size:10px;color:#708da7}.mini-label{font-size:10px;letter-spacing:1.5px}.workspace{margin-left:242px;min-height:100vh}.topbar{height:72px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:13px;color:var(--muted)}.topbar strong{color:var(--ink)}.account{display:flex;align-items:center;gap:15px}.avatar{border-radius:50%;background:#deedf5;width:36px;height:36px;display:grid;place-items:center;font-size:12px;font-weight:750;color:#245471}main{padding:32px 36px;max-width:1900px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:750;color:#177b87;margin-bottom:10px}.subtitle{font-size:16px;color:var(--muted);margin-bottom:0}.button{display:inline-flex;gap:7px;justify-content:center;align-items:center;padding:11px 17px;border-radius:8px;border:1px solid #d4dfe7;color:#2a5268;background:white;font-size:13px;font-weight:650;white-space:nowrap;min-height:43px}.button:hover{background:#edf7f8;text-decoration:none}.button.primary{color:white;background:#145c73;border-color:#145c73}.button.primary:hover{background:#0d4b61}.button.small{padding:7px 12px;min-height:34px;font-size:12px}.button.danger{color:#a13434;border-color:#e1b0b0}.text-button{background:none;border:none;color:#416278;font-size:12px;padding:6px;white-space:nowrap}.badge{border:1px solid #c7e4e5;background:#f0fbfa;border-radius:30px;padding:6px 11px;color:#28757a;font-size:12px;font-weight:650;white-space:nowrap}.badge.light{background:#f4f7fb;color:#61798b;border-color:#e3eaf0}.card{background:white;border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow)}.padded{padding:25px;margin-bottom:22px}.filters{padding:18px;display:flex;align-items:flex-end;gap:13px}.filters>label{flex:1}.filters>label:first-of-type{flex:1.35}.filters select{font-size:13px}.selection-caption{display:flex;justify-content:space-between;margin:16px 2px;color:var(--muted);font-size:12px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.kpi{padding:21px;position:relative}.kpi h2{font-size:13px;color:#687b8a;letter-spacing:0;margin-bottom:10px}.kpi>strong{font-size:34px;letter-spacing:-1px;line-height:1.15;font-variant-numeric:tabular-nums}.kpi p{font-size:12px;color:#7b8b97;margin:5px 0 14px}.accent{display:block;width:32px;height:4px;border-radius:2px}.mint{background:#35baac}.teal{background:#1486a0}.amber{background:#e8ad45}.blue{background:#6b81c9}.chart-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(250px,1fr);gap:20px;align-items:start}.chart-card,.reading,.comparison{padding:24px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.section-heading p{margin:0;font-size:12px}.chart svg{display:block;width:100%;height:auto;min-width:640px}.chart{min-height:100px;max-height:620px;overflow:auto}.reading h2{margin-bottom:20px}.insight{display:flex;gap:12px;padding:17px 0;border-bottom:1px solid #e9edf0}.insight>span{display:grid;place-items:center;align-self:flex-start;width:33px;height:33px;background:#eaf8f7;color:#278f91;font-size:20px;border-radius:9px;flex-shrink:0}.insight h3{font-size:14px}.insight p{color:var(--muted);font-size:13px;line-height:1.65;margin:0}.small-note{font-size:12px;color:var(--muted);line-height:1.7;margin:14px 0 0}.export-controls{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-top:20px;border-top:1px solid #edf0f3;padding-top:16px}.export-controls label{font-size:11px;flex:1}.export-controls select{font-size:12px;min-height:37px}.comparison{margin-top:22px}.table-title{margin:28px 0 14px}.table-wrap{overflow:auto}.muted{color:var(--muted)}.footer{display:flex;justify-content:space-between;gap:15px;padding:15px 36px 26px;color:#7d8c98;font-size:11px}.empty{padding:64px 24px;text-align:center}.empty h2{font-size:24px}.empty p{color:var(--muted);line-height:1.8}.empty-icon{font-size:45px;color:var(--mint);display:block;margin-bottom:16px}.notice{background:#edf7fa;border:1px solid #cfe2e9;color:#315e73;padding:14px 18px;border-radius:9px;margin-bottom:18px;font-size:13px}.notice.error{background:#fff1ef;border-color:#efcdc7;color:#963d34}.notice.success{background:#eaf8f0;border-color:#c4e6d0;color:#286c47}.error-text{color:#ac4236;font-size:12px}.valid-text{color:#367664;font-size:12px}.steps{display:flex;gap:28px;color:#738594;margin:28px 0;font-size:13px}.steps span{display:flex;align-items:center;gap:8px}.steps b{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#e6edf3}.steps .current{color:var(--teal);font-weight:700}.steps .current b{background:#daf0f0}.upload-card{padding:35px;text-align:center}.upload-symbol{font-size:35px;color:var(--teal);background:#edf8fa;border:1px dashed #7ab7c4;border-radius:15px;width:65px;height:65px;margin:0 auto 20px}.upload-card form{max-width:600px;margin:23px auto 0;display:flex;align-items:flex-end;gap:15px}.file-field{text-align:left;flex:1}.file-field input{font-size:12px}.inline-form{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap;margin:18px 0}.inline-form label{min-width:170px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:22px 0}.source-preview table{font-size:11px}.source-preview .table-wrap{max-height:360px;margin-top:12px;border:1px solid var(--border);border-radius:9px}.source-preview td{max-width:260px;min-width:130px}.extracted-text{max-height:350px;overflow:auto;background:#f6f8fa;border-radius:8px;padding:18px}.decision-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.decision{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #edf0f3}.decision>span{flex:1;min-width:0}.decision select{width:190px;font-size:12px;flex-shrink:0}.decision strong{font-size:13px;color:var(--ink)}.decision small{font-size:11px}.compact .kpi{padding:18px 22px}.compact .kpi strong{font-size:29px}.review-table{max-height:630px}.review-table th{position:sticky;top:0;z-index:1}.review-table td{font-size:12px}.review-table td:first-child{width:55px}.review-table td:nth-child(2){min-width:190px}.table-pagination{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:18px;font-size:12px}.save-bar{position:sticky;bottom:12px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#173e58;color:white;border-radius:12px;padding:16px 20px;margin:0 0 24px;box-shadow:0 5px 25px #12324733;font-size:13px}.save-bar .button{background:#2c969d;border-color:#2c969d}.final-import{border-color:#98c9cf}.checkbox-label{flex-direction:row;align-items:center;margin:20px 0}.discard{font-size:13px;margin:24px 0}.two-columns,.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.two-columns .card,.method-grid .card{margin:0;min-width:0}.alias-table{max-height:700px}.method-grid p{line-height:1.8;font-size:14px;margin:0}.login-page{display:grid;place-items:center;min-height:100vh;background:#0d2847;padding:30px}.login-card{background:white;border-radius:20px;padding:42px;max-width:465px;width:100%;box-shadow:0 25px 80px #0002}.login-card .brand{margin-bottom:35px}.login-card h1{font-size:27px;letter-spacing:-.7px}.login-card .eyebrow{font-size:10px}.login-card label{margin:20px 0}.full{width:100%}.login-page>.notice{width:100%;max-width:465px}.chart-empty{text-align:center;padding:45px 20px;color:var(--muted)}[hidden]{display:none!important}
@media(min-width:1600px){.sidebar{width:265px}.workspace{margin-left:265px}main{padding:38px 45px}.topbar{padding:0 45px}.kpi>strong{font-size:39px}.chart-grid{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)}}
@media(max-width:1200px){.sidebar{width:210px}.workspace{margin-left:210px}main{padding:27px 24px}.topbar{padding:0 24px}.filters{flex-wrap:wrap}.filters>label{flex-basis:28%;flex-grow:1}.filters>label:first-of-type{flex-basis:28%}.decision-grid{grid-template-columns:1fr}.kpi{padding:17px}.kpi>strong{font-size:28px}.chart-grid{grid-template-columns:1fr}.reading{display:none}.steps{gap:15px;flex-wrap:wrap}.form-grid{grid-template-columns:1fr 1fr}.kpi h2{font-size:12px}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:14px 16px}.sidebar .brand{padding:0;font-size:20px}.brand-mark{width:32px;height:32px;font-size:23px}.nav-caption,.sidebar-foot{display:none}.sidebar nav{display:flex;overflow:auto;gap:7px;margin-top:12px}.nav-link{white-space:nowrap;padding:9px 11px;font-size:12px;margin:0}.nav-link>span{display:none}.workspace{margin:0}.topbar{height:58px;padding:0 18px;font-size:11px}.account{gap:8px}.account .badge{display:none}main{padding:24px 16px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:16px}h1{font-size:29px}.subtitle{font-size:14px}.kpis{grid-template-columns:1fr 1fr;gap:12px}.kpi>strong{font-size:27px}.filters{padding:14px}.filters>label,.filters>label:first-of-type{flex-basis:40%}.selection-caption{flex-direction:column;gap:5px}.chart-card,.reading,.comparison{padding:17px}.section-heading{align-items:flex-start;gap:10px}.section-heading h2{font-size:17px}.section-heading .badge{display:none}.form-grid,.two-columns,.method-grid{grid-template-columns:1fr}.padded{padding:20px}.upload-card{padding:25px 18px}.upload-card form{flex-direction:column;align-items:stretch}.steps{font-size:11px;gap:11px}.steps b{width:23px;height:23px}.decision{gap:10px}.decision select{width:150px}.save-bar{flex-direction:column;gap:10px;text-align:center}.footer{padding:20px 16px;flex-direction:column;font-size:10px}.login-card{padding:30px 24px}.comparison .section-heading{flex-direction:column}.inline-form label{flex:1}.table-pagination{justify-content:center}.export-controls .button{flex:1}}
.import-steps{display:flex;gap:12px;margin:0 0 26px;flex-wrap:wrap}.import-steps a,.import-steps>span{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid #dbe5eb;border-radius:12px;background:white;color:#6d808e;text-decoration:none}.import-steps b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#edf3f6}.import-steps .active{color:#126579;border-color:#1398a1;background:#edfafa;font-weight:700}.presentation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.presentation-choice{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;width:100%;padding:16px;margin-bottom:10px;border:1px solid #dbe5eb;border-radius:10px;background:white;color:#173b50;cursor:pointer;font:inherit}.presentation-choice small{color:#637887;white-space:nowrap}.presentation-choice[aria-pressed=true]{border-color:#1398a1;background:#edfafa}.presentation-choice:hover{border-color:#1398a1}@media(max-width:1000px){.presentation-grid{grid-template-columns:1fr}.import-steps{gap:6px}.import-steps a,.import-steps>span{font-size:12px;padding:8px}}
#review-form .save-bar{position:static}.catalog-review select{min-width:195px}@media(max-width:1000px){.catalog-review thead{display:none}.catalog-review table,.catalog-review tbody{display:block}.catalog-review tr{display:grid;grid-template-columns:1fr 1fr;padding:14px 0;border-bottom:1px solid var(--border);gap:8px}.catalog-review td{display:block;border:0;padding:4px;overflow-wrap:anywhere}.catalog-review td:first-child,.catalog-review td:last-child{grid-column:1/-1}.catalog-review select{width:100%;min-width:0}.page-heading{flex-wrap:wrap}.catalog-review tr:last-child{border:0}}
.compare-filter-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:22px}.choice-group{min-width:0}.choice-group legend{font-size:16px;font-weight:700;margin-bottom:8px}.choice-tools{display:flex;gap:15px;margin-bottom:10px}.choice-tools button{border:0;background:none;font-size:12px;padding:0}.choice-list{height:220px;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:10px}.choice-list label{display:flex;flex-direction:row;align-items:flex-start;gap:8px;padding:7px;font-weight:400;color:var(--ink)}.choice-list input{margin-top:2px}.compare-controls{margin-top:22px}.comparison-visual{overflow:auto}.comparison-visual svg{min-width:680px}@media(max-width:900px){.compare-filter-grid{grid-template-columns:1fr}.choice-list{height:170px}}
.report-options{margin-bottom:16px}.report-options label{flex:1;min-width:220px}.report-visual{overflow:auto}.report-visual svg{min-width:950px}
.family-shortcut{gap:16px;align-items:end;margin-bottom:12px}.family-shortcut label{min-width:240px}#families{margin-top:24px}#families .choice-group{margin:16px 0}#families details{margin-top:8px}#families details form{display:grid;gap:10px}
.territory-palette{margin:20px 0}.territory-palette summary{cursor:pointer;font-weight:700}.palette-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:16px 0}
.rgba-dropdown{margin-top:8px;border:1px solid #dce5ec;border-radius:10px;padding:10px}.rgba-dropdown summary{cursor:pointer;display:flex;align-items:center;gap:10px;font-weight:600}.rgba-swatch{border:1px solid #c5ced6;border-radius:4px;background:repeating-conic-gradient(#ddd 0% 25%,#fff 0% 50%) 0/12px 12px}.rgba-controls{display:grid;gap:12px;margin-top:14px}.rgba-controls input[type=color]{width:100%;height:44px;padding:4px;cursor:pointer}.rgba-controls input[type=range]{width:100%;padding:0;accent-color:#16758d}

.report-visual svg.readable-report{width:auto;min-width:100%;max-width:none}

/* Keep all four comparison selectors together on desktop. */
.compare-filter-grid{grid-template-columns:minmax(0,1.4fr) minmax(100px,.55fr) minmax(210px,.95fr) minmax(0,1.2fr);gap:16px;margin-top:18px;align-items:start}
.compare-filter-grid .choice-list{height:176px;padding:6px}
.compare-filter-grid .choice-list label{padding:5px;font-size:13px}
.compare-filter-grid .choice-tools{gap:8px;flex-wrap:wrap;min-height:28px;margin-bottom:6px}
.compare-filter-grid .choice-group legend{font-size:14px}
.compare-filter-grid .choice-years .choice-list{display:flex;flex-wrap:wrap;align-content:flex-start;gap:2px 6px;height:auto;max-height:176px}
.compare-filter-grid .choice-period_codes .choice-list{height:auto}
@media(max-width:1050px){.compare-filter-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.compare-filter-grid .choice-molecules{order:3}.compare-filter-grid .choice-regions{order:4}}
@media(max-width:540px){.compare-filter-grid{grid-template-columns:minmax(0,1fr)}.compare-filter-grid .choice-list{height:160px}.compare-filter-grid .choice-years .choice-list,.compare-filter-grid .choice-period_codes .choice-list{height:auto}}

.channel-options{display:flex;gap:12px;flex-wrap:wrap}.channel-options legend{font-size:13px;font-weight:650}.channel-options .checkbox-label{min-width:0;margin:10px 0}
