*{box-sizing:border-box}
:root{color-scheme:dark}
body{margin:0;background:#0b1220;color:#e8eef8;font:15px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding-bottom:env(safe-area-inset-bottom)}
header{padding:26px 18px 18px;background:#101827;display:flex;justify-content:space-between;align-items:center;gap:10px}
h1{font-size:23px;margin:7px 0 0}h2{font-size:17px;margin:0 0 12px}
small,.muted,.footnote{color:#9aa9bd}.muted{line-height:1.5}
main{padding:14px;max-width:760px;margin:auto}
section{background:#131f31;border:1px solid #26364c;border-radius:15px;padding:16px;margin-bottom:13px}
.notice{border-color:#725b2d;background:#292516}.notice p{line-height:1.6;margin-bottom:0;color:#e6d7ad}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid section{margin:0}
.metric{font-size:20px;font-weight:700;margin:8px 0;overflow-wrap:anywhere}
.pill{font-size:11px;padding:5px 9px;border-radius:20px;background:#1c3c34;color:#8ee0ba;white-space:nowrap}
.warn{background:#49351c;color:#f4c878}
.sectionHead{display:flex;justify-content:space-between;gap:8px;align-items:center}.sectionHead h2{margin:0}
.empty{padding:14px;border:1px dashed #3b4b62;border-radius:10px;color:#a9b7c9;line-height:1.5}
.footer{display:flex;justify-content:space-between;align-items:center;gap:10px}
button{background:#3678d4;color:white;border:0;padding:12px 18px;border-radius:10px;font-weight:600}
button:disabled{opacity:.6}.footnote{font-size:12px;line-height:1.5;padding:0 4px 20px}
@media(max-width:380px){.grid{grid-template-columns:1fr}.footer{align-items:flex-start;flex-direction:column}}
