/* «Обучение» (бывшие «Свайпы»): карта курсов и карточки курса.

   Оболочка курса — та же, что была у колоды (screen-quiz.css): поле на
   всё окно, полоса сверху, кнопки снизу. Здесь — содержимое карточек и
   карта модулей. */

/* ── Обзор «Обучения» (прототип владельца learning-hub, 26.09.2026) ──
   На токенах приложения: светлая тема получается сама. У каждого модуля
   свой акцент (--acc, --acc2, --accd ставит скрипт, CO_ACC); текстом он
   идёт через --acc-ink: в светлой теме светлые акценты темнее. */
#v-swipes { position: relative }
.sw-h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em }
.sw-sub { margin: 5px 0 0; font-size: 13.5px; color: var(--muted) }
.sw-ico { width: 14px; height: 14px; flex: none }
.sw-art { width: 100%; height: 100% }
.sw-art-base { stroke: var(--line-2) }
.sw-art-lime { fill: var(--lime); opacity: .8 }
.lh, .cm, .lh-hero, .lh-mod { --acc-ink: var(--acc) }
:root[data-theme="light"] :is(.lh-hero, .lh-mod, .cm) { --acc-ink: color-mix(in srgb, var(--acc) 50%, #06140C) }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) :is(.lh-hero, .lh-mod, .cm) { --acc-ink: color-mix(in srgb, var(--acc) 50%, #06140C) }
}
.lh-sp { flex: 1 }

/* Экран без прокрутки на ПК: герой тянется на оставшуюся высоту. */
.lh { display: flex; flex-direction: column; min-height: calc(var(--vh, 100dvh) - 118px) }
.lh-top { flex: none; display: flex; align-items: flex-end; gap: 16px }
.lh-h1 { font-size: clamp(22px, 3.2vh, 30px); letter-spacing: -.035em }
.lh-goal { display: flex; align-items: center; gap: 11px; padding: 9px 15px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 60%, transparent) }
.lh-goal svg { width: 26px; height: 26px; transform: rotate(-90deg) }
.lh-goal-bg { fill: none; stroke: var(--panel-3); stroke-width: 3.4 }
.lh-goal-arc { fill: none; stroke: var(--lime); stroke-width: 3.4; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease-bounce) }
.lh-goal b { display: block; font: 700 12.5px var(--font-mono); letter-spacing: -.02em }
.lh-goal span { font: 600 9.5px var(--font-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted-3) }

.lh-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 312px; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; margin-top: 16px }

/* Герой: слева текст, справа превью карты. */
.lh-hero { grid-column: 1; grid-row: 1; min-height: 360px; position: relative; overflow: hidden; border-radius: 30px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: linear-gradient(150deg, var(--panel-2), var(--panel)); border: 1px solid color-mix(in srgb, var(--acc) 26%, var(--line));
  box-shadow: var(--shadow-card, 0 26px 64px rgba(0, 0, 0, .35)); transition: border-color .5s }
.lh-hero::after { content: ''; position: absolute; top: -140px; left: -80px; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%) }
.lh-hl, .lh-hmap { transition: opacity .2s, transform .3s var(--ease-bounce) }
.lh-hero.is-swap .lh-hl { opacity: 0; transform: translateY(10px) }
.lh-hero.is-swap .lh-hmap { opacity: 0; transform: scale(.985) }
.lh-hl { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; padding: clamp(18px, 2.6vh, 26px) clamp(18px, 2vw, 28px) }
.lh-title { margin: 6px 0 8px; font-size: clamp(26px, 4.4vh, 40px); line-height: 1.04; font-weight: 700; letter-spacing: -.04em }
.lh-lead { margin: 0; max-width: 400px; font-size: 13.5px; line-height: 1.6; color: var(--muted) }
.lh-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px }
.lh-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 50%, transparent); font-size: 12px; color: var(--muted) }
.lh-chip b { color: var(--text); font: 700 12.5px var(--font-mono) }
.lh-chip .sw-ico { color: var(--muted-3) }
.lh-hsp { flex: 1; min-height: 10px }
.lh-pline { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px }
.lh-pline span { font: 700 9.5px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3) }
.lh-pline b { font: 700 13px var(--font-mono); color: var(--acc-ink) }
.lh-pbar { height: 6px; overflow: hidden; border-radius: var(--r-pill); background: var(--panel-3) }
.lh-pbar i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--acc), var(--acc2));
  box-shadow: 0 0 14px color-mix(in srgb, var(--acc) 38%, transparent); transition: width 1s var(--ease-bounce) }
.lh-next { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 11px 13px; border-radius: 24px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 45%, transparent) }
.lh-nn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 15px; font: 700 12.5px var(--font-mono);
  background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd) }
.lh-nn .sw-ico { width: 18px; height: 18px; stroke-width: 2.4 }
.lh-nn.is-lk { background: var(--panel-3); color: var(--muted-3) }
.lh-nt { min-width: 0 }
.lh-nt span { display: block; font: 700 9px var(--font-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--muted-3) }
.lh-nt b { display: block; margin-top: 3px; overflow: hidden; font-size: 14px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis }
.lh-act { display: flex; gap: 10px; margin-top: 14px }
.lh-go { flex: 1; gap: 9px; background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd); border-color: transparent }
.lh-go .sw-ico { width: 16px; height: 16px }
@media (hover: hover) { .lh-go:hover { filter: brightness(1.05); background: linear-gradient(145deg, var(--acc2), var(--acc)) } }
.lh-hmap { position: relative; min-width: 0; border-left: 1px solid color-mix(in srgb, var(--text) 5%, transparent);
  background: radial-gradient(120% 90% at 70% 30%, color-mix(in srgb, var(--acc) 9%, transparent), transparent 62%) }
.lh-hmap::before { content: ''; position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(110% 90% at 55% 45%, #000 40%, transparent 88%); mask-image: radial-gradient(110% 90% at 55% 45%, #000 40%, transparent 88%) }
.lh-mini { position: absolute; inset: 0; width: 100%; height: 100% }
.lh-mopen { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 9px 15px; border-radius: var(--r-pill); cursor: pointer;
  font: 600 12.5px var(--font-ui); color: var(--text); background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--line) }
@media (hover: hover) { .lh-mopen:hover { border-color: var(--line-2) } }

/* Правая колонка: серия и неделя. */
.lh-side { grid-column: 2; grid-row: 1 / span 2; min-height: 0; display: flex; flex-direction: column; gap: 12px }
.lh-card { position: relative; overflow: hidden; padding: 16px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--panel-2), var(--panel)) }
.lh-ch { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 13px }
.lh-ch span { font: 700 9px var(--font-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--muted-3) }
.lh-ch b { font: 700 11px var(--font-mono); color: var(--muted) }
.lh-streak { display: flex; align-items: center; gap: 14px }
.lh-streak p { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--muted) }
.lh-ring { position: relative; flex: none; width: 74px; height: 74px }
.lh-ring svg { width: 74px; height: 74px; transform: rotate(-90deg) }
.lh-ring-bg { fill: none; stroke: var(--panel-3); stroke-width: 6 }
.lh-ring-arc { fill: none; stroke: url(#lhSg); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease-bounce) }
.lh-ring-v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px }
.lh-ring-v b { font: 700 22px/1 var(--font-mono); letter-spacing: -.05em }
.lh-ring-v span { font: 600 8.5px var(--font-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted-3) }
.lh-week { display: flex; justify-content: space-between; gap: 5px; margin-top: 14px }
.lh-day { flex: 1; text-align: center }
.lh-dbx { height: 26px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); color: var(--muted-3);
  background: color-mix(in srgb, var(--bg) 45%, transparent) }
.lh-dbx .sw-ico { width: 13px; height: 13px; stroke-width: 2.6 }
.lh-day.is-on .lh-dbx { border-color: transparent; color: var(--on-accent, #052A12); background: linear-gradient(145deg, var(--lime), var(--accent)) }
.lh-day.is-today .lh-dbx { border-color: var(--accent-edge) }
.lh-day em { display: block; margin-top: 5px; font: normal 600 9px var(--font-mono); letter-spacing: .08em; color: var(--muted-3) }
.lh-srow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed color-mix(in srgb, var(--text) 5%, transparent) }
.lh-srow:last-child { border-bottom: 0 }
.lh-srow em { flex: 1; font-style: normal; font-size: 12px; color: var(--muted) }
.lh-srow b { font: 700 14px var(--font-mono); letter-spacing: -.03em }
.lh-srow u { margin-left: 3px; text-decoration: none; font-size: 10.5px; color: var(--muted-3) }
.lh-spark { display: flex; align-items: flex-end; gap: 3px; width: 66px; height: 22px }
.lh-spark i { flex: 1; border-radius: 2px; background: var(--panel-3) }
.lh-spark i.is-a { background: linear-gradient(180deg, var(--lime), var(--accent)) }

/* Лента модулей: нажатие показывает модуль в герое. */
.lh-mods { grid-column: 1; grid-row: 2; min-width: 0 }
.lh-mhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 9px }
.lh-mhead span { font: 700 9px var(--font-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--muted-3) }
.lh-mhead u { text-decoration: none; font-size: 11.5px; color: var(--muted-3) }
.lh-mrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px }
.lh-mod { position: relative; display: flex; align-items: center; gap: 11px; overflow: hidden; padding: 13px 14px; text-align: left; cursor: pointer;
  border-radius: 20px; border: 1px solid var(--line); color: var(--text); background: linear-gradient(160deg, var(--panel-2), var(--panel));
  transition: transform .22s var(--ease-bounce), border-color .22s }
@media (hover: hover) { .lh-mod:hover { transform: translateY(-2px); border-color: var(--line-2) } }
.lh-mi { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 13px; color: var(--acc-ink);
  border: 1px solid color-mix(in srgb, var(--acc) 26%, var(--line)); background: color-mix(in srgb, var(--acc) 7%, transparent) }
.lh-ico { width: 19px; height: 19px }
.lh-mt { flex: 1; min-width: 0 }
.lh-mt em { font: normal 700 9px var(--font-mono); letter-spacing: .14em; color: var(--muted-3) }
/* Пять модулей в строку: название — до двух строк, статус — в одну. */
.lh-mt b { display: -webkit-box; margin-top: 2px; overflow: hidden; font-size: 13px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical }
.lh-mt > span { display: block; margin-top: 4px; overflow: hidden; font: 600 9.5px var(--font-mono); letter-spacing: .09em; text-transform: uppercase;
  white-space: nowrap; text-overflow: ellipsis; color: color-mix(in srgb, var(--acc-ink) 78%, var(--muted-3)) }
/* Ненаписанный модуль — статус приглушён: он ещё не действует. */
.lh-mod.is-soon .lh-mt > span { color: var(--muted-3) }
.lh-mod.is-act { border-color: color-mix(in srgb, var(--acc) 45%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--acc) 14%, var(--panel-2)), var(--panel)) }
.lh-mod.is-act .lh-mt b { color: var(--acc-ink) }
.lh-mod::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--acc), transparent); transition: transform .45s var(--ease-bounce) }
.lh-mod.is-act::after { transform: scaleX(1) }
.lh-lk { position: absolute; top: 10px; right: 11px; color: var(--muted-3); opacity: .7 }
.lh-lk .sw-ico { width: 13px; height: 13px }

@media (max-width: 1180px) { .lh-hero { grid-template-columns: minmax(0, 1fr) } .lh-hmap { display: none } .lh-mrow { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
/* Узкая лента: без значка модуля название помещается целиком. */
@media (max-width: 1360px) { .lh-mi { display: none } .lh-mod { padding: 12px 12px } }
/* Невысокое окно (у владельца 1223×683): превью карты уходит, герой — в
   одну колонку, и лента модулей остаётся на экране. */
@media (max-height: 760px) and (min-width: 981px) {
  .lh-hero { grid-template-columns: minmax(0, 1fr); min-height: 0 }
  .lh-hmap { display: none }
  .lh-body { margin-top: 12px }
  .lh-title { margin-bottom: 6px }
  .lh-chips { margin-top: 10px }
  .lh-next, .lh-act { margin-top: 10px }
}
@media (max-width: 980px) {
  .lh { min-height: 0 }
  .lh-body { grid-template-columns: minmax(0, 1fr) }
  .lh-side { display: none }
  .lh-hero { min-height: 0 }
}
@media (max-width: 640px) {
  .lh-top { flex-wrap: wrap; align-items: center }
  .lh-mrow { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .lh-act { flex-direction: column }
}
@media (max-height: 640px) and (min-width: 981px) { .lh-mods { display: none } }

/* ── Карта модуля (прототипы владельца course-map M1 и M2, 26.09.2026) ── */
.cm { display: flex; flex-direction: column; min-height: calc(var(--vh, 100dvh) - 118px) }
.cm-top { flex: none; display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.cm-back { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--text); font: 600 13.5px var(--font-ui) }
.cm-back .sw-ico { width: 16px; height: 16px }
@media (hover: hover) { .cm-back:hover { border-color: var(--line-2) } }
.cm-chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 55%, transparent) }
.cm-chip b { font: 700 10px var(--font-mono); letter-spacing: .14em; color: var(--brass) }
.cm-chip span { font-size: 13px; font-weight: 600 }
.cm-chip u { padding-left: 9px; border-left: 1px solid var(--line); text-decoration: none; font: 600 9.5px var(--font-mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-3) }
.cm-stat { display: flex; align-items: center; gap: 8px; font: 700 11px var(--font-mono); color: var(--muted) }
.cm-stat i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2) }
.cm-stat i.is-d { background: var(--acc); box-shadow: 0 0 8px color-mix(in srgb, var(--acc) 45%, transparent) }
.cm-stat i.is-c { background: var(--acc2); box-shadow: 0 0 10px color-mix(in srgb, var(--acc2) 50%, transparent) }
.cm-stat span { margin-left: 6px }
.cm-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 302px minmax(0, 1fr); gap: 18px; margin-top: 16px }
.cm-aside { min-height: 0; display: flex; flex-direction: column; gap: 12px }
.cm-card { position: relative; overflow: hidden; flex: none; padding: 20px; border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(168deg, var(--panel-2), var(--panel)); box-shadow: var(--shadow-card, 0 24px 60px rgba(0, 0, 0, .32)) }
.cm-card::after { content: ''; position: absolute; top: -90px; right: -80px; width: 220px; height: 220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc) 17%, transparent), transparent 70%) }
.cm-mico { position: relative; width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 19px;
  border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); background: linear-gradient(145deg, color-mix(in srgb, var(--acc2) 20%, transparent), color-mix(in srgb, var(--acc) 10%, transparent)); color: var(--acc-ink) }
.cm-mico-svg { width: 28px; height: 28px; stroke-width: 2.2 }
.cm-card h3 { margin: 0 0 8px; font-size: 23px; font-weight: 700; letter-spacing: -.03em; line-height: 1.12 }
.cm-card > p { margin: 0; font-size: 12.8px; line-height: 1.6; color: var(--muted) }
.cm-prg { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 18px }
.cm-ring { position: relative; flex: none; width: 66px; height: 66px }
.cm-ring svg { width: 66px; height: 66px; transform: rotate(-90deg) }
.cm-ring-bg { fill: none; stroke: var(--panel-3); stroke-width: 6 }
.cm-ring-arc { fill: none; stroke: url(#cmPg); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease-bounce) }
.cm-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 16px var(--font-mono); letter-spacing: -.04em; color: var(--acc-ink) }
.cm-pt b { display: block; font-size: 13.5px; font-weight: 700 }
.cm-pt span { display: block; margin-top: 3px; font: 600 10px var(--font-mono); letter-spacing: .11em; text-transform: uppercase; color: var(--muted-3) }
.cm-mrow { display: flex; gap: 8px; margin-top: 16px }
.cm-m { flex: 1; padding: 9px 11px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 45%, transparent) }
.cm-m b { display: block; font: 700 15px var(--font-mono); letter-spacing: -.03em }
.cm-m span { display: block; margin-top: 2px; font: 600 9px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3) }
.cm-doneflag { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 11px 13px; border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 16%, transparent), color-mix(in srgb, var(--acc) 4%, transparent)) }
.cm-dfi { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 11px; color: var(--accd); background: linear-gradient(145deg, var(--acc2), var(--acc)) }
.cm-dfi .sw-ico { width: 16px; height: 16px; stroke-width: 3 }
.cm-doneflag b { display: block; font-size: 13px; font-weight: 700; color: var(--acc-ink) }
.cm-doneflag div > span { display: block; margin-top: 2px; font: 600 10px var(--font-mono); letter-spacing: .06em; color: var(--muted-3) }
.cm-go, .cm-again { width: 100%; margin-top: 16px; gap: 9px; padding-left: 14px; padding-right: 14px; font-size: 14px }
.cm-again { margin-top: 8px }
.cm-go:not(:disabled) { background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd); border-color: transparent }
.cm-go .sw-ico { width: 17px; height: 17px }
.cm-tip { flex: none; padding: 13px 14px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(165deg, var(--panel-2), var(--panel)) }
.cm-tip > span { font: 700 9px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3) }
.cm-tip p { margin: 7px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted) }
.cm-tip p b { color: var(--text); font-weight: 600 }
.sw-paid { color: var(--brass) }

/* Поле карты: сетка точек, тёплое пятно у финиша, сама карта — SVG. */
.cm-mapw { position: relative; min-height: 420px; overflow: hidden; border-radius: 30px; border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--panel-2), var(--panel)) }
.cm-mapw::before { content: ''; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 35%, transparent 88%); mask-image: radial-gradient(120% 100% at 50% 40%, #000 35%, transparent 88%) }
.cm-mapw::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 88% 12%, color-mix(in srgb, var(--brass) 9%, transparent), transparent 62%),
    radial-gradient(70% 60% at 8% 92%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 64%) }
.cm-map { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100% }
.cm-mapw.is-tall { min-height: 0 }
.cm-mapw.is-tall .cm-map { position: relative; inset: auto }
.cm-iso { fill: none; stroke: var(--acc2); stroke-width: 1.4 }
.cm-rest-o { fill: none; stroke: var(--line-2); stroke-linecap: round }
.cm-rest-i { fill: none; stroke: var(--bg); stroke-linecap: round }
.cm-rest-d { fill: none; stroke: var(--line-2); stroke-linecap: round }
.cm-done-o { fill: none; stroke: var(--panel-3); stroke-linecap: round }
.cm-done { fill: none; stroke-linecap: round }
.cm-fin { fill: none; stroke: var(--brass); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85 }
.cm-fin.is-all { stroke: var(--acc-ink) }
.cm-fin-r { fill: none; stroke: color-mix(in srgb, var(--brass) 22%, transparent); stroke-width: 1; stroke-dasharray: 2 8 }
.cm-fin-r.is-all { stroke: color-mix(in srgb, var(--acc) 26%, transparent) }
.cm-fin-b { fill: color-mix(in srgb, var(--brass) 12%, transparent); stroke: color-mix(in srgb, var(--brass) 45%, transparent); stroke-width: 1 }
.cm-fin-b.is-all { fill: color-mix(in srgb, var(--acc) 14%, transparent); stroke: color-mix(in srgb, var(--acc) 50%, transparent) }
.cm-fin-t { font: 700 9.5px var(--font-mono); letter-spacing: .16em; fill: color-mix(in srgb, var(--brass) 85%, var(--text)) }
.cm-fin-t.is-mini { font-size: 8.5px; letter-spacing: .14em }
.cm-fin-t.is-all { fill: var(--acc-ink) }
.cm-fin-k { fill: none; stroke: var(--acc-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.cm-fin-l { stroke: color-mix(in srgb, var(--brass) 50%, transparent); stroke-width: 1.6; stroke-linecap: round }
.cm-fin-l.is-all { stroke: color-mix(in srgb, var(--acc) 50%, transparent) }
.cm-halo { fill: none; stroke: var(--acc); stroke-opacity: .35; stroke-width: 1.5 }
.cm-nd { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent }
.cm-shadow { fill: url(#cmShadow); opacity: .55 }
.cm-hit { fill: transparent }
.cm-focus { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 5 5; opacity: 0; transition: opacity .18s }
.cm-nd:focus-visible .cm-focus { opacity: 1 }
.cm-sel { fill: none; stroke: color-mix(in srgb, var(--acc2) 85%, transparent); stroke-width: 2; opacity: 0; transition: opacity .25s }
.cm-nd.is-sel .cm-sel { opacity: 1 }
@media (hover: hover) { .cm-nd:hover .cm-plate { filter: brightness(1.12) } }
.cm-pulse { fill: none; stroke: color-mix(in srgb, var(--acc) 55%, transparent); stroke-width: 2; animation: cm-pulse 2.6s ease-out infinite }
@keyframes cm-pulse { 0% { r: 42; opacity: .55 } 70% { r: 66; opacity: 0 } 100% { opacity: 0 } }
.cm-plate { stroke-width: 1.2 }
.cm-plate:is(.is-done, .is-now) { stroke: color-mix(in srgb, var(--text) 14%, transparent) }
.cm-plate:is(.is-next, .is-plain, .is-soon) { fill: var(--panel-2); stroke-width: 2 }
.cm-plate.is-next { stroke: color-mix(in srgb, var(--acc) 55%, transparent); stroke-dasharray: 7 5 }
.cm-plate.is-plain { stroke: var(--line-2) }
.cm-plate.is-soon { stroke: var(--line) }
.lh-mini .cm-plate { stroke-width: 1.6 }
.lh-mini .cm-plate.is-next { stroke-dasharray: 5 4 }
.cm-ico-d { fill: none; stroke: var(--accd); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round }
.cm-ico-d.is-big { stroke-width: 3.4 }
.cm-ico-n { fill: var(--accd) }
.cm-num { font: 700 11px var(--font-mono); fill: var(--muted-3) }
.cm-num.is-big { font-size: 15px }
.cm-num.is-next { fill: var(--acc-ink) }
.cm-num.is-soon { fill: color-mix(in srgb, var(--muted-3) 70%, transparent) }
.cm-lock { fill: none; stroke: var(--muted-3); stroke-width: 2.4; stroke-linecap: round }
.cm-ndn { font: 700 10px var(--font-mono); letter-spacing: .14em; fill: var(--muted-3) }
.cm-ndt { font: 700 13px var(--font-ui); fill: var(--text) }
.cm-nd.is-soon .cm-ndt { fill: var(--muted-3) }
.cm-tv-o { fill: var(--bg); opacity: .72 }
.cm-tv-p { fill: none; stroke: var(--acc2); stroke-width: 2; opacity: .55; animation: cm-tp 1.7s ease-out infinite }
@keyframes cm-tp { 0% { r: 13; opacity: .75 } 70% { r: 26; opacity: 0 } 100% { opacity: 0 } }
.cm-tv-r { fill: var(--bg); stroke: var(--acc2); stroke-width: 2.6 }
.cm-tv-c { fill: #FFFFFF }
#cmTrav { transition: opacity .25s }
@media (prefers-reduced-motion: reduce) { .cm-pulse, .cm-tv-p { animation: none } }

/* Панель курса: всплывает снизу поверх карты. */
.cm-sheet { position: absolute; left: 50%; bottom: 16px; z-index: 6; width: min(560px, calc(100% - 32px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; padding: 13px 14px 13px 16px; border-radius: 24px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--panel-2) 97%, transparent), color-mix(in srgb, var(--panel) 98%, transparent));
  border: 1px solid var(--line-2); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); animation: cm-sheet .42s var(--ease-bounce) }
.cm-sheet[hidden] { display: none }
@keyframes cm-sheet { from { opacity: 0; transform: translate(-50%, 40px) } to { opacity: 1; transform: translate(-50%, 0) } }
.cm-sn { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 16px; font: 700 13px var(--font-mono); letter-spacing: -.02em;
  background: var(--panel-3); color: var(--muted-3); border: 1px solid var(--line) }
.cm-sheet.is-done .cm-sn { background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc-ink); border-color: color-mix(in srgb, var(--acc) 30%, transparent) }
.cm-sheet.is-now .cm-sn { background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd); border-color: transparent }
.cm-sheet.is-next .cm-sn { background: color-mix(in srgb, var(--acc) 12%, transparent); color: var(--acc-ink); border-color: color-mix(in srgb, var(--acc) 30%, transparent) }
.cm-st { flex: 1; min-width: 0 }
.cm-sk { font: 700 9px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-3) }
.cm-sv { margin-top: 3px; overflow: hidden; font-size: 15px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; text-overflow: ellipsis }
.cm-sm { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font: 600 11px var(--font-mono); color: var(--muted-3) }
.cm-sgo { flex: none }
.cm-sgo.btn--solid { background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd); border-color: transparent }
.cm-sx { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 11px; cursor: pointer;
  background: color-mix(in srgb, var(--bg) 60%, transparent); border: 1px solid var(--line); color: var(--muted); transition: transform .2s var(--ease-bounce) }
.cm-sx .sw-ico { width: 15px; height: 15px }
@media (hover: hover) { .cm-sx:hover { color: var(--text); border-color: var(--line-2); transform: rotate(90deg) } }

@media (max-width: 1020px) {
  .cm-body { grid-template-columns: minmax(0, 1fr) }
  .cm-aside { display: none }
}
@media (max-width: 640px) {
  .cm { min-height: 0 }
  .cm-top { gap: 10px }
  .cm-stat { width: 100% }
  .cm-mapw { overflow: visible; border: 0; background: none }
  .cm-mapw::before, .cm-mapw::after { display: none }
  .cm-sheet { position: fixed; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap }
  .cm-sheet .cm-st { flex: 1 1 calc(100% - 110px) }
  .cm-sgo { flex: 1 1 100%; order: 3 }
}

/* ── Карточка курса ──────────────────────────────────────────────── */
/* Колонка высотой во всё поле: без align-content строки короткой
   карточки растягивались бы на эту высоту — плашка становилась
   пузырём. Содержимое стоит по центру, как у вопросов тренажёров. */
.co-card { display: grid; justify-items: center; align-content: center; text-align: center; gap: 0 }
.co-title { margin: 0 0 8px; font-size: 22px; line-height: 30px; font-weight: 600 }
.co-body { margin: 0 0 4px; max-width: 520px; font-size: 14.5px; line-height: 22px; color: var(--muted) }
.co-ask { margin: 18px 0 0; font-size: 17px; line-height: 25px; font-weight: 600 }
.co-visual, .co-ui { margin: 18px 0 2px; width: 100%; max-width: 480px; display: grid; gap: 12px; justify-items: center }
.co-audio { margin: 18px 0 2px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center }

/* Кнопка прослушивания: пока звучит — зелёная, как play в тренажёре. */
.co-play {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap-row);
  padding: 10px 18px; border-radius: var(--r-pill); cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text);
  font-family: inherit; font-size: 13.5px;
}
.co-play svg { display: block }
.co-play.on { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-accent) }
.co-play:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }

/* ── Визуалы ── */
.co-svg { display: block; width: 100%; height: auto }
.co-wave, .co-spec {
  display: grid; gap: 6px; justify-items: center; width: 100%; padding: 10px 12px;
  background: var(--stage); border: 1px solid var(--line); border-radius: var(--r-card);
  color: var(--muted-2); font-family: inherit; cursor: pointer;
}
.co-wave .t-num, .co-spec .t-num { display: inline-flex; align-items: center; gap: 6px; font-size: 11px }
.co-wave svg.icon, .co-spec svg.icon { color: var(--accent-ink) }
@media (hover: hover) { .co-wave:hover, .co-spec:hover { border-color: var(--line-2) } }
.co-wave:focus-visible, .co-spec:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
.co-wave-line { fill: none; stroke: var(--lime); stroke-width: 2 }
.co-bar { fill: var(--muted-3) }
.co-bar.is-first { fill: var(--accent-ink) }
.co-base { stroke: var(--line-2); stroke-width: 1 }
.co-svg--wall { max-width: 320px; background: var(--stage); border: 1px solid var(--line); border-radius: var(--r-card); padding: 6px }
.co-wall-brick { fill: var(--panel-3); stroke: var(--line-2) }
.co-wall-lbl { fill: var(--muted-3); font-family: var(--font-mono); font-size: 9px }

/* ── Интерактивы ── */
.co-sine { width: 100%; display: grid; gap: 10px; justify-items: center }
.co-hz { font-size: 30px; font-weight: 500; color: var(--accent-ink); font-variant-numeric: tabular-nums }
.co-sine .slider { width: 100% }
.co-sine-x { display: flex; justify-content: space-between; width: 100%; font-size: 11px; color: var(--muted-3) }

.co-bands { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 6px; width: 100% }
.co-band {
  display: grid; gap: 3px; padding: 12px 6px; border-radius: var(--r);
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; cursor: pointer; min-height: 62px;
}
.co-band b { font-size: 12.5px; font-weight: 600 }
.co-band .t-num { font-size: 10px; color: var(--muted-3) }
/* Пройденная зона помечена — видно, что осталось. */
.co-band.done { border-color: var(--line-2) }
.co-band.done b { color: var(--muted) }
.co-band.on { background: var(--accent-deep); border-color: var(--accent-deep) }
.co-band.on b, .co-band.on .t-num { color: var(--on-accent) }
.co-band:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
@media (max-width: 560px) { .co-bands { grid-template-columns: repeat(3, 1fr) } }
/* Середина, расколотая на половинки: они в зачёте и подсвечены, а сам
   раскол виден — половинки разъезжаются из одной плитки. */
.co-band.is-focus { border-color: var(--brass-edge) }
.co-band.is-focus b { color: var(--brass) }
.co-bands.is-split .co-band.is-half { animation: co-split 520ms var(--ease) both }
.co-bands.is-split .co-band.is-half + .co-band.is-half { animation-name: co-split-r }
@keyframes co-split { from { transform: translateX(50%); opacity: .4 } to { transform: none; opacity: 1 } }
@keyframes co-split-r { from { transform: translateX(-50%); opacity: .4 } to { transform: none; opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .co-bands.is-split .co-band.is-half { animation: none } }

/* ── Шесть зон: слово крупно, диапазон мелко ── */
.co-zab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100% }
.co-zt {
  display: grid; gap: 3px; align-content: start; padding: 11px 8px; border-radius: var(--r);
  background: var(--panel-2); border: 1px solid var(--line); text-align: center;
}
.co-zt b { font-size: 15px; font-weight: 600 }
.co-zt .t-num { font-size: 10px; color: var(--muted-3) }
.co-zt.on { border-color: var(--accent-edge-2) }
@media (max-width: 560px) { .co-zab { grid-template-columns: repeat(2, 1fr) } }

/* Переключатель «Ровно / В избытке», «До / После»: выбран — зелёная
   подложка, как у A/Б в тренажёре. */
.co-seg { display: flex; gap: 2px; padding: 2px; margin-top: 6px; border-radius: var(--r-pill);
  background: var(--panel); border: 1px solid var(--line) }
.co-seg button {
  flex: 1; min-height: 34px; padding: 6px 8px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--muted); font-family: inherit; font-size: 11.5px; cursor: pointer;
}
.co-seg button.on { background: var(--accent-deep); color: var(--on-accent) }
.co-seg button:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 1px }
.co-seg--wide { width: 100%; max-width: 360px }
.co-ui--wide { max-width: 620px }
.co-zt .co-seg button { white-space: nowrap; padding: 6px 4px }
/* На пальце — полная высота касания: 34 px в плитке мало для телефона. */
@media (pointer: coarse) { .co-zt .co-seg button { min-height: var(--tap-row) } }
.co-seg--wide button { min-height: var(--tap-row); font-size: 13px }

/* ── Слои ── */
.co-layers { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center }
.co-layer {
  min-height: var(--tap-row); padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text);
  font-family: inherit; font-size: 13px; cursor: pointer;
}
.co-layer.on { background: var(--accent-wash); border-color: var(--accent-edge); color: var(--accent-ink) }
.co-layer:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
.co-ui > .co-play { margin-top: 4px }

/* ── Точка эквалайзера ── */
.co-eq {
  width: 100%; padding: 6px 6px 0; border-radius: var(--r-card);
  background: var(--stage); border: 1px solid var(--line);
}
/* Тянуть можно только там, где точка тянется: иначе график на телефоне
   отнимал бы у страницы прокрутку. */
.co-eq.is-drag { cursor: crosshair; touch-action: none }
.co-eq:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
.co-eq-grid { stroke: var(--line); stroke-width: 1 }
.co-eq-grid.is-zero { stroke: var(--line-2) }
.co-eq-area { fill: var(--accent-wash) }
.co-eq-line { fill: none; stroke: var(--accent-ink); stroke-width: 2 }
.co-eq-dot { fill: var(--accent-ink); stroke: var(--stage); stroke-width: 2 }
.co-eq.is-off .co-eq-area, .co-eq.is-off .co-eq-line, .co-eq.is-off .co-eq-dot { opacity: .3 }
.co-eq-read { min-height: 18px; font-size: 13px; color: var(--muted) }
.co-eq-read b { color: var(--accent-ink); font-weight: 600 }
.co-ui > .slider { width: 100% }
.co-arrow { stroke: var(--text); stroke-width: 1.3 }

/* ── Резонанс (прототип 1.4): рельеф звука, игла латуни, свип ── */
.co-res-line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3 }
.co-res { width: 100%; padding: 12px 14px 8px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent); overflow: hidden }
.co-res .co-svg { display: block; width: 100%; height: auto; max-height: clamp(140px, 24vh, 220px) }
.co-r-base { stroke: var(--line-2); stroke-width: 1.4 }
.co-r-area { fill: url(#coRf) }
.co-r-line { fill: none; stroke: url(#coRl); stroke-width: 2.6; stroke-linejoin: round }
.co-r-needle path { fill: url(#coRb) }
.co-r-needle line { stroke: url(#coRbL); stroke-width: 2; stroke-linecap: round }
.co-r-needle.is-dim { opacity: .85 }
.co-r-glow { fill: url(#coRg); opacity: .5 }
.co-r-hz { font: 700 12.5px var(--font-mono); fill: var(--text) }
.co-r-hz.is-res { font-size: 12px; fill: var(--brass) }
.co-r-cap { font: 700 9.5px var(--font-mono); letter-spacing: .12em; fill: var(--muted-3) }
/* Спектр гаснет, игла звенит дольше. */
.co-r-dec { animation: co-r-dec 3.4s cubic-bezier(.2, .7, .3, 1) infinite }
.co-r-ndl { animation: co-r-ndl 3.4s cubic-bezier(.2, .7, .3, 1) infinite }
.co-r-glow { animation: co-r-ngl 3.4s ease-in-out infinite }
.co-r-nlb { animation: co-r-nlb 3.4s ease-in-out infinite }
@keyframes co-r-dec { 0%, 6% { opacity: 1 } 42% { opacity: .26 } 72% { opacity: .12 } 100% { opacity: .1 } }
@keyframes co-r-ndl { 0%, 6% { opacity: 1 } 62% { opacity: .95 } 86% { opacity: .5 } 100% { opacity: .3 } }
@keyframes co-r-ngl { 0%, 62% { opacity: .55 } 86% { opacity: .22 } 100% { opacity: .12 } }
@keyframes co-r-nlb { 0%, 72% { opacity: 1 } 100% { opacity: .45 } }
/* Свип: колокол едет, на игле вспышка, потом он переворачивается в вырез. */
.co-r-sweeper path { fill: url(#coRs); stroke: var(--acc2); stroke-width: 2.2; stroke-linejoin: round }
.co-r-sweeper { transform-box: fill-box; transform-origin: bottom; animation: co-r-swp 5.4s cubic-bezier(.4, 0, .5, 1) infinite }
.co-r-swl line { stroke: color-mix(in srgb, var(--acc2) 40%, transparent); stroke-width: 1; stroke-dasharray: 3 6 }
.co-r-swl { animation: co-r-swl 5.4s cubic-bezier(.4, 0, .5, 1) infinite }
.co-r-flash circle { fill: url(#coRg) }
.co-r-flash { transform-box: fill-box; transform-origin: center; opacity: 0; animation: co-r-flh 5.4s cubic-bezier(.4, 0, .5, 1) infinite }
@keyframes co-r-swp { 0% { transform: translateX(0) scaleY(1); opacity: 0 } 4% { opacity: 1 } 46% { transform: translateX(var(--dx)) scaleY(1) }
  54% { transform: translateX(var(--dx)) scaleY(1.16) } 62% { transform: translateX(var(--dx)) scaleY(1) } 72% { transform: translateX(var(--dx)) scaleY(.04) }
  80%, 93% { transform: translateX(var(--dx)) scaleY(-1); opacity: 1 } 100% { transform: translateX(var(--dx)) scaleY(-1); opacity: 0 } }
@keyframes co-r-swl { 0% { transform: translateX(0) } 46%, 100% { transform: translateX(var(--dx)) } }
@keyframes co-r-flh { 0%, 46% { opacity: 0; transform: scale(.4) } 54% { opacity: .9; transform: scale(1) } 66% { opacity: 0; transform: scale(1.5) } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
  .co-r-dec, .co-r-ndl, .co-r-glow, .co-r-nlb, .co-r-sweeper, .co-r-swl, .co-r-flash { animation: none }
  .co-r-dec { opacity: .3 }
  .co-r-sweeper { transform: translateX(var(--dx)) scaleY(-1) }
  .co-r-swl { transform: translateX(var(--dx)) }
}
/* Ловушка: настоящий подъём — цветом модуля и с галочкой, ложные — пунктиром. */
.co-r-cand { fill: color-mix(in srgb, var(--muted) 10%, transparent); stroke: color-mix(in srgb, var(--muted) 55%, transparent); stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linejoin: round }
.co-r-cand.is-real { fill: color-mix(in srgb, var(--acc) 16%, transparent); stroke: var(--acc); stroke-width: 2.2; stroke-dasharray: none }
.co-r-mk { fill: none; stroke: color-mix(in srgb, var(--muted) 55%, transparent); stroke-width: 1.6; stroke-dasharray: 4 4 }
.co-r-mk.is-real { stroke: var(--acc); stroke-width: 2.4; stroke-dasharray: none }
.co-r-tick { fill: none; stroke: var(--acc2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round }
.co-r-x { stroke: var(--muted-3); stroke-width: 2; stroke-linecap: round }
.co-r-lab { font: 600 11px var(--font-ui); fill: var(--muted-3) }
.co-r-lab.is-real { font-weight: 700; fill: var(--text) }
/* До / После: игла — и узкая яма на её месте. */
.co-r-guide { stroke: color-mix(in srgb, var(--text) 12%, transparent); stroke-width: 1; stroke-dasharray: 3 6 }
.co-r-ghost { fill: none; stroke: color-mix(in srgb, var(--brass) 35%, transparent); stroke-width: 1.4; stroke-dasharray: 4 4 }
.co-r-cut { fill: none; stroke: var(--acc); stroke-width: 2.8; stroke-linejoin: round }
.co-r-hole { fill: color-mix(in srgb, var(--bg) 80%, var(--panel)) }
.co-r-depth { stroke: color-mix(in srgb, var(--acc) 50%, transparent); stroke-width: 1.4; stroke-dasharray: 3 4 }
.co-r-db { font: 700 11.5px var(--font-mono); fill: var(--acc-ink) }
.co-r-gone { font: 700 12px var(--font-mono); fill: var(--muted-3) }
.co-abpic { width: 100%; margin-bottom: 12px }
/* Свип-искатель: отметки «ты» и «резонанс» над слайдером. */
/* Отметки под дорожкой, а не на ней: бегунок их закрывал бы. */
.co-sw-track { position: relative; width: 100%; padding-bottom: 26px }
.co-sw-mark { position: absolute; bottom: 12px; width: 2px; height: 10px; margin-left: -1px; pointer-events: none; border-radius: 1px }
.co-sw-mark::after { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--font-mono); font-style: normal; font-size: 10px }
.co-sw-mark.is-you { background: var(--text) }
.co-sw-mark.is-you::after { content: 'ты'; color: var(--text) }
.co-sw-mark.is-res { background: var(--acc2, var(--accent-ink)); box-shadow: 0 0 8px color-mix(in srgb, var(--acc2, var(--accent-ink)) 50%, transparent) }
.co-sw-mark.is-res::after { content: attr(data-hz) ' Гц'; color: var(--acc2-ink, var(--accent-ink)) }
/* «Здесь!» — пилюля с обводкой цвета модуля (прототип 1.4). */
.co-here { justify-self: center; padding: 12px 30px; border-radius: var(--r-pill); font: 700 14px var(--font-ui); cursor: pointer;
  color: var(--acc2-ink, var(--accent-ink)); background: color-mix(in srgb, var(--acc, var(--accent)) 10%, transparent); border: 1px solid color-mix(in srgb, var(--acc, var(--accent)) 45%, transparent) }
@media (hover: hover) { .co-here:hover { background: color-mix(in srgb, var(--acc, var(--accent)) 18%, transparent) } }
.co-here:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }

/* ── Маскировка (прототип 1.5): бочка — цветом модуля, бас — голубой ── */
.co-lbl.is-mark { fill: var(--accent-ink) }
.co-res-line.is-mark { stroke: var(--accent-edge-2) }
#v-quiz { --co-bass: #8FD2E6; --co-bass-2: #4A9FBF; --co-bass-ink: #8FD2E6 }
:root[data-theme="light"] #v-quiz { --co-bass: #3E9EC2; --co-bass-2: #2A7F9F; --co-bass-ink: #1E6A86 }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]):not([data-theme="light"]) #v-quiz { --co-bass: #3E9EC2; --co-bass-2: #2A7F9F; --co-bass-ink: #1E6A86 } }
.co-mask { width: 100%; padding: 12px 14px 8px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent);
  overflow: hidden; user-select: none; -webkit-user-select: none }
.co-mask .co-svg { display: block; width: 100%; height: auto; max-height: clamp(150px, 25vh, 230px) }
.co-leg { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; flex-wrap: wrap }
.co-leg span { display: inline-flex; align-items: center; gap: 6px; font: 700 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3) }
.co-leg span.on { color: var(--text) }
.co-leg i { display: block; width: 10px; height: 10px; border-radius: 3px }
.co-leg i.k { background: linear-gradient(145deg, var(--acc2), var(--acc)) }
.co-leg i.b { background: linear-gradient(145deg, var(--co-bass), var(--co-bass-2)) }
.co-leg i.o { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--co-bass) 70%, var(--muted)) 0 2px, transparent 2px 5px); border: 1px solid color-mix(in srgb, var(--co-bass) 50%, transparent) }
.co-lb-kf { fill: url(#coLbKf) }
.co-lb-kl { fill: none; stroke: url(#coLbKl); stroke-width: 2.6; stroke-linejoin: round }
.co-lb-bf { fill: url(#coLbBf) }
.co-lb-bl { fill: none; stroke: var(--co-bass); stroke-width: 2.4; stroke-linejoin: round }
.co-sp-hatch { fill: url(#coLbH); opacity: .75 }
.co-lb-hl { stroke: var(--co-bass); stroke-width: 1.6; opacity: .55 }
.co-lb-t { font: 700 11.5px var(--font-mono) }
.co-lb-t.is-kick { fill: var(--acc2-ink) }
.co-lb-t.is-bass { fill: var(--co-bass-ink) }
.co-lb-shadow { fill: none; stroke: color-mix(in srgb, var(--co-bass) 60%, transparent); stroke-width: 1.6; stroke-dasharray: 6 5 }
.co-lb-shl { font: 700 10.5px var(--font-mono); letter-spacing: .06em; fill: var(--co-bass-ink) }
.co-lb-guide { stroke: color-mix(in srgb, var(--acc2) 20%, transparent); stroke-width: 1; stroke-dasharray: 3 6 }
.co-lb-cut { font: 700 9.5px var(--font-mono); letter-spacing: .06em; fill: color-mix(in srgb, var(--co-bass-ink) 60%, var(--muted)) }
/* Бас появляется снизу, бочка под ним бледнеет, штриховка — следом. */
.co-mask .co-lb-bass { opacity: 0; transform-box: fill-box; transform-origin: bottom; transform: scaleY(.4) }
.co-mask.is-bass .co-lb-bass { opacity: 1; transform: scaleY(1); transition: opacity .5s ease, transform .5s ease }
.co-mask .co-lb-kick { transition: opacity .5s ease }
.co-mask.is-bass .co-lb-kick { opacity: .42 }
.co-mask .co-lb-hatch { opacity: 0; transition: opacity .5s ease .1s }
.co-mask.is-bass .co-lb-hatch { opacity: 1 }
.co-mask .co-lb-klab { transition: opacity .4s ease }
.co-mask.is-bass .co-lb-klab { opacity: .45 }
@media (prefers-reduced-motion: reduce) { .co-mask :is(.co-lb-bass, .co-lb-kick, .co-lb-hatch, .co-lb-klab) { transition: none } }

/* Спектры и подписи на картинках курса. */
.co-kick { fill: var(--accent-wash); stroke: var(--accent-ink); stroke-width: 1.6 }
.co-lbl { fill: var(--muted); font-family: var(--font-mono); font-size: 9px }

.co-harm { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center }
.co-part {
  display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r);
  background: var(--panel-2); border: 1px solid var(--line); color: var(--muted-2);
  font-family: inherit; cursor: pointer; min-height: var(--tap-row);
}
.co-part b { font-size: 13px; font-weight: 600 }
.co-part .t-num { font-size: 10px }
.co-part.on { background: var(--accent-wash); border-color: var(--accent-edge); color: var(--accent-ink) }
.co-part.on b { color: var(--accent-ink) }
/* Основной тон не кнопка: он не выключается, и нажимать его нечего. */
.co-part.is-base { cursor: default }
.co-title:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 4px; border-radius: 4px }
.co-harm + .co-play { margin-top: 12px }
.co-part:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }

/* ── Вопрос ── */
.co-opts { display: grid; gap: 8px; width: 100%; max-width: 520px; margin-top: 14px }
.co-opt {
  padding: 14px 16px; border-radius: var(--r-card); text-align: left;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 14px; line-height: 20px; min-height: var(--tap-row); cursor: pointer;
  transition: border-color var(--t-press) var(--ease), background var(--t-press) var(--ease);
}
@media (hover: hover) { .co-opt:not(:disabled):hover { border-color: var(--line-2) } }
.co-opt:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
/* Выбранный, но не проверенный — латунный: значение есть, итога ещё нет. */
.co-opt.on { border-color: var(--brass-edge); background: var(--brass-wash); color: var(--brass) }
.co-opt.ok { border-color: var(--accent-edge-2); background: var(--accent-wash); color: var(--accent-ink) }
.co-opt.bad { border-color: var(--bad-edge-2); background: var(--bad-wash); color: var(--bad-ink) }
.co-opt:disabled { cursor: default }

.co-fb { display: none; margin-top: 14px; max-width: 520px; font-size: 13.5px; line-height: 20px; color: var(--muted) }
.co-fb.show { display: block }
.co-fb.ok { color: var(--accent-ink) }
.co-fb.bad { color: var(--text) }

/* Особая плашка: там, где риск выше обычного, — латунью. */
.co-safe.is-special { background: var(--brass-wash); border-color: var(--brass-edge); color: var(--text) }

/* Плашка о громкости: там, где звучит звук, она видна всегда. */
.co-safe {
  display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 9px 13px;
  border-radius: var(--r-pill); background: var(--panel-2); border: 1px solid var(--line);
  font-size: 11.5px; line-height: 16px; color: var(--muted-3); text-align: left;
}
.co-safe svg { flex: none; display: block }

.co-wall-note { color: var(--muted-3); font-size: 13px }

/* ── Предложение курса из тренажёра ── */
.tx-hint { display: none }
.tx-hint.show {
  display: flex; align-items: center; gap: 10px; margin: 8px 8px 0; padding: 8px 8px 8px 14px;
  border-radius: var(--r-pill); background: var(--brass-wash); border: 1px solid var(--brass-edge);
}
.tx-hint span { flex: 1; min-width: 0; font-size: 12.5px; line-height: 17px; color: var(--text) }
.tx-hint .btn { flex: none; min-height: 36px; padding: 8px 14px; border-radius: var(--r-pill); font-size: 12.5px }
@media (max-width: 560px) {
  .tx-hint.show { flex-wrap: wrap; border-radius: var(--r-card) }
  .tx-hint .btn { flex: 1 1 auto }
}

@media (prefers-reduced-motion: reduce) {
  .co-opt, .co-play { transition: none }
}

/* ── M2 «Динамика» (src/screen-courses-m2.js) ─────────────────────── */
.co-cut, .co-notes { width: 100% }

/* Слайдер с подписью слева и числом справа: «Атака», «Тело», «Глубина». */
.co-sl { display: grid; grid-template-columns: 70px 1fr 64px; align-items: center; gap: 10px; width: 100%; font-size: 13px; color: var(--muted) }
.co-sl .slider { width: 100% }
.co-sl output { text-align: right; color: var(--accent-ink) }

/* Пик и LUFS двух звуков (2.1/5): карточки с кнопкой сверху, полосы
   цвета модуля, число справа (прототип 2.1). */
.co-pl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100% }
.co-pl-t { display: grid; gap: 7px; padding: 14px; border-radius: 24px; border: 1px solid var(--line); justify-items: stretch;
  background: linear-gradient(165deg, color-mix(in srgb, var(--panel-2) 80%, transparent), color-mix(in srgb, var(--bg) 70%, transparent)) }
.co-pl-t:has(.co-play.on) { border-color: color-mix(in srgb, var(--acc, var(--accent)) 45%, transparent) }
.co-pl-t .co-play { justify-self: stretch; justify-content: center; margin-bottom: 5px }
.co-pl-m { display: flex; align-items: center; gap: 9px }
.co-pl-m > span.t-num { flex: none; width: 34px; font: 600 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-3) }
.co-pl-bar { flex: 1; height: 7px; border-radius: 99px; background: var(--panel-2); overflow: hidden }
.co-pl-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--acc, var(--accent)), var(--acc2, var(--accent))); transition: width .4s var(--ease) }
.co-pl-m b { flex: none; width: 74px; font: 700 11px var(--font-mono); color: var(--text); text-align: right }
.co-pl-note { margin-top: 2px; font: 600 10px var(--font-mono); letter-spacing: .06em; color: var(--muted-3); text-align: center }
@media (max-width: 700px) { .co-pl { grid-template-columns: 1fr } }

/* Три измерителя (2.1/6): трубки растут вверх (прототип 2.1). */
.co-meters { display: flex; justify-content: center; gap: clamp(18px, 4vw, 40px); width: 100%; padding: 20px 14px 14px; border-radius: 24px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, transparent) }
.co-mt { display: flex; flex-direction: column; align-items: center; gap: 8px }
.co-mt-bar { width: 26px; height: clamp(92px, 15vh, 132px); border-radius: 9px; background: var(--panel-2); border: 1px solid var(--line); display: flex; align-items: flex-end; overflow: hidden }
.co-mt-bar i { display: block; width: 100%; height: 0; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, var(--acc2, var(--accent)), var(--acc, var(--accent))) }
.co-mt b { font: 700 14px var(--font-mono); letter-spacing: -.02em; color: var(--text); min-width: 3ch; text-align: center }
.co-mt > span.t-num { font: 600 9.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3) }

/* Пик-фактор (2.2/6–7): две волны рядом. */
.co-crest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100% }
.co-crest-svg { width: 100% }

/* Ручка громкости и полоса у уха (2.1/8), по прототипу. */
.co-knobs { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: clamp(14px, 3vw, 30px); align-items: center; justify-items: center; padding: 4px 2px }
.co-kn2 { text-align: center }
.co-kn2 svg { display: block; width: clamp(58px, 9vh, 76px); height: clamp(58px, 9vh, 76px); margin: 0 auto 9px }
.co-kn2 b { display: block; font-size: 12.5px; font-weight: 700 }
.co-kn2 span { display: block; margin-top: 3px; font: 600 10px var(--font-mono); letter-spacing: .04em; color: var(--muted-3) }
.co-kn-tick { stroke: var(--line-2); stroke-width: 1.4; stroke-linecap: round }
.co-kn-body { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.6 }
.co-kn-in { fill: color-mix(in srgb, var(--bg) 55%, transparent) }
.co-kn-arm { stroke: var(--text); stroke-width: 2.8; stroke-linecap: round }
.co-kn-arm.is-fixed { stroke: var(--muted) }
.co-kn-dot { fill: var(--acc2, var(--accent)) }
.co-kn-hub { fill: var(--line-2) }
.co-kn-rot { transform-box: view-box; transform-origin: 40px 40px; animation: co-knob2 4.2s cubic-bezier(.45, 0, .55, 1) infinite }
@keyframes co-knob2 { 0%, 100% { transform: rotate(-46deg) } 50% { transform: rotate(52deg) } }
.co-earbar { width: 100% }
.co-earcap { margin-bottom: 9px; font-size: 12.5px; font-weight: 700; text-align: center }
.co-earline { position: relative; height: 16px; border-radius: 99px; background: linear-gradient(90deg, var(--acc, var(--accent)), var(--acc2, var(--accent)) 38%, var(--brass) 72%, var(--bad)) }
.co-earline i { position: absolute; top: -4px; left: 12%; width: 4px; height: 24px; border-radius: 2px; background: var(--text);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bg) 70%, transparent); animation: co-earm 4.2s cubic-bezier(.45, 0, .55, 1) infinite }
@keyframes co-earm { 0%, 100% { left: 12% } 50% { left: 88% } }
.co-earlbl { display: flex; justify-content: space-between; margin-top: 7px; font: 600 10px var(--font-mono); letter-spacing: .06em; color: var(--muted-3) }
.co-earlbl s { text-decoration: none; color: var(--bad-ink) }
@media (max-width: 700px) { .co-knobs { grid-template-columns: 1fr 1fr } .co-earbar { grid-column: 1 / -1 } }
@media (prefers-reduced-motion: reduce) { .co-kn-rot, .co-earline i { animation: none } .co-earline i { left: 70% } }
/* Параметры вариантов — только после ответа (2.4/8). */
.co-fb-note { display: block; margin-top: 8px; font-size: 12px; color: var(--muted-2) }

/* ── Прохождение курса по прототипам уроков (lesson-11 … lesson-25, 28.09.2026) ──
   Шапка: крестик, номер и название урока, прогресс сегментами, счётчик.
   Шаг — лист по центру: заголовок слева, вводка, содержимое, отклик,
   плашка о громкости. Кнопки — под листом. Исход — рамкой листа и
   вспышкой от нижней кромки. Цвет — модуля (--acc, как на карте). */
/* --acc2-ink — светлый акцент в тексте: на белом салатовый не читается,
   в светлой теме он берёт тёмный тон модуля. */
#v-quiz { --acc: #1DB954; --acc2: #C8E972; --accd: #052A12; --acc-ink: var(--acc); --acc2-ink: var(--acc2) }
:root[data-theme="light"] #v-quiz { --acc-ink: color-mix(in srgb, var(--acc) 50%, #06140C); --acc2-ink: var(--acc-ink) }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]):not([data-theme="light"]) #v-quiz { --acc-ink: color-mix(in srgb, var(--acc) 50%, #06140C); --acc2-ink: var(--acc-ink) } }
#v-quiz > :not(.qz-amb):not(.qz-glow) { position: relative; z-index: 1 }
.qz-amb { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none }
.qz-amb i { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .3; transition: background .6s }
.qz-amb i:nth-child(1) { width: 760px; height: 760px; top: -420px; left: 10%; background: radial-gradient(circle, color-mix(in srgb, var(--acc) 20%, transparent), transparent 68%) }
.qz-amb i:nth-child(2) { width: 560px; height: 560px; bottom: -320px; right: 8%; background: radial-gradient(circle, color-mix(in srgb, var(--acc2) 10%, transparent), transparent 68%) }
#v-quiz.is-ok .qz-amb i:nth-child(1) { background: radial-gradient(circle, color-mix(in srgb, var(--acc) 34%, transparent), transparent 68%) }
#v-quiz.is-bad .qz-amb i:nth-child(1) { background: radial-gradient(circle, color-mix(in srgb, var(--bad) 20%, transparent), transparent 68%) }
.qz-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0 }
.qz-glow::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
  background: radial-gradient(120% 100% at 50% 132%, color-mix(in srgb, var(--acc) 60%, transparent), color-mix(in srgb, var(--acc2) 18%, transparent) 38%, transparent 72%) }
#v-quiz.is-bad .qz-glow::before { background: radial-gradient(120% 100% at 50% 132%, color-mix(in srgb, var(--bad) 50%, transparent), color-mix(in srgb, var(--bad) 14%, transparent) 38%, transparent 72%) }
#v-quiz.is-ok .qz-glow, #v-quiz.is-bad .qz-glow { animation: qz-flash 2.6s var(--ease-bounce) forwards }
@keyframes qz-flash { 0% { opacity: 0 } 9% { opacity: 1 } 28% { opacity: .9 } 100% { opacity: .22 } }
@media (prefers-reduced-motion: reduce) { #v-quiz.is-ok .qz-glow, #v-quiz.is-bad .qz-glow { animation: none; opacity: .22 } }

#v-quiz .qz-top { gap: 16px; padding: 14px 22px 0 }
#v-quiz .qz-icon { width: 38px; height: 38px; border-radius: 13px; background: color-mix(in srgb, var(--panel) 75%, transparent) }
.qz-chip { flex: none; display: inline-flex; align-items: center; gap: 9px; max-width: 42%; padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 55%, transparent); white-space: nowrap }
.qz-chip:empty { display: none }
.qz-chip b { font: 700 10px var(--font-mono); letter-spacing: .14em; color: var(--acc-ink) }
.qz-chip span { overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; font-weight: 600; color: var(--muted) }
#v-quiz .qz-bar { display: flex; gap: 4px; height: auto; min-width: 0; overflow: visible; background: none; border-radius: 0 }
.qz-seg { flex: 1; height: 3px; overflow: hidden; border-radius: 2px; background: var(--panel-3) }
.qz-seg i { display: block; width: 0; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--acc), var(--acc2)); transition: width .5s var(--ease-bounce) }
.qz-seg.is-done i, .qz-seg.is-cur i { width: 100% }
.qz-seg.is-cur i { animation: qz-seg .6s var(--ease-bounce) }
@keyframes qz-seg { from { width: 0 } to { width: 100% } }
#v-quiz .qz-count { min-width: 0; font: 700 11.5px var(--font-mono); color: var(--muted) }

/* Поле без рамки: рамку несёт лист. */
#v-quiz .qz-field { margin: 0; border: 0; border-radius: 0; overflow: visible }
#v-quiz .qz-field::after { display: none }
#v-quiz .qz-scroll { display: flex; flex-direction: column; padding: 12px 22px }
#v-quiz .qz-col.co-card { flex: none; width: 100%; max-width: 760px; min-height: 0; margin: auto;
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; text-align: left;
  padding: clamp(18px, 3vh, 30px) clamp(18px, 3vw, 34px); border-radius: 30px; overflow: hidden;
  background: linear-gradient(165deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35); transition: border-color .4s }
#v-quiz.is-ok .co-card { border-color: color-mix(in srgb, var(--acc) 40%, transparent) }
#v-quiz.is-bad .co-card { border-color: color-mix(in srgb, var(--bad) 40%, transparent) }
#v-quiz .co-title { margin: 0 0 8px; font-size: clamp(22px, 3.6vh, 32px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em }
#v-quiz .co-body { margin: 0; max-width: 620px; font-size: clamp(13px, 1.7vh, 14.5px); line-height: 1.6; color: var(--muted) }
#v-quiz .co-visual, #v-quiz .co-ui, #v-quiz .co-audio { margin-top: clamp(12px, 2.2vh, 20px); align-self: stretch; max-width: none }
#v-quiz .co-audio { justify-content: flex-start }
#v-quiz .co-ask { margin: 16px 0 0; font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: -.01em }

/* Варианты: буква слева, выбранный — цветом модуля. */
#v-quiz .co-opts { max-width: none; gap: 8px; margin-top: 14px }
#v-quiz .co-opt { display: flex; align-items: center; gap: 12px; min-height: 0; padding: 13px 15px; border-radius: 24px; text-align: left;
  font-size: 14px; background: color-mix(in srgb, var(--panel) 75%, transparent); border: 1px solid var(--line); color: var(--text) }
.co-mk { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-2);
  font: 700 11px var(--font-mono); color: var(--muted-3) }
.co-ot { min-width: 0 }
#v-quiz .co-opt.on { border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: linear-gradient(140deg, color-mix(in srgb, var(--acc) 14%, transparent), color-mix(in srgb, var(--acc) 4%, transparent)); color: var(--text) }
#v-quiz .co-opt.on .co-mk { border-color: transparent; background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd) }
#v-quiz .co-opt.ok { border-color: color-mix(in srgb, var(--acc) 60%, transparent); background: linear-gradient(140deg, color-mix(in srgb, var(--acc) 18%, transparent), color-mix(in srgb, var(--acc) 5%, transparent)); color: var(--acc-ink) }
#v-quiz .co-opt.ok .co-mk { border-color: transparent; background: var(--acc); color: var(--accd) }
#v-quiz .co-opt.bad { border-color: color-mix(in srgb, var(--bad) 55%, transparent); background: color-mix(in srgb, var(--bad) 9%, transparent); color: var(--bad-ink) }
#v-quiz .co-opt.bad .co-mk { border-color: color-mix(in srgb, var(--bad) 50%, transparent); color: var(--bad-ink) }

/* Отклик — строкой цвета исхода; плашка о громкости — пилюлей внизу листа. */
#v-quiz .co-fb { max-width: none; margin-top: 12px; font-size: 13px; line-height: 1.55 }
#v-quiz .co-fb.ok { color: var(--acc-ink) }
#v-quiz .co-fb.bad { color: var(--bad-ink) }
#v-quiz .co-safe { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; margin: clamp(10px, 1.8vh, 16px) 0 0; padding: 9px 15px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 60%, transparent); color: var(--muted-3); font-size: 12px; line-height: 1.4; text-align: left }
#v-quiz .co-safe.is-special { background: var(--brass-wash); border-color: var(--brass-edge); color: var(--text) }

/* Кнопки прослушивания: пилюля с круглым значком. */
#v-quiz .co-play { gap: 10px; padding: 11px 20px 11px 12px; background: color-mix(in srgb, var(--panel) 90%, transparent); border-color: var(--line-2); font-weight: 600 }
#v-quiz .co-play svg { box-sizing: content-box; width: 11px; height: 11px; padding: 5.5px; border-radius: 50%; color: var(--acc-ink); background: color-mix(in srgb, var(--acc) 14%, transparent) }
@media (hover: hover) { #v-quiz .co-play:hover { border-color: color-mix(in srgb, var(--acc) 55%, transparent) } }
#v-quiz .co-play.on { background: linear-gradient(145deg, var(--acc2), var(--acc)); border-color: transparent; color: var(--accd); box-shadow: 0 6px 16px color-mix(in srgb, var(--acc) 22%, transparent) }
#v-quiz .co-play.on svg { color: var(--accd); background: color-mix(in srgb, var(--accd) 18%, transparent) }

/* Кнопки — под листом. */
#v-quiz .qz-act { min-height: 0; padding: 0 22px clamp(14px, 2.4vh, 24px) }
#v-quiz .qz-btns { gap: 10px; align-items: center }
#v-quiz .qz-btns .btn { border-radius: var(--r-pill); padding: 13px 26px; font-size: 14.5px; font-weight: 600 }
#v-quiz .qz-btns :is(.btn--solid, .btn--primary):not(:disabled) { background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd); border-color: transparent;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--acc) 14%, transparent) }
@media (hover: hover) { #v-quiz .qz-btns :is(.btn--solid, .btn--primary):not(:disabled):hover { filter: brightness(1.08); background: linear-gradient(145deg, var(--acc2), var(--acc)) } }
#v-quiz .qz-btns :is(.btn--solid, .btn--primary):disabled { opacity: .42; background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd); border-color: transparent }
#v-quiz .qz-btns :is(.btn--quiet, .btn--ghost) { background: transparent; color: var(--muted); border: 1px solid var(--line) }
@media (hover: hover) { #v-quiz .qz-btns :is(.btn--quiet, .btn--ghost):hover { color: var(--text); border-color: var(--line-2) } }
.qz-wait { padding: 12px 18px; border-radius: var(--r-pill); border: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted) }

/* Итог: печать и три карточки (у 1.2 — шесть слов-зон). */
.co-seal { display: flex; justify-content: center; margin: 8px 0 12px }
.co-seal svg { width: clamp(124px, 19vh, 164px); height: clamp(124px, 19vh, 164px) }
.co-seal-halo { transform-box: fill-box; transform-origin: center; opacity: 0; animation: co-halo 1.5s .1s cubic-bezier(.22, .9, .3, 1) forwards }
@keyframes co-halo { 0% { opacity: 0; transform: scale(.55) } 45% { opacity: 1; transform: scale(1.02) } 100% { opacity: .62; transform: scale(1) } }
.co-seal-pop { transform-box: fill-box; transform-origin: center; animation: co-pop .7s cubic-bezier(.22, 1.2, .36, 1) both }
@keyframes co-pop { 0% { transform: scale(.72); opacity: 0 } 60% { opacity: 1 } 100% { transform: scale(1); opacity: 1 } }
.co-seal-disc { fill: var(--panel); stroke: var(--line); stroke-width: 1.5 }
.co-seal-ring { fill: none; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 238.8; stroke-dashoffset: 238.8; animation: co-draw 1s .18s cubic-bezier(.3, .8, .3, 1) forwards }
.co-seal-tick { fill: none; stroke: var(--acc2); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: co-draw .42s .9s ease-out forwards }
@keyframes co-draw { to { stroke-dashoffset: 0 } }
@media (prefers-reduced-motion: reduce) { .co-seal-halo, .co-seal-pop, .co-seal-ring, .co-seal-tick { animation: none; opacity: 1; stroke-dashoffset: 0 } }
.co-fin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px }
.co-fin.is-words { gap: 9px }
.co-fc { position: relative; overflow: hidden; padding: 14px; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--panel-2), var(--panel)); opacity: 0; transform: translateY(10px); animation: co-fcin .5s var(--ease-bounce) forwards }
@keyframes co-fcin { to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .co-fc { animation: none; opacity: 1; transform: none } }
.co-fin:not(.is-words) .co-fc::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--acc), transparent) }
.co-fi { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 11px; color: var(--acc-ink);
  background: color-mix(in srgb, var(--acc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 28%, transparent) }
.co-fi svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.co-fc em { display: block; font: normal 700 9px var(--font-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--muted-3) }
.co-fc b { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em }
.co-fc > span:not(.co-fi) { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.45; color: var(--muted) }
.co-fin.is-words .co-fc { padding: 13px 13px 11px }
.co-fin.is-words .co-fi { width: 30px; height: 30px; margin-bottom: 8px; border-radius: 10px }
.co-fin.is-words .co-fc b { margin-top: 0 }
.co-fin.is-words .co-fc em { margin-top: 3px; font: normal 400 11.5px/1.35 var(--font-ui); letter-spacing: 0; text-transform: none; color: var(--muted) }
.co-fin.is-words .co-fc > span:not(.co-fi) { margin-top: 2px; font: 600 9.5px var(--font-mono); letter-spacing: .05em; color: var(--muted-3) }
.co-wbar { position: relative; display: block; height: 4px; margin-top: 9px; overflow: hidden; border-radius: var(--r-pill); background: var(--panel-3) }
.co-wbar i { position: absolute; top: 0; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--acc), var(--acc2)) }
@media (max-width: 700px) {
  .co-fin { grid-template-columns: 1fr }
  .co-fin.is-words { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .qz-chip { display: none }
}

/* ── Картинки урока 1.1 по прототипу ── */
#v-quiz .co-sine { justify-items: stretch; gap: 12px }
#v-quiz .co-hz { display: flex; align-items: baseline; justify-content: center; gap: 9px }
#v-quiz .co-hz b { font: 700 clamp(34px, 6vh, 52px)/1 var(--font-mono); letter-spacing: -.05em; color: transparent;
  background: linear-gradient(120deg, var(--text), var(--acc2) 55%, var(--acc)); -webkit-background-clip: text; background-clip: text }
#v-quiz .co-hz span { font: 600 14px var(--font-mono); color: var(--muted) }
.co-wbox { position: relative; overflow: hidden; padding: 10px 12px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent) }
.co-wbox .co-svg { display: block; width: 100%; height: clamp(76px, 13vh, 118px) }
.co-mid { stroke: var(--panel-3); stroke-width: 1 }
#v-quiz .co-wave-line { fill: none; stroke: var(--acc2); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke }
#v-quiz .co-wave-line.is-grad { stroke: url(#coTwG) }
#v-quiz .co-wave-line.is-sum { stroke: url(#coSwG) }
#v-quiz .co-sine-x { font: 600 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase }
#v-quiz .co-sine .co-play { justify-self: start }

/* Волны и спектры теории — ниже, во всю ширину листа. */
#v-quiz .co-visual:has(> .co-wave, > .co-spec) { gap: 10px; justify-items: stretch }
#v-quiz :is(.co-wave, .co-spec) { padding: 12px 14px 10px; border-radius: 24px; background: color-mix(in srgb, var(--bg) 50%, transparent) }
#v-quiz :is(.co-wave, .co-spec) .co-svg { height: clamp(58px, 10vh, 92px) }
#v-quiz :is(.co-wave, .co-spec) .t-num { font: 700 11px var(--font-mono); letter-spacing: .1em; color: var(--muted) }
#v-quiz :is(.co-wave, .co-spec) svg.icon { box-sizing: content-box; width: 9px; height: 9px; padding: 4.5px; border-radius: 50%; color: var(--acc-ink); background: color-mix(in srgb, var(--acc) 14%, transparent) }
#v-quiz .co-spec.is-static { cursor: default }
#v-quiz .co-spec .co-bar { stroke: none; fill: url(#coSpH) }
#v-quiz .co-spec .co-bar.is-first { fill: url(#coSpF) }
#v-quiz .co-base { stroke: var(--panel-3); stroke-width: 1.4 }

/* «Твой диапазон»: плитки с полоской «прослушано» и лента слуха. */
#v-quiz .co-bands { gap: 8px }
#v-quiz .co-band { position: relative; overflow: hidden; padding: 12px 8px; border-radius: 18px; background: color-mix(in srgb, var(--panel) 70%, transparent) }
#v-quiz .co-band b { font-size: 13px; font-weight: 700 }
#v-quiz .co-band .t-num { margin-top: 4px; font: 600 9.5px var(--font-mono); letter-spacing: .06em }
.co-band-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--panel-3) }
.co-band-bar::after { content: ''; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--acc), var(--acc2)) }
.co-band.done .co-band-bar::after { width: 100%; transition: width .5s linear }
#v-quiz .co-band.on { background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 18%, transparent), color-mix(in srgb, var(--acc) 4%, transparent)); border-color: color-mix(in srgb, var(--acc) 50%, transparent) }
#v-quiz .co-band.on b { color: var(--acc2-ink) }
#v-quiz .co-band.on .t-num { color: var(--muted-3) }
.co-ribbon { margin-top: 10px; padding: 10px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent) }
.co-ribbon .co-svg { display: block; width: 100%; height: clamp(46px, 8vh, 72px) }
.co-rib { fill: var(--panel-2); stroke: var(--line) }
.co-rib.is-on { stroke: none }
.co-rib-l { font: 600 10px var(--font-mono); fill: var(--muted-3) }

/* «Соседи за стеной»: волны идут, пока звучит голос. */
.co-wallbox { width: 100%; padding: 14px 14px 10px; border-radius: 24px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(130% 120% at 12% 55%, color-mix(in srgb, var(--acc) 7%, transparent), transparent 58%), color-mix(in srgb, var(--bg) 55%, transparent) }
#v-quiz .co-wallbox .co-svg { display: block; width: 100%; max-width: none; height: clamp(104px, 18vh, 164px); padding: 0; border: 0; background: none }
.co-wall-p { fill: none; stroke: var(--muted-2); stroke-width: 2.2 }
.co-wall-p.is-far { stroke: var(--muted-3) }
.co-wall-mouth { fill: var(--acc2); transform-box: fill-box; transform-origin: center; opacity: .45 }
.co-wall-ear { fill: none; stroke: var(--acc2); stroke-width: 2.2; stroke-linecap: round; transform-box: fill-box; transform-origin: center; opacity: .5 }
.co-wall-brick rect { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.2 }
.co-wall-brick line { stroke: var(--line); stroke-width: 1 }
.co-wall-brick { transform-box: fill-box; transform-origin: center }
#v-quiz .co-wall-lbl { font: 600 10px var(--font-mono); letter-spacing: .1em; fill: var(--muted-3) }
.co-wl { fill: none; stroke: url(#coWlG); stroke-width: 3.6; stroke-linecap: round; opacity: 0 }
.co-wh { fill: none; stroke: var(--muted-2); stroke-width: 1.7; stroke-linecap: round; opacity: 0 }
.co-wallbox.go .co-wl { animation: co-lowgo 2.2s cubic-bezier(.35, .05, .5, 1) infinite }
.co-wallbox.go .co-wh { animation: co-higo 2.2s cubic-bezier(.35, .05, .5, 1) infinite }
.co-wallbox.go .co-wall-brick { animation: co-wsh 2.2s ease-in-out infinite }
.co-wallbox.go .co-wall-mouth { animation: co-mth 2.2s ease-in-out infinite }
.co-wallbox.go .co-wall-ear { animation: co-earp 2.2s ease-in-out infinite }
@keyframes co-lowgo { 0% { opacity: 0; transform: translateX(0) scaleY(.82) } 12% { opacity: .95 } 46% { opacity: .9; transform: translateX(150px) scaleY(1) }
  62% { opacity: .5; transform: translateX(212px) scaleY(1.02) } 92% { opacity: .34; transform: translateX(330px) scaleY(1.06) } 100% { opacity: 0; transform: translateX(360px) scaleY(1.06) } }
@keyframes co-higo { 0% { opacity: 0; transform: translateX(0) scaleY(.9) } 14% { opacity: .6 } 38% { opacity: .34; transform: translateX(96px) scaleY(.96) } 54% { opacity: 0; transform: translateX(150px) scaleY(.9) } 100% { opacity: 0; transform: translateX(150px) } }
@keyframes co-wsh { 0%, 100% { transform: translateX(0) } 44% { transform: translateX(1.4px) } 56% { transform: translateX(-1px) } }
@keyframes co-mth { 0%, 100% { opacity: .35; transform: scale(.9) } 12% { opacity: 1; transform: scale(1.06) } }
@keyframes co-earp { 0%, 58% { opacity: .5; transform: scale(1) } 72% { opacity: 1; transform: scale(1.07) } 100% { opacity: .5; transform: scale(1) } }
@media (prefers-reduced-motion: reduce) { .co-wallbox.go :is(.co-wl, .co-wh, .co-wall-brick, .co-wall-mouth, .co-wall-ear) { animation: none } .co-wallbox.go .co-wl { opacity: .8 } }
#v-quiz .co-visual:has(> .co-wallbox) { justify-items: stretch }
#v-quiz .co-visual:has(> .co-wallbox) > .co-play { justify-self: center }
#v-quiz .co-ui:has(> .co-ribbon) { justify-items: stretch }

/* «Собери тембр»: волна суммы и пять кнопок во всю ширину. */
#v-quiz .co-ui:has(> #coHw) { justify-items: stretch }
#v-quiz #coHw { margin-bottom: 0 }
#v-quiz .co-harm { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px }
#v-quiz .co-part { padding: 11px 8px; border-radius: 18px; text-align: center; background: color-mix(in srgb, var(--panel) 70%, transparent) }
#v-quiz .co-part b { display: block; font: 700 13.5px var(--font-mono); letter-spacing: -.02em }
#v-quiz .co-part .t-num { display: block; margin-top: 3px; font: 600 9.5px var(--font-mono); letter-spacing: .06em; color: var(--muted-3) }
#v-quiz .co-part.on { border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 18%, transparent), color-mix(in srgb, var(--acc) 4%, transparent)) }
#v-quiz .co-part.on b { color: var(--acc2-ink) }
#v-quiz .co-part.is-base b { color: var(--acc-ink) }
#v-quiz .co-ui:has(> #coHw) > .co-play { justify-self: center }
@media (max-width: 700px) { #v-quiz .co-harm, #v-quiz .co-bands:not(.is-split) { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* ── Картинки урока 1.2 по прототипу ── */
.co-rib-t { font: 600 8.5px var(--font-mono); fill: var(--line-2) }
.co-rib-l.is-on { font: 700 9px var(--font-mono); letter-spacing: .1em; fill: var(--acc2-ink) }
#v-quiz .co-visual:has(> .co-ribbon, > .co-kickbox) { justify-items: stretch }
.co-kickbox { width: 100%; padding: 10px 12px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent) }
.co-kickbox .co-svg, .co-kickbtn .co-svg { display: block; width: 100%; height: clamp(120px, 20vh, 186px) }
#v-quiz .co-kick { fill: none; stroke-width: 2.6; stroke-linejoin: round; vector-effect: non-scaling-stroke }
.co-kick-l { font: 600 12.5px var(--font-ui); fill: var(--text) }
.co-phone-z { fill: color-mix(in srgb, var(--bad) 7%, transparent) }
.co-phone-l { stroke: color-mix(in srgb, var(--bad) 50%, transparent); stroke-width: 1.4; stroke-dasharray: 5 5 }
.co-phone-t { font: 700 9.5px var(--font-mono); letter-spacing: .1em; fill: var(--bad-ink) }
.co-hump { fill: color-mix(in srgb, var(--acc) 10%, transparent); stroke: color-mix(in srgb, var(--acc) 38%, transparent); stroke-width: 1.2; stroke-dasharray: 5 5 }
#v-quiz .co-ui:has(> .co-kickbox) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-kickbox) > :is(.co-layers, .co-play) { justify-self: center }

/* «Шесть зон» — те же карточки-слова, что в итоге; в итоге они подсвечены. */
#v-quiz .co-visual:has(> .co-fin) { justify-items: stretch }
.co-card[data-type="outro"] .co-fin.is-words .co-fc { border-color: color-mix(in srgb, var(--acc) 50%, transparent) }
.co-card[data-type="outro"] .co-fin.is-words .co-fc b { color: var(--acc2-ink) }

/* «Словарь на слух»: плитка, под ней сегмент «Ровно / В избытке». */
#v-quiz .co-ui:has(> .co-zab) { justify-items: stretch }
#v-quiz .co-zab { gap: 9px }
#v-quiz .co-zt { padding: 12px 10px; border-radius: 20px; text-align: center; background: color-mix(in srgb, var(--panel) 70%, transparent) }
#v-quiz .co-zt b { font-size: 14px; font-weight: 700 }
#v-quiz .co-zt .t-num { font: 600 9.5px var(--font-mono); letter-spacing: .04em; color: var(--muted-3) }
#v-quiz .co-seg { margin-top: 9px; padding: 3px; gap: 3px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--bg) 60%, transparent); border: 1px solid var(--line) }
#v-quiz .co-seg button { flex: 1; padding: 6px 8px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; color: var(--muted); background: transparent; border: 0 }
#v-quiz .co-seg button.on { background: linear-gradient(145deg, var(--acc2), var(--acc)); color: var(--accd) }
#v-quiz .co-zt.on { border-color: color-mix(in srgb, var(--acc) 45%, transparent) }

/* Переключатели слоёв — пилюлями, выключенный слой — цветом модуля. */
#v-quiz .co-layers { gap: 8px }
#v-quiz .co-layer { padding: 10px 18px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--panel) 80%, transparent); border: 1px solid var(--line-2); color: var(--text) }
#v-quiz .co-layer.on { border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: linear-gradient(140deg, color-mix(in srgb, var(--acc) 16%, transparent), color-mix(in srgb, var(--acc) 4%, transparent)); color: var(--acc2-ink) }

/* Правки 1.2: заливка подсвеченных зон ленты, половины середины — цветом
   модуля, кнопка звука у словаря — по центру, кривая бочки в теории крупно. */
.co-rib.is-on { fill: url(#coRbG) }
#v-quiz .co-band.is-focus { border-color: color-mix(in srgb, var(--acc) 45%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 14%, transparent), color-mix(in srgb, var(--acc) 3%, transparent)) }
#v-quiz .co-band.is-focus b { color: var(--acc2-ink) }
#v-quiz .co-ui:has(> .co-zab) > .co-play { justify-self: center }
#v-quiz .co-kickbtn .co-svg { height: clamp(120px, 20vh, 186px) }

/* ── Картинки урока 1.3 по прототипу ── */
/* График эквалайзера: тёмная рамка, тонкая сетка, ноль пунктиром, ручка с ореолом. */
#v-quiz .co-visual:has(> .co-eq, > .co-pair) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-eq) { justify-items: stretch; gap: 0 }
#v-quiz .co-eq { padding: 10px 12px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent);
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent }
#v-quiz .co-eq.is-drag { cursor: grab }
#v-quiz .co-eq.is-drag:active { cursor: grabbing }
#v-quiz .co-eq .co-svg { display: block; width: 100%; height: auto; max-height: clamp(140px, 24vh, 230px) }
#v-quiz :is(.co-eq, .co-pc) .co-eq-grid { stroke: var(--line); stroke-width: 1 }
#v-quiz .co-eq .co-eq-grid.is-minor { stroke: color-mix(in srgb, var(--line) 55%, transparent) }
#v-quiz :is(.co-eq, .co-pc) .co-eq-grid.is-zero { stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 4 6 }
.co-eq-t { font: 600 10px var(--font-mono); fill: var(--muted-3) }
#v-quiz .co-eq .co-eq-area { fill: url(#coEqA); opacity: .9 }
#v-quiz .co-eq .co-eq-line { fill: none; stroke: url(#coEqL); stroke-width: 2.8; stroke-linejoin: round; stroke-linecap: round }
.co-eq-guide { stroke: color-mix(in srgb, var(--acc2) 22%, transparent); stroke-width: 1; stroke-dasharray: 3 6 }
.co-eq-halo { fill: color-mix(in srgb, var(--acc) 18%, transparent) }
#v-quiz .co-eq .co-eq-dot { fill: url(#coEqK); stroke: var(--bg); stroke-width: 2 }
#v-quiz .co-eq.is-off :is(.co-eq-area, .co-eq-dot) { opacity: 1 }
#v-quiz .co-eq.is-off .co-eq-line { opacity: .6 }
#v-quiz .co-eq .co-lbl { font-size: 11px }
#v-quiz .co-eq-read { display: flex; justify-content: center; flex-wrap: wrap; column-gap: .45em; min-height: 20px; margin-top: 11px;
  font: 700 12.5px var(--font-mono); letter-spacing: .02em; color: var(--muted); text-align: center }
#v-quiz .co-eq-read b { color: var(--text); font-weight: 700 }
#v-quiz .co-eq-read u { text-decoration: none; color: var(--acc2-ink) }
#v-quiz .co-eq-read s { text-decoration: none; color: color-mix(in srgb, var(--muted) 55%, transparent) }
#v-quiz .co-ui:has(> .co-eq) > .slider { margin-top: 12px }
#v-quiz .co-ui:has(> .co-eq) > .co-seg { justify-self: center; margin-top: 12px }
#v-quiz .co-ui:has(> .co-eq) > .co-play { justify-self: center; margin-top: 12px }

/* «Три ручки»: белые стрелки и подписи поверх колокола. */
#v-quiz .co-eq .co-arrow { fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.co-eq-k { font: 600 12px var(--font-ui); fill: var(--text) }

/* Пара мини-кривых: подъём и вырез, широкий и узкий Q. */
.co-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100% }
.co-pc { padding: 10px 12px 8px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent) }
.co-pc .co-svg { display: block; width: 100%; height: auto; max-height: clamp(96px, 16vh, 150px) }
.co-pc-cap { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin-top: 6px; font: 700 11.5px var(--font-mono); letter-spacing: .04em; color: var(--muted) }
.co-pc-cap b { color: var(--text) }
.co-pc.is-up { border-color: color-mix(in srgb, var(--acc) 35%, transparent) }
.co-pc.is-up .co-pc-cap b { color: var(--acc2-ink) }
.co-mini { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round }
.co-mini.is-up { stroke: var(--acc2) }
.co-mini.is-pit { stroke: color-mix(in srgb, var(--acc) 45%, var(--muted)) }
.co-mini.is-cut { stroke: color-mix(in srgb, var(--acc) 40%, var(--text)) }
#v-quiz .co-visual#coDemo:has(> .co-pair) { margin-bottom: 4px }

/* «Свой трек»: пометка о подписке — строкой, особая плашка — карточкой латуни. */
#v-quiz .co-wall-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted-3); text-align: center }
#v-quiz .co-safe.is-special { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 24px;
  border-color: color-mix(in srgb, var(--brass) 32%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--brass) 12%, transparent), color-mix(in srgb, var(--brass) 4%, transparent));
  font-size: 12.5px; line-height: 1.55; color: var(--text) }
#v-quiz .co-safe.is-special svg { width: 17px; height: 17px; margin-top: 1px; color: var(--brass) }

/* ── Картинки урока 1.4 по прототипу ── */
#v-quiz .co-visual:has(> .co-res) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-abpic) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-abpic) > :is(.co-seg, .co-play) { justify-self: center }

/* ── Картинки урока 1.5 по прототипу ── */
#v-quiz .co-visual:has(> .co-mask) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-mask) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-mask) > :is(.co-layers, .co-play) { justify-self: center }
#v-quiz .co-ui:has(> .co-mask) > .slider { margin-top: 12px }
#v-quiz .co-eq .co-res-line.is-mark { stroke: color-mix(in srgb, var(--acc2) 45%, transparent); stroke-width: 1.4; stroke-dasharray: 5 5 }
#v-quiz .co-eq .co-lbl.is-mark { font: 700 10.5px var(--font-mono); fill: var(--acc2-ink) }
/* Переключатели «До / После», «Чистый / С резонансом» — по содержимому, как в прототипах. */
#v-quiz .co-seg--wide { width: auto; max-width: 100%; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr }
#v-quiz .co-seg--wide button { padding: 6px 20px; font-size: 13px; white-space: nowrap }

/* ── Картинки урока 2.1 по прототипу ── */
.co-gbox { width: 100%; padding: 12px 14px 8px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 55%, transparent);
  overflow: hidden; user-select: none; -webkit-user-select: none }
.co-gbox > .co-svg { display: block; width: 100%; height: auto; max-height: clamp(140px, 24vh, 220px) }
.co-gbox.co-ear { padding: 16px 18px }
#v-quiz .co-visual:has(> .co-gbox, > .co-meters) { justify-items: stretch }
#v-quiz .co-visual:has(> .co-gbox, > .co-meters) > :is(.co-play, .co-seg) { justify-self: center }
#v-quiz .co-ui:has(> .co-pl) { justify-items: stretch }
.co-gl-cap { font: 600 10.5px var(--font-mono); fill: var(--muted-3) }
.co-gl-loud { fill: none; stroke: var(--acc); stroke-width: 2.8; stroke-linejoin: round }
.co-gl-quiet { fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-dasharray: 7 5; stroke-linejoin: round }
.co-gl-k { font: 700 12px var(--font-ui); fill: var(--text) }
.co-gl-q { font: 600 11.5px var(--font-ui); fill: var(--muted) }
.co-gl-ceil { stroke: var(--acc); stroke-width: 1.4; stroke-dasharray: 6 5; opacity: .7 }
.co-gl-ceilt { font: 700 11px var(--font-mono); fill: var(--acc-ink) }
.co-gl-ok { fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linejoin: round }
.co-gl-bad { fill: none; stroke: var(--bad); stroke-width: 2.4; stroke-linejoin: round }
.co-gl-pk { stroke: var(--text); stroke-width: 2; stroke-linecap: round }
.co-gl-sub { font: 600 11px var(--font-mono); fill: var(--muted-3) }
.co-gl-sub.is-bad { fill: var(--bad-ink) }

/* ── Картинки урока 2.2 по прототипу ── */
.co-wv-base { stroke: var(--line); stroke-width: 1 }
.co-wvf { fill: url(#coWf); stroke: var(--acc); stroke-width: 1.7; stroke-linejoin: round }
.co-wvo { fill: none; stroke: color-mix(in srgb, var(--acc) 28%, transparent); stroke-width: 1.3; stroke-dasharray: 3 4 }
.co-wv-arc { fill: none; stroke: var(--acc2); stroke-width: 1.5; stroke-dasharray: 5 4; opacity: .85 }
.co-wv-top { fill: var(--acc2) }
.co-wv-k { font: 700 11.5px var(--font-mono); fill: var(--text) }
.co-wv-t { font: 700 12px var(--font-ui); fill: var(--text) }
.co-wv-t.is-sm { font-size: 11px }
.co-wv-note { font: 600 10px var(--font-mono); fill: var(--muted-3) }
.co-wv-hl { fill: color-mix(in srgb, var(--acc) 9%, transparent) }
.co-wv-cut { stroke: var(--acc2); stroke-width: 1.4; stroke-dasharray: 4 5 }
#v-quiz .co-ui:has(> .co-cut) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-cut) > .co-play { justify-self: center }
#v-quiz .co-visual:has(> .co-cut) { justify-items: stretch }
#v-quiz .co-visual:has(> .co-cut) > .co-audio { justify-content: center }
#v-quiz .co-eq-read b { color: var(--text) }
/* Ползунки уроков: заливка цветом модуля, белый бегунок с ореолом. */
#v-quiz .slider::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(90deg, var(--acc) 0, var(--acc2) var(--fill, 0%), var(--panel-2) var(--fill, 0%) 100%) }
#v-quiz .slider::-moz-range-track { height: 8px; background: linear-gradient(90deg, var(--acc) 0, var(--acc2) var(--fill, 0%), var(--panel-2) var(--fill, 0%) 100%) }
#v-quiz .slider::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -6px; border: 0; background: #F4FAF6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5), 0 0 0 4px color-mix(in srgb, var(--acc) 16%, transparent) }
#v-quiz .slider::-moz-range-thumb { width: 20px; height: 20px; border: 0; background: #F4FAF6; box-shadow: 0 4px 14px rgba(0, 0, 0, .5), 0 0 0 4px color-mix(in srgb, var(--acc) 16%, transparent) }
#v-quiz .slider:active::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -8px }
/* ± от нуля: заливка — от середины к бегунку. */
#v-quiz .co-sl.is-bi .slider::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--panel-2) 0 min(50%, var(--fill, 50%)),
  var(--acc) min(50%, var(--fill, 50%)) max(50%, var(--fill, 50%)), var(--panel-2) max(50%, var(--fill, 50%)) 100%) }
#v-quiz .co-sl.is-bi .slider::-moz-range-track { background: linear-gradient(90deg, var(--panel-2) 0 min(50%, var(--fill, 50%)),
  var(--acc) min(50%, var(--fill, 50%)) max(50%, var(--fill, 50%)), var(--panel-2) max(50%, var(--fill, 50%)) 100%) }
#v-quiz .co-sl { grid-template-columns: 54px minmax(0, 1fr) 60px; gap: 12px; font-size: 12.5px; color: var(--muted) }
#v-quiz .co-sl output { font: 700 11.5px var(--font-mono); color: var(--acc2-ink) }
/* Пик-фактор: волна, пик и RMS пунктиром, стрелка между ними. */
.co-pfc { display: grid; gap: 0; padding: 12px; border-radius: 24px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(165deg, color-mix(in srgb, var(--panel-2) 75%, transparent), color-mix(in srgb, var(--bg) 70%, transparent)) }
.co-pfc:has(.co-play.on) { border-color: color-mix(in srgb, var(--acc) 50%, transparent) }
.co-pfc .co-svg { display: block; width: 100%; height: auto; max-height: clamp(92px, 15vh, 140px) }
.co-pf-wv { fill: color-mix(in srgb, var(--acc) 16%, transparent); stroke: var(--acc); stroke-width: 1.5; stroke-linejoin: round }
.co-pf-pk { stroke: var(--acc2); stroke-width: 1.3; stroke-dasharray: 5 4 }
.co-pf-rms { stroke: var(--brass); stroke-width: 1.3; stroke-dasharray: 5 4; opacity: .8 }
#v-quiz .co-pf-pkt { font: 700 9.5px var(--font-mono); fill: var(--acc2-ink) }
#v-quiz .co-pf-rmst { font: 700 9.5px var(--font-mono); fill: var(--brass) }
.co-pf-span { stroke: color-mix(in srgb, var(--text) 35%, transparent); stroke-width: 1.2 }
.co-pf-head { fill: none; stroke: color-mix(in srgb, var(--text) 50%, transparent); stroke-width: 1.4; stroke-linecap: round }
.co-pfc-val { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin-top: 8px; font: 700 12.5px var(--font-mono); color: var(--muted) }
.co-pfc-val b { font-size: 17px; letter-spacing: -.03em; color: var(--acc2-ink) }
.co-pfc-nm { margin-top: 5px; font: 600 10.5px var(--font-mono); letter-spacing: .08em; color: var(--muted-3); text-align: center }
.co-pfc .co-play { justify-self: stretch; justify-content: center; margin-top: 10px }
#v-quiz .co-visual:has(> .co-crest) { justify-items: stretch }
@media (max-width: 700px) { .co-crest { grid-template-columns: 1fr } }
/* Кто съедает транзиенты: четыре шага цепочки, пик ниже после каждого. */
.co-gbox.co-eat { padding: 16px 14px 10px }
.co-chain { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.4vw, 14px) }
.co-ch2 { flex: 1; min-width: 0; text-align: center }
.co-ch-fr { padding: 8px 6px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent) }
.co-ch-fr svg { display: block; width: 100%; height: auto; max-height: clamp(64px, 11vh, 92px) }
.co-ch2 b { display: block; margin-top: 7px; font-size: 11.5px; font-weight: 700; white-space: nowrap }
.co-ch2.is-dim b { color: var(--muted-3); font-weight: 600 }
.co-ch-pk { display: block; margin-top: 4px; font: 700 9.5px var(--font-mono); letter-spacing: .06em; color: color-mix(in srgb, var(--brass) 80%, var(--muted)) }
.co-ch-pk.is-first { color: var(--acc2-ink) }
.co-arw { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--line-2) }
.co-arw svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.co-arw u { text-decoration: none; font: 700 9.5px var(--font-mono); color: color-mix(in srgb, var(--brass) 80%, var(--muted)) }
.co-ch-note { margin-top: 9px; font: 600 10px var(--font-mono); letter-spacing: .08em; color: var(--muted-3); text-align: center }
.co-ea-was { fill: none; stroke: color-mix(in srgb, var(--acc) 20%, transparent); stroke-width: 1; stroke-dasharray: 3 4 }
.co-ea-wv { fill: color-mix(in srgb, var(--acc) 15%, transparent); stroke: var(--acc); stroke-width: 1.5; stroke-linejoin: round }
.co-ea-orig { stroke: color-mix(in srgb, var(--text) 18%, transparent); stroke-width: 1; stroke-dasharray: 4 4 }
.co-ea-pk { stroke: var(--brass); stroke-width: 1.6 }
.co-ea-pk.is-first { stroke: var(--acc2) }
.co-ea-drop { stroke: color-mix(in srgb, var(--brass) 65%, transparent); stroke-width: 1.2 }
.co-ea-dhead { fill: none; stroke: color-mix(in srgb, var(--brass) 75%, transparent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round }
.co-ea-bar { fill: var(--panel-2) }
.co-ea-lvl { fill: color-mix(in srgb, var(--acc) 60%, var(--muted)) }
.co-ea-lvl.is-first { fill: var(--acc) }
/* На телефоне четыре шага в ряд не помещаются: сетка 2×2, снижение пика — в подписях. */
@media (max-width: 560px) { .co-chain { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px } .co-arw { display: none } }

/* ── Картинки урока 2.3 по прототипу ── */
.co-nb { fill: url(#coNb) }
.co-nb.is-now { fill: var(--acc2) }
.co-nb-cut { fill: none; stroke: color-mix(in srgb, var(--brass) 55%, transparent); stroke-width: 1.2; stroke-dasharray: 3 3 }
.co-nb-sp { font: 700 14px var(--font-mono); fill: var(--text) }
.co-nb-sp .is-on { fill: var(--acc2-ink) }
.co-nb-note { font: 600 12px var(--font-mono); fill: var(--muted-3) }
#v-quiz .co-ui:has(> .co-notes, > .co-strip) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-notes, > .co-strip) > :is(.co-tgl, .co-play) { justify-self: center }
#v-quiz .co-ui:has(> .co-notes) > .co-tgl { margin-top: 12px }
#v-quiz #coFairAb { margin: 12px 0 0; justify-items: center }
/* Тумблер «вкл / выкл». */
.co-tgl { display: inline-flex; align-items: center; gap: 14px; padding: 10px 16px 10px 18px; border-radius: var(--r-pill); cursor: pointer; font: inherit; color: var(--text);
  background: color-mix(in srgb, var(--panel) 80%, transparent); border: 1px solid var(--line); transition: border-color .22s var(--ease), background .22s var(--ease) }
.co-tgl[aria-pressed="true"] { border-color: color-mix(in srgb, var(--acc, var(--accent)) 45%, transparent);
  background: linear-gradient(140deg, color-mix(in srgb, var(--acc, var(--accent)) 14%, transparent), color-mix(in srgb, var(--bg) 60%, transparent)) }
.co-tgl:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
.co-tgl-nm { font-size: 14px; font-weight: 700; letter-spacing: -.01em }
.co-tgl[aria-pressed="true"] .co-tgl-nm { color: var(--acc2-ink, var(--accent-ink)) }
.co-tgl-sw { position: relative; flex: none; width: 46px; height: 26px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line-2); transition: background .22s var(--ease) }
.co-tgl-sw i { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: left .22s var(--ease), background .22s var(--ease) }
.co-tgl[aria-pressed="true"] .co-tgl-sw { background: linear-gradient(145deg, var(--acc2, var(--accent)), var(--acc, var(--accent))); border-color: transparent }
.co-tgl[aria-pressed="true"] .co-tgl-sw i { left: 22px; background: var(--accd, var(--on-accent)) }
.co-tgl-st { width: 32px; font: 700 10px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3) }
.co-tgl[aria-pressed="true"] .co-tgl-st { color: var(--acc2-ink, var(--accent-ink)) }
@media (prefers-reduced-motion: reduce) { .co-tgl, .co-tgl-sw, .co-tgl-sw i { transition: none } }
/* Кривая компрессора. */
.co-gbox.co-tr { padding: 12px 14px 10px }
.co-gbox.co-tr > .co-svg { max-height: clamp(150px, 25vh, 232px) }
.co-tr-ax { font: 600 13px var(--font-mono); fill: var(--muted-3) }
.co-tr-axis { stroke: var(--line-2); stroke-width: 1.2 }
.co-tr-diag { fill: none; stroke: color-mix(in srgb, var(--text) 18%, transparent); stroke-width: 1.2; stroke-dasharray: 5 5 }
.co-tr-thr { stroke: var(--acc); stroke-width: 1.3; stroke-dasharray: 4 5; opacity: .8 }
.co-tr-thrt { font: 700 15px var(--font-mono); fill: var(--acc-ink) }
.co-tr-line { fill: none; stroke: url(#coTrG); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round }
.co-tr-dot { fill: var(--acc); stroke: var(--bg); stroke-width: 2 }
.co-tr-rat { font: 700 19px var(--font-mono); letter-spacing: -.02em; fill: var(--text) }
.co-tr-step { stroke: var(--acc2); stroke-width: 1.4 }
.co-tr-gap { stroke: color-mix(in srgb, var(--text) 40%, transparent); stroke-width: 1.2 }
.co-tr-note { font: 700 14px var(--font-mono); fill: var(--acc2-ink) }
#v-quiz .co-visual:has(> .co-gbox.co-tr) { justify-items: stretch }
/* Строка приборов: подавление, порог, степень, ноты под компрессором. */
.co-strip { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px }
.co-strip.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.co-cell { padding: 10px 12px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent) }
.co-cell > span { display: block; margin-bottom: 7px; font: 700 9px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3) }
.co-cell > b { display: block; font: 700 16px var(--font-mono); letter-spacing: -.03em; color: var(--text) }
.co-cell > b.is-br { color: var(--brass) }
.co-cell > b.is-acc { color: var(--acc2-ink) }
.co-grbar { position: relative; height: 10px; margin-top: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden }
.co-grbar i { position: absolute; right: 0; top: 0; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(270deg, var(--brass), color-mix(in srgb, var(--brass) 35%, transparent)); transition: width .12s linear }
.co-grsc { display: flex; justify-content: space-between; margin-top: 5px; font: 600 9.5px var(--font-mono); letter-spacing: .06em; color: var(--muted-3) }
@media (max-width: 760px) { .co-strip { grid-template-columns: 1fr 1fr } .co-strip.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
#v-quiz .co-ui:has(> .co-strip) > .co-sl { margin-top: 12px; grid-template-columns: 78px minmax(0, 1fr) 66px }
/* Компенсация: три строки столбиков. */
.co-gbox.co-stack { display: flex; flex-direction: column; gap: 10px; padding: 14px }
.co-strow { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 12px }
.co-strow em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text) }
.co-strow em u { display: block; margin-top: 2px; text-decoration: none; font: 600 9.5px var(--font-mono); color: var(--muted-3) }
.co-strow.is-dim em { color: var(--muted-3) }
.co-strow svg { display: block; width: 100%; height: auto; max-height: clamp(42px, 7.5vh, 62px) }
.co-mb { fill: url(#coMb) }
.co-mb.is-dim { fill: var(--muted-3) }
@media (max-width: 700px) { .co-strow { grid-template-columns: 110px minmax(0, 1fr) } }

/* ── Картинки урока 2.4 по прототипу ── */
.co-dy-lbl { font: 700 12px var(--font-mono); letter-spacing: .06em; fill: var(--brass) }
.co-dy-zero { stroke: var(--line-2); stroke-width: 1.2 }
.co-dy-z { font: 700 11px var(--font-mono); fill: var(--muted-3) }
.co-dy-gr { fill: none; stroke: var(--brass); stroke-width: 2.4; stroke-linejoin: round }
.co-dy-gr.is-rel { stroke-width: 2.6 }
.co-dy-orig { fill: none; stroke: color-mix(in srgb, var(--acc) 30%, transparent); stroke-width: 1.3; stroke-dasharray: 4 4 }
.co-dy-wv { fill: color-mix(in srgb, var(--acc) 18%, transparent); stroke: var(--acc); stroke-width: 2; stroke-linejoin: round }
.co-dy-hit { stroke: color-mix(in srgb, var(--acc) 32%, transparent); stroke-width: 1.4; stroke-dasharray: 3 5 }
.co-dy-hitt { font: 700 11px var(--font-mono); fill: var(--acc-ink) }
#v-quiz .co-ui:has(> #coAbPic) { justify-items: stretch }
#v-quiz .co-ui:has(> #coAbPic) > :is(.co-seg, .co-play, .co-tgl) { justify-self: center }
/* Панели «быстрая / медленная». */
.co-two2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100% }
.co-pan { padding: 12px 12px 10px; border-radius: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent); overflow: hidden }
.co-pan.is-acc { border-color: color-mix(in srgb, var(--acc) 40%, transparent) }
.co-pan-pic .co-svg { display: block; width: 100%; height: auto; max-height: clamp(120px, 20vh, 184px) }
.co-pan-ttl { display: flex; align-items: center; gap: 8px; margin-bottom: 8px }
.co-pan-ttl b { font-size: 13.5px; font-weight: 700 }
.co-pan-ttl u { text-decoration: none; font: 700 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3) }
.co-pan-res { margin-top: 9px; font: 700 13.5px var(--font-mono); letter-spacing: .02em; color: var(--muted); text-align: center }
.co-pan.is-acc .co-pan-res { color: var(--acc2-ink) }
.co-pan.is-warn .co-pan-res { color: var(--brass) }
@media (max-width: 700px) { .co-two2 { grid-template-columns: 1fr } }
.co-leg2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 10px }
.co-leg2 span { display: inline-flex; align-items: center; gap: 7px; font: 700 10.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-3) }
.co-leg2 i { display: block; width: 11px; height: 11px; border-radius: 3px }
.co-leg2 i.is-a { background: color-mix(in srgb, var(--acc) 55%, transparent) }
.co-leg2 i.is-r { background: color-mix(in srgb, var(--brass) 50%, transparent) }
#v-quiz .co-visual:has(.co-two2, #coLz) { justify-items: stretch }
/* Где слушать: зоны атаки и релиза. */
.co-lz-a { fill: color-mix(in srgb, var(--acc) 16%, transparent); stroke: color-mix(in srgb, var(--acc) 40%, transparent); stroke-width: 1 }
.co-lz-r { fill: color-mix(in srgb, var(--brass) 9%, transparent); stroke: color-mix(in srgb, var(--brass) 28%, transparent); stroke-width: 1; stroke-dasharray: 4 4 }
.co-lz-at { font: 700 12px var(--font-mono); fill: var(--acc-ink) }
.co-lz-rt { font: 700 12px var(--font-mono); fill: var(--brass) }
/* Крути релиз: строка приборов и вердикт. */
.co-strip.is-rel { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)) }
.co-verd { display: inline-flex; align-items: center; gap: 9px; justify-self: center; margin: 12px 0 0; padding: 9px 16px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--muted) }
.co-verd:empty, .co-verd:not(.is-good):not(.is-bad) { visibility: hidden }
.co-verd.is-good { border-color: color-mix(in srgb, var(--acc) 45%, transparent); background: color-mix(in srgb, var(--acc) 12%, transparent); color: var(--acc2-ink) }
.co-verd.is-bad { border-color: color-mix(in srgb, var(--brass) 45%, transparent); background: color-mix(in srgb, var(--brass) 10%, transparent); color: var(--brass) }
.co-verd i { display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor }
#v-quiz .co-ui:has(> .co-strip.is-rel) > .co-sl { margin-top: 12px; grid-template-columns: 78px minmax(0, 1fr) 66px }

/* ── Картинки урока 2.5 по прототипу ── */
.co-pd-ttl { font: 700 13px var(--font-mono); letter-spacing: .04em; fill: var(--text) }
.co-pd-line { fill: none; stroke: var(--acc); stroke-width: 2.6; stroke-linejoin: round }
.co-pd-kick { fill: var(--brass) }
.co-pd-lbl { font: 600 12px var(--font-mono); fill: var(--muted-3) }
.co-pd-lbl.is-acc { font-weight: 700; fill: var(--acc-ink) }
.co-dk-v { fill: color-mix(in srgb, var(--acc) 18%, transparent); stroke: var(--acc); stroke-width: 1.4 }
.co-pan-pic > .co-svg { display: block; width: 100%; height: auto; max-height: clamp(120px, 20vh, 184px) }
#v-quiz .co-visual#coPost:has(> .co-two2) { justify-items: stretch }
#v-quiz .co-ui:has(> #coScPic) { justify-items: stretch }
#v-quiz .co-ui:has(> #coScPic) > :is(.co-tgl, .co-play) { justify-self: center }
#v-quiz .co-ui:has(> #coScPic) > .co-tgl { margin-top: 12px }
#v-quiz .co-ui:has(> #coScPic) > .co-sl { margin-top: 12px; grid-template-columns: 78px minmax(0, 1fr) 66px }
/* Схема сайдчейна. */
.co-gbox.co-flow { padding: 18px 16px 14px }
.co-flow-key { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 10px }
.co-flowrow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 6px; width: 100% }
.co-node { min-width: 112px; padding: 13px 18px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 85%, transparent);
  font-size: 14px; font-weight: 700; text-align: center }
.co-node em { display: block; margin-top: 4px; font: 600 9.5px var(--font-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3) }
.co-node.is-key { border-color: color-mix(in srgb, var(--brass) 45%, transparent); color: var(--brass);
  background: linear-gradient(150deg, color-mix(in srgb, var(--brass) 14%, transparent), color-mix(in srgb, var(--bg) 70%, transparent)); animation: co-pls 2.4s ease-in-out infinite }
.co-node.is-comp { border-color: color-mix(in srgb, var(--acc) 50%, transparent); color: var(--acc2-ink);
  background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 16%, transparent), color-mix(in srgb, var(--bg) 70%, transparent)) }
@keyframes co-pls { 0%, 100% { opacity: .7 } 18% { opacity: 1 } 45% { opacity: .82 } }
.co-arrowv { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--brass) }
.co-arrowv svg { width: 22px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.co-arrowv u { text-decoration: none; font: 700 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase }
.co-arrowh { display: grid; place-items: center; width: 100%; color: var(--line-2) }
.co-arrowh svg { width: 52px; max-width: 100%; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.co-note2 { margin-top: 10px; font: 700 12.5px var(--font-mono); letter-spacing: .02em; color: var(--muted); text-align: center }
.co-note2 b { color: var(--acc2-ink) }
@media (max-width: 520px) { .co-node { min-width: 0; padding: 11px 10px; font-size: 13px } .co-arrowh svg { width: 28px } }
@media (prefers-reduced-motion: reduce) { .co-node.is-key { animation: none; opacity: 1 } }

/* Опорные полосы тренажёра под зонами 1.2 (словарь). */
.co-fc-bd { display: block; margin-top: 6px; font: 600 9.5px var(--font-mono); letter-spacing: .04em; color: var(--muted-3) }
#v-quiz .co-zt .co-zt-bd { margin-top: 2px; font: 600 9px var(--font-mono); letter-spacing: .04em; color: var(--muted-3) }

/* «Словарь на слух» на телефоне: две плитки в ряд не помещаются — переключатель
   «Ровно / В избытке» не сжимается. Плитка становится строкой: слово слева,
   переключатель справа. */
@media (max-width: 420px) {
  #v-quiz .co-zab { grid-template-columns: minmax(0, 1fr); gap: 8px }
  #v-quiz .co-zt { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; text-align: left; padding: 10px 12px }
  #v-quiz .co-zt > :not(.co-seg) { grid-column: 1 }
  #v-quiz .co-zt > .co-seg { grid-column: 2; grid-row: 1 / span 3; margin-top: 0 }
}


/* ── Урок 2.6: спектр гармоник, драйв, телефон, четыре типа ──
   Прототипа урока нет — собрано из деталей уроков M2: рамка графика,
   панели «слева / справа», тумблеры, строка шкалы. Нота — нейтральным,
   чётные — цветом модуля, нечётные — латунью. */
.co-hm { fill: var(--acc) }
.co-hm.is-note { fill: var(--muted-2) }
.co-hm.is-odd { fill: var(--brass) }
.co-hm.is-gone { fill: none; stroke: var(--muted-2); stroke-width: 1.4; stroke-dasharray: 4 4 }
.co-hm.is-dim { opacity: .32 }
.co-hm-k { font: 700 12px var(--font-mono); fill: var(--muted) }
.co-hm-k.is-acc { fill: var(--acc2-ink) }
.co-hm-k.is-br { fill: var(--brass) }
.co-hm-br { fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.co-hm-zone { fill: color-mix(in srgb, var(--muted-2) 7%, transparent); stroke: var(--line); stroke-dasharray: 4 5 }
.co-hm-zone.is-on { fill: color-mix(in srgb, var(--brass) 12%, transparent); stroke: color-mix(in srgb, var(--brass) 45%, transparent); stroke-dasharray: none }
.co-hm-edge { stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 3 4 }
.co-hm-edge.is-on { stroke: var(--brass); stroke-dasharray: none }
.co-leg2 i.is-n { background: var(--muted-2) }
.co-leg2 i.is-e { background: var(--acc) }
.co-leg2 i.is-o { background: var(--brass) }
/* Индикатор «Гармоники»: шкала 0–12 % и три зоны (2 : 4 : 6). */
.co-gbox.co-sm { padding: 14px 18px 12px }
.co-sm-ticks { position: relative; height: 14px; font: 600 10px var(--font-mono); color: var(--muted-3) }
.co-sm-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap }
.co-sm-ticks span:first-child { transform: none }
.co-sm-ticks span:last-child { transform: translateX(-100%) }
.co-sm-bar { position: relative; display: grid; grid-template-columns: 2fr 4fr 6fr; gap: 3px; height: 26px; margin-top: 8px }
.co-sm-z { display: block; border-radius: 8px; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel-2) 70%, transparent) }
.co-sm-z.is-on { border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: color-mix(in srgb, var(--acc) 16%, transparent) }
.co-sm-fill { position: absolute; left: 0; top: 9px; height: 8px; border-radius: 4px; background: var(--acc) }
.co-sm-mk { position: absolute; top: -7px; bottom: -7px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--text) }
.co-sm-names { display: grid; grid-template-columns: 2fr 4fr 6fr; gap: 3px; margin-top: 12px; font: 700 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-3); text-align: center }
.co-sm-names span { white-space: nowrap }
.co-sm-names .is-on { color: var(--acc2-ink) }
@media (max-width: 420px) { .co-sm-names { font-size: 10px; letter-spacing: 0 } }
#v-quiz .co-ui:has(> .co-sm, > #coPhPic) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-sm, > #coPhPic) > .co-play { justify-self: center }
#v-quiz .co-ui:has(> .co-sm) > .co-sl { margin-top: 8px; grid-template-columns: 64px minmax(0, 1fr) 66px }
.co-tgls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px }
/* Четыре типа: плитки со значками тренажёра. */
.co-st4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100% }
.co-st { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px;
  border-radius: 20px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent); color: var(--text);
  font: inherit; text-align: left; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease) }
.co-st > .hr-glyph { grid-row: 1 / span 3; width: 30px; height: 26px }
.co-st > b { font-size: 14px; font-weight: 700 }
.co-st-sub { font-size: 12.5px; color: var(--muted) }
.co-st-sign { font: 600 10.5px var(--font-mono); line-height: 1.35; color: var(--muted-3) }
.co-st:hover { border-color: var(--line-2) }
.co-st.on { border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: color-mix(in srgb, var(--acc) 10%, transparent) }
.co-st.on > b { color: var(--acc2-ink) }
.co-st:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
.co-st .hr-glyph .is-even { fill: var(--acc) }
.co-st .hr-glyph .is-odd { fill: var(--brass) }
#v-quiz .co-visual:has(> .co-st4) { justify-items: stretch }
@media (max-width: 520px) { .co-st4 { grid-template-columns: minmax(0, 1fr) } }
@media (prefers-reduced-motion: reduce) { .co-st { transition: none } }

/* ── «Проверим стерео» (M3) ── */
.qz-stereo[hidden] { display: none }
.co-lr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100% }
.co-lrb { display: grid; justify-items: center; gap: 10px; padding: 18px 12px 14px; border-radius: 22px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 50%, transparent); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; text-align: center; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease) }
.co-lrb:hover { border-color: var(--line-2) }
.co-lrb.on { border-color: color-mix(in srgb, var(--acc, var(--accent)) 50%, transparent); background: color-mix(in srgb, var(--acc, var(--accent)) 10%, transparent); color: var(--acc2-ink, var(--accent-ink)) }
.co-lrb:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
.co-ph { display: block; width: 88px; height: 64px }
.co-ph-band { fill: none; stroke: var(--line-2); stroke-width: 4; stroke-linecap: round }
.co-ph-cup { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.5 }
.co-ph-cup.is-on { fill: var(--acc, var(--accent)); stroke: var(--acc, var(--accent)) }
.co-ph-t { font: 700 11px var(--font-mono); fill: var(--muted-3) }
.co-ph-t.is-on { fill: var(--bg) }
#v-quiz .co-stchk .co-lr { margin-top: 6px }
@media (prefers-reduced-motion: reduce) { .co-lrb { transition: none } }

/* ── Урок 3.1: вид сверху, мини-микс, сцена, весы ──
   Прототипа нет — детали уроков M1/M2: рамка графика, панели, фишки. */
.co-tp-arc { fill: none; stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 4 6 }
.co-tp-tick { stroke: var(--muted-3); stroke-width: 1.6; stroke-linecap: round }
.co-tp-ray { stroke: color-mix(in srgb, var(--acc) 45%, transparent); stroke-width: 1.4; stroke-dasharray: 3 5 }
.co-tp-head { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.6 }
.co-tp-ear { fill: var(--panel-3); stroke: var(--line-2); stroke-width: 1.2 }
.co-tp-nose { fill: none; stroke: var(--line-2); stroke-width: 1.6; stroke-linejoin: round }
.co-tp-lr { font: 700 12px var(--font-mono); fill: var(--muted) }
.co-tp-halo { fill: color-mix(in srgb, var(--acc) 18%, transparent) }
.co-tp-dot { fill: var(--acc) }
.co-tp-name { font: 700 12px var(--font-mono); fill: var(--acc2-ink) }
.co-tp-well { fill: color-mix(in srgb, var(--panel-2) 70%, transparent); stroke: var(--line) }
.co-tp-bar { fill: var(--acc) }
.co-tp-db { font: 700 12px var(--font-mono); fill: var(--text) }
#v-quiz .co-ui:has(> #coTop, > .co-pm) { justify-items: stretch }
#v-quiz .co-ui:has(> #coTop, > .co-pm) > .co-play { justify-self: center }
#v-quiz .co-ui:has(> #coTop) > .co-sl { margin-top: 10px; grid-template-columns: 78px minmax(0, 1fr) 60px }
/* Мини-микс: дорожка — ось «лево — право», фишка едет по ней. */
.co-gbox.co-pm { display: grid; gap: 8px; padding: 14px 16px }
.co-pm-scale { display: flex; justify-content: space-between; margin-left: 112px; font: 700 10px var(--font-mono); letter-spacing: .08em; color: var(--muted-3) }
.co-pm-row { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 12px }
.co-pm-nm { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.co-pm-lane { position: relative; height: 34px; border-radius: 12px; background: color-mix(in srgb, var(--panel-2) 60%, transparent); border: 1px solid var(--line);
  cursor: pointer; touch-action: none }
.co-pm-c { position: absolute; left: 50%; top: 5px; bottom: 5px; border-left: 1px dashed var(--line-2) }
.co-pm-chip { position: absolute; top: 50%; transform: translate(-50%, -50%); min-width: 52px; padding: 5px 9px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent);
  background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 28%, var(--panel)), var(--panel)); color: var(--acc2-ink); font: 700 11px var(--font-mono); cursor: grab; touch-action: none }
.co-pm-chip:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
#v-quiz .co-ui:has(> .co-pm) > #coPmEx { margin-top: 12px }
@media (max-width: 480px) {
  .co-pm-row { grid-template-columns: 76px minmax(0, 1fr); gap: 8px }
  .co-pm-scale { margin-left: 84px }
  .co-pm-nm { font-size: 12px }
  .co-pm-chip { min-width: 44px; padding: 5px 6px; font-size: 10px }
}
/* Сцена сверху. */
.co-gbox.co-sg { padding: 16px }
.co-sg-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.co-sg-col { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border-radius: 18px; border: 1px dashed var(--line) }
.co-sg-col.is-mid { border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); background: color-mix(in srgb, var(--acc) 8%, transparent) }
.co-sg-col em { font: 700 9.5px var(--font-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3); text-align: center }
.co-sg-col.is-mid em { color: var(--acc2-ink) }
.co-sg-chip { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--panel-2); font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap }
.co-sg-chip.is-acc { border-color: color-mix(in srgb, var(--acc) 50%, transparent); color: var(--text) }
.co-sg-you { margin-top: 10px; text-align: center; font: 700 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-3) }
@media (max-width: 420px) { .co-sg-cols { gap: 6px } .co-sg-chip { padding: 5px 8px; font-size: 12px } }
/* Весы. */
.co-bl-post { fill: none; stroke: var(--line-2); stroke-width: 3; stroke-linecap: round }
.co-bl-beam { stroke: var(--text); stroke-width: 4; stroke-linecap: round }
.co-bl-hub { fill: var(--acc) }
.co-bl-str { stroke: var(--line-2); stroke-width: 1.4 }
.co-bl-pan { fill: color-mix(in srgb, var(--acc) 18%, transparent); stroke: var(--acc); stroke-width: 1.4 }
.co-bl-t { font: 700 12px var(--font-mono); fill: var(--acc2-ink) }

/* ── Урок 3.2: сцена сбоку, три признака, «Собери сцену» ── */
.co-ss-floor { stroke: var(--line-2); stroke-width: 1.4 }
.co-ss-you { fill: var(--panel-3); stroke: var(--line-2); stroke-width: 1.2 }
.co-ss-fig { fill: color-mix(in srgb, var(--acc) 30%, var(--panel-2)); stroke: var(--acc); stroke-width: 1.6 }
.co-ss-top { fill: color-mix(in srgb, var(--acc) 50%, var(--panel-2)); stroke: var(--acc); stroke-width: 1.4 }
.co-ss-leg { stroke: var(--acc); stroke-width: 2; stroke-linecap: round }
.co-ss-lbl { font: 700 12px var(--font-mono); fill: var(--acc2-ink) }
.co-ss-note { font: 700 12px var(--font-mono); fill: var(--text) }
#v-quiz .co-ui:has(> #coSs) { justify-items: stretch }
#v-quiz .co-ui:has(> #coSs) > .co-play { justify-self: center; margin-top: 10px }
#v-quiz .co-ui:has(> #coSs) > .co-sl { margin-top: 8px; grid-template-columns: 88px minmax(0, 1fr) 80px }
/* «Собери сцену»: строка партии и три места. */
.co-ds { display: grid; gap: 8px; margin-top: 12px }
.co-ds-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 10px }
.co-ds-row b { font-size: 13px; font-weight: 700 }
.co-ds-row .co-seg { justify-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) }
.co-ds-row .co-seg button { min-width: 0; padding-left: 6px; padding-right: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
@media (max-width: 480px) { .co-ds-row { grid-template-columns: minmax(0, 1fr) } .co-ds-row .co-seg button { font-size: 12px } }
/* Три признака расстояния. */
.co-gbox.co-dcs { padding: 16px }
.co-dc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.co-dc { display: grid; justify-items: center; gap: 6px; padding: 12px 10px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent) }
.co-dc > b { font-size: 13.5px; font-weight: 700 }
.co-dc-ar { font: 700 22px/1 var(--font-mono); color: var(--brass) }
.co-dc-ar.is-up { color: var(--acc2-ink) }
.co-dc-bars { display: flex; align-items: flex-end; gap: 10px; height: 64px }
.co-dc-bars i { display: block; width: 18px; border-radius: 5px 5px 2px 2px; background: var(--acc) }
.co-dc-bars i.is-far { background: color-mix(in srgb, var(--acc) 45%, transparent) }
.co-dc-cap { display: flex; gap: 6px; font: 600 9px var(--font-mono); color: var(--muted-3) }
.co-dc em { font: 700 12px var(--font-mono); font-style: normal; color: var(--text) }
.co-dc-go { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 14px; font: 700 11px var(--font-mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted-3) }
.co-dc-go i { position: relative; display: block; height: 2px; background: var(--acc) }
.co-dc-go i::after { content: ''; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--acc); border-right: 0 }
.co-dc-go b { color: var(--acc2-ink) }

/* ── Урок 3.3: шкала хлопка, помещения, хвосты, чистка реверба ── */
.co-rl-d { stroke: var(--text); stroke-width: 3; stroke-linecap: round }
.co-rl-e { stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round }
.co-rl-t { fill: none; stroke: color-mix(in srgb, var(--acc) 55%, transparent); stroke-width: 1.2 }
.co-rl-hl { fill: color-mix(in srgb, var(--acc) 12%, transparent); stroke: color-mix(in srgb, var(--acc) 40%, transparent) }
.co-rl-k { font: 700 12px var(--font-mono); fill: var(--muted) }
.co-rl-k.is-on { fill: var(--acc2-ink) }
.co-rl-k.is-br { fill: var(--brass) }
.co-rl-br { fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-linejoin: round }
.co-rl-move { animation: co-rl-pre 3.2s ease-in-out infinite alternate }
.co-rl-gap { transform-box: fill-box; transform-origin: left center; animation: co-rl-gap 3.2s ease-in-out infinite alternate }
@keyframes co-rl-pre { 0%, 15% { transform: translateX(0) } 85%, 100% { transform: translateX(var(--dx)) } }
@keyframes co-rl-gap { 0%, 15% { transform: scaleX(1) } 85%, 100% { transform: scaleX(var(--k)) } }
@media (prefers-reduced-motion: reduce) { .co-rl-move { animation: none; transform: translateX(var(--dx)) } .co-rl-gap { animation: none; transform: scaleX(var(--k)) } }
.co-rm-wall { fill: color-mix(in srgb, var(--acc) 8%, transparent); stroke: var(--line-2); stroke-width: 2; stroke-linejoin: round }
.co-rm-ground { stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 4 6 }
.co-rm-ring { fill: none; stroke: var(--acc); stroke-width: 1.6 }
.co-rm-src { fill: var(--acc) }
.co-rm-bar { fill: var(--acc) }
.co-rm-v { font: 700 11px var(--font-mono); fill: var(--acc2-ink) }
#v-quiz .co-ui:has(> #coRoom) { justify-items: stretch }
#v-quiz .co-ui:has(> #coRoom) > .co-seg { justify-self: center; margin-top: 12px }
.co-tl-t { fill: color-mix(in srgb, var(--acc) 22%, transparent); stroke: var(--acc); stroke-width: 1.4 }
.co-tl-ov { fill: color-mix(in srgb, var(--brass) 18%, transparent) }
#v-quiz .co-ui:has(> #coTl, > #coPre) { justify-items: stretch }
#v-quiz .co-ui:has(> #coTl, > #coPre) > .co-play { justify-self: center }
#v-quiz .co-ui:has(> #coTl, > #coPre) > .co-sl { margin-top: 10px; grid-template-columns: 104px minmax(0, 1fr) 60px }
.co-rc-cut { fill: color-mix(in srgb, var(--brass) 12%, transparent) }
.co-rc-before { fill: none; stroke: var(--muted-2); stroke-width: 2; stroke-dasharray: 5 5 }
.co-rc-after { fill: none; stroke: var(--acc); stroke-width: 2.6; stroke-linejoin: round }

/* ── Урок 3.4: волны, гребёнка, микрофоны, лечение ── */
.co-wv2 { fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linejoin: round }
.co-wv2.is-two { stroke: var(--acc2); stroke-dasharray: 5 4 }
.co-wv2.is-flip { stroke: var(--brass) }
.co-wv2.is-sum { stroke: var(--text); stroke-width: 2.8 }
.co-wv2-l { font: 700 12px var(--font-mono); fill: var(--muted) }
.co-wv2-l.is-br { fill: var(--brass) }
.co-wv2-l.is-acc { fill: var(--text) }
.co-wv2-op { font: 700 16px var(--font-mono); fill: var(--muted-3) }
.co-cb { fill: color-mix(in srgb, var(--acc) 22%, transparent); stroke: var(--acc); stroke-width: 1.6; stroke-linejoin: round }
.co-phi { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: auto; border-radius: 7px; border: 1px solid color-mix(in srgb, var(--brass) 55%, transparent);
  font: 700 14px var(--font-mono); color: var(--brass) }
.co-mc-drum { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.4 }
.co-mc-head { fill: var(--panel-3); stroke: var(--line-2); stroke-width: 1.4 }
.co-mc-mic { fill: none; stroke: var(--muted); stroke-width: 3; stroke-linecap: round }
.co-mc-cap { fill: var(--acc) }
.co-mc-way { fill: none; stroke: color-mix(in srgb, var(--acc) 50%, transparent); stroke-width: 1.4; stroke-dasharray: 4 5 }
#v-quiz .co-ui:has(> #coWv2, > #coCb) { justify-items: stretch }
#v-quiz .co-ui:has(> #coWv2, > #coCb) > :is(.co-play, .co-tgl) { justify-self: center; margin-top: 10px }
#v-quiz .co-ui:has(> #coCb) > .co-sl { margin-top: 10px; grid-template-columns: 124px minmax(0, 1fr) 60px }
.co-gbox.co-fxs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px }
.co-fx { display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 50%, transparent); text-align: center }
.co-fx-g { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--acc) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); font: 700 22px var(--font-mono); color: var(--acc2-ink) }
.co-fx-g svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.co-fx b { font-size: 14px; font-weight: 700 }
.co-fx > span:last-child { font: 600 10.5px var(--font-mono); color: var(--muted-3) }
@media (max-width: 420px) { .co-gbox.co-fxs { gap: 6px; padding: 12px } .co-fx { padding: 12px 4px } .co-fx b { font-size: 12.5px } }
.co-gbox.co-mcs { display: grid; gap: 6px }

/* ── Урок 3.5: стереокартина, моно, середина и бока, коррелометр ── */
.co-mm-chip { fill: color-mix(in srgb, var(--acc) 22%, var(--panel)); stroke: color-mix(in srgb, var(--acc) 55%, transparent); stroke-width: 1.2 }
.co-mm-t { font: 700 12px var(--font-mono); fill: var(--text) }
.co-mm-pad { fill: color-mix(in srgb, var(--brass) 24%, transparent); stroke: color-mix(in srgb, var(--brass) 55%, transparent); stroke-width: 1.2 }
.co-cm-pos { fill: none; stroke: var(--acc); stroke-width: 14; stroke-linecap: round }
.co-cm-neg { fill: none; stroke: var(--bad); stroke-width: 14; stroke-linecap: round; opacity: .8 }
.co-cm-needle line { stroke: var(--text); stroke-width: 4; stroke-linecap: round }
.co-cm-hub { fill: var(--text) }
.co-gbox.co-cm { display: grid; justify-items: center; gap: 4px }
.co-gbox.co-cm > div { width: 100% }
.co-gbox.co-cm .co-svg { display: block; width: 100%; height: auto; max-height: clamp(140px, 24vh, 220px) }
.co-cm-v { font: 700 22px var(--font-mono); color: var(--acc2-ink) }
.co-cm-v.is-neg { color: var(--bad) }
#v-quiz .co-ui:has(> .co-cm) { justify-items: stretch }
#v-quiz .co-ui:has(> .co-cm) > :is(.co-tgl, .co-play) { justify-self: center; margin-top: 10px }
.co-ms-ch { fill: color-mix(in srgb, var(--acc) 16%, var(--panel)); stroke: var(--acc); stroke-width: 1.4 }
.co-ms-t { font: 700 16px var(--font-mono); fill: var(--text) }
.co-ms-ar { fill: none; stroke: var(--acc); stroke-width: 2 }
.co-ms-hd { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linejoin: round }
.co-ms-sp { fill: var(--panel-2); stroke: var(--text); stroke-width: 1.8; stroke-linejoin: round }
.co-ms-wave { fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round }
.co-ms-where { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px }
.co-ms-where span { padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--panel-2); font: 700 10.5px var(--font-mono); color: var(--muted) }
.co-gbox.co-msd { padding: 18px 16px 12px }
.co-msd-bar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 4px; height: 74px }
.co-msd-bar i { display: grid; place-content: center; justify-items: center; gap: 4px; border-radius: 16px; font-style: normal; transition: opacity .35s var(--ease) }
.co-msd-bar i.is-s { background: color-mix(in srgb, var(--brass) 22%, transparent); border: 1px solid color-mix(in srgb, var(--brass) 50%, transparent); color: var(--brass) }
.co-msd-bar i.is-m { background: color-mix(in srgb, var(--acc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); color: var(--acc2-ink) }
.co-msd-bar b { font: 700 15px var(--font-mono) }
.co-msd-bar span { font: 600 10px var(--font-mono); color: var(--muted) }
.co-msd.is-mono .co-msd-bar i.is-s { opacity: .12 }
.co-msd-cap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; margin-top: 10px; font: 600 10.5px var(--font-mono); color: var(--muted-3); text-align: center }
@media (prefers-reduced-motion: reduce) { .co-msd-bar i { transition: none } }
#v-quiz .co-visual:has(> .co-msd) > .co-tgl { justify-self: center; margin-top: 10px }
/* То же окно поверх тренажёра (dlgStereo): цвета модуля там нет — акцент приложения. */
.dlg-lr { margin: 0 0 12px }
.dlg-ask { margin: 0 0 14px }
/* Тихая ссылка на статью на итоговой карточке. */
.co-artlink { display: inline-flex; align-items: center; gap: 8px; justify-self: center; margin-top: 4px; padding: 6px 10px; border: 0; border-radius: var(--r-pill);
  background: none; font: 600 13px var(--font-ui); color: var(--acc2-ink, var(--accent-ink)); cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px }
.co-artlink:hover { text-decoration-color: currentColor }
.co-artlink:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px }
.co-artlink svg { flex: none }
