:root {
  --ink:#19253a; --muted:#576478; --blue:#254c94; --blue-soft:#eaf0fa;
  --orange:#bb6434; --line:#d4dbe1; --paper:#f8fafb; --mono:ui-monospace,Consolas,"Liberation Mono",monospace;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
  color:var(--ink); background:var(--paper); font-synthesis:none; color-scheme:light;
}
*{box-sizing:border-box}
body{max-width:1550px;margin:0 auto;padding:0 clamp(18px,4.1vw,69px)}
button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #f0ac72;outline-offset:3px}h1,h2,h3,p{margin:0}svg{display:block}button{border:0}
.skip{position:fixed;z-index:10;top:-5em;left:1em;background:var(--ink);color:white;padding:10px}.skip:focus{top:10px}
.mast{height:65px;display:flex;align-items:center;gap:17px;border-bottom:1px solid #a1adba}
.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-size:26px;font-weight:760;letter-spacing:-1.4px;color:var(--ink)}
.mast-divider{height:18px;border-left:1px solid #b3bdc8}.mast-name,.local,.section-end{color:var(--muted);font:12px var(--mono)}
.language{font-size:12px;font-weight:600;border:1px solid #a5b4c2;border-radius:4px;background:transparent;padding:6px 10px;white-space:nowrap;flex:none}
.language:hover{background:#eaf0fa;color:var(--blue)}
@media(max-width:450px){.mast .mast-name,.mast .mast-divider{display:none}}
.local{margin-left:auto;display:flex;align-items:center;gap:7px;font-family:inherit}.local i{width:7px;height:7px;border-radius:50%;background:#34755e}
.intro{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:35px 0 27px}
h1{font-size:clamp(32px,3vw,46px);letter-spacing:-.055em;line-height:1.15;font-weight:730}h1 span{margin-left:3px;color:#bf784c}
.intro p{margin-top:10px;color:var(--muted);font-size:15px;line-height:1.65}
.intro-actions,.guide-head,.section-title,.section-title>div,.legend,.legend>span,.dataset,.dataset>div,.list-tools,.paging,.paging>div{display:flex;align-items:center}
.intro-actions{gap:9px;flex:none}
.action,.quiet{min-height:40px;padding:8px 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:4px;font-weight:620;font-size:14px;white-space:nowrap}
.action{background:var(--blue);color:white;border:1px solid var(--blue)}.action:hover:enabled{background:#1b3c79}
.action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.quiet{background:#fff;border:1px solid #aeb8c4}.quiet:hover:enabled,.paging button:hover:enabled{background:var(--blue-soft);border-color:var(--blue)}
.dataset{justify-content:space-between;gap:14px;padding:12px 15px;background:#ebeff2;min-height:45px;border:1px solid #d9dfe5;border-left:3px solid #6d7f93;border-radius:3px;font-size:13px}
.dataset>div{gap:10px;min-width:0;flex-wrap:wrap}.dataset strong{overflow-wrap:anywhere}.source-sign{font:20px/1 var(--mono);color:#697c92}.dataset #splits{color:#556275}.link{background:transparent;color:var(--blue);padding:3px 0;text-decoration:underline;text-underline-offset:3px;font-size:13px;white-space:nowrap}
#alerts:not(:empty),#notice:not(:empty){margin-top:10px;font-size:13px;line-height:1.65;padding:7px 12px;border-left:3px solid #ba733f;background:#fff3e7;overflow-wrap:anywhere}
#notice:not(:empty){border-color:#768ba3;background:#ecf1f5;color:#46566a}
.workbench{display:grid;grid-template-columns:minmax(215px,24%) minmax(0,1fr);margin-top:27px;gap:clamp(20px,2.3vw,42px)}
aside{border-right:1px solid var(--line);padding-right:clamp(15px,2.1vw,34px);min-width:0}
#settings>summary,.section-title{border-bottom:1px solid #acb7c3;min-height:43px;padding-bottom:10px}
#settings>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:20px;font-weight:680}summary::-webkit-details-marker{display:none}
.section-title{justify-content:space-between;gap:8px}.section-title>div{gap:9px}.section-title h2{font-size:21px;line-height:1.3;letter-spacing:-.04em}
.section-title small,#settings>summary small{display:inline-block;margin-right:3px;font:12px var(--mono);color:#66798f;font-weight:500}
.chevron{width:8px;height:8px;border:solid #69798c;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-3px 3px 0 0}details[open]>summary .chevron{transform:rotate(225deg);margin-top:4px}
.side-note,.method p,.footnote,.policy-note,#cost-form>small,.budget small,.paging small,#pending{font-size:12px;line-height:1.7;color:var(--muted)}
.side-note{padding:14px 0 3px}
#cost-form label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px;font-size:14px;font-weight:625}
#cost-form label em{font:11px var(--mono);color:#6d7e91}.number{display:inline-flex;align-items:center;justify-content:flex-end;position:relative}
.number input{font:15px var(--mono);text-align:right;width:74px;min-height:35px;background:white;border:1px solid #b9c3cc;border-radius:3px;padding:6px 8px;appearance:textfield}
.number input::-webkit-inner-spin-button{appearance:none}.percent input{padding-right:24px}.percent b{font:12px var(--mono);position:absolute;right:8px;color:var(--muted)}
#cost-form>small,.budget small{display:block;margin-top:3px}.budget{margin-top:17px;border-top:1px solid var(--line)}.recalc{width:100%;justify-content:space-between;margin-top:20px}
#pending:not(:empty){margin-top:7px;color:#8c4c25}.method{margin-top:26px;border-top:1px solid var(--line);padding-top:17px}.method h2,.subhead{font-size:14px;font-weight:650}.method p{margin-top:7px}
.policy-download{width:100%;margin-top:7px;min-height:33px;font-size:13px}.apply-guide{margin-top:10px;color:var(--muted);font-size:12px;line-height:1.65}.apply-guide summary{cursor:pointer;color:var(--blue)}.apply-guide p{margin:5px 0}.apply-guide>code{display:block;overflow-wrap:anywhere;background:#e8edf2;padding:7px;font-family:var(--mono)}
.analysis-panel{min-width:0;margin-bottom:24px}.switch{display:flex;border:1px solid #bac5d0;border-radius:4px;overflow:hidden;background:#fff}
.section-title .switch{gap:0}.switch button{background:transparent;color:#526077;font-size:12px;min-height:29px;padding:4px 10px}.switch button[aria-pressed=true]{background:var(--ink);color:white}.switch button:focus-visible{outline-offset:-3px}
.legend{flex-wrap:wrap;gap:18px;padding:13px 0 3px}.legend>span{font-size:12px;line-height:1.45;gap:6px;color:var(--muted)}.legend i{width:11px;height:8px;border-radius:1px}.c0{background:#526fa4}.c1{background:#d58854}.cr{border:1px solid #a6adb7;background:repeating-linear-gradient(135deg,#f1f2f2 0 3px,#b8c0c8 3px 4px)}
#chart{width:100%;min-height:140px}#chart svg{width:100%;height:auto;overflow:visible}#chart text{font:11px var(--mono);fill:#52627a}#chart .threshold-label{font-weight:650;fill:#283c56}#chart .axis-title{font-family:inherit;fill:#657183}
.policy-note{padding:5px 0 11px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:17px 0 18px}.metrics>div{padding:0 15px;border-left:1px solid var(--line);min-width:0}.metrics>div:first-child{border:0;padding-left:0}.metrics span{font-size:13px;font-weight:600;display:block}.metrics strong{display:block;font:600 clamp(24px,2.7vw,39px)/1.25 var(--mono);letter-spacing:-.085em;color:var(--blue);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metrics small{font-size:11px;color:var(--muted);line-height:1.4}
.subhead{margin:3px 0 8px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:right;font-variant-numeric:tabular-nums}td,th{padding:9px 10px;border-bottom:1px solid var(--line)}th{font-weight:600;color:#4b5a70;background:#ecf0f3;font-size:12px}.strategy tr:first-child td{background:#eef3fa}.strategy td:last-child{font-weight:650}td:first-child,th:first-child{text-align:left}.footnote{padding:8px 0 3px}#matrix{margin-top:8px}#matrix summary{color:var(--blue);font-size:13px;cursor:pointer}#matrix table{margin-top:8px}
.compact{min-height:30px;font-size:12px;padding:5px 10px}.list-tools{gap:8px;margin:14px 0 10px;flex-wrap:wrap;font-size:13px}.list-tools select{border:1px solid #bac3cc;background:#fff;border-radius:3px;padding:5px}.list-tools span{margin-left:auto;color:var(--muted);font-size:12px}.records td:first-child{font-family:var(--mono);overflow-wrap:anywhere;max-width:13em}.decision-review{color:#884a27;font-weight:600}.decision-positive{color:var(--blue)}.paging{justify-content:space-between;gap:8px;margin-top:10px}.paging>div{gap:5px}.paging button{border:1px solid #b9c3ce;border-radius:3px;background:white;width:34px;height:28px}.empty{color:var(--muted);padding:25px 0;text-align:center}
footer{display:flex;gap:15px;align-items:center;font-size:12px;padding:16px 0 27px;color:var(--muted);border-top:1px solid #a6b3c0;margin-top:12px}footer strong{color:var(--ink);font-size:15px;letter-spacing:-.04em}
dialog{width:min(470px,94vw);padding:23px;border:1px solid #8192a6;border-radius:7px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#172438a8}.guide-head{justify-content:space-between;gap:10px}.guide-head h2{font-size:22px}.guide-head button{font-size:24px;background:transparent;line-height:1}.guide-fields{padding:10px 0}.guide-fields b{display:inline-block;min-width:67px;font:600 13px var(--mono);color:var(--blue)}dialog p{padding-top:8px;font-size:14px;line-height:1.6}dialog pre{background:#e9eef2;overflow:auto;padding:10px;font:12px/1.65 var(--mono)}dialog .action{margin-top:5px}
@media(max-width:850px){.workbench{grid-template-columns:205px minmax(0,1fr);gap:18px}.intro p{font-size:14px}.section-title h2,#settings>summary{font-size:18px}.section-end{font-size:10px}.metrics>div{padding:0 8px}.metrics small{font-size:10px}}
@media(max-width:690px){body{padding:0 15px}.mast{height:53px;gap:11px}.brand{font-size:24px}.brand img{width:27px;height:27px}.mast-name{font-size:10px}.intro{align-items:flex-start;flex-direction:column;gap:12px;padding:22px 0 17px}.intro p{font-size:13px;margin-top:8px}.intro-actions{gap:7px}.action,.quiet{min-height:35px;padding:6px 12px}.dataset{align-items:flex-start;padding:9px 10px;gap:8px}.dataset>div{gap:3px 7px}.dataset #splits{width:100%;font-size:11px}.dataset .link{font-size:11px}.workbench{display:block;margin-top:15px}aside{border:0;padding:0;margin-bottom:18px}#settings{background:#f0f3f5;border:1px solid var(--line);border-radius:3px;padding:0 12px}#settings>summary{min-height:40px;border:0;padding:7px 0}.method{display:none}#cost-form{padding-bottom:10px}#cost-form label{margin-top:10px}.section-title{min-height:35px;padding-bottom:6px}.legend{gap:10px;padding-top:9px}.legend>span{font-size:11px}.analysis-panel{margin-bottom:18px}.metrics{padding:13px 0}.metrics span{font-size:12px}.metrics small{font-size:10px}.metrics strong{font-size:25px}.table-wrap table{font-size:12px}td,th{padding:7px 5px}th{font-size:11px}.compact{min-height:28px;font-size:11px}.policy-note,.footnote{font-size:11px}.side-note{padding-top:1px}.recalc{margin-top:13px}.section-title>div{gap:6px}.local{font-size:11px}}
@media(max-width:370px){.mast-name{font-size:9px}.mast{gap:8px}.dataset>div{font-size:12px}.section-title h2{font-size:17px}.metrics small{font-size:9px}.metrics strong{font-size:22px}.legend{gap:8px}.records td:first-child{max-width:7em}}
