:root{--report-navy:#172554;--report-blue:#1d4ed8;--report-ink:#0f172a;--report-muted:#64748b;--report-line:#dbe4ef;--report-bg:#f5f7fb;--report-card:#fff;--report-green:#166534;--report-green-bg:#f0fdf4;--report-amber:#92400e;--report-amber-bg:#fffbeb;--report-red:#b42318;--report-red-bg:#fff1f2;--report-shadow:0 18px 45px rgba(15,23,42,.08);--report-radius:15px}
*{box-sizing:border-box}
body{margin:0;color:var(--report-ink);background:var(--report-bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;line-height:1.65}
a{color:var(--report-navy);text-underline-offset:3px}
.container{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid var(--report-line)}
.header-inner{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{color:var(--report-ink);font-weight:850;letter-spacing:.045em;text-decoration:none}.brand-domain{color:var(--report-blue)}
.site-nav{display:flex;align-items:center;gap:20px}.site-nav a{color:#334155;font-size:.9rem;font-weight:650;text-decoration:none}.site-nav a[aria-current=page]{color:var(--report-blue)}
.menu-toggle{display:none;border:1px solid var(--report-line);background:#fff;padding:7px 11px;border-radius:8px}
.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;z-index:100;background:#fff;padding:10px}
.breadcrumb{padding-top:22px;color:var(--report-muted);font-size:.88rem}
.hero{padding:34px 0 25px}.eyebrow{margin:0 0 4px;color:var(--report-blue);font-size:.75rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.hero h1{max-width:850px;margin:4px 0 9px;font-size:clamp(2rem,5vw,3.5rem);line-height:1.12;letter-spacing:-.045em}
.hero>p{max-width:850px;margin:0;color:#475569}
.scope-banner{max-width:900px;margin-top:15px;padding:12px 15px;color:var(--report-amber);background:var(--report-amber-bg);border-left:4px solid #d97706;border-radius:8px;font-size:.9rem}
.local-badge{display:inline-flex!important;margin-top:12px!important;padding:6px 11px;color:var(--report-green)!important;background:var(--report-green-bg);border:1px solid #cce8d4;border-radius:999px;font-size:.8rem;font-weight:750}
.prep-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start;margin-bottom:48px}
.form-column{display:grid;gap:18px}.summary-column{position:sticky;top:84px;display:grid;gap:16px}
.step-card,.summary-card,.source-section{padding:25px;background:var(--report-card);border:1px solid var(--report-line);border-radius:var(--report-radius);box-shadow:var(--report-shadow)}
.step-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:19px}.step-heading>span{display:grid;place-items:center;flex:none;width:32px;height:32px;color:#fff;background:var(--report-navy);border-radius:50%;font-weight:850}
.step-heading p{margin:0;color:var(--report-blue);font-size:.73rem;font-weight:800;letter-spacing:.1em}.step-heading h2{margin:1px 0 0;font-size:1.35rem;line-height:1.3}
.field{margin-bottom:20px}.field label,fieldset legend{display:block;margin-bottom:8px;font-weight:800}fieldset{margin:0 0 18px;padding:0;border:0}
.money-field,.compact-field input,.evidence-row input,.evidence-row select,.evidence-row textarea{width:100%;padding:10px 12px;color:var(--report-ink);background:#fff;border:1px solid #b9c7d8;border-radius:8px;font:inherit}
.money-field{font-size:1.2rem;font-weight:750}.compact-field input{max-width:100px}
input:focus,select:focus,textarea:focus,button:focus-visible{outline:3px solid rgba(37,99,235,.2);outline-offset:2px;border-color:#2563eb}
.field-help,.submit-note{margin:6px 0 0;color:var(--report-muted);font-size:.82rem}.field-error{min-height:1.25em;margin:4px 0 0;color:var(--report-red);font-size:.82rem;font-weight:700}
.choice,.toggle-choice{display:flex;align-items:center;gap:9px;margin:8px 0;padding:10px 12px;border:1px solid var(--report-line);border-radius:9px;cursor:pointer}
.choice:has(input:checked),.toggle-choice:has(input:checked){background:#eff6ff;border-color:#93b4f4}.choice input,.toggle-choice input,.material-options input{accent-color:var(--report-navy)}
.material-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.material-options label{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;padding:10px;border:1px solid #edf2f7;border-radius:8px;cursor:pointer}.material-options label:has(input:checked){background:var(--report-green-bg);border-color:#cce8d4}
.evidence-rows{display:grid;gap:12px;margin-bottom:13px}.evidence-row{padding:14px;background:#f8fafc;border:1px solid var(--report-line);border-radius:11px}
.evidence-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.evidence-row-head strong{color:var(--report-navy)}
.evidence-grid{display:grid;grid-template-columns:1.25fr .9fr 1fr;gap:10px}.evidence-grid label{font-size:.78rem;font-weight:750}.evidence-grid textarea{min-height:74px;resize:vertical}
.evidence-wide{grid-column:span 2}.evidence-actions{display:flex;gap:6px}.icon-button{padding:4px 8px;color:#334155;background:#fff;border:1px solid var(--report-line);border-radius:6px;cursor:pointer}.remove-evidence{color:var(--report-red)}
.button{min-height:42px;padding:9px 15px;border:1px solid transparent;border-radius:8px;font-weight:760;cursor:pointer}.button-primary{color:#fff;background:var(--report-navy)}.button-primary:hover{background:#0f1f4f}.button-secondary{color:var(--report-ink);background:#fff;border-color:#b9c7d8}.button-large{min-height:48px;padding-inline:22px}
.form-actions{display:flex;gap:10px}.summary-card h2{margin-top:0;font-size:1.1rem}.summary-card ul{margin:0;padding-left:1.2rem}.summary-card li{margin:.45em 0}.caution-card{color:var(--report-amber);background:var(--report-amber-bg);box-shadow:none}
.generated-report{margin-bottom:48px}.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}.report-toolbar h2{margin:0}.report-toolbar>div:last-child{display:flex;gap:9px}
.report-paper{padding:38px 42px;background:#fff;border:1px solid var(--report-line);border-radius:var(--report-radius);box-shadow:var(--report-shadow)}
.report-title{padding-bottom:17px;border-bottom:3px solid var(--report-navy)}.report-title h1{margin:0 0 4px;font-size:2rem}.report-title p{margin:0;color:var(--report-muted)}
.report-section{padding:22px 0;border-bottom:1px solid var(--report-line)}.report-section:last-child{border-bottom:0}.report-section h2{margin:0 0 12px;font-size:1.3rem}.report-section h3{margin:16px 0 7px;font-size:1rem}.report-section p{margin:.4em 0}
.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.metric-card{padding:14px;background:#f8fafc;border:1px solid var(--report-line);border-radius:10px}.metric-card span{display:block;color:var(--report-muted);font-size:.78rem}.metric-card strong{display:block;margin-top:3px;font-size:1.2rem}
.status-pill{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:.75rem;font-weight:800}.status-prepay{color:#1e40af;background:#dbeafe}.status-possible{color:var(--report-amber);background:var(--report-amber-bg)}.status-later{color:var(--report-green);background:var(--report-green-bg)}
.report-table{width:100%;border-collapse:collapse;margin:10px 0;font-size:.88rem}.report-table th,.report-table td{padding:9px 10px;text-align:left;vertical-align:top;border:1px solid var(--report-line)}.report-table th{color:#fff;background:var(--report-navy)}.report-table tr:nth-child(even) td{background:#f8fafc}
.check-list,.gap-list,.next-list{margin:0;padding-left:1.25rem}.check-list li,.gap-list li,.next-list li{margin:.45em 0}.gap-list li::marker{color:#d97706}.done-text{color:var(--report-green)}.empty-evidence{color:var(--report-muted);font-style:italic}
.report-warning{padding:12px 14px;color:var(--report-amber);background:var(--report-amber-bg);border-left:4px solid #d97706;border-radius:7px}.report-author{padding:14px;color:#334155;background:#f8fafc;border-radius:9px;font-size:.88rem}
.section{padding:35px 0}.source-section{margin-bottom:32px}.source-section h2{margin-top:0}.source-section li{margin:.5em 0}.author-note{margin-top:18px;padding-top:15px;border-top:1px solid var(--report-line)}.author-note p{margin:.35em 0}
.site-footer{margin-top:45px;padding:40px 0 26px;color:#cbd5e1;background:var(--report-ink)}.site-footer a{color:#f8fafc}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:34px}.footer-maintained{color:#94a3b8;font-size:.82rem}
@media(max-width:900px){.prep-layout{grid-template-columns:1fr}.summary-column{position:static;grid-template-columns:repeat(2,minmax(0,1fr));order:-1}.site-nav{display:none;position:absolute;top:58px;right:0;left:0;padding:15px;background:#fff;border-bottom:1px solid var(--report-line);flex-direction:column;align-items:flex-start}.site-nav.is-open{display:flex}.menu-toggle{display:block}}
@media(max-width:680px){.container{width:min(100% - 28px,1120px)}.hero{padding:25px 0 18px}.hero h1{font-size:clamp(1.9rem,9vw,2.6rem)}.summary-column,.material-options,.report-grid{grid-template-columns:1fr}.step-card,.summary-card{padding:18px}.evidence-grid{grid-template-columns:1fr}.evidence-wide{grid-column:auto}.form-actions,.report-toolbar,.report-toolbar>div:last-child{display:grid}.report-paper{padding:24px 18px}.report-table{font-size:.8rem}.report-table th,.report-table td{padding:7px}.footer-grid{grid-template-columns:1fr}}
@media print{
  @page{size:A4;margin:13mm}
  body{background:#fff;font-size:10pt}.no-print,.site-header,.site-footer,.hero,.prep-layout,.source-section{display:none!important}
  .container{width:100%;max-width:none}.generated-report{display:block!important;margin:0}.report-paper{padding:0;border:0;box-shadow:none}
  .report-title h1{font-size:20pt}.report-section{break-inside:auto}.metric-card,.report-warning,.report-author{break-inside:avoid}
  .report-table{font-size:8.5pt}.report-table tr{break-inside:avoid}.report-table th{color:#000;background:#e5e7eb}
  a{color:#000;text-decoration:none}
}
