:root {
  color-scheme: light;
  --ink: #172e32;
  --muted: #536b70;
  --rule: #d5e1e1;
  --green: #10584f;
  --paper: #f3f7f6;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.5; }
a { color: var(--green); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #347bc8; outline-offset: 2px; }
.frame { width: min(1240px, 94%); margin-inline: auto; }
main { padding: 42px 0 56px; }
.topbar { background: #143f3d; color: white; }
.bar-inner, .identity, .heading, .picker, .section-heading, .pager { display: flex; align-items: center; gap: 16px; }
.bar-inner { min-height: 62px; }
.wordmark { color: white; font-weight: 750; font-size: 20px; text-decoration: none; }
.product { border-left: 1px solid #628984; color: #d7e8e4; padding-left: 15px; }
.identity { margin-left: auto; color: #ecf4f2; }
.quiet { background: transparent; border: 1px solid #648c87; color: white; padding: 5px 13px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(27px, 3.5vw, 36px); line-height: 1.24; letter-spacing: -.035em; }
h2 { font-size: 18px; }
.muted, .timing, .note { color: var(--muted); font-size: 14px; }
.muted { margin-top: 8px; overflow-wrap: anywhere; }
.heading { justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.picker { gap: 8px; align-items: flex-end; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
button, input { font: inherit; border-radius: 6px; }
button { cursor: pointer; }
input { min-height: 40px; border: 1px solid #a6bbb9; padding: 7px 10px; color: var(--ink); background: white; }
.primary { font-weight: 650; padding: 8px 20px; min-height: 40px; color: white; background: var(--green); border: 1px solid var(--green); }
.primary:hover { background: #0b433d; }
.timing { margin: 18px 0 20px; line-height: 1.65; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #378675; margin-right: 4px; }
.warning { color: #82511b; }
.warning .dot { background: #a36a28; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.metrics > div, .panel { background: white; border: 1px solid var(--rule); border-radius: 10px; }
.metrics > div { display: grid; gap: 10px; padding: 18px 20px; overflow-wrap: anywhere; }
.metrics span, .section-heading span { color: var(--muted); font-size: 14px; }
.metrics strong { font-size: clamp(20px, 2.3vw, 30px); letter-spacing: -.045em; }
.metrics .featured { background: #e3f0eb; border-color: #b4d3c9; color: #134e42; }
.panel { margin-top: 20px; overflow: hidden; }
.section-heading { justify-content: space-between; padding: 18px 22px; flex-wrap: wrap; }
.download { padding: 7px 14px; border: 1px solid var(--green); border-radius: 6px; font-weight: 650; text-decoration: none; }
.download:hover { background: #e3f0eb; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 14px; }
th, td { padding: 13px 15px; border-top: 1px solid var(--rule); text-align: left; }
th { background: #f5f8f7; color: var(--muted); font-size: 13px; font-weight: 600; }
.num { text-align: right; }
.balance, .row-link { font-weight: 650; color: var(--green); }
code { font-size: .92em; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.empty { text-align: center; border-top: 1px solid var(--rule); padding: 36px 14px; color: var(--muted); }
.login { max-width: 410px; margin: clamp(25px, 9vh, 120px) auto; padding: 32px; }
.stack { display: grid; gap: 18px; margin-top: 26px; }
.alert { color: #9a392d; font-size: 14px; }
.back { display: inline-block; margin-bottom: 18px; }
.selected { background: #f0f7f4; }
.status { border-radius: 4px; padding: 3px 8px; background: #ebf0f0; color: #485c61; font-size: 13px; }
.pending, .converted { background: #dbf0e5; color: #175440; }
.issued { background: #e6eff7; color: #2a5676; }
.pager { padding: 12px 20px; justify-content: flex-end; border-top: 1px solid var(--rule); }
.note { margin-top: 16px; }
@media(max-width: 680px) {
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metrics > div { padding: 12px; }
  .bar-inner, .identity { gap: 8px; }
  .product { padding-left: 8px; }
  .heading { align-items: flex-start; }
  main { padding-top: 25px; }
  .section-heading { padding: 14px; }
  th, td { padding: 10px; }
}
