/* CriArts Hub — tokens inspired by the 2026–2027 brochure: black panels, pastel pink and pale yellow cards */
:root {
  color-scheme: light;
  --bg: #F6F2F4;
  --surface: #FFFFFF;
  --ink: #17121A;
  --ink-2: #5E5362;
  --line: #E4D9DF;
  --panel: #141015;
  --panel-ink: #FBEFF5;
  --panel-ink-2: #C9B8C2;
  --rose: #F9E1EC;
  --citron: #F4F4D4;
  --on-card: #1C1519;
  --on-card-2: #5C4E57;
  --accent: #A3175A;
  --accent-ink: #FFFFFF;
  --focus: #A3175A;
  --ok: #1D7A4E;
  --warn: #9A5200;
  --danger: #B3261E;
  --t-class: #E6DEE5; --t-initiation: #DCCEF6; --t-masterclass: #FFD9B8; --t-outing: #BFE7DD;
  --t-workshop: #D6EDC0; --t-residency: #CADBF6; --t-show: #F6BDBD; --t-holiday: #E4E2E3;
  --t-deadline: #F3DF73; --t-meeting: #F9E1EC; --t-social: #F4F4D4; --t-rehearsal: #D3EEF3;
  --radius: 18px;
  --tabs-h: 64px;
  --font-display: "Caveat Brush", "Marker Felt", "Comic Sans MS", cursive;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:root { --hol-a: #EEF4E6; --hol-b: #E2ECD6; --hol-ink: #3F5B32; }
/* Theme: light by default; "dark" = softer dark grey (not black); "auto" follows the phone */
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #1B171D; --surface: #27212A; --ink: #F3EDF0; --ink-2: #CFC3CA; --line: #3B343E;
    --panel: #110E12; --panel-ink: #FBEFF5; --panel-ink-2: #C4B4BD;
    --accent: #F48DBD; --accent-ink: #25071A; --focus: #F48DBD;
    --ok: #7FD9AA; --warn: #F3BD6C; --danger: #FF978D;
    --hol-a: #263024; --hol-b: #2E3A2B; --hol-ink: #BFD8B5;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    color-scheme: dark;
    --bg: #1B171D; --surface: #27212A; --ink: #F3EDF0; --ink-2: #CFC3CA; --line: #3B343E;
    --panel: #110E12; --panel-ink: #FBEFF5; --panel-ink-2: #C4B4BD;
    --accent: #F48DBD; --accent-ink: #25071A; --focus: #F48DBD;
    --ok: #7FD9AA; --warn: #F3BD6C; --danger: #FF978D;
    --hol-a: #263024; --hol-b: #2E3A2B; --hol-ink: #BFD8B5;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.45 var(--font-body);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 8px;
  background: var(--panel); color: var(--panel-ink);
}
.brand { background: none; border: 0; padding: 0; white-space: nowrap; font: 28px/1 var(--font-display); color: var(--panel-ink); cursor: pointer; letter-spacing: .5px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { width: 40px; height: auto; flex: none; }
.brand span { color: var(--rose); background: none; }
.group-chip {
  margin-left: auto; min-height: 36px; max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: 1px solid #3A3039; background: #231C24; color: var(--panel-ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.lang { display: flex; border: 1px solid #3A3039; border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--panel-ink-2); min-width: 40px; min-height: 36px; font-weight: 700; font-size: 13px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--rose); color: var(--on-card); }

/* layout */
main { max-width: 680px; margin: 0 auto; padding: 16px 16px calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px) + 24px); outline: none; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.page-title { font: 40px/1.05 var(--font-display); margin: 4px 0 0; text-wrap: balance; }
.page-sub { color: var(--ink-2); margin: 2px 0 6px; font-size: 15px; }
.h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 14px 0 0; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tnum { font-variant-numeric: tabular-nums; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card.rose { background: var(--rose); border-color: transparent; color: var(--on-card); }
.card.citron { background: var(--citron); border-color: transparent; color: var(--on-card); }
.card.rose .muted, .card.citron .muted { color: var(--on-card-2); }
.card.rose a, .card.citron a { color: #7E0F44; }
.panel { background: var(--panel); color: var(--panel-ink); border-radius: var(--radius); padding: 18px; }
.panel .muted { color: var(--panel-ink-2); }
.panel a { color: var(--rose); }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.big-date { font: 34px/1.05 var(--font-display); margin: 6px 0 2px; text-wrap: balance; }
.card-title { font-weight: 700; font-size: 18px; line-height: 1.25; margin: 0; text-wrap: balance; }
.display-title { font: 26px/1.1 var(--font-display); margin: 0; text-wrap: balance; }
.meta { display: grid; grid-template-columns: 22px 1fr; gap: 6px 8px; align-items: start; font-size: 15px; }
.meta .ic { opacity: .75; text-align: center; }
.bring { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bring span { background: rgba(249,225,236,.14); border: 1px solid rgba(249,225,236,.3); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.card .bring span { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.1); }

/* badges and chips */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; color: var(--on-card); }
.badge.tbc { background: #FFE9A8; border: 1px dashed #9A6A00; }
.badge.upd { background: #CFE8FF; }
.badge.cancel { background: #FFD3CF; text-decoration: line-through; }
.badge.must { background: var(--panel); color: var(--rose); }
.badge.soft { background: var(--rose); }
.type-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 10px 2px 8px; font-size: 12px; font-weight: 700; color: var(--on-card); }
.type-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.count { display: inline-block; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.countdown { display: inline-block; background: var(--panel); color: var(--rose); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.card.rose .countdown, .card.citron .countdown { background: var(--on-card); }
.countdown.late, .card.rose .countdown.late, .card.citron .countdown.late { background: var(--danger); color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.dark { background: var(--panel); border-color: var(--panel); color: var(--panel-ink); }
.btn.small { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.btn.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.panel .btn { border-color: var(--panel-ink); color: var(--panel-ink); }
.panel .btn.primary { background: var(--rose); border-color: var(--rose); color: var(--on-card); }
.card.rose .btn, .card.citron .btn { border-color: var(--on-card); color: var(--on-card); }
.card.rose .btn.primary, .card.citron .btn.primary { background: var(--on-card); color: var(--citron); }
.card.rose .btn.on, .card.citron .btn.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--accent); font-weight: 700; cursor: pointer; min-height: 36px; text-align: left; }
.card.rose .link-btn, .card.citron .link-btn { color: #7E0F44; }
.seg { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 3px; }
.seg button { flex: 1; min-height: 40px; border: 0; background: none; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--ink-2); padding: 0 12px; }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--panel-ink); }

/* lists */
.list { display: flex; flex-direction: column; gap: 8px; }
.item { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; text-align: left; width: 100%; color: var(--ink); }
.item:hover { border-color: var(--ink-2); }
.item.cancelled .item-title { text-decoration: line-through; opacity: .6; }
.dateblock { border-radius: 10px; padding: 6px 0; text-align: center; color: var(--on-card); line-height: 1.05; }
.dateblock b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.dateblock small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.item-title { font-weight: 700; margin: 0 0 2px; line-height: 1.3; }
.item-meta { font-size: 14px; color: var(--ink-2); }
.item .badges { margin-top: 6px; }
.month-h { font: 26px/1 var(--font-display); margin: 18px 0 4px; text-transform: capitalize; }

/* checkbox rows */
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.08); }
.check:first-child { border-top: 0; }
.panel .check { border-color: rgba(255,255,255,.12); }
.check input { width: 26px; height: 26px; margin: 0; accent-color: var(--ok); flex: none; cursor: pointer; }
.check .done { text-decoration: line-through; opacity: .6; }
.kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }

/* month grid */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { font-size: 11px; font-weight: 700; text-align: center; color: var(--ink-2); text-transform: uppercase; padding: 4px 0; }
.cal button { aspect-ratio: 1 / 1.05; max-width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 4px 2px; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; color: var(--ink); min-width: 0; }
.cal button.out { opacity: .35; }
.cal button.today { border: 2px solid var(--accent); }
.cal button.sel { background: var(--panel); color: var(--panel-ink); border-color: var(--panel); }
.cal .n { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }

/* bottom tabs */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: var(--panel); padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 6px);
}
.tabs button { background: none; border: 0; color: var(--panel-ink-2); min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; cursor: pointer; position: relative; border-radius: 12px; }
.tabs button svg { width: 24px; height: 24px; }
.tabs button[aria-current="page"] { color: var(--rose); }
.tabs button[aria-current="page"]::after { content: ""; position: absolute; top: 2px; width: 26px; height: 3px; border-radius: 3px; background: var(--rose); }
.tabs .dot { position: absolute; top: 6px; right: calc(50% - 20px); width: 9px; height: 9px; border-radius: 50%; background: var(--rose); border: 2px solid var(--panel); }

/* sheet (modal) */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(10,6,10,.55); }
.sheet { position: relative; width: 100%; max-width: 680px; max-height: 92vh; overflow-y: auto; background: var(--bg); color: var(--ink); border-radius: 22px 22px 0 0; padding: 22px 16px calc(env(safe-area-inset-bottom, 0px) + 24px); }
.sheet-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
@media (min-width: 720px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 22px; } }

/* forms */
.field { display: flex; flex-direction: column; gap: 5px; }
.field label, .field .lbl { font-size: 13px; font-weight: 700; color: var(--ink-2); }
input[type=text], input[type=date], input[type=time], input[type=url], input[type=number], input[type=email], select, textarea {
  width: 100%; min-height: 46px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 16px;
}
textarea { min-height: 120px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { display: flex; gap: 10px; align-items: center; min-height: 40px; }
.opt input { width: 22px; height: 22px; accent-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; cursor: pointer; background: var(--surface); }
.chips input { accent-color: var(--accent); }
.group-pick { display: grid; gap: 8px; }
.group-pick button { min-height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; padding: 10px 14px; font-weight: 700; cursor: pointer; color: var(--ink); }
.group-pick button[aria-pressed="true"] { background: var(--panel); color: var(--panel-ink); border-color: var(--panel); }

/* misc */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px) + 18px); z-index: 60; background: var(--panel); color: var(--panel-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; box-shadow: 0 6px 24px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
.empty { text-align: center; color: var(--ink-2); padding: 18px 8px; }
.body-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.menu { display: grid; gap: 8px; }
.menu button { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font-weight: 700; }
.menu button small { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; }
.menu .ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: var(--on-card); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.notice { border-left: 4px solid var(--warn); background: var(--surface); padding: 10px 12px; border-radius: 8px; font-size: 14px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* chat */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chat-list { display: flex; flex-direction: column; gap: 6px; padding-bottom: 84px; }
.chat-day { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin: 12px 0 4px; }
.msg { display: flex; }
.msg.mine { justify-content: flex-end; }
.bubble { max-width: 82%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 8px 12px; }
.msg.mine .bubble { background: var(--rose); color: var(--on-card); border-color: transparent; border-radius: 18px 18px 6px 18px; }
.msg.mine .bubble a { color: #7E0F44; }
.bubble .who { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 2px; display: flex; gap: 6px; align-items: center; }
.bubble .when { font-size: 11px; opacity: .65; text-align: right; margin-top: 2px; }
.bubble .when .link-btn { min-height: 0; padding: 0; font-size: 11px; color: inherit; text-decoration: underline; }
.composer { position: fixed; left: 0; right: 0; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px)); z-index: 15; display: flex; gap: 8px; align-items: flex-end;
  max-width: 680px; margin: 0 auto; padding: 8px 16px; background: var(--bg); border-top: 1px solid var(--line); }
.composer textarea { min-height: 46px; max-height: 160px; resize: none; border-radius: 22px; padding: 11px 16px; }
.composer .btn { width: 46px; padding: 0; flex: none; font-size: 18px; }
@media (max-width: 420px) { .brand { font-size: 23px; gap: 6px; } .brand img { width: 30px; } .group-chip { max-width: 34vw; } }

/* extras */
.rules { margin: 0; padding-left: 1.6em; display: flex; flex-direction: column; gap: 10px; }
.rules li { font-size: 17px; line-height: 1.4; padding-left: 4px; }
.rules li::marker { font: 22px var(--font-display); color: var(--accent); }
.menu + .h2, .h2 + .menu { margin-top: 0; }

/* clearer cards */
.show-card .display-title { font-size: 30px; }
.go-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn.big { min-height: 54px; padding: 12px 26px; font-size: 18px; }
.go-count { font-size: 14px; color: var(--on-card-2); }
.party { display: inline-flex; align-items: center; gap: 6px; color: var(--on-card-2); }
.party select { width: auto; min-width: 3.2em; padding: 6px 8px; }
details.more > summary { cursor: pointer; font-weight: 700; font-size: 15px; min-height: 40px; display: flex; align-items: center; list-style: none; color: #7E0F44; }
details.more > summary::before { content: "▸"; margin-right: 6px; transition: transform .15s; }
details.more[open] > summary::before { transform: rotate(90deg); }
details.more > summary::-webkit-details-marker { display: none; }
.prop-chip { background: var(--rose); }
.prop-chip::before { background: #A3175A; opacity: .8; }
.soft-tag { text-transform: none; letter-spacing: 0; font-weight: 600; }
.hw-student { opacity: .92; }
.attach { display: inline-block; margin: 4px 8px 0 0; font-size: 14px; font-weight: 600; }
.hw-actions { display: flex; gap: 14px; }
.hw-actions .link-btn { min-height: 0; padding: 4px 0; font-size: 13px; }

/* multi-day events (rentrée, holidays, résidence) as a thin band, not a dot per day */
.cal button { position: relative; }
.cal .band { position: absolute; left: 3px; right: 3px; bottom: 3px; height: 5px; border-radius: 3px; border: 1px solid rgba(0,0,0,.15); }
.cal .band + .band { bottom: 10px; }

/* text size (Réglages → Taille du texte) */
html[data-size="l"] #view > .stack, html[data-size="l"] .chat-list, html[data-size="l"] #sheetBody { zoom: 1.12; }
html[data-size="xl"] #view > .stack, html[data-size="xl"] .chat-list, html[data-size="xl"] #sheetBody { zoom: 1.25; }
/* group colours */
.group-chip::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--g, var(--rose)); margin-right: 6px; vertical-align: 0; }
.gdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.item.cls { border-left: 6px solid var(--g, var(--line)); }
.panel.cls { border-top: 6px solid var(--g, var(--rose)); }
/* holidays: shaded days, not events */
.cal button.hol:not(.sel) { background: repeating-linear-gradient(135deg, var(--hol-a) 0 7px, var(--hol-b) 7px 14px); }
.hol-swatch { display: inline-block; width: 22px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; background: repeating-linear-gradient(135deg, var(--hol-a) 0 5px, var(--hol-b) 5px 10px); border: 1px solid var(--line); }
.hol-divider { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--hol-ink); background: repeating-linear-gradient(135deg, var(--hol-a) 0 7px, var(--hol-b) 7px 14px); }
/* home headings */
.home-h { font: 26px/1.1 var(--font-display); margin: 18px 0 0; display: flex; align-items: center; gap: 8px; }
.notif-card { border: 2px dashed var(--accent); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 380px) { .grid3 { grid-template-columns: 1fr 1fr; } }

.tabs button span { font-size: 11px; white-space: nowrap; }
@media (max-width: 360px) { .tabs button span { font-size: 10px; } }

.edit-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px) + 62px); z-index: 15; max-width: 680px; margin: 0 auto; padding: 6px 16px; background: var(--rose); color: var(--on-card); display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.edit-bar .link-btn { min-height: 0; padding: 0; color: #7E0F44; }

/* répétiteur voice mode */
.card.speaking { box-shadow: 0 0 0 2px var(--accent, #d6337a) inset; }
.listening { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mic-dot { width: 12px; height: 12px; border-radius: 50%; background: #e53935; animation: micpulse 1s ease-in-out infinite; }
@keyframes micpulse { 50% { transform: scale(1.35); opacity: .55; } }
mark.miss { background: transparent; color: inherit; text-decoration: underline wavy #e53935; text-underline-offset: 4px; }
.stage-dir { margin: 8px 0 0; font-style: italic; color: var(--on-card-2); }
