/* =====================================================================
   ハウスSE — Design System CSS
   Design: Airbnb-inspired — 8px button radius, 14px card radius,
   Airbnb single shadow tier, Circular font stack, #222 ink.
   Main accent: #5a8a44 sage green (unchanged).
   ===================================================================== */

:root {
  /* Brand — sage green, unchanged */
  --accent:         #5a8a44;
  --accent-hover:   #4d7a39;
  --accent-dark:    #7ab85e;
  --on-accent:      #ffffff;

  /* Surface */
  --canvas:         #ffffff;
  --parchment:      #f7f7f7;    /* Airbnb surface-soft */
  --surface-strong: #f2f2f2;    /* Airbnb surface-strong */
  --bg-body:        #2a3320;    /* SPA dark wrapper bg */
  --tile-dark:      #222820;

  /* Text */
  --ink:            #222222;    /* Airbnb ink */
  --ink-80:         #3f3f3f;    /* Airbnb body */
  --ink-48:         #6a6a6a;    /* Airbnb muted */
  --on-dark:        #ffffff;
  --on-dark-muted:  #c8d4c0;

  /* Borders */
  --hairline:       #dddddd;    /* Airbnb hairline */
  --divider:        #ebebeb;    /* Airbnb hairline-soft */

  /* Typography */
  --sans:  -apple-system, system-ui, 'Helvetica Neue', Roboto, sans-serif;

  /* Radii — Airbnb tokens */
  --r-xs:   4px;
  --r-sm:   8px;     /* buttons */
  --r-md:  14px;     /* cards */
  --r-lg:  20px;
  --r-xl:  32px;
  --r-pill: 9999px;

  /* Spacing — 4px base grid */
  --sp-1:  4px;  --sp-2:  8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-12: 48px;

  /* Elevation — Airbnb single shadow tier */
  --shadow:    rgba(0,0,0,.02) 0 0 0 1px, rgba(0,0,0,.04) 0 2px 6px, rgba(0,0,0,.10) 0 4px 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}
body > .app-shell + .app-shell { display: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { display: block; }
button:active { transform: scale(.97); }

/* Standalone pages */
body.standalone-body { background: var(--canvas); }

/* ── App Shell ─────────────────────────────────────────────────────── */
.app-shell {
  display: flex; flex-direction: column;
  height: 100dvh; max-width: 480px;
  margin: 0 auto; background: var(--parchment);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 32px 80px rgba(0,0,0,.5);
  border-radius: 20px 20px 0 0;
}

/* ── App Header ────────────────────────────────────────────────────── */
.app-header {
  flex-shrink: 0; height: 52px;
  display: flex; align-items: center;
  padding: 0 var(--sp-4); gap: var(--sp-2);
  background: #383d31;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 10;
}

.app-header-back {
  width: 36px; height: 36px;
  display: none; align-items: center; justify-content: center;
  color: var(--accent-dark); border-radius: var(--r-pill); flex-shrink: 0;
}
.app-header-back.show { display: flex; }
.app-header-back svg { width: 22px; height: 22px; }

.app-header-logo {
  display: flex; align-items: center; gap: var(--sp-2);
  flex: 1; min-width: 0;
}
.app-header-logo.hide { display: none; }
.app-logo-icon { width: 30px; height: 30px; flex-shrink: 0; }

.app-logo-text {
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  letter-spacing: 0; color: var(--on-dark);
  line-height: 1.2; white-space: nowrap;
}
.app-logo-sub {
  display: block;
  font-family: var(--sans);
  font-size: 10px; font-weight: 400;
  letter-spacing: .03em; color: var(--on-dark-muted); line-height: 1;
}

.app-header-title {
  flex: 1; font-size: 16px; font-weight: 600;
  color: var(--on-dark); text-align: center; display: none;
}
.app-header-title.show { display: block; }

.app-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; letter-spacing: .02em;
  color: var(--on-dark-muted); flex-shrink: 0;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5ecf7a; box-shadow: 0 0 6px rgba(94,207,122,.7);
  flex-shrink: 0;
}
.app-status[data-status-tone="message"] .status-dot,
.status-chip[data-status-tone="message"] .status-dot { background: #f1b84b; box-shadow: 0 0 6px rgba(241,184,75,.55); }
.app-status[data-status-tone="busy"] .status-dot,
.status-chip[data-status-tone="busy"] .status-dot { background: #f28b45; box-shadow: 0 0 6px rgba(242,139,69,.55); }
.app-status[data-status-tone="closed"] .status-dot,
.status-chip[data-status-tone="closed"] .status-dot { background: #9a9a9a; box-shadow: none; }

/* ── Main ──────────────────────────────────────────────────────────── */
.app-main {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.app-main.hidden { display: none !important; }

/* ── Bottom Nav ────────────────────────────────────────────────────── */
.bottom-nav {
  flex-shrink: 0; display: flex; align-items: stretch; height: 58px;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--hairline);
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: 10px; font-weight: 500;
  color: var(--ink-48); position: relative;
  transition: color .15s; -webkit-tap-highlight-color: transparent;
}
.nav-tab:active { transform: scale(.94); }
.nav-tab.active { color: var(--accent); }
.nav-tab.active::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 3px; background: var(--accent);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.nav-tab-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.nav-tab-icon svg { width: 22px; height: 22px; }

/* ── View ──────────────────────────────────────────────────────────── */
.view { min-height: 100%; }

/* ══════════════════════════════════════════
   HOME VIEW
══════════════════════════════════════════ */
.home-view .home-legal {
  margin-top: 0;
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
}

.home-greeting {
  background: var(--tile-dark); color: var(--on-dark);
  padding: var(--sp-8) var(--sp-6) var(--sp-12);
  text-align: center;
}
.home-eyebrow {
  font-size: 11px; font-weight: 400; letter-spacing: .1em;
  color: var(--on-dark-muted); margin-bottom: var(--sp-3);
  text-transform: uppercase;
}
.home-title {
  font-family: var(--sans);
  font-size: 26px; font-weight: 400; line-height: 1.4;
  letter-spacing: .01em; color: var(--on-dark);
}
.home-lead {
  margin-top: var(--sp-3);
  font-size: 13px; line-height: 1.7; color: var(--on-dark-muted);
}

.example-chips {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  padding: var(--sp-1) 0;
}
.example-chip {
  display: inline-block;
  background: var(--parchment);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 400;
  color: var(--ink-80);
  padding: 5px 12px;
  white-space: nowrap;
}

.home-actions {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0 var(--sp-4) var(--sp-5);
  margin-top: -28px;
  display: flex; flex-direction: column; gap: var(--sp-3);
}

.action-card {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: var(--sp-4);
  text-align: left; width: 100%;
  box-shadow: var(--shadow); transition: border-color .15s;
}
.action-card:active { transform: scale(.98); border-color: var(--accent); }
.action-card.primary { border-color: rgba(90,138,68,.20); }

.action-icon-wrap {
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: var(--parchment);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--ink-48);
}
.action-icon-wrap.accent { background: rgba(90,138,68,.10); color: var(--accent); }
.action-icon-wrap svg { width: 24px; height: 24px; }

.action-body { flex: 1; min-width: 0; }
.action-name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.action-sub  { font-size: 12px; color: var(--ink-48); margin-top: 2px; }
.action-price {
  font-size: 12px; font-weight: 600;
  color: var(--accent); margin-top: 4px;
  display: flex; align-items: center; gap: 5px;
}
.online-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3dbd62; flex-shrink: 0;
}

.action-arrow { color: var(--ink-48); flex-shrink: 0; }
.action-arrow svg { width: 16px; height: 16px; }

.home-section {
  background: var(--parchment);
  padding: var(--sp-6) var(--sp-4);
  border-top: 1px solid var(--divider);
}
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-48); margin-bottom: var(--sp-4);
}

.service-list { display: flex; flex-direction: column; }
.service-row {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 11px 0; border-bottom: 1px solid var(--divider);
}
.service-row:last-child { border-bottom: none; }
.service-row-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent);
}
.service-row-icon svg { width: 20px; height: 20px; }
.service-row-name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.service-row-desc { font-size: 12px; color: var(--ink-48); margin-top: 1px; }

.price-list { display: flex; flex-direction: column; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--divider);
  font-size: 13px; color: var(--ink-80); gap: var(--sp-3);
}
.price-row:last-child { border-bottom: none; }
.price-val { font-size: 12px; font-weight: 600; color: var(--accent); text-align: right; flex-shrink: 0; }
.price-val.free { color: #3dbd62; }
.price-footnote { font-size: 12px; color: var(--ink-48); margin-top: var(--sp-3); line-height: 1.55; }

.home-legal {
  background: var(--canvas);
  padding: var(--sp-8) var(--sp-4);
  border-top: 1px solid var(--divider);
  text-align: center;
  font-size: 14px; color: var(--ink-48);
  line-height: 1.7;
}
.home-legal a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-legal a:hover { opacity: .8; }
.home-operator { margin-bottom: 2px; }
.home-locations { margin-bottom: var(--sp-2); }

/* ══════════════════════════════════════════
   ADMIN CONTROL CENTER
══════════════════════════════════════════ */
.admin-view {
  background: var(--parchment);
  min-height: 100%;
  padding-bottom: var(--sp-8);
}
.admin-hero {
  background: var(--tile-dark);
  color: var(--on-dark);
  padding: var(--sp-8) var(--sp-6) var(--sp-8);
}
.admin-hero-inner,
.admin-grid,
.admin-section {
  max-width: 1140px;
  margin: 0 auto;
}
.admin-eyebrow {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--on-dark-muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.admin-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}
.admin-lead {
  margin-top: var(--sp-3);
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 680px;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-4);
}
.admin-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: var(--sp-5);
}
.admin-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.admin-card-title h2 {
  font-size: 17px;
  font-weight: 700;
}
.admin-card-title p,
.admin-muted {
  color: var(--ink-48);
  font-size: 13px;
  line-height: 1.6;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 5px 10px;
  font-size: 12px;
  color: var(--ink-80);
  white-space: nowrap;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-80);
}
.admin-input,
.admin-select,
.admin-textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 11px 12px;
  outline: none;
}
.admin-textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.55;
}
.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  border-color: var(--accent);
}
.admin-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
}
.admin-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.admin-row {
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  background: var(--canvas);
}
.admin-row-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  align-items: flex-start;
}
.admin-row-title {
  font-size: 15px;
  font-weight: 700;
}
.admin-row-meta {
  color: var(--ink-48);
  font-size: 12px;
  margin-top: 2px;
}
.admin-row-body {
  color: var(--ink-80);
  font-size: 13px;
  line-height: 1.65;
  margin-top: var(--sp-3);
}
.admin-row-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.admin-kpi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.admin-kpi-item {
  background: var(--parchment);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
}
.admin-kpi-value {
  font-size: 24px;
  font-weight: 700;
}
.admin-kpi-label {
  color: var(--ink-48);
  font-size: 12px;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .admin-hero { padding: 56px max(40px, calc((100% - 1140px) / 2)); }
  .admin-grid {
    grid-template-columns: 1.1fr .9fr;
    padding: 40px max(40px, calc((100% - 1140px) / 2));
  }
  .admin-grid.admin-wide { grid-template-columns: 1fr; padding-top: 0; }
  .admin-form-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-field.admin-span-2 { grid-column: span 2; }
  .admin-row-controls { grid-template-columns: 180px 1fr; align-items: center; }
  .admin-kpi { grid-template-columns: repeat(4, 1fr); }
}

/* ══════════════════════════════════════════
   WIZARD VIEW
══════════════════════════════════════════ */
.wizard-view { display: flex; flex-direction: column; min-height: 100%; }

.wizard-top {
  background: var(--canvas);
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  border-bottom: 1px solid var(--divider);
}
.wizard-step-label {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--sp-3);
}
.wizard-progress {
  height: 3px; background: var(--divider);
  border-radius: var(--r-pill); margin-bottom: var(--sp-4); overflow: hidden;
}
.wizard-progress-bar {
  height: 100%; background: var(--accent);
  border-radius: var(--r-pill); transition: width .35s ease;
}
.wizard-question { font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--ink); }

.wizard-body {
  flex: 1; padding: var(--sp-5) var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-4);
  background: var(--parchment);
}

.type-cards { display: flex; flex-direction: column; gap: var(--sp-3); }
.type-card {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--canvas);
  border: 1.5px solid var(--hairline); border-radius: var(--r-md);
  padding: var(--sp-4); text-align: left; width: 100%;
  box-shadow: var(--shadow-sm); transition: border-color .15s;
}
.type-card:active { transform: scale(.98); }
.type-card.selected { border-color: var(--accent); background: rgba(90,138,68,.03); }

.type-card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--ink-48);
}
.type-card.selected .type-card-icon { color: var(--accent); }
.type-card-icon svg { width: 26px; height: 26px; }

.type-card-name  { font-size: 15px; font-weight: 600; line-height: 1.2; }
.type-card-price { font-size: 12px; font-weight: 500; color: var(--accent); margin-top: 2px; }
.type-card-desc  { font-size: 12px; color: var(--ink-48); margin-top: 2px; }

.type-check {
  margin-left: auto; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--on-accent);
  transition: background .15s, border-color .15s;
}
.type-check svg { width: 14px; height: 14px; }
.type-card.selected .type-check { background: var(--accent); border-color: var(--accent); }

.group-stepper {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4); background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.group-stepper label { font-size: 14px; font-weight: 600; }
.stepper-controls { display: flex; align-items: center; gap: var(--sp-3); }
.stepper-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--parchment); border: 1px solid var(--hairline);
  font-size: 20px; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
}
.stepper-btn:active { background: var(--accent); color: var(--on-accent); }
.stepper-btn:disabled { opacity: .3; pointer-events: none; }
.stepper-val { font-size: 22px; font-weight: 600; min-width: 28px; text-align: center; }
.stepper-unit { font-size: 14px; color: var(--ink-48); }

.price-badge {
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: rgba(90,138,68,.07);
  border: 1px solid rgba(90,138,68,.18);
  border-radius: var(--r-pill);
  padding: 10px var(--sp-4); text-align: center;
}

.wizard-footer {
  display: flex; gap: var(--sp-3); padding: var(--sp-4);
  background: rgba(247,247,247,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline); flex-shrink: 0;
}

/* ── Forms (shared SPA + standalone) ──────────────────────────────── */
.form-stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--ink-80); }
.req { font-size: 11px; font-weight: 500; color: #c0392b; margin-left: 4px; }
.opt { font-size: 11px; color: var(--ink-48); margin-left: 4px; }

.classroom-reveal-ready .form-reveal-cluster {
  opacity: 0;
  transform: translateX(34px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .34s ease, transform .34s ease, max-height .34s ease;
}
.classroom-reveal-ready .form-reveal-cluster.is-visible {
  opacity: 1;
  transform: translateX(0);
  max-height: 1200px;
  pointer-events: auto;
}
.classroom-reveal-ready .form-reveal-cluster.is-complete {
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .classroom-reveal-ready .form-reveal-cluster {
    transition: none;
    transform: none;
  }
}

.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: 11px var(--sp-4); font-size: 16px; color: var(--ink);
  outline: none; transition: border-color .15s;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-48); font-size: 15px; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent); border-width: 2px;
}
.form-input.error, .form-textarea.error, .form-select.error { border-color: #c0392b; }
.form-textarea { resize: none; line-height: 1.5; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a6a6a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--sp-4) center;
  padding-right: var(--sp-8);
}

.date-row { display: flex; gap: var(--sp-2); }

.field-error { font-size: 12px; color: #c0392b; font-weight: 500; display: none; }
.field-error.show { display: block; }

/* ── Buttons (shared) ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500;
  border-radius: var(--r-sm); padding: 12px var(--sp-6);
  transition: background .12s, color .12s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .38; pointer-events: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:active { background: var(--accent-hover); }
.btn-secondary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline); padding: 11px var(--sp-5);
}
.btn-secondary:active { background: var(--parchment); }
.btn-block { flex: 1; }
.btn-lg { padding: 14px var(--sp-6); font-size: 16px; }

/* ── Utilities ─────────────────────────────────────────────────────── */
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }

/* ══════════════════════════════════════════
   SUCCESS VIEW (SPA)
══════════════════════════════════════════ */
.success-view {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 100%;
  padding: var(--sp-8) var(--sp-6); text-align: center; gap: var(--sp-4);
}
.success-icon-wrap {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(90,138,68,.10);
  display: flex; align-items: center; justify-content: center;
}
.success-check { color: var(--accent); }
.success-check svg { width: 36px; height: 36px; stroke-width: 2.5; }
.success-title { font-size: 22px; font-weight: 600; }
.success-desc { font-size: 15px; line-height: 1.6; color: var(--ink-48); max-width: 280px; }

/* ══════════════════════════════════════════
   SUPPORT VIEW (SPA)
══════════════════════════════════════════ */
.support-view { display: flex; flex-direction: column; height: 100%; }

.support-tabs {
  display: flex; padding: 0 var(--sp-4); gap: var(--sp-2);
  background: var(--canvas); border-bottom: 1px solid var(--hairline); flex-shrink: 0;
}
.support-tab {
  flex: 1; padding: var(--sp-3) 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--ink-48);
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.support-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.support-tab-icon { display: flex; align-items: center; }
.support-tab-icon svg { width: 16px; height: 16px; }

/* SPA Chat */
.chat-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-messages {
  flex: 1; min-height: 0; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-4); display: flex; flex-direction: column;
  gap: var(--sp-3); background: var(--parchment);
}

.msg { display: flex; align-items: flex-end; gap: var(--sp-2); max-width: 88%; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg.agent { align-self: flex-start; }

.msg-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(90,138,68,.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.msg-av svg { width: 15px; height: 15px; }

.msg-bubble {
  padding: 10px 14px; border-radius: 18px;
  font-size: 15px; line-height: 1.45; word-break: break-word;
}
.msg.agent .msg-bubble {
  background: var(--canvas); color: var(--ink);
  border: 1px solid var(--hairline); border-bottom-left-radius: 4px;
}
.msg.user .msg-bubble {
  background: var(--accent); color: var(--on-accent);
  border-bottom-right-radius: 4px;
}

.msg-time { display: block; font-size: 11px; color: var(--ink-48); margin-top: 3px; }
.msg.agent .msg-time { text-align: left; }
.msg.user  .msg-time { text-align: right; }

.typing {
  display: flex; align-items: center; gap: 4px;
  background: var(--canvas); border: 1px solid var(--hairline);
  padding: 12px 16px; border-radius: 18px; border-bottom-left-radius: 4px;
  align-self: flex-start; margin-left: 36px;
}
.typing-dot {
  width: 7px; height: 7px; background: var(--ink-48);
  border-radius: 50%; animation: typingBounce 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-area {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline); flex-shrink: 0;
}
.chat-input {
  flex: 1; background: var(--parchment);
  border: 1px solid var(--hairline); border-radius: var(--r-pill);
  padding: 10px var(--sp-4); font-size: 15px;
  outline: none; -webkit-appearance: none;
}
.chat-input:focus { border-color: var(--accent); border-width: 2px; }
.chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-send svg { width: 16px; height: 16px; }
.chat-send:active { transform: scale(.92); background: var(--accent-hover); }
.chat-note {
  text-align: center; font-size: 10px; color: var(--ink-48);
  padding: 4px; background: var(--parchment);
}

/* SPA Video */
.video-panel {
  display: flex; flex-direction: column; flex: 1;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--parchment);
}
.video-start-card {
  margin: var(--sp-4); padding: var(--sp-6);
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.video-panel .jitsi-container { margin: 0 var(--sp-4) var(--sp-4); }
.video-start-card h3 { font-size: 18px; font-weight: 600; margin-bottom: var(--sp-2); }
.video-start-card p  { font-size: 14px; line-height: 1.55; color: var(--ink-48); margin-bottom: var(--sp-4); }

.flex-badges { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.badge-online, .badge-time {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: var(--r-pill);
}
.badge-online { background: rgba(61,189,98,.08); color: #2da84d; border: 1px solid rgba(61,189,98,.18); }
.badge-time   { background: var(--parchment); color: var(--ink-48); border: 1px solid var(--hairline); }

.video-name-row { display: flex; align-items: flex-end; gap: var(--sp-3); margin-top: var(--sp-4); }

.jitsi-wrap {
  display: none; flex-direction: column;
  margin: 0 var(--sp-4) var(--sp-4);
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
}
.jitsi-wrap.show { display: flex; }
.jitsi-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.live-indicator { font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e74c3c; flex-shrink: 0; }
.room-id { font-family: monospace; font-weight: 400; }
.video-tips {
  margin: 0 var(--sp-4) var(--sp-8); padding: var(--sp-4);
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.video-tips-title { font-size: 13px; font-weight: 600; margin-bottom: var(--sp-2); }
.tips-list { display: flex; flex-direction: column; gap: 6px; }
.tips-list li {
  font-size: 13px; color: var(--ink-48);
  padding-left: var(--sp-4); position: relative; line-height: 1.5;
}
.tips-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

/* ══════════════════════════════════════════
   STANDALONE PAGES
   classroom.html · support.html
══════════════════════════════════════════ */

/* ─── Site Header ────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--canvas); border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: 1024px; margin: 0 auto;
  padding: 0 var(--sp-4); height: 64px;
  display: flex; align-items: center;
}
.site-logo {
  display: flex; align-items: center; gap: var(--sp-2);
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink);
  flex-shrink: 0;
}
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo-sub {
  display: none; font-family: var(--sans);
  font-size: 11px; font-weight: 400; color: var(--ink-48);
}

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; padding: 10px;
  margin-left: auto; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all .2s;
}

.nav-menu {
  display: none;
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--canvas); border-bottom: 1px solid var(--hairline);
  padding: var(--sp-3) var(--sp-4);
  flex-direction: column; gap: 2px; z-index: 99;
}
.nav-menu.open { display: flex; }
.nav-link {
  display: block; padding: 10px var(--sp-3);
  font-size: 15px; font-weight: 400; color: var(--ink-80);
  border-radius: var(--r-sm);
}
.nav-cta {
  display: block; margin-top: var(--sp-2);
  background: var(--accent); color: #fff;
  padding: 10px var(--sp-4); border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; text-align: center;
}

@media (min-width: 744px) {
  .nav-toggle { display: none; }
  .logo-sub { display: block; }
  .nav-menu {
    display: flex !important; position: static;
    flex-direction: row; gap: 0;
    padding: 0; background: none; border: none;
    align-items: center; margin-left: auto;
  }
  .nav-link { font-size: 14px; }
  .nav-cta {
    margin-top: 0; margin-left: var(--sp-2);
    padding: 10px var(--sp-4);
  }
  .nav-cta:hover { background: var(--accent-hover); }
}

/* ─── Page Hero ──────────────────────────── */
.page-hero {
  background: var(--canvas);
  padding: var(--sp-12) var(--sp-4);
  border-bottom: 1px solid var(--divider);
}
.page-hero-inner { max-width: 1140px; margin: 0 auto; }
.page-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--sp-3);
}
.page-eyebrow svg { width: 16px; height: 16px; flex-shrink: 0; }
.page-title { font-size: 28px; font-weight: 700; line-height: 1.25; color: var(--ink); margin-bottom: var(--sp-3); }
.page-desc { font-size: 16px; color: var(--ink-48); line-height: 1.6; max-width: 520px; }

/* ─── Page Main ──────────────────────────── */
.page-main {
  max-width: 1140px; margin: 0 auto;
  padding: var(--sp-8) var(--sp-4) var(--sp-12);
}

/* ─── App-shell standalone pages ─────────── */
.standalone-app-main {
  background: var(--parchment);
}
.standalone-app-main .page-hero {
  background: var(--tile-dark);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.standalone-app-main .page-eyebrow {
  color: var(--on-dark-muted);
}
.standalone-app-main .page-title {
  color: var(--on-dark);
  font-weight: 400;
}
.standalone-app-main .page-desc {
  color: var(--on-dark-muted);
}
.standalone-app-main .page-main {
  background: var(--parchment);
}
.standalone-app-main .site-footer {
  margin-top: 0;
}

/* ─── Classroom layout ───────────────────── */
.classroom-layout { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 744px) { .classroom-layout { grid-template-columns: minmax(0, 1fr) 360px; } }

/* ─── Card ───────────────────────────────── */
.card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.card-body { padding: var(--sp-6); }

/* ─── Standalone form ────────────────────── */
.form { display: flex; flex-direction: column; gap: var(--sp-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.required-badge {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700; line-height: 1;
  color: #fff; background: #c0392b;
  border-radius: var(--r-xs); padding: 2px 5px;
  margin-left: 5px; vertical-align: middle;
}
.optional-badge { font-size: 12px; font-weight: 400; color: var(--ink-48); margin-left: 4px; }
.field-hint { font-size: 13px; color: var(--ink-48); }
.form-footnote { font-size: 13px; color: var(--ink-48); text-align: center; }

.radio-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.radio-label {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4); background: var(--canvas);
  border: 1.5px solid var(--hairline); border-radius: var(--r-md);
  cursor: pointer; transition: border-color .15s;
}
.radio-label input[type=radio],
.radio-label input[type=checkbox] { accent-color: var(--accent); flex-shrink: 0; width: 18px; height: 18px; }
.radio-label.selected,
.radio-label:has(input[type=checkbox]:checked) { border-color: var(--accent); background: rgba(90,138,68,.03); }

.price-estimate {
  display: none; background: rgba(90,138,68,.06);
  border: 1px solid rgba(90,138,68,.18);
  border-radius: var(--r-sm); padding: var(--sp-3) var(--sp-4);
  font-size: 14px; color: var(--ink-80);
}
.price-estimate.show { display: block; }

/* ─── Price table ────────────────────────── */
.price-table { width: 100%; border-collapse: collapse; }
.price-table td {
  padding: 10px 0; font-size: 14px; color: var(--ink-80);
  border-bottom: 1px solid var(--divider); vertical-align: top;
}
.price-table td:last-child { text-align: right; font-weight: 500; color: var(--ink); }
.price-table tr:last-child td { border-bottom: none; }
.price-note { font-size: 13px; color: var(--ink-48); line-height: 1.55; margin-top: var(--sp-3); }

/* ─── Info box ───────────────────────────── */
.info-box {
  display: flex; gap: var(--sp-3);
  padding: var(--sp-4); background: var(--parchment);
  border-radius: var(--r-md); border: 1px solid var(--hairline);
}
.info-box.blue { background: #eef4ff; border-color: #c3d9ff; }
.info-box.orange { background: #fff8ee; border-color: #ffd9a0; }
.info-box-icon {
  flex-shrink: 0; color: var(--ink-48);
  display: flex; align-items: flex-start; padding-top: 2px;
}
.info-box-icon svg { width: 18px; height: 18px; }

/* ─── Form success ───────────────────────── */
.form-success {
  display: none; text-align: center; padding: var(--sp-8) var(--sp-4);
  flex-direction: column; align-items: center; gap: var(--sp-4);
}
.form-success.show { display: flex; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(90,138,68,.10);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.success-icon svg { width: 32px; height: 32px; }

/* ─── Section spacer ─────────────────────── */
.section { margin-top: var(--sp-8); }

/* ─── Support page tabs ──────────────────── */
.tab-bar { display: flex; border-bottom: 2px solid var(--hairline); background: var(--canvas); margin-bottom: var(--sp-6); }
.tab-btn {
  flex: 1; padding: var(--sp-4) 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink-48);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-btn:hover:not(.active) { color: var(--ink-80); }
.tab-icon { display: flex; align-items: center; }
.tab-icon svg { width: 18px; height: 18px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── Support chat 2-column layout (standalone) ── */
.support-chat-layout {
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.support-chat-sidebar {
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.support-chat-sidebar .chat-intro { margin-bottom: 0; }
.support-chat-sidebar .info-box   { margin-bottom: 0; }

/* ─── Chat intro (standalone) ────────────── */
.chat-intro {
  display: flex; gap: var(--sp-4); background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: var(--sp-5); margin-bottom: var(--sp-4);
}
.chat-intro-icon { flex-shrink: 0; color: var(--accent); display: flex; align-items: flex-start; padding-top: 2px; }
.chat-intro-icon svg { width: 22px; height: 22px; }
.chat-intro h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.chat-intro p { font-size: 14px; color: var(--ink-48); line-height: 1.5; }

/* ─── Badges ─────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill);
}
.badge-green { background: rgba(61,189,98,.08); color: #2a9a3f; border: 1px solid rgba(61,189,98,.18); }
.badge-blue  { background: #eef4ff; color: #2256b8; border: 1px solid #c3d9ff; }

/* ─── Chat window (standalone) ───────────── */
.chat-window {
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  margin-bottom: var(--sp-4); box-shadow: var(--shadow);
}
.chat-header {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(90,138,68,.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent);
}
.chat-avatar svg { width: 20px; height: 20px; }
.chat-header-info { display: flex; flex-direction: column; gap: 2px; }
.chat-header-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.chat-status { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-48); }

/* standalone chat messages — override the SPA flex layout */
.chat-window #chat-messages {
  height: 300px; flex: initial; min-height: initial;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: var(--sp-4); display: flex; flex-direction: column;
  gap: var(--sp-3); background: var(--parchment);
}

.msg-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(90,138,68,.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.msg-avatar svg { width: 14px; height: 14px; }

.chat-input-area-s {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--canvas); border-top: 1px solid var(--hairline);
}
.chat-input-s {
  flex: 1; background: var(--parchment);
  border: 1px solid var(--hairline); border-radius: var(--r-pill);
  padding: 10px var(--sp-4); font-size: 14px;
  outline: none; -webkit-appearance: none;
}
.chat-input-s:focus { border-color: var(--accent); border-width: 2px; }
.chat-send-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-send-btn svg { width: 16px; height: 16px; }
.chat-send-btn:active { transform: scale(.92); background: var(--accent-hover); }
.chat-send-btn:disabled { opacity: .38; pointer-events: none; }
.chat-disclaimer { font-size: 13px; color: var(--ink-48); line-height: 1.5; margin-bottom: var(--sp-4); }

/* ─── Video section (standalone) ────────── */
.video-intro {
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: var(--sp-5); margin-bottom: var(--sp-4);
}
.video-intro-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: var(--sp-2);
}
.video-intro-title svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.video-intro p { font-size: 14px; color: var(--ink-48); line-height: 1.6; margin-bottom: var(--sp-4); }

.video-start-section-s { display: flex; flex-direction: column; gap: var(--sp-3); }
.video-name-group { display: flex; flex-direction: column; gap: 6px; }
.video-name-group label { font-size: 14px; font-weight: 500; color: var(--ink-80); }

.jitsi-container {
  display: none; background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  overflow: hidden; margin-bottom: var(--sp-4);
}
.jitsi-container.show { display: block; }
.jitsi-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  padding: var(--sp-3) var(--sp-4); background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.video-tips-s {
  background: var(--parchment); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: var(--sp-4); margin-bottom: var(--sp-4);
}
.video-tips-s h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: var(--sp-3);
}
.video-tips-s h4 svg { width: 16px; height: 16px; color: var(--accent); }
.video-tips-s ul { display: flex; flex-direction: column; gap: 8px; }
.video-tips-s li {
  font-size: 14px; color: var(--ink-48); line-height: 1.5;
  padding-left: var(--sp-5); position: relative;
}
.video-tips-s li::before {
  content: ''; position: absolute; left: 4px; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

/* ─── Tawk.to Embedded Area ─────────────── */
#tawk-embed-area {
  /* Off-screen but in render tree so Tawk.to can initialize (SPA/index.html) */
  position: fixed;
  left: -9999px;
  top: 0;
  width: 390px;
  height: 600px;
  pointer-events: none;
  z-index: -1;
}
#tawk-embed-area.active {
  /* Snap into the flex column as the main content area */
  position: static;
  width: auto;
  height: auto;
  flex: 1;
  min-height: 0;
  pointer-events: auto;
  z-index: auto;
}
/* Standalone pages (support.html) — always visible in normal flow */
.standalone-app-main #tawk-embed-area,
.standalone-app-main #tawk_6a3fd0db762a271d4209ff1c {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  min-height: 540px;
  height: auto;
  pointer-events: auto;
  z-index: auto;
}

/* ─── Support (Tawk.to) ──────────────────── */
.tawk-info-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: var(--sp-12) var(--sp-6) var(--sp-8);
  gap: var(--sp-4);
}
.tawk-info-icon { width: 48px; height: 48px; color: var(--accent); }
.tawk-info-icon svg { width: 48px; height: 48px; }
.tawk-info-title { font-size: 20px; font-weight: 600; color: var(--ink); }
.tawk-info-desc { font-size: 14px; color: var(--ink-48); line-height: 1.7; }
.tawk-open-btn { min-width: 160px; }
.tawk-info-sub {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-48);
}

.tawk-video-section {
  border-top: 1px solid var(--divider);
  padding: var(--sp-5) var(--sp-6);
  text-align: center;
}
.tawk-video-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--accent); font-weight: 500;
}
.tawk-video-link svg { width: 18px; height: 18px; }

/* ─── Footer ─────────────────────────────── */
.site-footer,
.home-legal {
  background: var(--canvas);
  border-top: 1px solid var(--divider);
  color: var(--ink-48);
  font-size: 16px;
  line-height: 1.6;
  margin-top: var(--sp-12);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}
.site-footer a,
.home-legal a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer a:hover,
.home-legal a:hover { opacity: .8; }

/* ══════════════════════════════════════════
   DESKTOP  (min-width: 768px)
══════════════════════════════════════════ */

/* ── Desktop nav — hidden on mobile ── */
.desktop-nav { display: none; }

@media (min-width: 768px) {

  /* ── Body & Shell ── */
  body:not(.standalone-body) {
    background: var(--canvas);
    display: block;
    padding-top: 0;
  }
  .app-shell {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    height: 100dvh;
    background: var(--canvas);
  }

  /* ── Header ── */
  .app-header {
    height: 64px;
    padding: 0 40px;
  }
  .app-header-back { display: none !important; }
  .app-header-logo.hide { display: flex !important; }
  .app-header-title.show { display: none; }

  /* ── Desktop Nav ── */
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 20px;
    flex: 0 0 auto;
  }
  .desktop-nav-btn {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.6);
    padding: 7px 18px;
    border-radius: var(--r-sm);
    transition: color .15s, background .15s;
    white-space: nowrap;
  }
  .desktop-nav-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
  .desktop-nav-btn.active { color: #fff; font-weight: 600; }

  /* ── App main: no bottom nav offset ── */
  .bottom-nav { display: none; }
  .app-main { padding-bottom: 0; }

  /* ── Home: hero ── */
  .home-greeting {
    text-align: left;
    padding: 72px max(40px, calc((100% - 1140px) / 2)) 60px;
  }
  .home-eyebrow { margin-left: 0; }
  .home-title { font-size: 44px; font-weight: 300; max-width: 680px; }
  .home-lead   { font-size: 15px; max-width: 580px; }

  .lp-hero2 {
    padding: 64px max(40px, calc((100% - 1140px) / 2)) 88px;
  }
  .lp2-title {
    font-size: 44px;
    font-weight: 300;
    max-width: 680px;
  }
  .lp2-lead {
    font-size: 15px;
    max-width: 580px;
  }

  /* ── Home: CTA cards ── */
  .home-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    background: transparent;
    padding: 0 max(40px, calc((100% - 1140px) / 2)) 48px;
    margin-top: -52px;
    max-width: 100%;
  }
  .home-actions .action-card:last-child {
    grid-column: 1;
  }
  .action-card { border-radius: var(--r-md); }

  .lp-section {
    padding: 40px max(40px, calc((100% - 1140px) / 2)) 24px;
  }

  .home-view .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 64px;
    row-gap: 0;
  }
  .home-view .service-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--divider);
  }
  .home-view .service-row:nth-last-child(-n+2) { border-bottom: none; }

  .home-view .price-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
    row-gap: 0;
  }
  .home-view .price-row:nth-last-child(-n+2) { border-bottom: none; }

  .home-view .example-chips {
    gap: var(--sp-3);
  }
  .home-view .example-chip {
    font-size: 13px;
    padding: 8px 16px;
    background: var(--parchment);
  }

  /* ── Home: content sections ── */
  .home-section {
    background: var(--canvas);
    border-top: 1px solid var(--divider);
    padding: 36px max(40px, calc((100% - 1140px) / 2));
  }

  /* ── Standalone pages: match index width/gutter ── */
  .standalone-app-main .page-hero {
    padding: 72px max(40px, calc((100% - 1140px) / 2)) 60px;
  }
  .standalone-app-main .page-hero-inner {
    max-width: 1140px;
  }
  .standalone-app-main .page-title {
    font-size: 44px;
    font-weight: 300;
    max-width: 680px;
  }
  .standalone-app-main .page-desc {
    font-size: 15px;
    max-width: 580px;
  }
  .standalone-app-main .page-main {
    max-width: none;
    padding: 40px max(40px, calc((100% - 1140px) / 2)) 48px;
  }
  .standalone-app-main .tab-bar {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Support page: tawk embed desktop height ── */
  .standalone-app-main #tawk-embed-area,
  .standalone-app-main #tawk_6a3fd0db762a271d4209ff1c {
    min-height: 620px;
  }

  /* ── Service grid: 2-column ── */
  .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
  }
  .service-row:nth-last-child(-n+2) { border-bottom: none; }

  /* ── Price list: 2-column ── */
  .price-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
  .price-card:not(:last-child) { border-bottom: 1px solid var(--hairline); }

  /* ── Legal / footer ── */
  .home-legal {
    background: var(--canvas);
    border-top: 1px solid var(--divider);
    padding: var(--sp-8) max(40px, calc((100% - 1140px) / 2));
    margin-top: var(--sp-6);
  }

  /* ── Wizard (classroom) ── */
  .wizard-view {
    max-width: 680px;
    margin: 40px auto;
    border-radius: var(--r-lg);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: unset;
  }
  .wizard-view .wizard-step-wrap { min-height: unset; padding: var(--sp-6); }
  .wizard-view .wizard-progress { padding: 0 var(--sp-6); }

  /* ── Support view ── */
  .support-view {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 0;
  }
  .support-tabs-bar {
    max-width: 880px;
    margin: 0 auto;
  }
}

/* ── Recovery page ──────────────────────────────────────────────────── */
.recovery-media-list {
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.recovery-media-list li {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: .95rem; color: var(--ink-80);
}
.recovery-media-list li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-48); }

.recovery-course-card { border: 1.5px solid var(--hairline); }
.recovery-course-card.featured { border-color: var(--accent); }

.recovery-course-badge {
  display: inline-flex; align-items: center;
  padding: 2px 10px; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 700; letter-spacing: .03em;
  background: var(--accent); color: #fff;
}
.recovery-course-badge.secondary {
  background: var(--parchment); color: var(--ink-48);
  border: 1px solid var(--hairline);
}

.recovery-course-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: var(--sp-4);
}
.recovery-course-name { font-size: 1.15rem; font-weight: 700; margin-top: var(--sp-2); }
.recovery-course-sub  { font-size: .83rem; color: var(--ink-48); margin-top: 3px; }

.recovery-course-price { text-align: right; }
.recovery-price-val {
  font-size: 1.6rem; font-weight: 700; color: var(--accent); line-height: 1;
}
.recovery-price-val.sm { font-size: 1.2rem; }
.recovery-price-unit   { font-size: .8rem; font-weight: 500; margin-left: 2px; }

.recovery-price-block { margin: var(--sp-4) 0 var(--sp-2); }

.recovery-course-features {
  display: flex; flex-direction: column; gap: var(--sp-2);
  list-style: none; padding: 0; margin: 0;
}
.recovery-course-features li {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: .9rem; color: var(--ink-80);
}
.recovery-course-features li svg {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--accent);
}
.recovery-course-features.sm li { font-size: .83rem; }

.recovery-faq-item {
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--divider);
}
.recovery-faq-q {
  display: flex; gap: var(--sp-2);
  font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: var(--sp-2);
}
.recovery-faq-q::before { content: 'Q.'; color: var(--accent); flex-shrink: 0; }
.recovery-faq-a {
  display: flex; gap: var(--sp-2);
  font-size: .88rem; color: var(--ink-80); line-height: 1.7;
}
.recovery-faq-a::before { content: 'A.'; color: var(--ink-48); flex-shrink: 0; font-weight: 600; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: rgba(90,138,68,.06); }

/* ══════════════════════════════════════════
   LP DYNAMIC
══════════════════════════════════════════ */

@keyframes lp-gradient {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes lp-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}
@keyframes lp-float2 {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-5px); }
}
@keyframes lp-fadeup {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lp-ping {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes lp-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Hero */
.lp-hero {
  position: relative;
  background: linear-gradient(135deg, #1a2810 0%, #2d421e 35%, #162418 65%, #222820 100%);
  background-size: 200% 200%;
  animation: lp-gradient 12s ease infinite;
  padding: var(--sp-8) var(--sp-6) 0;
  overflow: hidden;
}
.lp-hero::before {
  content: ''; position: absolute;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,138,68,.25) 0%, transparent 70%);
  top: -50px; right: -40px; pointer-events: none; z-index: 0;
}
.lp-hero::after {
  content: ''; position: absolute;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,207,122,.14) 0%, transparent 70%);
  bottom: 10%; left: -30px; pointer-events: none; z-index: 0;
}
.lp-hero > * { position: relative; z-index: 1; }

.lp-live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(94,207,122,.1);
  border: 1px solid rgba(94,207,122,.28);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 11px; font-weight: 500;
  color: #88eeaa;
  margin-bottom: var(--sp-4);
}
.lp-live-ring {
  position: relative; width: 8px; height: 8px; flex-shrink: 0;
}
.lp-live-ring::before {
  content: '';
  position: absolute; inset: -2px; border-radius: 50%;
  background: rgba(94,207,122,.4);
  animation: lp-ping 1.6s ease-out infinite;
}
.lp-live-ring::after {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: #5ecf7a;
}

.lp-title {
  font-size: 27px; font-weight: 650; line-height: 1.38;
  color: #fff; letter-spacing: .01em;
  margin-bottom: var(--sp-3);
}
.lp-title-em { color: #85c96a; }

.lp-lead {
  font-size: 13px; line-height: 1.75;
  color: rgba(200,212,192,.85);
  margin-bottom: var(--sp-5);
}

.lp-hero-btns {
  display: flex; gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.lp-hero-btns .btn-primary {
  flex: 1; text-align: center; padding: 13px 12px; font-size: 14px;
}
.lp-btn-ghost {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 12px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,.2);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.78);
  transition: background .15s, border-color .15s;
  text-align: center;
}
.lp-btn-ghost:active { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); }

.lp-hero-visual {
  margin: 0 -24px;
  line-height: 0;
}
.lp-hero-visual svg { width: 100%; }
.lp-phone-icon { animation: lp-float 3.2s ease-in-out infinite; }
.lp-laptop-icon { animation: lp-float2 3.8s 1.1s ease-in-out infinite; }

/* Stats */
.lp-stats {
  display: flex;
  background: var(--canvas);
  border-bottom: 1px solid var(--divider);
}
.lp-stat {
  flex: 1; padding: 14px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  border-right: 1px solid var(--divider);
}
.lp-stat:last-child { border-right: none; }
.lp-stat-val {
  font-size: 18px; font-weight: 750; color: var(--accent);
  line-height: 1.15; font-feature-settings: "tnum";
  text-align: center;
}
.lp-stat-label {
  font-size: 10px; color: var(--ink-48);
  letter-spacing: .02em; text-align: center; line-height: 1.3;
}
.lp-promise-strip .lp-stat-label {
  max-width: 104px;
}

/* Reveal sections */
.lp-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.lp-reveal.visible { opacity: 1; transform: none; }

/* Section shell */
.lp-section {
  padding: var(--sp-6) var(--sp-4) var(--sp-2);
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
.lp-section-label {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-48); margin-bottom: var(--sp-4);
}

/* Business calendar */
.calendar-section {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
}
.calendar-section-standalone {
  max-width: none;
  margin: 0 0 var(--sp-8);
  padding: 0;
}
.calendar-copy {
  min-width: 0;
}
.calendar-title {
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: var(--sp-2);
}
.calendar-desc {
  font-size: .88rem;
  line-height: 1.8;
  color: var(--ink-48);
}
.calendar-frame-card {
  min-width: 0;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.calendar-frame {
  display: block;
  width: 100%;
  height: 920px;
  border: 0;
  background: var(--canvas);
}
.classroom-calendar-card .card-body {
  padding: 20px;
}
.classroom-calendar-card .calendar-desc {
  margin-bottom: var(--sp-4);
}
.classroom-calendar-card .calendar-frame {
  height: 760px;
}
.classroom-calendar-card .calendar-open-link {
  grid-column: auto;
  margin-top: var(--sp-3);
}
.calendar-open-link {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.calendar-open-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
@media (max-width: 743px) {
  .calendar-section {
    grid-template-columns: 1fr;
  }
  .calendar-frame {
    height: 780px;
  }
  .calendar-open-link {
    grid-column: 1;
  }
}

/* Service grid */
.lp-services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.lp-svc-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-3);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s;
}
.lp-svc-card:active { transform: scale(.97); border-color: var(--accent); }
.lp-svc-ico {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(90,138,68,.09);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: var(--sp-2);
}
.lp-svc-ico svg { width: 18px; height: 18px; }
.lp-svc-name { font-size: .83rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.lp-svc-desc { font-size: .72rem; color: var(--ink-48); line-height: 1.5; }

/* Testimonial strip */
.lp-review-strip {
  padding: var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.lp-review-card {
  background: var(--canvas);
  border: 1px solid var(--divider);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.lp-review-title {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(90,138,68,.09);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.lp-review-stars { color: #f1b84b; font-size: 13px; margin-bottom: var(--sp-2); letter-spacing: 1px; }
.lp-review-text { font-size: .84rem; line-height: 1.75; color: var(--ink-80); margin-bottom: var(--sp-2); }
.lp-review-author { font-size: .75rem; color: var(--ink-48); }

/* ── LP v2 ─────────────────────────────────────────────────────── */

/* Hero */
.lp-hero2 {
  background: #1a1c1a;
  color: var(--on-dark);
  padding: var(--sp-8) var(--sp-5) 52px;
}
.lp-hero2-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.lp2-eyebrow {
  font-size: .78rem;
  font-weight: 400;
  color: var(--on-dark-muted);
  letter-spacing: .02em;
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}
.lp2-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-dark);
  flex-shrink: 0;
  animation: lp-ping 1.6s ease-in-out infinite;
}
.lp2-title {
  font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--on-dark);
  margin-bottom: var(--sp-4);
}
.lp2-title em {
  font-style: normal;
  color: var(--accent-dark);
}
.lp2-lead {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--on-dark-muted);
  max-width: 560px;
}
.lp2-btns {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}
.lp2-btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-80);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.lp2-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Data Recovery highlight card */
.lp2-recovery-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: #f4f8f2;
  border: 1.5px solid rgba(90,138,68,.22);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.lp2-rec-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(90,138,68,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.lp2-rec-icon svg { width: 24px; height: 24px; }
.lp2-rec-body { flex: 1; min-width: 0; }
.lp2-rec-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.lp2-rec-desc {
  font-size: .83rem;
  color: var(--ink-80);
  line-height: 1.6;
  margin-bottom: 6px;
}
.lp2-rec-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(90,138,68,.1);
  padding: 3px 9px;
  border-radius: 20px;
}
.lp2-rec-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-md);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.lp2-rec-btn:hover { background: var(--accent-d, #4a7a36); }
@media (max-width: 480px) {
  .lp2-recovery-card { flex-wrap: wrap; }
  .lp2-rec-btn { width: 100%; justify-content: center; }
}

/* Reviews v2 */
.lp2-reviews {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.lp2-review {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.lp2-review::before {
  content: '\201C';
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-4);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: .18;
  font-family: Georgia, serif;
  pointer-events: none;
}
.lp2-review-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-3);
}
.lp2-review-text {
  font-size: .84rem;
  line-height: 1.8;
  color: var(--ink-80);
}

/* ── Classroom: sequential question flow ── */
.cq-view { display: flex; flex-direction: column; min-height: 100%; }
.cq-progress-bar { height: 3px; background: var(--hairline); position: sticky; top: 0; z-index: 1; }
.cq-progress-fill { height: 100%; background: var(--accent); transition: width .35s ease; }
.cq-body { padding: var(--sp-5) var(--sp-5) var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-3); }
.cq-answered-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.cq-answered {
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4);
  text-align: left; cursor: pointer; width: 100%;
  transition: background .15s;
}
.cq-answered:hover { background: var(--hairline); }
.cq-ans-label { font-size: .75rem; color: var(--ink-50); flex: 0 0 auto; min-width: 5rem; }
.cq-ans-val { font-size: .85rem; font-weight: 600; color: var(--ink); flex: 1; }
.cq-ans-edit { font-size: .75rem; color: var(--accent); flex: 0 0 auto; }
.cq-card {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: var(--sp-6) var(--sp-5);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.cq-counter { font-size: .75rem; color: var(--ink-50); margin-bottom: var(--sp-3); }
.cq-question { font-size: 1.15rem; font-weight: 800; line-height: 1.5; margin-bottom: var(--sp-5); }
.cq-input-wrap { margin-bottom: var(--sp-5); }
.cq-actions { display: flex; gap: var(--sp-3); justify-content: flex-end; flex-wrap: wrap; }
.cq-next { min-width: 8rem; }
