/* ============ BUYHOLD CANONICAL TOKENS (from bh-tokens.css) ============ */
:root {
  --bh-bg-dark: #131722;
  --bh-bg-dark-deep: #0d1117;
  --bh-bg-card: #1a1f2a;
  --bh-bg-card-2: #1e2433;
  --bh-bg-elev: #252a33;
  --bh-bg-light: #ffffff;
  --bh-bg-light-alt: #f7f9fc;
  --bh-bg-light-soft: #f0f2f5;
  --bh-accent: #95ce5a;
  --bh-accent-hover: #a9dd78;
  --bh-accent-dark: #7ab842;
  --bh-accent-rgb: 149, 206, 90;
  --bh-blue: #5a95ce;
  --bh-blue-rgb: 90, 149, 206;
  --bh-text-on-dark: #ffffff;
  --bh-text-on-dark-soft: #d1d4dc;
  --bh-text-on-dark-muted: #9ca3af;
  --bh-text-on-dark-faint: rgba(255, 255, 255, 0.45);
  --bh-text-on-light: #1a1f2a;
  --bh-text-on-light-soft: #4a5568;
  --bh-text-on-light-muted: #6b7280;
  --bh-border-dark: #2a2e39;
  --bh-border-light: #e6e9ee;
  --bh-border-soft: rgba(255, 255, 255, 0.08);
  --bh-success: #10b981;
  --bh-danger: #f43f5e;
  --bh-danger-rgb: 244, 63, 94;
  --bh-warning: #ff9800;
  --bh-radius-lg: 20px;
  --bh-radius-md: 14px;
  --bh-radius-sm: 10px;
  --bh-radius-pill: 9999px;
  --bh-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --bh-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08), 0 16px 48px rgba(0, 0, 0, 0.05);
  --bh-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bh-font-mono: 'Fira Code', 'SF Mono', Consolas, monospace;
  --bh-font-display-italic: 'PT Serif', Georgia, serif;
  --bh-container-max: 1300px;
  --bh-transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ SCOPE & RESET (isolated under .bh-rc) ============ */
.bh-rc,
.bh-rc *,
.bh-rc *::before,
.bh-rc *::after { box-sizing: border-box; }

.bh-rc {
  font-family: var(--bh-font-body);
  color: var(--bh-text-on-light);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
}
.bh-rc .hero-sub,
.bh-rc .q-title,
.bh-rc .q-hint,
.bh-rc .opt-title,
.bh-rc .opt-desc,
.bh-rc .result-sub,
.bh-rc .disclaimer p,
.bh-rc .faq-item p {
  text-align: left !important;
  text-indent: 0 !important;
}

.bh-rc-page {
  background: var(--bh-bg-light);
  min-width: 0 !important;
}
html body.bh-rc-page #page {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* ============ INTERACTIVE OVERRIDE (defeat theme button/input styling) ============ */
.bh-rc button,
.bh-rc input,
.bh-rc select,
.bh-rc textarea {
  font-family: var(--bh-font-body) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  box-shadow: none;
}
.bh-rc-page .bh-rc .btn-primary {
  background: var(--bh-bg-dark) !important;
  color: var(--bh-text-on-dark) !important;
  border-color: transparent !important;
}
.bh-rc-page .bh-rc .btn-primary:hover {
  background: var(--bh-accent-dark) !important;
  color: var(--bh-bg-dark) !important;
  border-color: var(--bh-accent-dark) !important;
}
.bh-rc-page .bh-rc .btn-ghost {
  background: transparent !important;
  color: var(--bh-text-on-light-soft) !important;
  border-color: var(--bh-border-light) !important;
}
.bh-rc-page .bh-rc .btn-ghost:hover:not(:disabled) {
  border-color: var(--bh-bg-dark) !important;
  color: var(--bh-bg-dark) !important;
}
.bh-rc-page .bh-rc .btn:disabled {
  opacity: .4 !important;
  cursor: not-allowed;
}
.bh-rc .disclaimer a {
  color: var(--bh-accent) !important;
  text-decoration: underline;
  text-decoration-color: rgba(var(--bh-accent-rgb), 0.4);
  text-underline-offset: 2px;
}
.bh-rc .disclaimer a:hover {
  text-decoration-color: var(--bh-accent) !important;
}
/* result section dark — links default theme color may show black on dark */
.bh-rc .result a {
  color: var(--bh-accent);
}
.bh-rc .result a:hover {
  color: var(--bh-accent-hover);
}

/* Theme container override — checker page is full-bleed (no theme wrapper limits) */
.bh-rc-page #content,
.bh-rc-page .site-content,
.bh-rc-page #primary,
.bh-rc-page .content-area,
.bh-rc-page .site-main {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  float: none !important;
}
.bh-rc-page #secondary,
.bh-rc-page .widget-area,
.bh-rc-page .entry-header,
.bh-rc-page .entry-footer,
.bh-rc-page .post-navigation,
.bh-rc-page .comments-area {
  display: none !important;
}

.bh-rc a { color: var(--bh-accent-dark); text-decoration: none; transition: color var(--bh-transition); }
.bh-rc a:hover { color: var(--bh-accent); }

.bh-rc .container {
  width: min(100%, var(--bh-container-max)) !important;
  max-width: var(--bh-container-max) !important;
  min-width: 0;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ TOOL HERO (full-bleed dark section) ============ */
.tool-hero {
  background: linear-gradient(135deg, var(--bh-bg-card) 0%, var(--bh-bg-card-2) 100%);
  padding: 32px 0 28px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bh-border-dark);
}
.tool-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: 8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--bh-accent-rgb), 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.tool-hero::before {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(90, 149, 206, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.tool-hero > .container { position: relative; z-index: 1; }

.hero-row1 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--bh-radius-md);
  background: linear-gradient(135deg, var(--bh-accent), var(--bh-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bh-bg-dark);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.hero-icon svg { width: 28px; height: 28px; }
.hero-titles {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bh-font-body);
  font-size: 12px;
  color: var(--bh-text-on-dark-muted);
  margin: 0 0 6px;
}
.hero-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bh-accent);
  box-shadow: 0 0 0 3px rgba(var(--bh-accent-rgb), 0.18);
}
.hero-meta-sep { opacity: .35; }
.tool-hero h1 {
  font-family: var(--bh-font-body);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.022em;
  text-align: left !important;
  color: var(--bh-text-on-dark);
  margin: 0 0 8px;
}
.tool-hero h1 em {
  font-family: var(--bh-font-display-italic);
  font-style: italic;
  font-weight: 700;
  color: var(--bh-accent);
}
.hero-sub {
  font-size: 15px;
  color: var(--bh-text-on-dark-soft);
  margin: 0;
  max-width: 62ch;
}

.hero-pills {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(var(--bh-accent-rgb), 0.12);
  color: var(--bh-accent);
  border-radius: var(--bh-radius-pill);
  border: 1px solid rgba(var(--bh-accent-rgb), 0.25);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--bh-font-body);
}
.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bh-accent);
  box-shadow: 0 0 8px rgba(var(--bh-accent-rgb), 0.6);
}

/* tool tabs */
.hero-tabs {
  display: flex;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bh-border-soft);
  color: var(--bh-text-on-dark-soft);
  border-radius: var(--bh-radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--bh-transition);
  text-decoration: none;
}
.tab:hover { background: var(--bh-bg-elev); color: var(--bh-text-on-dark); }
.tab.is-active {
  background: var(--bh-accent);
  color: var(--bh-bg-dark);
  border-color: var(--bh-accent);
  box-shadow: 0 4px 12px rgba(var(--bh-accent-rgb), 0.3);
}
.tab-icon {
  width: 14px; height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* hero stat strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--bh-border-soft);
  position: relative;
  z-index: 1;
}
.hero-stat {
  padding: 0 20px;
  border-right: 1px solid var(--bh-border-soft);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; padding-right: 0; }
.hero-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-text-on-dark-muted);
  margin: 0 0 6px;
  font-weight: 500;
}
.hero-stat-value {
  font-family: var(--bh-font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--bh-text-on-dark);
  letter-spacing: -.02em;
  line-height: 1;
}
.hero-stat-value small { color: var(--bh-text-on-dark-muted); font-size: 12px; font-weight: 400; margin-left: 4px; }

/* ============ WIZARD (light section) ============ */
.wizard {
  background: var(--bh-bg-light-alt);
  padding: 64px 0 80px;
}
.wizard-shell {
  /* no card-chrome — wizard sits directly on .wizard light-alt background */
  background: transparent;
  border: 0;
  border-radius: 0;
}
.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--bh-border-light);
}
.wizard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--bh-accent-dark);
}
.wizard-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--bh-accent-dark);
}
.wizard-counter {
  font-family: var(--bh-font-body);
  font-size: 13px;
  color: var(--bh-text-on-light-muted);
}
.wizard-counter strong { color: var(--bh-bg-dark); font-weight: 600; }

.wizard-progress {
  height: 3px;
  background: var(--bh-bg-light-soft);
  position: relative;
  margin: 0 0 24px;
  border-radius: 999px;
  overflow: hidden;
}
.wizard-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--bh-accent-dark), var(--bh-accent));
  width: 12.5%;
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}

.wizard-body { padding: 16px 0 0; }
.q-slide { display: none; max-width: 720px; margin: 0 auto; }
.q-slide.is-active { display: block; animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.q-title {
  font-family: var(--bh-font-body);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.018em;
  text-align: left !important;
  text-wrap: balance;
  color: var(--bh-bg-dark);
  margin: 0 0 14px;
}
.q-title em {
  font-family: var(--bh-font-display-italic);
  font-style: italic;
  color: var(--bh-accent-dark);
}
.q-hint {
  font-size: 14.5px;
  color: var(--bh-text-on-light-soft);
  margin: 0 0 32px;
  max-width: 62ch;
  line-height: 1.55;
}
.q-hint code {
  font-family: var(--bh-font-mono);
  font-size: 12.5px;
  background: var(--bh-bg-light-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--bh-bg-dark);
}

/* options */
.opts { display: flex; flex-direction: column; gap: 10px; }

/* Q5 inline conditional blocks — раскрываются под выбранной опцией */
.bh-rc .opt-conditional {
  margin: -4px 0 6px 32px;
  padding: 18px 22px;
  background: var(--bh-bg-light);
  border: 1.5px solid var(--bh-accent);
  border-left-width: 4px;
  border-radius: var(--bh-radius-md);
  box-shadow: 0 4px 14px rgba(var(--bh-accent-rgb), 0.08);
  animation: bhRcCondReveal .3s cubic-bezier(.2,.7,.2,1);
}
.bh-rc .opt-conditional[hidden] { display: none; }
@keyframes bhRcCondReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.bh-rc .opt-cond-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--bh-accent-dark);
  margin: 0 0 6px;
  line-height: 1.4;
}
.bh-rc .opt-cond-title small {
  font-weight: 400;
  color: var(--bh-text-on-light-muted);
}
.bh-rc .opt-cond-hint {
  font-size: 13px;
  color: var(--bh-text-on-light-soft);
  margin: 0 0 14px;
  line-height: 1.55;
}
.bh-rc .opt-cond-hint strong { color: var(--bh-bg-dark); }
.bh-rc .opt-cond-group {
  margin: 0 0 10px;
  padding: 10px 0 0;
  border-top: 1px solid var(--bh-border-light);
}
.bh-rc .opt-cond-group:first-of-type { border-top: 0; padding-top: 0; }
.bh-rc .opt-cond-legend {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bh-accent-dark);
  margin: 0 0 8px;
}
.bh-rc .opt-cond-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bh-rc .opt-cond-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bh-bg-light-alt);
  border: 1px solid var(--bh-border-light);
  border-radius: var(--bh-radius-sm);
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--bh-text-on-light);
  transition: all var(--bh-transition);
}
.bh-rc .opt-cond-radio:hover {
  border-color: var(--bh-accent);
  background: rgba(var(--bh-accent-rgb), 0.04);
}
.bh-rc .opt-cond-radio input[type="radio"] {
  margin: 3px 0 0;
  accent-color: var(--bh-accent-dark);
  flex-shrink: 0;
}
.bh-rc .opt-cond-radio strong { color: var(--bh-bg-dark); }
.bh-rc .opt-cond-radio:has(input:checked) {
  border-color: var(--bh-accent-dark);
  background: rgba(var(--bh-accent-rgb), 0.08);
  box-shadow: inset 3px 0 0 var(--bh-accent-dark);
}
.bh-rc .matrix-empty {
  padding: 24px 26px;
  color: var(--bh-text-on-dark-muted);
  font-size: 14px;
  text-align: center;
  font-style: italic;
}

@media (max-width: 640px) {
  .bh-rc .opt-conditional { margin-left: 0; padding: 14px 16px; }
}
.opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bh-bg-light);
  border: 1.5px solid var(--bh-border-light);
  border-radius: var(--bh-radius-md);
  cursor: pointer;
  transition: all var(--bh-transition);
}
.opt:hover { border-color: var(--bh-accent); background: var(--bh-bg-light-alt); }
.opt:focus-visible {
  outline: 3px solid rgba(var(--bh-accent-rgb), 0.32);
  outline-offset: 3px;
  border-color: var(--bh-accent-dark);
  background: var(--bh-bg-light-alt);
}
.opt.is-selected {
  border-color: var(--bh-accent-dark);
  background: linear-gradient(180deg, var(--bh-bg-light) 0%, rgba(var(--bh-accent-rgb), 0.06) 100%);
  box-shadow: 0 6px 16px rgba(var(--bh-accent-rgb), 0.1);
}
.opt-mark {
  width: 22px; height: 22px;
  border: 1.5px solid var(--bh-border-light);
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--bh-bg-light);
  position: relative;
  transition: all var(--bh-transition);
}
.opt-mark.is-radio { border-radius: 50%; }
.opt-mark.is-check { border-radius: 6px; }
.opt.is-selected .opt-mark { border-color: var(--bh-accent-dark); background: var(--bh-accent-dark); }
.opt.is-selected .opt-mark.is-radio::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--bh-bg-light);
}
.opt.is-selected .opt-mark.is-check::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M5 11l4 4 8-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/16px no-repeat;
}
.opt-body { flex: 1; min-width: 0; }
.opt-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--bh-bg-dark);
  margin: 0 0 4px;
}
.opt-desc {
  font-size: 13px;
  color: var(--bh-text-on-light-muted);
  margin: 0;
  line-height: 1.5;
}
.opt-tag {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--bh-font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bh-bg-light-soft);
  color: var(--bh-text-on-light-muted);
}
.opt-tag.is-ok { background: rgba(var(--bh-accent-rgb), 0.15); color: var(--bh-accent-dark); }
.opt-tag.is-warn { background: rgba(var(--bh-danger-rgb), 0.12); color: var(--bh-danger); }

/* Q4 date field (conditional under leave/return) */
.q-date-field {
  margin-top: 18px;
  padding: 18px 22px;
  background: var(--bh-bg-light);
  border: 1.5px solid var(--bh-accent);
  border-radius: var(--bh-radius-md);
  box-shadow: 0 4px 14px rgba(var(--bh-accent-rgb), 0.08);
  animation: bhRcDateReveal .35s cubic-bezier(.2,.7,.2,1);
}
.q-date-field[hidden] { display: none; }
@keyframes bhRcDateReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.q-date-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-accent-dark);
  margin: 0 0 10px;
}
.q-date-input {
  font-family: var(--bh-font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 11px 14px;
  border: 1px solid var(--bh-border-light);
  border-radius: var(--bh-radius-sm);
  background: var(--bh-bg-light);
  color: var(--bh-bg-dark);
  width: 220px;
  outline: none;
  transition: border-color var(--bh-transition);
}
.q-date-input:focus {
  border-color: var(--bh-accent);
  box-shadow: 0 0 0 3px rgba(var(--bh-accent-rgb), 0.15);
}
.q-date-hint {
  font-size: 12.5px;
  color: var(--bh-text-on-light-muted);
  margin: 10px 0 0;
  line-height: 1.5;
}

/* number input */
.q-num-wrap {
  background: var(--bh-bg-light-alt);
  border: 1.5px solid var(--bh-border-light);
  border-radius: var(--bh-radius-md);
  padding: 32px 36px;
}
.q-num-bigfield {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bh-border-light);
}
.q-num-bigfield input {
  font-family: var(--bh-font-body);
  font-weight: 600;
  font-size: 88px;
  text-align: center;
  border: 0;
  background: transparent;
  width: 220px;
  color: var(--bh-bg-dark);
  outline: none;
  letter-spacing: -.04em;
  caret-color: var(--bh-accent-dark);
}
.q-num-bigfield-suffix {
  font-family: var(--bh-font-body);
  font-size: 16px;
  color: var(--bh-text-on-light-muted);
}
.q-num-aux {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding-top: 20px;
}
.q-num-aux-cell { text-align: center; }
.q-num-aux-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-text-on-light-muted);
  margin: 0 0 6px;
}
.q-num-aux-value {
  font-family: var(--bh-font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--bh-bg-dark);
}
.q-num-aux-value.is-warn { color: var(--bh-danger); }
.q-num-aux-value.is-ok { color: var(--bh-accent-dark); }

/* wizard nav */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--bh-border-light);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.wizard-hint {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--bh-text-on-light-muted);
  line-height: 1.4;
}
.wizard-hint[hidden] { display: none; }
.bh-rc .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--bh-radius-sm);
  cursor: pointer;
  transition: all var(--bh-transition);
  border: 1px solid transparent;
  background: transparent;
}
.bh-rc .btn-primary {
  background: var(--bh-bg-dark);
  color: var(--bh-text-on-dark);
}
.bh-rc .btn-primary:hover { background: var(--bh-accent-dark); color: var(--bh-bg-dark); }
.bh-rc .btn-ghost {
  background: transparent;
  color: var(--bh-text-on-light-soft);
  border-color: var(--bh-border-light);
}
.bh-rc .btn-ghost:hover:not(:disabled) { border-color: var(--bh-bg-dark); color: var(--bh-bg-dark); }
.bh-rc .btn:disabled { opacity: .4; cursor: not-allowed; }

/* ============ RESULT (dark trader-terminal) ============ */
.result {
  background: var(--bh-bg-dark);
  padding: 64px 0 72px;
  color: var(--bh-text-on-dark);
}
.result[hidden] { display: none !important; }
.result.is-revealed {
  animation: bhRcResultReveal .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes bhRcResultReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.result::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bh-accent), transparent);
  margin-bottom: 64px;
}

.result-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}
.result-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bh-font-body);
  font-size: 12px;
  color: var(--bh-accent);
  margin: 0 0 14px;
}
.result-eyebrow::before {
  content: "";
  width: 24px; height: 1px; background: var(--bh-accent);
}
.result h2 {
  font-family: var(--bh-font-body);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0 0 14px;
  color: var(--bh-text-on-dark);
}
.result h2 em {
  font-family: var(--bh-font-display-italic);
  font-style: italic;
  color: var(--bh-accent);
  font-weight: 700;
}
.result-sub {
  color: var(--bh-text-on-dark-soft);
  font-size: 16px;
  max-width: 60ch;
  margin: 0;
}
.result-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bh-accent), var(--bh-accent-dark));
  color: var(--bh-bg-dark);
  box-shadow: 0 12px 32px rgba(var(--bh-accent-rgb), 0.3);
  flex-shrink: 0;
}
.result-badge-num { font-family: var(--bh-font-body); font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: -.03em; }
.result-badge-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* status (unified dual-card) */
.status-card {
  background: linear-gradient(135deg, var(--bh-bg-card), var(--bh-bg-card-2));
  border-radius: var(--bh-radius-md);
  padding: 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
}
.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--bh-radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--bh-accent-rgb), 0.22), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.status-col {
  padding: 24px 28px;
  position: relative;
}
.status-divider {
  background: linear-gradient(180deg, transparent 0%, var(--bh-border-soft) 20%, var(--bh-border-soft) 80%, transparent 100%);
  width: 1px;
}
.status-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.status-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-text-on-dark-muted);
  font-weight: 600;
}
.status-card-tag {
  font-family: var(--bh-font-body);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(var(--bh-blue-rgb), 0.15);
  color: var(--bh-blue);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}
.status-card-tag.is-ok { background: rgba(var(--bh-accent-rgb), 0.15); color: var(--bh-accent); }
.status-card-tag.is-danger { background: rgba(var(--bh-danger-rgb), 0.15); color: var(--bh-danger); }

/* numeric data badge — informative, not decorative */
.status-card-metric {
  font-family: var(--bh-font-mono);
  font-size: 11.5px;
  color: var(--bh-text-on-dark-muted);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.status-card-main {
  font-family: var(--bh-font-body);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 4px;
  color: var(--bh-text-on-dark);
}
.status-card-aux {
  color: var(--bh-text-on-dark-soft);
  font-size: 13px;
  margin: 0 0 14px;
}
.status-card-list { list-style: none; margin: 0; padding: 0; }
.status-card-list li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--bh-text-on-dark-soft);
  border-top: 1px solid var(--bh-border-soft);
}
.status-card-list li:first-child { border-top: 0; padding-top: 0; }
.status-card-list li::before {
  content: "→";
  color: var(--bh-accent);
  font-family: var(--bh-font-body);
  flex-shrink: 0;
  font-weight: 500;
}

/* matrix table */
.matrix {
  background: var(--bh-bg-card);
  border-radius: var(--bh-radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}
.matrix-head {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 180px 110px;
  gap: 16px;
  padding: 14px 26px;
  background: var(--bh-bg-dark-deep);
  border-bottom: 1px solid var(--bh-border-dark);
  font-family: var(--bh-font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-text-on-dark-muted);
  font-weight: 600;
}
.matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 180px 110px;
  gap: 16px;
  padding: 14px 26px;
  border-bottom: 1px solid var(--bh-border-dark);
  align-items: baseline;
}
.matrix-row:last-child { border-bottom: 0; }
.matrix-row.is-applicable {
  background: linear-gradient(90deg, rgba(var(--bh-accent-rgb), 0.08) 0%, transparent 100%);
  border-left: 3px solid var(--bh-accent);
  padding-left: 23px;
}
.matrix-label {
  font-size: 14px;
  color: var(--bh-text-on-dark);
  font-weight: 500;
}
.matrix-label small {
  display: block;
  font-family: var(--bh-font-body);
  font-size: 11px;
  color: var(--bh-text-on-dark-muted);
  margin-top: 3px;
  font-weight: 400;
}
.matrix-rate {
  font-family: var(--bh-font-body);
  font-size: 13.5px;
  color: var(--bh-text-on-dark);
  font-weight: 500;
}
.matrix-row.is-applicable .matrix-rate { color: var(--bh-accent); }
.matrix-tag {
  font-family: var(--bh-font-body);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--bh-text-on-dark-muted);
  font-weight: 600;
}
.matrix-row.is-applicable .matrix-tag { color: var(--bh-accent); }

/* sources/why panel */
.result-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.aside-card {
  background: var(--bh-bg-card);
  border-radius: var(--bh-radius-md);
  padding: 22px 24px;
  position: relative;
}
.aside-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--bh-radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--bh-accent-rgb), 0.1), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.aside-card h4 {
  font-family: var(--bh-font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-accent);
  margin: 0 0 14px;
  font-weight: 600;
}
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card li {
  font-size: 13px;
  color: var(--bh-text-on-dark-soft);
  padding: 6px 0;
  display: flex;
  gap: 8px;
  line-height: 1.4;
}
.aside-card li::before { content: "—"; color: var(--bh-text-on-dark-muted); flex-shrink: 0; }
.aside-card a { color: var(--bh-text-on-dark); }
.aside-card a:hover { color: var(--bh-accent); }

/* Предупреждение о защищённых выездах (спорная зона ст.207 п.2) */
.bh-rc .result-protected-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 16px;
  padding: 16px 20px;
  background: rgba(var(--bh-accent-rgb), 0.06);
  border: 1px solid rgba(var(--bh-accent-rgb), 0.22);
  border-left: 3px solid var(--bh-accent);
  border-radius: var(--bh-radius-md);
}
.bh-rc .result-protected-notice .rpn-icon {
  font-size: 18px;
  line-height: 1.4;
  color: var(--bh-accent);
  flex-shrink: 0;
}
.bh-rc .result-protected-notice p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bh-text-on-dark-soft);
}

/* disclaimer */
/* CTA на pillar-статью — между result-aside и disclaimer */
.bh-rc .result-cta {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  margin: 0 0 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--bh-bg-card), var(--bh-bg-card-2));
  border: 1px solid var(--bh-border-dark);
  border-left: 3px solid var(--bh-accent);
  border-radius: var(--bh-radius-md);
  color: var(--bh-text-on-dark) !important;
  text-decoration: none !important;
  transition: all var(--bh-transition);
}
.bh-rc .result-cta:hover {
  border-color: var(--bh-accent);
  background: linear-gradient(135deg, var(--bh-bg-elev), var(--bh-bg-card));
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(var(--bh-accent-rgb), 0.10);
}
.bh-rc .result-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--bh-radius-sm);
  background: rgba(var(--bh-accent-rgb), 0.10);
  color: var(--bh-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bh-rc .result-cta-icon svg { width: 26px; height: 26px; }
.bh-rc .result-cta-body { min-width: 0; }
.bh-rc .result-cta-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bh-accent);
  margin: 0 0 4px;
}
.bh-rc .result-cta-body h3 {
  font-family: var(--bh-font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--bh-text-on-dark);
  margin: 0 0 4px;
  line-height: 1.3;
}
.bh-rc .result-cta-meta {
  font-size: 12.5px;
  color: var(--bh-text-on-dark-muted);
  margin: 0;
  font-family: var(--bh-font-mono);
}
.bh-rc .result-cta-arrow {
  font-size: 22px;
  color: var(--bh-accent);
  font-weight: 300;
  transition: transform var(--bh-transition);
  flex-shrink: 0;
}
.bh-rc .result-cta:hover .result-cta-arrow { transform: translateX(4px); }

/* Partner CTA — секондарный (после disclaimer, визуально quieter чем pillar) */
.bh-rc .result-cta--partner {
  margin: 28px 0 0;
  border-left-color: var(--bh-border-dark);
  background: linear-gradient(135deg, var(--bh-bg-card-2), var(--bh-bg-card));
}
.bh-rc .result-cta--partner .result-cta-icon {
  background: rgba(255, 255, 255, 0.04);
  color: var(--bh-text-on-dark-soft);
}
.bh-rc .result-cta--partner .result-cta-eyebrow {
  color: var(--bh-text-on-dark-muted);
}
.bh-rc .result-cta--partner .result-cta-arrow {
  color: var(--bh-text-on-dark-muted);
}
.bh-rc .result-cta--partner:hover .result-cta-arrow {
  color: var(--bh-accent);
}
.bh-rc .result-cta--partner .result-cta-body h3::after {
  content: "Партнёр";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-family: var(--bh-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bh-text-on-dark-muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  vertical-align: 2px;
}
.bh-rc .result-cta--partner:hover {
  border-left-color: var(--bh-accent);
}
.bh-rc .result-cta--partner:hover .result-cta-icon {
  background: rgba(var(--bh-accent-rgb), 0.10);
  color: var(--bh-accent);
}

@media (max-width: 640px) {
  .bh-rc .result-cta { grid-template-columns: 48px 1fr; padding: 16px 18px; gap: 14px; }
  .bh-rc .result-cta-icon { width: 48px; height: 48px; }
  .bh-rc .result-cta-icon svg { width: 22px; height: 22px; }
  .bh-rc .result-cta-arrow { display: none; }
  .bh-rc .result-cta--partner .result-cta-body h3::after { display: block; margin: 4px 0 0; }
}

.bh-rc .disclaimer {
  background: var(--bh-bg-card);
  border-left: 3px solid var(--bh-accent);
  border-radius: var(--bh-radius-sm);
  padding: 18px 24px;
  font-size: 13.5px;
  color: var(--bh-text-on-dark-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}
.bh-rc .disclaimer p { margin: 0; }
.bh-rc .disclaimer p + p { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bh-border-soft); }
.bh-rc .disclaimer-not-solved { color: var(--bh-text-on-dark-muted); }
.bh-rc .disclaimer strong { color: var(--bh-text-on-dark); font-weight: 600; }

/* «Изменить ответы» — минималистичный text-link в hero result */
.bh-rc .bh-rc-reset-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 18px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  font-family: var(--bh-font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--bh-accent);
  cursor: pointer;
  transition: color var(--bh-transition);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  line-height: 1.4;
}
.bh-rc .bh-rc-reset-link:hover {
  color: var(--bh-accent-hover);
  border-bottom-color: rgba(var(--bh-accent-rgb), 0.5);
}
.bh-rc .bh-rc-reset-link:focus-visible {
  outline: 2px solid var(--bh-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.bh-rc-reset-icon {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.bh-rc .bh-rc-reset-link:hover .bh-rc-reset-icon { transform: rotate(-180deg); }

/* ============ AUX (light) ============ */
.aux {
  background: var(--bh-bg-light);
  padding: 80px 0;
}
.aux-block + .aux-block { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--bh-border-light); }
.aux-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--bh-accent-dark);
  margin: 0 0 16px;
}
.aux-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--bh-accent-dark); }
.aux h2 {
  font-family: var(--bh-font-body);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.12;
  color: var(--bh-bg-dark);
  margin: 0 0 32px;
}
.aux h2 em {
  font-family: var(--bh-font-display-italic);
  font-style: italic;
  color: var(--bh-accent-dark);
  font-weight: 700;
}

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-tile {
  background: var(--bh-bg-light-alt);
  border: 1px solid var(--bh-border-light);
  border-radius: var(--bh-radius-md);
  padding: 28px;
  transition: all var(--bh-transition);
}
.how-tile:hover { border-color: var(--bh-accent); box-shadow: 0 8px 24px rgba(var(--bh-accent-rgb), 0.08); }
.how-num {
  font-family: var(--bh-font-body);
  font-size: 12px;
  color: var(--bh-accent-dark);
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: .04em;
}
.how-tile h3 { font-family: inherit; font-size: 18px; font-weight: 700; color: var(--bh-bg-dark); margin: 0 0 10px; letter-spacing: -.01em; }
.how-tile p { font-size: 14px; color: var(--bh-text-on-light-soft); margin: 0; line-height: 1.55; }

/* faq */
.faq-list { max-width: 880px; }
.faq-item {
  border-bottom: 1px solid var(--bh-border-light);
  padding: 0;
}
.faq-item summary {
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--bh-bg-dark);
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--bh-font-body);
  font-size: 24px;
  color: var(--bh-accent-dark);
  font-weight: 400;
  line-height: .8;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 14.5px; color: var(--bh-text-on-light-soft); margin: 0 0 22px; line-height: 1.65; max-width: 70ch; }

/* sources */
.sources-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; max-width: 1100px; }
.source-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bh-border-light);
  align-items: baseline;
}
.source-row-tag {
  font-family: var(--bh-font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--bh-accent-dark);
  background: rgba(var(--bh-accent-rgb), 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
}
.source-row a { color: var(--bh-bg-dark); font-size: 14px; font-weight: 500; }
.source-row a:hover { color: var(--bh-accent-dark); }
.source-row small {
  display: block;
  font-family: var(--bh-font-body);
  font-size: 11.5px;
  color: var(--bh-text-on-light-muted);
  margin-top: 2px;
  font-weight: 400;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  html body.bh-rc-page {
    overflow-x: hidden !important;
  }
  html body.bh-rc-page #page,
  html body.bh-rc-page #content,
  html body.bh-rc-page .site-content,
  html body.bh-rc-page #primary,
  html body.bh-rc-page .content-area,
  html body.bh-rc-page .site-main,
  html body.bh-rc-page .bh-rc[data-bh-residency-checker],
  html body.bh-rc-page .bh-rc.tool-hero,
  html body.bh-rc-page .bh-rc.wizard,
  html body.bh-rc-page .bh-rc.result,
  html body.bh-rc-page .bh-rc.aux {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: clip;
  }
  html body.bh-rc-page .bh-rc .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-row1 { flex-direction: column; }
  .hero-pills { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stat { border-right: 0; padding: 0; border-top: 1px solid var(--bh-border-soft); padding-top: 12px; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-top: 0; padding-top: 0; }
  .result-head { grid-template-columns: 1fr; }
  .result-badge { margin: 0 auto; }
  .status-card { grid-template-columns: 1fr; }
  .status-divider { width: auto; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--bh-border-soft) 20%, var(--bh-border-soft) 80%, transparent 100%); }
  .result-aside { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .bh-rc .container { padding: 0 16px; }
  .tool-hero { padding: 24px 0 20px; }
  .hero-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab { white-space: nowrap; }
  .wizard-header { flex-wrap: wrap; gap: 12px; padding: 0 0 14px; }
  .wizard-body { padding: 16px 0 0; }
  .q-num-bigfield input { font-size: 56px; width: 160px; }
  .q-num-aux { grid-template-columns: 1fr; gap: 12px; }
  .matrix-head { display: none; }
  .matrix-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .matrix-row.is-applicable { padding-left: 15px; }
  .matrix-rate, .matrix-tag { text-align: left; }
  .how-grid { grid-template-columns: 1fr; }
  .sources-list { grid-template-columns: 1fr; }
  .aux { padding: 56px 0; }
  .result { padding: 48px 0 56px; }
}
@media (max-width: 480px) {
  .tool-hero { padding: 16px 0 14px; }
  .hero-row1 { gap: 12px; }
  .hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .hero-icon svg {
    width: 22px;
    height: 22px;
  }
  .hero-meta { display: none; }
  .tool-hero h1 {
    font-size: clamp(25px, 8vw, 30px);
    line-height: 1.08;
    letter-spacing: 0;
    text-align: left;
    text-wrap: balance;
    margin-bottom: 8px;
  }
  .hero-sub {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 1.42;
    max-width: none;
  }
  .hero-pills {
    flex-wrap: wrap;
    width: auto;
    gap: 8px;
  }
  .pill {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 11.5px;
  }
  .hero-stats { display: none; }
  .wizard {
    padding: 36px 0 56px;
  }
  .wizard-eyebrow {
    font-size: 11px;
    letter-spacing: .06em;
  }
  .wizard-eyebrow::before {
    width: 16px;
  }
  .wizard-counter {
    font-size: 12px;
  }
  .q-title {
    font-size: clamp(22px, 7vw, 27px);
    line-height: 1.16;
    letter-spacing: 0;
  }
  .q-hint {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .result h2 {
    font-size: clamp(25px, 8vw, 32px);
    letter-spacing: 0;
  }
  .result-sub {
    font-size: 14px;
    line-height: 1.5;
  }
}
@media (max-width: 420px) {
  .wizard-nav {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    padding-top: 22px;
  }
  .wizard-nav .btn {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 11px 14px;
  }
  .wizard-nav #prevBtn { flex: 0 0 auto; }
  .wizard-nav #nextBtn {
    flex: 1 1 0;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .wizard-hint {
    order: 3;
    flex: 1 0 100%;
    font-size: 12px;
  }
}
@media (max-width: 340px) {
  .wizard-nav { gap: 8px; }
  .wizard-nav .btn {
    padding: 10px 12px;
    font-size: 13px;
  }
}
