/* Pulse 72 preview app. Round 3: GRID 30 font stacks (no font files) and GRID 30 neutrals, Pulse steel blue accent. */

:root {
  --paper: #F8FAFC; --paper-2: #EDF2F6; --ink: #0F172A; --muted: #475569; --rule: #E2E8F0; --rule-strong: #0F172A;
  --accent: #0D5BCA; --accent-ink: #FFFFFF; --accent-text: #114FA5; --accent-wash: #E3EDFB;
  --good: #1D6B3A; --bad: #A3262B;
  --ch-instagram: #0D5BCA; --ch-facebook: #475569; --ch-threads: #0F172A; --ch-pinterest: #B42318;
  --heat-0: transparent; --heat-1: #E3EDFB; --heat-2: #B6CEF3; --heat-3: #3D7DDB; --heat-4: #0B4AA8;
  --heat-ink-low: #0F172A; --heat-ink-high: #FFFFFF;
  --focus: #1D4ED8;
  --serif: "Plus Jakarta Sans", Inter, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fast: 150ms; --med: 220ms; --slow: 300ms; --ease: cubic-bezier(.2,.7,.2,1);
  --max: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="day"]) {
    --paper: #0F172A; --paper-2: #111C31; --ink: #F8FAFC; --muted: #94A3B8; --rule: #1E293B; --rule-strong: #E2E8F0;
    --accent: #63A0F7; --accent-ink: #06142B; --accent-text: #8DBAF9; --accent-wash: #16294A;
    --good: #74D69C; --bad: #FF9A9A;
    --ch-instagram: #63A0F7; --ch-facebook: #94A3B8; --ch-threads: #E2E8F0; --ch-pinterest: #FF8F86;
    --heat-1: #16294A; --heat-2: #1F4C8F; --heat-3: #4F8FEA; --heat-4: #8DBAF9;
    --heat-ink-low: #F8FAFC; --heat-ink-high: #06142B;
    --focus: #8DB4FF; color-scheme: dark;
  }
}
[data-theme="night"] {
  --paper: #0F172A; --paper-2: #111C31; --ink: #F8FAFC; --muted: #94A3B8; --rule: #1E293B; --rule-strong: #E2E8F0;
  --accent: #63A0F7; --accent-ink: #06142B; --accent-text: #8DBAF9; --accent-wash: #16294A;
  --good: #74D69C; --bad: #FF9A9A;
  --ch-instagram: #63A0F7; --ch-facebook: #94A3B8; --ch-threads: #E2E8F0; --ch-pinterest: #FF8F86;
  --heat-1: #16294A; --heat-2: #1F4C8F; --heat-3: #4F8FEA; --heat-4: #8DBAF9;
  --heat-ink-low: #F8FAFC; --heat-ink-high: #06142B;
  --focus: #8DB4FF; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-feature-settings: "tnum" 1, "lnum" 1;
  transition: background-color var(--med) var(--ease), color var(--med) var(--ease); }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 50; transition: top var(--fast) var(--ease); }
.skip:focus { top: 12px; }

/* Masthead */
.mast { border-bottom: 1px solid var(--rule); }
.mast-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--rule-strong); }
.wordmark { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.wordmark img { width: 28px; height: 28px; }
.wm-name { font: 600 30px/1 var(--serif); letter-spacing: -.01em; }
.wm-name i { font-style: italic; font-weight: 500; color: var(--accent-text); margin-left: 2px; }
.wm-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--rule); white-space: nowrap; }
.theme-btn { font: inherit; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: none; color: var(--ink); border: 1px solid var(--rule);
  padding: 8px 12px; min-height: 40px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: border-color var(--fast) var(--ease); }
.theme-btn:hover { border-color: var(--ink); }
.theme-state { color: var(--accent-text); font-weight: 500; }
.nav { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; letter-spacing: .02em; padding: 14px 0 12px; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 500; }
.bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 16px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.controls { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
select { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 0; border-bottom: 1px solid var(--ink); padding: 6px 28px 6px 0; min-height: 40px; border-radius: 0;
  appearance: none; -webkit-appearance: none; cursor: pointer; }
select option { background: var(--paper); color: var(--ink); }
.field.sel { position: relative; }
.field.sel::after { content: ""; position: absolute; right: 6px; bottom: 18px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.seg { display: inline-flex; border: 1px solid var(--rule); }
.seg button { font: inherit; font-size: 15px; background: none; color: var(--muted); border: 0; border-left: 1px solid var(--rule); padding: 7px 14px; min-height: 40px; cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.seg button:first-child { border-left: 0; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.actions { display: flex; gap: 12px; align-items: center; }
.btn { font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .02em; padding: 11px 20px; min-height: 44px; cursor: pointer; border: 1px solid var(--ink); background: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn .meta { font-weight: 400; font-size: 13px; opacity: .9; }

main { padding-top: 22px; padding-bottom: 64px; }
main:focus { outline: none; }
.sample { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.sample-tag { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); border: 1px solid currentColor; padding: 1px 6px; margin-right: 6px; }

/* Page heads */
.kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); font-weight: 500; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; max-width: 16ch; }
h1:focus { outline: none; }
.lede { margin: 16px 0 0; font-size: 19px; color: var(--muted); max-width: 60ch; }
.page-head { padding-bottom: 28px; border-bottom: 2px solid var(--rule-strong); }

/* Editorial sections: label column + content */
.sec { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 30px 0 34px; border-bottom: 1px solid var(--rule); }
.sec-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.sec-label b { display: block; font: italic 500 30px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--accent-text); margin-bottom: 10px; }
.sec h2 { font-size: 30px; line-height: 1.15; margin-bottom: 18px; }
.sec .note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* The short version */
.story { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.story li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); font: 400 24px/1.3 var(--serif); }
.story li:first-child { border-top: 0; padding-top: 0; }
.story li::before { content: counter(s, lower-roman) "."; font: italic 500 24px/1.3 var(--serif); color: var(--accent-text); }

/* Numbers strip */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { padding: 4px 22px 6px; border-left: 1px solid var(--rule); min-width: 0; }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi-label { font-size: 14px; color: var(--muted); }
.kpi-value { display: block; font: 500 54px/1.05 var(--serif); margin: 6px 0 8px; letter-spacing: -.02em; }
.kpi-note { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.chg { font-size: 14px; font-weight: 500; white-space: nowrap; }
.chg.up { color: var(--good); } .chg.down { color: var(--bad); } .chg.flat { color: var(--muted); }

/* Chart */
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .axis text { font: 12px var(--sans); fill: var(--muted); }
.chart .gridline { stroke: var(--rule); stroke-width: 1; }
.chart .baseline { stroke: var(--ink); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.prev { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.legend { display: flex; gap: 22px; list-style: none; margin: 0 0 10px; padding: 0; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.legend li::before { content: ""; display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--accent); vertical-align: middle; margin-right: 8px; }
.legend li.prev::before { border-top: 2px dashed var(--muted); }

/* Tables */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; }
th { font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; white-space: nowrap; }
th.num { text-align: right; }
.share { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.share-bar { flex: 1; height: 6px; background: var(--paper-2); position: relative; }
.share-bar span { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.share-bar.alt span { background: var(--ink); }
.share b { font-weight: 500; min-width: 44px; text-align: right; }
.lead-row td:first-child { font-weight: 500; }
.dot { display: inline-block; width: 10px; height: 10px; margin-right: 10px; vertical-align: 0; }
.dot.instagram { background: var(--ch-instagram); } .dot.facebook { background: var(--ch-facebook); } .dot.threads { background: var(--ch-threads); } .dot.pinterest { background: var(--ch-pinterest); }

/* Posts */
.posts { list-style: none; margin: 0; padding: 0; }
.post { display: grid; grid-template-columns: 56px 1fr auto auto auto; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.post:first-child { border-top: 0; padding-top: 0; }
.tile { width: 56px; height: 56px; display: grid; place-items: center; font-size: 9px; font-weight: 600; letter-spacing: .04em; overflow: hidden; text-transform: uppercase; color: #fff; }
.tile.instagram { background: #0D5BCA; } .tile.facebook { background: #2456B8; } .tile.threads { background: #3B3340; } .tile.pinterest { background: #B3261E; }
.post-cap { margin: 0; font: 400 21px/1.25 var(--serif); }
.post-meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.post-num { text-align: right; min-width: 84px; }
.post-num b { display: block; font: 500 22px/1.1 var(--serif); }
.post-num.hi b { color: var(--accent-text); }
.post-num span { font-size: 12px; color: var(--muted); }
.rank { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); border: 1px solid currentColor; padding: 1px 6px; margin-left: 8px; vertical-align: 3px; white-space: nowrap; }

/* Filters */
.filters { display: flex; gap: 24px 32px; align-items: flex-end; flex-wrap: wrap; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.chips { display: flex; gap: 0; border: 1px solid var(--rule); flex-wrap: wrap; }
.chips button { font: inherit; font-size: 15px; background: none; color: var(--muted); border: 0; border-left: 1px solid var(--rule); padding: 7px 14px; min-height: 40px; cursor: pointer; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.chips button:first-child { border-left: 0; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.count-line { margin: 18px 0 6px; font-size: 14px; color: var(--muted); }

/* Best times */
.heat { border-collapse: separate; border-spacing: 3px; width: 100%; table-layout: fixed; }
.heat th { border: 0; padding: 4px 2px 8px; text-align: center; letter-spacing: .04em; text-transform: none; font-size: 13px; }
.heat th[scope="row"] { text-align: left; font-size: 14px; color: var(--ink); width: 64px; }
.heat td { height: 52px; text-align: center; border: 0; padding: 0; font-size: 14px; color: var(--heat-ink-low); background: var(--heat-0); outline: 1px solid var(--rule); outline-offset: -1px; }
.heat td.l1 { background: var(--heat-1); outline: 0; } .heat td.l2 { background: var(--heat-2); outline: 0; }
.heat td.l3 { background: var(--heat-3); color: var(--heat-ink-high); outline: 0; } .heat td.l4 { background: var(--heat-4); color: var(--heat-ink-high); outline: 0; }
.heat td.one { font-style: italic; }
.heat td.best { box-shadow: inset 0 0 0 3px var(--ink); font-weight: 600; }
.callout { font: 400 34px/1.15 var(--serif); margin: 0 0 6px; }
.callout em { color: var(--accent-text); }
.key { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 14px; list-style: none; padding: 0; }
.key i { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }

/* Weekly bars (audience) */
.weeks { display: flex; gap: 10px; align-items: flex-end; height: 150px; border-bottom: 1px solid var(--ink); padding: 0; margin: 0; list-style: none; }
.weeks li { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.weeks .b { width: 100%; max-width: 64px; background: var(--accent); }
.weeks .v { font-size: 13px; margin-bottom: 4px; }
.weeks-x { display: flex; gap: 10px; list-style: none; margin: 6px 0 0; padding: 0; }
.weeks-x li { flex: 1; text-align: center; font-size: 12px; color: var(--muted); min-width: 0; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.big { font: 500 54px/1 var(--serif); margin: 0; letter-spacing: -.02em; }
.big-label { font-size: 14px; color: var(--muted); margin: 6px 0 18px; }

/* Notes lists */
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--rule); }
.notes li:first-child { border-top: 0; padding-top: 0; }
.notes b { font: 500 21px/1.25 var(--serif); }
.recs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; counter-reset: r; }
.recs li { counter-increment: r; padding: 16px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 48px 1fr; gap: 10px; }
.recs li::before { content: counter(r, lower-roman) "."; font: italic 500 22px/1.3 var(--serif); color: var(--accent-text); }
.recs b { display: block; font: 500 22px/1.25 var(--serif); }
.recs span { color: var(--muted); font-size: 15px; }

/* The deck */
.deck-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; padding: 8px 0 36px; border-bottom: 2px solid var(--rule-strong); align-items: end; }
.deck-hero h1 { max-width: 12ch; }
.deck-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.deck-cta .btn.primary { font-size: 18px; padding: 16px 26px; min-height: 56px; }
.deck-facts { list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--muted); }
.deck-facts li { padding: 6px 0; border-top: 1px solid var(--rule); }
.deck-facts li:first-child { border-top: 0; }
.outline { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.outline li { break-inside: avoid; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--rule); }
.outline .n { font: italic 500 18px/1.4 var(--serif); color: var(--accent-text); }
.outline .k { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.outline .t { font: 400 19px/1.3 var(--serif); }
.exports { display: flex; gap: 12px; flex-wrap: wrap; }
.status { font-size: 14px; color: var(--muted); min-height: 1.4em; margin: 0; }

/* Sources */
.src { list-style: none; margin: 0; padding: 0; }
.src li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); }
.src li:first-child { border-top: 0; padding-top: 0; }
.src h3 { font-size: 22px; }
.src p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.state { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--rule); color: var(--muted); white-space: nowrap; }
.state.wait { color: var(--accent-text); border-color: currentColor; }
.state.on { color: var(--good); border-color: currentColor; }
.steps { margin: 0; padding-left: 22px; } .steps li { padding: 6px 0; }

.foot { padding-top: 18px; padding-bottom: 40px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.foot p { margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: 15px; z-index: 40; max-width: calc(100% - 32px);
  transition: opacity var(--med) var(--ease); }
.view { animation: fadein var(--slow) var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .sec { grid-template-columns: 1fr; gap: 14px; }
  .sec-label b { display: inline; font-size: 22px; margin: 0 10px 0 0; }
  .deck-hero, .split { grid-template-columns: 1fr; gap: 28px; }
  .kpis { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  body { font-size: 16px; }
  .wm-sub { display: none; }
  .wm-name { font-size: 26px; }
  .nav { gap: 22px; }
  .bar { flex-direction: column; align-items: stretch; }
  .controls { gap: 18px; }
  .controls .field:first-child { flex: 1 1 100%; }
  select { width: 100%; }
  .actions .btn { width: 100%; justify-content: center; }
  .kpi { padding: 2px 14px 4px; }
  .kpi-value { font-size: 40px; }
  .story li { grid-template-columns: 44px 1fr; font-size: 20px; }
  .post { grid-template-columns: 44px 1fr auto; gap: 12px; }
  .tile { width: 44px; height: 44px; font-size: 7px; letter-spacing: 0; }
  .post-num.opt { display: none; }
  .post-cap { font-size: 18px; }
  .notes li { grid-template-columns: 1fr; gap: 4px; }
  .recs { grid-template-columns: 1fr; }
  .outline { columns: 1; }
  .heat { border-spacing: 2px; }
  .heat td { height: 44px; font-size: 12px; }
  .heat th { font-size: 11px; }
  .heat th[scope="row"] { width: 40px; font-size: 13px; }
  .callout { font-size: 28px; }
  .deck-cta .btn.primary { width: 100%; justify-content: center; }
  .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

@media print {
  :root { --paper: #fff; --paper-2: #eee; --ink: #111; --muted: #444; --rule: #ccc; --rule-strong: #111; --accent: #0D5BCA; --accent-text: #114FA5; color-scheme: light; }
  .mast .nav, .mast .bar, .theme-btn, .sample, .skip, .foot, .toast, .filters, .deck-cta, .exports { display: none !important; }
  .mast-top { border-bottom: 2px solid #111; }
  body { font-size: 12pt; }
  .view { animation: none; }
  .sec { break-inside: avoid; grid-template-columns: 160px 1fr; }
  h1 { font-size: 40pt; }
  a { color: inherit; text-decoration: none; }
}

.pc { font-family: var(--sans); font-weight: 400; font-size: .72em; letter-spacing: 0; margin-left: .04em; vertical-align: .08em; font-style: normal; }

/* Brand panel */
.brand-row { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.brand-logo { width: 72px; height: 72px; object-fit: contain; }
.brand-logo.round { border-radius: 50%; }
.swatches { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.swatches li { display: flex; flex-direction: column; gap: 4px; width: 92px; }
.sw { display: block; width: 92px; height: 64px; outline: 1px solid var(--rule); outline-offset: -1px; }
.sw-k { font-size: 13px; font-weight: 500; }
.sw-v { font-size: 12px; color: var(--muted); }
.fonts { margin: 0; font-size: 14px; line-height: 1.4; }
.fonts .aa { display: block; font-size: 46px; line-height: 1; margin-bottom: 4px; }
.edit { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 12px; }
.edit summary { cursor: pointer; font-weight: 500; min-height: 32px; display: flex; align-items: center; width: fit-content; }
.edit-row { display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap; margin-top: 12px; }
input[type="color"] { width: 64px; height: 44px; border: 1px solid var(--rule); background: var(--paper); padding: 2px; cursor: pointer; }
.cta { margin: 16px 0 0; font-size: 15px; }
img.tile { object-fit: cover; }

/* Import data (your own numbers, kept on this device) */
.sample-tag.real { color: var(--ink); }
.linkish { font: inherit; color: var(--accent-text); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 24px; }
.linkish:hover { color: var(--ink); }
.imp p { margin: 0 0 12px; max-width: 62ch; }
.imp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.ghost { border-color: var(--muted); color: var(--muted); }

/* ---------- Coming soon (public preview) ---------- */
.soon-bar { background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1.4; }
.soon-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 9px; padding-bottom: 9px; }
.soon-bar p { margin: 0; }
.soon-bar b { font-weight: 600; }
.soon-cta { flex: none; color: var(--paper); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid currentColor; padding: 7px 12px; min-height: 32px; display: inline-flex; align-items: center;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.soon-cta:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.soon-bar :focus-visible { outline-color: var(--paper); }
.mast-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.soon-badge { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  padding: 3px 5px 2px; margin-left: 8px; border: 1px solid currentColor; opacity: .85; vertical-align: 2px; }
.data-tag { display: inline-block; font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--rule); padding: 3px 6px 2px; margin-left: 10px; vertical-align: 1px; white-space: nowrap; }
.sec-label .data-tag { display: table; margin: 10px 0 0; }
.count-line .data-tag { margin: 0 8px 0 0; }
.soon-note { font-size: 14px; color: var(--ink); animation: soon-in var(--med) var(--ease); }
.soon-pill { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
  border: 1px solid currentColor; padding: 1px 6px; margin-right: 6px; }
@keyframes soon-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.btn.small { font-size: 14px; padding: 7px 14px; min-height: 40px; }
.src-act { margin: 10px 0 0; }
.peek { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.peek li { position: relative; border: 1px solid var(--rule); background: var(--paper-2); }
.peek img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.peek .data-tag { position: absolute; left: 8px; top: 8px; margin: 0; background: var(--paper); color: var(--ink); }
@media (max-width: 960px) { .sec-label .data-tag { display: inline-block; margin: 0 0 0 10px; } }
@media (max-width: 640px) {
  .soon-bar-in { padding-top: 8px; padding-bottom: 8px; }
  .soon-bar { font-size: 13px; }
  .soon-bar p span { display: block; }
  .peek { grid-template-columns: 1fr; gap: 12px; }
  .signin-btn { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .soon-note { animation: none; } .soon-cta { transition: none; } }
@media print { .soon-bar, .soon-badge, .data-tag { display: none !important; } }
.src-act .btn { white-space: nowrap; }

/* Night: keep the coming-soon bar and closing band dark (no bright slab on a dark page) */
:root { --band-bg: var(--ink); --band-ink: var(--paper); }
[data-theme="night"] { --band-bg: #262027; --band-ink: #F2EDE8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) { --band-bg: #262027; --band-ink: #F2EDE8; } }
.soon-bar { background: var(--band-bg); color: var(--band-ink); border-bottom: 1px solid var(--rule); }
.soon-cta { color: var(--band-ink); }
.soon-cta:hover { background: var(--band-ink); color: var(--band-bg); }
.soon-bar :focus-visible { outline-color: var(--band-ink); }
