:root { --bg:#F6F5FA;
    --panel:#FFFFFF;
    --text:#1A1726;
    --secondary:#5A5670;
    --muted:#6B657B;
    --border:#E3E0EE;
    --outline:#A7A2B7;
    --accent:#6447F5;
    --on:#FFFFFF;
    --tint:#F0EDFF;
    --warnbg:#FFF3D6;
    --warnfg:#7A4E00;
    --inset:#FAF9FC;
    --shadow:#26204308;
    --scrim:#25213936; }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg:#13111C;
    --panel:#1C1A28;
    --text:#EEECF6;
    --secondary:#ABA7BF;
    --muted:#AAA5BC;
    --border:#2D2A3D;
    --outline:#625E74;
    --accent:#8F7BFF;
    --on:#13111C;
    --tint:#302847;
    --warnbg:#3A2E12;
    --warnfg:#FFC24D;
    --inset:#211F2E;
    --shadow:#09071230;
    --scrim:#09071091; }
}
* { box-sizing:border-box}
body { margin:0; position:relative; display:flex; flex-direction:column; isolation:isolate; background:var(--bg); color:var(--text); font:16px/1.52 "Segoe UI","Microsoft YaHei UI","Microsoft YaHei",sans-serif; letter-spacing:0; text-align:left; color-scheme:light}

header { height:72px; flex:none; background:var(--panel); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; padding:0 48px}
.brand, .headtools, .iconlabel, .between, .trail, .inline, .navitem, .route { display:flex; align-items:center; gap:8px}
.brand { gap:8px}
.brand svg:first-child { width:34px; height:34px}
.brand svg:nth-child(2) { width:69px; height:24px}
.brand .brandtitle { margin-left:8px; padding-left:16px; border-left:1px solid var(--border); font-size:14px; font-weight:600; color:var(--secondary)}
.headtools { gap:16px; color:var(--secondary); font-size:14px}
.weather { border-left:1px solid var(--border); padding-left:16px; display:flex}
main { min-height:0; flex:1; display:flex; justify-content:center; align-items:center; padding:24px}
.wrap { width:468px; max-width:100%}
.sheet { border:1px solid var(--border); border-radius:18px; background:var(--panel); padding:32px 32px 32px; box-shadow:0 4px 16px var(--shadow)}
.emblem { display:inline-grid; place-items:center; width:42px; height:42px; border-radius:13px; background:var(--tint); color:var(--accent); margin-bottom:16px}
h1 { font-size:30px; line-height:1.23; letter-spacing:-.6px; margin:0; font-weight:680}
.lead { margin:8px 0 24px; color:var(--secondary); line-height:1.58; font-size:14px}
.field { margin:16px 0 0}
.caption, .legend { display:flex; align-items:center; justify-content:space-between; font-size:14px; font-weight:620; margin:0 0 8px}
.input { height:43px; background:var(--panel); border:1px solid var(--outline); border-radius:8px; display:flex; align-items:center; justify-content:space-between; padding:0 16px; font-size:14px; color:var(--text)}
.placeholder { color:var(--muted)}
.help, .sub { font-size:14px; line-height:1.48; color:var(--secondary)}
.help { margin-top:4px}
.link { color:var(--accent); font-weight:600}
.primary { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:44px; background:var(--accent); color:var(--on); border:0; border-radius:8px; margin:24px 0 0; padding:8px 16px; font-family:inherit; font-weight:650; font-size:16px}
.primary.muted { background:var(--tint); color:var(--secondary); border:1px solid var(--border)}
.after { text-align:center; font-size:14px; color:var(--secondary); margin-top:16px}
.after b { color:var(--accent); font-weight:600}
.divider { border:0; border-top:1px solid var(--border); margin:16px 0}
.subfoot { flex:none; margin:0 auto 24px; font-size:12px; letter-spacing:.15px; color:var(--muted); display:flex; align-items:center; gap:8px}
.between { justify-content:space-between}
.notice { display:flex; align-items:flex-start; gap:8px; border-radius:8px; padding:8px 16px; color:var(--warnfg); background:var(--warnbg); font-size:14px; line-height:1.5; margin:16px 0 4px}
.notice svg { flex:none; margin-top:4px}
.soft { background:var(--tint); color:var(--text)}
.specimen { border:1px solid var(--border); border-radius:10px; padding:16px 16px; background:var(--inset); margin:16px 0}
.machine { font-size:24px; font-weight:650; overflow-wrap:anywhere; line-height:1.3}
.code { font:650 36px/1.4 Consolas,"Microsoft YaHei UI",monospace; letter-spacing:2px; margin:4px 0}
.nethint { font-size:14px; color:var(--secondary)}
.checkrow { display:flex; align-items:flex-start; gap:8px; font-size:14px; margin:16px 0 0}
.tick { flex:none; display:grid; place-items:center; height:17px; width:17px; margin-top:4px; border:1px solid var(--outline); border-radius:4px; background:var(--panel)}
.ticked { background:var(--accent); color:var(--on)}
.checkrow strong { font-weight:620}
.digits { display:flex; gap:8px}
.digits span { flex:1; min-width:0; display:grid; place-items:center; border:1px solid var(--outline); border-radius:7px; height:44px; font:600 24px Consolas,"Microsoft YaHei UI",monospace}
.row { min-height:54px; padding:8px 0; border-bottom:1px solid var(--border)}
.row:last-of-type { border:0}
.row strong { font-size:16px; font-weight:610}
.chip { white-space:nowrap; background:var(--tint); color:var(--accent); border-radius:6px; padding:4px 8px; font-size:12px; font-weight:600}
.navshell { display:grid; grid-template-columns:175px 445px; gap:32px; align-self:center; align-items:start}
.navlist { padding:16px 0}
.navlist .legend { font-size:20px; margin:0 0 16px 16px}
.navitem { padding:8px 16px; color:var(--secondary); font-size:14px; margin:4px 0; gap:8px}
.navitem.active { border-radius:8px; color:var(--accent); background:var(--tint); font-weight:650}
.trail { gap:4px; font-size:14px; color:var(--secondary); margin-bottom:16px}
.trail b { color:var(--text); font-weight:600}
.kbd { font-family:Consolas,"Microsoft YaHei UI",monospace; font-size:14px; overflow-wrap:anywhere}
.gateway { padding:16px 16px; border:1px solid var(--border); border-radius:8px; background:var(--inset)}
.over { position:absolute; inset:72px 0 0; background:var(--scrim); display:grid; place-items:center; z-index:1}
.over .wrap { width:429px}
.recap { background:var(--inset); padding:8px 16px; border-radius:8px; font-size:14px}
.mini { font-size:12px; color:var(--secondary)}
.tight .sheet { padding:24px 32px}
.tight .field { margin-top:8px}
.tight .emblem { margin-bottom:8px}
.tight .lead { margin-bottom:16px}
.choice { display:flex; gap:8px; align-items:flex-start}
.radio { width:16px; height:16px; margin-top:4px; border-radius:50%; border:1px solid var(--outline)}
.radio.selected { border:5px solid var(--accent)}
