:root { color-scheme: light dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background:#0b1020; color:#eef2ff; }
* { box-sizing:border-box; }
body { margin:0; background:linear-gradient(180deg,#0b1020,#111827 45%,#0b1020); min-height:100vh; }
button,input,select { font:inherit; }
button { cursor:pointer; }
.shell { width:min(900px,100%); margin:0 auto; padding:18px 14px 72px; }
.hero { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:20px 4px 14px; }
h1 { margin:2px 0 8px; font-size:clamp(2rem,8vw,3.5rem); letter-spacing:-.05em; }
h2 { margin:2px 0; font-size:1.15rem; }
p { line-height:1.45; }
.eyebrow { margin:0; font-size:.72rem; letter-spacing:.14em; font-weight:800; opacity:.65; }
.card { margin:12px 0; padding:16px; border:1px solid rgba(255,255,255,.1); background:rgba(17,24,39,.86); border-radius:18px; box-shadow:0 12px 30px rgba(0,0,0,.18); }
.upload-card { display:grid; gap:10px; }
.file-button { display:flex; justify-content:center; align-items:center; padding:14px 16px; border-radius:14px; background:#f8fafc; color:#111827; font-weight:800; }
.file-button input { display:none; }
button { border:0; border-radius:12px; padding:11px 14px; background:#f8fafc; color:#111827; font-weight:750; }
button.secondary { background:rgba(255,255,255,.08); color:#eef2ff; border:1px solid rgba(255,255,255,.12); }
button.danger { background:rgba(248,113,113,.08); color:#fecaca; border:1px solid rgba(248,113,113,.2); }
.privacy,.muted,.status { color:#aab4ca; font-size:.87rem; }
.light { width:44px; height:44px; border-radius:999px; display:grid; place-items:center; font-size:2rem; line-height:1; border:1px solid rgba(255,255,255,.15); flex:0 0 auto; }
.light.green { color:#4ade80; box-shadow:0 0 30px rgba(74,222,128,.25); }
.light.yellow { color:#facc15; box-shadow:0 0 30px rgba(250,204,21,.22); }
.light.red { color:#fb7185; box-shadow:0 0 30px rgba(251,113,133,.25); }
.light.neutral { color:#64748b; }
.tabs { position:sticky; top:8px; z-index:20; display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:2px 0 14px; padding:5px; border:1px solid rgba(255,255,255,.1); border-radius:15px; background:rgba(11,16,32,.88); backdrop-filter:blur(12px); }
.tab { padding:9px 8px; background:transparent; color:#94a3b8; border-radius:10px; }
.tab.active { background:rgba(255,255,255,.1); color:#f8fafc; }
.section-heading { display:flex; gap:12px; justify-content:space-between; align-items:center; margin-bottom:10px; }
.badge { font-size:.76rem; border-radius:999px; padding:6px 9px; background:rgba(255,255,255,.08); color:#cbd5e1; white-space:nowrap; }
.badge.good { color:#86efac; background:rgba(74,222,128,.09); border:1px solid rgba(74,222,128,.2); }
.badge.warn { color:#fde68a; background:rgba(250,204,21,.08); border:1px solid rgba(250,204,21,.22); }
.badge.bad { color:#fecaca; background:rgba(248,113,113,.08); border:1px solid rgba(248,113,113,.22); }
.summary-list { display:grid; margin:2px 0 12px; border-top:1px solid rgba(255,255,255,.07); }
.summary-row { display:flex; justify-content:space-between; align-items:baseline; gap:20px; padding:9px 2px; border-bottom:1px solid rgba(255,255,255,.07); }
.summary-row span { color:#94a3b8; font-size:.82rem; }
.summary-row strong { text-align:right; }
.mini-label { margin:10px 0 7px; color:#94a3b8; font-size:.76rem; }
.tag-list { display:flex; flex-wrap:wrap; gap:6px; }
.tag { display:inline-flex; align-items:center; min-height:30px; padding:5px 9px; border-radius:999px; background:rgba(74,222,128,.08); color:#bbf7d0; border:1px solid rgba(74,222,128,.16); font-size:.78rem; }
.notice-box { margin-top:12px; padding:10px 12px; border-radius:12px; border:1px solid rgba(250,204,21,.2); background:rgba(250,204,21,.06); }
.notice-box p { margin:0; color:#fde68a; font-size:.82rem; }
.notice-box p + p { margin-top:7px; }
.review-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.review-field { display:grid; gap:4px; padding:8px; border-radius:11px; background:rgba(255,255,255,.035); }
.review-field.uncertain { outline:1px solid rgba(250,204,21,.65); }
.field-label { font-size:.75rem; color:#aab4ca; }
.review-field input { width:100%; padding:8px 9px; min-height:38px; border-radius:8px; border:1px solid rgba(255,255,255,.12); background:#0b1020; color:#f8fafc; }
.review-field small { color:#64748b; font-size:.7rem; }
.inline-warning { grid-column:1/-1; padding:10px; border-radius:11px; background:rgba(250,204,21,.08); border:1px solid rgba(250,204,21,.28); color:#fde68a; font-size:.83rem; }
.inline-warning.blocking { background:rgba(248,113,113,.08); border-color:rgba(248,113,113,.28); color:#fecaca; }
.actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.compact-actions { margin-top:12px; }
.raw { overflow:auto; max-height:320px; margin-top:12px; padding:12px; white-space:pre-wrap; background:#050816; border-radius:12px; color:#cbd5e1; font-size:.78rem; }
.metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.metric { padding:11px 12px; border-radius:12px; background:rgba(255,255,255,.04); display:grid; gap:3px; }
.metric span { color:#94a3b8; font-size:.74rem; }
.metric strong { font-size:1.03rem; }
.history-row { display:flex; justify-content:space-between; gap:16px; padding:11px 0; border-top:1px solid rgba(255,255,255,.08); }
.history-row:first-child { border-top:0; }
.history-row > div { display:grid; gap:2px; }
.history-row > div:last-child { text-align:right; }
.history-row span { font-size:.76rem; color:#94a3b8; }
.mini-state { display:inline-flex; width:max-content; margin-top:3px; padding:3px 6px; border-radius:999px; color:#bfdbfe !important; background:rgba(96,165,250,.08); border:1px solid rgba(96,165,250,.17); }
.year-select { min-width:88px; border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:8px 10px; background:#0b1020; color:#f8fafc; font-weight:700; }
.error-card { border-color:rgba(248,113,113,.24); }
.quiet-card { border-style:dashed; box-shadow:none; }
.hidden { display:none !important; }
@media (max-width:620px) {
  .shell { padding-left:10px; padding-right:10px; }
  .review-grid { grid-template-columns:1fr; }
  .metrics { grid-template-columns:1fr; }
  .history-row { align-items:flex-start; }
  .hero p { max-width:32rem; }
  .card { padding:13px; border-radius:15px; }
  .summary-row { padding:8px 1px; }
  .tabs { top:5px; }
  .actions button { flex:1 1 auto; }
}
.learning-note { margin:10px 0 0; padding:10px 11px; border-radius:11px; background:rgba(96,165,250,.07); border:1px solid rgba(96,165,250,.18); color:#bfdbfe; font-size:.82rem; line-height:1.45; }
