:root{
  --bg:#0b1220;
  --panel:#101a2e;
  --card:#ffffff;
  --text:#0b0f1a;
  --muted:#5c677d;
  --accent:#0B3D91;
  --border:#e6e9f2;
  --shadow: 0 8px 24px rgba(11,15,26,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#f6f8fc;color:var(--text);}
a{color:inherit}

.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 18px;background:#ffffff;border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:10;
}
.brand{display:flex;gap:12px;align-items:center;}
.logo{height:44px;width:auto}
.brand-text .title{font-weight:800;font-size:16px;letter-spacing:.2px}
.brand-text .subtitle{font-size:12.5px;color:var(--muted);margin-top:2px}
.top-actions{display:flex;gap:10px;align-items:center}

.layout{display:grid;grid-template-columns:340px 1fr;gap:16px;padding:16px;max-width:1280px;margin:0 auto;}
.sidebar{display:flex;flex-direction:column;gap:12px;min-width:0}
.sidebar-header{background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px;box-shadow:var(--shadow)}
.label{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.select{width:100%;padding:10px 10px;border-radius:10px;border:1px solid var(--border);font-size:14px}
.sidebar-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px;box-shadow:var(--shadow)}
.kv{display:grid;grid-template-columns:90px 1fr;row-gap:6px;column-gap:8px;font-size:13px}
.k{color:var(--muted);font-weight:700}
.v{color:var(--text)}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}
.mini-note{margin-top:10px;font-size:12px;color:var(--muted);line-height:1.35}
.btn-row{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 12px;border-radius:12px;border:1px solid var(--border);
  font-weight:800;font-size:13px;text-decoration:none;cursor:pointer;
  transition:transform .05s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 18px rgba(11,15,26,.10)}
.btn:active{transform:translateY(0px)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.secondary{background:#fff;color:var(--accent);border-color:#cdd8ef}
.btn.wide{width:100%}
.btn[disabled]{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}

.content{display:flex;flex-direction:column;gap:12px;min-width:0}
.content-card{
  background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;
  box-shadow:var(--shadow)
}
.content-card .h{font-weight:900;font-size:14px;margin-bottom:6px}
.content-card .p{font-size:13.5px;color:var(--text);line-height:1.45}
.content-card .small{font-size:12px;color:var(--muted);line-height:1.4}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.list{margin:0;padding-left:18px;font-size:13px;line-height:1.4}
.footnote{background:#fbfcff}

.timeline{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.t-step{
  display:flex;gap:12px;align-items:flex-start;
  border:1px solid var(--border);border-radius:12px;padding:10px;background:#fff;
}
.t-dot{
  width:10px;height:10px;border-radius:50%;background:#d0d6e6;margin-top:5px;flex:0 0 auto
}
.t-body{min-width:0}
.t-title{font-weight:900;font-size:13px}
.t-desc{font-size:12.5px;color:var(--muted);margin-top:2px;line-height:1.35}
.t-step.active{border-color:var(--accent);box-shadow:0 12px 22px rgba(11,61,145,.12)}
.t-step.active .t-dot{background:var(--accent)}
@media (max-width: 980px){
  .layout{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
}
