:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f7f8;--surface:#fff;--surface-soft:#eef3f3;--ink:#172126;--muted:#66747c;--line:#dce4e6;--line-strong:#c8d3d6;--blue:#47617a;--teal:#16857a;--amber:#b7791f;--red:#c84c32;--charcoal:#233036;--shadow:0 12px 30px #17212614;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0}body:has(.dashboard-host){overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}.shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#fbfcfc;flex-direction:column;gap:28px;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0}.brand-block{align-items:center;gap:12px;text-decoration:none;display:flex}.brand-mark{background:var(--charcoal);color:#fff;border-radius:7px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.brand-title{font-weight:800}.brand-subtitle,.eyebrow,.muted,.panel p,label span,.table-note{color:var(--muted)}.brand-subtitle{font-size:13px}.nav-list{gap:4px;display:grid}.nav-link{color:var(--charcoal);border-radius:7px;padding:10px 12px;font-weight:700;text-decoration:none;display:block}.nav-link:hover,.nav-link.active{background:var(--surface-soft)}.main{min-width:0;padding:28px clamp(18px,4vw,44px) 44px}.dashboard-host{background:#f5f7f8;width:100vw;height:100vh;position:relative;overflow:hidden}.dashboard-frame{background:#f5f7f8;border:0;width:100%;height:100%;display:block}.dashboard-user-menu{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe6;border:1px solid #23303629;border-radius:999px;justify-content:center;align-items:center;width:48px;height:48px;padding:4px;display:inline-flex;position:fixed;top:18px;right:18px;box-shadow:0 8px 18px #1721261f}.dashboard-user-menu :where(button){width:40px;height:40px}.sidebar-user{border-top:1px solid var(--line);margin-top:auto;padding-top:18px}.auth-page{background:var(--bg);place-items:center;min-height:100vh;padding:32px 18px;display:grid}.auth-panel{gap:22px;width:min(100%,440px);display:grid}.auth-brand{align-items:center;gap:14px;display:flex}.auth-brand h1{margin-bottom:2px;font-size:28px}.auth-brand p{color:var(--muted);margin:0;font-weight:700}.clerk-hidden-footer-action{display:none!important}.access-panel{max-width:620px}.topbar{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.eyebrow{letter-spacing:0;text-transform:uppercase;margin:0 0 6px;font-size:11px;font-weight:800}h1,h2,h3,p{margin-top:0}h1{margin-bottom:6px;font-size:clamp(28px,4vw,44px);line-height:1.03}h2{margin-bottom:12px;font-size:24px}h3{margin-bottom:6px;font-size:16px}.actions{flex-wrap:wrap;gap:10px;display:flex}.button{border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:8px 13px;font-weight:800;text-decoration:none;display:inline-flex}.button:disabled,button:disabled{cursor:not-allowed;opacity:.5}.button.primary{background:var(--charcoal);color:#fff}.button.secondary{border-color:var(--line-strong);background:var(--surface)}.button.danger-button{color:var(--red);border-color:#c84c3257}.button.tertiary{background:var(--surface-soft);border-color:#0000}.grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;display:grid}.panel{border:1px solid var(--line);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:8px;padding:18px}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.panel-heading h2{margin-bottom:0}.span-12{grid-column:span 12}.span-8{grid-column:span 8}.span-6{grid-column:span 6}.span-4{grid-column:span 4}.kpi{gap:6px;display:grid}.kpi span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.kpi strong{font-size:30px;line-height:1}.toolbar,.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;display:grid}.vertical-form{grid-template-columns:1fr}.upload-form{grid-template-columns:minmax(180px,1fr) minmax(260px,1.5fr) auto}.span-field{min-width:220px}label{gap:6px;min-width:0;display:grid}label span{text-transform:uppercase;font-size:11px;font-weight:800}input,select{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:38px;color:var(--ink);border-radius:7px;padding:8px 10px}.table{border-collapse:collapse;width:100%}.table-wrap{width:100%;overflow-x:auto}.table th,.table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:10px 8px}.table th{color:var(--muted);text-transform:uppercase;font-size:11px}.status{background:var(--surface-soft);color:var(--charcoal);border-radius:999px;align-items:center;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.status.failed{color:var(--red);background:#c84c3224}.status.discarded{color:var(--muted);background:#60708029}.status.processing{color:var(--amber);background:#b7791f24}.status.active,.status.complete{color:var(--teal);background:#16857a24}.notice{border:1px solid var(--line);background:var(--surface-soft);color:var(--charcoal);border-radius:8px;margin-top:14px;padding:12px 14px;font-weight:700}.notice.success{background:#16857a1a;border-color:#16857a47}.notice.error{color:var(--red);background:#c84c321a;border-color:#c84c3247}.notice.info{background:#47617a17;border-color:#47617a38}.result-card{gap:12px;display:grid}.review-panel{margin-bottom:14px}.review-picker{min-width:min(360px,100%)}.review-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.review-metric{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:6px;min-width:0;padding:12px;display:grid}.review-metric span,.review-summary span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:800}.review-metric strong{font-size:24px;line-height:1}.review-metric em{font-style:normal;font-weight:800}.review-metric em.good,.review-metric em.down{color:var(--teal)}.review-metric em.bad,.review-metric em.up{color:var(--red)}.review-metric em.neutral{color:var(--muted)}.review-summary{border-top:1px solid var(--line);grid-template-columns:2fr 1fr 1fr;gap:12px;margin-top:12px;padding-top:12px;display:grid}.review-summary strong{overflow-wrap:anywhere;margin-top:6px;display:block}.change-intelligence{border-top:1px solid var(--line);gap:12px;margin-top:14px;padding-top:14px;display:grid}.change-verdict{border:1px solid var(--line);border-left:5px solid var(--line-strong);background:var(--surface-soft);border-radius:8px;gap:5px;padding:14px;display:grid}.change-verdict.recommended{border-left-color:var(--teal)}.change-verdict.review{border-left-color:var(--red)}.change-verdict.neutral{border-left-color:var(--amber)}.change-verdict span,.change-metric span,.change-list h3{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:800}.change-verdict-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.cache-status{border:1px solid var(--line-strong);background:var(--surface);min-height:22px;color:var(--muted);text-transform:uppercase;border-radius:999px;align-items:center;padding:3px 8px;font-size:11px;font-style:normal;font-weight:900;display:inline-flex}.cache-status.hit{color:var(--teal);background:#16857a1a;border-color:#16857a47}.cache-status.miss,.cache-status.refresh{color:var(--amber);background:#b7791f1a;border-color:#b7791f47}.change-verdict strong{font-size:22px}.change-verdict p{margin:0}.change-metric-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.change-metric{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:5px;min-width:0;padding:12px;display:grid}.change-metric strong{font-size:22px}.change-metric.good strong,.change-row strong.good{color:var(--teal)}.change-metric.bad strong,.change-row strong.bad{color:var(--red)}.change-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.change-list{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;padding:12px}.change-list h3{margin-bottom:8px}.change-row,.change-issue{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 0;display:grid}.change-link-row{color:inherit;text-decoration:none}.change-link-row:hover{color:var(--blue)}.change-row span,.change-issue span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.change-issue{grid-template-columns:auto minmax(0,1fr) auto}.change-issue em{color:var(--red);font-style:normal;font-weight:800}.change-issue em.good{color:var(--teal)}.change-issue em.neutral{color:var(--muted)}.admin-status-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.status-tile{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;padding:14px}.status-tile span,.upload-summary span{color:var(--muted);text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:800;display:block}.status-tile strong,.upload-summary strong{overflow-wrap:anywhere;display:block}.status-tile.ok{border-color:#16857a38}.status-tile.bad{border-color:#c84c3247}.upload-summary{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;padding-top:14px;display:grid}.upload-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.upload-step{border:1px solid var(--line);background:var(--surface-soft);min-width:0;color:var(--muted);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:10px;display:grid}.upload-step span{background:var(--surface);width:24px;height:24px;color:var(--muted);border-radius:999px;place-items:center;font-size:12px;font-weight:900;display:grid}.upload-step strong{min-width:0;font-size:13px;line-height:1.25}.upload-step.active{color:var(--blue);background:#47617a1a;border-color:#47617a57}.upload-step.complete{color:var(--teal);background:#16857a1a;border-color:#16857a4d}.result-metadata{flex-wrap:wrap;gap:8px;display:flex}.result-metadata span{border:1px solid var(--line);background:var(--surface);min-height:26px;color:var(--charcoal);border-radius:999px;align-items:center;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.result-warnings{padding-top:4px}.check-list{color:var(--charcoal);gap:10px;margin:0;padding-left:18px;display:grid}.operations-password{grid-template-columns:minmax(240px,420px) auto;align-items:end;gap:12px;margin-bottom:14px;display:grid}.ops-latest{border-top:1px solid var(--line);gap:6px;margin-top:16px;padding-top:14px;display:grid}.ops-latest span,.audit-event span,.audit-event time{color:var(--muted)}.ops-latest span{text-transform:uppercase;font-size:11px;font-weight:800}.ops-latest strong{text-transform:capitalize;font-size:22px}.ops-latest em{color:var(--muted);font-style:normal}.operations-audit{margin-top:14px}.audit-list{gap:8px;display:grid}.audit-event{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;display:grid}.audit-event:first-child{border-top:0}.audit-event div{gap:4px;min-width:0;display:grid}.audit-event strong{text-transform:capitalize}.audit-event span{overflow-wrap:anywhere}.danger{color:var(--red)}.client-report-page{gap:16px;display:grid}.client-report-topbar{margin-bottom:0}.report-controls{z-index:5;position:sticky;top:0}.report-control-grid{grid-template-columns:minmax(220px,.8fr) minmax(320px,1.6fr) minmax(150px,.55fr) minmax(150px,.55fr);align-items:end;gap:12px;display:grid}.report-filter{gap:6px;min-width:0;display:grid}.report-filter-label,.report-meta span,.report-kpi span,.status-total span,.client-report-header p,.client-report-footer,.report-scope-pill{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:800}.report-filter-menu{position:relative}.report-filter-menu summary{border:1px solid var(--line-strong);background:var(--surface);min-height:38px;color:var(--ink);cursor:pointer;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-weight:800;list-style:none;display:flex}.report-filter-menu summary::-webkit-details-marker{display:none}.report-filter-menu summary:after{content:"v";color:var(--muted);font-size:12px}.report-filter-menu[open] summary:after{content:"^"}.report-filter-panel{z-index:10;border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;gap:10px;width:min(620px,100vw - 340px);max-height:520px;margin-top:6px;padding:12px;display:grid;position:absolute;right:0;overflow:auto;box-shadow:0 18px 38px #17212624}.report-filter-actions{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;padding-bottom:8px;display:flex}.issue-type-checklist{grid-template-columns:1fr 1fr;gap:7px 12px;display:grid}.checkbox-line{grid-template-columns:16px minmax(0,1fr);align-items:start;gap:8px;min-width:0;display:grid}.checkbox-line input{width:16px;min-height:16px;margin:1px 0 0;padding:0}.checkbox-line span{color:var(--charcoal);text-transform:none;font-size:12px;font-weight:700;line-height:1.25}.report-meta{gap:5px;min-width:0;display:grid}.report-meta strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.client-report-sheet{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:10px;gap:16px;padding:28px;display:grid}.client-report-overflow-sheet,.print-report-table,.print-overflow-note{display:none}.client-report-header{border-bottom:2px solid var(--ink);justify-content:space-between;gap:22px;padding-bottom:18px;display:flex}.client-report-brand{font-size:28px;font-weight:950;line-height:1}.client-report-header p{margin:9px 0 0}.client-report-project{text-align:right;gap:4px;display:grid}.client-report-project strong{font-size:20px}.client-report-project span{color:var(--muted);font-size:12px;font-weight:800}.report-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.report-kpi{border:1px solid var(--line);background:#fbfcfc;border-radius:8px;gap:6px;min-width:0;padding:13px;display:grid}.report-kpi strong{font-size:27px;line-height:1}.report-kpi small{color:var(--muted);font-size:11px;line-height:1.25}.report-kpi.amber{background:#b7791f1c;border-color:#b7791f52}.report-kpi.green{background:#16857a1a;border-color:#16857a47}.report-kpi.red{background:#c84c3217;border-color:#c84c3247}.report-kpi.blue{background:#47617a17;border-color:#47617a47}.report-body-grid,.report-detail-grid{grid-template-columns:.82fr 1.18fr;gap:14px;display:grid}.report-detail-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)}.report-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;padding:16px}.report-card-heading{justify-content:space-between;gap:12px;margin-bottom:12px;display:flex}.report-card-heading h2{margin-bottom:4px;font-size:17px}.report-card-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.35}.status-total-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.status-total{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;gap:5px;min-width:0;padding:11px;display:grid}.status-total strong{font-size:23px}.issue-matrix{gap:6px;display:grid}.issue-matrix-row{grid-template-columns:minmax(150px,1.35fr) repeat(5,minmax(54px,.58fr));align-items:center;gap:5px;display:grid}.issue-matrix-row.header span{color:var(--muted);text-align:center;text-transform:uppercase;font-size:10px;font-weight:900}.issue-matrix-name{color:var(--charcoal);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;overflow:hidden}.heat-cell{background:var(--surface-soft);min-height:28px;color:var(--charcoal);border-radius:5px;place-items:center;font-size:11px;font-weight:900;display:grid}.heat-cell.mid{background:#16857a29}.heat-cell.high{background:#16857a57}.heat-cell.hot{background:var(--teal);color:#fff}.client-report-table th:not(:first-child),.client-report-table td:not(:first-child){text-align:right;white-space:nowrap}.client-report-table th,.client-report-table td{padding:7px 8px;font-size:12px;line-height:1.2}.client-report-table th{font-size:10px;line-height:1.15}.client-report-table td:first-child{min-width:260px;font-weight:700}.report-side-stack{align-content:start;gap:14px;display:grid}.report-bar-list{gap:10px;display:grid}.report-bar-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.report-bar-row span{min-width:0;color:var(--charcoal);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;display:block;overflow:hidden}.report-bar-track{background:var(--surface-soft);border-radius:999px;height:9px;margin-top:5px;overflow:hidden}.report-bar-track div{border-radius:inherit;background:var(--teal);height:100%}.report-bar-row strong{font-size:12px}.scope-pill-list{flex-wrap:wrap;gap:7px;display:flex}.scope-pill-list span,.report-scope-pill{border:1px solid var(--line);background:var(--surface-soft);min-height:24px;color:var(--charcoal);text-transform:none;border-radius:999px;align-items:center;padding:4px 8px;font-size:11px;font-weight:800;display:inline-flex}.empty-report-state{border:1px dashed var(--line-strong);background:var(--surface-soft);color:var(--muted);border-radius:8px;margin:0;padding:14px;font-weight:700}.client-report-footer{border-top:1px solid var(--line);justify-content:space-between;gap:14px;padding-top:12px;display:flex}@media (max-width:980px){.shell{grid-template-columns:1fr}.sidebar{height:auto;position:static}.topbar,.toolbar,.form-grid,.upload-form,.admin-status-grid,.upload-summary,.upload-steps,.operations-password,.review-grid,.change-metric-grid,.audit-event,.review-summary,.report-control-grid,.report-kpi-grid,.report-body-grid,.report-detail-grid,.change-detail-grid{grid-template-columns:1fr}.topbar{display:grid}.report-filter-panel{width:min(620px,100vw - 36px);left:0;right:auto}.issue-type-checklist,.status-total-grid{grid-template-columns:1fr}.client-report-header{display:grid}.client-report-project{text-align:left}.issue-matrix-row{grid-template-columns:minmax(150px,1fr) repeat(5,minmax(48px,.5fr))}.span-4,.span-6,.span-8{grid-column:span 12}}@media print{@page{size:A4 landscape;margin:7mm}html,body{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;overflow:visible}.shell{display:block}.sidebar,.client-report-topbar,.report-controls,.report-actions{display:none!important}.main{padding:0}.client-report-page{display:block}.client-report-sheet{width:283mm;height:196mm;max-height:196mm;box-shadow:none;break-inside:avoid;page-break-inside:avoid;border:0;border-radius:0;grid-template-rows:auto auto minmax(0,1fr) auto;gap:2.4mm;padding:5mm;display:grid;overflow:hidden}.client-report-overflow-sheet{break-before:page;page-break-before:always;grid-template-rows:auto minmax(0,1fr) auto;display:grid}.client-report-header{border-bottom-width:.35mm;gap:8mm;padding-bottom:2.4mm}.client-report-brand{font-size:17pt}.client-report-header p{margin-top:1.2mm;font-size:6pt}.client-report-project{gap:1mm}.client-report-project strong{font-size:11pt}.client-report-project span{font-size:6pt}.report-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:1.4mm}.report-kpi{border-radius:1.5mm;gap:.8mm;padding:1.8mm}.report-kpi span{font-size:5.4pt}.report-kpi strong{font-size:13pt}.report-kpi small{font-size:5.3pt;line-height:1.1}.report-detail-grid{grid-template-columns:minmax(0,1fr) 74mm;gap:2.4mm;min-height:0}.report-card,.report-kpi,.status-total{break-inside:avoid}.report-card{box-shadow:none;border-radius:1.5mm;padding:2mm}.report-card-heading{gap:2mm;margin-bottom:1.4mm}.report-card-heading h2{margin-bottom:.6mm;font-size:7.4pt}.report-card-heading p{font-size:5.4pt;line-height:1.12}.report-scope-pill{white-space:nowrap;min-height:0;padding:.8mm 1.4mm;font-size:5.2pt}.report-side-stack{gap:1.6mm;min-height:0}.report-status-card .report-card-heading,.report-scope-card{display:none}.status-total-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1mm}.status-total{border-radius:1.2mm;gap:.5mm;padding:1.1mm}.status-total span{font-size:4.7pt}.status-total strong{font-size:8.6pt}.report-matrix-card .report-card-heading p,.report-logger-card .report-card-heading p{display:none}.issue-matrix{gap:.75mm}.issue-matrix-row{grid-template-columns:minmax(0,1.4fr) repeat(5,minmax(8mm,.6fr));gap:.8mm}.issue-matrix-row.header span{font-size:4.5pt}.issue-matrix-name{font-size:5.1pt}.heat-cell{border-radius:1mm;min-height:4mm;font-size:5pt}.report-bar-list{gap:.9mm}.report-bar-row{gap:1.4mm}.report-bar-row span,.report-bar-row strong{font-size:5.5pt}.report-bar-track{height:1.35mm;margin-top:.6mm}.report-table-card{min-height:0;overflow:hidden}.client-report-overflow-sheet .report-table-card{grid-template-rows:auto minmax(0,1fr);display:grid}.screen-report-table{display:none!important}.print-report-table{display:block!important}.print-overflow-note{color:var(--muted);margin:1mm 0 0;font-size:5.3pt;font-weight:800;line-height:1.05;display:block}.report-table-card .report-card-heading p{display:none}.table-wrap{overflow:visible}.client-report-table{table-layout:fixed}.client-report-table th,.client-report-table td{padding:.48mm .62mm;font-size:5.8pt;line-height:1.08}.client-report-table th{padding-top:.58mm;padding-bottom:.58mm;font-size:5pt}.client-report-table th:first-child,.client-report-table td:first-child{text-overflow:ellipsis;white-space:nowrap;width:52%;min-width:0;overflow:hidden}.client-report-table th:not(:first-child),.client-report-table td:not(:first-child){width:9.6%}.client-report-footer{white-space:nowrap;gap:4mm;padding-top:1.4mm;font-size:5.1pt;line-height:1.1}}
