:root {
  /* Brand: peach accent, ice-blue surfaces, ink text, slate secondary */
  --peach: #ffac78; --ice: #d9e6fa; --ink: #1e2433; --slate: #6b7280;
  --line: #e2e8f3; --soft: #f5f8fd; --accent: #ffac78; --danger: #dc2626;
  --peach-soft: #fff3ea; --peach-ring: #ffd9bf;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 13px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
#app { max-width: 1480px; margin: 0 auto; padding: 0 18px 24px; }

/* header */
#hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 12px; }
.crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: #b6bdca; }
.crumbs .title { font-weight: 600; }
.crumbs input { font-weight: 600; font-size: 14px; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; min-width: 260px; }
.actions { display: flex; gap: 8px; }
.btn { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 6px 12px; font-weight: 500; }
.btn:hover:not(:disabled) { background: var(--soft); }
.btn:disabled { color: #b6bdca; cursor: default; }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: #313a52; }
.btn.danger { color: var(--danger); border-color: #f3c5c5; }
.btn.icon { padding: 6px 9px; }

/* chips */
#chips { display: flex; align-items: center; gap: 8px; padding: 6px 0 10px; }
.chiprow { display: flex; gap: 8px; overflow-x: auto; flex: 1; padding: 2px 2px 6px; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 6px 9px; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.chip .dot.off { background: transparent !important; border: 2px solid; opacity: .6; }
.chip .badge { font-size: 11px; color: var(--slate); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; background: var(--soft); }
.chip.selected { border-color: var(--peach); background: var(--peach-soft); box-shadow: 0 0 0 1px var(--peach) inset; }
.chip.error { border-color: #f3a3a3; }
.chip.dim { color: #8b94a7; }
.addwrap { position: relative; flex: none; }
.menu { position: absolute; right: 0; top: 38px; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 8px; min-width: 190px; padding: 6px; box-shadow: 0 8px 24px rgba(30,36,51,.14); }
.menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 5px; }
.menu button:hover { background: var(--soft); }

/* editor */
#editor { margin-bottom: 4px; }
.editor-row { display: flex; align-items: center; gap: 8px; }
.expr { flex: 1; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-family: var(--mono); font-size: 13px; }
.expr:focus { outline: 2px solid var(--peach-ring); border-color: var(--peach); }
.label-input { width: 220px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; }
.source { flex: 1; font-family: var(--mono); color: var(--slate); padding: 8px 10px; border: 1px dashed var(--line); border-radius: 6px; }
.funcs { margin: 8px 0 2px; color: var(--slate); line-height: 1.9; }
.funcs button { border: 0; background: var(--soft); border-radius: 4px; padding: 1px 6px; margin: 0 2px; font-family: var(--mono); font-size: 12px; color: #3d465b; }
.funcs button:hover { background: #e7ecf6; }
.err { color: var(--danger); margin: 6px 2px; min-height: 1px; }

/* control bar */
#controlbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ctl { display: inline-flex; align-items: center; gap: 5px; color: #4a5368; }
.ctl select { border: 0; background: none; font-weight: 500; color: var(--ink); padding: 3px 2px; border-bottom: 1px solid transparent; }
.ctl select:hover:not(:disabled) { border-bottom-color: var(--line); }
.ctl input[type=color] { width: 26px; height: 22px; border: 1px solid var(--line); border-radius: 4px; padding: 0; background: #fff; }
.ctl label { display: inline-flex; align-items: center; gap: 5px; }
.pills { display: flex; gap: 2px; }
.pill { border: 0; background: none; padding: 5px 9px; border-radius: 5px; color: #4a5368; font-weight: 500; }
.pill:hover { background: var(--soft); }
.pill.active { background: var(--ice); color: var(--ink); }

/* legend */
#legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 4px 2px 6px; }
.leg { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 1px 0; color: #3d465b; }
.leg .dot { width: 9px; height: 9px; border-radius: 50%; }
.leg.off { text-decoration: line-through; color: #98a1b3; }

/* chart + tooltip */
#chart { width: 100%; height: 540px; }
.tt { padding: 9px 12px; min-width: 210px; }
.tt-date { font-weight: 600; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); color: #3d465b; }
.tt-row { display: flex; align-items: center; gap: 7px; padding: 2px 0; }
.tt-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tt-name { flex: 1; color: #4a5368; }
#status { min-height: 20px; color: var(--slate); padding-top: 6px; }

/* overlay dialogs */
#overlay { position: fixed; inset: 0; background: rgba(30,36,51,.35); display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; z-index: 50; }
#overlay[hidden] { display: none; }
.dialog { background: #fff; border-radius: 10px; width: min(560px, 92vw); padding: 18px; box-shadow: 0 20px 60px rgba(30,36,51,.3); }
.dialog h3 { margin: 0 0 12px; font-size: 15px; }
.dialog input[type=text] { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; }
.dialog .results { max-height: 320px; overflow: auto; margin-top: 10px; }
.dialog .results button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 8px; border-radius: 5px; font-family: var(--mono); font-size: 12.5px; }
.dialog .results button:hover { background: var(--soft); }
.dialog .foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

.hint { color: var(--slate); margin: 6px 2px 0; min-height: 1px; }
.btn.primary.pending { box-shadow: 0 0 0 3px rgba(255,172,120,.55); }

/* top bar */
#nav { background: var(--soft); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1480px; margin: 0 auto; padding: 0 18px; display: flex; align-items: center; gap: 34px; height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 52px; display: block; }
.tabs { display: flex; gap: 4px; align-self: stretch; }
.tab { display: flex; align-items: center; padding: 0 14px; color: var(--slate); font-weight: 500; font-size: 14px; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--peach); }
#app { padding-top: 6px; }
#page[hidden], #studio[hidden] { display: none; }

/* page header: eyebrow, title, peach bar, description */
.bq-head { padding: 26px 0 6px; }
.bq-eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.bq-title { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.bq-bar { width: 44px; height: 5px; border-radius: 99px; background: var(--peach); margin: 11px 0 12px; }
.bq-desc { font-size: 15.5px; line-height: 1.5; color: var(--slate); max-width: 62rem; margin: 0 0 6px; }

/* latest values */
.bq-kpis { display: flex; flex-wrap: wrap; gap: 14px 38px; margin: 14px 0 18px; }
.bq-kpi-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.bq-kpi-swatch { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.bq-kpi-value { font-family: var(--mono); font-size: 23px; font-weight: 500; font-variant-numeric: tabular-nums; margin-top: 3px; white-space: nowrap; }
.bq-kpi-value.bq-muted { font-size: 17px; color: var(--slate); padding-top: 5px; }
.bq-foot { color: var(--slate); font-size: 12.5px; margin: 28px 0 10px; }

/* chart cards */
.list-search { width: 100%; max-width: 360px; margin: 2px 0 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.list-search:focus { outline: 2px solid var(--peach-ring); border-color: var(--peach); }
.bq-section { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 26px 0 10px; display: flex; align-items: center; gap: 9px; }
.bq-count { background: var(--ice); color: var(--ink); border-radius: 99px; padding: 1px 8px; font-size: 11px; letter-spacing: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.card { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: inherit; background: #fff; transition: box-shadow .12s, border-color .12s; }
.card:hover { background: var(--soft); border-color: var(--peach); box-shadow: inset 3px 0 0 var(--peach); }
.card-title { font-weight: 600; font-size: 14.5px; }
.card-blurb { margin: 5px 0 0; color: var(--slate); line-height: 1.45; min-height: 1px; }
.notes { margin: 30px 0 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; background: #fff; }
.notes summary { cursor: pointer; font-weight: 600; }
.notes p { color: var(--slate); line-height: 1.55; }
.notes strong { color: var(--ink); }

/* research */
.research { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 14px 0 24px; }
.research-img { width: min(80%, 1200px); height: auto; border: 1px solid var(--line); border-radius: 10px; }

/* strategies */
.strategies { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.strategy { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.strategy > summary { cursor: pointer; padding: 14px 18px; font-size: 14.5px; list-style: none; display: flex; align-items: center; gap: 6px; }
.strategy > summary::-webkit-details-marker { display: none; }
.strategy > summary::before { content: "›"; color: var(--slate); font-size: 18px; width: 14px; transition: transform .12s; }
.strategy[open] > summary::before { transform: rotate(90deg); }
.strategy[open] > summary { border-bottom: 1px solid var(--line); }
.strategy:hover { border-color: var(--peach); }
.hint-inline { color: var(--slate); margin-left: 8px; font-size: 13px; }
.strategy-body { padding: 8px 18px 18px; }
.strategy-rules { color: var(--slate); line-height: 1.55; max-width: 62rem; }
.fee { display: inline-flex; align-items: center; gap: 10px; color: var(--slate); margin: 6px 0 0; }
.fee-input { width: 80px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; }
.fee-input:focus { outline: 2px solid var(--peach-ring); border-color: var(--peach); }
.strategy-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.strategy-chart { width: 100%; height: 440px; }
.period-row { display: flex; align-items: center; gap: 4px; margin: 2px 0 10px; }
.grid { border-collapse: collapse; width: 100%; font-size: 13px; }
.grid th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.grid td { padding: 8px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.grid td.first { color: var(--slate); }
.grid.compare { max-width: 720px; }
.grid.compare th:not(:first-child), .grid.compare td:not(:first-child) { text-align: right; }
.trades { margin-top: 10px; }
.trades summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.trades .grid { max-width: 820px; }
.warn { color: #92400e; background: #fff7ed; border: 1px solid var(--peach-ring); border-radius: 8px; padding: 10px 12px; }

.strategy-actions { display: flex; align-items: center; gap: 10px; }

.slider { width: 90px; accent-color: var(--peach); vertical-align: middle; }
.pct { min-width: 34px; font-variant-numeric: tabular-nums; color: var(--slate); }
.ctl .btn.icon { padding: 2px 9px; margin-left: 2px; }

/* showcase: Data section with a sidebar */
#layout { display: block; }
#layout.with-side { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
#side { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; padding: 16px 0 24px; border-right: 1px solid var(--line); padding-right: 14px; }
#side[hidden] { display: none; }
.side-home { display: block; padding: 7px 10px; border-radius: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.side-home.active { background: #fff; box-shadow: inset 3px 0 0 var(--peach), 0 0 0 1px var(--line); }
.side-search { margin: 10px 0 8px; max-width: none; }
.side-group summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.side-group summary::-webkit-details-marker { display: none; }
.side-link { display: block; padding: 6px 10px 6px 18px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 13px; }
.side-link:hover { background: var(--ice); }
.side-link.active { background: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--peach), 0 0 0 1px var(--line); }
@media (max-width: 800px) { #layout.with-side { grid-template-columns: 1fr; } #side { position: static; max-height: none; border-right: 0; } }

.overview h2 { font-size: 17px; margin: 26px 0 8px; }
.overview h3 { font-size: 14px; margin: 0 0 4px; }
.overview p, .overview li { color: var(--slate); line-height: 1.55; max-width: 62rem; }
.overview li { margin: 4px 0; } .overview li strong { color: var(--ink); }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 10px 0; }
.ov-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: #fff; }
.ov-grid p { margin: 0; }
.ov-note { font-size: 12.5px; margin-top: 26px; }

/* Active / Inactive status on each strategy */
.status-slot { margin-left: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 2px 10px 2px 8px; border-radius: 99px; letter-spacing: .02em; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.on { background: #dcfce7; color: #15803d; }
.status-pill.off { background: #fee2e2; color: #b91c1c; }

/* research comparison */
.strategy-chart.tall { height: 520px; }
.cmp-heads { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px 28px; margin: 8px 0 4px; }
.cmp-name { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 8px; }
.cmp-name .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.grid.compare.wide { max-width: 980px; }
.strategy-chartwrap .ctl { margin-right: 10px; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* URPD */
.urpd-bar { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 14px 0 10px; }
.urpd-cal { display: flex; align-items: center; gap: 4px; }
.urpd-date { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; background: #fff; font-weight: 500; }
.urpd-step { font-size: 18px; line-height: 1; padding: 3px 10px; }
.urpd-step:disabled { opacity: .35; cursor: default; }
.urpd-bar .ctl { display: flex; align-items: center; gap: 6px; }
.ctl-label { font-size: 12px; color: var(--slate, #6b7280); font-weight: 600; }
.urpd-chart { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.urpd-note { font-size: 12px; color: #6b7280; }
@media (max-width: 700px) { .urpd-chart { height: 620px; } }

/* URPD controls, in the brand: mono caps labels, ink-filled choice with a peach underline */
.urpd-bar { gap: 12px 26px; padding: 12px 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.urpd-bar .ctl { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.urpd-bar .ctl-label, .urpd-curves .ctl-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 500; }
.urpd-bar .pills { gap: 0; border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; background: #fff; }
.urpd-bar .pill { border-radius: 0; padding: 6px 13px; color: var(--ink); font-weight: 600; font-size: 12.5px; border-right: 1px solid var(--line); border-bottom: 3px solid transparent; }
.urpd-bar .pills .pill:last-child { border-right: 0; }
.urpd-bar .pill:hover { background: var(--peach-soft); }
.urpd-bar .pill.active { background: var(--ink); color: #fff; border-bottom-color: var(--peach); }
.urpd-bar .urpd-cal { flex-direction: row; align-items: flex-end; gap: 6px; }
.urpd-cal > .pill { border: 1px solid var(--ink); border-radius: 8px; background: #fff; font-weight: 600; padding: 6px 12px; }
.urpd-cal > .pill:hover:not(:disabled) { background: var(--peach-soft); }
.urpd-date { border: 1px solid var(--ink); border-radius: 8px; padding: 5px 9px; background: #fff; font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.urpd-bar .btn { border-color: var(--ink); font-weight: 600; align-self: flex-end; margin-left: auto; }
.urpd-bar .btn:hover { background: var(--peach-soft); }
.urpd-curves { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.curve-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 99px; padding: 4px 13px; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.curve-chip:hover { background: var(--peach-soft); }
.curve-chip .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.curve-chip.off { color: #94a3b8; border-color: var(--line); text-decoration: line-through; background: var(--soft); }
.curve-chip.off .dot { opacity: .35; }
/* URPD headline tiles: one strip, mono caps label, big mono number, small unit and note */
.urpd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.urpd-tile { padding: 12px 18px 11px; border-right: 1px solid var(--line); min-width: 0; }
.urpd-tile:last-child { border-right: 0; }
.urpd-tile-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.urpd-tile-swatch { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.urpd-tile-value { font-family: var(--mono); font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; margin-top: 4px; white-space: nowrap; line-height: 1.15; }
.urpd-tile-unit { font-size: 13px; color: var(--slate); margin-left: 4px; font-weight: 500; }
.urpd-tile-sub { font-family: var(--mono); font-size: 11.5px; color: var(--slate); margin-top: 2px; }
@media (max-width: 700px) { .urpd-tile { border-bottom: 1px solid var(--line); } }
.urpd-chart { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.urpd-note { font-size: 12px; color: #6b7280; }
@media (max-width: 700px) { .urpd-chart { height: 620px; } }

/* URPD controls: a clear segmented look, the chosen option filled dark */
.urpd-bar .pills { gap: 0; border: 1px solid #94a3b8; border-radius: 7px; overflow: hidden; background: #fff; }
.urpd-bar .pill { border-radius: 0; padding: 6px 12px; color: #1E2433; font-weight: 600; border-right: 1px solid #cbd5e1; }
.urpd-bar .pills .pill:last-child { border-right: 0; }
.urpd-bar .pill:hover { background: #e2e8f0; }
.urpd-bar .pill.active { background: #1E2433; color: #fff; }
.urpd-cal > .pill { border: 1px solid #94a3b8; border-radius: 7px; background: #fff; font-weight: 600; }
.urpd-bar .ctl-label { color: #1E2433; }
.urpd-curves { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.curve-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #94a3b8; background: #fff; color: #1E2433; border-radius: 99px; padding: 4px 12px; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.curve-chip .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.curve-chip.off { color: #94a3b8; text-decoration: line-through; background: #f1f5f9; }
.curve-chip.off .dot { opacity: .35; }
.tab-ext { font-size: .85em; opacity: .55; }

/* coming soon (showcase) */
.soon { max-width: 980px; padding: 6px 0 26px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.soon-eyebrow { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--peach-soft); border: 1px solid var(--peach-ring); border-radius: 999px; padding: 4px 11px; font-weight: 500; }
.soon-title { font-size: 40px; line-height: 1.1; margin: 14px 0 12px; letter-spacing: -.01em; }
.soon-lede { font-size: 16px; line-height: 1.65; color: var(--slate); max-width: 640px; margin: 0 0 32px; }
.soon-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 500; margin-bottom: 10px; }
.soon-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.soon-step { padding: 16px 18px 14px; border-right: 1px solid var(--line); border-top: 3px solid transparent; }
.soon-step:last-child { border-right: 0; }
.soon-step:hover { border-top-color: var(--peach); background: var(--soft); }
.soon-num { font-family: var(--mono); font-size: 12px; color: var(--slate); margin-bottom: 8px; }
.soon-step-title { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.soon-step p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--slate); }
@media (max-width: 700px) { .soon-title { font-size: 30px; } .soon-step { border-right: 0; border-bottom: 1px solid var(--line); } .soon-step:last-child { border-bottom: 0; } }

/* members version */
.acct { margin-left: auto; color: var(--slate); font-size: 12.5px; white-space: nowrap; }
.card.locked { opacity: .6; cursor: not-allowed; }
.card.locked:hover { background: #fff; border-color: var(--line); box-shadow: none; }
.tag { margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--slate); font-size: 11px; font-weight: 600; vertical-align: middle; }
.locked-note { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); line-height: 1.5; }
.side-new { margin: 10px 0 0; width: 100%; }
.side-link.locked { opacity: .55; cursor: pointer; }
.side-link.locked:hover { background: transparent; }

/* login box (members version): the page behind it is blurred */
#overlay.login { background: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); align-items: center; padding-top: 0; }
.login-box { width: min(420px, 92vw); padding: 26px 26px 22px; }
.login-box h3 { font-size: 20px; margin: 0 0 8px; }
.login-why, .login-sub { color: var(--slate); font-size: 13.5px; line-height: 1.5; margin: 0 0 14px; }
.login-sub { margin: 14px 0 0; font-size: 12.5px; }
.login-form { display: flex; gap: 8px; }
.login-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; font: inherit; }
.login-stack { flex-direction: column; }
.login-stack .btn { align-self: stretch; }
.login-fixed { color: var(--slate); background: var(--bg, #f6f7f9); }
.login-sub .linklike { margin-left: 0; }
.login-code { font-family: var(--mono); font-size: 18px; letter-spacing: 4px; }
.login-msg { min-height: 18px; margin: 10px 0 0; font-size: 13px; color: var(--slate); }
.login-msg.bad { color: var(--danger); }
.linklike { border: 0; background: none; padding: 0; margin-left: 10px; color: var(--slate); text-decoration: underline; cursor: pointer; font: inherit; }
.acct { display: flex; align-items: center; gap: 4px; }
