@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/urbanist-latin-wght.woff2") format("woff2"); }

/* CoachPlus control room, in the Sino Associates proposal look: navy field, Sino orange highlight, plum / teal / rose session colours,
   Urbanist (self-hosted; Chinese falls back to the device's own font), filled-circle icons with white marks. Rule: high contrast only. Text is near-black on light, pure white on dark. */
:root {
  --splash: url("/img/splash.jpg");
  --bg: #EEF2F8; --panel: #FFFFFF; --ink: #1E1C3A; --head: #1E3662; --line: #8E9AB5; --line-soft: #D5DCE8;
  --field: #1E3662; --night: #1E1C3A; --hl: #FC9D19; --hl-ink: #1E1C3A;
  --btn: #1E3662; --btn-ink: #FFFFFF; --link: #1D6E6C;
  --on: #FFFFFF;
  --c-open: #B8233F; --c-new: #A85E00; --c-blocked: #882372; --c-testing: #1E3662; --c-fixed: #1D6E6C;
  --c-decided: #2B4C8C; --c-later: #5B4A9E; --c-wont: #4A5670; --c-upcoming: #2B4C8C;
  --brand-orange: #FC9D19; --brand-plum: #882372; --brand-teal: #40BCB9; --brand-rose: #E64165;
  /* chart steps, validated against the panel surface */
  --s1: #D97E00; --s2: #882372; --s3: #00A39C; --s4: #D6304F; --s5: #2B4C8C; --s6: #6E7F1E; --s7: #5B4A9E; --s8: #8A5A2B;
  --good: #1D6E6C; --warn: #A85E00; --bad: #B8233F;
  --latin: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0D1F; --panel: #1E1C3A; --ink: #FFFFFF; --head: #FFFFFF; --line: #8C93BD; --line-soft: #3A3868;
    --btn: #FFFFFF; --btn-ink: #1E1C3A; --link: #40BCB9;
    --on: #1E1C3A;
    --c-open: #FF9AA2; --c-new: #FC9D19; --c-blocked: #E7B8DB; --c-testing: #A9C4F5; --c-fixed: #5FD3CF;
    --c-decided: #C3D2F5; --c-later: #CFC4F7; --c-wont: #D5DAE6; --c-upcoming: #C3D2F5;
    --s1: #D07A00; --s2: #CC66B6; --s3: #0F9488; --s4: #E8576F; --s5: #6D93E0; --s6: #8FA23A; --s7: #9C8BE6; --s8: #C08A55;
    --good: #5FD3CF; --warn: #FFC24D; --bad: #FF9AA2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0D1F; --panel: #1E1C3A; --ink: #FFFFFF; --head: #FFFFFF; --line: #8C93BD; --line-soft: #3A3868;
  --btn: #FFFFFF; --btn-ink: #1E1C3A; --link: #40BCB9;
  --on: #1E1C3A;
  --c-open: #FF9AA2; --c-new: #FC9D19; --c-blocked: #E7B8DB; --c-testing: #A9C4F5; --c-fixed: #5FD3CF;
  --c-decided: #C3D2F5; --c-later: #CFC4F7; --c-wont: #D5DAE6; --c-upcoming: #C3D2F5;
  --s1: #D07A00; --s2: #CC66B6; --s3: #0F9488; --s4: #E8576F; --s5: #6D93E0; --s6: #8FA23A; --s7: #9C8BE6; --s8: #C08A55;
  --good: #5FD3CF; --warn: #FFC24D; --bad: #FF9AA2;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--latin), var(--cjk); font-size: 17px; font-weight: 500; line-height: 1.5; padding-inline: 16px; padding-block: 16px 64px; -webkit-font-smoothing: antialiased; }
.page { max-width: 1180px; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; }
h1, h2, h3 { margin: 0; font-weight: 800; color: var(--head); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.02; color: #FFFFFF; }
h2 { font-size: 24px; line-height: 1.15; }
h3 { font-size: 18px; }
p { margin: 0; }
a { color: var(--link); font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 14px; }

/* header band: plain navy behind the text, colour only at the far edge */
.hero { position: relative; overflow: hidden; background: var(--field); color: #FFFFFF; border-radius: 16px; padding: 24px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(48%, 460px); pointer-events: none;
  background: var(--splash) right top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%); mask-image: linear-gradient(to right, transparent 0%, #000 38%); }
.hero > * { position: relative; z-index: 1; min-width: 0; }
@media (max-width: 760px) { .hero::after { width: 44%; bottom: auto; height: 130px; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to right, transparent 0%, #000 45%); } .hero .eyebrow, .hero h1 { max-width: 60%; } }
.hero .eyebrow { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #FFFFFF; }
.hero .eyebrow b { color: var(--brand-orange); font-weight: 800; }
.hero .stage { margin-top: 8px; font-size: 18px; font-weight: 600; color: #FFFFFF; }
.hero .stage b { background: var(--brand-orange); color: #1E1C3A; padding: 1px 8px; border-radius: 6px; font-weight: 800; }
.hero-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.theme-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid #FFFFFF; background: #1E3662; color: #FFFFFF; cursor: pointer; }
.theme-btn:hover { background: #FFFFFF; color: #1E3662; }
.theme-btn svg { width: 22px; height: 22px; transition: transform .45s cubic-bezier(.3,.7,.3,1); }
:root[data-theme="dark"] .theme-btn svg { transform: rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn svg { transform: rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .theme-btn svg { transition: none; } }
.saved { color: var(--good); font-weight: 800; }
.formmsg.ok { color: var(--good); }
.viewonly { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; color: #1E3662; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.tabs a { padding: 10px 18px; text-decoration: none; color: var(--ink); font-weight: 700; border: 2px solid var(--line); background: var(--panel); border-radius: 999px; white-space: nowrap; }
.tabs a:hover { border-color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); box-shadow: inset 0 -4px 0 var(--brand-orange); }
:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }

.banner { border: 2px solid var(--warn); background: var(--panel); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
section[data-tab] { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sec-head { display: flex; flex-direction: column; gap: 6px; }
.sub { max-width: 74ch; }
.panel { background: var(--panel); border: 2px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sh { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sh h2 { flex: 1 1 auto; }
.sh .aside { font-size: 15px; font-weight: 700; }

/* filled-circle icon, white mark (Sino proposal style) */
.ico { width: 36px; height: 36px; border-radius: 50%; background: var(--ic, var(--brand-orange)); display: inline-grid; place-items: center; flex: none; }
.ico svg { width: 20px; height: 20px; stroke: #FFFFFF; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ico.letter { color: #FFFFFF; font-weight: 800; font-size: 18px; }
.ic-orange { --ic: #E07F00; } .ic-plum { --ic: #882372; } .ic-teal { --ic: #1D8E8A; } .ic-rose { --ic: #D6304F; } .ic-navy { --ic: #1E3662; }
:root[data-theme="dark"] .ic-navy { --ic: #3D5E9C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ic-navy { --ic: #3D5E9C; } }

/* countdown */
.count { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cd { background: var(--panel); border: 2px solid var(--line); border-top: 6px solid var(--ct, var(--brand-plum)); border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; min-width: 0; }
.cd.first { background: var(--brand-orange); border-color: var(--brand-orange); color: #1E1C3A; }
.cd.first .cd-title, .cd.first .cd-date { color: #1E1C3A; }
.cd .days.word { font-size: 28px; }
.cd .days { font-size: 46px; font-weight: 800; line-height: .9; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center; }
.cd .unit { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.cd-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cd-title { font-weight: 800; font-size: 18px; line-height: 1.2; color: var(--head); }
.cd-date { font-size: 15px; font-weight: 600; }
.cd.late { border-top-color: var(--bad); }

/* provider spend cards */
.spend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.pc { background: var(--panel); border: 2px solid var(--line); border-top: 8px solid var(--pc); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-name { font-weight: 800; font-size: 20px; color: var(--head); line-height: 1.1; }
.pc-what { font-size: 14px; font-weight: 600; }
.pc-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pc-big .amt { font-size: 46px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--head); }
.pc-big .amt.na { font-size: 22px; font-weight: 700; }
.pc-big .of { font-size: 16px; font-weight: 700; }
.track { height: 14px; background: var(--line-soft); border-radius: 7px; overflow: hidden; border: 1px solid var(--line); }
.fill { height: 100%; background: var(--good); }
.fill.warn { background: var(--warn); }
.fill.bad { background: var(--bad); }
.pace { font-weight: 700; }
.pace.warn { color: var(--warn); } .pace.bad { color: var(--bad); }
.pc-meta { font-size: 14px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.stale { color: var(--bad); font-weight: 800; }
.spark { display: block; width: 100%; height: 56px; overflow: visible; }
.quick { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; border-top: 2px dashed var(--line-soft); padding-top: 12px; }
@media (max-width: 420px) { .quick { grid-template-columns: 1fr 1fr; } .quick .btn { grid-column: 1 / -1; } }
.spend-sum { font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.oc { background: var(--panel); border: 2px solid var(--line); border-left: 8px solid var(--pc); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.oc .nm { font-weight: 800; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.oc .v { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.oc .v.na { font-size: 15px; font-weight: 700; }

/* two-column now layout */
.cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.progress { display: flex; flex-direction: column; gap: 6px; }
.progress .lbl { font-weight: 800; font-size: 16px; }
.bar2 { display: flex; height: 16px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--line-soft); gap: 2px; }
.bar2 > div { background: var(--c); }

.prow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--line-soft); }
.prow:last-child { border-bottom: 0; }
.prow .t { font-weight: 700; min-width: 0; }
.prow .t a { color: var(--ink); text-decoration: none; font-weight: 700; }
.prow .t a:hover { text-decoration: underline; }
.prow .tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 560px) { .prow { grid-template-columns: auto minmax(0, 1fr); } .prow .tags { grid-column: 1 / -1; justify-content: flex-start; } }
.tag { font-size: 13px; font-weight: 800; padding: 2px 9px; border-radius: 6px; border: 2px solid var(--ink); color: var(--ink); white-space: nowrap; }
.tag.who { background: var(--ink); color: var(--panel); }
.tag.v11 { border-color: var(--brand-orange); background: var(--brand-orange); color: #1E1C3A; }

.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; padding: 3px 11px 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--c, var(--c-wont)); color: var(--on); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.st-open, .st-late { --c: var(--c-open); } .st-new { --c: var(--c-new); } .st-blocked { --c: var(--c-blocked); } .st-testing, .st-next { --c: var(--c-testing); }
.st-fixed, .st-resolved, .st-done { --c: var(--c-fixed); } .st-decided { --c: var(--c-decided); } .st-later { --c: var(--c-later); } .st-wont { --c: var(--c-wont); } .st-upcoming { --c: var(--c-upcoming); }
.st-open .dot, .st-new .dot, .st-late .dot { background: transparent; border: 2.5px solid currentColor; }
.st-blocked .dot { border-radius: 1px; }
.st-testing .dot, .st-next .dot { border-radius: 1px; transform: rotate(45deg) scale(.9); }

.mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini > div { border: 2px solid var(--line-soft); border-radius: 10px; padding: 10px 12px; }
.mini .k { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.mini .v { font-size: 30px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--head); }

.funnel { display: flex; flex-direction: column; gap: 10px; }
.fstep { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
@media (max-width: 520px) { .fstep { grid-template-columns: 1fr; gap: 4px; } }
.fstep .fl { font-weight: 800; }
.fbar { position: relative; height: 34px; background: var(--line-soft); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.fbar > div { height: 100%; background: var(--s3); }
.fbar span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--ink); background: var(--panel); padding: 1px 8px; border-radius: 6px; }
.rate { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; font-weight: 800; font-size: 14px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--panel); }
.bigstat { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; font-weight: 700; }
.bigstat b { font-size: 34px; font-weight: 800; color: var(--head); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tile { background: var(--panel); border: 2px solid var(--line); border-top: 6px solid var(--stripe, var(--brand-orange)); border-radius: 14px; padding: 14px 16px 16px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile .lab { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
.tile .big { font-size: 40px; font-weight: 800; line-height: 1.1; color: var(--head); font-variant-numeric: tabular-nums; }
.tile .big.na { font-size: 20px; font-weight: 700; padding-block: 8px; }
.tile .note { font-size: 14px; font-weight: 600; }
.tile .delta { font-size: 14px; font-weight: 800; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; font-weight: 700; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.chart { position: relative; min-height: 80px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text, .spark text { font-family: var(--latin); font-size: 13px; font-weight: 600; fill: var(--ink); }
.chart .tot { font-weight: 800; font-size: 14px; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--panel); padding: 7px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; z-index: 5; white-space: nowrap; }
.cap-note { font-size: 15px; font-weight: 600; }
details summary { cursor: pointer; color: var(--link); font-size: 15px; font-weight: 800; }
details[open] summary { margin-bottom: 10px; }

.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th { text-align: left; font-weight: 800; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 8px 12px 8px 0; border-bottom: 2px solid var(--line); white-space: nowrap; }
td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
td.wrap { min-width: 180px; }
tr:last-child td { border-bottom: 0; }
.empty { padding-block: 6px; font-weight: 600; }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; align-items: end; }
.form h3 { grid-column: 1 / -1; }
.form .full { grid-column: 1 / -1; }
.form .span2 { grid-column: span 2; }
@media (max-width: 520px) { .form .span2 { grid-column: 1 / -1; } .hero { padding: 18px; } }
label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 800; min-width: 0; }
input, select, textarea { font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); background: var(--panel); border: 2px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0; width: 100%; }
input::placeholder { color: var(--ink); opacity: .7; }
textarea { min-height: 80px; resize: vertical; }
.btn { font: inherit; font-size: 15px; font-weight: 800; border-radius: 8px; padding: 10px 18px; border: 2px solid var(--brand-orange); background: var(--brand-orange); color: #1E1C3A; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.sm { padding: 4px 10px; font-size: 13px; }
.btn.danger { border-color: var(--bad); color: var(--bad); }
.formmsg { color: var(--bad); font-size: 14px; font-weight: 800; min-height: 1.2em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }

.items { display: flex; flex-direction: column; gap: 12px; }
.item { background: var(--panel); border: 2px solid var(--line); border-left: 8px solid var(--c, var(--line)); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.item-title { font-weight: 800; font-size: 18px; flex: 1 1 260px; min-width: 0; color: var(--head); }
.idtag { font-size: 14px; font-weight: 800; }
.item-meta { font-size: 15px; font-weight: 600; }
.item-body { max-width: 80ch; white-space: pre-line; }
.item-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.quote { font-size: 17px; font-weight: 700; max-width: 80ch; flex: 1 1 260px; }
.triage { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.sel { width: auto; font-size: 14px; font-weight: 700; padding: 4px 8px; }
.row-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 9px; border-bottom: 1px solid var(--line-soft); }
.row-line:last-child { border-bottom: 0; }
.row-line .t { flex: 1 1 200px; min-width: 0; font-weight: 700; color: var(--ink); text-decoration: none; }
.row-line .t:hover { text-decoration: underline; }

.tl-row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line-soft); }
.tl-row:last-child { border-bottom: 0; }
.tl-date { font-weight: 800; font-variant-numeric: tabular-nums; }
.tl-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tl-title { font-weight: 800; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.provrow { display: grid; grid-template-columns: 1.4fr 1fr 1fr 110px auto; gap: 10px; align-items: end; padding-block: 10px; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 760px) { .provrow { grid-template-columns: 1fr 1fr; } }
#toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--panel); padding: 10px 16px; border-radius: 10px; font-size: 15px; font-weight: 800; max-width: calc(100vw - 32px); z-index: 20; }
#toast.err { background: var(--bad); color: var(--on); }

/* hosted version: sign-in, sign-out, boot */
.signout-btn { font: inherit; font-size: 15px; font-weight: 800; height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid #FFFFFF; background: #1E3662; color: #FFFFFF; cursor: pointer; }
.signout-btn:hover { background: #FFFFFF; color: #1E3662; }
.who-am-i { font-size: 14px; font-weight: 700; color: #FFFFFF; }
.signin { max-width: 520px; width: 100%; align-self: center; }
.signin .form { grid-template-columns: 1fr; }
.boot { font-weight: 700; }
.cd .days { flex: none; } /* the reference let "Today" shrink under the title */
/* white on orange was 2.9:1; Sino orange with a near-black mark is about 8:1, as on the orange buttons and Today card */
.ic-orange { --ic: #FC9D19; }
.ic-orange svg { stroke: #1E1C3A; }
.ico.letter.ic-orange { color: #1E1C3A; }
/* phones: keep the stage line clear of the splash, like the eyebrow and title above it */
@media (max-width: 760px) { .hero .stage { max-width: 60%; } }

/* Product tab */
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; font-weight: 700; color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts dt { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 0; font-size: 20px; font-weight: 800; color: var(--head); }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.part { border: 2px solid var(--line); border-top: 6px solid var(--pc); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.part .lab { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.steps .num { width: 34px; height: 34px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); display: inline-grid; place-items: center; font-weight: 800; flex: none; }
.steps h3 { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.steps .zh { font-family: var(--cjk); font-size: 16px; font-weight: 700; }
.steps p { font-size: 15px; margin-top: 2px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.opt { border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.opt.on { border-color: var(--ink); }
.store table { min-width: 560px; }
.store .tag { white-space: normal; display: inline-block; margin: 2px 4px 2px 0; }
.tag.note { border-style: dashed; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.principle { border: 2px solid var(--line); border-left: 8px solid var(--head); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.principle.never { border-left-color: var(--bad); }
.principle strong { font-size: 17px; font-weight: 800; color: var(--head); }
.principle span { font-size: 15px; }
.lrow { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 14px; align-items: start; padding-block: 10px; border-bottom: 1px solid var(--line-soft); }
.lrow:last-child { border-bottom: 0; }
.lrow > .pill { justify-self: start; }
.lrow.sub { margin-left: 28px; }
.lrow .t { font-weight: 700; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.live-issue { font-size: 14px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
@media (max-width: 560px) { .lrow { grid-template-columns: 1fr; } .lrow.sub { margin-left: 16px; } }
.coming { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.phase { border: 2px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.phase .when { font-size: 14px; font-weight: 800; }
.phase ul, .askbox ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.askbox { border-top: 6px solid var(--brand-orange); max-width: 640px; }

/* milestones with no date yet */
.ms-group { margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--line); }
.setdate { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; }
.setdate input { width: auto; padding: 4px 8px; font-size: 14px; }
