:root{color-scheme:light;font-family:system-ui,"Microsoft YaHei",sans-serif;color:#202f31;background:#f7f9f8;font-size:14px;line-height:1.5;--green:#17765d;--red:#ba4b55;--line:#d9e3df;--muted:#5e716c}
*{box-sizing:border-box;letter-spacing:0}
body{margin:0}
button,input,select{font:inherit;color:inherit}
a{color:#17634f;text-decoration:none}
a:hover{text-decoration:underline}
button,select{cursor:pointer}
button:disabled,select:disabled{cursor:wait;opacity:.5}
header{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid var(--line);padding:16px 28px}
.brand{font-size:23px;font-weight:750;color:#172f27;white-space:nowrap}
.brand span{font-size:13px;font-weight:500;margin-left:12px;color:var(--muted)}
nav{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:13px}
nav [aria-current]{font-weight:700;color:#152d25}
main{max-width:1500px;margin:auto;padding:26px 28px 44px}
.heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
h1{font-size:27px;margin:0 0 4px}
h2{font-size:19px;margin:0}
h3{font-size:15px;margin:22px 0 8px}
.heading p{color:var(--muted);margin:0}
.badge{font-size:12px;border:1px solid var(--line);padding:5px 9px;border-radius:4px;white-space:nowrap;background:#fff}
.boundary{background:#eaf1ee;border-left:3px solid var(--green);padding:10px 14px;font-size:13px;margin:19px 0}
.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0;border-block:1px solid var(--line);padding:14px 0}
.summary div{padding:0 18px;border-right:1px solid var(--line)}
.summary div:first-child{padding-left:0}
.summary div:last-child{border:0}
dt{color:var(--muted);font-size:12px}
.summary dd{font-size:23px;font-weight:650;margin:3px 0 0}
.controls{display:grid;grid-template-columns:minmax(230px,1.6fr) minmax(160px,1fr) minmax(160px,1fr) minmax(190px,1fr) auto;gap:12px;align-items:end;padding:0 0 20px}
label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted);min-width:0}
select,input{background:#fff;border:1px solid #b9cbc3;border-radius:4px;min-height:37px;min-width:0;width:100%;padding:6px 9px;color:#20382d}
select:focus-visible,input:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #08806a;outline-offset:2px}
.exports{display:flex;gap:5px}
.exports button{background:#fff;border:1px solid #bfd0c7;width:37px;height:37px;border-radius:4px;display:grid;place-items:center}
.exports img{width:18px;height:18px}
.tabs{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);margin-bottom:17px}
.tabs [role=tablist]{display:flex;gap:20px;flex-wrap:wrap}
.tabs [role=tab]{border:0;background:transparent;padding:12px 0;font-weight:600;border-bottom:3px solid transparent;font-size:14px}
.tabs [aria-selected=true]{border-color:var(--green);color:var(--green)}
#status{font-size:12px;color:var(--muted)}
.filters{display:flex;gap:14px;align-items:end;margin-bottom:18px}
.filters label{width:190px}
.filters span{font-size:12px;color:var(--muted);margin-bottom:9px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 10px}
.section-head label{width:190px}
.muted{font-size:12px;color:var(--muted)}
.plot{background:#fff;border-block:1px solid var(--line);padding:8px 0;margin-bottom:22px}
#response-chart{display:block;width:100%;height:490px}
.table-scroll{max-width:100%;overflow:auto}
table{border-collapse:collapse;width:100%;font-size:13px;background:#fff}
th,td{padding:10px 12px;border-bottom:1px solid #e4ebe7;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
th{background:#eef3f0;font-weight:600;color:#405950;position:sticky;top:0}
th:first-child,td:first-child{text-align:left}
th button{background:transparent;border:0;padding:0;font-weight:600;color:inherit}
tbody tr:hover{background:#f1f7f3}
td[data-value]{font-family:ui-monospace,Consolas,monospace}
.positive{color:#13705b}
.negative{color:#ad404e}
.matrix-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:22px;align-items:start}
.matrix-scroll{max-width:100%;overflow:auto;background:#fff;border:1px solid var(--line)}
#matrix-chart{display:block;width:900px;height:920px;max-width:none;touch-action:pan-x pan-y}
.matrix-layout aside{border-left:1px solid var(--line);padding-left:20px}
.matrix-layout aside h3{margin:0 0 14px}
.matrix-layout aside label{margin-bottom:12px}
.pair{margin:20px 0}
.pair dd{font-size:21px;font-family:ui-monospace,Consolas,monospace;margin:3px 0 15px}
.command{border:1px solid #b4cbbf;background:#edf5f0;border-radius:4px;padding:8px 12px;font-size:13px;color:#19533c;max-width:100%;white-space:normal}
.group-summary{display:flex;flex-wrap:wrap;gap:8px 25px;padding:8px 0 17px;font-size:13px}
.group-summary strong{margin-left:7px}
.coverage{min-width:950px}
.coverage td{text-align:left;white-space:normal;min-width:110px;vertical-align:top}
.coverage td:nth-child(n+3){min-width:230px;max-width:320px}
.coverage th{text-align:left}
.equations{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.equations article{border-top:1px solid var(--line);padding:4px 0 12px}
.equations article h3{margin:12px 0 8px}
.equations p{font-size:13px;color:#50655b}
.equations code{display:block;font-size:12px;overflow-wrap:anywhere;margin:6px 0;color:#164c3a}
.version-table td{white-space:normal;text-align:left}
.checks{display:grid;grid-template-columns:120px 1fr;gap:10px 15px;font-size:13px}
.checks dt{font-size:13px}
.checks dd{margin:0}
#boundaries,#sources{font-size:13px;padding-left:20px}
#boundaries li,#sources li{margin-bottom:7px}
#fingerprints{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#eef2f0;padding:12px}
footer{border-top:1px solid var(--line);padding:18px 28px;font-size:12px;color:var(--muted);text-align:center}
[hidden]{display:none!important}
body[data-view=coverage] .controls,body[data-view=evidence] .controls{display:flex;justify-content:flex-end;padding-bottom:8px}
body[data-view=coverage] .controls>label,body[data-view=evidence] .controls>label{display:none}
body[data-view=evidence] .filters,body[data-view=matrix] .filters{display:none}
body[data-view=coverage] #png,body[data-view=evidence] #png{display:none}
@media(min-width:1350px){#matrix-chart{width:100%;height:auto;aspect-ratio:900/920}
}
@media(max-width:1100px){.controls{grid-template-columns:1fr 1fr}
.scenario{grid-column:1/-1}
.exports{align-self:end}
.matrix-layout{grid-template-columns:minmax(0,1fr) 200px}
header{align-items:flex-start;flex-direction:column;gap:10px}
.heading{align-items:flex-start}
.badge{white-space:normal;max-width:180px}
.brand span{display:inline}
.summary dd{font-size:21px}
}
@media(max-width:650px){header{padding:13px 15px}
nav{gap:8px 15px}
main{padding:20px 15px 32px}
.brand{font-size:22px}
.brand span{font-size:12px;margin-left:8px}
h1{font-size:23px;line-height:1.35}
.heading{display:block}
.heading p{font-size:12px}
.badge{display:inline-block;margin-top:9px;max-width:none}
.boundary{font-size:12px}
.summary{grid-template-columns:1fr 1fr;gap:15px 0}
.summary div{padding-left:14px}
.summary div:nth-child(3){padding-left:0}
.summary div:nth-child(2){border:0}
.summary dd{font-size:22px}
.controls{gap:10px}
.metric{grid-column:1/-1}
.exports{grid-column:1/-1}
.tabs{align-items:flex-start;flex-direction:column;gap:4px;padding-bottom:10px}
.tabs [role=tablist]{gap:18px}
.tabs [role=tab]{font-size:13px;padding:9px 0}
.filters{flex-wrap:wrap;gap:9px}
.filters label{width:calc(50% - 5px)}
.filters span{width:100%;margin:0}
.section-head{align-items:flex-start}
.section-head label{width:150px}
h2{font-size:17px}
.section-head>.muted{max-width:150px;font-size:11px}
#response-chart{height:500px}
th,td{padding:10px 8px;font-size:12px}
.matrix-layout{display:flex;flex-direction:column}
.matrix-layout aside{width:100%;border-left:0;border-top:1px solid var(--line);padding:15px 0}
.matrix-layout aside label{max-width:100%}
.matrix-scroll{width:100%}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:15px 0}
.pair dd{margin:0 0 10px;font-size:19px}
.equations{grid-template-columns:1fr}
.checks{grid-template-columns:90px 1fr}
.version-table th{white-space:normal;min-width:65px}
footer{padding:15px}
input,select{font-size:14px}
#sources a{overflow-wrap:anywhere}
}

