/* Simply Bitcoin console and tracker: components.
   Every value comes from tokens.css. Every class starts with sb- so this
   drops into existing pages without collisions. Screens are built only
   from these classes; a new screen should need no new CSS. */

/* ---------- Base ---------- */
.sb-page {
  margin: 0;
  background: var(--sb-ground);
  color: var(--sb-ink);
  font: var(--sb-weight-regular) 16px/1.5 var(--sb-font-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
.sb-page *, .sb-page *::before, .sb-page *::after { box-sizing: border-box; }
/* :where keeps these at zero specificity so components always win */
:where(.sb-page) :where(h1, h2, h3, p) { margin: 0; }
:where(.sb-page) :where(a) { color: var(--sb-ink); }
:where(.sb-page) :where(a:not([class]):hover) { color: var(--sb-orange-hover); }
.sb-page :focus-visible { outline: 2px solid var(--sb-focus); outline-offset: 2px; }
.sb-page img { max-width: 100%; }
.sb-wrap {
  max-width: calc(var(--sb-max) + 2 * var(--sb-gutter));
  margin: 0 auto;
  padding-left: max(var(--sb-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--sb-gutter), env(safe-area-inset-right, 0px));
}
.sb-main { padding-block: var(--sb-space-8) var(--sb-space-7); }
.sb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 1. Masthead with nav ---------- */
.sb-mast { border-top: 4px solid transparent; border-image: var(--sb-band) 1; background: var(--sb-ground); }
.sb-mast__in { display: flex; align-items: center; gap: var(--sb-space-6); min-height: 76px; }
.sb-brand { display: flex; align-items: center; gap: var(--sb-space-3); text-decoration: none; flex: none; }
.sb-logo { height: 40px; width: auto; display: block; }
.sb-brand__sub { font-size: var(--sb-text-xs); font-weight: var(--sb-weight-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--sb-muted); }
.sb-nav { display: flex; gap: var(--sb-space-1); flex: 1; justify-content: center; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.sb-nav a { font-size: 14px; font-weight: var(--sb-weight-medium); text-decoration: none; color: var(--sb-muted); padding: var(--sb-space-2) 14px; border-radius: var(--sb-radius-pill); white-space: nowrap; }
.sb-nav a[aria-current="page"] { background: var(--sb-surface); color: var(--sb-ink); box-shadow: var(--sb-ring); }
.sb-who { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: var(--sb-weight-medium); white-space: nowrap; flex: none; }
.sb-who--quiet { font-size: var(--sb-text-sm); font-weight: var(--sb-weight-regular); color: var(--sb-muted); }
.sb-av { width: 32px; height: 32px; border-radius: 50%; background: var(--sb-ink); color: var(--sb-ground); display: grid; place-items: center; font-size: var(--sb-text-sm); font-weight: var(--sb-weight-semibold); flex: none; overflow: hidden; }

/* ---------- 2. Page head ---------- */
.sb-head { display: grid; gap: var(--sb-space-3); }
.sb-head--center { text-align: center; justify-items: center; }
.sb-kicker { font-size: var(--sb-text-xs); font-weight: var(--sb-weight-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--sb-muted); }
.sb-title, .sb-sectitle, .sb-feature__title {
  font-family: var(--sb-font-title);
  font-stretch: var(--sb-title-stretch);
  font-weight: var(--sb-weight-black);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: .96;
  text-wrap: balance;
}
.sb-title { font-size: var(--sb-text-3xl); }
.sb-title--hero { font-size: var(--sb-text-4xl); }
.sb-lede { font-size: 18px; color: var(--sb-muted); max-width: 680px; }
.sb-summary { font-size: 18px; max-width: 760px; }
.sb-live { color: var(--sb-orange); }

/* ---------- 3. Section ---------- */
.sb-sec { margin-top: var(--sb-space-8); }
.sb-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sb-space-4); flex-wrap: wrap; padding-bottom: var(--sb-space-1); margin-bottom: var(--sb-space-4); }
.sb-sectitle { font-size: var(--sb-text-xl); }
.sb-meta { font-size: var(--sb-text-sm); color: var(--sb-muted); }

/* ---------- 4. Buttons ---------- */
.sb-btn {
  font: var(--sb-weight-semibold) var(--sb-text-base)/1 var(--sb-font-body);
  height: var(--sb-tap); padding: 0 20px;
  border-radius: var(--sb-radius-pill); border: 1px solid var(--sb-ink);
  background: var(--sb-ink); color: var(--sb-ground);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sb-space-2);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.sb-page a.sb-btn { color: var(--sb-ground); }
.sb-btn:hover, .sb-page a.sb-btn:hover { background: var(--sb-ink-hover); color: var(--sb-ground); }
.sb-btn--outline, .sb-page a.sb-btn--outline { background: transparent; color: var(--sb-ink); }
.sb-btn--outline:hover, .sb-page a.sb-btn--outline:hover { background: var(--sb-surface); color: var(--sb-ink); }
.sb-btn--primary, .sb-page a.sb-btn--primary { background: var(--sb-orange); border-color: var(--sb-orange); color: var(--sb-ink); }
.sb-btn--primary:hover, .sb-page a.sb-btn--primary:hover { background: var(--sb-orange-hover); color: var(--sb-ink); }
.sb-btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.sb-link { font: var(--sb-weight-semibold) 14px var(--sb-font-body); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--sb-ink); }

/* ---------- 5. Field ---------- */
.sb-label { display: block; font-size: var(--sb-text-xs); font-weight: var(--sb-weight-semibold); color: var(--sb-muted); margin-bottom: 6px; }
.sb-field { height: var(--sb-tap); width: 100%; border: 1px solid var(--sb-line); background: var(--sb-surface); border-radius: var(--sb-radius-sm); padding: 0 14px; font: var(--sb-text-base) var(--sb-font-body); color: var(--sb-ink); }
.sb-field::placeholder { color: var(--sb-muted); }
.sb-field:focus { outline: 2px solid var(--sb-focus); outline-offset: 1px; }
.sb-inline { display: flex; gap: var(--sb-space-2); max-width: 720px; }

/* ---------- 6. Ask box with jobs ---------- */
.sb-ask { width: 100%; max-width: 880px; margin-top: var(--sb-space-8); }
.sb-ask__row { display: flex; gap: var(--sb-space-2); background: var(--sb-surface); border-radius: var(--sb-radius-pill); padding: 6px; box-shadow: var(--sb-lift); margin-top: 10px; }
.sb-ask__row .sb-field { border: 0; background: transparent; height: 52px; padding: 0 20px; font-size: var(--sb-text-md); flex: 1; min-width: 0; }
.sb-ask__row .sb-field:focus { outline: 0; }
.sb-ask__row .sb-btn { height: 52px; padding: 0 28px; }
.sb-ask:focus-within .sb-ask__row { box-shadow: 0 0 0 2px var(--sb-focus), var(--sb-lift); }
.sb-jobs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sb-space-2); margin-top: var(--sb-space-5); }
.sb-job { min-height: 40px; border: 1px solid var(--sb-line); background: var(--sb-surface); border-radius: var(--sb-radius-pill); padding: var(--sb-space-2) var(--sb-space-4); font: var(--sb-weight-medium) 14px var(--sb-font-body); color: var(--sb-ink); cursor: pointer; }
.sb-job:hover { border-color: var(--sb-ink); }

/* ---------- 7. App tile ---------- */
.sb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sb-space-4); margin-top: var(--sb-space-9); }
.sb-tile { min-width: 0; display: grid; gap: var(--sb-space-1); text-decoration: none; background: var(--sb-surface); border-radius: var(--sb-radius-lg); padding: 22px var(--sb-space-5) 26px; box-shadow: var(--sb-ring); }
.sb-tile:hover { box-shadow: var(--sb-lift); }
.sb-tile--wide { grid-column: span 2; }
.sb-tile__name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: var(--sb-weight-medium); color: var(--sb-muted); }
.sb-tile__name::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--sb-ink); }
.sb-tile--marigold .sb-tile__name::before { background: var(--sb-marigold); }
.sb-tile--aqua .sb-tile__name::before { background: var(--sb-aqua); }
.sb-tile__num { font-family: var(--sb-font-title); font-stretch: var(--sb-title-stretch); font-weight: var(--sb-weight-black); font-size: var(--sb-text-3xl); line-height: 1.05; margin-top: var(--sb-space-3); }
.sb-tile__num.sb-coming { font-size: var(--sb-text-xl); line-height: 2; }
.sb-tile__sub { font-size: 14px; color: var(--sb-muted); }

/* ---------- 8. Yes card ---------- */
.sb-yes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sb-space-7); background: var(--sb-surface); border-radius: var(--sb-radius-lg); padding: 28px; box-shadow: var(--sb-ring); }
.sb-yes + .sb-yes { margin-top: var(--sb-space-4); }
.sb-yes__who { font-size: 14px; font-weight: var(--sb-weight-semibold); }
.sb-yes__text { font-size: var(--sb-text-base); color: var(--sb-muted); margin-top: var(--sb-space-2); }
.sb-yes__ctx .sb-meta { margin-top: var(--sb-space-2); }
.sb-actions { display: flex; gap: var(--sb-space-2); align-items: flex-end; flex-wrap: wrap; margin-top: var(--sb-space-4); }
.sb-actions__when { flex: 1; min-width: 200px; }
.sb-actions__spacer { flex: 1; }
.sb-more { padding: var(--sb-space-5) 0; text-align: center; }

/* ---------- 9. Platform previews ---------- */
.sb-pvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sb-space-3); }
.sb-pv__net { font-size: var(--sb-text-xs); font-weight: var(--sb-weight-semibold); color: var(--sb-muted); margin-bottom: var(--sb-space-2); }
.sb-pv { background: var(--sb-pv-bg); border: 1px solid var(--sb-pv-line); border-radius: var(--sb-radius-md); padding: 14px var(--sb-space-4); font-family: var(--sb-pv-font); color: var(--sb-pv-ink); min-width: 0; }
.sb-pv__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
.sb-pv__av { width: 40px; height: 40px; border-radius: 50%; background: var(--sb-black); display: grid; place-items: center; overflow: hidden; }
.sb-pv__av img { width: 34px; height: auto; }
.sb-pv__av--square { border-radius: 4px; }
.sb-pv__name { font-size: 15px; line-height: 20px; font-weight: 700; }
.sb-pv__handle { color: var(--sb-pv-muted); font-weight: 400; }
.sb-pv__sub { font-size: 12px; line-height: 16px; color: var(--sb-pv-muted); }
.sb-pv__text { font-size: 15px; line-height: 20px; margin-top: 2px; white-space: pre-line; overflow-wrap: anywhere; }
.sb-pv__media { width: 100%; aspect-ratio: 16 / 9; background: var(--sb-pv-media); border: 1px solid var(--sb-pv-line); border-radius: var(--sb-radius-md); margin-top: 10px; display: grid; place-items: center; font-size: var(--sb-text-sm); color: var(--sb-pv-muted); object-fit: cover; }
.sb-pv__bar { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: var(--sb-text-sm); color: var(--sb-pv-muted); margin-top: var(--sb-space-3); }
.sb-pv__bar b { color: var(--sb-pv-ink); font-weight: 600; }
/* network shapes */
.sb-pv--facebook .sb-pv__media, .sb-pv--linkedin .sb-pv__media { border-radius: 0; border-left: 0; border-right: 0; margin-inline: calc(-1 * var(--sb-space-4)); width: calc(100% + 2 * var(--sb-space-4)); }
.sb-pv--facebook .sb-pv__text, .sb-pv--linkedin .sb-pv__text { margin-top: 10px; }
.sb-pv--facebook .sb-pv__bar, .sb-pv--linkedin .sb-pv__bar { border-top: 1px solid var(--sb-pv-line); padding-top: 10px; justify-content: space-around; font-weight: 600; }
.sb-pv--instagram { padding: 0; overflow: hidden; }
.sb-pv--instagram .sb-pv__top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.sb-pv--instagram .sb-pv__av { width: 32px; height: 32px; }
.sb-pv--instagram .sb-pv__av img { width: 27px; }
.sb-pv--instagram .sb-pv__name { font-size: 14px; }
.sb-pv--instagram .sb-pv__media { aspect-ratio: 1; border: 0; border-radius: 0; margin: 0; }
.sb-pv--instagram .sb-pv__text { font-size: 14px; line-height: 18px; padding: 10px 12px 14px; margin: 0; }
.sb-pv--youtube { padding: 0; border: 0; background: transparent; }
.sb-pv--youtube .sb-pv__media { margin: 0; border: 0; border-radius: 12px; }
.sb-pv--youtube .sb-pv__row { grid-template-columns: 36px minmax(0, 1fr); margin-top: var(--sb-space-3); }
.sb-pv--youtube .sb-pv__av { width: 36px; height: 36px; }
.sb-pv--youtube .sb-pv__av img { width: 30px; }
.sb-pv--youtube .sb-pv__title { font-size: 16px; line-height: 22px; font-weight: 600; }
.sb-pv__lead { font-size: 15px; line-height: 20px; color: var(--sb-pv-muted); margin-top: var(--sb-space-2); }
.sb-pv--web .sb-pv__title { font-size: 22px; line-height: 1.2; font-weight: 700; margin-top: 6px; }

/* ---------- 10. List row with actions ---------- */
.sb-list { background: var(--sb-surface); border-radius: var(--sb-radius-lg); box-shadow: var(--sb-ring); padding: var(--sb-space-1) var(--sb-space-5); }
.sb-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--sb-space-4); align-items: center; padding: var(--sb-space-4) 0; border-bottom: 1px solid var(--sb-line); text-decoration: none; }
.sb-row:last-child { border-bottom: 0; }
.sb-row--plain { grid-template-columns: minmax(0, 1fr) auto; }
.sb-row__time { font-size: var(--sb-text-sm); color: var(--sb-muted); font-weight: var(--sb-weight-medium); }
.sb-row__title { font-weight: var(--sb-weight-semibold); }
.sb-row__meta { font-size: var(--sb-text-sm); color: var(--sb-muted); }
.sb-row__actions { display: flex; gap: var(--sb-space-2); }

/* ---------- 11. Number row ---------- */
.sb-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sb-space-4); margin-top: var(--sb-space-7); }
.sb-num { background: var(--sb-surface); border-radius: var(--sb-radius-md); padding: 18px 20px; box-shadow: var(--sb-ring); }
.sb-num b { display: block; font-family: var(--sb-font-title); font-stretch: var(--sb-title-stretch); font-weight: var(--sb-weight-black); font-size: var(--sb-text-2xl); line-height: 1.1; }
.sb-num span { font-size: var(--sb-text-sm); color: var(--sb-muted); }

/* ---------- 12. Ranked table ---------- */
.sb-table { position: relative; background: var(--sb-surface); border-radius: var(--sb-radius-lg); box-shadow: var(--sb-ring); padding: var(--sb-space-1) var(--sb-space-3); overflow-x: auto; }
.sb-rank { width: 100%; border-collapse: collapse; font-size: var(--sb-text-base); }
.sb-rank th { font-size: var(--sb-text-sm); font-weight: var(--sb-weight-semibold); color: var(--sb-muted); text-align: right; padding: 14px; border-bottom: 1px solid var(--sb-line); white-space: nowrap; }
.sb-rank th.sb-l { text-align: left; }
.sb-rank td { padding: var(--sb-space-4) 14px; border-bottom: 1px solid var(--sb-line); text-align: right; white-space: nowrap; }
.sb-rank tr:last-child td { border-bottom: 0; }
.sb-rank__n { color: var(--sb-muted); width: 40px; text-align: left !important; }
.sb-rank__acct { text-align: left !important; }
.sb-rank__acct b { display: block; font-weight: var(--sb-weight-semibold); }
.sb-rank__acct span { font-size: var(--sb-text-sm); color: var(--sb-muted); }
.sb-rank__big { font-family: var(--sb-font-title); font-stretch: var(--sb-title-stretch); font-weight: var(--sb-weight-black); font-size: var(--sb-text-lg); }
.sb-rank tr.is-us td { background: var(--sb-us); }
.sb-rank tr.is-us td:first-child { border-radius: var(--sb-radius-sm) 0 0 var(--sb-radius-sm); color: var(--sb-ink); font-weight: var(--sb-weight-bold); }
.sb-rank tr.is-us td:last-child { border-radius: 0 var(--sb-radius-sm) var(--sb-radius-sm) 0; }
.sb-up { color: var(--sb-up); }
.sb-down { color: var(--sb-down); }
.sb-coming { color: var(--sb-muted); font-style: italic; font-family: var(--sb-font-body); font-stretch: 100%; font-weight: var(--sb-weight-regular); }
.sb-rank a { font-size: 14px; font-weight: var(--sb-weight-semibold); }

/* ---------- 13. Line chart ---------- */
.sb-chart { background: var(--sb-surface); border-radius: var(--sb-radius-lg); box-shadow: var(--sb-ring); padding: 28px; }
.sb-chart__plot { position: relative; height: 340px; margin-left: 52px; margin-right: 170px; }
.sb-chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sb-chart__y { position: absolute; left: -52px; font-size: var(--sb-text-xs); color: var(--sb-muted); transform: translateY(-50%); }
.sb-chart__end { position: absolute; left: calc(100% + 16px); width: 150px; font-size: var(--sb-text-sm); color: var(--sb-muted); transform: translateY(-50%); }
.sb-chart__end b { display: block; font-family: var(--sb-font-title); font-stretch: var(--sb-title-stretch); font-weight: var(--sb-weight-black); font-size: var(--sb-text-lg); color: var(--sb-ink); line-height: 1; }
.sb-chart__x { display: flex; justify-content: space-between; margin: 10px 170px 0 52px; font-size: var(--sb-text-xs); color: var(--sb-muted); }
.sb-chart__grid { stroke: var(--sb-line); stroke-width: 1; }
.sb-chart__zero { stroke: var(--sb-ink); stroke-width: 1; }
.sb-chart__field { fill: none; stroke: var(--sb-field-line); stroke-width: 1.5; stroke-linejoin: round; }
.sb-chart__us { fill: none; stroke: var(--sb-orange); stroke-width: 3; stroke-linejoin: round; }
.sb-legend { display: flex; flex-wrap: wrap; gap: var(--sb-space-5); margin-top: var(--sb-space-4); font-size: var(--sb-text-sm); color: var(--sb-muted); }
.sb-legend i { display: inline-block; width: 20px; height: 3px; vertical-align: middle; margin-right: var(--sb-space-2); background: var(--sb-field-line); }
.sb-legend i.is-us { background: var(--sb-orange); }

/* ---------- 14. Calendar ---------- */
.sb-calbar { display: flex; align-items: center; gap: var(--sb-space-2); flex-wrap: wrap; }
.sb-calbar__spacer { flex: 1; }
.sb-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--sb-space-2); margin-top: var(--sb-space-5); }
.sb-cal__day { background: var(--sb-surface); border-radius: var(--sb-radius-md); box-shadow: var(--sb-ring); padding: var(--sb-space-3); min-height: 260px; display: flex; flex-direction: column; gap: var(--sb-space-2); min-width: 0; }
.sb-cal__date { display: flex; align-items: baseline; gap: 6px; font-size: var(--sb-text-sm); color: var(--sb-muted); padding-bottom: var(--sb-space-1); }
.sb-cal__date b { font-family: var(--sb-font-title); font-stretch: var(--sb-title-stretch); font-weight: var(--sb-weight-black); font-size: var(--sb-text-lg); color: var(--sb-ink); line-height: 1; }
.sb-cal__day.is-today .sb-cal__date b { background: var(--sb-ink); color: var(--sb-ground); border-radius: var(--sb-radius-pill); padding: 2px 9px; }
.sb-cal__none { font-size: var(--sb-text-sm); color: var(--sb-muted); }
.sb-event { display: grid; gap: 1px; padding: var(--sb-space-2) 10px; border-radius: 10px; background: var(--sb-ground); text-decoration: none; font-size: var(--sb-text-sm); line-height: 1.35; }
.sb-event__time { color: var(--sb-muted); font-size: var(--sb-text-xs); font-weight: var(--sb-weight-medium); }
.sb-event__net { font-weight: var(--sb-weight-bold); }
.sb-event__title { overflow-wrap: anywhere; }
.sb-event--show { background: var(--sb-tint-marigold); }
.sb-event--sponsor { background: var(--sb-tint-aqua); }
.sb-event--auto { background: transparent; box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-event--waiting { background: transparent; box-shadow: inset 0 0 0 1px var(--sb-ink); }
.sb-key { display: flex; flex-wrap: wrap; gap: var(--sb-space-5); margin-top: var(--sb-space-4); font-size: var(--sb-text-sm); color: var(--sb-muted); }
.sb-key i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: var(--sb-space-2); background: var(--sb-ground); box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-key i.is-show { background: var(--sb-tint-marigold); box-shadow: none; }
.sb-key i.is-sponsor { background: var(--sb-tint-aqua); box-shadow: none; }
.sb-key i.is-auto { background: transparent; }
.sb-key i.is-waiting { background: transparent; box-shadow: inset 0 0 0 1px var(--sb-ink); }

/* ---------- 15. Video ---------- */
.sb-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--sb-radius-md); background: var(--sb-line); }
.sb-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sb-space-7); align-items: center; }
.sb-feature__title { font-size: var(--sb-text-2xl); margin-top: 10px; }
.sb-stats { display: flex; flex-wrap: wrap; gap: var(--sb-space-6); margin: var(--sb-space-5) 0 28px; }
.sb-stat b { display: block; font-family: var(--sb-font-title); font-stretch: var(--sb-title-stretch); font-weight: var(--sb-weight-black); font-size: 34px; line-height: 1.1; }
.sb-stat span { font-size: var(--sb-text-sm); color: var(--sb-muted); }
.sb-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--sb-space-6); }
.sb-video { display: block; text-decoration: none; }
.sb-video h3 { font-size: 16px; font-weight: var(--sb-weight-semibold); line-height: 1.3; margin-top: var(--sb-space-3); }
.sb-video p { font-size: 14px; color: var(--sb-muted); margin-top: var(--sb-space-1); }
.sb-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }

/* ---------- 16. Ranked list ---------- */
.sb-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sb-space-7); }
.sb-lrow { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: var(--sb-space-4); padding: var(--sb-space-4) 0; border-bottom: 1px solid var(--sb-line); align-items: baseline; text-decoration: none; }
.sb-lrow:last-child { border-bottom: 0; }
.sb-lrow__n { color: var(--sb-muted); font-size: var(--sb-text-sm); }
.sb-lrow__t { font-weight: var(--sb-weight-medium); line-height: 1.35; overflow-wrap: anywhere; }
.sb-lrow__t span { display: block; font-size: var(--sb-text-sm); color: var(--sb-muted); font-weight: var(--sb-weight-regular); margin-top: 2px; }
.sb-lrow__v { font-family: var(--sb-font-title); font-stretch: var(--sb-title-stretch); font-weight: var(--sb-weight-black); font-size: var(--sb-text-lg); }

/* ---------- 17. Empty and coming ---------- */
.sb-empty { padding: var(--sb-space-6) 0 var(--sb-space-4); color: var(--sb-muted); font-size: var(--sb-text-base); }

/* ---------- 18. Updated line and footer ---------- */
.sb-updated { font-size: var(--sb-text-sm); color: var(--sb-muted); margin-top: var(--sb-space-8); }
.sb-updated--center { text-align: center; }
.sb-foot { margin-top: var(--sb-space-9); padding-block: var(--sb-space-5) var(--sb-space-7); font-size: var(--sb-text-sm); color: var(--sb-muted); text-align: center; }

/* ---------- 19. Chart view switch (no script: radio inputs, then the section head, then one panel per view) ---------- */
.sb-view { position: relative; }
.sb-view__in { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.sb-view__bar { display: flex; flex-wrap: wrap; gap: var(--sb-space-2); }
.sb-view__seg { display: inline-flex; padding: 3px; border: 1px solid var(--sb-ink); border-radius: var(--sb-radius-pill); background: var(--sb-surface); }
.sb-view__opt {
  font: var(--sb-weight-semibold) var(--sb-text-sm)/1 var(--sb-font-body);
  height: calc(var(--sb-tap) - 8px); padding: 0 14px; border-radius: var(--sb-radius-pill);
  display: inline-flex; align-items: center; color: var(--sb-ink); cursor: pointer; white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent;
}
.sb-view__opt:hover { background: var(--sb-ground); }
.sb-view__in--pct:checked ~ * .sb-view__opt--pct, .sb-view__in--count:checked ~ * .sb-view__opt--count,
.sb-view__in--week:checked ~ * .sb-view__opt--week, .sb-view__in--month:checked ~ * .sb-view__opt--month { background: var(--sb-ink); color: var(--sb-ground); }
.sb-view__in--pct:focus-visible ~ * .sb-view__opt--pct, .sb-view__in--count:focus-visible ~ * .sb-view__opt--count,
.sb-view__in--week:focus-visible ~ * .sb-view__opt--week, .sb-view__in--month:focus-visible ~ * .sb-view__opt--month { outline: 2px solid var(--sb-focus); outline-offset: 2px; }
.sb-view__panel { display: none; }
.sb-view__panel > .sb-meta { display: block; margin: 0 0 var(--sb-space-3); }
.sb-view__in--pct:checked ~ .sb-view__in--week:checked ~ .sb-view__panel--pct-week,
.sb-view__in--count:checked ~ .sb-view__in--week:checked ~ .sb-view__panel--count-week,
.sb-view__in--pct:checked ~ .sb-view__in--month:checked ~ .sb-view__panel--pct-month,
.sb-view__in--count:checked ~ .sb-view__in--month:checked ~ .sb-view__panel--count-month { display: block; }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .sb-mast__in { flex-wrap: wrap; gap: 0 var(--sb-space-4); min-height: 0; padding-top: 14px; }
  .sb-logo { height: 32px; }
  .sb-nav { order: 3; flex-basis: 100%; justify-content: flex-start; padding-block: 10px; }
  .sb-who { margin-left: auto; }
  .sb-main { padding-top: var(--sb-space-7); }
  .sb-ask__row .sb-btn { padding: 0 20px; }
  .sb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sb-tile { padding: var(--sb-space-4); }
  .sb-tile__num { font-size: 36px; overflow-wrap: anywhere; }
  .sb-yes, .sb-feature, .sb-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sb-yes { padding: 18px; }
  .sb-pvs, .sb-videos, .sb-cards3 { grid-template-columns: minmax(0, 1fr); }
  .sb-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sb-num { padding: 14px; }
  .sb-row { grid-template-columns: minmax(0, 1fr); gap: var(--sb-space-2); }
  .sb-chart { padding: var(--sb-space-4); }
  .sb-chart__plot { height: 240px; margin-left: 40px; margin-right: 0; }
  .sb-chart__y { left: -40px; }
  .sb-chart__end { display: none; }
  .sb-chart__x { margin: 10px 0 0 40px; }
  .sb-cal { grid-template-columns: minmax(0, 1fr); }
  .sb-cal__day { min-height: 0; }
  .sb-inline { flex-direction: column; }
  .sb-actions__when { flex-basis: 100%; }
  .sb-tile--wide { grid-column: span 2; }
}
