:root{--ink:#17211f;--muted:#64706d;--canvas:#f4f3ef;--surface:#ffffff;--accent:#0f665b;--accent-soft:#e7f2ef;--review:#a76615;--review-soft:#fff2dc;--danger:#a43a3a;--danger-soft:#faeaea;--line:#d9dfdc;--line-strong:#c4cdca;--shadow:0 18px 48px rgba(23,33,31,0.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--canvas);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,aside:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.app-shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:26px 18px;background:#18231f;color:#edf4f1;border-right:1px solid rgba(255,255,255,.08)}.brand-mark{display:flex;align-items:center;gap:12px;padding:0 8px 26px;border-bottom:1px solid rgba(255,255,255,.1)}.brand-mark>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:#17302a;background:#c8eadf;font-weight:800;font-size:19px}.brand-mark div{display:grid;grid-gap:1px;gap:1px}.brand-mark strong{font-size:15px;letter-spacing:.02em}.brand-mark small{color:#9fb4ad;font-size:12px}.sidebar nav{display:grid;grid-gap:7px;gap:7px;margin-top:28px}.nav-link{min-height:44px;display:flex;align-items:center;gap:11px;padding:0 12px;border-radius:10px;color:#afc0ba;text-decoration:none;font-size:13px;font-weight:600;transition:background .2s,color .2s}.nav-link span{width:20px;color:#7f9990;font-size:18px}.nav-link:hover{color:white;background:rgba(255,255,255,.06)}.nav-link--active{color:white;background:rgba(200,234,223,.12);box-shadow:inset 3px 0 0 #7dd2bd}.sidebar-gate{margin-top:auto;padding:15px;border:1px solid rgba(200,234,223,.17);border-radius:14px;background:rgba(255,255,255,.04)}.sidebar-gate span{display:block;color:#93aaa2;font-size:10px;text-transform:uppercase;letter-spacing:.14em}.sidebar-gate strong{display:block;margin-top:8px;font-size:13px}.sidebar-gate p{margin:4px 0 0;color:#e4aa9f;font-size:11px}.main-content{min-width:0;padding:34px clamp(22px,3vw,48px) 48px}.topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.eyebrow{display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.topbar h1{margin:6px 0 0;font-size:clamp(28px,3vw,39px);font-weight:670;letter-spacing:-.04em}.environment-badge{min-height:34px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #bcd8d1;border-radius:999px;background:var(--accent-soft);color:#23594f;font-size:11px;font-weight:700}.environment-badge span{width:7px;height:7px;border-radius:50%;background:#2c9b81;box-shadow:0 0 0 4px rgba(44,155,129,.12)}.logout-button{min-width:66px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:18px}.metric-card{position:relative;overflow:hidden;min-height:128px;padding:20px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.74)}.metric-card:before{content:"";position:absolute;top:0;left:20px;right:20px;height:2px;background:#c8cfcc}.metric-card--review:before{background:#d3984a}.metric-card--positive:before{background:#4a9f8c}.metric-card p{margin-bottom:13px;color:var(--muted);font-size:11px;font-weight:700}.metric-card strong{display:block;font-size:27px;letter-spacing:-.04em}.metric-card span{display:block;margin-top:7px;color:var(--muted);font-size:10px}.workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.8fr);grid-gap:18px;gap:18px;align-items:start}.queue-card,.review-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.queue-card{min-width:0;border-radius:18px;overflow:hidden}.queue-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid var(--line)}.queue-heading h2{margin:5px 0 0;font-size:18px;letter-spacing:-.02em}.filters{display:flex;flex-wrap:wrap;gap:5px}.filter{min-height:44px;padding:0 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#4f5d59;font-size:10px;font-weight:700;cursor:pointer}.filter:hover{background:#f2f5f3}.filter--active{color:#24594f;border-color:#c5dcd6;background:var(--accent-soft)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:720px}th{padding:12px 18px;color:#52605c;background:#fafbf9;border-bottom:1px solid var(--line);font-size:10px;font-weight:800;letter-spacing:.07em;text-align:left;text-transform:uppercase}td{padding:15px 18px;border-bottom:1px solid #edf0ee;color:#4d5a56;font-size:11px;vertical-align:middle}tbody tr{transition:background .18s}.row--selected,tbody tr:hover{background:#f7faf8}tbody tr:last-child td{border-bottom:0}.row-link{min-height:44px;display:grid;align-content:center;grid-gap:4px;gap:4px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.row-link strong{color:var(--ink);font-size:11px}.row-link span{color:var(--muted);font-size:9px}.row-link span,code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}code{color:#3d5b54;font-size:10px}.status-badge{display:inline-flex;min-height:25px;align-items:center;padding:0 8px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.status-badge--needs_review{color:#87510f;background:var(--review-soft)}.status-badge--approved{color:#216455;background:var(--accent-soft)}.status-badge--rejected{color:#913737;background:var(--danger-soft)}.empty-list{min-height:240px;display:grid;place-content:center;grid-gap:6px;gap:6px;color:var(--muted);text-align:center}.empty-list strong{color:var(--ink)}.mobile-import-list{display:none}.review-panel{position:-webkit-sticky;position:sticky;top:20px;scroll-margin-top:18px;border-radius:18px;padding:23px}.review-panel--empty{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.review-panel--empty h2{margin:12px 0 7px;font-size:17px}.review-panel--empty p{max-width:270px;color:var(--muted);font-size:11px;line-height:1.6}.empty-symbol{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:var(--accent);background:var(--accent-soft);font-size:22px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line)}.panel-heading h2{margin:5px 0 0;font-size:18px;letter-spacing:-.025em}.provenance-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;gap:10px;margin:16px 0}.provenance-grid div{padding:10px 11px;border:1px solid #e8ecea;border-radius:10px;background:#fbfcfb}.provenance-grid dt{color:#52605c;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.provenance-grid dd{margin:5px 0 0;color:#34423e;font-size:10px;font-weight:700}.panel-section-title{display:flex;align-items:center;justify-content:space-between;margin:19px 0 10px}.panel-section-title h3{margin:0;font-size:12px}.panel-section-title span{color:var(--muted);font-size:9px}.review-items{display:grid;grid-gap:7px;gap:7px;max-height:310px;overflow-y:auto;padding-right:2px}.review-item{padding:12px;border:1px solid #e4e9e7;border-radius:11px;background:#fdfefd}.review-item__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.review-item__top>div{min-width:0;display:grid;grid-gap:4px;gap:4px}.review-item__top strong{font-size:10px}.review-item__top code{overflow:hidden;color:#71807b;text-overflow:ellipsis;white-space:nowrap}.item-state{flex:0 0 auto;color:#8a5c1f;font-size:8px;font-weight:800}.item-state--ok{color:#2e7565}.review-item__meta{display:flex;justify-content:space-between;gap:10px;margin-top:10px;padding-top:8px;border-top:1px dashed #dfe5e2;color:#65716d;font-size:9px}.correction-grid{display:grid;grid-template-columns:minmax(0,1fr) 104px;grid-gap:8px;gap:8px;margin-top:11px}.correction-grid label,.decision-reason{display:grid;grid-gap:5px;gap:5px;color:#52605c;font-size:9px;font-weight:800}.correction-grid input,.correction-grid select,.decision-reason textarea{width:100%;min-height:44px;border:1px solid var(--line-strong);border-radius:9px;color:var(--ink);background:white;font-size:10px;font-weight:600}.correction-grid input,.correction-grid select{padding:0 9px}.confirm-item{grid-column:1/-1;min-height:44px;border:1px solid #bdd3cd;border-radius:9px;color:#285e53;background:#f1f8f6;font-size:10px;font-weight:800;cursor:pointer}.confirm-item:disabled{color:#70807b;border-color:#dce3e0;background:#f4f6f5;cursor:not-allowed}.evidence-excerpt{margin:10px 0 0;padding:8px 9px;border-radius:8px;color:#4c5955;background:#f5f7f6;font-size:9px;line-height:1.5}.audit-note{display:flex;gap:9px;margin:14px 0;padding:11px;border-radius:10px;color:#4c655e;background:#edf5f2}.audit-note span{color:#3d917d;font-size:8px}.audit-note div{display:grid;grid-gap:3px;gap:3px}.audit-note strong{font-size:9px}.audit-note p{margin:0;font-size:9px;line-height:1.5}.decision-reason{margin:14px 0 10px}.decision-reason textarea{min-height:72px;padding:10px;resize:vertical;font-family:inherit}.panel-actions{display:flex;flex-wrap:wrap;gap:7px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:10px;font-weight:800;cursor:pointer}.button--primary{color:white;background:var(--accent)}.button--primary:hover{background:#0b554c}.button--secondary{color:#34544d;border-color:#c9d5d1;background:white}.button--secondary:hover{background:#f1f6f4}.button--danger{color:var(--danger);border-color:#eccaca;background:#fffafa}.button:disabled{opacity:.5;cursor:not-allowed}.local-disclaimer{margin:12px 0 0;color:#596662;font-size:9px;text-align:center}.route-state{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}.route-state h1{margin:14px 0 7px;font-size:25px}.route-state p{color:var(--muted)}.route-state .eyebrow{margin-top:16px}.route-state form{margin-top:8px}.route-code{width:54px;height:54px;display:grid;place-items:center;border:1px solid var(--line);border-radius:16px;color:var(--accent);background:white;font-weight:800}.loading-dot{width:12px;height:12px;border-radius:50%;background:var(--accent);animation:pulse 1s infinite alternate}@keyframes pulse{to{transform:scale(1.5);opacity:.35}}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(100%,440px);padding:clamp(25px,5vw,38px);border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:var(--shadow)}.login-heading{display:flex;align-items:center;gap:14px}.login-heading h1{margin:5px 0 0;font-size:27px;letter-spacing:-.035em}.login-brand{flex:0 0 auto;width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:#17302a;background:#c8eadf;font-size:21px;font-weight:800}.login-intro{margin:22px 0;color:var(--muted);font-size:13px;line-height:1.65}.login-alert{margin:0 0 18px;padding:11px 12px;border:1px solid;border-radius:10px;font-size:11px;line-height:1.55}.login-alert--error{color:#813232;border-color:#eccaca;background:var(--danger-soft)}.login-alert--success{color:#23594f;border-color:#bcd8d1;background:var(--accent-soft)}.login-form{display:grid;grid-gap:16px;gap:16px}.login-form label{display:grid;grid-gap:7px;gap:7px;color:#41504c;font-size:11px;font-weight:800}.login-form input{width:100%;min-height:46px;padding:0 12px;border:1px solid var(--line-strong);border-radius:10px;color:var(--ink);background:white}.login-form input:hover{border-color:#96aaa4}.login-submit{width:100%;margin-top:3px}.login-footnote{margin:20px 0 0;color:var(--muted);font-size:10px;line-height:1.55;text-align:center}@media (max-width:1180px){.metrics{grid-template-columns:repeat(2,1fr)}.workspace{grid-template-columns:1fr}.review-panel{position:static}}@media (max-width:760px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:16px}.brand-mark{padding-bottom:14px}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px;overflow-x:auto}.nav-link{justify-content:center;min-width:104px;padding:0 8px;font-size:10px}.nav-link span,.sidebar-gate{display:none}.main-content{padding:24px 14px 36px}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{width:100%;align-items:stretch;justify-content:flex-start;flex-wrap:wrap}.topbar-actions .environment-badge{flex:1 1 auto}.metrics{grid-template-columns:repeat(2,1fr)}.metric-card{min-height:112px;padding:16px}.queue-heading{align-items:flex-start;flex-direction:column;padding:18px}.filters{width:100%;overflow-x:auto;flex-wrap:nowrap}.table-wrap{display:none}.mobile-import-list{display:grid}.mobile-import{width:100%;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border:0;border-bottom:1px solid #edf0ee;color:var(--ink);background:white;text-align:left;cursor:pointer}.mobile-import-list>div:last-child .mobile-import{border-bottom:0}.mobile-import--selected{box-shadow:inset 4px 0 0 var(--accent);background:#f4f9f7}.mobile-import>span:first-child{min-width:0;display:grid;grid-gap:5px;gap:5px}.mobile-import strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.mobile-import small{color:#65736f;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.review-panel{padding:18px}}@media (max-width:430px){.metrics{grid-template-columns:1fr}.metric-card{min-height:98px}.correction-grid,.provenance-grid{grid-template-columns:1fr}.environment-badge{font-size:9px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}