/* Академия BUYHOLD: «Проверь себя», тест модуля, итоговый тест.
   Палитра страницы курса (template-learning-path.php): тёмная карточка #121820→#151c24, действие #95ce5a,
   прогресс и верный ответ #10b981, ошибка #f43f5e. Шрифт наследуется: в статье — шрифт статьи, на курсе — IBM Plex Sans.
   Тема статей перебивает button/p/blockquote/a, поэтому ключевые свойства закреплены !important.
   Маркер: BH_ACADEMY_QUIZ_2026_09_30 */

.bhq, .bhq-mcard, .bhq-fcard, .bhq-goal {
  --bhq-ink: #fff; --bhq-soft: #d1d4dc; --bhq-mute: #9ca3af; --bhq-faint: rgba(255,255,255,.45);
  --bhq-line: rgba(255,255,255,.09); --bhq-line2: rgba(255,255,255,.16);
  --bhq-acc: #95ce5a; --bhq-acc-h: #a9dd78; --bhq-acc-ink: #10240a;
  --bhq-ok: #10b981; --bhq-bad: #f43f5e; --bhq-amber: #ff9800;
}
.bhq { margin: 36px 0 28px; clear: both; }
/* Тема статьи задаёт абзацам text-indent и justify: внутри блока тестов это ломает вопросы и пояснения. */
.bhq p, .bhq-mcard p, .bhq-fcard p, .bhq blockquote, .bhq li { text-indent: 0 !important; text-align: left !important; hyphens: manual; }

.bhq *, .bhq-mcard *, .bhq-fcard * { box-sizing: border-box; }

/* ---------- карточка прогона ---------- */
.bhq-card {
  background: linear-gradient(155deg, #121820, #151c24);
  border: 1px solid #1f2630; border-radius: 8px;
  padding: 22px 26px 24px; color: var(--bhq-ink);
  box-shadow: 0 1px 2px rgba(10, 13, 18,.05), 0 12px 30px rgba(10, 13, 18,.12);
  scroll-margin-top: 90px;
}
.bhq-card--lesson { border-color: rgba(149,206,90,.28); background: linear-gradient(155deg, #090c10, #10151c); }
.bhq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--bhq-line); }
.bhq-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--bhq-acc); line-height: 1.3; }
.bhq-count { font-size: 13px; color: var(--bhq-mute); margin-top: 4px; font-feature-settings: "tnum"; }

/* свечи: одна на вопрос; высота и цвет — результат ответа */
.bhq-candles { display: flex; align-items: flex-end; gap: 5px; height: 30px; flex-shrink: 0; }
.bhq-candle { position: relative; width: 7px; height: 10px; border-radius: 2px; background: rgba(255,255,255,.14); transition: height .35s cubic-bezier(.4,0,.2,1), background-color .2s; }
.bhq-candle::before { content: ""; position: absolute; left: 50%; width: 1px; margin-left: -.5px; top: -4px; bottom: -4px; background: currentColor; opacity: 0; }
.bhq-candle.is-cur { background: var(--bhq-acc); height: 14px; }
.bhq-candle.is-ok { background: var(--bhq-ok); color: var(--bhq-ok); height: 22px; }
.bhq-candle.is-bad { background: var(--bhq-bad); color: var(--bhq-bad); height: 12px; margin-bottom: 8px; }
.bhq-candle.is-ok::before, .bhq-candle.is-bad::before { opacity: .55; }

/* вопрос */
.bhq .bhq-q, .bhq-mstage .bhq-q, .bhq-fstage .bhq-q {
  font-size: 17px !important; line-height: 1.5 !important; font-weight: 600 !important; letter-spacing: -.005em;
  color: var(--bhq-ink) !important; margin: 0 0 16px !important; padding: 0 !important;
}
.bhq-q strong { color: #fff; }

/* варианты */
.bhq-opts { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.bhq-card button.bhq-opt {
  -webkit-appearance: none; appearance: none;
  display: flex !important; align-items: flex-start; gap: 12px;
  width: 100% !important; margin: 0 !important; padding: 13px 16px !important;
  background: rgba(255,255,255,.035) !important; color: var(--bhq-soft) !important;
  border: 1px solid var(--bhq-line2) !important; border-radius: 8px !important; box-shadow: none !important;
  font: inherit !important; font-size: 15px !important; line-height: 1.45 !important; font-weight: 500 !important;
  text-align: left !important; text-transform: none !important; letter-spacing: normal !important;
  cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s;
  min-height: 0 !important; height: auto !important;
}
.bhq-card button.bhq-opt:hover:not(:disabled) { border-color: var(--bhq-acc) !important; background: rgba(149,206,90,.06) !important; color: #fff !important; }
.bhq-card button.bhq-opt:focus-visible { outline: 2px solid var(--bhq-acc); outline-offset: 2px; }
.bhq-mark { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--bhq-line2); transition: .15s; }
.bhq-card--multi-hint .bhq-mark, .bhq-opt[aria-pressed] .bhq-mark { border-radius: 6px; }
.bhq-opt.is-picked .bhq-mark { background: var(--bhq-acc); border-color: var(--bhq-acc); box-shadow: inset 0 0 0 3px #121820; }
.bhq-opt.is-picked { border-color: rgba(149,206,90,.6) !important; color: #fff !important; }
.bhq-card button.bhq-opt:disabled { cursor: default; }
.bhq-card button.bhq-opt.is-right { border-color: var(--bhq-ok) !important; background: rgba(16,185,129,.12) !important; color: #fff !important; }
.bhq-opt.is-right .bhq-mark { background: var(--bhq-ok); border-color: var(--bhq-ok); box-shadow: inset 0 0 0 3px #16261f; }
.bhq-card button.bhq-opt.is-wrong { border-color: var(--bhq-bad) !important; background: rgba(244,63,94,.1) !important; color: #fff !important; }
.bhq-opt.is-wrong .bhq-mark { background: var(--bhq-bad); border-color: var(--bhq-bad); box-shadow: inset 0 0 0 3px #2a1a20; }
.bhq-card button.bhq-opt.is-dim { opacity: .5; }
.bhq-hint { font-size: 12.5px; color: var(--bhq-mute); margin: -4px 0 14px; }

/* число */
.bhq-num { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.bhq-card input.bhq-input {
  -webkit-appearance: none; appearance: none;
  width: 180px !important; max-width: 100%; height: 48px !important; margin: 0 !important; padding: 0 14px !important;
  background: rgba(255,255,255,.05) !important; color: #fff !important;
  border: 1px solid var(--bhq-line2) !important; border-radius: 8px !important; box-shadow: none !important;
  font: inherit !important; font-size: 18px !important; font-weight: 600 !important; font-feature-settings: "tnum";
}
.bhq-card input.bhq-input:focus { outline: none; border-color: var(--bhq-acc) !important; box-shadow: 0 0 0 3px rgba(149,206,90,.18) !important; }
.bhq-num.is-right input.bhq-input { border-color: var(--bhq-ok) !important; }
.bhq-num.is-wrong input.bhq-input { border-color: var(--bhq-bad) !important; }
.bhq-unit { font-size: 15px; color: var(--bhq-mute); }

/* пояснения */
.bhq-fb:empty { display: none; }
.bhq-fb { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 16px; }
.bhq-exp { border-radius: 8px; padding: 12px 16px 13px; background: rgba(255,255,255,.03); border-left: 3px solid var(--bhq-line2); animation: bhqIn .25s ease; }
.bhq-exp.is-right { border-left-color: var(--bhq-ok); background: rgba(16,185,129,.07); }
.bhq-exp.is-wrong { border-left-color: var(--bhq-bad); background: rgba(244,63,94,.06); }
.bhq-exp-h { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.4; }
.bhq-exp.is-right .bhq-exp-h .bhq-i { color: var(--bhq-ok); }
.bhq-exp.is-wrong .bhq-exp-h .bhq-i { color: var(--bhq-bad); }
.bhq-card .bhq-exp p { margin: 6px 0 0 !important; padding: 0 !important; font-size: 14.5px !important; line-height: 1.55 !important; color: var(--bhq-soft) !important; }
.bhq-i { width: 16px; height: 16px; flex-shrink: 0; vertical-align: -3px; margin-top: 1px; }
.bhq-card blockquote.bhq-ref {
  margin: 2px 0 0 !important; padding: 10px 16px !important; border: 0 !important; border-left: 2px solid rgba(149,206,90,.45) !important;
  background: transparent !important; box-shadow: none !important; quotes: none;
  font-size: 13.5px !important; line-height: 1.5 !important; font-style: normal !important; font-weight: 400 !important; color: var(--bhq-soft) !important;
}
.bhq-card blockquote.bhq-ref::before, .bhq-card blockquote.bhq-ref::after { content: none !important; display: none !important; }
.bhq-ref span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bhq-faint); margin-bottom: 3px; }
.bhq-card a.bhq-ref-link { align-self: flex-start; font-size: 13.5px !important; color: var(--bhq-acc) !important; text-decoration: none !important; border-bottom: 1px solid rgba(149,206,90,.35) !important; }
.bhq-card a.bhq-ref-link:hover { color: var(--bhq-acc-h) !important; }

/* кнопки */
.bhq-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bhq-actions:empty { display: none; }
.bhq-card .bhq-btn, .bhq-mcard .bhq-btn, .bhq-fcard .bhq-btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  width: auto !important; min-height: 46px; margin: 0 !important; padding: 12px 20px !important;
  border-radius: 8px !important; border: 1px solid transparent !important; box-shadow: none !important;
  font: inherit !important; font-size: 14.5px !important; font-weight: 700 !important; line-height: 1.2 !important;
  text-transform: none !important; letter-spacing: normal !important; text-decoration: none !important;
  cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s, color .15s;
}
.bhq-card .bhq-btn--go, .bhq-mcard .bhq-btn--go, .bhq-fcard .bhq-btn--go { background: var(--bhq-acc) !important; color: var(--bhq-acc-ink) !important; }
.bhq-card .bhq-btn--go:hover:not(:disabled), .bhq-mcard .bhq-btn--go:hover, .bhq-fcard .bhq-btn--go:hover { background: var(--bhq-acc-h) !important; transform: translateY(-1px); }
.bhq-card .bhq-btn--go:disabled { opacity: .45; cursor: default; }
.bhq-card .bhq-btn--ghost, .bhq-fcard .bhq-btn--ghost { background: transparent !important; color: var(--bhq-soft) !important; border-color: var(--bhq-line2) !important; }
.bhq-card .bhq-btn--ghost:hover, .bhq-fcard .bhq-btn--ghost:hover { border-color: var(--bhq-acc) !important; color: #fff !important; }
.bhq-card .bhq-btn:focus-visible, .bhq-mcard .bhq-btn:focus-visible, .bhq-fcard .bhq-btn:focus-visible { outline: 2px solid var(--bhq-acc); outline-offset: 2px; }
.bhq-mcard .bhq-btn--sm { min-height: 40px; padding: 9px 16px !important; font-size: 13.5px !important; }
.bhq-btn .bhq-i { width: 15px; height: 15px; margin: 0; }

/* итог */
.bhq-sum { display: flex; align-items: center; gap: 18px; margin: 0 0 12px; }
.bhq-score { display: flex; align-items: baseline; gap: 10px; }
.bhq-score b { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: #fff; font-feature-settings: "tnum"; }
.bhq-score span { font-size: 15px; color: var(--bhq-mute); }
.bhq-card p.bhq-sum-msg { margin: 0 0 18px !important; padding: 0 !important; font-size: 15px !important; line-height: 1.55 !important; color: var(--bhq-soft) !important; }
.bhq-actions--sum { margin-top: 4px; }
.bhq-course { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--bhq-line); font-size: 13px; color: var(--bhq-mute); }
.bhq-card .bhq-course a { color: var(--bhq-acc) !important; text-decoration: none !important; }
.bhq-review-h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bhq-faint); margin: 4px 0 8px; }
.bhq-card ul.bhq-review { margin: 0 0 18px !important; padding: 0 !important; list-style: none !important; display: flex; flex-direction: column; gap: 6px; }
.bhq-card ul.bhq-review li { margin: 0 !important; padding: 0 0 0 14px !important; position: relative; font-size: 14px; line-height: 1.45; }
.bhq-card ul.bhq-review li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--bhq-bad); }
.bhq-card ul.bhq-review a { color: var(--bhq-soft) !important; text-decoration: none !important; border-bottom: 1px solid var(--bhq-line2); }
.bhq-card ul.bhq-review a:hover { color: #fff !important; border-color: var(--bhq-acc); }

/* практика */
.bhq-practice { border: 1px dashed var(--bhq-line2); border-radius: 8px; padding: 14px 16px; margin: 0 0 18px; }
.bhq-practice.is-ok { border-style: solid; border-color: rgba(16,185,129,.45); background: rgba(16,185,129,.06); }
.bhq-practice-h { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14.5px; }
.bhq-practice .bhq-practice-h .bhq-i { color: var(--bhq-bad); }
.bhq-practice.is-ok .bhq-practice-h .bhq-i { color: var(--bhq-ok); }
.bhq-card .bhq-practice p { margin: 6px 0 0 !important; font-size: 14px !important; line-height: 1.5 !important; color: var(--bhq-soft) !important; }
.bhq-card .bhq-practice p.bhq-practice-s { color: var(--bhq-mute) !important; font-size: 13px !important; margin-bottom: 12px !important; }
.bhq-practice .bhq-actions { margin-top: 10px; }

/* ---------- страница курса ---------- */
.bhq-mcard {
  margin: 4px 0 0 26px; background: #fff; border: 1px solid #e6e9ee; border-left: 3px solid var(--bhq-amber);
  border-radius: 8px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  box-shadow: 0 1px 2px rgba(10, 13, 18,.04), 0 10px 26px rgba(10, 13, 18,.07);
}
.bhq-mcard-t { flex: 1; min-width: 240px; }
.bhq-kick { display: flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; margin-bottom: 4px; }
.bhq-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bhq-amber); }
.bhq-mcard h3 { font-size: 16.5px !important; font-weight: 600 !important; line-height: 1.25 !important; letter-spacing: -.01em; color: #121820 !important; margin: 0 !important; }
.bhq-mcard p { font-size: 12.5px !important; line-height: 1.45 !important; color: #4a5568 !important; margin: 4px 0 0 !important; max-width: 62ch; }
.bhq-mcard-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.bhq-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #f0f2f5; color: #6b7280; white-space: nowrap; }
.bhq-pill .bhq-i { width: 13px; height: 13px; margin: 0; }
.bhq-pill.is-ok { background: rgba(16,185,129,.12); color: #0e9f6e; }
.bhq-pill.is-try { background: #fff7e6; color: #b07d12; }
.bhq-mcard.is-running .bhq-mcard-r .bhq-btn, .bhq-fcard.is-running > .bhq-actions { display: none !important; }
.bhq-mstage { flex-basis: 100%; display: none; }
.bhq-mstage.is-open { display: block; margin-top: 4px; }

.bhq-fcard {
  margin: 8px 0 18px; background: linear-gradient(155deg, #121820, #151c24); border: 1px solid #1f2630;
  border-radius: 8px; padding: 26px 28px; color: #fff; box-shadow: 0 1px 2px rgba(10, 13, 18,.04), 0 10px 26px rgba(10, 13, 18,.07);
}
.bhq-fcard h3 { color: #fff !important; font-size: 22px !important; font-weight: 700 !important; letter-spacing: -.025em; margin: 8px 0 6px !important; }
.bhq-fcard > p { color: var(--bhq-soft) !important; font-size: 14.5px !important; line-height: 1.55 !important; margin: 0 0 16px !important; max-width: 62ch; }
.bhq-fstat { margin: 0 0 16px; }
.bhq-fstat .bhq-pill { background: rgba(255,255,255,.06); color: var(--bhq-soft); }
.bhq-fstat .bhq-pill.is-ok { background: rgba(16,185,129,.16); color: #34d399; }
.bhq-fstat .bhq-pill.is-try { background: rgba(255,152,0,.12); color: #fbbf24; }
.bhq-fstage { display: none; }
.bhq-fstage.is-open { display: block; margin-top: 18px; }
.bhq-fstage .bhq-card { padding: 20px 0 0; background: none; border: 0; border-top: 1px solid var(--bhq-line); border-radius: 0; box-shadow: none; }

.bhq-goal { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: var(--bhq-mute); }
.bhq-goal b { color: var(--bhq-soft); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.bhq-goal b.is-ok { color: #34d399; }
.bhq-goal .bhq-i { width: 13px; height: 13px; margin: 0; }
.bhq-goal a { color: var(--bhq-acc); text-decoration: none; font-weight: 600; }


/* ---------- урок: раздел с заголовком (H2 попадает в оглавление), внутри плоский прогон ---------- */
.bhq.bhq--lesson {
  background: linear-gradient(155deg, #090c10, #10151c); border: 1px solid rgba(149,206,90,.28); border-radius: 8px;
  padding: 24px 26px 22px; color: var(--bhq-ink); box-shadow: 0 1px 2px rgba(10, 13, 18,.05), 0 12px 30px rgba(10, 13, 18,.12);
  scroll-margin-top: 110px;
}
.bhq.bhq--lesson h2.bhq-title {
  font-size: 22px !important; line-height: 1.25 !important; font-weight: 700 !important; letter-spacing: -.02em !important;
  color: #fff !important; margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; background: none !important;
  text-align: left !important; text-transform: none !important; -webkit-text-fill-color: #fff !important;
}
.bhq.bhq--lesson h2.bhq-title::before, .bhq.bhq--lesson h2.bhq-title::after { content: none !important; display: none !important; }
.bhq.bhq--lesson p.bhq-sub { margin: 0 0 18px !important; padding: 0 !important; font-size: 14.5px !important; line-height: 1.5 !important; color: var(--bhq-mute) !important; }
.bhq-card.bhq-card--flat { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.bhq-card--flat .bhq-head { align-items: center; padding-bottom: 12px; margin-bottom: 16px; }
.bhq-card--flat .bhq-count { margin-top: 0; font-size: 13.5px; }
.bhq-card--flat .bhq-candles { height: 22px; }

/* разбор ошибок в итоге */
.bhq-miss { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.bhq-miss-i { border-left: 2px solid var(--bhq-bad); background: rgba(255,255,255,.03); border-radius: 0 8px 8px 0; padding: 10px 14px; }
.bhq-card p.bhq-miss-q { margin: 0 0 6px !important; font-size: 13.5px !important; line-height: 1.45 !important; color: var(--bhq-mute) !important; }
.bhq-card p.bhq-miss-a { margin: 0 !important; display: flex; gap: 7px; align-items: flex-start; font-size: 14px !important; line-height: 1.45 !important; color: #fff !important; font-weight: 600; }
.bhq-miss-a .bhq-i { color: var(--bhq-ok); margin-top: 2px; }

/* кнопки итога: двухстрочная «Следующий урок» и тихая «Пройти ещё раз» */
.bhq-card .bhq-btn--next { padding: 9px 18px !important; text-align: left; }
.bhq-btn-2l { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.bhq-btn-2l small { font-size: 11.5px; font-weight: 600; opacity: .72; letter-spacing: .01em; }
.bhq-card button.bhq-btn--text {
  display: inline-flex !important; min-height: 0; margin: 12px 0 0 !important; padding: 6px 0 !important;
  background: none !important; border: 0 !important; color: var(--bhq-mute) !important; font-size: 13.5px !important; font-weight: 600 !important;
}
.bhq-card button.bhq-btn--text:hover { color: #fff !important; }


/* ---------- Светлый вариант блока урока (.bhq--light): на сравнение владельцу, 30.09 ----------
   Карточка-«лист» в цвете светлого тела страницы курса (#f7f9fc), текст как в статье, акценты те же. */
.bhq.bhq--lesson.bhq--light {
  --bhq-ink: #121820; --bhq-soft: #4a5568; --bhq-mute: #6b7280; --bhq-faint: #9ca3af;
  --bhq-line: #e6e9ee; --bhq-line2: #d4dae2;
  background: #f7f9fc; border: 1px solid #e6e9ee; border-top: 3px solid var(--bhq-acc);
  box-shadow: 0 1px 2px rgba(10, 13, 18,.04), 0 10px 26px rgba(10, 13, 18,.06); color: var(--bhq-ink);
}
.bhq.bhq--light h2.bhq-title { color: #121820 !important; -webkit-text-fill-color: #121820 !important; }
.bhq--light .bhq-q, .bhq--light .bhq-q strong { color: #121820 !important; }
.bhq--light .bhq-candle:not(.is-ok):not(.is-bad):not(.is-cur) { background: #dfe4ea; }
.bhq--light .bhq-card button.bhq-opt { background: #fff !important; color: #121820 !important; border-color: #d4dae2 !important; }
.bhq--light .bhq-card button.bhq-opt:hover:not(:disabled) { background: #f4faee !important; border-color: var(--bhq-acc) !important; color: #121820 !important; }
.bhq--light .bhq-mark { border-color: #c3cad3; }
.bhq--light .bhq-opt.is-picked .bhq-mark { box-shadow: inset 0 0 0 3px #fff; }
.bhq--light .bhq-card button.bhq-opt.is-right { background: #ecfdf5 !important; color: #064e3b !important; border-color: var(--bhq-ok) !important; }
.bhq--light .bhq-opt.is-right .bhq-mark { box-shadow: inset 0 0 0 3px #ecfdf5; }
.bhq--light .bhq-card button.bhq-opt.is-wrong { background: #fff1f2 !important; color: #7f1d2d !important; border-color: var(--bhq-bad) !important; }
.bhq--light .bhq-opt.is-wrong .bhq-mark { box-shadow: inset 0 0 0 3px #fff1f2; }
.bhq--light .bhq-card button.bhq-opt.is-dim { opacity: .55; }
.bhq--light .bhq-exp { background: #fff; border: 1px solid #e6e9ee; border-left-width: 3px; }
.bhq--light .bhq-exp.is-right { background: #fff; border-left-color: var(--bhq-ok); }
.bhq--light .bhq-exp.is-wrong { background: #fff; border-left-color: var(--bhq-bad); }
.bhq--light .bhq-exp-h { color: #121820; }
.bhq--light .bhq-card .bhq-exp p { color: #4a5568 !important; }
.bhq--light .bhq-card blockquote.bhq-ref { color: #4a5568 !important; border-left-color: rgba(122,184,66,.6) !important; }
.bhq--light .bhq-card input.bhq-input { background: #fff !important; color: #121820 !important; border-color: #d4dae2 !important; }
.bhq--light .bhq-num.is-right input.bhq-input { border-color: var(--bhq-ok) !important; }
.bhq--light .bhq-num.is-wrong input.bhq-input { border-color: var(--bhq-bad) !important; }
.bhq--light .bhq-score b { color: #121820; }
.bhq--light .bhq-card p.bhq-sum-msg { color: #4a5568 !important; }
.bhq--light .bhq-miss-i { background: #fff; border: 1px solid #e6e9ee; border-left: 2px solid var(--bhq-bad); }
.bhq--light .bhq-card p.bhq-miss-a { color: #121820 !important; }
.bhq--light .bhq-card .bhq-btn--ghost { color: #121820 !important; border-color: #d4dae2 !important; background: #fff !important; }
.bhq--light .bhq-card .bhq-btn--ghost:hover { border-color: var(--bhq-acc) !important; color: #121820 !important; }
.bhq--light .bhq-card button.bhq-btn--text { color: #6b7280 !important; }
.bhq--light .bhq-card button.bhq-btn--text:hover { color: #121820 !important; }
.bhq--light .bhq-card .bhq-course a { color: #5a8f2e !important; }
.bhq--light .bhq-eyebrow { color: #5a8f2e; }


/* Тест модуля внутри светлой карточки курса: тот же светлый вид, что у «Проверьте себя» в уроке */
.bhq-mstage.bhq--light {
  --bhq-ink: #121820; --bhq-soft: #4a5568; --bhq-mute: #6b7280; --bhq-faint: #9ca3af; --bhq-line: #e6e9ee; --bhq-line2: #d4dae2;
  border-top: 1px solid #e6e9ee; padding-top: 16px; color: #121820;
}
.bhq-mstage.bhq--light .bhq-q { color: #121820 !important; }

@keyframes bhqIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bhq-candle, .bhq-exp, .bhq-card .bhq-btn { transition: none; animation: none; } }

@media (max-width: 640px) {
  .bhq { margin: 28px -4px 22px; }
  .bhq-card { padding: 18px 16px 20px; border-radius: 8px; }
  .bhq-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .bhq-candles { height: 26px; }
  .bhq .bhq-q, .bhq-mstage .bhq-q, .bhq-fstage .bhq-q { font-size: 16px !important; }
  .bhq-card button.bhq-opt { padding: 12px 13px !important; font-size: 14.5px !important; }
  .bhq-card .bhq-btn { width: 100% !important; }
  .bhq-score b { font-size: 38px; }
  .bhq-mcard { margin-left: 0; padding: 14px 16px; }
  .bhq-mcard-r { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  .bhq-fcard { padding: 20px 16px; border-radius: 8px; }
  .bhq-card input.bhq-input { width: 100% !important; }
  .bhq.bhq--lesson { padding: 18px 16px 18px; border-radius: 8px; }
  .bhq.bhq--lesson h2.bhq-title { font-size: 20px !important; }
  .bhq-card--flat .bhq-head { flex-direction: row; align-items: center; }
  .bhq-card button.bhq-btn--text { width: auto !important; }
}

/* BH_COURSE_DONE_CTA_2026_10_06 (26.2): следующий шаг после «курс пройден» в трейдинговом курсе */
.bhq-offer { border: 1px solid var(--bhq-line2); border-left: 3px solid var(--bhq-acc); border-radius: 8px; padding: 14px 16px; margin: 0 0 18px; }
.bhq-offer-h { color: #fff; font-size: 14.5px; font-weight: 700; }
.bhq-card .bhq-offer p { margin: 6px 0 0 !important; font-size: 14px !important; line-height: 1.5 !important; color: var(--bhq-soft) !important; }
.bhq-card .bhq-offer p.bhq-offer-note { margin-top: 10px !important; font-size: 12.5px !important; color: var(--bhq-mute) !important; }
.bhq-offer .bhq-actions { margin-top: 12px; }
