:root{--ink:#0b2239;--muted:#687f98;--line:#deebf4;--navy:#041a2b;--cyan:#3de4ed;--teal:#007f82;--bad:#b52232;--good:#087453;--surface:#fff;--shadow:0 15px 50px rgba(18,58,88,.075)}
*{box-sizing:border-box}
html{min-height:100%;scroll-behavior:smooth}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 0,rgba(225,241,250,.72),transparent 64%),#eef4f8;color:var(--ink);font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit}svg{display:block}button{touch-action:manipulation}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #12bacb;outline-offset:4px}
.icon{width:20px;height:20px;flex:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:absolute;top:-80px;left:20px;z-index:20;background:#fff;border-radius:7px;padding:12px}.skip-link:focus{top:12px}.status-dot{width:8px;height:8px;display:inline-block;flex:none;border-radius:50%;background:#00b58a;box-shadow:0 0 0 4px rgba(0,181,138,.095)}
/* Full-bleed header and footer intentionally sit outside the content shell. */
.site-header{width:100%;flex:none;background:radial-gradient(ellipse at 10% -35%,rgba(7,117,145,.52),transparent 50%),radial-gradient(ellipse at 72% 170%,rgba(13,81,113,.35),transparent 53%),linear-gradient(110deg,#063044,#061d31 65%,#03172a);border-bottom:1px solid rgba(69,224,243,.32);box-shadow:0 3px 18px rgba(3,36,58,.06);color:#eefbff}
.header-inner{max-width:1560px;width:calc(100% - 80px);margin:0 auto;min-height:78px;display:flex;align-items:center;gap:32px}
.brand{display:flex;align-items:center;gap:17px;text-decoration:none;flex:none}.brand-chart{width:45px;height:47px;filter:drop-shadow(0 0 8px rgba(16,225,239,.16))}.brand-copy{display:flex;flex-direction:column;gap:2px}.brand-title{font-size:30px;font-weight:760;letter-spacing:-.8px;line-height:1.04;color:#f7fdff}.brand-tagline{font-size:13px;letter-spacing:.08px;color:#9fc7dd;line-height:1.4}
.site-nav{display:flex;align-items:stretch;gap:8px;margin-left:auto;align-self:stretch}.nav-link{display:flex;align-items:center;gap:9px;position:relative;padding:0 15px;border:0;background:transparent;color:#bfd0e0;font-size:13px;font-weight:600;min-height:48px;transition:color .15s,background .15s}.nav-link:hover:not(:disabled){color:#7ef3f6;background:rgba(84,231,249,.035)}.nav-link.active{color:#7af4f6;text-shadow:0 0 18px rgba(69,231,249,.5)}.nav-link.active:after{content:"";position:absolute;left:13px;right:13px;bottom:10px;height:2px;background:#62f7ff;border-radius:4px;box-shadow:0 0 12px 2px rgba(18,226,245,.25)}.nav-link.active .icon{filter:drop-shadow(0 0 6px rgba(73,234,254,.5))}.nav-link:disabled{opacity:.42}.nav-link .icon{width:19px;height:19px}
.session-status{display:flex;align-items:center;gap:12px;padding-left:24px;border-left:1px solid rgba(162,215,238,.17);flex:none}.session-status>.icon{width:31px;height:31px;padding:6px;border-radius:9px;color:#7ce9dd;background:rgba(30,147,165,.13)}.session-status strong{display:block;font-size:12px;color:#e5f3fa;font-weight:650}.session-status small{display:block;margin-top:1px;font-size:11px;color:#8caec5}.session-status>.status-dot{width:6px;height:6px;background:#6be0bd}
.shell{width:calc(100% - 80px);max-width:1520px;flex:1;margin:0 auto;padding:24px 0 28px;min-width:0}.hero,.report{border:1px solid #dfeaf4;background:linear-gradient(115deg,rgba(255,255,255,.98),rgba(249,252,255,.97));border-radius:18px;box-shadow:var(--shadow)}
/* The same design system is visible immediately, before a file is selected. */
.hero{padding:46px 42px 22px;position:relative;overflow:hidden;margin:24px 0}.hero:before{content:"";position:absolute;right:-130px;top:-250px;width:720px;height:540px;border-radius:50%;background:radial-gradient(ellipse,rgba(113,223,242,.13),transparent 67%);pointer-events:none}.landing-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.98fr);gap:65px;align-items:center;position:relative}.eyebrow{display:flex;align-items:center;gap:9px;color:#338196;font-size:11px;font-weight:750;letter-spacing:1.5px;line-height:1.5}.eyebrow .status-dot{width:6px;height:6px;background:#16bec4;box-shadow:none}.landing-copy h1{margin:16px 0 18px;font-size:clamp(35px,3.6vw,56px);line-height:1.08;letter-spacing:-2.2px;font-weight:780;color:#092137}.landing-copy h1 span{color:#007f88}.landing-copy>p{margin:0;max-width:530px;font-size:16px;line-height:1.75;color:#607993}.landing-flow{display:flex;align-items:center;gap:12px;margin-top:24px;color:#2d5b76;font-size:12px;font-weight:650;flex-wrap:wrap}.landing-flow .icon{width:15px;height:15px;color:#73a8bb}
.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-height:327px;padding:52px 22px 24px;border:1px solid #20627d;border-radius:16px;background:radial-gradient(ellipse at 50% 0,rgba(19,157,177,.17),transparent 63%),linear-gradient(130deg,#083049,#051b30 62%,#042336);color:white;cursor:pointer;box-shadow:0 8px 23px rgba(2,46,70,.14),inset 0 1px rgba(91,218,239,.17);transition:border-color .2s,box-shadow .2s,transform .2s}.dropzone:after{content:"";position:absolute;inset:11px;border:1px dashed rgba(71,191,213,.14);border-radius:10px;pointer-events:none}.dropzone:hover,.dropzone.drag{border-color:#38d4e3;box-shadow:0 0 0 3px rgba(12,184,200,.07),0 14px 34px rgba(2,46,70,.18)}.dropzone.drag{transform:translateY(-2px)}.drop-topline{position:absolute;left:23px;right:23px;top:19px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#90b7ce;letter-spacing:.5px}.file-tag{padding:4px 7px;border:1px solid rgba(137,224,242,.22);border-radius:5px;font-weight:700;letter-spacing:.8px}.local-file{display:flex;align-items:center;gap:5px}.local-file .icon{width:12px;height:12px}.drop-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:17px;background:linear-gradient(140deg,rgba(21,177,198,.15),rgba(11,127,171,.07));border:1px solid rgba(58,210,231,.27);box-shadow:0 0 30px rgba(0,184,200,.07);color:#65e9ee;margin:3px 0 17px}.drop-icon .icon{width:30px;height:30px;stroke-width:1.7}.dropzone strong{font-size:21px;letter-spacing:-.4px;font-weight:720;text-align:center}.drop-sub{font-size:12px;color:#9fbed1;margin-top:6px;text-align:center}.browse-file{display:inline-flex;align-items:center;justify-content:center;gap:16px;color:#092b3a;background:linear-gradient(120deg,#8bf6ef,#3cdfeb);border:1px solid #66e6e8;border-radius:8px;padding:10px 20px;font-size:12px;font-weight:750;box-shadow:0 4px 20px rgba(3,183,200,.12);margin:21px 0 15px}.browse-file .icon{width:16px;height:16px}.drop-caption{font-size:10px;color:#83a8c0;text-align:center}
.landing-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:35px}.landing-feature{display:flex;align-items:center;gap:13px;padding:18px 17px;border:1px solid #e3edf6;border-radius:11px;background:rgba(246,250,254,.64)}.landing-feature strong{display:block;font-size:13px;font-weight:700;color:#18374d;margin-bottom:4px}.landing-feature span{display:block;font-size:12px;line-height:1.5;color:#71849b}.feature-icon{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:12px}.feature-icon .icon{width:22px;height:22px}.blue{background:linear-gradient(130deg,#e2f3ff,#cbe5ff);color:#0085e8}.violet{background:linear-gradient(135deg,#e7e4ff,#d7d4ff);color:#5332e2}.teal{background:linear-gradient(135deg,#c7fbf1,#acf0e6);color:#008384}.rose{background:linear-gradient(130deg,#ffe8ec,#fcd8e1);color:#c92244}.privacy-note{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;line-height:1.6;color:#57758b}.privacy-note .icon{width:18px;height:18px;color:#009b7c;flex:none}
.error{display:none;padding:13px 17px;margin:0 0 15px;background:#fff0f0;border:1px solid #edc6c8;border-radius:10px;font-size:14px;color:#a52431;line-height:1.6}
/* Report: compact, icon-led toolbar/cards and chart, matching the reference. */
.report{padding:20px 19px 14px}.report-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.report-heading{display:flex;align-items:center;gap:15px;min-width:0}.report-document{width:52px;height:56px;flex:none;display:grid;place-items:center;border-radius:14px;background:linear-gradient(140deg,#e8f5ff,#dbf0ff);color:#0787e6}.report-document .icon{width:26px;height:26px;stroke-width:1.8}.report-title{min-width:0}.report-title h2{font-size:23px;line-height:1.25;font-weight:750;letter-spacing:-.65px;margin:0;color:#061b35;overflow-wrap:anywhere}.report-title p{margin:5px 0 0;font-size:11px;line-height:1.5;color:#6783a1;overflow-wrap:anywhere}.report-tools{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}.processing-note{display:flex;align-items:center;gap:7px;color:#00a485;font-size:10px;font-weight:600}.processing-note .status-dot{width:6px;height:6px;box-shadow:none}.processing-note .icon{width:12px;height:12px}.actions{display:flex;flex-wrap:wrap;gap:7px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce8f2;border-radius:8px;padding:11px 12px;font-size:11px;font-weight:700;line-height:1.35;color:#132e47;background:linear-gradient(#fff,#f8fbff);box-shadow:0 3px 7px rgba(10,50,90,.035);white-space:nowrap;transition:box-shadow .15s,border-color .15s,transform .15s}.btn .icon{width:16px;height:16px;stroke-width:1.9}.btn:hover{transform:translateY(-1px);border-color:#8cbfcf;box-shadow:0 4px 10px rgba(5,85,115,.08)}.btn.primary{background:linear-gradient(120deg,#008f92,#00646e);color:#fff;border-color:#039b9e;box-shadow:0 3px 12px rgba(0,154,158,.19),inset 0 1px rgba(94,237,240,.2)}.btn.primary:hover{background:linear-gradient(120deg,#049fa1,#007b80)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.stat{display:flex;align-items:center;gap:16px;border:1px solid #deebf6;border-radius:14px;padding:18px 18px;background:linear-gradient(130deg,#fff,#f8fbff);min-width:0}.stat-icon{width:59px;height:59px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:31px;font-weight:500}.stat-icon .icon{width:28px;height:28px;stroke-width:2}.stat-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.stat-label{font-size:12px;font-weight:650;color:#607b96;line-height:1.3}.stat strong{font-size:29px;font-weight:750;letter-spacing:-.8px;font-variant-numeric:tabular-nums;color:#081d37;line-height:1.25}.stat-caption{font-size:10px;line-height:1.4;color:#6e849c;margin-top:1px}.stat-actual{border-color:#7bdfdc;background:linear-gradient(120deg,#f8fffe,#eafbf9);box-shadow:0 5px 16px rgba(37,206,201,.075)}.stat-actual .stat-label,.stat-actual strong{color:#073446!important}.stat-actual .stat-caption{color:#387e89}.bad{color:var(--bad)!important}.good{color:var(--good)!important}.neutral{color:inherit}.stat-variance strong{letter-spacing:-.6px}
.summary-scope{display:flex;flex-wrap:wrap;gap:4px 10px;margin:-7px 2px 10px;font-size:11px;line-height:1.5;color:#6783a1}.summary-scope strong{font-weight:650;color:#3b6179}
/* Glowing comparison, with gauge and explanation aligned horizontally. */
.chart-card{color:#f3fbff;background:radial-gradient(ellipse at 40% -30%,rgba(29,123,167,.36),transparent 70%),linear-gradient(105deg,#052338,#021a2d 60%,#001929);border:1px solid #227089;border-radius:13px;padding:16px 18px 17px;margin-bottom:13px;box-shadow:inset 0 1px 2px rgba(70,223,241,.16),0 3px 10px rgba(0,44,72,.045)}.chart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.chart-title-wrap{display:flex;align-items:center;gap:13px;min-width:0}.chart-icon{width:39px;flex:none;color:#31d8ed;filter:drop-shadow(0 0 8px rgba(31,205,239,.26));display:flex;justify-content:center}.chart-icon .icon{width:32px;height:32px;stroke-width:3.2}.chart-head h3{font-size:19px;line-height:1.3;letter-spacing:-.4px;font-weight:700;color:#fff;margin:0}.chart-head p{font-size:11px;line-height:1.5;color:#9fc7dd;margin:3px 0 0}.chart-delta{display:flex;align-items:center;gap:8px;white-space:nowrap;flex:none;border:1px solid rgba(92,176,202,.28);border-radius:8px;padding:9px 10px;font-size:10px;font-weight:650;background:rgba(18,69,89,.18);color:#c7ebf9}.chart-delta .label{font-weight:500;color:#a6bccd}.chart-delta.bad{color:#ffc5cb!important;border-color:rgba(255,123,139,.25);background:rgba(178,50,71,.055)}.chart-delta.good{color:#a7f6da!important}.chart-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(395px,1fr);gap:24px;align-items:center}.chart-main{min-width:0;border-right:1px solid rgba(163,220,241,.12);padding:1px 20px 0 0}.gp-graph{width:100%;height:auto;display:block;overflow:visible}.graph-bg{fill:transparent}.grid-line{stroke:rgba(130,186,215,.29);stroke-width:1;stroke-dasharray:3 4}.axis-line{stroke:#7ba0b6;stroke-width:1.1}.graph-label{fill:#c2d7e8;font-size:13px;font-weight:450}.graph-value{fill:#f6fcff;font-size:23px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.35px}.graph-title{fill:#fff;font-size:16px;font-weight:650}.bar-theory{fill:url(#theoryGrad);stroke:rgba(120,241,255,.75);stroke-width:1.5;filter:drop-shadow(0 0 8px rgba(8,168,255,.25))}.bar-actual{fill:url(#actualGrad);stroke:rgba(128,255,224,.7);stroke-width:1.5;filter:drop-shadow(0 0 8px rgba(7,228,187,.2))}.bar-cap{fill:rgba(255,255,255,.11)}.bar-base-glow-theory{fill:url(#baseGlowTheory)}.bar-base-glow-actual{fill:url(#baseGlowActual)}
.impact-panel{display:grid;grid-template-columns:158px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:20px;row-gap:8px;align-items:center;min-width:0}.impact-title{grid-column:1;grid-row:1;text-align:center;font-size:13px;font-weight:500;color:#eff7fc}.impact-gauge-wrap{grid-column:1;grid-row:2;text-align:center;align-self:start}.gauge{width:158px;height:158px;position:relative;margin:0 auto}.gauge svg{width:100%;height:100%;transform:rotate(-90deg)}.gauge-track{fill:none;stroke:#1a3d53;stroke-width:14}.gauge-progress{fill:none;stroke-width:14;stroke-linecap:round;transition:stroke-dasharray .35s ease;filter:drop-shadow(0 0 5px rgba(255,137,148,.2))}.gauge-center{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.gauge-value{font-size:28px;line-height:1.1;font-weight:750;letter-spacing:-.7px;color:white;font-variant-numeric:tabular-nums}.gauge-unit{font-size:14px;color:#c6dce9}.gauge-scale{font-size:8px;color:#759db7;line-height:1.5;margin:1px 0 0;letter-spacing:.15px}.impact-copy{grid-column:2;grid-row:1/span 2;align-self:stretch;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(120deg,rgba(19,54,79,.5),rgba(8,40,59,.14));border:1px solid rgba(81,152,191,.16);border-radius:10px;padding:15px 13px}.impact-headline{display:flex;align-items:flex-start;gap:9px;font-size:12px;font-weight:650;line-height:1.6;color:#fff}.impact-icon{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:26px;background:rgba(108,211,232,.07)}.impact-icon.bad{color:#ff7d8b!important;background:rgba(255,91,121,.1);box-shadow:0 0 18px rgba(219,73,125,.05)}.impact-icon.good{color:#6cefc2!important;background:rgba(2,206,151,.1)}.impact-divider{height:1px;width:100%;background:rgba(116,181,211,.24);margin:13px 0}.impact-sub{font-size:11px;line-height:1.65;color:#a7c8dd}.impact-small{font-size:9px;line-height:1.6;color:#7fa5bd;margin-top:10px}
/* Table filtering never changes the financial totals or export contents. */
.table-card{border:1px solid #deebf5;border-radius:12px;background:#fff;padding:0 11px;min-width:0}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 4px}.table-toolbar h3{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700;margin:0;white-space:nowrap;letter-spacing:-.15px}.table-toolbar h3 .icon{width:20px;height:20px;color:#0069aa}.table-controls{display:flex;gap:9px;min-width:0;align-items:center}.search-field{display:flex;gap:9px;align-items:center;background:linear-gradient(120deg,#fff,#f2f7fc);border:1px solid #dce8f4;border-radius:8px;padding:6px 9px;min-height:33px}.search-field .icon{width:15px;height:15px;color:#7b9aba}.search-field input{width:180px;min-width:0;border:0;outline:0;background:transparent;color:#17304b;font-size:11px}.search-field input:focus-visible{outline:0}.search-field:focus-within{outline:2px solid #35becb;outline-offset:1px}.search-field input::placeholder{color:#839cba}.row-select select{border:1px solid #dce8f4;border-radius:8px;background:#f9fcff;padding:7px 8px;min-height:33px;color:#274662;font-size:11px;max-width:150px}.table-presets{display:flex;flex-wrap:wrap;gap:9px;padding:0 4px 12px}.preset-chip{border:1px solid #d8e7f2;border-radius:999px;padding:8px 13px;background:linear-gradient(#fff,#f5faff);color:#294661;font-size:11px;font-weight:700;line-height:1.2;box-shadow:0 3px 7px rgba(10,50,90,.03);transition:all .15s ease}.preset-chip:hover{border-color:#8fc6d4;transform:translateY(-1px)}.preset-chip.active{color:#fff;border-color:#118f9b;background:linear-gradient(120deg,#0ba0a7,#06667a);box-shadow:0 7px 18px rgba(0,143,154,.18),inset 0 1px rgba(119,242,246,.16)}.preset-chip:focus-visible{outline-offset:2px}
.table-wrap{overflow-x:auto;overscroll-behavior-x:contain;border-radius:7px;border:1px solid #e0e9f2}table{border-collapse:separate;border-spacing:0;min-width:860px;width:100%;font-size:11px;line-height:1.4}thead{background:linear-gradient(115deg,#05213a,#10314a);color:#f3fbff}th{font-weight:650;padding:0;text-align:left;white-space:nowrap}th button{display:flex;align-items:center;gap:6px;width:100%;padding:8px 12px;border:0;background:transparent;color:inherit;text-align:inherit;font-size:10px;font-weight:650;white-space:nowrap}th:first-child{width:10%}th:nth-child(2){width:32%}th:nth-child(3){width:16%}th:nth-child(4),th:nth-child(5){width:14%}th:nth-child(6){width:14%}th.num button{justify-content:flex-end}.sort-icon{width:11px;height:13px;flex:none;opacity:.5}.sort-icon{stroke-width:1.5}th[aria-sort=ascending] .sort-icon,th[aria-sort=descending] .sort-icon{color:#73e9f3;opacity:1}td{padding:7px 12px;border-bottom:1px solid #e6eef5;color:#26445e;font-variant-numeric:tabular-nums;font-size:11px}tbody td:nth-child(2){font-size:12px;font-weight:500;color:#173854}td.num{text-align:right;white-space:nowrap}td.bad,td.good{font-weight:650}tbody tr:nth-child(even){background:#eff5f9}tbody tr:nth-child(odd){background:#fbfdff}tbody tr:hover{background:#e6f5fa}tbody tr:last-child td{border-bottom:0}.table-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 3px;color:#7a8fa4;font-size:10px}.table-bottom p{margin:0}.pagination{display:flex;align-items:center;gap:9px;white-space:nowrap}.pagination button{border:1px solid #deebf4;background:#f9fcff;color:#3d5a72;border-radius:5px;padding:5px 8px;font-size:10px}.pagination button:hover:not(:disabled){border-color:#7bb2c4}.pagination button:disabled{opacity:.4}.pagination span{font-variant-numeric:tabular-nums;min-width:31px;text-align:center}.empty-results{padding:18px 8px;text-align:center;color:#72889e;font-size:12px}.foot{display:flex;justify-content:space-between;gap:30px;margin:10px 4px 0;color:#788fa3;font-size:9px;line-height:1.5}.foot p{margin:0;max-width:50%}.foot strong{font-weight:600;color:#5c788e}
/* Dark, edge-to-edge footer. Blend original logo backgrounds into its gradient. */
.site-footer{width:100%;margin-top:auto;flex:none;color:#c7dfed;background:radial-gradient(ellipse at 51% 160%,rgba(9,86,124,.38),transparent 58%),radial-gradient(ellipse at 70% -100%,rgba(17,88,132,.25),transparent 55%),linear-gradient(105deg,#021425,#062137 60%,#031629);border-top:1px solid rgba(39,142,173,.32)}.footer-inner{max-width:1560px;width:calc(100% - 80px);margin:0 auto;min-height:113px;display:grid;grid-template-columns:250px minmax(0,1fr) 250px;align-items:center;gap:26px;padding:11px 0}.partner-link{display:flex;align-items:center;text-decoration:none;border-radius:7px;min-height:70px;min-width:0;transition:filter .2s,transform .2s}.partner-link:hover{filter:brightness(1.15);transform:translateY(-1px)}.partner-link img{height:auto;object-fit:contain;display:block;mix-blend-mode:screen;max-width:100%}.partner-link.county{justify-content:flex-start}.partner-link.county img{width:126px;filter:contrast(1.12)}.partner-link.aigoat{justify-content:flex-end}.partner-link.aigoat img{width:213px;max-height:87px;object-fit:cover;filter:contrast(1.03)}.footer-message{text-align:center;align-self:center;line-height:1.4}.footer-message strong{font-size:13px;font-weight:550;color:#d5e9f6}.footer-message p{font-size:11px;color:#7faac6;margin:4px 0 0}.footer-message p span{padding:0 9px;color:#5487a4}.footer-message small{display:block;margin-top:7px;font-size:8px;letter-spacing:.2px;color:#628da7}.footer-message small span{padding:0 5px}
/* Help is local UI, not a link to another service. No account controls. */
dialog{width:min(600px,calc(100vw - 32px));max-height:90vh;border:1px solid #a9ccda;border-radius:18px;padding:28px;background:#fcfeff;color:#143048;box-shadow:0 30px 90px rgba(0,17,34,.28)}dialog::backdrop{background:rgba(0,18,34,.65);backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-heading h2{font-size:24px;letter-spacing:-.6px;margin:8px 0 12px}.icon-button{border:1px solid #d3e3eb;background:#eef7fc;color:#1e5972;border-radius:8px;padding:8px}.help-steps{display:grid;gap:12px;margin:8px 0 20px}.help-steps p{margin:0;font-size:13px;color:#5e778a;line-height:1.7}.help-steps strong{display:block;color:#153c55;margin-bottom:3px}.help-note{background:#edf8fa;border:1px solid #d1eaec;border-radius:9px;padding:14px;font-size:12px;line-height:1.6}.help-note p{margin:5px 0 0;color:#4f6e80}.help-privacy{font-size:11px;color:#4e7a82;line-height:1.7;display:flex;gap:10px;margin:20px 0 0}.help-privacy .icon{width:17px;height:17px;margin-top:2px}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:#073448;border:1px solid #56bfc9;border-radius:11px;color:white;font-size:13px;padding:13px 20px;box-shadow:0 6px 30px rgba(0,16,30,.2);max-width:calc(100% - 36px);z-index:10;line-height:1.5}.noscript{padding:14px;border:1px solid #d88585;background:#fff4f3;text-align:center}
@media(min-width:1700px){.report-title h2{font-size:25px}.btn{font-size:12px;padding:11px 13px}.chart-head p{font-size:12px}.impact-headline{font-size:13px}.impact-sub{font-size:12px}.stat-label{font-size:13px}.stat-caption{font-size:11px}}
@media(max-width:1330px){.header-inner,.shell,.footer-inner{width:calc(100% - 56px)}.header-inner{gap:22px}.session-status{padding-left:18px}.brand-title{font-size:27px}.brand-tagline{font-size:11px}.site-nav{gap:4px}.nav-link{padding:0 12px}.landing-grid{gap:38px}.hero{padding:34px 30px 20px}.stat{padding:16px 13px;gap:12px}.stat-icon{width:48px;height:48px;font-size:26px}.stat-icon .icon{width:25px;height:25px}.stat strong{font-size:25px}.stat-caption{font-size:9px}.report-title h2{font-size:21px}.report-document{width:44px;height:48px}.report-heading{gap:11px}.report-head{gap:16px}.btn{font-size:10px;padding:10px 9px;gap:6px}.chart-layout{grid-template-columns:minmax(0,1.75fr) minmax(347px,1fr);gap:17px}.chart-main{padding-right:16px}.impact-panel{grid-template-columns:139px minmax(0,1fr);column-gap:13px}.gauge{width:139px;height:139px}.impact-copy{padding:12px 10px}.impact-headline{font-size:11px}.impact-icon{width:27px;height:27px;font-size:22px}.impact-small{font-size:8px}.chart-head h3{font-size:17px}.chart-head p{font-size:10px}.footer-inner{grid-template-columns:200px 1fr 200px}}
@media(max-width:1100px){.session-status{display:none}.header-inner{min-height:76px}.brand-title{font-size:28px}.brand-tagline{font-size:12px}.shell{padding-top:22px}.hero{margin:12px 0}.landing-copy h1{font-size:39px;letter-spacing:-1.5px}.landing-copy>p{font-size:14px}.landing-flow{font-size:10px;gap:8px}.landing-flow .icon{width:12px}.dropzone{min-height:320px}.dropzone strong{font-size:18px}.landing-feature{gap:10px;padding:16px 13px}.landing-feature strong{font-size:12px}.landing-feature span{font-size:10px}.feature-icon{width:35px;height:35px}.report-head{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:17px}.report-tools{width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.report-title h2{font-size:23px}.processing-note{font-size:9px}.chart-layout{grid-template-columns:minmax(0,1.8fr) minmax(235px,1fr)}.impact-panel{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:5px}.impact-title{grid-row:1;grid-column:1;font-size:11px}.impact-gauge-wrap{grid-row:2;grid-column:1}.impact-copy{grid-row:3;grid-column:1;padding:10px}.gauge{width:111px;height:111px}.gauge-value{font-size:23px}.gauge-unit{font-size:12px}.gauge-scale{font-size:7px}.impact-sub{font-size:10px}.impact-small{display:none}.impact-divider{margin:8px 0}.chart-head p{max-width:360px}.chart-delta .label{display:none}.stat strong{font-size:22px}.stat-label{font-size:10px}.stat-caption{font-size:9px}.stat-icon{width:41px;height:41px}.stat{gap:9px;padding:14px 11px}.stat-icon .icon{width:23px;height:23px}.footer-inner{grid-template-columns:160px 1fr 160px}.partner-link.aigoat img{max-height:82px}.footer-message p{font-size:10px}.footer-message p span{padding:0 5px}}
@media(max-width:800px){.header-inner,.shell,.footer-inner{width:calc(100% - 32px)}.header-inner{gap:10px;flex-wrap:wrap;padding-top:13px;min-height:0}.brand{gap:12px}.brand-chart{width:35px;height:36px}.brand-title{font-size:24px}.brand-tagline{font-size:10px}.site-nav{margin-left:auto;align-self:stretch}.nav-link{font-size:11px;padding:12px 10px 21px;gap:6px;min-height:55px}.nav-link .icon{width:17px;height:17px}.nav-link.active:after{bottom:9px}.shell{padding:17px 0 23px}.hero{padding:26px 21px 19px;margin:0}.landing-grid{grid-template-columns:1fr 1fr;gap:22px}.eyebrow{font-size:9px;letter-spacing:1px}.landing-copy h1{font-size:34px;letter-spacing:-1.5px}.landing-copy>p{font-size:13px;line-height:1.65}.landing-flow{margin-top:17px;gap:5px;font-size:9px}.dropzone{min-height:292px;padding:54px 15px 21px}.drop-topline{font-size:8px;left:19px;right:19px}.dropzone strong{font-size:16px}.drop-sub{font-size:10px}.browse-file{font-size:11px;padding:9px 15px;margin-top:17px}.drop-caption{font-size:8px}.drop-icon{width:52px;height:52px;margin-bottom:14px}.drop-icon .icon{width:25px;height:25px}.landing-features{gap:10px;margin-top:23px}.landing-feature{padding:14px 10px;align-items:flex-start;flex-direction:column}.feature-icon{width:31px;height:31px;border-radius:9px}.landing-feature span{font-size:10px}.privacy-note{font-size:10px;text-align:center;align-items:flex-start}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:14px 15px;gap:15px}.stat-icon{width:46px;height:46px}.stat-label{font-size:12px}.stat strong{font-size:26px}.stat-caption{font-size:10px}.report{padding:16px 13px 12px}.report-tools{flex-direction:column;align-items:flex-start;gap:9px}.actions{gap:6px}.btn{font-size:10px;padding:9px}.chart-layout{grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);gap:14px}.chart-card{padding:14px 12px}.chart-head h3{font-size:15px}.chart-title-wrap{gap:8px}.chart-icon{width:29px}.chart-icon .icon{width:26px;height:26px}.chart-head p{font-size:9px}.chart-main{padding-right:12px}.graph-label{font-size:17px}.graph-value{font-size:27px}.graph-title{font-size:20px}.table-toolbar{flex-wrap:wrap;gap:10px}.table-controls{margin-left:auto}.table-presets{gap:7px;padding:0 1px 11px}.preset-chip{font-size:10px;padding:7px 10px}.table-toolbar h3{font-size:12px}.search-field input{width:145px}.foot{font-size:8px;gap:15px}.footer-inner{grid-template-columns:110px minmax(0,1fr) 140px;gap:18px;min-height:107px}.partner-link.county img{width:102px}.partner-link.aigoat img{width:140px;max-height:78px}.footer-message strong{font-size:11px}.footer-message p{font-size:9px}.footer-message p span{padding:0 3px}.footer-message small{font-size:7px}}
@media(max-width:600px){.header-inner{padding-top:13px}.brand{width:100%;justify-content:center;margin-bottom:3px}.brand-chart{width:36px;height:39px}.brand-title{font-size:26px}.brand-tagline{font-size:10px}.site-nav{margin:0 auto;justify-content:center;gap:15px;min-height:48px}.nav-link{padding:12px 12px 17px;min-height:48px}.nav-link.active:after{bottom:5px}.landing-grid{grid-template-columns:1fr;gap:24px}.hero{padding:25px 21px 20px}.landing-copy h1{font-size:38px;line-height:1.09;margin-top:12px;margin-bottom:13px;letter-spacing:-1.5px}.landing-copy>p{font-size:14px;line-height:1.65}.landing-flow{font-size:10px;gap:9px;margin-top:17px}.dropzone{min-height:290px}.dropzone strong{font-size:19px}.drop-sub{font-size:12px}.drop-caption{font-size:9px}.drop-topline{font-size:9px}.drop-icon{width:59px;height:59px}.drop-icon .icon{width:28px;height:28px}.browse-file{font-size:12px;padding:10px 18px}.landing-features{grid-template-columns:1fr;margin-top:22px;gap:9px}.landing-feature{flex-direction:row;gap:12px;align-items:center;padding:13px}.feature-icon{width:36px;height:36px}.landing-feature strong{font-size:12px}.landing-feature span{font-size:11px}.privacy-note{align-items:center;text-align:left;line-height:1.65}.report-heading{align-items:flex-start;gap:10px}.report-document{width:37px;height:42px;border-radius:10px}.report-document .icon{width:22px;height:22px}.report-title h2{font-size:20px;letter-spacing:-.4px}.report-title p{font-size:10px}.report-head{gap:14px}.actions{gap:7px;width:100%}.btn{font-size:11px;min-height:40px;padding:9px 10px;flex:1 0 auto}.btn.primary{flex-grow:2}.processing-note{font-size:9px}.stat{gap:9px;padding:12px 9px;min-height:102px;align-items:flex-start}.stat-icon{width:32px;height:32px;font-size:23px}.stat-icon .icon{width:19px;height:19px}.stat-label{font-size:10px}.stat strong{font-size:23px;letter-spacing:-.6px}.stat-variance strong{font-size:20px;letter-spacing:-.65px}.stat-caption{font-size:9px}.stat-copy{gap:3px}.chart-head{flex-wrap:wrap;gap:9px;margin-bottom:14px}.chart-head h3{font-size:15px}.chart-head p{font-size:10px;max-width:290px}.chart-title-wrap{align-items:flex-start}.chart-delta{padding:6px 9px;margin-left:36px;font-size:10px}.chart-delta .label{display:inline}.chart-layout{grid-template-columns:1fr;gap:21px}.chart-main{padding:0 0 16px;border-right:0;border-bottom:1px solid rgba(156,218,241,.16)}.graph-label{font-size:23px}.graph-value{font-size:31px}.graph-title{font-size:25px}.impact-panel{grid-template-columns:115px minmax(0,1fr);grid-template-rows:auto 1fr;gap:5px 12px}.impact-title{grid-column:1;grid-row:1;font-size:11px}.impact-gauge-wrap{grid-column:1;grid-row:2}.impact-copy{grid-column:2;grid-row:1 / span 2;padding:11px 10px}.gauge{width:112px;height:112px}.impact-headline{font-size:11px;gap:6px}.impact-icon{width:22px;height:26px;font-size:21px}.impact-sub{font-size:10px}.impact-small{display:none}.table-toolbar{gap:11px;padding:13px 1px 11px}.table-toolbar h3{font-size:13px}.table-controls{width:100%;margin:0;gap:8px}.table-presets{padding:0 0 10px;gap:7px}.preset-chip{font-size:10px;padding:7px 10px}.search-field{flex:1;min-width:0;padding:8px}.search-field input{width:100%;font-size:11px}.row-select select{max-width:128px;min-height:34px;font-size:10px;padding:6px}.table-bottom{align-items:flex-start;gap:6px;flex-wrap:wrap;font-size:9px}.pagination{margin-left:auto;gap:6px}.pagination button{padding:6px 7px}.foot{display:block;font-size:8px}.foot p{max-width:100%;margin-bottom:5px}.footer-inner{grid-template-columns:1fr 1fr;gap:7px 20px;padding:16px 4px 17px;min-height:0}.partner-link{grid-row:1;min-height:65px}.partner-link.county{justify-content:flex-start}.partner-link.county img{width:99px}.partner-link.aigoat{justify-content:flex-end}.partner-link.aigoat img{width:167px;max-height:76px}.footer-message{grid-row:2;grid-column:1/-1;border-top:1px solid rgba(114,189,224,.11);padding-top:13px}.footer-message strong{font-size:12px}.footer-message p{font-size:10px;margin-top:4px}.footer-message small{font-size:8px;margin-top:7px}.dialog-heading h2{font-size:22px}dialog{padding:21px}.toast{width:calc(100% - 36px);font-size:12px}}
@media(max-width:370px){.header-inner,.shell,.footer-inner{width:calc(100% - 24px)}.hero{padding:23px 16px 18px}.landing-copy h1{font-size:34px}.landing-flow{gap:6px;font-size:9px}.stat{flex-direction:column;gap:7px;padding:12px}.stat-icon{width:29px;height:29px}.stat strong{font-size:23px}.stat-variance strong{font-size:22px}.stat-caption{font-size:8px}.chart-card{padding:12px 9px}.chart-head h3{font-size:13px}.chart-head p{font-size:9px}.impact-panel{grid-template-columns:99px 1fr;gap:5px 9px}.gauge{width:99px;height:99px}.gauge-value{font-size:21px}.impact-title{font-size:10px}.impact-headline{font-size:10px}.impact-icon{display:none}.impact-sub{font-size:9px}.footer-message p{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{
 @page{size:A4 landscape;margin:12mm}
 html,body{min-height:0;background:#fff!important;color:#111;display:block}
 .site-header,.site-footer,.hero,.actions,.processing-note,.report-document,.chart-card,.summary-scope,.table-presets,.table-toolbar,.table-bottom,.empty-results,.foot,.toast,.error,dialog,.skip-link,.help-privacy{display:none!important}
 .shell{margin:0;width:100%;max-width:none;padding:0;display:block}.report{display:block!important;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}.report-head{margin:0 0 10px;display:block}.report-title h2{font-size:18px}.report-title p{font-size:10px}.report-tools{display:none!important}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:12px}.stat{padding:8px;border:1px solid #bbb;border-radius:4px;background:#fff!important;box-shadow:none;min-height:0;display:block}.stat-icon,.stat-caption{display:none}.stat-copy{display:block}.stat-label{font-size:9px;display:block;color:#555}.stat strong,.stat-variance strong{font-size:16px!important;color:#111!important;font-weight:700}.table-card{border:0;border-radius:0;padding:0}.table-wrap{overflow:visible;max-height:none;border:0;border-radius:0}.table-wrap:focus{outline:0}table{min-width:0;font-size:9pt;width:100%}thead{display:table-header-group;background:#eee!important;color:#111!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}th button{padding:6px 8px;font-size:9pt;pointer-events:none}.sort-icon{display:none}tbody tr[hidden]{display:table-row!important}tbody td{padding:5px 8px;font-size:8pt;color:#111!important}tbody tr:nth-child(even),tbody tr:nth-child(odd){background:#fff!important}tr{break-inside:avoid}.bad,.good{color:#111!important}
}
/* v2.0: stock review uses the available width without shrinking product text. */
.report-open .shell{max-width:2020px;width:calc(100% - 48px)}
.export-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:10px 14px;border:1px solid #dde9f3;border-radius:9px;background:#f6fafc;font-size:12px;color:#536f88}
.export-bar label{font-weight:700;color:#193c56}.export-bar select{border:1px solid #c8dce9;background:#fff;border-radius:7px;padding:7px 10px;color:#173b54;font-size:12px;max-width:100%}.export-bar span{line-height:1.6}
.analysis-summary{border:1px solid #e6c588;background:linear-gradient(100deg,#fffbef,#fffefa);border-radius:12px;padding:14px 18px;margin:0 0 13px;color:#554726}.analysis-title{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.analysis-title strong{font-size:15px;color:#473716}.analysis-title span{font-size:12px}.analysis-metrics{display:flex;gap:32px;margin-top:12px;flex-wrap:wrap}.analysis-metrics span{font-size:12px}.analysis-metrics strong{display:block;font-size:21px;color:#173549;margin-top:3px;font-variant-numeric:tabular-nums}.analysis-summary p{font-size:11px;line-height:1.6;margin:10px 0 0}
.review-panel{border:1px solid #d9e7ef;border-radius:13px;padding:17px 18px 11px;margin:0 0 13px;background:linear-gradient(120deg,#fbfdff,#f6fbfc)}
.review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:13px}.review-heading h3{margin:0;color:#163c53;font-size:16px}.review-heading p{margin:5px 0 0;font-size:12px;line-height:1.65;color:#5c7688}
.review-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.review-views,.review-bulk{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.review-chip{display:inline-flex;align-items:center;gap:9px;border:1px solid #d2e2ed;border-radius:8px;background:#fff;color:#3a586d;padding:10px 12px;min-height:40px;font-size:12px;font-weight:650}.review-chip span{display:inline-block;background:#ecf3f7;color:#416477;border-radius:5px;padding:2px 6px;font-size:11px;min-width:24px;text-align:center}.review-chip.active{color:#fff;background:linear-gradient(115deg,#006f86,#064256);border-color:#087e94}.review-chip.active span{background:rgba(255,255,255,.17);color:#fff}.review-chip.count-check:not(.active){border-color:#e8cc94}.review-chip.warning-check:not(.active){border-color:#d3c9f2}.review-chip:hover{box-shadow:0 3px 8px #07304710}.warning-btn{color:#82571c;background:linear-gradient(#fff9ec,#fdf0d7);border-color:#e8c47f}.warning-btn:disabled,.btn:disabled{opacity:.45;transform:none;box-shadow:none;cursor:default}.review-explanation{font-size:11px;line-height:1.6;color:#6c8394;margin:12px 0 0}
.column-bar{display:flex;align-items:center;flex-wrap:wrap;gap:9px 15px;padding:12px 5px;border-top:1px solid #e8f0f6}.column-title{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.5px;color:#517088}.column-toggle{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:550;color:#33566d;cursor:pointer}.column-toggle input,.include-row,.detail-actions input{accent-color:#058692;width:16px;height:16px;flex:none;cursor:pointer}.text-button{font-size:12px;color:#087a8a;font-weight:650;border:0;background:transparent;padding:6px;border-radius:5px}.text-button:hover:not(:disabled){background:#e9f6f7;text-decoration:underline}.text-button:disabled{opacity:.45;cursor:default}.table-context{font-size:11px;line-height:1.6;color:#6b859a;padding:0 5px;margin:1px 0 11px}
#tableWrap{max-height:72vh;overflow:auto;position:relative}#productTable{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;font-size:13px}#productTable th{width:auto!important;font-size:11px;white-space:normal;position:sticky;top:0;background:#09253d;color:#f2f9ff;z-index:3}#productTable th button{font-size:11px;line-height:1.4;white-space:normal;min-height:46px;gap:4px;padding:9px 9px}#productTable td{font-size:13px;padding:10px 9px;line-height:1.5;vertical-align:middle}#productTable td:nth-child(2){font-size:12px;font-weight:450}#productTable td.description-cell{font-size:14px;white-space:normal;color:#16394f}#productTable tr{--row-bg:#fbfdff;background:var(--row-bg)}#productTable tr:nth-child(even){--row-bg:#f0f6fa}#productTable tr:hover{--row-bg:#e9f7fa}#productTable tr.excluded-row{--row-bg:#fcf6f3}.use-cell{text-align:center!important}.plu-cell{text-align:left}.use-cell input{margin:0;vertical-align:middle}.product-name{display:block;border:0;background:transparent;color:#163d58;font-weight:650;font-size:14px;line-height:1.45;padding:0;text-align:left;overflow-wrap:anywhere}.product-name:hover{text-decoration:underline;color:#007e8b}.product-name>span{color:#7d98a8;font-size:12px;white-space:nowrap}.product-flags{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}.product-flags:empty{display:none}.row-flag{display:inline-block;border-radius:4px;padding:1px 5px;border:1px solid transparent;font-size:9px;line-height:1.6;font-weight:650;white-space:nowrap}.count-flag{color:#8c5b12;background:#fff4db;border-color:#eed2a0}.gp-flag{color:#6a4ca0;background:#f3eefc;border-color:#e0d5f0}.excluded-flag{color:#935541;background:#f8e8e3;border-color:#e8c9bc}
@media(min-width:1000px){#productTable .use-cell{position:sticky;left:0;z-index:2;background:var(--row-bg,#09253d)}#productTable .plu-cell{position:sticky;left:48px;z-index:2;background:var(--row-bg,#09253d)}#productTable .description-cell{position:sticky;left:116px;z-index:2;background:var(--row-bg,#09253d);box-shadow:3px 0 4px #0b37500b}#productTable th.use-cell,#productTable th.plu-cell,#productTable th.description-cell{z-index:5;background:#09253d}}
.v20-foot{display:flex;flex-wrap:wrap;gap:10px 28px;font-size:11px}.v20-foot p{max-width:none;flex:1 1 400px;line-height:1.7}.v20-foot .text-button{flex:0 0 auto;align-self:center}.table-bottom{font-size:11px;line-height:1.6}.pagination button{font-size:11px;min-height:32px}.table-toolbar h3{font-size:15px}.table-presets .preset-chip{font-size:12px;min-height:36px;padding:8px 14px}.table-toolbar{padding:14px 5px}.table-controls .search-field input{font-size:12px}.row-select select{font-size:12px;min-height:36px}
.rules-intro{font-size:13px;line-height:1.8;color:#506b80}.rules-small{font-size:11px;line-height:1.75;color:#6a8193}.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rules-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#3d5d73;font-weight:650}.rules-grid input{border:1px solid #c8dce7;border-radius:7px;background:#fff;color:#183e52;padding:10px;min-width:0;width:100%}.rules-error{font-size:12px;color:#a23421;background:#fff0e8;padding:9px;border-radius:7px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}#rulesDialog h3{font-size:16px;margin:23px 0 6px;color:#143b52}.icon-button{font-size:22px;line-height:1;min-width:35px;min-height:35px}.detail-dialog{width:min(920px,calc(100vw - 32px))}.detail-actions{display:flex;flex-wrap:wrap;gap:14px 26px;padding:13px 16px;background:#eef7fa;border:1px solid #c9e4ea;border-radius:8px}.detail-actions label{display:flex;align-items:center;gap:7px;color:#2b6172;font-size:12px;font-weight:600}.detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:17px}.detail-stats>span{padding:13px 10px;border:1px solid #e0ebf2;border-radius:8px;font-size:11px;color:#5a778d;min-width:0}.detail-stats strong{display:block;color:#0d3950;font-size:20px;margin-top:4px;overflow-wrap:anywhere}.detail-flags{border:1px solid #e5eaf0;border-radius:8px;padding:10px 15px;margin:12px 0}.detail-flags.count-check{background:#fffaf1;border-color:#e9d3a6}.detail-flags.warning-check{background:#f8f5fd;border-color:#e2d6f2}.detail-flags h3{font-size:13px;margin:2px 0 6px;color:#374c61}.detail-flags p,.detail-flags li{font-size:12px;line-height:1.75;color:#526978;margin:3px 0}.detail-flags ul{padding-left:17px;margin:0}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 23px;margin:15px 0 0}.source-grid>div{border-top:1px solid #e2ebf0;padding:10px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.source-grid dt{font-size:12px;color:#627a8f;flex:1 1 60%}.source-grid dd{font-size:13px;color:#1a3f56;font-weight:600;text-align:right;margin:0;overflow-wrap:anywhere;flex:1 1 40%;white-space:pre-wrap}.exclusion-reason{font-size:12px;line-height:1.6;color:#835040;background:#fff5ef;padding:11px;border-radius:6px}.print-area{display:none}
@media(max-width:900px){.report-open .shell{width:calc(100% - 28px)}.review-actions{gap:12px}.review-views{gap:7px}.review-chip{font-size:11px;min-height:40px;padding:9px}.review-bulk{width:100%;justify-content:flex-end}.review-heading p{font-size:11px}.column-bar{gap:10px 13px}.column-toggle{font-size:11px}.analysis-metrics{gap:20px}.detail-stats{grid-template-columns:1fr 1fr}.export-bar{gap:8px}.export-bar span{width:100%}}
@media(max-width:600px){.review-panel{padding:14px 12px}.review-heading{gap:8px}.review-heading h3{font-size:14px}.review-heading .btn{font-size:10px;padding:8px;flex:none}.review-views{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:7px}.review-chip{justify-content:space-between;font-size:10px;white-space:normal;text-align:left}.review-chip span{min-width:20px;font-size:10px}.review-bulk{justify-content:stretch}.review-bulk .btn{min-height:38px;font-size:11px}.review-explanation{font-size:10px}.column-bar{align-items:flex-start;gap:10px 12px}.column-title{width:100%}.column-toggle{width:calc(50% - 8px);font-size:11px}.column-toggle input{margin:0}.table-context{font-size:10px}.table-presets{gap:6px}.table-presets .preset-chip{font-size:10px;padding:8px 11px;min-height:34px}.table-toolbar h3{font-size:14px;white-space:normal;line-height:1.5}.source-grid{grid-template-columns:1fr}.rules-grid{grid-template-columns:1fr}.detail-actions{padding:11px;gap:12px}.detail-stats strong{font-size:17px}.v20-foot{font-size:10px}.analysis-summary{padding:12px}.analysis-title{gap:5px}.analysis-title span{font-size:11px}.analysis-metrics{gap:14px;font-size:10px}.analysis-metrics strong{font-size:18px}.export-bar select{width:100%;font-size:11px}.export-bar{font-size:11px}.export-bar span{font-size:10px}.table-bottom{font-size:10px}#tableWrap{max-height:70vh}}
@media print{
  @page{size:A4 landscape;margin:12mm}
  body{display:block!important;background:white!important;font-family:Arial,sans-serif}
  body>*{display:none!important}body>#printArea{display:block!important}
  .print-area .print-section{break-before:page}.print-area .print-section:first-child{break-before:auto}
  .print-area h1{font-size:17pt;margin:0 0 5mm;color:#111}.print-area h2{font-size:12pt;margin:5mm 0 2mm}.print-area p{font-size:8pt;line-height:1.5;margin:1.5mm 0}.print-area .print-note{font-size:7pt;color:#333}
  .print-area table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse;font-size:8pt!important;line-height:1.45}
  .print-area thead{display:table-header-group!important;background:#e8edf0!important;color:#111!important}.print-area th{position:static!important;white-space:normal!important;padding:2.2mm 1.5mm!important;font-size:8pt!important;border:1px solid #cbd3d8;text-align:left!important;width:auto!important}
  .print-area td{font-size:8pt!important;padding:2.2mm 1.5mm!important;border:1px solid #d8dfe3;color:#111!important;overflow-wrap:anywhere;white-space:normal!important;vertical-align:top!important}.print-area td:nth-child(2){font-size:8pt!important;font-weight:550!important}.print-area .print-num{text-align:right!important}.print-area tr{break-inside:avoid!important;page-break-inside:avoid!important;background:white!important}
}
