/* Soft hardware — warm panel, raised keys, amber backlit displays, LED ladders. */
:root {
  --bg: #e9e6df; --panel: #f3f1ec; --panel-hi: #fbfaf7; --panel-lo: #dcd8cf;
  --ink: #1d1c1a; --muted: #6e6a62; --line: #d6d1c6;
  --accent: #e2531f; --accent-hi: #f26a35; --accent-ink: #fff;
  --disp: #1e1610; --disp-2: #2b1f15; --amber: #ffb54a; --amber-dim: #7a5221; --amber-glow: rgba(255, 170, 60, .35);
  --led-g: #9be06a; --led-a: #ffc24a; --led-r: #ff5a3c; --led-off: #45331f;
  --ok: #e5ecd9; --okline: #b3c79a; --warn: #a2400f; --danger: #c0321f;
  --raise: 0 0 0 1px rgba(40,30,20,.06), 0 1px 2px rgba(40,30,20,.04);
  --raise-key: 0 0 0 1px rgba(40,30,20,.10), 0 1px 1px rgba(40,30,20,.06);
  --press: 0 0 0 1px rgba(40,30,20,.16), 0 1px 2px rgba(40,30,20,.08) inset;
  --inset: 0 0 0 1px rgba(40,30,20,.07) inset;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 9; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ---------- frame ---------- */
.top { max-width: 820px; margin: 0 auto; padding: 22px 16px 0; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 .82rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.onair { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 60%, transparent); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav a, .nav .linklike { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 999px; }
.nav a:hover, .nav .linklike:hover { color: var(--ink); background: var(--panel); box-shadow: var(--raise); }
.nav form { margin: 0; }
main { max-width: 820px; margin: 0 auto; padding: 24px 16px 72px; }
body.admin main, body.admin .top { max-width: 1080px; }
.foot { max-width: 820px; margin: 0 auto; padding: 24px 16px 48px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.foot a { color: var(--muted); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: .2em 0 .45em; }
h2 { font-size: 1.25rem; margin: 1.8em 0 .5em; letter-spacing: -.015em; }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.kicker, .label-mono { font: 700 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.kicker::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 6px var(--accent); }
.qsmall { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; margin-top: .3em; }
.small { font-size: .86rem; color: var(--muted); }
.hint { font-size: .85rem; color: var(--muted); margin: .5em 0 0; }
.note { font-size: .9rem; background: var(--panel); box-shadow: var(--inset); padding: 12px 16px; border-radius: 12px; }
.warn { color: var(--warn); font-weight: 500; }
.error { color: var(--danger); font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.principle { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; border-left: 3px solid var(--accent); padding-left: 16px; margin-top: 2em; }
.quiet-link { color: var(--muted); font-size: .92rem; margin-top: 40px; }
blockquote { margin: 1em 0; padding: 12px 18px; border-radius: 12px; background: var(--panel); box-shadow: var(--inset); }

/* ---------- question + week dial ---------- */
.question { margin: 36px 0 8px; padding: 28px 28px 22px; background: var(--panel); border-radius: 22px; box-shadow: var(--raise); }
.question h1 { font-size: clamp(2rem, 6vw, 3.1rem); margin: .35em 0 .3em; }
.intro { color: var(--muted); }
.deadline { font: 500 .78rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 12px 0 0; }
.dial { position: relative; margin: 22px 0 6px; padding: 10px 14px 12px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, var(--disp-2), var(--disp)); box-shadow: none; }
.dial-labels { display: flex; font: 500 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); text-shadow: 0 0 8px var(--amber-glow); }
.dial-labels span { flex: 1; text-align: center; }
.dial-ticks { display: flex; justify-content: space-between; align-items: flex-end; height: 14px; margin-top: 6px; }
.dial-ticks i { width: 1px; height: 6px; background: var(--amber-dim); }
.dial-ticks i.major { height: 12px; background: var(--amber); box-shadow: 0 0 4px var(--amber-glow); }
.dial-needle { position: absolute; top: 4px; bottom: 4px; left: calc(14px + (100% - 28px) * var(--pos, 0) / 100); width: 2px; background: var(--accent-hi); box-shadow: 0 0 10px var(--accent), 0 0 2px #fff; border-radius: 2px; }

/* ---------- contribute panel ---------- */
.contribute { background: var(--panel); border-radius: 22px; padding: 24px; margin: 22px 0; box-shadow: var(--raise); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend h2 { margin-top: 0; }
.modes { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: start; margin-bottom: 18px; }
.mode { min-width: 0; }
.mode-title { display: block; font: 700 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.or { align-self: center; font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) { .modes { grid-template-columns: 1fr; } .or { justify-self: center; } .question, .contribute { padding: 20px 18px; } }
textarea, input:not([type=checkbox]):not([type=radio]):not([type=file]), select {
  width: 100%; font: inherit; color: var(--ink); background: var(--panel-hi); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; box-shadow: var(--inset);
}
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: var(--inset), 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
textarea { resize: vertical; min-height: 9.5em; line-height: 1.55; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 1.1em; height: 1.1em; margin: 0 9px 0 0; vertical-align: -2px; }
.field { margin: 16px 0; }
.field > label, .label { display: block; font-weight: 600; margin-bottom: 7px; }
.radios { display: grid; gap: 8px; }
.radios label { font-weight: 400; padding: 10px 14px; border-radius: 12px; background: var(--panel-hi); box-shadow: var(--raise); cursor: pointer; }
.radios label:has(input:checked) { box-shadow: var(--press); background: var(--panel); }
.consent label { display: block; padding-left: 28px; text-indent: -28px; font-weight: 400; }

/* ---------- keys / buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--sans); border: 0; background: var(--panel-hi); color: var(--ink); border-radius: 12px; padding: 11px 18px; cursor: pointer; text-decoration: none; box-shadow: var(--raise-key); transition: transform .08s, box-shadow .08s; }
.btn:hover { color: var(--accent); }
.btn:active { transform: translateY(1px); box-shadow: var(--press); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.primary:hover { color: var(--accent-ink); filter: brightness(1.05); }
.btn.danger { color: var(--danger); }
.btn:disabled { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.actions { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 20px; }
.hp { position: absolute; left: -9999px; }

/* ---------- recorder deck ---------- */
.deck { background: var(--panel-lo); border-radius: 18px; padding: 12px; box-shadow: var(--inset); }
.display { border-radius: 12px; padding: 12px 14px 10px; background: radial-gradient(130% 160% at 50% 0%, var(--disp-2), var(--disp)); box-shadow: none; color: var(--amber); }
.display-row { display: flex; align-items: center; gap: 10px; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.display-state { flex: 1; text-shadow: 0 0 8px var(--amber-glow); }
.readout { font: 700 1.25rem var(--mono); letter-spacing: .02em; text-shadow: 0 0 10px var(--amber-glow); font-variant-numeric: tabular-nums; }
.readout .dim { font-size: .7rem; color: var(--amber-dim); text-shadow: none; margin-left: 2px; }
.lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--led-off); box-shadow: 0 0 0 1px rgba(0,0,0,.5); transition: background .15s, box-shadow .15s; }
.deck[data-state=rec] .lamp { background: var(--led-r); box-shadow: 0 0 10px var(--led-r); animation: blink 1s steps(2) infinite; }
.deck[data-state=ready] .lamp, .deck[data-state=play] .lamp { background: var(--led-g); box-shadow: 0 0 8px var(--led-g); }
.deck[data-state=silent] .lamp { background: var(--led-a); box-shadow: 0 0 8px var(--led-a); }
@keyframes blink { 50% { opacity: .25; } }
.ladder { display: grid; grid-template-columns: repeat(28, 1fr); gap: 3px; margin: 12px 0 4px; height: 14px; }
.ladder i { border-radius: 2px; background: var(--led-off); transition: background .06s, box-shadow .06s; }
.ladder i.on.g { background: var(--led-g); box-shadow: 0 0 6px var(--led-g); }
.ladder i.on.a { background: var(--led-a); box-shadow: 0 0 6px var(--led-a); }
.ladder i.on.r { background: var(--led-r); box-shadow: 0 0 6px var(--led-r); }
.ladder i.peak { background: var(--amber); }
.ladder-scale { display: flex; justify-content: space-between; font: 500 .58rem var(--mono); color: var(--amber-dim); letter-spacing: .06em; }
.deck-keys { display: flex; gap: 12px; padding: 14px 4px 4px; flex-wrap: wrap; }
.key { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font: 600 .9rem var(--sans); text-align: left; }
.key-face { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--panel-hi); box-shadow: var(--raise-key); transition: transform .08s, box-shadow .08s; }
.key:hover .key-face { box-shadow: var(--raise-key), 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.key:active .key-face { transform: translateY(1px); box-shadow: var(--press); }
.rec-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
.stop-sq { width: 16px; height: 16px; border-radius: 3px; background: var(--ink); }
.key-stop .key-face { box-shadow: var(--press); }
.key-label { max-width: 16em; }
.key:disabled { opacity: .5; cursor: not-allowed; }
.deck-playback { margin-top: 10px; }
.micpick { display: flex; align-items: center; gap: 8px; margin: 10px 4px 0; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.micpick select { width: auto; max-width: 100%; flex: 1; padding: 6px 10px; font: .85rem var(--sans); letter-spacing: 0; text-transform: none; }
.deck > .linklike { margin: 8px 4px 0; display: inline-block; }
.deck .hint { margin: 8px 4px 0; }

/* ---------- player (EQ) ---------- */
.player { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: var(--panel-lo); border-radius: 16px; padding: 10px; box-shadow: var(--inset); margin: 10px 0; }
.deck .player { background: none; box-shadow: none; padding: 0; margin: 0; }
.player-key { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--accent); box-shadow: 0 1px 2px color-mix(in srgb, var(--accent) 35%, transparent); transition: transform .08s; }
.player-key:active { transform: translateY(1px); }
.player-key svg { width: 18px; height: 18px; fill: var(--accent-ink); }
.player-screen { position: relative; border-radius: 10px; padding: 8px 10px 6px; background: radial-gradient(130% 160% at 50% 0%, var(--disp-2), var(--disp)); min-width: 0; }
.player-eq { display: block; width: 100%; height: 38px; }
.player-bar { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.player-time { font: 700 .74rem var(--mono); color: var(--amber); text-shadow: 0 0 8px var(--amber-glow); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-seek { position: relative; flex: 1; height: 16px; cursor: pointer; touch-action: none; }
.player-seek::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: repeating-linear-gradient(90deg, var(--amber-dim) 0 1px, transparent 1px 8px); }
.player-seek .fill { position: absolute; left: 0; top: 7px; height: 2px; background: var(--amber); box-shadow: 0 0 6px var(--amber-glow); }
.player-seek .needle { position: absolute; top: 0; width: 2px; height: 16px; margin-left: -1px; background: var(--accent-hi); box-shadow: 0 0 8px var(--accent); border-radius: 2px; }
.player-seek:focus-visible { outline-offset: 2px; }
.player audio { display: none; }

/* ---------- misc blocks ---------- */
.how { background: var(--panel); border-radius: 18px; padding: 6px 24px; margin: 28px 0; box-shadow: var(--raise); }
.how h2 { font: 700 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 1.3em; }
.how ul { padding-left: 1.1em; }
.latest { margin-top: 32px; }
.latest h2 { margin-top: .4em; }
.banner { background: var(--panel); border-radius: 16px; padding: 8px 20px; margin: 16px 0; box-shadow: var(--raise); }
.banner.ok { background: var(--ok); box-shadow: 0 0 0 1px var(--okline) inset; }
.banner h1 { font-size: 1.6rem; }
.linkbox { margin: 20px 0 28px; padding: 16px; border-radius: 16px; background: var(--panel); box-shadow: var(--raise); }
.linkbox label { font: 700 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.copyrow { display: flex; gap: 8px; }
.copyrow input { font-family: var(--mono); font-size: .8rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

.eplist { list-style: none; padding: 0; display: grid; gap: 12px; }
.eplist li { background: var(--panel); border-radius: 16px; padding: 16px 20px; box-shadow: var(--raise); }
.eplist a { text-decoration: none; color: var(--ink); display: block; }
.eplist strong { font-size: 1.2rem; letter-spacing: -.015em; display: block; margin-top: 2px; }
.eplist .date { font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eplist p { margin: .3em 0 0; color: var(--muted); }
.transcript { margin-top: 28px; }
.transcript summary { cursor: pointer; list-style: none; } .transcript summary h2 { display: inline; }

/* ---------- admin ---------- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; background: var(--panel); border-radius: 16px; box-shadow: var(--raise); overflow: hidden; }
.tbl th { font: 700 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font: 600 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--panel-lo); box-shadow: var(--inset); }
.pill.new { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 50%, transparent); }
.warnb { box-shadow: 0 0 0 1px var(--accent) inset; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.filters a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font: 500 .74rem var(--mono); letter-spacing: .04em; background: var(--panel); box-shadow: var(--raise); }
.filters a[aria-current] { background: var(--ink); color: var(--bg); box-shadow: var(--press); }
.cards { display: grid; gap: 14px; }
.card { background: var(--panel); border-radius: 16px; padding: 14px 18px; box-shadow: var(--raise); }
.card.done { opacity: .6; }
.card header { font: 500 .74rem var(--mono); color: var(--muted); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.row .field { margin: 8px 0; flex: 1 1 180px; }
.row .small-input { flex: 0 0 110px; }
.row .grow { flex: 3 1 300px; }
.stack { max-width: 720px; }
.narrow { max-width: 360px; }
.box { background: var(--panel); border-radius: 16px; padding: 4px 18px 14px; margin: 20px 0; box-shadow: var(--raise); }
details summary { cursor: pointer; color: var(--accent); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- recorder deck v2 ---------- */
.deck-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 10px; }
.deck-limit { font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.deck-limit strong { color: var(--ink); font-weight: 700; }
.tip { position: relative; display: inline-flex; }
.tip-btn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-hi); color: var(--muted); font: 700 .72rem var(--mono); cursor: help; display: grid; place-items: center; padding: 0; }
.tip-btn:hover, .tip.open .tip-btn { color: var(--accent); border-color: var(--accent); }
.tip-body { position: absolute; right: -6px; top: calc(100% + 10px); z-index: 5; width: min(300px, 78vw); padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--panel-hi); font: 400 .84rem/1.5 var(--sans); box-shadow: 0 8px 24px -10px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.tip-body strong { display: block; margin-bottom: 4px; color: #fff; }
.tip-body::before { content: ''; position: absolute; right: 12px; top: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.tip:hover .tip-body, .tip:focus-within .tip-body, .tip.open .tip-body { opacity: 1; visibility: visible; transform: none; }

.display-state { transition: color .2s; }
.deck[data-state=silent] .display-state, .deck[data-state=paused] .display-state { color: var(--led-a); }
.deck[data-state=paused] .lamp { background: var(--led-a); box-shadow: 0 0 8px var(--led-a); animation: none; }
.deck[data-state=arming] .lamp { background: var(--amber-dim); animation: blink .6s steps(2) infinite; }
.deck.is-over .readout { color: var(--accent-hi); text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 50%, transparent); }

.tape { position: relative; height: 6px; margin: 14px 0 16px; border-radius: 3px; background: var(--led-off); }
.tape-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: var(--amber); box-shadow: 0 0 6px var(--amber-glow); transition: width .2s linear; }
.deck.is-over .tape-fill { background: linear-gradient(90deg, var(--amber) 0 var(--ideal-at, 100%), var(--led-r) var(--ideal-at, 100%)); box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 60%, transparent); }
.tape-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--amber); border-radius: 1px; }
.tape-mark span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 2px; font: 700 .58rem var(--mono); color: var(--amber); letter-spacing: .04em; }

.key-pause .key-face, .key-stop .key-face { box-shadow: var(--raise-key); }
.pause-bars { width: 14px; height: 16px; background: linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 9px, var(--ink) 9px); }
.key-pause.is-paused .pause-bars { width: 0; height: 0; background: none; border-left: 14px solid var(--accent); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.key-rec .key-face { transition: transform .08s; }
.deck[data-state=arming] .key-rec { opacity: .6; }
.deck-keys .key-label { font-size: .88rem; }

.deck-playback { margin-top: 12px; display: grid; gap: 8px; justify-items: start; }
.deck-playback .player { width: 100%; }
.small-btn { padding: 7px 12px; font-size: .84rem; }
.deck-status { margin: 10px 4px 0; font-size: .86rem; color: var(--muted); min-height: 1.3em; }
.deck-status:empty { display: none; }
.deck-status[data-tone=warn] { color: var(--warn); }
.deck-status[data-tone=over] { color: var(--accent); font-weight: 500; }
.deck-status[data-tone=ok] { color: var(--ink); }
.micpick span { flex: none; }

/* ---------- playback state: one screen, quiet footer ---------- */
.deck[data-state=ready] .display { display: none; }
.deck[data-state=ready] .deck-playback { margin-top: 0; }

.deck-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 4px 0; }
.deck-foot .deck-status { margin: 0; flex: 1; }
.text-btn { flex: none; background: none; border: 0; padding: 6px 2px; font: 500 .84rem var(--sans); color: var(--muted); cursor: pointer; }
.text-btn:hover { color: var(--accent); }
.deck .player { grid-template-columns: 56px 1fr; gap: 14px; }
.deck .player-key { width: 56px; height: 56px; }
.deck .player-screen { padding: 12px 14px 10px; }
.deck .player-eq { height: 48px; }
.player-time[data-total] { opacity: .65; }

/* ---------- slide switch (reference: mono / stereo) ---------- */
.slide { position: relative; display: inline-grid; grid-template-rows: auto 34px; column-gap: 0; row-gap: 6px; }
.slide input { position: absolute; opacity: 0; pointer-events: none; }
.slide label { grid-row: 1; text-align: center; padding: 0 10px; font: 600 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: color .15s; user-select: none; }
.slide label:hover { color: var(--ink); }
.slide input:checked + label { color: var(--ink); }
.slide::before { content: ''; grid-row: 2; grid-column: 1 / -1; border-radius: 6px; background: var(--disp); }
.slide-thumb { grid-row: 2; grid-column: 1; margin: 3px; border-radius: 4px; background: var(--panel-hi); display: flex; align-items: center; justify-content: center; gap: 3px; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25); transition: transform .22s cubic-bezier(.3,.7,.2,1); }
.slide-thumb i { width: 2px; height: 12px; border-radius: 1px; background: var(--line); }
.slide-thumb i:nth-child(2) { background: var(--accent); }
.slide:has(input:nth-of-type(2):checked) .slide-thumb { transform: translateX(calc(100% + 6px)); }
.slide:has(input:nth-of-type(3):checked) .slide-thumb { transform: translateX(calc(200% + 12px)); }
.slide:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

.mode-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.modes { display: block; margin-bottom: 18px; }
.contribute:has(#_mode-audio:checked) .mode-text, .contribute:has(#_mode-text:checked) .mode-audio { display: none; }
.mode-text textarea { min-height: 12em; }
.field .slide { margin-top: 4px; }

/* ---------- toggle switch (reference: orange on/off) ---------- */
input.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 40px; height: 22px; margin: 1px 0 0; border-radius: 6px; background: var(--disp); cursor: pointer; transition: background .2s; vertical-align: middle; }
input.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 4px; background: var(--panel-hi);
  background-image: linear-gradient(90deg, transparent 6px, var(--line) 6px 7px, transparent 7px 9px, var(--line) 9px 10px, transparent 10px); transition: transform .2s cubic-bezier(.3,.7,.2,1); }
input.switch:checked { background: var(--accent); }
input.switch:checked::after { transform: translateX(18px); }
input.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent label, .switch-row { display: flex; gap: 12px; align-items: flex-start; padding-left: 0; text-indent: 0; cursor: pointer; }
.slide-2 { grid-template-columns: repeat(2, minmax(110px, auto)); }
.slide-3 { grid-template-columns: repeat(3, minmax(96px, auto)); }
.slide-mode { grid-template-columns: repeat(2, 150px); }
.slide-mode label { font-size: .8rem; }
@media (max-width: 520px) { .mode-switch .slide, .field .slide { width: 100%; grid-template-columns: repeat(var(--n, 2), 1fr); } .slide-3 { grid-template-columns: repeat(3, 1fr); } .slide-2 { grid-template-columns: repeat(2, 1fr); } }
.slide-7 { grid-template-columns: repeat(7, minmax(76px, auto)); }
.slide-7 label { font-size: .66rem; letter-spacing: .04em; padding: 0 4px; }
.slide:has(input:nth-of-type(4):checked) .slide-thumb { transform: translateX(calc(300% + 18px)); }
.slide:has(input:nth-of-type(5):checked) .slide-thumb { transform: translateX(calc(400% + 24px)); }
.slide:has(input:nth-of-type(6):checked) .slide-thumb { transform: translateX(calc(500% + 30px)); }
.slide:has(input:nth-of-type(7):checked) .slide-thumb { transform: translateX(calc(600% + 36px)); }
.status-field { flex: 1 1 100% !important; display: grid; gap: 6px; overflow-x: auto; }
.slide-status input[value=exclusa]:checked ~ .slide-thumb i:nth-child(2), .slide-status input[value=retrasa]:checked ~ .slide-thumb i:nth-child(2) { background: var(--muted); }
.slide-status input[value=selectata]:checked ~ .slide-thumb i:nth-child(2), .slide-status input[value=publicata]:checked ~ .slide-thumb i:nth-child(2) { background: var(--led-g); }

/* admin filters as one segmented track */
.filters { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 8px; background: var(--disp); }
.filters a { padding: 6px 12px; border-radius: 5px; background: none; box-shadow: none; color: var(--amber); font: 600 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.filters a:hover { color: #fff; }
.filters a[aria-current] { background: var(--panel-hi); color: var(--ink); box-shadow: none; }
.btn.primary:disabled { background: var(--panel-lo); color: var(--muted); box-shadow: 0 0 0 1px var(--line) inset; cursor: not-allowed; opacity: 1; }
.next-hint { margin-left: 14px; font-size: .86rem; color: var(--muted); }
.card textarea { min-height: 3.2em; }
.card .row .field > label { font: 700 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card .row { align-items: flex-end; }

/* ================= polish pass ================= */
/* nav current */
.nav a[aria-current] { color: var(--ink); background: var(--panel); box-shadow: var(--raise); }

/* content pages sit on a sheet, like the home panels */
.sheet { background: var(--panel); border-radius: 22px; padding: 30px 32px 28px; box-shadow: var(--raise); margin-top: 12px; }
.sheet > h1:first-child { margin-top: 0; }
.prose { max-width: none; }
.prose p, .prose li { max-width: 64ch; }
.prose h2 { font: 700 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 2.4em 0 .8em; }
.prose ol, .prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); font-family: var(--mono); font-size: .85em; }
.sheet .stack { max-width: 560px; }
@media (max-width: 720px) { .sheet { padding: 22px 18px; } }

/* stepper */
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 20px; font: 600 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper li + li::before { content: ''; width: 22px; height: 1px; background: var(--line); margin-right: 2px; }
.stepper span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-lo); font-size: .66rem; letter-spacing: 0; }
.stepper [aria-current] { color: var(--ink); }
.stepper [aria-current] span { background: var(--accent); color: var(--accent-ink); }
.stepper .done span { background: var(--disp); color: var(--amber); }
@media (max-width: 420px) { .stepper li:not([aria-current]) { font-size: 0; gap: 0; } .stepper li:not([aria-current]) span { font-size: .66rem; } }

/* step 2 summary */
.summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: var(--panel-lo); margin-bottom: 6px; font-size: .92rem; }
.summary [data-summary-text] { flex: 1; font-weight: 500; }
.summary [data-summary-text]::first-letter { text-transform: uppercase; }
.step-title { margin-top: 1.2em; }

/* mode switch: dot on a tab that already holds an answer, soft fade between tabs */
.slide label.has::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.mode { animation: tab-in .18s ease-out; }
@keyframes tab-in { from { opacity: 0; transform: translateY(4px); } }
.mode-switch .label-mono { font-size: .74rem; }
.slide-4 { grid-template-columns: repeat(4, minmax(92px, auto)); }
@media (max-width: 520px) { .slide-4 { grid-template-columns: repeat(4, 1fr); } .slide-4 label, .slide-3 label { font-size: .66rem; letter-spacing: .02em; padding: 0 2px; } .mode-switch { flex-direction: column; align-items: stretch; gap: 10px; } }

/* record key: the one obvious thing to press */
.deck[data-state=idle] .deck-keys, .deck[data-state=silent] .deck-keys, .deck[data-state=arming] .deck-keys { padding: 18px 6px 8px; }
.key-rec .key-face { width: 64px; height: 64px; }
.key-rec .rec-dot { width: 22px; height: 22px; }
.key-label strong { display: block; font-weight: 600; }
.key-label small { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.key:hover .key-face { box-shadow: var(--raise-key), 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }

/* inline alerts */
.error { display: flex; gap: 10px; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--danger) 8%, var(--panel-hi)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--danger) 30%, transparent) inset; font-weight: 500; font-size: .92rem; }
.error::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); transform: translateY(-1px); }
.linkbox .warn { font-size: .88rem; font-weight: 400; margin: 10px 0 0; }
.danger-link { color: var(--danger); text-decoration: none; }
.danger-link:hover { color: var(--danger); text-decoration: underline; }
.actions .text-btn { padding-left: 0; }

/* selects get the same field look, with our own chevron */
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

/* small screens: tables scroll inside their card */
@media (max-width: 720px) { .tbl { display: block; overflow-x: auto; white-space: nowrap; } }
.banner.ok h1 { margin-top: .5em; }
.key-rec .key-label { max-width: none; }
h1, h2 { text-wrap: balance; }

/* ================= admin polish ================= */
.admin main { padding-top: 16px; }
.login { max-width: 400px; margin: 48px auto 0; }
.login .btn.primary { width: 100%; justify-content: center; margin-top: 4px; }
.crumb { margin: 0 0 4px; font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.crumb a { color: var(--muted); text-decoration: none; } .crumb a:hover { color: var(--accent); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 14px; }
.section-head h1 { margin: 0; font-size: 1.6rem; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.meta-actions { margin-left: auto; display: flex; gap: 16px; }
.meta-actions a { font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
details.box { padding: 0 20px; }
details.box > summary { list-style: none; padding: 14px 0; color: var(--ink); }
details.box > summary::-webkit-details-marker { display: none; }
details.box > summary h2 { display: inline; margin: 0; font-size: 1rem; }
details.box > summary::before { content: '+'; display: inline-block; width: 1.3em; font: 700 1rem var(--mono); color: var(--accent); }
details.box[open] > summary::before { content: '–'; }
details.box[open] { padding-bottom: 18px; }

/* alerts + "now" panel */
.alerts { display: grid; gap: 8px; margin: 8px 0 18px; }
.alert { display: block; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 9%, var(--panel-hi)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent) inset; color: var(--ink); text-decoration: none; font-size: .92rem; }
.alert strong { color: var(--accent); }
.alert.soft { background: var(--panel); box-shadow: var(--raise); }
.alert.soft strong { color: var(--ink); }
.alert:hover { box-shadow: 0 0 0 1px var(--accent) inset; }
.now { background: var(--disp); color: var(--amber); border-radius: 20px; padding: 20px 22px; margin-bottom: 10px; }
.now .kicker { color: var(--amber); }
.now .kicker::before { background: var(--led-r); box-shadow: 0 0 8px var(--led-r); animation: blink 1.6s steps(2) infinite; }
.now h2 { margin: .3em 0 16px; font-size: 1.45rem; }
.now h2 a { color: #fff3e0; text-decoration: none; } .now h2 a:hover { text-decoration: underline; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px rgba(255,181,74,.14) inset; text-decoration: none; color: var(--amber); }
.tile:hover { background: rgba(255,255,255,.08); }
.tile-n { font: 700 1.9rem/1 var(--mono); text-shadow: 0 0 10px var(--amber-glow); }
.tile-l { font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--amber) 70%, transparent); }
.tile.hot .tile-n { color: var(--accent-hi); text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* status pills */
.pill-activă, .pill-publicat { background: var(--led-g); color: #173a0c; box-shadow: none; }
.pill-programată, .pill-programat { background: var(--led-a); color: #4a3200; box-shadow: none; }
.pill-închisă { background: var(--disp); color: var(--amber); box-shadow: none; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl tr.st-ciornă td:first-child a { color: var(--muted); }
.tbl td a { text-decoration: none; font-weight: 500; } .tbl td a:hover { text-decoration: underline; }
.tbl tbody tr:hover { background: var(--panel-hi); }

/* tags */
.tag { display: inline-block; font: 600 .64rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; background: var(--panel-lo); color: var(--muted); vertical-align: 1px; }
.tag-audio { background: var(--disp); color: var(--amber); }
.tag-ok { background: color-mix(in srgb, var(--led-g) 30%, var(--panel-hi)); color: #2c5418; }
.tag-hot { background: color-mix(in srgb, var(--accent) 16%, var(--panel-hi)); color: var(--accent); }

.filters a.empty:not([aria-current]) { opacity: .45; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 16px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line) inset; }
.montaj { font-size: .9rem; color: var(--muted); margin: 0 0 4px; } .montaj strong { color: var(--ink); }

/* answer cards */
.card.ans { padding: 16px 20px 12px; position: relative; }
.card.ans::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; }
.card.ans.st-noua::before { background: var(--accent); }
.card.ans.st-selectata::before { background: var(--led-g); }
.card.ans.st-exclusa, .card.ans.st-retrasa { opacity: .62; }
.card.ans.st-exclusa:hover, .card.ans.st-exclusa:focus-within { opacity: 1; }
.ans-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: inherit; color: var(--ink); }
.ans-who { display: inline-flex; align-items: center; gap: 6px; } .ans-who strong { font-size: 1rem; }
.ans-kind { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.ans-meta { margin-left: auto; font: 500 .7rem var(--mono); color: var(--muted); }
.order-badge { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--led-g); color: #173a0c; font: 700 .8rem var(--mono); }
.ctext { font-size: 1.02rem; line-height: 1.65; margin: 10px 0 4px; max-width: 70ch; }
.ctext p { margin: .4em 0; }
.ans-audio { display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; }
.ans-audio .player { flex: 1; margin: 0; }
.ans-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ans-form .status-field { overflow-x: auto; }
.slide-6 { grid-template-columns: repeat(6, minmax(84px, 1fr)); }
.slide-status { width: 100%; }
.slide-status label { font-size: .64rem; letter-spacing: .04em; padding: 0 2px; }
.ans-notes { display: flex; gap: 10px; align-items: flex-end; }
.ans-notes label { display: grid; gap: 4px; }
.ans-notes .grow { flex: 1; }
.ans-notes .small-input { width: 84px; }
.ans-notes textarea { min-height: 40px; resize: none; overflow: hidden; line-height: 1.45; padding: 9px 12px; font-size: .92rem; }
.ans-notes input { padding: 9px 10px; }
.ans-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.saved { font: 600 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); min-height: 1em; }
.saved[data-state=ok] { color: #3d7a1f; }
.saved[data-state=err] { color: var(--danger); }
@media (max-width: 640px) { .ans-meta { margin-left: 0; width: 100%; } .ans-notes { flex-direction: column; align-items: stretch; } .ans-notes .small-input { width: 100%; } }

.searchbar { display: flex; gap: 8px; margin: 12px 0 18px; }
.searchbar input { flex: 1; }
.prop-text { font-size: 1.05rem; font-weight: 600; margin: 4px 0 10px; }

/* =====================================================================
   Soft hardware · v2 · extended set
   Tokens and recipes taken from Max's "Components · Extended" canvas:
   warm white bodies lit from the top, wide soft shadows, one glowing
   orange signal. Everything below overrides the earlier, flatter pass.
   ===================================================================== */
:root {
  --bg: #F4F3F0; --panel: #F8F7F5; --panel-hi: #FBFAF8; --panel-lo: #E6E4E0;
  --ink: #2C2B29; --muted: #62605C; --label: #6A6864; --faint: #B9B2AC; --line: #DCD9D4;
  --accent: #E2552A; --accent-strong: #C8461F; --accent-hi: #FF6A00; --accent-soft: #F7DDD3; --accent-ink: #fff;
  --led-off: #D4D4D4; --engrave: #8A8884;
  --g-body: linear-gradient(180deg, #F9F8F6 0%, #F0EEEA 100%);
  --g-concave: linear-gradient(180deg, #E8E6E2 0%, #F2F1EE 100%);
  --g-accent: linear-gradient(180deg, #E65C30 0%, #DC5025 100%);
  --g-bezel: linear-gradient(180deg, #F6F5F2, #ECEAE6);
  --g-well: linear-gradient(180deg, #E5E3DF, #EFEDEA);
  --sh-float: 0 1px 1px rgba(0,0,0,.04), 0 12px 28px -14px rgba(0,0,0,.22);
  --sh-float-sm: 0 1px 1px rgba(0,0,0,.06), 0 4px 10px -5px rgba(0,0,0,.22);
  --sh-edge: inset 0 1px 0 rgba(255,255,255,.85);
  --sh-edge-2: inset 0 2px 0 #fff;
  --sh-well: inset 0 1px 3px rgba(0,0,0,.14), 0 1px 0 #fff;
  --sh-glow: 0 0 10px rgba(255,106,0,.45);
  --raise: var(--sh-float), var(--sh-edge-2);
  --raise-key: var(--sh-float-sm), var(--sh-edge);
  --press: inset 0 1px 3px rgba(0,0,0,.14);
  --inset: inset 0 1px 3px rgba(0,0,0,.14), 0 1px 0 #fff;
  --mono: 'Inter', system-ui, sans-serif;           /* labels: Inter bold, tracked */
  --display: 'Share Tech Mono', ui-monospace, monospace; /* readouts only */
}
body { background: var(--bg); color: var(--ink); }

/* type: medium-weight headings, tracked bold labels */
h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); }
.question h1 { font-size: clamp(2.1rem, 5.6vw, 3.2rem); font-weight: 500; letter-spacing: -.025em; }
.kicker, .label-mono, .mode-title, .deck-limit, .crumb, .tile-l, .stepper, .slide label, .tag, .pill,
.filters a, .nav a, .nav .linklike, .brand, .tbl th, .linkbox label, .how h2, .prose h2, .meta-actions a, .saved, .micpick, .ladder-scale, .display-row, .tape-mark span {
  font-family: var(--sans); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.kicker { font-size: .72rem; letter-spacing: .32em; color: var(--label); }
.kicker::before { width: 7px; height: 7px; background: var(--g-accent); box-shadow: var(--sh-glow); }
.brand { font-size: .74rem; letter-spacing: .24em; }
.onair { background: var(--g-accent); box-shadow: var(--sh-glow); }
.label-mono, .mode-title { font-size: .7rem; color: var(--label); }
.hint, .small { color: var(--muted); }

/* surfaces: warm white bodies lit from the top */
.question, .contribute, .sheet, .how, .linkbox, .banner, .card, .box, .tbl, .eplist li, .alert.soft, .summary {
  background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); border-radius: 26px;
}
.tbl { border-radius: 20px; }
.card, .banner, .alert.soft, .summary { border-radius: 20px; }
.banner.ok { background: linear-gradient(180deg, #F3F6EE, #E9EEE2); box-shadow: var(--sh-float), var(--sh-edge-2); }
.summary { box-shadow: var(--sh-well); background: var(--g-well); }
.note, blockquote { background: var(--g-well); box-shadow: var(--sh-well); border-radius: 16px; }
.alert { border-radius: 16px; background: linear-gradient(180deg, #FBEDE6, #F7DDD3); box-shadow: var(--sh-float-sm), var(--sh-edge); }

/* fields sit in wells */
textarea, input:not([type=checkbox]):not([type=radio]):not([type=file]), select {
  background: var(--g-well); border: 0; border-radius: 16px; box-shadow: var(--sh-well); padding: 12px 14px;
}
textarea:focus, input:focus, select:focus { box-shadow: var(--sh-well), 0 0 0 3px var(--accent-soft); }

/* buttons: orange gradient with glow; secondary = raised body pill */
.btn { border-radius: 99px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); padding: 11px 20px; font-weight: 600; }
.btn:hover { color: var(--accent-strong); }
.btn:active { transform: translateY(1px); box-shadow: var(--press); background: var(--g-concave); }
.btn.primary { background: var(--g-accent); color: #fff; box-shadow: 0 12px 22px -10px rgba(226,94,0,.55), 0 4px 8px rgba(184,74,0,.2), inset 0 2px 0 rgba(255,200,150,.6); }
.btn.primary:hover { color: #fff; filter: brightness(1.04); }
.btn.primary:active { box-shadow: inset 0 6px 14px rgba(120,40,0,.45), 0 4px 8px rgba(184,74,0,.2); transform: translateY(2px); }
.btn.primary:disabled { background: var(--g-well); color: var(--faint); box-shadow: var(--sh-well); filter: none; }
.small-btn { padding: 7px 14px; }

/* nav: pills, the current one raised */
.nav a, .nav .linklike { font-size: .66rem; border-radius: 99px; padding: 8px 14px; color: var(--label); }
.nav a:hover, .nav .linklike:hover, .nav a[aria-current] { background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); color: var(--ink); }

/* segmented switch: light well, raised pill, LED dot per option */
.slide { display: grid; grid-template-rows: 48px; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 6px; border-radius: 22px; background: var(--g-well); box-shadow: var(--sh-well); row-gap: 0; position: relative; }
.slide::before { content: none; }
.slide label { grid-row: 1; align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 8px; z-index: 1; padding: 0 12px; font-size: .68rem; color: var(--label); white-space: nowrap; }
.slide label::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 99px; background: var(--led-off); transition: background .2s, box-shadow .2s; }
.slide input:checked + label { color: var(--ink); }
.slide input:checked + label::before { background: var(--g-accent); box-shadow: 0 0 0 1px rgba(0,0,0,.08), var(--sh-glow); }
.slide label.has::after { content: none; }
.slide-thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; margin: 0; width: calc((100% - 12px) / var(--n, 2)); border-radius: 17px; background: var(--g-body); box-shadow: 0 12px 22px -6px rgba(0,0,0,.18), var(--sh-edge); }
.slide-thumb i { display: none; }
.slide-2 { --n: 2; grid-template-columns: repeat(2, 1fr); } .slide-3 { --n: 3; grid-template-columns: repeat(3, 1fr); }
.slide-4 { --n: 4; grid-template-columns: repeat(4, 1fr); } .slide-6 { --n: 6; grid-template-columns: repeat(6, 1fr); } .slide-7 { --n: 7; grid-template-columns: repeat(7, 1fr); }
.slide:has(input:nth-of-type(2):checked) .slide-thumb { transform: translateX(100%); }
.slide:has(input:nth-of-type(3):checked) .slide-thumb { transform: translateX(200%); }
.slide:has(input:nth-of-type(4):checked) .slide-thumb { transform: translateX(300%); }
.slide:has(input:nth-of-type(5):checked) .slide-thumb { transform: translateX(400%); }
.slide:has(input:nth-of-type(6):checked) .slide-thumb { transform: translateX(500%); }
.slide:has(input:nth-of-type(7):checked) .slide-thumb { transform: translateX(600%); }
.slide:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 24px; }
.slide-mode { grid-template-columns: repeat(2, 170px); }
.slide-mode label { font-size: .7rem; }
.slide-mode label.has::after { content: ''; width: 5px; height: 5px; margin-left: 2px; border-radius: 99px; background: var(--accent); }
.slide-status { width: 100%; }
.slide-status label { padding: 0 4px; font-size: .6rem; letter-spacing: .1em; gap: 6px; }
.slide-status input[value=selectata]:checked + label::before, .slide-status input[value=publicata]:checked + label::before { background: #8FD16A; box-shadow: 0 0 8px rgba(120,200,80,.6); }
.slide-status input[value=exclusa]:checked + label::before { background: var(--engrave); box-shadow: none; }
@media (max-width: 520px) { .slide-mode, .mode-switch .slide, .field .slide { width: 100%; grid-template-columns: repeat(var(--n), 1fr); } .slide label { padding: 0 4px; letter-spacing: .1em; } }

/* toggle: well with orange fill, round white knob */
input.switch { width: 52px; height: 30px; border-radius: 99px; background: var(--g-well); box-shadow: var(--sh-well); margin-top: -2px; }
input.switch::after { top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 99px; background: var(--g-body); box-shadow: 0 6px 10px -3px rgba(0,0,0,.28), var(--sh-edge); }
input.switch:checked { background: var(--g-accent); box-shadow: inset 0 2px 6px rgba(120,40,0,.35); }
input.switch:checked::after { transform: translateX(22px); }

/* stepper */
.stepper span { background: var(--g-well); box-shadow: var(--sh-well); color: var(--label); }
.stepper [aria-current] span { background: var(--g-accent); color: #fff; box-shadow: var(--sh-glow); }
.stepper .done span { background: var(--g-body); color: var(--accent-strong); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.stepper li + li::before { background: var(--line); }

/* ---------- recorder deck: light console, orange LEDs ---------- */
.deck { background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); border-radius: 26px; padding: 16px; }
.display { background: var(--g-well); box-shadow: var(--sh-well); border-radius: 20px; padding: 14px 18px 12px; color: var(--label); }
.display-row { font-size: .66rem; color: var(--label); }
.display-state { text-shadow: none; }
.deck[data-state=silent] .display-state, .deck[data-state=paused] .display-state { color: var(--accent-strong); }
.readout { font: 400 2rem/1 var(--display); color: var(--engrave); letter-spacing: .02em; text-shadow: 0 1px 0 #fff; }
.deck.is-over .readout { color: var(--accent-strong); text-shadow: 0 1px 0 #fff; }
.lamp { width: 8px; height: 8px; background: var(--led-off); box-shadow: inset 0 1px 2px rgba(0,0,0,.12); }
.deck[data-state=rec] .lamp { background: var(--g-accent); box-shadow: var(--sh-glow); }
.deck[data-state=ready] .lamp, .deck[data-state=play] .lamp { background: var(--g-accent); box-shadow: var(--sh-glow); animation: none; }
.deck[data-state=silent] .lamp, .deck[data-state=paused] .lamp { background: #FFB238; box-shadow: 0 0 8px rgba(255,178,56,.6); }
.deck[data-state=arming] .lamp { background: var(--faint); }
.ladder { height: 30px; gap: 4px; margin: 14px 0 6px; }
.ladder i { border-radius: 7px; background: var(--led-off); box-shadow: inset 0 2px 3px rgba(0,0,0,.1); }
.ladder i.on.g, .ladder i.on.a { background: var(--g-accent); box-shadow: var(--sh-glow); }
.ladder i.on.r { background: linear-gradient(180deg, #FF7A1A, #FF5A00); box-shadow: 0 0 12px rgba(255,90,0,.6); }
.ladder i.peak { background: var(--accent-strong); box-shadow: none; }
.ladder-scale { font-size: .56rem; letter-spacing: .1em; color: var(--faint); }
.tape { height: 10px; border-radius: 99px; background: var(--g-well); box-shadow: inset 0 3px 6px rgba(0,0,0,.08), 0 1px 0 #fff; margin: 16px 0 20px; }
.tape-fill { border-radius: 99px; background: var(--g-accent); box-shadow: none; }
.deck.is-over .tape-fill { background: linear-gradient(90deg, #E65C30 0 var(--ideal-at, 100%), #FF5A00 var(--ideal-at, 100%)); box-shadow: var(--sh-glow); }
.tape-mark { top: -5px; bottom: -5px; width: 3px; background: var(--accent-strong); }
.tape-mark span { color: var(--accent-strong); font-size: .56rem; margin-top: 4px; letter-spacing: .1em; }
.deck-head { padding: 0 4px 12px; }
.deck-limit { font-size: .64rem; color: var(--label); }
.deck-limit strong { color: var(--ink); }
.tip-btn { width: 24px; height: 24px; border: 0; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); color: var(--label); font-family: var(--sans); }
.tip-btn:hover, .tip.open .tip-btn { color: var(--accent-strong); }

/* transport keys: keycaps in a bezel */
.key-face { width: 60px; height: 60px; border-radius: 22px; background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); }
.key-rec .key-face { width: 76px; height: 76px; border-radius: 26px; background: var(--g-accent); box-shadow: 0 22px 34px -10px rgba(226,94,0,.55), 0 6px 12px rgba(184,74,0,.25), inset 0 2px 0 rgba(255,200,150,.6); }
.key-rec .rec-dot { width: 22px; height: 22px; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.key:hover .key-face { box-shadow: var(--sh-float), var(--sh-edge-2); filter: brightness(1.03); }
.key-rec:hover .key-face { box-shadow: 0 22px 34px -10px rgba(226,94,0,.65), 0 6px 12px rgba(184,74,0,.25), inset 0 2px 0 rgba(255,200,150,.6); }
.key:active .key-face { transform: translateY(2px); box-shadow: var(--press); }
.key-rec:active .key-face { box-shadow: inset 0 6px 14px rgba(120,40,0,.45), 0 4px 8px rgba(184,74,0,.2); }
.key-stop .key-face, .key-pause .key-face { box-shadow: var(--sh-float), var(--sh-edge-2); }
.stop-sq { background: var(--accent-strong); border-radius: 4px; }
.pause-bars { background: linear-gradient(90deg, var(--accent-strong) 0 5px, transparent 5px 9px, var(--accent-strong) 9px); }
.deck[data-state=rec] .key-stop .key-face { box-shadow: var(--sh-float), var(--sh-edge-2), 0 0 0 3px var(--accent-soft); }
.key-label small { color: var(--muted); }
.micpick { font-size: .62rem; color: var(--label); }

/* ---------- player: orange play key, light well with LED EQ ---------- */
.player { background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); border-radius: 26px; padding: 12px; gap: 14px; }
.deck .player { background: none; box-shadow: none; padding: 0; }
.player-key { width: 56px; height: 56px; border-radius: 20px; background: var(--g-accent); box-shadow: 0 14px 22px -8px rgba(226,94,0,.55), 0 4px 8px rgba(184,74,0,.2), inset 0 2px 0 rgba(255,200,150,.6); }
.player-key:active { box-shadow: inset 0 6px 14px rgba(120,40,0,.45); transform: translateY(2px); }
.player-screen { background: var(--g-well); box-shadow: var(--sh-well); border-radius: 18px; padding: 10px 14px 8px; --amber: #E65C30; --led-off: #D9D6D1; --led-r: #FF5A00; }
.player-time { font: 400 .95rem var(--display); color: var(--engrave); text-shadow: 0 1px 0 #fff; }
.player-time[data-total] { opacity: 1; color: var(--faint); }
.player-seek::before { top: 6px; height: 4px; border-radius: 99px; background: var(--led-off); box-shadow: inset 0 1px 2px rgba(0,0,0,.1); }
.player-seek .fill { top: 6px; height: 4px; border-radius: 99px; background: var(--g-accent); box-shadow: none; }
.player-seek .needle { top: -2px; width: 18px; height: 20px; margin-left: -9px; border-radius: 8px; background: var(--g-body); box-shadow: 0 6px 10px -3px rgba(0,0,0,.25), var(--sh-edge); }
.player-seek .needle::after { content: ''; position: absolute; left: 8px; top: 5px; width: 2px; height: 10px; border-radius: 2px; background: var(--accent); }

/* week dial stays a tuner (Pro Audio set), just softened into the light frame */
.dial { border-radius: 16px; box-shadow: 0 1px 0 #fff, inset 0 2px 8px rgba(0,0,0,.35); }
.dial-labels { font-family: var(--display); font-size: .8rem; letter-spacing: .1em; }

/* tags, pills, filters */
.tag { font-size: .58rem; letter-spacing: .12em; border-radius: 99px; padding: 3px 8px; background: var(--g-well); box-shadow: var(--sh-well); color: var(--label); }
.tag-audio { background: var(--g-accent); color: #fff; box-shadow: var(--sh-glow); }
.tag-ok { background: var(--g-body); color: #3d7a1f; box-shadow: var(--sh-float-sm), var(--sh-edge); }
.tag-hot { background: linear-gradient(180deg, #FBEDE6, #F7DDD3); color: var(--accent-strong); box-shadow: none; }
.pill { font-size: .58rem; letter-spacing: .14em; border-radius: 99px; padding: 4px 10px; background: var(--g-well); box-shadow: var(--sh-well); color: var(--label); }
.pill.new { background: var(--g-accent); color: #fff; box-shadow: var(--sh-glow); }
.pill-activă, .pill-publicat { background: var(--g-body); color: var(--ink); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.pill-activă::before, .pill-publicat::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 99px; background: var(--g-accent); box-shadow: var(--sh-glow); vertical-align: 1px; }
.pill-programată, .pill-programat { background: var(--g-body); color: var(--label); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.pill-închisă { background: var(--g-well); color: var(--label); box-shadow: var(--sh-well); }
.filters { padding: 6px; gap: 4px; border-radius: 22px; background: var(--g-well); box-shadow: var(--sh-well); }
.filters a { padding: 9px 14px; border-radius: 17px; color: var(--label); font-size: .6rem; letter-spacing: .12em; }
.filters a:hover { color: var(--ink); }
.filters a[aria-current] { background: var(--g-body); color: var(--ink); box-shadow: 0 12px 22px -6px rgba(0,0,0,.18), var(--sh-edge); }

/* admin "now" panel becomes a light console with engraved numerals */
.now { background: var(--g-bezel); color: var(--ink); box-shadow: var(--sh-float), var(--sh-edge-2); border-radius: 26px; }
.now .kicker { color: var(--label); }
.now .kicker::before { background: var(--g-accent); box-shadow: var(--sh-glow); }
.now h2 a { color: var(--ink); }
.tile { background: var(--g-well); box-shadow: var(--sh-well); border-radius: 20px; color: var(--ink); padding: 14px 16px; }
.tile:hover { background: var(--g-concave); }
.tile-n { font: 400 2.4rem/1 var(--display); color: var(--engrave); text-shadow: 0 1px 0 #fff; }
.tile-l { font-size: .6rem; color: var(--label); }
.tile.hot .tile-n { color: var(--accent-strong); text-shadow: 0 1px 0 #fff; }
.order-badge { background: var(--g-accent); color: #fff; box-shadow: var(--sh-glow); font-family: var(--display); font-weight: 400; }
.card.ans::before { width: 4px; border-radius: 0 4px 4px 0; }
.card.ans.st-noua::before { background: var(--g-accent); box-shadow: var(--sh-glow); }
.card.ans.st-selectata::before { background: #8FD16A; }
.ans-form { border-top: 0; padding-top: 4px; }

/* misc */
.empty-state { box-shadow: var(--sh-well); background: var(--g-well); border-radius: 20px; }
.error { border-radius: 16px; background: linear-gradient(180deg, #FBEDE6, #F7DDD3); box-shadow: none; color: var(--accent-strong); }
.error::before { background: var(--g-accent); box-shadow: var(--sh-glow); }
.text-btn { font-weight: 600; color: var(--label); }
.text-btn:hover { color: var(--accent-strong); }
details.box > summary::before { color: var(--accent); }
hr { border-top-color: var(--line); }
.foot { border-top: 0; }
.slide-thumb { background: linear-gradient(180deg, #FFFFFF 0%, #F4F2EE 100%); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 10px 20px -6px rgba(0,0,0,.22), inset 0 2px 0 #fff; }
.slide { background: linear-gradient(180deg, #E2E0DB, #ECEAE6); }
.slide-thumb { grid-row: auto; grid-column: auto; }

/* =====================================================================
   Cassette deck (Soft hardware · v3 · cassette & vinyl)
   One console records and plays back: bay with reels, VU meter,
   drum tape counter, piano keys on a brushed-aluminium plate.
   ===================================================================== */
:root {
  --g-alu: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px), linear-gradient(180deg, #F2F1ED 0%, #E8E6E1 100%);
  --g-chrome: linear-gradient(90deg, #DDDAD3, #F6F5F1 50%, #DDDAD3);
  --g-keycap: linear-gradient(180deg, #FAF9F7, #EEECE8);
  --keylip: #D6D3CC;
  --sh-metal: 0 1px 1px rgba(0,0,0,.05), 0 8px 20px -12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.85);
  --engrave-panel: #474644;
}
.deck { background: var(--g-alu); box-shadow: var(--sh-float), var(--sh-edge-2); border-radius: 26px; padding: 18px 18px 14px; }
.deck-face { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; align-items: stretch; }

/* bay + cassette */
.bay { padding: 9px; border-radius: 10px; background: var(--g-alu); box-shadow: var(--sh-metal); }
.bay-win { position: relative; height: 100%; min-height: 150px; border-radius: 7px; background: linear-gradient(180deg, #0F0F10, #1C1C1E); box-shadow: inset 0 6px 14px rgba(0,0,0,.9); display: grid; place-items: center; overflow: hidden; }
.cass { position: relative; width: 86%; border-radius: 8px; padding: 10px 0 12px; background: linear-gradient(180deg, #2A2A2C, #202022); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); display: grid; justify-items: center; gap: 8px; }
.cass-label { width: 88%; height: 24px; border-radius: 3px; background: linear-gradient(90deg, #E9E2D0, #F4EEDF); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 9px; font: 400 .72rem var(--display); color: #5A4A3A; white-space: nowrap; overflow: hidden; }
.cass-label span:last-child { overflow: hidden; text-overflow: ellipsis; }
.cass-window { position: relative; width: 70%; height: 66px; border-radius: 33px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-around; }
.cass-tape { position: absolute; left: 30%; right: 30%; bottom: 14px; height: 2px; background: #3A2A1C; }
.reel { position: relative; width: 34px; height: 34px; border-radius: 99px; background: #EDEDED; box-shadow: 0 0 0 7px #3A2A1C, 0 0 0 8px rgba(0,0,0,.6); }
.reel:last-of-type { box-shadow: 0 0 0 4px #3A2A1C, 0 0 0 5px rgba(0,0,0,.6); }
.deck[data-state=rec] .reel:first-of-type, .deck[data-state=play] .reel:first-of-type { box-shadow: 0 0 0 5px #3A2A1C, 0 0 0 6px rgba(0,0,0,.6); }
.deck[data-state=rec] .reel:last-of-type, .deck[data-state=play] .reel:last-of-type { box-shadow: 0 0 0 7px #3A2A1C, 0 0 0 8px rgba(0,0,0,.6); }
.reel-hub { position: absolute; inset: 5px; border-radius: 99px; background: #1A1A1A; }
.reel-hub i { position: absolute; left: 9px; top: 6px; width: 6px; height: 12px; border-radius: 2px; background: #EDEDED; }
.reel-hub i:nth-child(2) { transform: rotate(60deg); } .reel-hub i:nth-child(3) { transform: rotate(120deg); }
.deck[data-state=rec] .reel-hub, .deck[data-state=play] .reel-hub { animation: reel 1.6s linear infinite; }
.deck[data-state=rec] .reel:last-of-type .reel-hub, .deck[data-state=play] .reel:last-of-type .reel-hub { animation-duration: 2.2s; }
@keyframes reel { to { transform: rotate(-360deg); } }
.bay-glare { position: absolute; inset: 0; border-radius: 7px; background: linear-gradient(155deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.04) 35%, rgba(255,255,255,0) 60%); pointer-events: none; }
.bay-glow { position: absolute; inset: 0; border-radius: 7px; background: rgba(10,8,6,.35); transition: background .4s; pointer-events: none; }
.deck[data-state=rec] .bay-glow, .deck[data-state=play] .bay-glow, .deck[data-state=paused] .bay-glow, .deck[data-state=ready] .bay-glow { background: radial-gradient(70% 70% at 50% 40%, rgba(255,170,70,.2), rgba(255,140,40,.04) 70%); }

/* VU meter */
.vu { padding: 9px; border-radius: 12px; background: var(--g-alu); box-shadow: var(--sh-metal); }
.vu-face { position: relative; height: 100%; min-height: 150px; border-radius: 6px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #FFF7E2 0%, #F6DFA8 50%, #E2B35E 100%); box-shadow: inset 0 6px 14px rgba(60,30,0,.4), inset 0 0 0 1px rgba(0,0,0,.25); transition: box-shadow .3s; }
.deck[data-state=rec] .vu-face, .deck[data-state=play] .vu-face, .deck[data-state=silent] .vu-face { box-shadow: inset 0 6px 14px rgba(60,30,0,.4), inset 0 0 0 1px rgba(0,0,0,.25), 0 0 26px rgba(255,170,60,.35); }
.vu-ticks { position: absolute; left: 50%; bottom: 10px; width: 0; height: 0; }
.vu-ticks i { position: absolute; left: -1px; bottom: 0; width: 2px; height: 7px; background: #2B2B2B; transform-origin: 1px 108px; transform: translateY(-101px) rotate(var(--a, 0deg)); }
.vu-ticks i.major { height: 12px; transform: translateY(-101px) rotate(var(--a, 0deg)); }
.vu-ticks i.hot { background: #C8321E; }
.vu-nums { position: absolute; left: 0; right: 0; top: 30%; display: flex; justify-content: space-between; padding: 0 12%; font: 400 .78rem var(--display); color: #2B2B2B; }
.vu-nums .hot { color: #C8321E; }
.vu-word { position: absolute; left: 0; right: 0; bottom: 30%; text-align: center; font: 500 1rem var(--sans); color: #2B2B2B; }
.vu-needle { position: absolute; left: calc(50% - 1px); bottom: 10px; width: 2px; height: 108px; background: linear-gradient(180deg, #1A1A1A, #3A3A3A); transform-origin: 1px 108px; transform: rotate(-48deg); box-shadow: 2px 2px 3px rgba(0,0,0,.25); }
.deck.vu-hot .vu-needle { background: linear-gradient(180deg, #C8321E, #3A3A3A); }
.vu-pivot { position: absolute; left: calc(50% - 16px); bottom: -14px; width: 32px; height: 32px; border-radius: 99px; background: linear-gradient(180deg, #2A2A2C, #111); }

/* strip: pilot lamp, state, drum counter */
.deck-strip { display: flex; align-items: center; gap: 10px; margin: 14px 2px 0; }
.pilot { flex: none; width: 22px; height: 22px; border-radius: 99px; background: var(--g-chrome); box-shadow: 0 2px 3px rgba(0,0,0,.35); display: grid; place-items: center; }
.pilot i { width: 12px; height: 12px; border-radius: 99px; background: #4A2418; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); transition: background .2s, box-shadow .2s; }
.deck[data-state=rec] .pilot i { background: radial-gradient(circle at 40% 35%, #FFB3A0, #F0402A 55%, #A81A0A); box-shadow: 0 0 10px 3px rgba(240,60,30,.75); animation: blink 1.2s steps(2) infinite; }
.deck[data-state=play] .pilot i, .deck[data-state=ready] .pilot i { background: radial-gradient(circle at 40% 35%, #D8FFD0, #5BD66A 55%, #1E8A34); box-shadow: 0 0 10px 3px rgba(80,210,100,.7); }
.deck[data-state=paused] .pilot i, .deck[data-state=silent] .pilot i, .deck[data-state=arming] .pilot i { background: radial-gradient(circle at 40% 35%, #FFE2A8, #FF9A2A 55%, #E05A00); box-shadow: 0 0 10px 3px rgba(255,140,30,.8); }
.deck-strip .display-state { flex: 1; font: 700 .66rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--label); }
.deck[data-state=silent] .display-state, .deck[data-state=paused] .display-state { color: var(--accent-strong); }
.deck.is-over .display-state { color: var(--accent-strong); }
.counter { display: flex; align-items: center; gap: 3px; padding: 4px; border-radius: 4px; background: #0B0B0C; box-shadow: inset 0 2px 4px rgba(0,0,0,.9), 0 1px 0 #fff; }
.counter b, .counter em { width: 22px; height: 32px; display: grid; place-items: center; border-radius: 2px; font: 400 1.35rem var(--display); color: #F2F2F2; background: linear-gradient(180deg, #0A0A0A 0%, #2C2C2E 30%, #3A3A3C 50%, #2C2C2E 70%, #0A0A0A 100%); font-style: normal; }
.counter em { width: 10px; background: none; color: #8A8A8A; }
.deck.is-over .counter b { color: #FFB238; }

/* tape position bar (also a seek bar once a take is loaded) */
.deck .tape { margin: 12px 2px 18px; }
.deck[data-state=ready] .tape, .deck[data-state=play] .tape { cursor: pointer; }

/* piano keys */
.keys { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 2px 0; }
.pkey { display: grid; justify-items: center; gap: 6px; }
.pkey-lbl { font: 500 .74rem var(--sans); letter-spacing: .01em; text-transform: lowercase; color: var(--engrave-panel); }
.pkey-well { display: block; width: 76px; height: 54px; padding: 3px; border-radius: 5px; background: #222326; box-shadow: inset 0 2px 4px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.7); }
.pkey-cap { position: relative; width: 70px; height: 42px; border: 0; padding: 0; border-radius: 3px; background: var(--g-keycap); box-shadow: 0 6px 0 var(--keylip), 0 8px 8px rgba(90,70,40,.3), inset 0 1px 0 #fff; display: grid; place-items: center; cursor: pointer; transition: transform .07s, box-shadow .07s, background .07s; }
.pkey-cap:hover:not(:disabled) { background: linear-gradient(180deg, #FFFFFF, #F2F0EC); }
.pkey-cap:active:not(:disabled), .pkey.down .pkey-cap { transform: translateY(5px); background: linear-gradient(180deg, #F4F0E9, #E6E0D5 60%, #D6CEC0); box-shadow: 0 1px 0 var(--keylip), 0 2px 3px rgba(90,70,40,.35), inset 0 1px 0 #fff; }
.pkey-cap:disabled { cursor: default; }
.pkey-cap:disabled .glyph { opacity: .28; }
.pkey:has(.pkey-cap:disabled) .pkey-lbl { opacity: .45; }
.pkey-cap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.glyph { display: block; }
.glyph-rec { width: 14px; height: 14px; border-radius: 99px; background: #D8341C; box-shadow: 0 0 6px rgba(216,52,28,.6); }
.pkey.down .glyph-rec { box-shadow: 0 0 12px 3px rgba(216,52,28,.75); }
.glyph-play { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid #3A3D42; margin-left: 3px; }
.glyph-stop { width: 12px; height: 12px; border-radius: 1px; background: #3A3D42; }
.glyph-pause { width: 12px; height: 14px; background: linear-gradient(90deg, #3A3D42 0 35%, transparent 35% 65%, #3A3D42 65%); }
.glyph-erase { width: 16px; height: 16px; border: 2px solid #3A3D42; border-radius: 99px; border-right-color: transparent; position: relative; transform: rotate(-30deg); }
.glyph-erase::after { content: ''; position: absolute; right: -4px; top: -3px; border: 4px solid transparent; border-bottom-color: #3A3D42; transform: rotate(40deg); }
.pkey-rec { margin-right: 10px; }
.pkey-erase { margin-left: auto; }
.deck .micpick { margin: 12px 2px 0; }
.deck .deck-status { margin: 12px 2px 0; }
.deck-head { padding: 0 2px 12px; }

@media (max-width: 760px) {
  .deck-face { grid-template-columns: 1fr; }
  .vu-face { min-height: 128px; }
  .keys { gap: 6px; justify-content: space-between; }
  .pkey-rec { margin-right: 0; } .pkey-erase { margin-left: 0; }
  .pkey-well { width: 58px; height: 50px; } .pkey-cap { width: 52px; height: 38px; }
  .pkey-lbl { font-size: .66rem; }
}

/* the standalone player (episodes, admin) wears the same parts: piano key + counter-style time */
.player-key { width: 64px; height: 46px; border-radius: 3px; background: var(--g-keycap); box-shadow: 0 6px 0 var(--keylip), 0 8px 8px rgba(90,70,40,.3), inset 0 1px 0 #fff, 0 0 0 3px #222326; margin: 0 4px 8px; }
.player-key svg { fill: #3A3D42; }
.player-key:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--keylip), 0 2px 3px rgba(90,70,40,.35), inset 0 1px 0 #fff, 0 0 0 3px #222326; }
.player { background: var(--g-alu); }
.player-time { font: 400 .95rem var(--display); color: #F2F2F2; background: #0B0B0C; padding: 3px 6px; border-radius: 3px; text-shadow: none; box-shadow: inset 0 2px 4px rgba(0,0,0,.9), 0 1px 0 #fff; }
.player-time[data-total] { color: #9A9A9A; }

/* phones: five keys on one row */
@media (max-width: 760px) {
  .keys { flex-wrap: nowrap; gap: 5px; }
  .pkey { flex: 1 1 0; min-width: 0; }
  .pkey-well { width: 100%; height: 48px; }
  .pkey-cap { width: 100%; height: 36px; }
  .pkey-lbl { font-size: .6rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* pilot lamp in a chrome bezel for the on-air mark */
.onair { width: 18px; height: 18px; border-radius: 99px; background: var(--g-chrome); box-shadow: 0 2px 3px rgba(0,0,0,.3); display: inline-grid; place-items: center; }
.onair::after { content: ''; width: 9px; height: 9px; border-radius: 99px; background: radial-gradient(circle at 40% 35%, #FFE2A8, #FF9A2A 55%, #E05A00); box-shadow: 0 0 8px 2px rgba(255,140,30,.7); }

/* admin counters as drum digits */
.tile-n { justify-self: start; display: inline-block; padding: 4px 8px; border-radius: 4px; background: linear-gradient(180deg, #0A0A0A 0%, #2C2C2E 30%, #3A3A3C 50%, #2C2C2E 70%, #0A0A0A 100%); color: #F2F2F2; font: 400 1.9rem/1.1 var(--display); letter-spacing: .08em; text-shadow: none; box-shadow: 0 0 0 3px #0B0B0C, 0 1px 0 4px rgba(255,255,255,.7); }
.tile.hot .tile-n { color: #FFB238; text-shadow: 0 0 8px rgba(255,170,60,.5); }
.tile { gap: 10px; padding: 16px 18px; }

/* cassette bay removed: the VU meter carries the deck */
.deck-face { grid-template-columns: 1fr; }
.vu-face { min-height: 136px; }
.deck { display: grid; grid-template-columns: minmax(0, 340px) 1fr; column-gap: 18px; }
.deck > * { grid-column: 1 / -1; }
.deck > .deck-face { grid-column: 1; }
.deck > .deck-strip { grid-column: 2; grid-row: 2; margin: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; }
.deck-strip .display-state { flex: none; }
.deck-strip .counter b, .deck-strip .counter em { height: 44px; width: 30px; font-size: 1.9rem; }
.deck-strip .counter em { width: 12px; }
.deck-strip { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; }
.deck-strip .pilot { grid-row: 1; } .deck-strip .display-state { grid-row: 1; align-self: center; }
.deck-strip .counter { grid-column: 1 / -1; justify-self: start; }
.vu-face { min-height: 150px; }
@media (max-width: 760px) {
  .deck { grid-template-columns: 1fr; }
  .deck > .deck-face, .deck > .deck-strip { grid-column: 1; grid-row: auto; }
  .deck > .deck-strip { margin-top: 14px; display: flex; flex-direction: row; align-items: center; }
  .deck-strip .display-state { flex: 1; }
  .deck-strip .counter b, .deck-strip .counter em { height: 32px; width: 22px; font-size: 1.35rem; }
  .deck-strip .counter em { width: 10px; }
}
.deck > .deck-strip { align-items: center; align-content: center; column-gap: 10px; row-gap: 16px; }

/* ---------- cassette bay: desktop only, animated with the real tape position ---------- */
@media (min-width: 761px) {
  .deck { display: block; }
  .deck > .deck-face { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
  .deck > .deck-strip { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 14px 2px 0; }
  .deck-strip .display-state { flex: 1; }
  .deck-strip .counter b, .deck-strip .counter em { height: 36px; width: 24px; font-size: 1.5rem; }
  .deck-strip .counter em { width: 10px; }
}
@media (max-width: 760px) { .bay { display: none; } }
.bay-win, .vu-face { min-height: 160px; }
/* tape pack: supply reel (left) empties, take-up reel (right) fills as --p goes 0 → 1 */
.reel { --pack-l: calc(4px + (1 - var(--p, 0)) * 10px); --pack-r: calc(4px + var(--p, 0) * 10px); }
.deck .reel-l { box-shadow: 0 0 0 var(--pack-l) #3A2A1C, 0 0 0 calc(var(--pack-l) + 1px) rgba(0,0,0,.6) !important; }
.deck .reel-r { box-shadow: 0 0 0 var(--pack-r) #3A2A1C, 0 0 0 calc(var(--pack-r) + 1px) rgba(0,0,0,.6) !important; }
.reel { transition: box-shadow .4s linear; }
/* a fuller reel turns slower: duration follows the pack size */
.deck .reel-l .reel-hub, .deck .reel-r .reel-hub { animation: reel 1s linear infinite; animation-play-state: paused; }
.deck .reel-l .reel-hub { animation-duration: calc(.9s + (1 - var(--p, 0)) * 1.4s); }
.deck .reel-r .reel-hub { animation-duration: calc(.9s + var(--p, 0) * 1.4s); }
.deck[data-state=rec] .reel-hub, .deck[data-state=play] .reel-hub, .deck[data-state=silent] .reel-hub { animation-play-state: running; }
/* the tape strand between the reels runs while the deck moves */
.cass-tape { left: 26%; right: 26%; bottom: 10px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, #3A2A1C 0 6px, #4A3726 6px 9px); background-size: 9px 3px; }
.deck[data-state=rec] .cass-tape, .deck[data-state=play] .cass-tape, .deck[data-state=silent] .cass-tape { animation: tape-run .45s linear infinite; }
@keyframes tape-run { to { background-position: 9px 0; } }
.deck[data-state=rec] .cass-label span:first-child::after { content: ' · REC'; color: #C8321E; }
@media (prefers-reduced-motion: reduce) { .deck .reel-hub, .cass-tape { animation: none !important; } }
.reel { --pack-l: calc(3px + (1 - var(--p, 0)) * 14px); --pack-r: calc(3px + var(--p, 0) * 14px); }
.cass-window { height: 78px; }

/* multiband spectrum analyser (records and plays back) */
.spectrum { margin: 14px 0 0; padding: 12px 14px 8px; border-radius: 18px; background: var(--g-well); box-shadow: var(--sh-well); }
.spectrum canvas { display: block; width: 100%; height: 58px; }
.spectrum-scale { display: flex; justify-content: space-between; margin-top: 6px; font: 700 .54rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 760px) { .spectrum canvas { height: 44px; } }

/* =================== flow pass: one card, question → answer =================== */
.answer-card { margin: 24px 0 8px; padding: 30px 30px 26px; border-radius: 28px; background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); }
.answer-card .q-head h1 { font-size: clamp(2.1rem, 5.6vw, 3.2rem); margin: .3em 0 .3em; letter-spacing: -.025em; }
.answer-card .contribute { background: none; box-shadow: none; padding: 0; margin: 22px 0 0; border-radius: 0; }
.answer-card .deadline { text-transform: none; letter-spacing: 0; font: 400 .92rem var(--sans); color: var(--muted); margin-top: 10px; }
.answer-card .deadline strong { color: var(--accent-strong); font-weight: 600; }
.mode-switch { display: grid; justify-items: start; gap: 10px; margin: 0 0 18px; }
.slide-mode { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
.privacy-line { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .86rem; color: var(--muted); }
.lock { width: 10px; height: 8px; border-radius: 2px; background: var(--label); position: relative; margin-top: 4px; }
.lock::before { content: ''; position: absolute; left: 1px; top: -6px; width: 8px; height: 8px; border: 2px solid var(--label); border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }
.next-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.next-row .next-hint { margin: 0; }
.step-title { font-size: 1.35rem; margin: 18px 0 10px; outline: none; }
.summary { display: flex; align-items: center; gap: 12px; }
.summary .check { width: 22px; height: 22px; flex: none; border-radius: 99px; display: grid; place-items: center; background: var(--g-accent); color: #fff; font-size: .75rem; box-shadow: var(--sh-glow); }
.summary > span:nth-child(2) { flex: 1; }
.summary [data-summary-text] { font-weight: 600; }
.summary [data-summary-text]::first-letter { text-transform: none; }
.after-submit { text-align: right; margin-top: 10px; }
.consent strong { font-weight: 600; }

/* context, after the card */
.about-strip { margin: 34px 0 0; padding: 0 6px; }
.about-strip h2 { font: 700 .72rem var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--label); margin: 0 0 10px; }
.about-strip > p:first-of-type { color: var(--muted); max-width: 62ch; }
.how-steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how-steps li { counter-increment: s; padding: 16px; border-radius: 20px; background: var(--g-well); box-shadow: var(--sh-well); font-size: .92rem; color: var(--muted); }
.how-steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 10px; border-radius: 99px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); color: var(--accent-strong); font: 700 .74rem var(--sans); }
.how-steps strong { color: var(--ink); font-weight: 600; display: block; }
@media (max-width: 640px) { .how-steps { grid-template-columns: 1fr; } .answer-card { padding: 22px 18px 20px; } .slide-mode { width: 100%; } .after-submit { text-align: left; } }

/* after sending: what happens next */
.thanks { position: relative; margin: 20px 0 18px; padding: 28px 28px 22px; border-radius: 28px; background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); }
.thanks h1 { font-size: clamp(1.7rem, 4.4vw, 2.3rem); margin: 0 0 18px; padding-left: 34px; }
.thanks-lamp { position: absolute; left: 28px; top: 38px; width: 18px; height: 18px; border-radius: 99px; background: var(--g-chrome); box-shadow: 0 2px 3px rgba(0,0,0,.3); display: grid; place-items: center; }
.thanks-lamp::after { content: ''; width: 9px; height: 9px; border-radius: 99px; background: radial-gradient(circle at 40% 35%, #D8FFD0, #5BD66A 55%, #1E8A34); box-shadow: 0 0 8px 2px rgba(80,210,100,.7); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline li strong { font-weight: 500; }
.timeline li span:last-child { font-size: .86rem; color: var(--muted); text-align: right; }
.tl-dot { width: 12px; height: 12px; border-radius: 99px; background: var(--led-off); box-shadow: inset 0 1px 2px rgba(0,0,0,.15); justify-self: center; }
.timeline li.done .tl-dot { background: var(--g-accent); box-shadow: var(--sh-glow); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 22px 1fr; } .timeline li span:last-child { grid-column: 2; text-align: left; } }
.my-answer { margin-top: 26px; }
.my-answer .contribute { margin-top: 12px; }
.save-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 10px 10px 10px 18px; border-radius: 99px; background: var(--g-body); box-shadow: 0 14px 30px -10px rgba(0,0,0,.3), var(--sh-edge); font-size: .9rem; }
.withdraw { margin-top: 28px; text-align: center; }

/* =================== admin routine =================== */
.next-steps { margin: 12px 0 18px; padding: 20px 22px; border-radius: 26px; background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); }
.next-steps.calm p:last-child { margin: 6px 0 0; color: var(--muted); }
.step-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.step-item:first-of-type { border-top: 0; padding-top: 14px; }
.step-n { width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; font: 700 .74rem var(--sans); background: var(--g-well); box-shadow: var(--sh-well); color: var(--label); }
.step-item.first .step-n { background: var(--g-accent); color: #fff; box-shadow: var(--sh-glow); }
.step-item.urgent .step-txt strong { color: var(--accent-strong); }
.step-txt { display: grid; gap: 2px; } .step-txt strong { font-weight: 600; } .step-txt span { font-size: .88rem; color: var(--muted); }
.step-item form { margin: 0; }
.step-item:not(.first) .btn { padding: 8px 16px; font-size: .88rem; }
@media (max-width: 640px) { .step-item { grid-template-columns: 28px 1fr; } .step-item > form, .step-item > a { grid-column: 2; justify-self: start; } }

.cta-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px; padding: 14px 16px 14px 20px; border-radius: 20px; background: linear-gradient(180deg, #FBEDE6, #F7DDD3); box-shadow: var(--sh-float-sm), var(--sh-edge); }

.montaj-panel { margin: 4px 0 22px; padding: 18px 20px; border-radius: 26px; background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); }
.montaj-panel .section-head { margin: 0 0 10px; } .montaj-panel h2 { margin: 0; font-size: 1.15rem; }
.ro-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.ro-list li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: var(--g-well); box-shadow: var(--sh-well); }
.ro-who { color: var(--ink); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ro-who strong { font-weight: 600; }
.ro-move { display: flex; gap: 4px; margin: 0; }
.mini { width: 30px; height: 30px; border: 0; border-radius: 99px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); color: var(--accent-strong); cursor: pointer; font-weight: 700; }
.mini:disabled { opacity: .3; cursor: default; }
.montaj-panel .row { gap: 10px; } .montaj-panel form { margin: 0; }

/* review mode */
.review-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 10px 0 16px; }
.review-progress { height: 8px; border-radius: 99px; background: var(--g-well); box-shadow: inset 0 2px 4px rgba(0,0,0,.08), 0 1px 0 #fff; overflow: hidden; }
.review-progress span { display: block; height: 100%; border-radius: 99px; background: var(--g-accent); transition: width .3s; }
.review-card { padding: 26px 28px 22px; border-radius: 28px; background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); }
.review-card .ans-head { margin-bottom: 8px; }
.review-text { font-size: 1.22rem; line-height: 1.6; max-width: 62ch; margin: 14px 0; }
.review-card audio { width: 100%; margin: 12px 0; }
.review-form { display: grid; gap: 14px; margin-top: 14px; }
.review-form label { display: grid; gap: 6px; }
.review-form textarea { min-height: 3.2em; }
.review-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.review-actions .btn { gap: 8px; }
.review-exclusa { color: var(--muted); }
kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; font: 700 .66rem var(--sans); background: var(--g-well); box-shadow: inset 0 -1px 0 rgba(0,0,0,.12), 0 1px 0 #fff; color: var(--label); }
.btn.primary kbd { background: rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.undo-line { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .9rem; color: var(--muted); }
.review-done { text-align: center; padding: 40px 24px; border-radius: 28px; background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); position: relative; }
.review-done .thanks-lamp { position: static; display: inline-grid; margin-bottom: 10px; }
.review-done .row { justify-content: center; gap: 10px; }

/* =================== podcast: covers, episode cards =================== */
.ep-cover { position: relative; display: grid; grid-template-rows: auto 1fr auto; width: 132px; aspect-ratio: 1; padding: 12px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 0%, #3A2A1C 0%, #1E1610 60%, #120D09 100%); box-shadow: var(--sh-float), inset 0 1px 0 rgba(255,255,255,.08); color: var(--amber, #FFB54A); }
.ep-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(255,255,255,.12), transparent 40%); pointer-events: none; }
.ep-cover-top { font: 700 .5rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #FFCF8A; opacity: .8; }
.ep-cover-num { align-self: center; font: 400 3.4rem/1 var(--display); color: #FFB54A; text-shadow: 0 0 18px rgba(255,170,60,.55); }
.ep-cover-bars { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.ep-cover-bars i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, #FF7A1A, #E2552A); box-shadow: 0 0 6px rgba(255,106,0,.5); }
.ep-cover-bars i:nth-child(1) { height: 40%; } .ep-cover-bars i:nth-child(2) { height: 75%; } .ep-cover-bars i:nth-child(3) { height: 100%; } .ep-cover-bars i:nth-child(4) { height: 60%; } .ep-cover-bars i:nth-child(5) { height: 85%; } .ep-cover-bars i:nth-child(6) { height: 45%; } .ep-cover-bars i:nth-child(7) { height: 25%; }
.ep-cover.lg { width: 168px; padding: 14px; } .ep-cover.lg .ep-cover-num { font-size: 4.4rem; }

.latest { margin-top: 40px; }
.latest-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 6px 12px; }
.ep-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 20px; border-radius: 26px; background: var(--g-bezel); box-shadow: var(--sh-float), var(--sh-edge-2); }
.ep-card + .ep-card { margin-top: 14px; }
.ep-cover-link { display: block; border-radius: 18px; }
.ep-cover-link:hover .ep-cover { transform: translateY(-1px); }
.ep-cover { transition: transform .15s; }
.ep-body { min-width: 0; }
.ep-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 0 6px; font: 700 .64rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.ep-meta span + span::before { content: '·'; margin-right: 14px; color: var(--faint); }
.ep-card h3 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.ep-card h3 a { color: var(--ink); text-decoration: none; } .ep-card h3 a:hover { color: var(--accent-strong); }
.ep-desc { margin: 0 0 12px; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-card .player { margin: 4px 0 8px; }
.ep-links { display: flex; gap: 18px; margin: 6px 0 0; font: 600 .82rem var(--sans); }
.ep-links a { color: var(--label); text-decoration: none; } .ep-links a:hover { color: var(--accent-strong); }
.ep-card.featured { padding: 24px; } .ep-card.featured .ep-cover { width: 156px; } .ep-card.featured h3 { font-size: 1.55rem; }
@media (max-width: 640px) {
  .ep-card { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; }
  .ep-card .ep-cover, .ep-card.featured .ep-cover { width: 84px; padding: 8px; border-radius: 14px; }
  .ep-card .ep-cover-num { font-size: 2.1rem; } .ep-card .ep-cover-top { font-size: .38rem; }
  .ep-card .player, .ep-card .ep-desc, .ep-card .ep-links { grid-column: 1 / -1; }
  .ep-body { display: contents; }
  .ep-card .ep-meta, .ep-card h3 { grid-column: 2; }
}

/* show header on /episoade and the episode hero */
.show-head, .ep-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin: 12px 0 26px; }
.show-head h1, .ep-hero h1 { margin: .15em 0 .3em; }
.show-head .lede { margin: 0 0 12px; font-size: .98rem; }
.subscribe { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.pill-link { display: inline-block; padding: 7px 14px; border-radius: 99px; background: var(--g-accent); color: #fff; text-decoration: none; font: 700 .66rem var(--sans); letter-spacing: .16em; box-shadow: var(--sh-glow); }
.list-title { font: 700 .72rem var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--label); margin: 0 6px 12px; }
.episode .player { margin: 6px 0 16px; }
@media (max-width: 640px) { .show-head, .ep-hero { grid-template-columns: 1fr; gap: 14px; } .show-head .ep-cover, .ep-hero .ep-cover { width: 120px; } }
.ep-cover-link, .ep-cover-link:hover { text-decoration: none; }
@media (max-width: 640px) {
  .ep-meta { display: block; font-size: .56rem; letter-spacing: .12em; line-height: 1.7; }
  .ep-meta span + span::before { margin: 0 6px; }
  .ep-card h3, .ep-card.featured h3 { font-size: 1.08rem; }
  .latest-head .kicker { letter-spacing: .2em; }
}

/* =================== secondary links as small raised buttons =================== */
.ep-links a, .latest-head .text-btn, .ans-audio .text-btn, .meta-actions a, .withdraw .text-btn, .subscribe .pill-link, .crumb a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px;
  background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge);
  font: 600 .8rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: transform .08s, box-shadow .08s, color .15s;
}
.ep-links a:hover, .latest-head .text-btn:hover, .ans-audio .text-btn:hover, .meta-actions a:hover, .crumb a:hover { color: var(--accent-strong); }
.ep-links a:active, .latest-head .text-btn:active, .ans-audio .text-btn:active, .meta-actions a:active, .crumb a:active { transform: translateY(1px); box-shadow: var(--press); background: var(--g-concave); }
.ep-links { gap: 8px; flex-wrap: wrap; }
.ep-links a[download]::before { content: '↓'; color: var(--accent-strong); font-weight: 700; }
.ep-links a[href$="#transcript"]::before { content: '≡'; color: var(--accent-strong); font-weight: 700; }
.ep-links a[href="/feed.xml"]::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: var(--g-accent); box-shadow: var(--sh-glow); }
.ep-links a[href="/episoade"]::after, .latest-head .text-btn::after { content: '→'; color: var(--accent-strong); }
.latest-head .text-btn { font-size: .78rem; }
.latest-head .text-btn { /* the arrow lives in ::after now */ }
.subscribe .pill-link { background: var(--g-accent); color: #fff; box-shadow: 0 10px 18px -8px rgba(226,94,0,.55), inset 0 2px 0 rgba(255,200,150,.6); letter-spacing: .12em; font-size: .72rem; }
.subscribe .pill-link::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: #fff; box-shadow: 0 0 6px #fff; }
.meta-actions { gap: 8px; }
.meta-actions a { font-size: .76rem; padding: 7px 12px; }
.crumb a { padding: 6px 12px; font-size: .74rem; color: var(--label); }
.withdraw .text-btn { color: var(--danger); background: transparent; box-shadow: 0 0 0 1px color-mix(in srgb, var(--danger) 35%, transparent) inset; }
.withdraw .text-btn:hover { background: color-mix(in srgb, var(--danger) 7%, transparent); }
.about-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 0; }
.about-links a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 99px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); font: 600 .8rem var(--sans); color: var(--ink); text-decoration: none; }
.about-links a:hover { color: var(--accent-strong); }
.about-links a::after { content: "→"; margin-left: 7px; color: var(--accent-strong); }
.quiet-link.about-links { align-items: center; gap: 12px; margin-top: 34px; }

/* tape transport (SVG): packs, hubs and tape path drawn from the real position */
.cass-window { width: 88%; height: auto; display: block; background: none; box-shadow: none; border-radius: 0; }
.transport { display: block; width: 100%; height: auto; }
.cass { padding: 10px 0 8px; }

/* =================== phones: touch-friendly =================== */
.l-short { display: none; }
button, a, label, .pkey-cap, .slide label { -webkit-tap-highlight-color: transparent; }
@media (hover: none) and (pointer: coarse), (max-width: 640px) {
  /* comfortable tap targets */
  .nav a, .nav .linklike { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 14px; }
  .tip-btn { width: 36px; height: 36px; font-size: .85rem; }
  .ep-links a, .latest-head .text-btn, .ans-audio .text-btn, .meta-actions a, .about-links a, .crumb a, .withdraw .text-btn, .text-btn { min-height: 42px; padding-top: 10px; padding-bottom: 10px; }
  .text-btn { display: inline-flex; align-items: center; }
  .btn { min-height: 46px; }
  .slide { grid-template-rows: 52px; }
  .mini { width: 40px; height: 40px; }
  input.switch { width: 56px; height: 32px; } input.switch::after { width: 24px; height: 24px; } input.switch:checked::after { transform: translateX(24px); }
  /* no zoom-on-focus in iOS: fields at 16px */
  textarea, input:not([type=checkbox]):not([type=radio]):not([type=file]), select { font-size: 16px !important; }
  .foot p:last-child { display: flex; flex-wrap: wrap; gap: 4px 2px; }
  .foot p:last-child a { display: inline-flex; padding: 8px 6px; }
}
@media (max-width: 640px) {
  .top { padding-top: 14px; gap: 8px; } .nav { width: 100%; justify-content: space-between; } .nav a { flex: 1; justify-content: center; }
  main { padding: 14px 12px 56px; }
  .answer-card, .thanks, .sheet, .next-steps, .montaj-panel, .review-card, .now { padding: 18px 14px; border-radius: 22px; }
  .answer-card .contribute { margin-top: 16px; }
  .deck { padding: 12px 10px 10px; border-radius: 20px; }
  .deck-head { padding: 0 2px 10px; }
  .pkey-cap { height: 44px; } .pkey-well { height: 54px; }
  .l-long { display: none; } .l-short { display: inline; }
  .pkey-lbl { font-size: .66rem; }
  .spectrum { padding: 10px 10px 6px; }
  .mode-switch .slide-mode { width: 100%; }
  .next-row { position: sticky; bottom: 0; z-index: 4; margin: 14px -14px -18px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(240,238,234,0), rgba(240,238,234,.96) 30%); border-radius: 0 0 22px 22px; }
  .next-row .btn { flex: 1; justify-content: center; }
  .actions { flex-direction: column-reverse; align-items: stretch; gap: 10px; } .actions .btn { justify-content: center; }
  .after-submit { text-align: center; }
  .save-bar { bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 22px; flex-wrap: wrap; } .save-bar .btn { flex: 1; justify-content: center; }
  .review-actions { display: grid; grid-template-columns: 1fr 1fr; } .review-actions .btn { justify-content: center; }
  .review-actions kbd { display: none; } .review-card + .hint { display: none; }
  .review-top { grid-template-columns: 1fr auto; } .review-top .label-mono { display: none; }
  .ep-links a { flex: 1; justify-content: center; }
  .cta-line .btn { width: 100%; justify-content: center; }
  .step-item .btn { width: 100%; justify-content: center; }
  .tbl td, .tbl th { padding: 10px 8px; }
}

/* =================== first contact: explain, offer to listen, one big button =================== */
.intro-strip { margin: 6px 4px 18px; }
.intro-strip > p:first-child { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink); max-width: 64ch; }
.listen-first { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.listen-first a { color: var(--label); }
.listen-chip { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); font: 600 .86rem var(--sans); color: var(--ink); min-height: 40px; }
.listen-chip:hover { color: var(--accent-strong); }
.chip-play { width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; background: var(--g-accent); box-shadow: var(--sh-glow); }
.chip-play::before { content: ''; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.listen-chip.playing .chip-play::before { border: 0; width: 9px; height: 10px; margin: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.chip-dur { font: 400 .8rem var(--display); color: var(--label); }

.destination { display: grid; gap: 8px; margin: 2px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--g-well); box-shadow: var(--sh-well); font-size: .88rem; color: var(--muted); max-width: 62ch; }
.dest-step { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.dest-step strong { color: var(--ink); font-weight: 600; }
.dest-step .lock { margin-top: 7px; justify-self: center; }
.dest-on { width: 10px; height: 10px; margin-top: 5px; justify-self: center; border-radius: 99px; background: var(--g-accent); box-shadow: var(--sh-glow); }
.mode-switch { gap: 12px; }

/* recorder: idle shows one key; the console appears once you start */
.deck-start { display: flex; align-items: center; gap: 18px; width: 100%; border: 0; cursor: pointer; text-align: left; padding: 18px; border-radius: 22px; background: var(--g-well); box-shadow: var(--sh-well); color: var(--ink); }
.deck-start-key { flex: none; width: 76px; height: 76px; border-radius: 26px; display: grid; place-items: center; background: var(--g-accent); box-shadow: 0 22px 34px -10px rgba(226,94,0,.55), 0 6px 12px rgba(184,74,0,.25), inset 0 2px 0 rgba(255,200,150,.6); transition: transform .08s; }
.deck-start-key .rec-dot { width: 24px; height: 24px; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.25); }
.deck-start:hover .deck-start-key { filter: brightness(1.05); }
.deck-start:active .deck-start-key { transform: translateY(2px); box-shadow: inset 0 6px 14px rgba(120,40,0,.45); }
.deck-start-txt strong { display: block; font-size: 1.15rem; font-weight: 600; }
.deck-start-txt small { display: block; margin-top: 3px; font-size: .88rem; color: var(--muted); }
.deck[data-state=idle] > :not(.deck-head):not(.deck-start):not(.deck-status):not(audio) { display: none !important; }
.deck:not([data-state=idle]) > .deck-start { display: none; }
.deck:not([data-state=idle]) > .deck-face, .deck:not([data-state=idle]) > .spectrum, .deck:not([data-state=idle]) > .keys { animation: deck-in .35s ease-out both; }
@keyframes deck-in { from { opacity: 0; transform: translateY(6px); } }
.deck[data-state=idle] { padding-bottom: 16px; }
@media (max-width: 640px) { .deck-start { padding: 14px; gap: 14px; } .deck-start-key { width: 64px; height: 64px; border-radius: 22px; } .intro-strip > p:first-child { font-size: 1rem; } }
@media (max-width: 640px) { .next-row:has([data-next]:disabled) { position: static; margin: 14px 0 0; padding: 0; background: none; } }

/* where the answer goes: three steps, in the order they happen */
ol.destination { list-style: none; counter-reset: d; margin: 2px 0 0; padding: 12px 14px; display: grid; gap: 8px; }
ol.destination li { counter-increment: d; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
ol.destination li::before { content: counter(d); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); color: var(--accent-strong); font: 700 .7rem var(--sans); margin-top: 1px; }
ol.destination li:last-child::before { background: var(--g-accent); color: #fff; box-shadow: var(--sh-glow); }
ol.destination strong { color: var(--ink); font-weight: 600; }

/* =================== only fields are wells; notes are plain text with a lamp =================== */
.note, .contribute .note {
  position: relative; background: none; box-shadow: none; border-radius: 0;
  padding: 2px 0 2px 26px; margin: 4px 0 14px; font-size: .88rem; line-height: 1.55; color: var(--muted);
}
.note::before { content: ''; position: absolute; left: 4px; top: .45em; width: 9px; height: 9px; border-radius: 99px;
  background: radial-gradient(circle at 40% 35%, #FFE2A8, #FF9A2A 55%, #E05A00); box-shadow: 0 0 6px 1px rgba(255,140,30,.55); }
ol.destination { background: none; box-shadow: none; border-radius: 0; padding: 4px 0 0; }
.summary { background: linear-gradient(180deg, #FBEDE6, #F7DDD3); box-shadow: var(--sh-float-sm), var(--sh-edge); }
blockquote { background: none; box-shadow: none; border-radius: 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--line); }

/* writing console: same body as the recorder */
.writer { display: block !important; }
.writer textarea { min-height: 12em; background: var(--g-well); box-shadow: var(--sh-well); border-radius: 18px; font-size: 1.02rem; line-height: 1.6; padding: 16px 18px; }
.writer .deck-strip { display: flex; align-items: center; gap: 10px; margin: 14px 2px 0; }
.writer .display-state { flex: 1; font: 700 .66rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--label); }
.writer-time { font: 400 .9rem var(--display); color: var(--label); }
.writer .counter b { width: 22px; height: 32px; font-size: 1.35rem; }
.writer[data-state=typing] .pilot i { background: radial-gradient(circle at 40% 35%, #FFE2A8, #FF9A2A 55%, #E05A00); box-shadow: 0 0 10px 3px rgba(255,140,30,.8); }
.writer[data-state=ready] .pilot i { background: radial-gradient(circle at 40% 35%, #D8FFD0, #5BD66A 55%, #1E8A34); box-shadow: 0 0 10px 3px rgba(80,210,100,.7); }
.writer.is-over .display-state { color: var(--accent-strong); }
.writer.is-over .counter b { color: #FFB238; }
.writer.is-over .tape-fill { background: linear-gradient(90deg, #E65C30 0 var(--ideal-at, 100%), #FF5A00 var(--ideal-at, 100%)); box-shadow: var(--sh-glow); }
.writer .tape { margin: 12px 2px 18px; }
.writer .deck-status { margin: 0 2px; }
.identity-edit { margin-top: 22px; }
.my-answer .switch-row { margin: 16px 2px 4px; }
.my-answer .contribute > .field + .field { margin-top: 22px; }

/* =================== one surface: text field + record CTA, no method switch =================== */
.answer-lead { margin: 0 0 16px; color: var(--muted); font-size: .95rem; max-width: 62ch; }
.modes .mode { animation: none; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 14px 2px; font: 700 .64rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.writer textarea { min-height: 9em; }

/* recorder: three states */
.deck[data-state=idle] > .deck-head { display: none !important; }
/* recording: status, time, level, pause/resume, stop */
.deck:is([data-state=rec],[data-state=paused],[data-state=silent],[data-state=arming]) :is(.pkey-rec, .pkey-play, .pkey-erase),
.deck:is([data-state=rec],[data-state=paused],[data-state=silent],[data-state=arming]) > .spectrum { display: none; }
/* recorded: playback, duration, re-record */
.deck:is([data-state=ready],[data-state=play]) .pkey-rec { display: none; }
.deck:is([data-state=ready],[data-state=play]) .pkey-erase { margin-left: auto; }
.pkey-erase .pkey-lbl { color: var(--accent-strong); }

/* calmer calendar: the question leads, the deadline stays readable */
.answer-card .deadline { margin: 12px 0 8px; }
.answer-card .dial { padding: 5px 12px 6px; border-radius: 10px; opacity: .82; }
.answer-card .dial-labels { font-size: .62rem; }
.answer-card .dial-ticks { height: 8px; margin-top: 3px; }
.answer-card .dial-ticks i.major { height: 7px; } .answer-card .dial-ticks i { height: 4px; }
.answer-card .q-head { margin-bottom: 6px; }
.listen-first a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }

/* writing panel: compact until you start, grows with the text */
.writer[data-state=empty]:not(:focus-within) > :is(.deck-head, .deck-strip, .tape, .deck-status) { display: none; }
.writer[data-state=empty]:not(:focus-within) { padding: 12px; }
.writer textarea { min-height: 5.5em; max-height: 60vh; resize: none; overflow-y: auto; transition: min-height .2s ease; }
.writer:focus-within textarea, .writer:not([data-state=empty]) textarea { min-height: 9em; }
.writer > :is(.deck-head, .deck-strip, .tape, .deck-status) { animation: deck-in .25s ease-out both; }
@media (max-width: 640px) {
  .writer textarea { min-height: 4.6em; }
  .writer:focus-within textarea, .writer:not([data-state=empty]) textarea { min-height: 7.5em; }
  .writer[data-state=empty]:not(:focus-within) { padding: 10px; }
  .answer-lead { font-size: .9rem; margin-bottom: 12px; }
  .or-line { margin: 10px 2px; }
  .deck[data-state=idle] { padding: 10px; }
  .deck-start { padding: 10px; gap: 12px; border-radius: 18px; }
  .deck-start-key { width: 52px; height: 52px; border-radius: 18px; }
  .deck-start-key .rec-dot { width: 18px; height: 18px; }
  .deck-start-txt strong { font-size: 1.02rem; }
  .deck-start-txt small { font-size: .8rem; }
}

/* mic check: live level + microphone choice, then "înregistrează" */
.deck[data-state=setup] :is(.pkey-pause, .pkey-play, .pkey-erase) { display: none; }
.deck[data-state=setup] .pilot i { background: radial-gradient(circle at 40% 35%, #FFE2A8, #FF9A2A 55%, #E05A00); box-shadow: 0 0 10px 3px rgba(255,140,30,.8); }
.deck[data-state=setup] .pkey-rec .pkey-cap { box-shadow: 0 6px 0 var(--keylip), 0 8px 8px rgba(90,70,40,.3), inset 0 1px 0 #fff, 0 0 0 3px var(--accent-soft); }
.deck[data-state=setup] .glyph-rec { animation: blink 1.2s steps(2) infinite; }
.deck[data-state=setup] .micpick { margin-top: 14px; }
.micpick select { font-size: 16px; min-height: 42px; }
.deck[data-state=setup] .deck-status { color: var(--ink); }

/* =================== calmer first view =================== */
.intro-line { margin: 4px 4px 18px; font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 70ch; }
.intro-line .listen-chip { margin: 0 4px; vertical-align: middle; min-height: 36px; padding: 4px 12px 4px 4px; font-size: .84rem; }
.intro-line .chip-play { width: 26px; height: 26px; }
.intro-transcript { color: var(--label); font-size: .86rem; }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.deadline-pill { margin: 0; padding: 5px 12px; border-radius: 99px; background: var(--g-well); box-shadow: var(--sh-well); font-size: .8rem; color: var(--muted); }
.deadline-pill strong { color: var(--accent-strong); font-weight: 600; }
.answer-card .q-head h1 { margin-bottom: .25em; }
.answer-card .q-head .intro { margin-bottom: 4px; }
.answer-card .contribute { margin-top: 18px; }
.next-note { margin: 10px 2px 0; font-size: .82rem; color: var(--faint); max-width: 62ch; }
/* writing panel, focused: only a quiet strip */
.writer > .deck-head, .writer > .deck-status { display: none !important; }
.writer .deck-strip { margin-top: 10px; }
.writer .display-state:empty { visibility: hidden; }
.writer .tape { margin: 10px 2px 6px; height: 6px; }
.writer .tape-mark span { font-size: .52rem; }
.writer .counter b { width: 18px; height: 26px; font-size: 1.05rem; }
@media (max-width: 640px) {
  .intro-line { font-size: .92rem; margin-bottom: 14px; }
  .deadline-pill { font-size: .74rem; }
  .next-row .next-hint { display: none; }
}
.contribute:has([data-next]:disabled) .next-note { display: none; }
.intro-transcript { display: inline-flex; align-items: center; vertical-align: middle; min-height: 36px; padding: 4px 14px; border-radius: 99px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); font: 600 .84rem var(--sans); color: var(--ink); text-decoration: none; }
.intro-transcript:hover { color: var(--accent-strong); }
.intro-hero { display: flex; align-items: center; gap: 22px; margin: 4px 0 22px; padding: 20px; border-radius: 26px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.intro-cover { width: 120px; height: 120px; flex: none; border-radius: 16px; box-shadow: var(--sh-float-sm); }
.intro-body { display: grid; gap: 8px; min-width: 0; }
.intro-body .kicker { margin: 0; }
.intro-title { margin: 0; font: 600 1.15rem/1.4 var(--sans); color: var(--ink); max-width: 46ch; text-wrap: pretty; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.intro-actions .listen-chip { min-height: 40px; }
@media (max-width: 560px) { .intro-hero { gap: 14px; padding: 14px; align-items: flex-start; } .intro-cover { width: 72px; height: 72px; border-radius: 12px; } .intro-title { font-size: 1rem; } }
@media (max-width: 560px) {
  .intro-hero { display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; row-gap: 6px; }
  .intro-body { display: contents; }
  .intro-cover { grid-row: 1 / 3; }
  .intro-body .kicker, .intro-title { grid-column: 2; }
  .intro-actions { grid-column: 1 / -1; margin-top: 8px; flex-wrap: nowrap; }
  .intro-actions .listen-chip { flex: 1; min-width: 0; }
  .intro-body .kicker { font-size: .62rem; }
}
.intro-actions .listen-chip { white-space: nowrap; }
/* VU numbers on the arc, above their ticks */
.vu-nums { position: absolute; left: 50%; right: auto; top: auto; bottom: 10px; width: 0; height: 0; padding: 0; display: block; }
.vu-nums span { position: absolute; left: 0; bottom: 0; transform-origin: 0 0; transform: rotate(var(--a, 0deg)) translateY(-122px) rotate(calc(-1 * var(--a, 0deg))) translate(-50%, 50%); font: 400 .72rem/1 var(--display); color: #2B2B2B; white-space: nowrap; }
.vu-nums span { font-size: .66rem; }
/* tape bars: graphite, ochre past the ideal; orange stays for actions */
.tape-fill, .writer .tape-fill { background: linear-gradient(180deg, #5B5650, #3A3632); box-shadow: none; }
.deck.is-over .tape-fill, .writer.is-over .tape-fill { background: linear-gradient(90deg, #3A3632 0 var(--ideal-at, 100%), #C9962B var(--ideal-at, 100%)); box-shadow: none; }
.tape-mark { background: #2B2825; }
.tape-mark span { color: #4A4540; }
.cass-label span { text-transform: uppercase; letter-spacing: .06em; }

/* ── transport keys, polished: soft well, real travel, clear states ── */
.pkey { gap: 7px; }
.pkey-well { padding: 3px; border-radius: 10px; background: linear-gradient(180deg, #D9D5CE, #E8E5E0); box-shadow: inset 0 2px 5px rgba(60,45,25,.28), inset 0 0 0 1px rgba(60,45,25,.10), 0 1px 0 rgba(255,255,255,.85); }
.pkey-cap {
  border-radius: 7px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F4F0 55%, #ECE9E3 100%);
  box-shadow: 0 5px 0 #D2CEC6, 0 6px 10px rgba(80,60,35,.18), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.04);
  transition: transform .16s cubic-bezier(.3,1.6,.5,1), box-shadow .16s ease, background .2s ease, opacity .2s ease;
}
.pkey-cap .glyph { transition: transform .16s ease, opacity .2s ease, filter .2s ease; }
@media (hover: hover) {
  .pkey-cap:hover:not(:disabled) { transform: translateY(-1px); background: linear-gradient(180deg, #FFFFFF, #FAF8F5 60%, #F0EDE8); box-shadow: 0 6px 0 #D2CEC6, 0 9px 14px rgba(80,60,35,.2), inset 0 1px 0 #fff; }
  .pkey-cap:hover:not(:disabled) .glyph { transform: scale(1.08); }
}
.pkey-cap:active:not(:disabled) { transform: translateY(4px); transition-duration: .05s; box-shadow: 0 1px 0 #D2CEC6, 0 2px 3px rgba(80,60,35,.22), inset 0 1px 0 #fff; }
.pkey-cap:active:not(:disabled) .glyph { transform: scale(.94); }

/* latched (playing, paused, recording): key stays down, lit pilot dot */
.pkey.down .pkey-cap { transform: translateY(4px); background: linear-gradient(180deg, #F1EEE9, #E7E3DC); box-shadow: 0 1px 0 #D2CEC6, inset 0 1px 3px rgba(60,45,25,.18); }
.pkey-cap::after { content: ''; position: absolute; top: 6px; right: 7px; width: 5px; height: 5px; border-radius: 99px; background: #CFCAC2; box-shadow: inset 0 1px 1px rgba(0,0,0,.2); transition: background .2s, box-shadow .2s; }
.pkey-play.down .pkey-cap::after { background: #3FBF5A; box-shadow: 0 0 6px 1px rgba(63,191,90,.7); }
.pkey-pause.down .pkey-cap::after { background: #E2B23A; box-shadow: 0 0 6px 1px rgba(226,178,58,.7); animation: blink 1.1s steps(2) infinite; }
.pkey-rec.down .pkey-cap::after { background: #E0402A; box-shadow: 0 0 6px 1px rgba(224,64,42,.7); }
.pkey-stop .pkey-cap::after, .pkey-erase .pkey-cap::after { display: none; }

/* disabled: sunk flat into the well, nothing to press */
.pkey-cap:disabled { transform: translateY(3px); background: linear-gradient(180deg, #F0EEEA, #E9E6E1); box-shadow: 0 2px 0 #D8D4CD, inset 0 1px 0 rgba(255,255,255,.7); }
.pkey-cap:disabled .glyph { opacity: .22; filter: grayscale(1); }
.pkey:has(.pkey-cap:disabled) .pkey-lbl { opacity: .4; }

/* labels: the live key reads darker */
.pkey-lbl { transition: color .2s, opacity .2s; }
.pkey.down .pkey-lbl { color: var(--ink); font-weight: 600; }
.pkey-erase .pkey-lbl { color: var(--engrave-panel); }

/* focus: calm ink ring, not the accent */
.pkey-cap:focus-visible { outline: 2px solid #3A3632; outline-offset: 5px; }

@media (prefers-reduced-motion: reduce) { .pkey-cap, .pkey-cap .glyph { transition: none; } .pkey-pause.down .pkey-cap::after { animation: none; } }
/* mobile finetune */
.chip-play { flex: none; }
@media (max-width: 560px) {
  .intro-body .k-more { display: none; }
  .intro-hero { margin-bottom: 16px; }
  .intro-actions { gap: 8px; }
  .intro-actions .listen-chip { justify-content: flex-start; }
  .intro-actions .intro-transcript { padding: 4px 12px; }
  .mode-switch, .mode-switch .slide-mode { width: 100%; }
  .mode-switch .slide-mode label { justify-content: center; }
}
@media (max-width: 560px) { .mode-switch { justify-items: stretch; } .mode-switch .slide.slide-mode { width: 100%; display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mode-switch { grid-template-columns: 1fr; } }

/* logo + mobile menu */
.top { position: relative; }
.brand { gap: 12px; }
.logo { width: 32px; height: 32px; flex: none; border-radius: 9px; box-shadow: 0 2px 6px rgba(40,25,10,.25), 0 0 0 1px rgba(0,0,0,.06); }
.menu-btn { display: none; }
@media (max-width: 640px) {
  .top { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding-top: 14px; }
  .brand { font-size: .7rem; letter-spacing: .16em; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; padding: 0; border-radius: 14px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s cubic-bezier(.3,1.3,.5,1), opacity .2s; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .menu-open .menu-btn span { background: transparent; }
  .menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .top .nav { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; left: 0; width: auto; display: grid; gap: 4px; padding: 8px; border-radius: 22px; background: var(--g-body); box-shadow: 0 18px 40px rgba(60,40,20,.18), var(--sh-float-sm), var(--sh-edge);
    opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; visibility: hidden; transition: opacity .18s ease, transform .22s cubic-bezier(.3,1.3,.5,1), visibility 0s .22s; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .18s ease, transform .22s cubic-bezier(.3,1.3,.5,1); }
  .top .nav a, .top .nav .linklike { justify-content: flex-start; min-height: 48px; padding: 0 16px; font-size: .74rem; border-radius: 14px; flex: none; }
  .top .nav form { display: grid; }
}
@media (prefers-reduced-motion: reduce) { .top .nav, .menu-btn span, .menu-btn span::before, .menu-btn span::after { transition: none; } }
@media (max-width: 640px) { .top .nav { left: 16px; right: 16px; } }

/* ── audit pass: privacy line, folded steps, step 2 tags, fresh link, RSS ── */
.privacy-line { display: flex; align-items: center; gap: 10px; margin: 0 2px 14px; font-size: .9rem; color: var(--muted); }
.privacy-line .lock { position: relative; flex: none; width: 12px; height: 10px; margin-top: 5px; border-radius: 2.5px; background: #3A3632; }
.privacy-line .lock::before { content: ''; position: absolute; left: 2px; top: -6px; width: 8px; height: 8px; box-sizing: border-box; border: 2px solid #3A3632; border-bottom: 0; border-radius: 5px 5px 0 0; }

.how-fold { margin: -8px 0 22px; padding: 0 4px; }
.how-fold summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; min-height: 40px; padding: 0 14px; border-radius: 99px; font: 600 .82rem var(--sans); color: var(--muted); }
.how-fold summary::-webkit-details-marker { display: none; }
.how-fold summary:hover, .how-fold[open] summary { color: var(--ink); background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.how-chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.how-fold[open] .how-chev { transform: translateY(1px) rotate(-135deg); }
.how-fold .how-steps { margin: 12px 0 6px; }
.how-fold[open] .how-steps { animation: deck-in .3s ease-out both; }
.how-fold .about-links { margin: 6px 0 0; }

.req-tag { margin: 0 0 6px; font: 700 .62rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.req-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 99px; background: #3A3632; vertical-align: 1px; }

.thanks .linkbox { margin: 16px 0 22px; }
.link-why { margin: 0 0 10px; font-size: .92rem; color: var(--ink); }
.linkbox.is-fresh { animation: link-fresh 7s ease-out both; }
@keyframes link-fresh {
  0%, 30% { background: #DDF0D8; box-shadow: 0 0 0 2px rgba(63,160,80,.45), 0 10px 26px -10px rgba(63,160,80,.5); }
}
.linkbox.is-fresh label { animation: link-fresh-lbl 7s ease-out both; }
@keyframes link-fresh-lbl { 0%, 30% { color: #2F7A3D; } }
@media (prefers-reduced-motion: reduce) { .linkbox.is-fresh, .linkbox.is-fresh label { animation-duration: .01s; } }

.show-head-plain { display: block; }
.rss-ico { width: 14px; height: 14px; flex: none; }
.subscribe { margin: 28px 0 0; padding: 16px 18px; border-radius: 22px; background: var(--g-well); box-shadow: var(--sh-well); }
.rss-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border-radius: 99px; background: linear-gradient(180deg, #F2A23A, #E0841B); color: #fff; font: 600 .84rem var(--sans); text-decoration: none; box-shadow: 0 8px 16px -8px rgba(200,110,20,.6), inset 0 1px 0 rgba(255,230,190,.6); }
.rss-btn:hover { filter: brightness(1.04); }
.rss-link { display: inline-flex; align-items: center; gap: 6px; }
.rss-link .rss-ico { color: #E0841B; }
.copyrow .btn { white-space: nowrap; flex: none; }
.copyrow input { min-width: 0; }
@keyframes link-fresh2 { 0%, 25% { box-shadow: inset 0 0 0 999px rgba(120,200,120,.24), 0 0 0 2px rgba(63,160,80,.45), 0 10px 26px -10px rgba(63,160,80,.5); } 100% { box-shadow: inset 0 0 0 999px rgba(120,200,120,0), 0 0 0 2px rgba(63,160,80,0), var(--raise); } }
.linkbox.is-fresh { animation: link-fresh2 7s ease-out both; }

/* "Mai departe" appears once there is something to send */
.contribute.is-empty [data-step="1"] .next-row, .contribute.is-empty [data-step="1"] .next-note { display: none; }
.contribute:not(.is-empty) [data-step="1"] .next-row { animation: deck-in .3s ease-out both; }
@media (max-width: 420px) { .intro-actions .chip-dur { display: none; } .intro-title { font-size: .95rem; font-weight: 500; line-height: 1.45; } }
@media (max-width: 420px) { .intro-actions .listen-chip { gap: 8px; padding-right: 12px; font-size: .8rem; } }

/* admin: funnel */
.funnel h3 { margin: 18px 0 8px; font: 700 .68rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.funnel-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.funnel-rows li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) 3ch 5ch; align-items: center; gap: 12px; font-size: .9rem; }
.funnel-rows .f-n { text-align: right; font: 600 .9rem var(--mono); }
.funnel-rows .f-pct { text-align: right; font: 400 .8rem var(--mono); color: var(--muted); }
.funnel-rows progress { appearance: none; width: 100%; height: 8px; border: 0; border-radius: 99px; background: var(--g-well); box-shadow: var(--sh-well); overflow: hidden; }
.funnel-rows progress::-webkit-progress-bar { background: transparent; }
.funnel-rows progress::-webkit-progress-value { background: linear-gradient(90deg, #5B5650, #3A3632); border-radius: 99px; }
.funnel-rows progress::-moz-progress-bar { background: linear-gradient(90deg, #5B5650, #3A3632); border-radius: 99px; }
.funnel-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .funnel-split { grid-template-columns: 1fr; gap: 0; } .funnel-rows li { grid-template-columns: minmax(0, 1fr) 70px 3ch 5ch; gap: 8px; } }

/* deadline at a glance: week cells + one number */
.deadline { display: inline-flex; align-items: center; gap: 12px; padding: 6px 12px 6px 8px; border-radius: 16px; background: var(--g-well); box-shadow: var(--sh-well); }
.dl-week { display: flex; gap: 3px; margin: 0; padding: 0; list-style: none; }
.dl-week li { display: grid; place-items: center; width: 20px; height: 24px; border-radius: 6px; font: 700 .58rem var(--sans); letter-spacing: .02em; }
.dl-week li.gone { background: #D9D5CE; color: #A39D94; }
.dl-week li.gone b { text-decoration: line-through; text-decoration-thickness: 1px; }
.dl-week li.today { background: #3A3632; color: #fff; box-shadow: 0 2px 6px rgba(40,30,20,.3); }
.dl-week li.left { background: var(--g-body); color: var(--ink); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.dl-week li:last-child.left, .dl-week li:last-child.today { position: relative; }
.dl-week li:last-child::after { content: ''; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 99px; background: #C9962B; box-shadow: 0 0 0 2px var(--bg, #F3F1EC); }
.dl-week li:last-child { position: relative; }
.dl-left { display: flex; align-items: baseline; gap: 5px; margin: 0; line-height: 1; }
.dl-left strong { font: 700 1.25rem var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.dl-left span { font-size: .78rem; color: var(--muted); }
.deadline.is-urgent .dl-left strong { color: #B4231A; }
@media (max-width: 560px) { .dl-week li { width: 18px; height: 22px; } .deadline { gap: 10px; } }
.deadline .dl-left strong { color: var(--ink); }
.deadline.is-urgent .dl-left strong { color: #B4231A; }
.dl-week li { width: 22px; height: 26px; font-size: .62rem; }
@media (max-width: 560px) { .dl-week li { width: 20px; height: 24px; } }

/* mic check: the record key says what it does; stop is out of the way; "Renunță" cancels */
.mic-cancel { display: none; }
.deck[data-state=setup] .mic-cancel { display: inline-flex; align-items: center; margin-left: auto; align-self: flex-end; min-height: 44px; }
.deck[data-state=setup] .pkey-stop { display: none; }
.deck[data-state=setup] .pkey-rec .pkey-lbl > span { display: none; }
.deck[data-state=setup] .pkey-rec .pkey-lbl::after { content: 'începe'; color: var(--ink); font-weight: 600; }

/* ── episode player key: same family as the transport keys ── */
.player-key {
  position: relative; width: 64px; height: 48px; margin: 3px; border: 0; border-radius: 9px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F4F0 55%, #ECE9E3 100%);
  /* soft well ring instead of the black frame */
  box-shadow: 0 0 0 3px #DCD8D1, 0 0 0 4px rgba(60,45,25,.10), 0 5px 0 3px #D2CEC6, 0 8px 14px 2px rgba(80,60,35,.16), inset 0 1px 0 #fff;
  transition: transform .16s cubic-bezier(.3,1.6,.5,1), box-shadow .16s ease, background .2s ease;
}
.player-key svg { width: 18px; height: 18px; fill: #3A3632; transition: transform .16s ease; }
@media (hover: hover) {
  .player-key:hover { transform: translateY(-1px); box-shadow: 0 0 0 3px #DCD8D1, 0 0 0 4px rgba(60,45,25,.10), 0 6px 0 3px #D2CEC6, 0 11px 18px 2px rgba(80,60,35,.18), inset 0 1px 0 #fff; }
  .player-key:hover svg { transform: scale(1.08); }
}
.player-key:active { transform: translateY(4px); transition-duration: .05s; box-shadow: 0 0 0 3px #DCD8D1, 0 0 0 4px rgba(60,45,25,.10), 0 1px 0 3px #D2CEC6, 0 2px 4px 2px rgba(80,60,35,.16), inset 0 1px 0 #fff; }
.player-key:active svg { transform: scale(.94); }
/* playing: the key stays down with a green pilot light */
.player.is-playing .player-key { transform: translateY(4px); background: linear-gradient(180deg, #F1EEE9, #E7E3DC); box-shadow: 0 0 0 3px #DCD8D1, 0 0 0 4px rgba(60,45,25,.10), 0 1px 0 3px #D2CEC6, inset 0 1px 3px rgba(60,45,25,.18); }
.player-key::after { content: ''; position: absolute; top: 6px; right: 7px; width: 5px; height: 5px; border-radius: 99px; background: #CFCAC2; box-shadow: inset 0 1px 1px rgba(0,0,0,.2); transition: background .2s, box-shadow .2s; }
.player.is-playing .player-key::after { background: #3FBF5A; box-shadow: 0 0 6px 1px rgba(63,191,90,.7); }
/* focus: only for keyboard, in ink, never orange after a tap */
.player-key:focus { outline: none; }
.player-key:focus-visible { outline: 2px solid #3A3632; outline-offset: 6px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .player-key, .player-key svg { transition: none; } }

/* ── key physics: the well is fixed, its lower rim always shows; only the cap travels inside it ── */
.pkey-well, .player-well {
  display: block; box-sizing: border-box; height: auto; padding: 4px 4px 10px; border-radius: 12px;
  background: linear-gradient(180deg, #3A3733, #2A2724);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.55), inset 0 -1px 0 rgba(255,255,255,.08), 0 1px 0 rgba(255,255,255,.85);
}
.pkey-cap, .player-key {
  display: grid; place-items: center; width: 100%; margin: 0; border-radius: 8px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F4F0 55%, #ECE9E3 100%);
  /* the lip: the cap's own side, visible below its face */
  box-shadow: 0 5px 0 #CFCAC1, 0 5px 0 1px rgba(0,0,0,.18), inset 0 1px 0 #fff;
  transition: transform .14s cubic-bezier(.3,1.5,.5,1), box-shadow .14s ease, background .2s ease;
}
.pkey-cap { height: 42px; }
.player-key { width: 64px; height: 44px; }
@media (hover: hover) {
  .pkey-cap:hover:not(:disabled), .player-key:hover { transform: none; background: linear-gradient(180deg, #FFFFFF, #FAF8F5 60%, #F0EDE8); box-shadow: 0 5px 0 #CFCAC1, 0 5px 0 1px rgba(0,0,0,.18), inset 0 1px 0 #fff; }
}
/* pressed / latched: the cap sinks onto its lip, the rim below stays put */
.pkey-cap:active:not(:disabled), .pkey.down .pkey-cap, .player-key:active, .player.is-playing .player-key {
  transform: translateY(4px); transition-duration: .06s;
  background: linear-gradient(180deg, #F2EFEA, #E8E4DD);
  box-shadow: 0 1px 0 #CFCAC1, 0 1px 0 1px rgba(0,0,0,.18), inset 0 1px 2px rgba(60,45,25,.15);
}
/* disabled: sits low and flat, nothing to press */
.pkey-cap:disabled { transform: translateY(3px); background: linear-gradient(180deg, #ECE9E4, #E3DFD8); box-shadow: 0 2px 0 #CFCAC1, 0 2px 0 1px rgba(0,0,0,.12); }
.player-well { margin: 0 2px; }
@media (max-width: 560px) { .pkey-well { width: 100%; padding: 3px 3px 9px; } .pkey-cap { height: 38px; } }

/* ── recorder: one panel from mic check to recording (no shifting) ── */
/* mic check and recording show the same three keys: rec · pause · stop */
.deck:is([data-state=setup],[data-state=rec],[data-state=paused],[data-state=silent],[data-state=arming]) .pkey-rec { display: grid; }
.deck:is([data-state=setup],[data-state=rec],[data-state=paused],[data-state=silent],[data-state=arming]) :is(.pkey-play, .pkey-erase) { display: none; }
.deck[data-state=setup] :is(.pkey-pause, .pkey-stop) { display: grid; }
.deck:is([data-state=setup],[data-state=arming]) > .spectrum { display: none; }
/* Renunță: a secondary button at the end of the row, aligned with the keys */
.mic-cancel { display: none; }
.deck[data-state=setup] .mic-cancel { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; align-self: flex-end; margin-bottom: 6px; min-height: 44px; padding: 0 18px; font-size: .86rem; }
.mic-cancel .x { position: relative; width: 10px; height: 10px; }
.mic-cancel .x::before, .mic-cancel .x::after { content: ''; position: absolute; left: 4px; top: -1px; width: 2px; height: 12px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.mic-cancel .x::after { transform: rotate(-45deg); }

/* no ideal mark on the bars; the fill keeps one colour */
.deck.is-over .tape-fill, .writer.is-over .tape-fill { background: linear-gradient(180deg, #5B5650, #3A3632); }

/* ── key polish: lighter frame, inactive keys stay level, the start key matches its neighbours ── */
.pkey-well, .player-well { padding: 3px 3px 8px; border-radius: 11px; background: linear-gradient(180deg, #4A4641, #3B3834); box-shadow: inset 0 1px 3px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.85); }
.pkey-cap, .player-key { border-radius: 8px; }
/* inactive: same height as the others, just quiet */
.pkey-cap:disabled { transform: none; background: linear-gradient(180deg, #F3F1ED, #E9E6E0); box-shadow: 0 5px 0 #D3CFC7, 0 5px 0 1px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.8); cursor: default; }
.pkey-cap:disabled .glyph { opacity: .25; }
.pkey-cap:disabled::after { opacity: .5; }
/* mic check: the start key is a normal key; only its red dot breathes */
.deck[data-state=setup] .pkey-rec .pkey-cap { box-shadow: 0 5px 0 #CFCAC1, 0 5px 0 1px rgba(0,0,0,.18), inset 0 1px 0 #fff; }
.deck[data-state=setup] .glyph-rec { animation: rec-breathe 1.6s ease-in-out infinite; }
@keyframes rec-breathe { 50% { box-shadow: 0 0 10px 3px rgba(216,52,28,.55); transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .deck[data-state=setup] .glyph-rec { animation: none; } }

/* sound check: one quiet line with a coloured dot */
.sigq { display: none; align-items: center; gap: 10px; margin: 10px 2px 0; font-size: .88rem; color: var(--ink); }
.sigq[data-show="1"] { display: flex; animation: deck-in .3s ease-out both; }
.sigq-dot { flex: none; width: 9px; height: 9px; border-radius: 99px; background: #CFCAC2; box-shadow: inset 0 1px 1px rgba(0,0,0,.2); transition: background .3s, box-shadow .3s; }
.sigq[data-q=listen] { color: var(--muted); }
.sigq[data-q=listen] .sigq-dot { animation: blink 1.2s steps(2) infinite; }
.sigq[data-q=good] .sigq-dot { background: #3FBF5A; box-shadow: 0 0 6px 1px rgba(63,191,90,.6); }
.sigq[data-q=warn] .sigq-dot { background: #E2B23A; box-shadow: 0 0 6px 1px rgba(226,178,58,.6); }
.sigq[data-q=bad] .sigq-dot { background: #E0402A; box-shadow: 0 0 6px 1px rgba(224,64,42,.6); }
@media (prefers-reduced-motion: reduce) { .sigq[data-q=listen] .sigq-dot { animation: none; } }

/* the instruction and the sound check sit right under the state, above the bar */
.deck > .deck-status { margin: 4px 2px 0; }
.deck > .sigq { margin: 6px 2px 2px; }
.deck > .deck-status:empty { display: none; }

/* step 2: email, then the two agreements grouped, then the action */
.contribute [data-step="2"] .field + .field, .contribute [data-step="2"] .field + .consents { margin-top: 22px; }
.consents { display: grid; gap: 14px; margin: 22px 0 6px; padding: 16px 18px; border-radius: 20px; background: var(--g-well); box-shadow: var(--sh-well); }
.consent-row { display: flex; align-items: flex-start; gap: 14px; font-size: .92rem; line-height: 1.5; color: var(--ink); cursor: pointer; }
.consent-row .switch { flex: none; margin-top: 1px; }
.consent-row.is-optional { color: var(--muted); }
.consent-row .opt { margin-left: 6px; font: 700 .6rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.contribute [data-step="2"] .actions { margin-top: 22px; }
.after-submit a { color: var(--muted); }

/* Despre: who's behind it */
.host { display: grid; grid-template-columns: 148px 1fr; gap: 24px; align-items: start; margin: 28px 0 8px; padding: 20px; border-radius: 24px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.host-photo { width: 148px; height: 148px; object-fit: cover; object-position: 50% 30%; border-radius: 20px; box-shadow: 0 6px 16px -6px rgba(40,25,10,.35); }
.host-text h2 { margin-top: 0; }
.host-text p { margin: 0 0 10px; }
.host-link { color: var(--muted); }
@media (max-width: 560px) { .host { grid-template-columns: 1fr; gap: 14px; padding: 16px; } .host-photo { width: 112px; height: 112px; } }
@media (max-width: 560px) { .slide:has(input[name=identity]) label { white-space: normal; text-align: center; line-height: 1.25; padding: 0 10px; } }
/* the question's intro reads like a handwritten line; the privacy promise like a small note */
.answer-card .q-head .intro { margin: 14px 0 26px; }
.answer-card .q-head .intro p { margin: 0; font: 600 1.5rem/1.3 'Caveat', 'Segoe Print', cursive; color: #4A433B; letter-spacing: .005em; transform: rotate(-.6deg); transform-origin: left center; }
.privacy-line { align-items: flex-start; gap: 12px; margin: 0 0 22px; padding: 12px 16px; border-radius: 14px; background: var(--g-well); box-shadow: var(--sh-well); font-size: .84rem; line-height: 1.5; color: var(--muted); max-width: 62ch; }
.privacy-line .lock { margin-top: 7px; transform: scale(.85); }
@media (max-width: 560px) { .answer-card .q-head .intro p { font-size: 1.35rem; } .privacy-line { padding: 10px 14px; } }
.answer-card .q-head .intro { margin: 18px 0 30px; }
.answer-card .q-head .intro p { font-size: 1.7rem; }
@media (max-width: 560px) { .answer-card .q-head .intro { margin: 14px 0 24px; } .answer-card .q-head .intro p { font-size: 1.45rem; } }
.privacy-line { margin-bottom: 26px; }

/* ── phones: the answer area becomes a full-screen sheet ── */
.sheet-head, .sheet-foot { display: none; }
@media (max-width: 640px) {
  body.sheet-open { overflow: hidden; }
  .contribute.is-focus .modes {
    position: fixed; inset: 0; z-index: 80; margin: 0; display: flex; flex-direction: column; gap: 14px;
    padding: calc(14px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain; animation: sheet-up .28s cubic-bezier(.2,.9,.3,1) both;
  }
  .contribute.is-focus .sheet-head { display: flex; align-items: flex-start; gap: 12px; }
  .sheet-q { flex: 1; margin: 6px 0 0; font: 600 1.05rem/1.35 var(--sans); color: var(--ink); }
  .sheet-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); cursor: pointer; }
  .sheet-x span { position: relative; width: 16px; height: 16px; }
  .sheet-x span::before, .sheet-x span::after { content: ''; position: absolute; left: 7px; top: 0; width: 2px; height: 16px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
  .sheet-x span::after { transform: rotate(-45deg); }
  .contribute.is-focus .mode { flex: 1; display: flex; flex-direction: column; }
  .contribute.is-focus .mode .deck { flex: 1; }
  .contribute.is-focus .writer { display: flex; flex-direction: column; }
  .contribute.is-focus .writer textarea { flex: 1; min-height: 38vh; max-height: none; }
  .contribute.is-focus .sheet-foot { display: block; position: sticky; bottom: 0; padding-top: 6px; }
  .contribute.is-focus .sheet-foot .btn { width: 100%; min-height: 52px; }
}
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .contribute.is-focus .modes { animation: none; } }
@media (max-width: 640px) {
  .contribute.is-focus .writer textarea { height: auto !important; flex: 1 1 auto; }
  .contribute.is-focus .sheet-foot .btn.primary { display: flex; justify-content: center; width: 100%; }
}
@media (max-width: 640px) { .contribute.is-focus .modes { align-items: stretch; } .contribute.is-focus .mode.mode-text > .writer, .contribute.is-focus .mode.mode-audio > .deck { flex: 1 1 auto; } }
@media (max-width: 640px) { .contribute.is-focus .mode .deck.writer { display: flex; flex-direction: column; } .contribute.is-focus .writer textarea { min-height: 0; } }
@media (max-width: 640px) { .contribute.is-focus .writer { display: flex !important; } }
@media (max-width: 640px) { .contribute.is-focus .mode.mode-audio > .deck, .contribute.is-focus .mode.mode-audio { flex: 0 0 auto; } .contribute.is-focus .sheet-foot { margin-top: auto; } }

/* ── home: below the question, one short paragraph and the ways to find out more ── */
.home-more { margin: 36px 4px 8px; }
.home-more > p { margin: 8px 0 16px; max-width: 60ch; color: var(--muted); }
.more-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.more-links a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); text-decoration: none; color: var(--ink); }
.more-links a strong { font-weight: 600; font-size: .95rem; }
.more-links a span { font-size: .82rem; color: var(--muted); }
.more-links a:hover strong { color: var(--accent-strong); }
@media (max-width: 420px) { .more-links { grid-template-columns: 1fr; } }

/* ── despre: episode 0 as the way in ── */
.ep0 { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: start; margin: 24px 0 8px; padding: 18px; border-radius: 22px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.ep0-cover .ep-cover { width: 132px; height: 132px; }
.ep0 h2 { margin: 4px 0 6px; font-size: 1.15rem; }
.ep0 h2 a { color: inherit; text-decoration: none; }
.ep0-body > p { margin: 0 0 10px; }
.ep0 .player { margin: 6px 0 8px; }
@media (max-width: 560px) { .ep0 { grid-template-columns: 1fr; gap: 12px; padding: 14px; } .ep0-cover .ep-cover { width: 96px; height: 96px; } }

/* ── episoade: a quiet flow; no deck-like player here ── */
.ep-flow { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.ep-row { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.ep-row:first-child { border-top: 0; }
.ep-row-cover .ep-cover { width: 88px; height: 88px; }
.ep-row h2 { margin: 2px 0 4px; font-size: 1.1rem; line-height: 1.3; }
.ep-row h2 a { color: var(--ink); text-decoration: none; }
.ep-row h2 a:hover { color: var(--accent-strong); }
.ep-row .ep-desc { margin: 0 0 10px; color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.ep-row-actions .listen-chip { min-height: 36px; padding: 4px 12px 4px 4px; font-size: .84rem; }
.ep-row-actions .chip-play { width: 26px; height: 26px; }
@media (max-width: 560px) { .ep-row { grid-template-columns: 64px 1fr; gap: 14px; } .ep-row-cover .ep-cover { width: 64px; height: 64px; } }
.prose .ep0 h2 { margin: 4px 0 6px; font: 600 1.15rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.prose .ep0 a, .prose .ep0-cover { text-decoration: none; }
.prose .ep0 .kicker { margin: 0; }
/* small covers: draw at full size, scale down, so the number and bars stay whole */
.ep-row-cover { display: block; width: 88px; height: 88px; overflow: hidden; border-radius: 14px; }
.ep-row-cover .ep-cover { width: 132px !important; height: 132px !important; transform: scale(.6667); transform-origin: top left; }
@media (max-width: 560px) { .ep-row-cover { width: 64px; height: 64px; border-radius: 12px; } .ep-row-cover .ep-cover { transform: scale(.4848); } }

/* admin: statistici */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.kpi { display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.kpi-n { font: 700 1.7rem/1.1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.kpi-l { font-size: .84rem; color: var(--muted); }
.kpi-note { font: 400 .76rem var(--mono); color: var(--label); }
.stats-tbl td a { color: var(--ink); }
.day-rows .f-pct { width: auto; white-space: nowrap; }
.day-rows li { grid-template-columns: minmax(0, 1fr) minmax(80px, 2fr) 4ch 7ch; }
@media (max-width: 720px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* statistici: drawn funnels */
.funnel-svg { display: block; width: 100%; max-width: 640px; height: auto; margin: 10px auto 6px; }
.funnel-svg .fz-n { font: 700 18px var(--sans); fill: #fff; }
.funnel-svg .fz-l { font: 500 12px var(--sans); fill: rgba(255,255,255,.85); }
.funnel-svg .fz-d { font: 500 12px var(--sans); fill: var(--muted); }
.stats-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats-two .funnel-svg { max-width: 420px; }
.split { margin: 6px 0 14px; }
.split-svg { display: block; width: 100%; height: 14px; border-radius: 99px; overflow: hidden; }
.split-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.split-legend strong { color: var(--ink); }
.sw { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.sw-a { background: #3A3632; } .sw-b { background: #C9962B; }
.split-h { margin: 14px 0 4px; font: 700 .66rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.stats-cur { margin: 10px 0 0; font-weight: 600; }
.stats-link { margin: 14px 0; }
@media (max-width: 720px) { .stats-two { grid-template-columns: 1fr; } }

/* ── footer: where to listen, then the quiet links ── */
.foot { max-width: 820px; margin: 40px auto 0; padding: 28px 16px 48px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.foot-listen .kicker { margin: 0 0 12px; }
.listen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.listen-on { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px 8px 10px; border-radius: 16px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: transform .15s ease, box-shadow .15s ease; }
.listen-on svg { flex: none; width: 28px; height: 28px; }
.listen-on > span { display: grid; line-height: 1.2; }
.listen-on small { font-weight: 500; font-size: .72rem; color: var(--faint); }
a.listen-on:hover { transform: translateY(-1px); box-shadow: var(--sh-float), var(--sh-edge); }
.listen-spotify svg { color: #1DB954; }
.listen-apple svg { color: #9933CC; }
.listen-youtube svg { color: #E62117; }
.listen-rss svg { color: #E0841B; }
.listen-on.is-soon { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.listen-on.is-soon svg { filter: grayscale(1); opacity: .45; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-top: 26px; }
.foot-meta p { margin: 0; }
.foot-meta nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-meta nav a { color: var(--muted); text-decoration: none; }
.foot-meta nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 720px) { .listen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-meta { flex-direction: column; } .foot-meta nav a { padding: 6px 0; } }

/* statistici: funnel as centred bars */
.fnl { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; gap: 0; }
.fnl-row { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr) 4ch; align-items: center; gap: 14px; }
.fnl-l { font-size: .9rem; color: var(--ink); }
.fnl-bar { display: block; width: 100%; height: 30px; }
.fnl-n { text-align: right; font: 700 1.05rem var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.fnl-step { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr) 4ch; gap: 14px; }
.fnl-step span { grid-column: 2; justify-self: center; margin: 4px 0; padding: 2px 10px; border-radius: 99px; background: var(--g-well); box-shadow: var(--sh-well); font: 600 .74rem var(--mono); color: var(--muted); }
.stats-two .fnl-row, .stats-two .fnl-step { grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr) 3ch; }
@media (max-width: 560px) {
  .fnl-row, .stats-two .fnl-row { grid-template-columns: minmax(0, 1fr) 3ch; row-gap: 4px; }
  .fnl-l { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); }
  .fnl-step, .stats-two .fnl-step { grid-template-columns: minmax(0, 1fr) 3ch; }
  .fnl-step span { grid-column: 1; }
  .fnl-bar { height: 24px; }
}
/* counter: a quiet readout in the deck's own materials, not a black block */
.counter { gap: 1px; padding: 3px 8px; border-radius: 10px; background: var(--g-well); box-shadow: var(--sh-well); }
.counter b, .counter em,
.deck-strip .counter b, .deck-strip .counter em,
.writer .counter b { width: auto; min-width: .62em; height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; font: 500 1.05rem/1.5 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.counter em, .deck-strip .counter em { min-width: 0; margin: 0 1px; color: var(--faint); }
.counter b::before, .counter b::after { display: none !important; }
.deck[data-state=rec] .counter b, .deck[data-state=play] .counter b { color: var(--ink); }
.deck.is-over .counter b, .writer.is-over .counter b { color: var(--muted); }
@media (max-width: 560px) { .counter b, .counter em, .deck-strip .counter b, .deck-strip .counter em, .writer .counter b { font-size: 1rem; } }
/* the questions are handwritten wherever they appear */
.answer-card #q, .sheet-q, .qsmall { font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 700; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
.answer-card #q { font-size: 3.4rem; line-height: 1.02; margin: 10px 0 0; }
.sheet-q { font-size: 1.6rem; line-height: 1.1; margin-top: 2px; }
.qsmall { font-size: 1.75rem; line-height: 1.15; margin: 2px 0 12px; }
/* the line under the question stays handwritten, but quieter: a note under the question */
.answer-card .q-head .intro p { font-weight: 500; font-size: 1.45rem; color: #6B6259; }
@media (max-width: 560px) {
  .answer-card #q { font-size: 2.65rem; }
  .answer-card .q-head .intro p { font-size: 1.3rem; }
  .qsmall { font-size: 1.5rem; }
}

/* step 2, simplified: one question, quiet options */
.contribute [data-step="2"] .step-title { margin-bottom: 18px; }
.id-pick .field { display: grid; gap: 8px; }
.id-pick label { font-weight: 600; font-size: 1.05rem; }
.id-switch { justify-self: start; padding: 4px 0; font-size: .88rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.anon-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--g-well); box-shadow: var(--sh-well); font-weight: 600; }
.voice-hint { margin: 10px 0 0; font-size: .86rem; }
.email-fold { margin: 22px 0 0; }
.email-fold summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: .92rem; color: var(--ink); }
.email-fold summary::-webkit-details-marker { display: none; }
.email-fold summary::before { content: '+'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); font-weight: 600; color: var(--accent-strong); }
.email-fold[open] summary::before { content: '–'; }
.email-fold .field { margin-top: 8px; }
.ep-meta > :is(span, time) + :is(span, time)::before { content: '·'; margin-right: 14px; color: var(--faint); }
@media (max-width: 560px) { .ep-meta > :is(span, time) + :is(span, time)::before { margin: 0 6px; } }
/* text pages: easier to read in one pass */
.prose { line-height: 1.7; }
.prose > h1 + p { font-size: 1.08rem; color: var(--ink); }
.prose li { margin: .6em 0; }
.prose li strong { color: var(--ink); }
.prose p + p { margin-top: .9em; }

/* episode credits */
.credits { margin: 22px 0; padding: 18px 20px; border-radius: 22px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.credits .kicker { margin: 0 0 12px; }
.credits-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 12px; }
.credits-stats p { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.credits-stats strong { font: 700 1.6rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.credits-stats span { font-size: .88rem; color: var(--muted); }
.credits-names { margin: 0 0 8px; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.credits .small { margin: 0; }
.ep-credits { margin: -4px 0 10px; font-size: .82rem; color: var(--label); }
/* player time: the same quiet readout as the counter */
.player-time { padding: 2px 8px; border-radius: 9px; background: var(--g-well); box-shadow: var(--sh-well); color: var(--muted); text-shadow: none; font: 500 .9rem var(--display); font-variant-numeric: tabular-nums; }
.player-time[data-total] { color: var(--faint); }
.player.is-playing .player-time:not([data-total]) { color: var(--ink); }

/* after listening: a private reflection */
.echo { margin: 34px 0 10px; padding: 22px; border-radius: 24px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.echo .kicker { margin: 0 0 4px; }
.echo h2 { margin: 0 0 6px; font: 600 1.3rem/1.3 var(--sans); }
.echo-lead { margin: 0 0 14px; color: var(--muted); max-width: 60ch; }
.echo textarea { width: 100%; }
.echo .consent-row { margin: 4px 0; }
.echo .btn.primary { justify-self: start; }
.echo.is-thanks { position: relative; }
.echo-jump { margin: -6px 0 18px; }

/* the way back to answering: warm, inviting */
.invite { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; margin: 34px 0 10px; padding: 26px 26px 24px; border-radius: 28px;
  background: radial-gradient(120% 140% at 0% 0%, #FFE9D2 0%, #FBE3CC 35%, #F6EEE4 75%);
  box-shadow: 0 18px 40px -18px rgba(200,110,40,.45), 0 0 0 1px rgba(226,120,50,.12), inset 0 1px 0 rgba(255,255,255,.8); }
.invite-mark { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 8px 18px -6px rgba(80,40,10,.45); transform: rotate(-4deg); }
.invite .kicker { margin: 2px 0 6px; color: #B4501E; }
.invite-q { margin: 0 0 8px; font: 700 2.1rem/1.08 'Caveat', 'Segoe Print', cursive; color: #3A2A1E; text-wrap: balance; }
.invite-sub { margin: 0 0 16px; font-size: .92rem; color: #7A5A44; }
.invite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.invite-actions .btn:not(.primary) { background: rgba(255,255,255,.7); }
@media (max-width: 560px) { .invite { grid-template-columns: 1fr; gap: 12px; padding: 22px 18px; } .invite-mark { width: 52px; height: 52px; } .invite-q { font-size: 1.8rem; } .invite-actions .btn { flex: 1 1 auto; justify-content: center; } }
/* the question card breathes: a soft warm tint that drifts and fades, very slowly */
.answer-card { position: relative; isolation: isolate; overflow: hidden; }
.answer-card::before { content: ''; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 40% at 18% 12%, rgba(255, 196, 140, .38), transparent 70%),
    radial-gradient(40% 45% at 88% 30%, rgba(255, 168, 120, .22), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(255, 214, 170, .30), transparent 72%);
  animation: card-breathe 14s ease-in-out infinite alternate; }
@keyframes card-breathe {
  0%   { opacity: .55; transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { opacity: 1;   transform: translate3d(1.5%, 1%, 0) scale(1.04); }
  100% { opacity: .7;  transform: translate3d(2%, -1.5%, 0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) { .answer-card::before { animation: none; opacity: .8; } }
/* timeline: a line through time, the moment above each step */
.timeline { position: relative; gap: 0; margin: 6px 0 0; }
.timeline li, .timeline li:first-child { grid-template-columns: 28px 1fr; grid-template-areas: "dot when" "dot what"; align-items: start; column-gap: 14px; row-gap: 2px; padding: 0 0 22px; border-top: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li .tl-dot { grid-area: dot; position: relative; z-index: 1; justify-self: center; margin-top: 4px; width: 14px; height: 14px; border: 3px solid var(--bg); box-sizing: content-box; }
.timeline li strong { grid-area: what; font-weight: 600; font-size: 1.02rem; line-height: 1.35; color: var(--ink); }
.timeline li span:last-child { grid-area: when; grid-column: auto; text-align: left; font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
/* the line: from each dot down to the next */
.timeline li::before { content: ''; position: absolute; left: 13px; top: 18px; bottom: -4px; width: 2px; border-radius: 2px; background: repeating-linear-gradient(180deg, var(--line) 0 5px, transparent 5px 9px); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: linear-gradient(180deg, #E0602A, rgba(224,96,42,.25)); }
.timeline li:not(.done) strong { color: var(--muted); font-weight: 500; }
.timeline li.done span:last-child { color: var(--accent-strong); }
.timeline li:not(.done) .tl-dot { background: var(--g-body); box-shadow: 0 0 0 1px var(--line), var(--sh-float-sm); }

/* published reflections under an episode */
.echoes { margin: 30px 0 0; }
.echoes .kicker { margin: 0 0 12px; }
.echo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.echo-list li { padding: 16px 18px; border-radius: 18px; background: var(--g-body); box-shadow: var(--sh-float-sm), var(--sh-edge); }
.echo-list blockquote { margin: 0; }
.echo-list blockquote p { margin: 0 0 6px; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.echo-by { margin: 4px 0 0; font-size: .82rem; color: var(--muted); }
.echo-by .p-author { font-weight: 600; color: var(--ink); }
.echo > .small { margin: 10px 0 0; }

/* ════════════════════════════════════════════════════════════════════════
   HARMONY · one small material system for the whole site
   Surfaces: page · card (raised) · well (sunken, only for things you use or read a level from)
   Corners: 10 small · 20 card · pill.  Shadows: raised · sunken · focus.
   Colour by role: orange = actions · graphite = text/data · ochre = highlight · green/red = status.
   The old surface/shadow variables are mapped onto these, so every component follows.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --h-surface: #FBFAF7;
  --h-well: #EEEBE5;
  --h-line: rgba(60, 45, 30, .10);
  --h-raised: 0 0 0 1px var(--h-line), 0 12px 28px -18px rgba(60, 40, 20, .30), inset 0 1px 0 rgba(255, 255, 255, .9);
  --h-raised-sm: 0 0 0 1px var(--h-line), 0 4px 10px -6px rgba(60, 40, 20, .25), inset 0 1px 0 rgba(255, 255, 255, .9);
  --h-sunken: inset 0 1px 3px rgba(60, 45, 30, .12), inset 0 0 0 1px var(--h-line);
  --h-r-sm: 10px; --h-r-card: 20px;
  /* map the old materials onto the new ones */
  --g-body: var(--h-surface); --g-bezel: var(--h-surface); --g-concave: var(--h-well); --g-well: var(--h-well);
  --g-alu: var(--h-surface); --g-keycap: linear-gradient(180deg, #FFFFFF, #F4F2EE);
  --panel: var(--h-surface); --panel-hi: #FFFFFF; --panel-lo: var(--h-well);
  --sh-float: var(--h-raised); --sh-float-sm: var(--h-raised-sm); --sh-edge: 0 0 0 0 transparent; --sh-edge-2: 0 0 0 0 transparent;
  --sh-well: var(--h-sunken); --sh-metal: var(--h-raised-sm);
  --raise: var(--h-raised); --inset: var(--h-sunken);
}

/* ── cards: one look, one corner ── */
.answer-card, .sheet, .box, .card, .thanks, .credits, .echo, .echo-list li, .ep0, .host, .kpi, .more-links a, .listen-on, .how-steps li, .linkbox, .my-answer > form.contribute {
  background-color: var(--h-surface); border-radius: var(--h-r-card); }
.how-steps li, .echo-list li, .kpi, .more-links a, .listen-on { border-radius: 16px; }
.answer-card { padding: 34px 34px 30px; }
@media (max-width: 640px) { .answer-card { padding: 22px 18px 20px; } }
/* steps in "Cum funcționează" are content, not inputs: raised, not sunken */
.how-steps li { background: var(--h-surface); box-shadow: var(--h-raised-sm); }

/* ── notes are text, not panels ── */
.privacy-line, .note, .contribute .note, .voice-hint { background: none; box-shadow: none; padding: 0; border-radius: 0; color: var(--muted); }
.privacy-line { margin-bottom: 24px; }
.anon-note { background: none; box-shadow: none; padding: 6px 0; }
.consents { background: none; box-shadow: none; padding: 0; border-radius: 0; gap: 16px; }

/* ── the deadline: plain, flat day boxes ── */
.deadline { background: none; box-shadow: none; padding: 0; }
.dl-week li { border-radius: 6px; box-shadow: none; }
.dl-week li.left { background: var(--h-well); }
.dl-week li.today { box-shadow: none; }

/* ── wells only for things you use ── */
textarea, input:not([type=checkbox]):not([type=radio]):not([type=file]), select { background: var(--h-well); box-shadow: var(--h-sunken); border-radius: var(--h-r-sm); }
.slide { background: var(--h-well); box-shadow: var(--h-sunken); }
.slide-thumb { background: var(--h-surface); box-shadow: var(--h-raised-sm); }

/* ── the answer area: no card inside the card ── */
.answer-card .deck, .answer-card .deck.writer { background: none; box-shadow: none; padding: 0; border: 0; }
.answer-card .deck::before, .answer-card .deck::after { display: none; }
.deck-start { background: var(--h-well); box-shadow: var(--h-sunken); border-radius: 16px; }
.deck-start-key { box-shadow: 0 6px 14px -6px rgba(200, 80, 20, .6); }
/* recorder instruments sit in wells; the deck itself is just the card */
.bay, .vu, .spectrum { box-shadow: var(--h-sunken); border-radius: 14px; }
.vu { background: var(--h-well); }
.bay-win, .vu-face { border-radius: 10px; }
.writer textarea { background: var(--h-well); }
/* private link page and step 2 use the same rule */
.my-answer .deck { background: none; box-shadow: none; padding: 0; }
/* the phone sheet keeps the page colour */
@media (max-width: 640px) { .contribute.is-focus .modes .deck { background: none; box-shadow: none; } }

/* ── players: same materials ── */
.player { background: none; box-shadow: none; padding: 0; }
.player-screen { background: var(--h-well); box-shadow: var(--h-sunken); border-radius: 14px; }

/* ── buttons: primary · secondary · text ── */
.btn { border-radius: 999px; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.btn:hover { box-shadow: var(--h-raised); }
.btn.primary { background: var(--g-accent); color: #fff; box-shadow: 0 10px 20px -10px rgba(220, 80, 20, .6), inset 0 1px 0 rgba(255, 210, 170, .5); }
.intro-transcript, .listen-chip, .text-btn.pill, .ep-links a, .about-links a { box-shadow: var(--h-raised-sm); background: var(--h-surface); }

/* ── kicker labels: one style ── */
.kicker { font: 700 .68rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--label); }

/* ── admin: same cards, wells only for fields ── */
.box > summary, .card header { color: var(--muted); }
.funnel-rows progress, .fnl-bar rect:first-child { box-shadow: none; }
/* clip the breathing glow without making the card a scroll box (focus/scrollIntoView must move the page, not the card) */
.answer-card { overflow: clip; }
/* admin tiles: plain numbers like the Statistici tiles */
.tile { background: var(--h-surface); box-shadow: var(--h-raised-sm); border-radius: 16px; }
.tile-n { padding: 0; background: none; box-shadow: none; border-radius: 0; font: 700 1.9rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); text-shadow: none; }
.tile.hot .tile-n { color: var(--accent-strong); text-shadow: none; }
/* ── colour by role: orange is only for actions ──
   done / sent = green · highlight = ochre · labels and links = graphite */
:root { --h-done: #3FA65A; --h-done-soft: rgba(63,166,90,.25); --h-ochre: #C9962B; }
/* timeline: what's done is green, like the "sent" lamp */
.timeline li.done .tl-dot { background: var(--h-done); box-shadow: 0 0 8px var(--h-done-soft); }
.timeline li.done::before { background: linear-gradient(180deg, var(--h-done), rgba(63,166,90,.2)); }
.timeline li.done span:last-child { color: #2F7A3D; }
/* label dots: a quiet ochre marker, not a call to action */
.kicker::before { background: var(--h-ochre); box-shadow: none; }
.now .kicker::before { background: var(--h-ochre); box-shadow: none; }
/* links in text: ink with a soft underline; orange only on hover */
a { color: var(--ink); text-decoration-color: rgba(60,45,30,.35); }
a:hover { color: var(--accent-strong); text-decoration-color: currentColor; }
.prose li::marker { color: var(--h-ochre); }
.how-steps li::before { color: var(--ink); }
.transcript summary h2, .transcript h2 { color: var(--ink); }
.text-btn { color: var(--ink); }
.ep-links a svg, .rss-link .rss-ico { color: #E0841B; }
.email-fold summary::before { color: var(--ink); }
.summary .check { background: var(--h-done); }
.summary { background: rgba(63,166,90,.08); box-shadow: inset 0 0 0 1px rgba(63,166,90,.18); }
/* reflection form: one rhythm (8 · 16 · 24 · 32) */
.echo { padding: 32px; }
.echo .kicker { margin: 0 0 8px; }
.echo h2 { margin: 0 0 8px; font-size: 1.35rem; }
.echo-lead { margin: 0 0 24px; max-width: 52ch; font-size: .98rem; line-height: 1.6; }
.echo form.stack { display: grid; gap: 24px; max-width: none; }
.echo textarea { min-height: 7.5em; margin: 0; }
.echo .field { display: grid; gap: 8px; margin: 0; }
.echo .field label { margin: 0; }
.echo .consent-row { align-items: center; margin: 0; }
.echo .consent-row .switch { margin-top: 0; }
.echo-send { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 8px; }
.echo-send .small { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .echo { padding: 24px 18px; } .echo form.stack { gap: 20px; } .echo-send .btn { flex: 1 1 100%; justify-content: center; } }
.echo .field .hint { margin: 0; font-size: .84rem; }
/* player seek: track and fill are the same bar; the fill always ends under the knob, so its thickness never seems to change */
.player-seek::before, .player-seek .fill { top: 5px; height: 6px; }
.player-seek::before { background: var(--h-well); box-shadow: none; border-radius: 99px; }
.player-seek .fill { min-width: 9px; border-radius: 99px 0 0 99px; background: #E65C30; }
.player-seek .needle { top: -3px; height: 22px; }

/* voice note behind an info icon, next to the name label */
.label-row { display: flex; align-items: center; gap: 8px; }
.voice-tip[hidden] { display: none; }
.voice-tip .tip-btn { font: italic 700 .8rem Georgia, serif; }
.voice-tip .tip-body { left: -10px; right: auto; }

/* thank-you: add an email afterwards */
.link-email { display: grid; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(63,140,80,.18); }
.link-email label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.link-email .hint { margin: 0; }
/* the voice tip opens inside the screen */
.label-row { position: relative; }
.label-row .voice-tip { position: static; }
.label-row .voice-tip .tip-body { left: 0; right: 0; width: auto; max-width: 340px; }
.linkbox .link-email label { font: 600 .95rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; }
.link-email .btn { white-space: nowrap; }
@media (max-width: 560px) { .link-email .copyrow { flex-direction: column; align-items: stretch; } .link-email .btn { justify-content: center; } }
.tip-body { background: #3A3632; color: #FBFAF7; box-shadow: 0 14px 30px -12px rgba(30,20,10,.45); }
.tip-body strong { color: #fff; }
/* thank-you: email the link only if they switch it on */
.link-email-switch { align-items: center; font-size: .92rem; color: var(--ink); cursor: pointer; }
.linkbox .link-email .link-email-switch { font: 400 .92rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.link-email-fields { display: none; gap: 8px; }
.link-email:has(.link-email-switch input:checked) .link-email-fields { display: grid; animation: deck-in .25s ease-out both; }
.linkbox .link-email .link-email-switch { display: flex; gap: 12px; }
.linkbox .link-email-switch, .linkbox .link-email-switch span { color: var(--ink) !important; animation: none !important; }

/* published reflections: small cards in the site's own voice */
.echo-list { gap: 14px; }
.echo-list li.echo-item { position: relative; padding: 20px 22px 18px; border-radius: 18px; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.echo-item::before { content: '„'; position: absolute; right: 18px; top: -6px; font: 700 4.2rem/1 'Caveat', 'Segoe Print', cursive; color: rgba(201,150,43,.35); pointer-events: none; }
.echo-head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.echo-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 99px; background: #F3E6CC; color: #8A6419; font: 700 .95rem var(--sans); box-shadow: inset 0 0 0 1px rgba(201,150,43,.25); }
.echo-avatar.is-anon { background: var(--h-well); color: var(--muted); box-shadow: var(--h-sunken); font-size: 1.4rem; line-height: 0; }
.echo-who { display: grid; line-height: 1.25; }
.echo-who .p-author { font-weight: 600; font-size: .95rem; color: var(--ink); }
.echo-who time { font-size: .78rem; color: var(--muted); }
.echo-item blockquote { margin: 0; padding: 0; border: 0; }
.echo-item blockquote p { margin: 0 0 8px; font-size: 1rem; line-height: 1.65; color: var(--ink); }
.echo-item blockquote p:last-child { margin-bottom: 0; }
.echoes .kicker { margin-bottom: 14px; }

/* admin: held reflections */
.card.held { box-shadow: var(--h-raised-sm), inset 0 0 0 2px rgba(201,150,43,.45); }
.held-why { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #F7EDD8; color: #7A5A12; font-size: .86rem; }
.banner.warn-soft { background: #F7EDD8; color: #6A4E10; border-radius: 14px; padding: 10px 14px; margin: 12px 0; }
.banner.warn-soft p { margin: 0; }
/* reflections: the message leads, who/when follows quietly */
.echo-list li.echo-item { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 18px; }
.echo-item blockquote { order: 1; }
.echo-item blockquote p { font-size: 1.12rem; line-height: 1.6; color: var(--ink); }
.echo-item .echo-head { order: 2; margin: 0; gap: 10px; }
.echo-item .echo-avatar { width: 26px; height: 26px; font-size: .78rem; }
.echo-item .echo-avatar.is-anon { font-size: 1.1rem; }
.echo-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.echo-who .p-author { font-size: .86rem; font-weight: 600; color: var(--muted); }
.echo-who time { font-size: .78rem; color: var(--faint); }
.echo-who time::before { content: '·'; margin-right: 8px; color: var(--faint); }
.echo-item::before { top: auto; bottom: 6px; right: 16px; }
@media (max-width: 560px) { .echo-item blockquote p { font-size: 1.05rem; } }
/* episode player: one round play button, nothing else */
.player-well { padding: 0; background: none; box-shadow: none; border-radius: 0; margin: 0; }
.player-key { width: 52px; height: 52px; border-radius: 99px; background: var(--g-accent); box-shadow: 0 10px 20px -10px rgba(220,80,20,.6), inset 0 1px 0 rgba(255,210,170,.5); transform: none; transition: transform .12s ease, box-shadow .12s ease; }
.player-key svg { width: 18px; height: 18px; fill: #fff; }
.player-key::after { display: none; }
@media (hover: hover) { .player-key:hover { transform: scale(1.05); box-shadow: 0 12px 24px -10px rgba(220,80,20,.7), inset 0 1px 0 rgba(255,210,170,.5); } .player-key:hover svg { transform: none; } }
.player-key:active, .player.is-playing .player-key { transform: scale(.96); background: var(--g-accent); box-shadow: 0 6px 14px -8px rgba(220,80,20,.6), inset 0 1px 0 rgba(255,210,170,.5); }
.player-key:active svg { transform: none; }
.player-key:focus-visible { outline: 2px solid #3A3632; outline-offset: 4px; border-radius: 99px; }
/* Despre: everything on one left edge, one spacing rhythm */
.prose .how-steps { padding-left: 0; margin: 14px 0 24px; gap: 14px; }
.prose .how-steps li { margin: 0; padding: 18px 18px 20px; }
.prose .how-steps li::before { margin-bottom: 12px; }
.prose .how-steps li strong { margin-bottom: 4px; }
.prose h2 { margin: 40px 0 0; }
.prose h2 + p { margin-top: 12px; }
/* episode 0 card: cover and text top-aligned, even gaps */
.ep0 { grid-template-columns: 140px 1fr; gap: 24px; padding: 24px; margin: 32px 0 8px; }
.ep0-cover .ep-cover { width: 140px; height: 140px; }
.ep0-body { display: grid; gap: 10px; align-content: start; }
.ep0-body > * { margin: 0 !important; }
.prose .ep0 .kicker { margin: 0; }
.prose .ep0 h2 { margin: 0; }
.ep0 .player { margin: 6px 0 2px !important; }
.ep0 .ep-links { margin-top: 2px !important; }
@media (max-width: 560px) { .ep0 { grid-template-columns: 1fr; gap: 16px; padding: 18px; } .ep0-cover .ep-cover { width: 96px; height: 96px; } .prose .how-steps { grid-template-columns: 1fr; } }
/* Despre: the host card stands on its own below the project text */
.host-wrap { margin: 20px 0 0; }
.host-wrap .host { margin: 0; padding: 26px 28px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised); }
.host-wrap .host-text h2 { margin: 0 0 10px; }
@media (max-width: 560px) { .host-wrap .host { padding: 20px 18px; } }
.principle { border-left-color: var(--h-ochre) !important; }

/* ── Episoade: one card per episode, the newest larger ── */
.ep-flow { gap: 16px; margin-top: 24px; }
.ep-card { display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: start; padding: 22px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised); }
.ep-card-cover { display: block; width: 112px; height: 112px; overflow: hidden; border-radius: 16px; }
.ep-card-cover .ep-cover { width: 132px !important; height: 132px !important; transform: scale(.8485); transform-origin: top left; }
.ep-card-body { display: grid; gap: 8px; min-width: 0; }
.ep-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; font: 700 .64rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.ep-card-meta > :is(span, time) + :is(span, time)::before { content: '·'; margin-right: 12px; color: var(--faint); }
.ep-card-meta .ep-new { padding: 3px 9px; border-radius: 99px; background: #F3E6CC; color: #7A5A12; letter-spacing: .12em; }
.ep-card-meta .ep-new + span::before { content: none; }
.ep-card-title { margin: 2px 0 0; font: 600 1.3rem/1.25 var(--sans); }
.ep-card-title a { color: var(--ink); text-decoration: none; }
.ep-card-title a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(60,45,30,.3); text-underline-offset: 4px; }
.ep-card-q { margin: 0; font: 700 1.35rem/1.15 'Caveat', 'Segoe Print', cursive; color: #5A4A3A; }
.ep-card-desc { margin: 2px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 8px; }
.ep-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ep-card-actions .listen-chip { min-height: 38px; padding: 4px 14px 4px 4px; font-size: .86rem; }
.ep-card-actions .chip-play { width: 28px; height: 28px; }
.ep-card-actions .intro-transcript { min-height: 38px; }
.ep-card-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ep-card-stats span { padding: 4px 10px; border-radius: 99px; background: var(--h-well); font-size: .78rem; color: var(--muted); }
/* the newest: bigger cover, full description */
.ep-card.is-latest { grid-template-columns: 168px 1fr; gap: 26px; padding: 26px; }
.ep-card.is-latest .ep-card-cover { width: 168px; height: 168px; border-radius: 20px; }
.ep-card.is-latest .ep-card-cover .ep-cover { transform: scale(1.2727); }
.ep-card.is-latest .ep-card-title { font-size: 1.55rem; }
.ep-card.is-latest .ep-card-q { font-size: 1.6rem; }
.ep-card.is-latest .ep-card-desc { -webkit-line-clamp: 4; }
@media (max-width: 640px) {
  .ep-card, .ep-card.is-latest { grid-template-columns: 72px 1fr; gap: 14px; padding: 18px; }
  .ep-card-cover, .ep-card.is-latest .ep-card-cover { width: 72px; height: 72px; border-radius: 12px; }
  .ep-card-cover .ep-cover, .ep-card.is-latest .ep-card-cover .ep-cover { transform: scale(.5455); }
  .ep-card-title, .ep-card.is-latest .ep-card-title { font-size: 1.15rem; }
  .ep-card-q, .ep-card.is-latest .ep-card-q { font-size: 1.25rem; }
  .ep-card-foot { grid-column: 1 / -1; }
  .ep-card-body { display: contents; }
  .ep-card-meta, .ep-card-title, .ep-card-q { grid-column: 2; }
  .ep-card-desc, .ep-card-foot { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ep-card, .ep-card.is-latest { row-gap: 8px; align-items: center; }
  .ep-card-cover, .ep-card.is-latest .ep-card-cover { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .ep-card-meta { grid-column: 2; grid-row: 1; align-self: end; letter-spacing: .12em; gap: 2px 8px; }
  .ep-card-meta > :is(span, time) + :is(span, time)::before { margin-right: 8px; }
  .ep-card-title { grid-column: 2; grid-row: 2; align-self: start; margin: 0; }
  .ep-card-q { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
  .ep-card-desc { grid-column: 1 / -1; grid-row: 4; }
  .ep-card-foot { grid-column: 1 / -1; grid-row: 5; margin-top: 4px; }
}
/* Episoade intro spans the same column as the cards below */
.show-head-plain .lede { max-width: none; }
/* ── recorder keys, simplified: round buttons, labels below, no frames or pilot lights ── */
.keys { gap: 18px; align-items: flex-start; padding: 6px 0 0; }
.pkey { display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; }
.pkey-lbl { font: 500 .74rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.pkey-well, .pkey-well:is(*) { display: block; width: auto !important; height: auto !important; padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
.pkey-cap, .pkey-cap:disabled, .pkey.down .pkey-cap, .pkey-cap:active:not(:disabled) {
  width: 48px !important; height: 48px !important; border-radius: 99px; transform: none;
  background: var(--h-surface); box-shadow: var(--h-raised-sm); transition: transform .12s ease, box-shadow .12s ease, background .2s ease, opacity .2s ease; }
.pkey-cap::after { display: none !important; }
.pkey-cap .glyph-play { border-left-color: #3A3632; }
.pkey-cap .glyph-stop { background: #3A3632; }
.pkey-cap .glyph-pause { background: linear-gradient(90deg, #3A3632 0 35%, transparent 35% 65%, #3A3632 65%); }
.pkey-cap .glyph-erase { border-color: #3A3632; border-right-color: transparent; }
.pkey-cap .glyph-erase::after { border-bottom-color: #3A3632; }
/* the main actions: record and play are orange */
.pkey-rec .pkey-cap, .pkey-play .pkey-cap { width: 58px !important; height: 58px !important; background: var(--g-accent); box-shadow: 0 10px 20px -10px rgba(220,80,20,.6), inset 0 1px 0 rgba(255,210,170,.5); }
.pkey-rec .glyph-rec { background: #fff; box-shadow: none; width: 16px; height: 16px; }
.pkey-play .glyph-play { border-left-color: #fff; }
@media (hover: hover) { .pkey-cap:hover:not(:disabled) { transform: scale(1.05); } }
.pkey-cap:active:not(:disabled) { transform: scale(.95) !important; }
/* the key that's on: slightly sunk and tinted */
.pkey.down .pkey-cap { transform: scale(.95); }
.pkey-pause.down .pkey-cap { background: #F3E6CC; box-shadow: inset 0 0 0 2px rgba(201,150,43,.45); }
.pkey-rec.down .pkey-cap { background: #D8341C; box-shadow: 0 0 0 0 rgba(216,52,28,.45); animation: rec-ring 1.6s ease-out infinite; }
.pkey-play.down .pkey-cap { background: var(--g-accent); }
.pkey-play.down .glyph-play { border: 0; width: 14px; height: 16px; margin: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
@keyframes rec-ring { 0% { box-shadow: 0 0 0 0 rgba(216,52,28,.45); } 100% { box-shadow: 0 0 0 12px rgba(216,52,28,0); } }
/* unavailable: faded, flat */
.pkey-cap:disabled { opacity: .4; box-shadow: none; background: var(--h-well); cursor: default; }
.pkey-cap:disabled .glyph { opacity: 1; filter: none; }
.pkey-rec .pkey-cap:disabled, .pkey-play .pkey-cap:disabled { background: var(--g-accent); box-shadow: none; }
.pkey-cap:focus-visible { outline: 2px solid #3A3632; outline-offset: 4px; border-radius: 99px; }
/* the mic check: "începe" pulses gently */
.deck[data-state=setup] .pkey-rec .pkey-cap { animation: rec-ring 2s ease-out infinite; }
.deck[data-state=setup] .glyph-rec { animation: none; }
@media (prefers-reduced-motion: reduce) { .pkey-rec.down .pkey-cap, .deck[data-state=setup] .pkey-rec .pkey-cap { animation: none; } }
@media (max-width: 560px) { .keys { gap: 12px; justify-content: flex-start; } .pkey-cap, .pkey-cap:disabled, .pkey.down .pkey-cap { width: 44px !important; height: 44px !important; } .pkey-rec .pkey-cap, .pkey-play .pkey-cap { width: 54px !important; height: 54px !important; } }
.deck:is([data-state=setup],[data-state=rec],[data-state=paused],[data-state=silent],[data-state=arming]) .pkey-rec, .deck[data-state=setup] :is(.pkey-pause, .pkey-stop) { display: flex; }
.pkey-rec.down .pkey-cap, .pkey-rec.down .pkey-cap:not(:disabled) { opacity: 1; background: #D8341C !important; }
@media (max-width: 560px) { .slide-4 label { padding: 0 2px !important; font-size: .58rem !important; letter-spacing: .04em !important; gap: 4px !important; } .slide-4 label::before { width: 5px; height: 5px; } }

/* footer: "Proiectul în cifre", folded */
.foot-numbers { margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.foot-numbers summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; list-style: none; font: 700 .68rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.foot-numbers summary::-webkit-details-marker { display: none; }
.foot-numbers summary::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: var(--h-ochre); }
.foot-numbers[open] .how-chev { transform: translateY(1px) rotate(-135deg); }
.foot-numbers > .small { margin: 4px 0 14px; color: var(--muted); }
.numbers { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.numbers li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.numbers strong { font: 700 1.5rem/1.1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.numbers span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.foot-numbers[open] .numbers { animation: deck-in .3s ease-out both; }
@media (max-width: 640px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Episoade: same intro sheet as the other pages, cards below */
.ep-intro { margin-bottom: 0; }
.ep-intro .ep-intro-count { margin: 0; font-size: .85rem; color: var(--muted); }
.ep-intro + .ep-flow { margin-top: 20px; }

/* footer: "Ce crezi despre proiect?" */
.foot-vote { margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.vote-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.vote-ask .kicker { margin: 0; }
.vote-ask .small { margin: 4px 0 0; color: var(--muted); }
.vote-btns { display: flex; gap: 8px; margin: 0; }
.vote-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 99px; cursor: pointer; background: var(--h-surface); box-shadow: var(--h-raised-sm); font: 600 .88rem var(--sans); color: var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.vote-btn svg { width: 18px; height: 18px; fill: currentColor; pointer-events: none; }
.vote-btn.is-down svg { transform: scale(-1, -1); }
.vote-btn:hover { transform: translateY(-1px); }
.vote-btn:active { transform: translateY(1px); box-shadow: var(--h-sunken); }
.vote-btn:not(.is-down):hover { color: var(--h-done); }
.vote-btn:disabled { opacity: .6; cursor: default; }
.vote-thanks { margin: 0; }
.vote-thanks span { color: var(--muted); }
.vote-note { display: grid; gap: 6px; margin-top: 14px; max-width: 560px; }
.vote-note label { font-weight: 600; font-size: .9rem; }
.vote-note-row { display: flex; gap: 8px; align-items: stretch; }
.vote-note-row textarea { flex: 1; min-height: 48px; resize: vertical; }
.vote-note .hint { margin: 0; }
.vote-note-done { margin: 10px 0 0; color: var(--muted); }
/* the player key: the icon is decoration, the button takes the press */
.player-key svg, .player-key * { pointer-events: none; }
@media (max-width: 640px) { .vote-btns { width: 100%; } .vote-btn { flex: 1; justify-content: center; } .vote-note-row { flex-direction: column; } }
/* admin */
.vote-notes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.vote-notes li { padding: 10px 12px; border-radius: 10px; background: var(--h-well); line-height: 1.45; }
.vote-notes .tag-down { background: #F3E6CC; color: #7A5A12; }
.vote-after-k { margin: 0 0 6px; }
.vote-note-row .btn { justify-content: center; text-align: center; }

/* ── Footer, redesigned: one closing card, then a quiet base line ── */
.foot { max-width: 820px; margin: 56px auto 0; padding: 0 16px 40px; border-top: 0; font-size: .9rem; color: var(--muted); }
.foot-card { display: grid; gap: 28px; padding: 30px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised); }
.foot .kicker { margin: 0 0 12px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px 32px; align-items: start; }
.foot-brand .brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.foot-pitch { margin: 14px 0 6px; font-size: 1.02rem; line-height: 1.5; color: var(--ink); max-width: 36ch; }
.foot-by { margin: 0; line-height: 1.5; }
.foot-by a { color: var(--ink); }
/* the vote sits in a well beside the brand */
.foot .foot-vote { margin: 0; padding: 18px 20px; border: 0; border-radius: 16px; background: var(--h-well); }
.foot .vote-ask { display: grid; gap: 12px; }
.foot .vote-ask .kicker { margin: 0; }
.foot .vote-btns .vote-btn { flex: 1; justify-content: center; }
.foot .vote-note-row { flex-direction: column; }
/* three short columns */
.foot-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px 32px; padding-top: 24px; border-top: 1px solid var(--h-line); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-cols nav a { display: inline-flex; min-height: 32px; align-items: center; color: var(--ink); text-decoration: none; }
.foot-cols nav a:hover { text-decoration: underline; text-decoration-color: rgba(60,45,30,.3); text-underline-offset: 4px; }
.foot-listen .listen-on { min-height: 36px; padding: 2px 0; gap: 10px; border-radius: 0; background: none; box-shadow: none; font-weight: 500; }
.foot-listen .listen-on svg { width: 22px; height: 22px; }
.foot-listen .listen-on > span { display: inline-flex; align-items: baseline; gap: 8px; }
.foot-listen .listen-on small { font-size: .74rem; }
.foot-listen a.listen-on:hover { transform: none; box-shadow: none; text-decoration: underline; text-underline-offset: 4px; }
.foot-listen .listen-on.is-soon { box-shadow: none; }
/* the numbers: closed, but the summary already tells the headline */
.foot .foot-numbers { margin: 0; padding: 20px 0 0; border-bottom: 0; border-top: 1px solid var(--h-line); }
.foot .foot-numbers summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; width: 100%; letter-spacing: normal; text-transform: none; font: inherit; }
.foot .foot-numbers summary::before { content: none; }
.foot .foot-numbers summary .kicker { margin: 0; }
.foot .num-teaser { color: var(--muted); font-variant-numeric: tabular-nums; }
.foot .foot-numbers .how-chev { margin-left: auto; }
.foot .foot-numbers[open] .num-teaser { visibility: hidden; }
.foot .numbers li { background: var(--h-well); box-shadow: none; }
.foot-base { margin: 18px 0 0; text-align: center; font-size: .8rem; color: var(--faint); }
@media (max-width: 760px) {
  .foot-card { padding: 22px 18px; gap: 22px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > section { grid-column: 1 / -1; }
  .foot-cols > section ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .foot .num-teaser { order: 3; flex-basis: 100%; }
}
.foot-listen .listen-on { min-height: 32px; padding: 0; }
.foot p.foot-by { display: block; }
.foot p.foot-by a { display: inline; padding: 0; }
@media (max-width: 760px) {
  .foot-listen .listen-on { min-height: 40px; align-items: center; }
  .foot-listen .listen-on > span { display: grid; gap: 0; line-height: 1.2; }
}
.vote-note .btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; color: var(--muted); }

/* ── Type: Host Grotesk for questions, headings and big numbers; Inter stays for reading ── */
:root { --display: 'Host Grotesk', 'Inter', system-ui, sans-serif; }
h1, h2, h3 { font-family: var(--display); }
h1 { font-weight: 600; letter-spacing: -.03em; }
.ep-card-title, .echo h2, .prose .ep0 h2, .intro-title { font-family: var(--display); }
.ep-card-title { font-weight: 600; letter-spacing: -.02em; }
.numbers strong, .credits-stats strong, .dl-left strong, .kpi-n, .tile-n { font-family: var(--display); letter-spacing: -.02em; }
/* the questions: same voice as the headings, a touch softer in colour */
.answer-card #q, .sheet-q, .qsmall, .invite-q, .ep-card-q { font-family: var(--display); font-weight: 600; letter-spacing: -.028em; transform: none; }
.answer-card #q { font-size: 2.7rem; line-height: 1.08; color: #33291F; }
.sheet-q { font-size: 1.3rem; line-height: 1.2; }
.qsmall { font-size: 1.4rem; line-height: 1.2; }
.invite-q { font-size: 1.7rem; line-height: 1.15; }
.ep-card-q { font-size: 1.08rem; line-height: 1.3; font-weight: 500; letter-spacing: -.012em; color: #6B5A48; }
.ep-card.is-latest .ep-card-q { font-size: 1.2rem; }
/* the note under the question: plain, quiet, no longer tilted */
.answer-card .q-head .intro p { font: 500 1.12rem/1.45 var(--display); letter-spacing: -.01em; color: #6B6259; transform: none; }
.echo-item::before { font-family: var(--display); font-weight: 600; }
@media (max-width: 560px) {
  .answer-card #q { font-size: 2.05rem; }
  .qsmall { font-size: 1.22rem; }
  .invite-q { font-size: 1.4rem; }
  .ep-card-q, .ep-card.is-latest .ep-card-q { font-size: 1rem; }
  .answer-card .q-head .intro p { font-size: 1.04rem; }
}

/* Despre: întrebări frecvente */
.faq { display: grid; gap: 10px; margin: 6px 0 18px; }
.faq-item { padding: 16px 18px; border-radius: 14px; background: var(--h-well); }
.prose .faq-item h3 { margin: 0 0 4px; font: 600 1.02rem/1.35 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.faq-item p { margin: 0; color: var(--muted); }

/* ===================== Audit pass: a person asking, other people heard ===================== */
/* plain section headings instead of spaced-out labels */
.sec-h { margin: 0 0 12px; font: 600 1.14rem/1.3 var(--display); letter-spacing: -.012em; color: var(--ink); text-transform: none; }
.sec-h::before { content: none; }
.sec-n { margin-left: 6px; font: 500 .9rem var(--sans); letter-spacing: 0; color: var(--muted); }
.foot-h { margin: 0 0 10px; font: 600 .95rem/1.3 var(--display); letter-spacing: -.005em; color: var(--ink); }

/* who is asking */
.asker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.asker-photo { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 26%; box-shadow: 0 0 0 3px var(--h-surface), 0 4px 10px -4px rgba(40,25,10,.4); }
.asker-who { display: grid; margin: 0; line-height: 1.25; }
.asker-who strong { font: 600 1rem var(--display); letter-spacing: -.005em; color: var(--ink); }
.asker-who span { font-size: .82rem; color: var(--muted); }
.asker-voice { margin-left: auto; }
@media (max-width: 480px) { .asker-voice { margin-left: 0; } }
.answer-card .q-head h1#q { margin-top: 0; }

/* the deadline, said plainly */
.q-when { margin: 14px 0 0; font-size: .98rem; color: var(--muted); }
.q-when time { color: var(--ink); font-weight: 600; }

/* two equal invitations; the chosen one opens below (or full screen on phones) */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 0; }
.pick-btn { display: flex; align-items: center; gap: 14px; min-height: 86px; padding: 16px 18px; border-radius: 18px; cursor: pointer; background: var(--h-surface); box-shadow: var(--h-raised); transition: transform .12s ease, box-shadow .12s ease; -webkit-tap-highlight-color: transparent; }
.pick-btn:hover { transform: translateY(-1px); }
.pick-btn:active { transform: translateY(1px); box-shadow: var(--h-sunken); }
.pick-ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; background: var(--g-accent); box-shadow: 0 8px 16px -8px rgba(220,80,20,.65); }
.pick-ico svg { width: 24px; height: 24px; }
.is-text .pick-ico { background: #3A3632; box-shadow: 0 8px 16px -8px rgba(40,30,20,.55); }
.pick-txt strong { display: block; font: 600 1.08rem/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); }
.pick-txt small { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.35; color: var(--muted); }
#_mode-audio:focus-visible ~ .pick .is-voice, #_mode-text:focus-visible ~ .pick .is-text { outline: 2px solid var(--accent); outline-offset: 3px; }
.contribute:has(.mode-radio:checked) .pick { display: none; }
.contribute:not(:has(.mode-radio:checked)) .modes, .contribute:not(:has(.mode-radio:checked)) .mode-alt { display: none; }
.mode-alt { margin: 0 0 12px; text-align: right; font-size: .88rem; }
.mode-alt label { cursor: pointer; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(60,45,30,.3); text-underline-offset: 4px; }
.mode-alt label:hover { color: var(--accent-strong); }
.contribute:has(#_mode-audio:checked) .alt-to-voice, .contribute:has(#_mode-text:checked) .alt-to-text { display: none; }
@media (max-width: 560px) { .pick { grid-template-columns: 1fr; gap: 10px; } .pick-btn { min-height: 74px; padding: 14px 16px; } .pick-ico { width: 44px; height: 44px; } }
/* privacy, warmer and after the invitation */
.answer-card .privacy-line { margin: 18px 0 0; font-size: .87rem; line-height: 1.5; }
.privacy-line a { color: var(--muted); white-space: nowrap; }

/* last week's episode, on home */
.last-week { margin: 36px 4px 0; }
.lw-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.lw-cover .ep-cover { width: 112px; height: 112px; padding: 10px; border-radius: 16px; }
.lw-q { margin: 0 0 8px; font: 600 1.22rem/1.25 var(--display); letter-spacing: -.015em; color: #33291F; }
.lw-quote { margin: 0 0 10px; padding: 0; border: 0; background: none; }
.lw-quote p { margin: 0; font-size: 1.04rem; line-height: 1.5; color: var(--ink); }
.lw-quote footer { margin-top: 4px; font-size: .85rem; color: var(--muted); }
.lw-desc { margin: 0 0 10px; color: var(--muted); }
.lw-voices { margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.lw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; }
@media (max-width: 560px) { .lw-card { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px; } .lw-cover .ep-cover { width: 72px; height: 72px; padding: 6px; border-radius: 12px; } .lw-q { font-size: 1.08rem; } }

/* the Monday email */
.remind { margin: 30px 4px 0; padding: 22px 22px 18px; border-radius: var(--h-r-card); background: var(--h-well); }
.remind .sec-h { margin-bottom: 14px; }
.remind-form { display: flex; gap: 8px; max-width: 520px; margin: 0; }
.remind-form input[type=email] { flex: 1; min-width: 0; min-height: 46px; }
.remind .hint { margin: 10px 0 0; }
.thanks + .remind { margin: 18px 0 0; }
@media (max-width: 520px) { .remind { padding: 18px 16px 16px; } .remind-form { flex-direction: column; } .remind-form .btn { justify-content: center; } }
.home-more { margin-top: 40px; }

/* episode: the question under the title, people first, chapters, transcript folded */
.ep-q { margin: 2px 0 0; font: 500 1.15rem/1.35 var(--display); letter-spacing: -.012em; color: #6B5A48; }
.voices { margin: 22px 0; padding: 20px 22px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.voices-names { margin: 0 0 14px; font: 500 1.16rem/1.45 var(--display); letter-spacing: -.01em; color: var(--ink); }
.chapters { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.ch-seek { display: flex; align-items: baseline; gap: 14px; width: 100%; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.ch-seek:hover, .ch-seek.is-now { background: var(--h-well); }
.ch-time { flex: none; min-width: 3.2em; font-weight: 600; font-size: .88rem; font-variant-numeric: tabular-nums; color: var(--accent-strong); }
.ch-seek.is-now .ch-title { font-weight: 600; }
.voices-thanks { margin: 0; font-size: .88rem; color: var(--muted); }
.transcript summary { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary h2 { margin: 0; }
.tr-hint { font-size: .86rem; color: var(--muted); }
.transcript summary .how-chev { margin-left: auto; align-self: center; }
.transcript[open] summary .how-chev, .faq-item[open] .how-chev { transform: translateY(1px) rotate(-135deg); }
.transcript + .echo-jump { margin-top: 18px; }
.tr-line .speaker { display: block; margin-bottom: 2px; font: 600 .86rem var(--display); letter-spacing: .01em; color: var(--accent-strong); }

/* Despre: the principle opens the page; FAQ folds at the end */
.prose .principle.is-lead { margin: .1em 0 1.1em; padding: 0; border: 0; font: 600 1.6rem/1.25 var(--display); letter-spacing: -.022em; color: #33291F; text-wrap: balance; }
.faq-wrap { margin-top: 22px; }
.faq-item { padding: 0; }
.faq-item summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.prose .faq-item summary h3 { flex: 1; margin: 0; }
.faq-item p { padding: 0 18px 16px; }
@media (max-width: 560px) { .prose .principle.is-lead { font-size: 1.32rem; } }

/* footer: no second brand, just who makes it */
.foot-brand .foot-by { font-size: 1rem; line-height: 1.5; color: var(--ink); max-width: 34ch; }
.foot-brand .foot-by a { text-decoration-color: rgba(60,45,30,.35); }

/* admin: share card preview */
.og-canvas { display: block; width: 100%; height: auto; margin: 10px 0 6px; border-radius: 12px; }

/* ===================== Calmer recorder: a soft waveform, a timer and a lamp ===================== */
/* The tape deck, VU meter and spectrum stay in the code but off screen; only what you need now is shown. */
.deck.is-calm { display: flex; flex-direction: column; }
.deck.is-calm > .deck-face, .deck.is-calm > .spectrum { display: none !important; }
.deck.is-calm > .wave { order: 1; display: block; width: 100%; height: 92px; border-radius: 16px; background: var(--h-well); box-shadow: var(--h-sunken); }
.deck.is-calm > .deck-strip { order: 2; display: flex !important; flex-direction: row; align-items: center; gap: 10px; margin: 14px 4px 0; }
.deck.is-calm .deck-strip .display-state { flex: 1; font: 600 .9rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.deck.is-calm .pilot { width: 14px; height: 14px; background: none; box-shadow: none; }
.deck.is-calm .pilot i { width: 10px; height: 10px; }
.deck.is-calm .counter { padding: 0; gap: 0; background: none; box-shadow: none; }
.deck.is-calm .counter b, .deck.is-calm .counter em { width: auto; height: auto; padding: 0; background: none; color: var(--ink); font: 600 1.5rem/1 var(--display); font-style: normal; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.deck.is-calm .counter em { padding: 0 1px; color: var(--muted); }
.deck.is-calm > .deck-status, .deck.is-calm > .sigq { order: 3; }
.deck.is-calm > .tape { order: 4; height: 4px; margin: 12px 4px 18px; box-shadow: none; background: var(--h-well); }
.deck.is-calm > .keys { order: 5; }
.deck.is-calm > .micpick { order: 6; }
/* keys: soft round buttons, and only the ones that do something right now */
.deck.is-calm .keys { display: flex; align-items: flex-start; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 0; }
.deck.is-calm .pkey { flex: none; min-width: 0; gap: 6px; margin: 0; }
.deck.is-calm .pkey:has(.pkey-cap:disabled) { display: none; }
.deck.is-calm .pkey-well { width: auto; height: auto; padding: 0; border-radius: 50%; background: none; box-shadow: none; }
.deck.is-calm .pkey-cap { width: 54px; height: 54px; border-radius: 50%; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.deck.is-calm .pkey-cap:hover:not(:disabled) { background: var(--h-surface); box-shadow: var(--h-raised); }
.deck.is-calm .pkey-cap:active:not(:disabled), .deck.is-calm .pkey.down .pkey-cap { transform: translateY(1px); background: var(--h-well); box-shadow: var(--h-sunken); }
.deck.is-calm .pkey-rec .pkey-cap { width: 70px; height: 70px; background: var(--g-accent); box-shadow: 0 12px 22px -10px rgba(220,80,20,.7); }
.deck.is-calm .pkey-rec.down .pkey-cap { background: var(--g-accent); box-shadow: 0 0 0 6px rgba(226,85,42,.16), 0 12px 22px -10px rgba(220,80,20,.7); transform: none; }
.deck.is-calm .pkey-rec .glyph-rec { width: 20px; height: 20px; background: #fff; box-shadow: none; }
.deck.is-calm .pkey-lbl { font: 500 .78rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.deck.is-calm .pkey-lbl .l-short { display: none; } .deck.is-calm .pkey-lbl .l-long { display: inline; }
.deck.is-calm .mic-cancel { align-self: center; }
@media (max-width: 560px) {
  .deck.is-calm > .wave { height: 76px; }
  .deck.is-calm .keys { gap: 14px; }
  .deck.is-calm .pkey-cap { width: 50px; height: 50px; }
  .deck.is-calm .pkey-rec .pkey-cap { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .deck.is-calm .pkey-cap { transition: none; } }

/* admin: the question in the host's voice, recorded on the page */
.voice-now { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 16px; }
.voice-now .player { flex: 1; min-width: 240px; }
.voice-rec { margin: 6px 0 4px; }
.voice-save { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.voice-save[hidden] { display: none; }
.voice-file { margin-top: 18px; }
.voice-file summary { cursor: pointer; font-size: .88rem; color: var(--muted); }
.voice-file form { margin-top: 10px; }
.voice-rec .deck { background: none; box-shadow: none; padding: 0; border: 0; }
.voice-rec .deck::before, .voice-rec .deck::after { display: none; }

/* file picker: same pill as the other buttons, the file name beside it */
.filepick { position: relative; display: inline-flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; cursor: pointer; }
.filepick-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.filepick-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--h-surface); box-shadow: var(--h-raised-sm); font: 600 .92rem var(--sans); color: var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.filepick-btn svg { width: 18px; height: 18px; color: var(--accent-strong); }
.filepick:hover .filepick-btn { box-shadow: var(--h-raised); transform: translateY(-1px); }
.filepick:active .filepick-btn { transform: translateY(1px); box-shadow: var(--h-sunken); }
.filepick-input:focus-visible + .filepick-btn { outline: 2px solid var(--accent); outline-offset: 3px; }
.filepick-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; color: var(--faint); }
.filepick.has-file .filepick-name { color: var(--ink); font-weight: 500; }
form[data-upload].row { align-items: center; }
form[data-upload] button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* five numbers in one row; on phones the first spans the width */
.numbers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 760px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbers li:first-child { grid-column: 1 / -1; } }

/* ===== The Monday email, redesigned: show the letter, then one joined field ===== */
.remind { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: center; margin: 30px 4px 0; padding: 26px 30px 26px 26px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); }
/* the letter: a small, slightly turned preview of what arrives on Monday */
.remind-letter { position: relative; margin: 0; padding: 16px 18px 18px; border-radius: 14px; background: #FFFDF9; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 7px 8px 0 -1px #E7E1D8, 0 14px 28px -16px rgba(60,40,20,.45), 0 2px 6px -2px rgba(60,40,20,.18); transform: rotate(-1.6deg); }
.remind-letter p { margin: 0; }
.rl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 12px !important; border-bottom: 1px solid var(--h-line); font-size: .78rem; color: var(--muted); }
.rl-from { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.rl-from img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: 50% 26%; }
.rl-k { font-size: .72rem; color: var(--faint); }
.rl-q { margin: 4px 0 14px !important; font: 600 1.06rem/1.25 var(--display); letter-spacing: -.012em; color: #33291F; text-wrap: balance; }
.rl-btn { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--g-accent); color: #fff; font: 600 .76rem var(--sans); }
/* the ask */
.remind-t { margin: 0 0 6px; font: 600 1.4rem/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.remind-lede { margin: 0 0 16px; max-width: 44ch; color: var(--muted); }
.remind-form { margin: 0; }
.remind-field { display: flex; align-items: center; gap: 6px; max-width: 460px; padding: 5px 5px 5px 18px; border-radius: 999px; background: var(--h-well); box-shadow: var(--h-sunken); transition: box-shadow .15s ease; }
.remind-field:focus-within { box-shadow: var(--h-sunken), 0 0 0 2px var(--accent); }
.remind-field input[type=email] { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none; box-shadow: none; font-size: 1rem; outline: none; }
.remind-field .btn { flex: none; min-height: 44px; padding: 0 22px; }
.remind-hint { margin: 10px 0 0 18px; font-size: .82rem; color: var(--faint); }
.thanks + .remind { margin: 18px 0 0; }
@media (max-width: 720px) {
  .remind { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px; }
  .remind-letter { max-width: 320px; justify-self: center; width: 100%; }
  .remind-t { font-size: 1.24rem; }
  .remind-hint { margin-left: 4px; }
}
@media (max-width: 400px) {
  .remind-field { flex-direction: column; align-items: stretch; padding: 6px; border-radius: 22px; }
  .remind-field input[type=email] { padding: 0 12px; }
  .remind-field .btn { justify-content: center; }
}
.remind .remind-field input[type=email] { background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; }
@media (max-width: 400px) { .remind .remind-field input[type=email] { padding: 0 12px !important; } }
/* the hint lines up with the title, the text and the field edge */
.remind .remind-hint { margin: 10px 0 0; max-width: 460px; }

/* calm recorder: listening is the main action once there is a take, so play is orange like record */
.deck.is-calm .pkey-play .pkey-cap { width: 70px !important; height: 70px !important; background: var(--g-accent); box-shadow: 0 12px 22px -10px rgba(220,80,20,.7); }
.deck.is-calm .pkey-play .glyph-play { border-left-color: #fff; }
.deck.is-calm .keys { align-items: center; }
@media (max-width: 560px) { .deck.is-calm .pkey-play .pkey-cap { width: 64px !important; height: 64px !important; } }
.deck.is-calm[data-state=ready] > .tape, .deck.is-calm[data-state=play] > .tape { display: none; }
.deck.is-calm[data-state=ready] > .deck-strip, .deck.is-calm[data-state=play] > .deck-strip { margin-bottom: 18px; }

/* ===================== Admin, easier to scan ===================== */
/* navigation: plain words, counts where work waits */
.admin .admin-nav { gap: 2px; }
.admin .admin-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; font: 500 .9rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.admin .admin-nav a[aria-current] { color: var(--ink); font-weight: 600; }
.nav-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #3A3632; color: #fff; font: 600 .7rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.nav-n.hot { background: var(--g-accent); }
.nav-sep { flex: 1; }
.admin .admin-nav .nav-out, .admin .admin-nav a[href="/admin/jurnal"] { font-size: .82rem; color: var(--faint); }
@media (max-width: 900px) { .nav-sep { display: none; } }

/* Azi */
.admin-head { margin: 8px 0 18px; }
.admin-date { margin: 0 0 2px; font-size: .9rem; color: var(--muted); }
.admin-head h1 { margin: 0; }
.next-steps .sec-h { margin-bottom: 8px; }
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.glance a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--h-surface); box-shadow: var(--h-raised-sm); color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.glance a:hover { box-shadow: var(--h-raised); color: var(--ink); }
.glance-n { flex: none; font: 700 1.6rem/1 var(--display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .glance { grid-template-columns: 1fr; } }

/* question page: the answers are the work; the public-page setup sits at the end, side by side */
.answers-h { margin: 30px 0 10px; }
.q-setup { margin: 40px 0 10px; padding-top: 26px; border-top: 1px solid var(--h-line); }
.q-setup > .hint { margin: -4px 0 14px; }
.q-setup-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.q-setup-grid .box { margin: 0; }
@media (max-width: 860px) { .q-setup-grid { grid-template-columns: 1fr; } }

/* answer cards: a lighter status bar; the order only matters once an answer is selected */
.slide-5 { --n: 5; grid-template-columns: repeat(5, 1fr); }
.ans-form .slide-status label { min-height: 34px; font-size: .62rem; letter-spacing: .08em; }
.ans-form:not(:has(input[value=selectata]:checked, input[value=publicata]:checked)) .ans-notes .small-input { display: none; }
.ans-notes textarea { min-height: 40px; }

/* episode page: the form in groups on the left; audio, status and share card on the right */
.ep-admin-head { margin-bottom: 18px; }
.ep-admin-head h1 { margin: 6px 0 8px; }
.ep-missing { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #F6EAD4; color: #6E5214; font-size: .9rem; }
.ep-admin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 22px; align-items: start; }
.ep-admin-side { position: sticky; top: 16px; display: grid; gap: 14px; }
.ep-admin-side .box { margin: 0; }
.ep-form { max-width: none; display: grid; gap: 14px; }
.form-group { margin: 0; padding: 18px 20px 6px; border: 0; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.form-group legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; font: 600 1.05rem var(--display); letter-spacing: -.01em; color: var(--ink); }
.form-group legend .opt { font: 400 .85rem var(--sans); color: var(--muted); }
.form-group .field { margin-bottom: 14px; }
.form-group .hint { margin-top: 6px; }
.save-sticky { position: sticky; bottom: 0; z-index: 3; display: flex; justify-content: flex-end; padding: 12px 0; background: linear-gradient(180deg, rgba(244,243,240,0), var(--bg, #F4F3F0) 40%); }
.save-sticky .btn { min-width: 160px; justify-content: center; }
@media (max-width: 900px) { .ep-admin { grid-template-columns: 1fr; } .ep-admin-side { position: static; order: -1; } }

/* ecouri and propuneri: read, then one tap */
.echo-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; font-size: .9rem; }
.echo-card .prop-text, .prop-card .prop-text { margin: 10px 0 14px; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card-btns { display: flex; gap: 8px; margin: 0 0 0 auto; }
.btn.quiet { background: none; box-shadow: none; color: var(--muted); }
.btn.quiet:hover { color: var(--ink); box-shadow: none; }
.echo-card.st-publicat, .echo-card.st-respins, .prop-card.st-buna, .prop-card.st-respinsa { opacity: .85; }
.filter-rules { margin-top: 22px; }
@media (max-width: 560px) { .card-btns { margin: 6px 0 0; width: 100%; } .card-btns .btn { flex: 1; justify-content: center; } }

/* statistici: the Monday email */
.kpis.kpis-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 10px; }
.form-group > * { clear: both; }
.ep-admin-side form[data-upload] { flex-wrap: wrap; row-gap: 8px; }

/* ===================== Studio: put an episode together ===================== */
.studio-cta { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--h-r-card); background: #2E2621; color: #F6EEE4; text-decoration: none; box-shadow: var(--h-raised); }
.studio-cta strong { font: 600 1.05rem var(--display); }
.studio-cta span { font-size: .84rem; line-height: 1.4; color: #D9C8B4; }
.studio-cta:hover { background: #3A3029; }
body.admin:has(.studio) main { max-width: none; padding-left: 20px; padding-right: 20px; }
.studio { position: relative; }
.st-head .crumb { margin: 0 0 4px; }
.st-titlebar { display: flex; align-items: baseline; gap: 14px; }
.st-titlebar h1 { margin: 0; }
.st-save { font-size: .85rem; color: var(--muted); }
.st-toolbar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 12px; padding: 10px 12px; border-radius: 16px; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.st-play { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; background: var(--g-accent); box-shadow: 0 8px 16px -8px rgba(220,80,20,.7); }
/* impeccable-disable-next-line: CSS triangle drawn with borders (play icon / playhead marker), not an accent border */
.st-play-ico { width: 0; height: 0; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; }
.studio.is-playing .st-play-ico { width: 13px; height: 15px; margin: 0; border: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.st-clock { min-width: 108px; font: 600 1rem var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
.st-sep { width: 1px; height: 26px; margin: 0 4px; background: var(--h-line); }
.st-grow { flex: 1; }
.st-tool { min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; cursor: pointer; background: none; font: 500 .86rem var(--sans); color: var(--ink); }
.st-tool:hover:not(:disabled) { background: var(--h-well); }
.st-tool:disabled { opacity: .35; cursor: default; }
.st-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; font-size: .84rem; color: var(--muted); cursor: pointer; }
.st-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; align-items: start; }
/* left: materials */
.st-lib { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; display: grid; gap: 16px; padding: 14px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.st-lib section { display: grid; gap: 6px; }
.st-h { margin: 0; font: 600 .95rem var(--display); color: var(--ink); }
.st-group-h { margin: 6px 0 2px; font-size: .75rem; color: var(--muted); }
.st-none { margin: 0; color: var(--faint); }
.st-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.st-item { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 6px; border-radius: 10px; background: var(--h-well); cursor: grab; }
.st-item.is-text { cursor: default; }
.st-item:active { cursor: grabbing; }
.st-item-txt { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.st-item-txt strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; font-weight: 600; }
.st-item-txt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; color: var(--muted); }
.st-prev, .st-add, .st-read { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer; background: var(--h-surface); box-shadow: var(--h-raised-sm); color: var(--ink); font: 600 1rem/1 var(--sans); }
/* impeccable-disable-next-line: CSS triangle drawn with borders (play icon / playhead marker), not an accent border */
.st-prev::before { content: ''; margin-left: 2px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--ink); }
.st-prev.is-on::before { width: 8px; height: 9px; margin: 0; border: 0; background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.st-add { background: var(--g-accent); color: #fff; box-shadow: none; }
.st-readbtn { min-height: 30px; padding: 0 12px; font-size: .8rem; }
.st-more { margin: 4px 0 0; font-size: .82rem; }
.st-recbox { padding: 10px; border-radius: 12px; background: var(--h-well); transition: box-shadow .3s; }
.st-recbox.is-hl { box-shadow: 0 0 0 2px var(--accent); }
.st-recbox select, .st-recbox input { width: 100%; min-height: 36px; font-size: .86rem; background: var(--h-surface) !important; }
.st-readtext { max-height: 160px; overflow: auto; margin: 0; padding: 10px; border-radius: 10px; background: var(--h-surface); font-size: .88rem; line-height: 1.5; white-space: pre-wrap; }
.st-recrow { display: flex; align-items: center; gap: 10px; }
.st-recbox audio { width: 100%; height: 36px; }
.rec-dot-sm { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #fff; }
[data-rec-btn].is-rec .rec-dot-sm { border-radius: 2px; animation: blink 1s steps(2) infinite; }
.snd-time { font: 600 .95rem var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
/* right: timeline */
.st-main { min-width: 0; display: grid; gap: 12px; }
.st-scroll { position: relative; overflow-x: auto; overflow-y: hidden; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); user-select: none; -webkit-user-select: none; touch-action: pan-x; }
.st-canvas { position: relative; min-width: 100%; padding-bottom: 8px; }
.st-ruler { position: relative; height: 28px; border-bottom: 1px solid var(--h-line); cursor: text; }
.st-tick { position: absolute; top: 0; bottom: 0; padding: 6px 0 0 5px; border-left: 1px solid var(--h-line); font-size: .7rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.st-track { position: relative; border-bottom: 1px solid var(--h-line); }
.st-track-name { position: sticky; left: 0; z-index: 3; display: inline-block; margin: 6px 0 0 8px; padding: 2px 8px; border-radius: 99px; background: rgba(251,250,247,.9); font-size: .72rem; font-weight: 600; color: var(--muted); pointer-events: none; }
.st-lane { position: relative; height: 74px; margin-top: -22px; }
.st-track[data-track="1"] .st-lane { height: 58px; }
.st-lane.is-drop { background: rgba(226,85,42,.06); }
.st-clip { position: absolute; top: 24px; bottom: 6px; overflow: hidden; border-radius: 8px; background: #E7E1D8; box-shadow: inset 0 0 0 1px rgba(60,45,30,.14); cursor: grab; }
.st-track[data-track="1"] .st-lane .st-clip { top: 24px; }
.st-clip.is-music { background: #EBD9B7; }
.st-clip:active { cursor: grabbing; }
.st-clip.is-sel { box-shadow: inset 0 0 0 2px var(--accent), 0 4px 12px -6px rgba(220,80,20,.5); z-index: 2; }
.st-clip.is-missing { opacity: .5; }
.st-clip canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.st-clip-name { position: absolute; top: 3px; left: 8px; right: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; font-weight: 600; color: var(--ink); pointer-events: none; text-shadow: 0 0 4px rgba(255,255,255,.9); }
.st-hd { position: absolute; top: 0; bottom: 0; width: 8px; cursor: ew-resize; z-index: 2; }
.st-hd-l { left: 0; } .st-hd-r { right: 0; }
.st-clip.is-sel .st-hd { background: rgba(226,85,42,.18); }
.st-f { position: absolute; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); cursor: ew-resize; z-index: 3; opacity: 0; transition: opacity .15s; }
.st-f-in { left: 8px; } .st-f-out { right: 8px; }
.st-clip.is-sel .st-f, .st-clip:hover .st-f { opacity: 1; }
.st-playhead { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; z-index: 5; }
/* impeccable-disable-next-line: CSS triangle drawn with borders (play icon / playhead marker), not an accent border */
.st-playhead::before { content: ''; position: absolute; top: 0; left: -5px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--accent); }
/* inspector */
.st-inspector { padding: 14px 16px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.st-inspector .small { margin: 0; }
.st-keys { display: block; margin-top: 4px; color: var(--faint); }
.st-insp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px; align-items: end; }
.st-insp-name { grid-column: 1 / -1; margin: 0; }
.st-slider { display: grid; gap: 4px; font-size: .84rem; color: var(--muted); }
.st-slider span { display: flex; justify-content: space-between; }
.st-slider b { color: var(--ink); font-variant-numeric: tabular-nums; }
.st-slider input { width: 100%; accent-color: #E2552A; }
.st-insp-btns { grid-column: 1 / -1; display: flex; gap: 8px; }
/* modal and toast */
.st-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(30,22,16,.35); }
.st-modal[hidden] { display: none; }
.st-modal-card { width: min(560px, 100%); padding: 24px; border-radius: 22px; background: var(--h-surface); box-shadow: 0 30px 60px -20px rgba(30,20,10,.45); }
.st-modal-card h2 { margin: 0 0 10px; }
.st-modal-card progress { width: 100%; }
.st-chap { display: grid; gap: 6px; margin: 14px 0; font-weight: 600; font-size: .9rem; }
.st-chap textarea { font: 400 .9rem/1.5 var(--sans); }
.st-modal-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.st-toast { position: fixed; left: 50%; bottom: 22px; z-index: 70; max-width: min(640px, calc(100% - 32px)); padding: 12px 18px; border-radius: 14px; background: #2E2621; color: #F6EEE4; font-size: .9rem; line-height: 1.45; box-shadow: 0 16px 34px -12px rgba(0,0,0,.45); opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.st-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 980px) { .st-body { grid-template-columns: 1fr; } .st-lib { position: static; max-height: none; } .st-insp { grid-template-columns: 1fr; } }
/* sound library page */
.snd-ways { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.snd-rec { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.snd-or { color: var(--muted); font-size: .9rem; }
.snd-group { margin-top: 26px; }
.snd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.snd-item { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.4fr) auto auto; gap: 10px 16px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.snd-edit { display: flex; gap: 8px; margin: 0; }
.snd-edit input { flex: 1; min-width: 0; min-height: 38px; }
.snd-edit select { min-height: 38px; }
.empty-line { margin: 0; color: var(--faint); }
@media (max-width: 860px) { .snd-item { grid-template-columns: 1fr; } .snd-edit { flex-wrap: wrap; } }
.st-clip.is-narrow .st-hd, .st-clip.is-narrow .st-f, .st-clip.is-narrow .st-clip-name { display: none; }
.snd-edit input { flex: 1 1 220px; }
.snd-edit select { flex: 0 0 auto; width: auto; max-width: 200px; }
[data-rec-audio][hidden] { display: none; }
.snd-rec audio { height: 40px; }
.st-toolbar .btn { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.st-tool { padding: 0 9px; font-size: .84rem; }
.st-toolbar { gap: 4px; }
.st-toolbar .st-grow { min-width: 8px; }

/* studio: vertical waveform zoom */
.st-wavezoom { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; font-size: .84rem; color: var(--muted); }
.st-wavezoom input { width: 90px; accent-color: #E2552A; }
.st-wavezoom b { min-width: 34px; font-variant-numeric: tabular-nums; color: var(--ink); }

/* ===== Studio, refined: sound tools, steps, ranges, chapters, mute/solo ===== */
.st-toolbar { margin-bottom: 8px; }
.st-toolbar2 { position: static; margin-top: 0; padding: 8px 12px; background: var(--h-well); box-shadow: none; }
.st-tool-strong { font-weight: 600; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.st-tool-strong:hover:not(:disabled) { background: var(--h-surface); box-shadow: var(--h-raised); }
.st-mini { min-height: 32px; padding: 0 8px; border-radius: 8px; font-size: .84rem; }
/* what the episode already has */
.st-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 12px; padding: 0; }
.st-steps li { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--h-surface); box-shadow: var(--h-raised-sm); font-size: .84rem; }
.st-steps li span { color: var(--muted); }
.st-step-dot { width: 10px; height: 10px; flex: none; align-self: center; border-radius: 50%; border: 2px solid #C9C0B4; }
.st-steps li.is-ok .st-step-dot { border-color: #3FA65A; background: #3FA65A; }
.st-steps li.is-ok strong { color: var(--ink); }
.st-steps .st-step-len { margin-left: auto; background: none; box-shadow: none; }
.st-steps .st-step-len strong { font: 600 1rem var(--display); font-variant-numeric: tabular-nums; }
/* mute and solo on each track */
.st-track-name { display: inline-flex; align-items: center; gap: 8px; pointer-events: auto; }
.st-ms { display: inline-flex; gap: 3px; }
.st-ms button { width: 22px; height: 20px; padding: 0; border: 0; border-radius: 5px; cursor: pointer; background: var(--h-well); font: 700 .66rem/1 var(--sans); color: var(--muted); }
.st-ms button.is-on[data-mute] { background: #3A3632; color: #fff; }
.st-ms button.is-on[data-solo] { background: #C9962B; color: #fff; }
.st-track.is-silent .st-lane { opacity: .35; }
/* chapter markers sit on the ruler */
.st-marks { position: absolute; top: 0; left: 0; right: 0; height: 28px; pointer-events: none; z-index: 6; }
.st-mark { position: absolute; top: 3px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 8px 2px 7px; border: 0; border-radius: 0 6px 6px 0; cursor: grab; pointer-events: auto; background: #3A3632; color: #fff; font: 600 .7rem/1.4 var(--sans); }
.st-mark::after { content: ''; position: absolute; left: -2px; top: 100%; width: 2px; height: 600px; background: rgba(58,54,50,.25); pointer-events: none; }
.st-mark.is-sel { background: var(--accent); }
.st-scroll { overflow-y: hidden; }
/* a selected time range */
.st-range { position: absolute; top: 0; bottom: 0; z-index: 4; padding-top: 30px; background: rgba(226,85,42,.10); box-shadow: inset 1px 0 0 var(--accent), inset -1px 0 0 var(--accent); pointer-events: none; font-size: .7rem; font-weight: 600; color: var(--accent-strong); text-align: center; }
.st-range[hidden] { display: none; }
.st-ruler { cursor: col-resize; }
/* the pauses dialog */
.st-pform { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 12px 0; }
.st-pform label { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
.st-pform select { min-height: 36px; }
.st-toolbar select.st-mini { width: auto; flex: none; min-height: 32px; padding: 0 28px 0 10px; background-color: var(--h-surface); }
.st-toolbar .st-wavezoom input[type=range] { width: 96px; flex: none; min-height: 0; padding: 0; background: none; box-shadow: none; }

/* player key: orange in every state (an older hover rule painted it white under a white icon) */
.player-key:hover, .player-key:active, .player-key:focus-visible, .player.is-playing .player-key { background: var(--g-accent); }
.player-key:hover svg, .player-key:active svg, .player.is-playing .player-key svg { fill: #fff; }
.player.is-playing .player-key { transform: none; box-shadow: 0 0 0 4px rgba(226,85,42,.16), 0 10px 20px -10px rgba(220,80,20,.6); }

/* studio tools: an icon with a short label under it, easier to scan than a row of words */
.st-ico { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 56px; min-height: 50px; padding: 6px 6px 5px; border-radius: 10px; }
.st-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-ico span { font: 500 .68rem/1.1 var(--sans); white-space: nowrap; }
.st-ico:disabled { opacity: .32; }
.st-ico:hover:not(:disabled) { color: var(--accent-strong); }
.st-toolbar2 .st-ico { min-height: 46px; }
.st-toolbar2 .st-ico.st-tool-strong { min-width: 96px; }

/* ===== Studio panel: tabs, icon rows, filter chips, record tiles ===== */
.st-lib { gap: 12px; padding: 10px; }
.st-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--h-well); }
.st-tab { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 4px 7px; border: 0; border-radius: 10px; cursor: pointer; background: none; color: var(--muted); font: 600 .74rem/1.1 var(--sans); }
.st-tab svg, .st-kico svg, .st-kind svg, .st-read svg, .st-readbtn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-tab svg { width: 20px; height: 20px; }
.st-tab.is-on { background: var(--h-surface); box-shadow: var(--h-raised-sm); color: var(--ink); }
.st-tab b { position: absolute; top: 4px; right: 6px; font: 600 .62rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); }
.st-pane { display: grid; gap: 8px; }
.st-pane[hidden] { display: none; }
.st-pane-hint { margin: 2px 4px 0; font-size: .8rem; color: var(--muted); }
.st-pane-hint b { color: var(--ink); }
.st-pane-label { margin: 2px 2px 0; font-weight: 600; font-size: .86rem; }
.st-drag-hint { margin: 2px 4px 0; font-size: .74rem; line-height: 1.4; color: var(--faint); }
.st-empty { list-style: none; padding: 10px; font-size: .84rem; color: var(--muted); }
/* rows: number, kind icon, name over meta, then the actions */
.st-item { gap: 6px; padding: 6px; border-radius: 12px; background: var(--h-surface); box-shadow: inset 0 0 0 1px var(--h-line); }
.st-item:hover { box-shadow: inset 0 0 0 1px rgba(226,85,42,.35); }
.st-item.is-used { background: #F3F7F1; }
.st-num { flex: none; width: 18px; text-align: center; font: 600 .74rem var(--sans); color: var(--faint); font-variant-numeric: tabular-nums; }
.st-kico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--h-well); color: #6B5A48; }
.st-kico svg { width: 17px; height: 17px; }
.st-item-txt strong { font-size: .84rem; }
.st-item-txt small { font-size: .72rem; }
.st-used { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #3FA65A; color: #fff; font-size: .62rem; font-weight: 700; }
.st-prev, .st-add, .st-read { width: 30px; height: 30px; }
.st-read svg { width: 15px; height: 15px; }
.st-readbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px 0 10px; border: 0; border-radius: 99px; cursor: pointer; background: var(--g-accent); color: #fff; font: 600 .8rem var(--sans); }
.st-readbtn svg { width: 15px; height: 15px; }
/* sound filters */
.st-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.st-chip { min-height: 30px; padding: 0 10px; border: 0; border-radius: 99px; cursor: pointer; background: var(--h-well); color: var(--muted); font: 600 .76rem var(--sans); }
.st-chip b { margin-left: 2px; font-weight: 500; color: var(--faint); }
.st-chip.is-on { background: #3A3632; color: #fff; }
.st-chip.is-on b { color: #CFC6BA; }
/* record: pick what, then one big button */
.st-recbox { padding: 4px; background: none; }
.st-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.st-kind { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 10px; border: 0; border-radius: 12px; cursor: pointer; text-align: left; background: var(--h-well); color: var(--ink); font: 500 .78rem/1.2 var(--sans); }
.st-kind svg { flex: none; width: 18px; height: 18px; color: #6B5A48; }
.st-kind.is-on { background: var(--h-surface); box-shadow: inset 0 0 0 2px var(--accent); }
.st-kind.is-on svg { color: var(--accent-strong); }
.st-recbox input[data-rec-name] { min-height: 38px; }
.st-recbig { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.st-recbtn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border: 0; border-radius: 99px; cursor: pointer; background: var(--g-accent); color: #fff; font: 600 .95rem var(--sans); box-shadow: 0 10px 20px -10px rgba(220,80,20,.6); }
.st-recbtn.is-rec { background: #B4231A; }
.st-recsave { width: 100%; justify-content: center; }
.st-readtext { border: 1px solid var(--h-line); }
.st-body { grid-template-columns: 330px minmax(0, 1fr); }
.st-readbtn { background: var(--h-surface); color: var(--accent-strong); box-shadow: inset 0 0 0 1.5px rgba(226,85,42,.45); }
.st-readbtn:hover { background: #FFF4EE; }
.st-tab b { position: static; margin-top: -2px; }
.st-tab { grid-template-rows: auto auto auto; }
@media (max-width: 980px) { .st-body { grid-template-columns: 1fr; } }

/* ===== Studio inspector: icons, one layout per selection ===== */
.st-inspector { padding: 14px 16px; }
.st-insp2 { display: grid; gap: 14px; }
.st-insp2 svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-ihead { display: flex; align-items: center; gap: 12px; }
.st-kico-lg { width: 40px; height: 40px; border-radius: 12px; }
.st-kico-lg svg { width: 20px; height: 20px; }
.st-ihead-txt { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.st-ihead-txt strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 1rem var(--display); color: var(--ink); }
.st-ihead-txt small { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-itag { flex: none; padding: 3px 10px; border-radius: 99px; background: var(--h-well); font: 600 .72rem var(--sans); color: var(--muted); }
.st-isliders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; }
.st-isl { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 4px 8px; }
.st-isl-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--h-well); color: #6B5A48; }
.st-isl-ico svg { width: 17px; height: 17px; }
.st-isl-l { font-size: .78rem; color: var(--muted); }
.st-isl b { font: 600 .82rem var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.st-isl input[type=range] { grid-column: 2 / 4; width: 100%; min-height: 0; padding: 0; background: none; box-shadow: none; accent-color: #E2552A; }
.st-iacts { display: flex; flex-wrap: wrap; gap: 6px; }
.st-iact { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 64px; min-height: 52px; padding: 6px 8px 5px; border: 0; border-radius: 12px; cursor: pointer; background: var(--h-well); color: var(--ink); font: 500 .72rem/1.1 var(--sans); }
.st-iact svg { width: 19px; height: 19px; }
.st-iact:hover { background: var(--h-surface); box-shadow: var(--h-raised-sm); color: var(--accent-strong); }
.st-iact.is-danger { margin-left: auto; color: #A3321F; }
.st-iact.is-danger:hover { background: #FBEDE8; box-shadow: none; }
.st-iempty { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .88rem; color: var(--muted); }
.st-iempty svg { flex: none; width: 20px; height: 20px; color: var(--accent-strong); }
.st-keys2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.st-keys2 li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 1px 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--h-well); }
.st-keys2 svg { grid-row: 1 / 3; width: 17px; height: 17px; color: #6B5A48; }
.st-keys2 kbd { justify-self: start; padding: 1px 6px; border-radius: 6px; background: var(--h-surface); box-shadow: 0 1px 0 rgba(60,45,30,.18); font: 600 .72rem var(--sans); color: var(--ink); }
.st-keys2 span { font-size: .74rem; color: var(--muted); }
@media (max-width: 1100px) { .st-keys2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-isliders { grid-template-columns: 1fr; } }

/* ===== Episode sharing materials ===== */
.studio-cta.is-light { background: var(--h-surface); color: var(--ink); box-shadow: var(--h-raised-sm); }
.studio-cta.is-light span { color: var(--muted); }
.studio-cta.is-light:hover { background: var(--h-surface); box-shadow: var(--h-raised); }
body.admin:has(.pr-grid) main { max-width: 1180px; }
.pr-head h1 { margin-bottom: 6px; }
.pr-sec { margin-top: 30px; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; align-items: start; }
.pr-card { display: grid; gap: 10px; padding: 12px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.pr-frame { display: grid; place-items: center; border-radius: 12px; background: var(--h-well); padding: 10px; }
.pr-frame canvas { display: block; max-width: 100%; max-height: 300px; width: auto; height: auto; border-radius: 6px; box-shadow: 0 6px 16px -8px rgba(30,20,10,.5); }
.pr-meta { display: grid; gap: 2px; }
.pr-meta strong { font: 600 .98rem var(--display); }
.pr-meta span { font-size: .8rem; color: var(--muted); }
.pr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pr-status { margin: 0; font-size: .82rem; color: var(--muted); }
.pr-video { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.pr-video-frame canvas { max-height: 340px; }
.pr-video-side p { margin: 0 0 12px; }
.pr-texts { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.pr-text { display: grid; gap: 8px; padding: 14px; border-radius: var(--h-r-card); background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.pr-text-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pr-text textarea { width: 100%; font: 400 .88rem/1.5 var(--sans); resize: vertical; }
.pr-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pr-links li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; border-radius: 12px; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.pr-links li > span { min-width: 220px; font-weight: 600; font-size: .9rem; }
.pr-links a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.pr-links em { color: var(--faint); font-size: .86rem; }
@media (max-width: 760px) { .pr-video { grid-template-columns: 1fr; } .pr-texts { grid-template-columns: 1fr; } .pr-links li > span { min-width: 0; flex-basis: 100%; } }

/* ===== Sharing materials: tabs by need, specs, lightbox ===== */
.pr-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 18px 0 20px; padding: 6px; border-radius: 18px; background: var(--h-well); }
.pr-tab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 13px; cursor: pointer; background: none; text-align: left; color: var(--muted); }
.pr-tab svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pr-tab strong { display: block; font: 600 .98rem var(--display); color: inherit; }
.pr-tab small { display: block; font-size: .78rem; color: var(--faint); }
.pr-tab.is-on { background: var(--h-surface); box-shadow: var(--h-raised-sm); color: var(--ink); }
.pr-tab.is-on svg { color: var(--accent-strong); }
.pr-pane { display: grid; gap: 18px; }
.pr-pane[hidden] { display: none; }
.pr-split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px; align-items: start; }
.pr-grid-1 { grid-template-columns: 1fr; }
.pr-stack { display: grid; gap: 14px; }
.pr-texts { margin-top: 2px; }
/* the image is the button that opens the preview */
.pr-frame { position: relative; width: 100%; border: 0; cursor: zoom-in; }
.pr-zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(251,250,247,.92); box-shadow: 0 4px 10px -4px rgba(0,0,0,.35); opacity: 0; transition: opacity .15s; }
.pr-zoom svg { width: 18px; height: 18px; fill: none; stroke: #3A3632; stroke-width: 2; stroke-linecap: round; }
.pr-frame:hover .pr-zoom, .pr-frame:focus-visible .pr-zoom { opacity: 1; }
.pr-frame:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pr-spec { color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.pr-spec b { font-weight: 600; }
.pr-video { margin: 0; }
.pr-video-side .pr-meta { display: grid; gap: 2px; margin-bottom: 10px; }
/* lightbox */
body.lb-open { overflow: hidden; }
.pr-lightbox { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(20,15,11,.94); color: #F6EEE4; }
.pr-lightbox[hidden] { display: none; }
.pr-lb-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.pr-lb-meta { display: grid; gap: 2px; }
.pr-lb-meta strong { font: 600 1.05rem var(--display); }
.pr-lb-meta span { font-size: .86rem; color: #D9C8B4; font-variant-numeric: tabular-nums; }
.pr-lb-acts { display: flex; align-items: center; gap: 10px; }
.pr-lb-x { width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.1); color: #fff; font-size: 1.6rem; line-height: 1; }
.pr-lb-x:hover { background: rgba(255,255,255,.2); }
.pr-lb-stage { grid-column: 2; display: grid; place-items: center; min-height: 0; padding: 8px; }
.pr-lb-stage img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.pr-lb-nav { align-self: center; justify-self: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.1); color: #fff; font-size: 2rem; line-height: 1; }
.pr-lb-nav:hover { background: rgba(255,255,255,.2); }
.pr-lb-nav.is-prev { grid-column: 1; grid-row: 2; } .pr-lb-nav.is-next { grid-column: 3; grid-row: 2; }
.pr-lb-nav[hidden] { visibility: hidden; display: block; }
.pr-lb-where { grid-column: 1 / -1; margin: 0; padding: 10px 18px 18px; text-align: center; font-size: .88rem; color: #D9C8B4; }
@media (max-width: 860px) {
  .pr-tabs { grid-template-columns: 1fr; }
  .pr-split { grid-template-columns: 1fr; }
  .pr-lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .pr-lb-nav { width: 38px; height: 38px; }
}
.pr-lb-stage img { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; object-fit: contain; }
.pr-lightbox { background: rgba(20,15,11,.97); }

/* admin icons: episode page */
.aic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-group legend { display: flex; align-items: center; gap: 10px; }
.form-group legend .aic { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--h-well); color: #6B5A48; }
.studio-cta { grid-template-columns: auto 1fr; column-gap: 12px; }
.studio-cta .cta-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); color: #FFB765; }
.studio-cta.is-light .cta-ico { background: var(--h-well); color: var(--accent-strong); }
.studio-cta .cta-ico .aic { width: 21px; height: 21px; }
.h-ico { display: flex; align-items: center; gap: 10px; }
.h-ico .aic { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--h-well); color: #6B5A48; }
.a-ico { display: inline-flex; align-items: center; gap: 6px; }
.a-ico .aic { width: 15px; height: 15px; }
.ep-missing { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ep-missing .aic { color: #A36A12; }
.ep-miss-chip { padding: 2px 10px; border-radius: 99px; background: rgba(255,255,255,.6); font-weight: 600; font-size: .84rem; }

/* answers flagged by the spam check */
.ans-flags { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; padding: 9px 12px; border-radius: 10px; background: #FBF0DD; color: #6E5214; font-size: .86rem; line-height: 1.45; }
.ans-flags .aic { margin-top: 1px; color: #A36A12; }
.filters a.is-flag { color: #8A5A0E; }

/* calendar of questions */
.cal-summary { margin: 4px 0 14px; }
.cal { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cal-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--h-surface); box-shadow: var(--h-raised-sm); }
.cal-row.is-past { opacity: .6; box-shadow: none; background: var(--h-well); }
.cal-row.is-now { box-shadow: inset 0 0 0 2px var(--accent), var(--h-raised-sm); }
.cal-row.is-empty.is-next { background: #FBF3E6; }
.cal-when { display: grid; line-height: 1.3; }
.cal-when strong { font: 600 .98rem var(--display); }
.cal-when span { font-size: .8rem; color: var(--muted); }
.cal-what { display: grid; gap: 2px; min-width: 0; }
.cal-what a { font-weight: 600; }
.cal-none { color: var(--muted); font-size: .9rem; }
.cal-pick { display: flex; gap: 8px; margin: 0; }
.cal-pick select { flex: 1; min-width: 0; min-height: 40px; }
.cal-out { margin: 0; }
@media (max-width: 720px) { .cal-row { grid-template-columns: 1fr; } .cal-pick { flex-direction: column; } }

/* episode: ready to publish */
.ready-box { margin: 0; }
.ready-list { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 4px; }
.ready-list li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: .9rem; }
.ready-list li:hover { background: var(--h-well); }
.ready-list a { flex: 1; text-decoration: none; color: var(--ink); }
.rd-dot { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #CFC6BA; color: #fff; font-size: .66rem; font-weight: 700; }
.ready-list li.is-ok .rd-dot { border-color: #3FA65A; background: #3FA65A; }
.ready-list li.is-need .rd-dot { border-color: #D98A2B; }
.ready-list li.is-ok a { color: var(--muted); }
.rd-tag { font-size: .7rem; color: var(--faint); }
.ready-list li.is-need .rd-tag { color: #A36A12; font-weight: 600; }
.ready-go { width: 100%; justify-content: center; }

/* materials: embeddable player */
.pr-embed { margin-top: 18px; display: grid; gap: 12px; }
.pr-embed h2 { margin: 0; }
.pr-embed-frame { width: 100%; max-width: 640px; height: 152px; border: 0; border-radius: 16px; display: block; }

/* listeners pick the next question */
.poll-page { max-width: 640px; margin: 0 auto; padding: 24px 0 48px; }
.poll-form fieldset { border: 0; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.poll-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--panel-hi); border: 1px solid var(--panel-lo); cursor: pointer; font-size: 1.05rem; line-height: 1.4; }
.poll-opt:hover { border-color: var(--accent); }
.poll-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.poll-opt input { margin-top: 4px; accent-color: var(--accent); }
.poll-results { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.poll-results li { display: grid; grid-template-columns: 1fr 3.5em; gap: 4px 12px; align-items: center; }
.poll-q { grid-column: 1 / -1; }
.poll-bar { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 4px; background: var(--panel-lo); overflow: hidden; }
.poll-bar::-webkit-progress-bar { background: var(--panel-lo); border-radius: 4px; }
.poll-bar::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
.poll-bar::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
.poll-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.poll-pick { border: 0; padding: 0; display: grid; gap: 8px; }
.poll-teaser { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin: 24px 0; padding: 16px 20px; border-radius: 16px; background: var(--panel-hi); border: 1px solid var(--panel-lo); }
.poll-teaser p { margin: 0; flex: 1 1 260px; }

/* ---- dark mode, public site only (follows the device setting) ---- */
@media (prefers-color-scheme: dark) {
  html.pub {
    --bg: #15110d; --panel: #1e1813; --panel-hi: #261e18; --panel-lo: #100c09;
    --ink: #f3ebe1; --muted: #b5a99a; --label: #a99d8e; --faint: #7d7266; --line: #3a2f26; --engrave: #9a8f82; --engrave-panel: #d8cfc4;
    --accent: #f0663a; --accent-strong: #ff7c4f; --accent-hi: #ff7c4f; --accent-soft: #4a2416; --accent-ink: #fff;
    --ok: #26301d; --okline: #4f6438; --warn: #f0a070; --danger: #ff7a62; --led-off: #3a3029;
    --g-body: linear-gradient(180deg, #221b15 0%, #1b1511 100%);
    --g-concave: linear-gradient(180deg, #120e0b 0%, #1a1410 100%);
    --g-bezel: linear-gradient(180deg, #241c16, #1b1511);
    --g-well: linear-gradient(180deg, #110d0a, #19130f);
    --g-alu: linear-gradient(180deg, #241c16 0%, #1d1611 100%);
    --g-chrome: linear-gradient(90deg, #2a221b, #3a2f26 50%, #2a221b);
    --g-keycap: linear-gradient(180deg, #2c231c, #221b15);
    --keylip: #0e0b08;
    --sh-float: 0 1px 1px rgba(0,0,0,.3), 0 12px 28px -14px rgba(0,0,0,.7);
    --sh-float-sm: 0 1px 1px rgba(0,0,0,.3), 0 4px 10px -5px rgba(0,0,0,.6);
    --sh-edge: inset 0 1px 0 rgba(255,235,210,.06);
    --sh-edge-2: inset 0 1px 0 rgba(255,235,210,.07);
    --sh-well: inset 0 1px 3px rgba(0,0,0,.6), 0 1px 0 rgba(255,235,210,.04);
    --sh-metal: 0 1px 1px rgba(0,0,0,.3), 0 8px 20px -12px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,235,210,.06);
    --h-surface: #211a14; --h-well: #16110d; --h-line: rgba(255,235,210,.09);
    --h-raised: 0 0 0 1px var(--h-line), 0 12px 28px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,235,210,.05);
    --h-raised-sm: 0 0 0 1px var(--h-line), 0 4px 10px -6px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,235,210,.05);
    --h-sunken: inset 0 1px 3px rgba(0,0,0,.6), inset 0 0 0 1px var(--h-line);
    --raise: 0 0 0 1px rgba(255,235,210,.06), 0 1px 2px rgba(0,0,0,.4);
    --raise-key: 0 0 0 1px rgba(255,235,210,.10), 0 1px 1px rgba(0,0,0,.5);
    --press: 0 0 0 1px rgba(255,235,210,.14), 0 1px 2px rgba(0,0,0,.5) inset;
    --inset: 0 0 0 1px rgba(255,235,210,.07) inset;
    color-scheme: dark;
  }
}
@media (prefers-color-scheme: dark) {
  html.pub .answer-card #q, html.pub .lw-q, html.pub .rl-q, html.pub .prose .principle.is-lead, html.pub .invite-q { color: var(--ink); }
  html.pub .answer-card .q-head .intro p, html.pub .ep-card-q, html.pub .ep-q, html.pub .invite-sub, html.pub .cass-label { color: var(--muted); }
  html.pub .remind-letter { background: #2a211a; box-shadow: inset 0 1px 0 rgba(255,235,210,.06), 7px 8px 0 -1px #0e0b08, 0 14px 28px -16px rgba(0,0,0,.8); }
  html.pub .ep-card-meta .ep-new { background: #3a2c14; color: #f0c870; }
  html.pub .held-why, html.pub .banner.warn-soft, html.pub .ep-missing { color: #f0c870; }
  html.pub .timeline li.done span:last-child { color: #8fd49c; }
  html.pub img[src$="ionut.webp"] { filter: none; }
}
@media (prefers-color-scheme: dark) { html.pub .player-screen { --led-off: #342a22; } }

:root { --asset-v: "484"; }
