/* Hive Pre-Demo Survey — built on Object Edge tokens */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--bg);
  overflow-x: hidden;
}

button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

/* ─────────────────────────────────────────────
   Top bar — Hive lockup + progress
   ───────────────────────────────────────────── */
.h-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 32px;
  justify-content: space-between;
}
.h-lockup { display: flex; align-items: center; gap: 16px; }
.h-lockup img.h-oe-logo {
  height: 22px; width: auto;
  display: block;
}
.h-lockup-divider {
  width: 1px; height: 18px;
  background: var(--oe-mercury);
}
.h-lockup-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: var(--fw-medium);
}
.h-lockup-eyebrow b {
  color: var(--fg-1);
  font-weight: var(--fw-medium);
}
.h-topbar-right {
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: var(--fw-medium);
}
.h-counter b { color: var(--fg-1); font-weight: var(--fw-medium); }

/* progress: bar */
.h-progress {
  position: fixed; top: 64px; left: 0; right: 0;
  height: 2px; background: var(--oe-mercury);
  z-index: 49;
}
.h-progress-fill {
  height: 100%;
  background: var(--accent, var(--oe-blue));
  transition: width 600ms cubic-bezier(.4,.0,.2,1);
}

/* progress: dots */
.h-dots {
  position: fixed; top: 76px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 49;
}
.h-dots .h-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--oe-mercury);
  transition: all 300ms;
}
.h-dots .h-dot.is-active { background: var(--accent, var(--oe-blue)); transform: scale(1.5); }
.h-dots .h-dot.is-done   { background: var(--accent, var(--oe-blue)); opacity: 0.4; }

/* progress: steps */
.h-steps {
  position: fixed; top: 72px; left: 32px; right: 32px;
  display: flex; gap: 4px; z-index: 49;
}
.h-steps .h-step {
  flex: 1; height: 3px; border-radius: 100px;
  background: var(--oe-mercury);
  transition: background 300ms;
}
.h-steps .h-step.is-done,
.h-steps .h-step.is-active { background: var(--accent, var(--oe-blue)); }

/* ─────────────────────────────────────────────
   Survey stage — single full-bleed panel per question
   ───────────────────────────────────────────── */
.h-stage {
  min-height: 100vh;
  padding: 120px 32px 160px;
  display: flex; flex-direction: column; align-items: center;
  background: var(--bg);
  position: relative;
}

/* decorative gradient orb */
.h-stage::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--oe-gradient-hero-radial);
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.h-stage::after {
  content: "";
  position: absolute;
  bottom: -300px; left: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: var(--oe-gradient-light-blue);
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.h-panel {
  width: 100%; max-width: 720px;
  position: relative; z-index: 1;
  animation: panel-in 500ms cubic-bezier(.2,.7,.2,1);
}
@keyframes panel-in {
  0%   { transform: translateY(12px); }
  100% { transform: translateY(0); }
}

.h-eyebrow {
  font-size: 12px; line-height: 16px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent, var(--oe-blue));
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.h-eyebrow .h-eyebrow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent, var(--oe-blue)); color: white;
  font-size: 11px; font-weight: var(--fw-medium); letter-spacing: 0;
}

.h-question {
  font-size: 44px; line-height: 54px;
  font-weight: var(--fw-light);
  color: var(--fg-1);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h-question b, .h-question .h-q-name {
  font-weight: var(--fw-regular);
  color: var(--accent, var(--oe-blue));
}
.h-subq {
  font-size: 18px; line-height: 30px;
  color: var(--fg-3);
  font-weight: var(--fw-regular);
  margin: 0 0 36px;
  max-width: 620px;
}
.h-subq small {
  display: inline-block; margin-left: 8px;
  font-size: 12px; color: var(--fg-muted); letter-spacing: 0.06em;
  text-transform: uppercase; vertical-align: middle;
}

/* ─────────────────────────────────────────────
   Chips (multi-select)
   ───────────────────────────────────────────── */
.h-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.h-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--fg-2);
  font-size: 15px; font-weight: var(--fw-regular);
  transition: all 180ms cubic-bezier(.2,.7,.2,1);
  user-select: none;
}
.h-chip:hover { border-color: var(--accent, var(--oe-blue)); color: var(--fg-1); transform: translateY(-1px); }
.h-chip-key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 4px;
  background: var(--oe-concrete);
  color: var(--fg-muted);
  font-size: 11px; font-weight: var(--fw-medium);
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  letter-spacing: 0;
}
.h-chip.is-selected {
  background: var(--accent, var(--oe-blue));
  border-color: var(--accent, var(--oe-blue));
  color: white;
}
.h-chip.is-selected .h-chip-key {
  background: rgba(255,255,255,0.2); color: white;
}

/* "Add your own" chip + custom chip styling */
.h-chip.is-add {
  border-style: dashed;
  color: var(--accent, var(--oe-blue));
  background: transparent;
}
.h-chip.is-add:hover { background: var(--accent-soft, var(--oe-zircon)); color: var(--accent-hover); }
.h-chip-add-plus { font-size: 16px; line-height: 1; font-weight: 400; }
.h-chip.is-custom .h-chip-key {
  background: var(--oe-zircon);
  color: var(--oe-midnight);
  font-style: italic;
}
.h-chip.is-custom.is-selected .h-chip-key {
  background: rgba(255,255,255,0.25);
  color: white;
  font-style: italic;
}
.h-chip-remove {
  margin-left: 4px; margin-right: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: currentColor; opacity: 0.5; cursor: pointer;
  font-size: 14px; line-height: 1;
}
.h-chip-remove:hover { opacity: 1; }

/* Inline custom-input row */
.h-custom-row {
  display: flex; gap: 10px; align-items: center;
  margin: 4px 0 24px;
  padding: 12px 16px;
  border: 1px dashed var(--accent, var(--oe-blue));
  border-radius: var(--radius-pill);
  background: var(--bg);
  animation: panel-in 250ms cubic-bezier(.2,.7,.2,1);
}
.h-custom-row input {
  flex: 1;
  border: none; outline: none; background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--fg-1);
}
.h-custom-row input::placeholder { color: var(--oe-silver); }
.h-custom-row .h-custom-hint {
  font-size: 11px; color: var(--fg-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: var(--fw-medium);
}

/* Inline "Other" text input under a chip group */
.h-other-input {
  margin-top: 12px;
  display: flex; align-items: center; gap: 10px;
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--accent, var(--oe-blue));
  max-width: 480px;
  animation: panel-in 220ms cubic-bezier(.2,.7,.2,1);
}
.h-other-input::before {
  content: "→";
  color: var(--accent, var(--oe-blue));
  font-size: 18px;
}
.h-other-input input {
  flex: 1;
  border: none; outline: none; background: transparent;
  font-family: inherit;
  font-size: 18px; line-height: 28px; color: var(--fg-1);
  font-weight: var(--fw-light);
}
.h-other-input input::placeholder { color: var(--oe-silver); font-weight: var(--fw-light); }

/* ─────────────────────────────────────────────
   Severity card list
   ───────────────────────────────────────────── */
.h-sev-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.h-sev-row {
  display: grid; grid-template-columns: 1fr 240px; align-items: center;
  gap: 24px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 180ms, box-shadow 180ms;
}
.h-sev-row:hover { border-color: var(--oe-silver); }
.h-sev-row.is-set { border-color: var(--accent, var(--oe-blue)); box-shadow: var(--shadow-card); }
.h-sev-label { font-size: 16px; line-height: 22px; font-weight: var(--fw-regular); color: var(--fg-1); }
.h-sev-pills { display: flex; gap: 6px; justify-content: flex-end; }
.h-sev-pill {
  flex: 1;
  height: 34px; min-width: 34px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  font-size: 13px; font-weight: var(--fw-medium);
  color: var(--fg-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 160ms;
}
.h-sev-pill:hover { color: var(--fg-1); border-color: var(--oe-silver); }
.h-sev-pill.is-selected {
  background: var(--accent, var(--oe-blue));
  border-color: var(--accent, var(--oe-blue));
  color: white;
}
.h-sev-scale {
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 4px;
  padding: 0 4px;
}

/* ─────────────────────────────────────────────
   Rank list (drag-to-rank)
   ───────────────────────────────────────────── */
.h-rank-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.h-rank-item {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 220ms cubic-bezier(.2,.7,.2,1);
  cursor: grab;
  user-select: none;
}
.h-rank-item:hover { border-color: var(--accent, var(--oe-blue)); box-shadow: var(--shadow-thin); }
.h-rank-item.is-dragging { opacity: 0.4; }
.h-rank-item.is-target   { border-color: var(--accent, var(--oe-blue)); border-style: dashed; }
.h-rank-num {
  font-family: var(--font-display);
  font-size: 30px; line-height: 1;
  color: var(--accent, var(--oe-blue));
  font-weight: 400;
}
.h-rank-label { font-size: 16px; color: var(--fg-1); }
.h-rank-grip {
  display: flex; flex-direction: column; gap: 3px;
  padding: 6px; color: var(--oe-silver);
}
.h-rank-grip span { width: 14px; height: 1.5px; background: currentColor; border-radius: 1px; }

/* ─────────────────────────────────────────────
   Text inputs (free response)
   ───────────────────────────────────────────── */
.h-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-input);
  font-size: 22px;
  line-height: 36px;
  color: var(--fg-1);
  padding: 8px 0 16px;
  resize: none;
  outline: none;
  font-weight: var(--fw-light);
  transition: border-color 200ms;
}
.h-textarea:focus { border-color: var(--accent, var(--oe-blue)); }
.h-textarea::placeholder { color: var(--oe-silver); font-weight: var(--fw-light); }

.h-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-input);
  font-size: 28px; line-height: 40px;
  color: var(--fg-1);
  padding: 8px 0;
  outline: none;
  font-weight: var(--fw-light);
  transition: border-color 200ms;
}
.h-input:focus { border-color: var(--accent, var(--oe-blue)); }
.h-input::placeholder { color: var(--oe-silver); font-weight: var(--fw-light); }

.h-help {
  font-size: 12px; color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.h-help kbd {
  display: inline-block;
  padding: 2px 8px;
  background: var(--oe-concrete);
  border-radius: 4px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--fg-2);
  border: 1px solid var(--border);
  margin: 0 2px;
}

/* ─────────────────────────────────────────────
   Footer nav
   ───────────────────────────────────────────── */
.h-foot {
  position: fixed; bottom: 24px; right: 32px;
  display: flex; align-items: center; gap: 12px;
  z-index: 30;
}
.h-foot-hint {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-right: 6px;
}
.h-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: var(--fw-medium);
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--accent, var(--oe-blue));
  background: var(--accent, var(--oe-blue));
  color: white;
  transition: all 160ms;
}
.h-btn:hover { background: var(--accent-hover, var(--oe-smalt)); border-color: var(--accent-hover, var(--oe-smalt)); }
.h-btn:disabled { opacity: 0.35; cursor: not-allowed; background: var(--accent, var(--oe-blue)); }
.h-btn .h-arrow { transition: transform 160ms; }
.h-btn:hover .h-arrow { transform: translateX(3px); }

.h-btn--ghost {
  background: transparent; color: var(--fg-2); border-color: var(--border);
}
.h-btn--ghost:hover { background: var(--oe-concrete); color: var(--fg-1); border-color: var(--border); }

/* keyboard nav (bottom-left) */
.h-foot-left {
  position: fixed; bottom: 24px; left: 32px;
  display: flex; align-items: center; gap: 6px;
  z-index: 30;
  font-size: 11px; color: var(--fg-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.h-kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--fg-2);
  background: var(--bg);
}

/* ─────────────────────────────────────────────
   Welcome screen
   ───────────────────────────────────────────── */
.h-welcome {
  text-align: center;
  max-width: 760px;
}
.h-welcome-eyebrow {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: var(--fw-medium);
  margin-bottom: 36px;
  display: inline-flex; align-items: center; gap: 12px;
}
.h-welcome-eyebrow::before,
.h-welcome-eyebrow::after {
  content: ""; display: inline-block;
  width: 32px; height: 1px; background: var(--oe-silver);
}
.h-welcome h1 {
  font-size: 68px; line-height: 78px; font-weight: var(--fw-light);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h-welcome h1 .h-accent { color: var(--accent, var(--oe-blue)); font-weight: var(--fw-regular); }
.h-welcome-lede {
  font-size: 19px; line-height: 32px;
  color: var(--fg-3);
  max-width: 580px;
  margin: 0 auto 48px;
  text-wrap: pretty;
}
.h-welcome-meta {
  display: inline-flex; gap: 40px;
  padding: 20px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
  text-align: left;
}
.h-welcome-meta-item .h-meta-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: var(--fw-medium);
  display: block; margin-bottom: 6px;
}
.h-welcome-meta-item .h-meta-value {
  font-size: 16px; color: var(--fg-1); font-weight: var(--fw-regular);
}
.h-welcome-cta {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 13px; color: var(--fg-muted); letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────
   Recap / done screen
   ───────────────────────────────────────────── */
.h-done {
  text-align: left;
  max-width: 780px;
  margin: 0 auto;
}
.h-done-hero {
  text-align: center; margin-bottom: 56px;
}
.h-done-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent, var(--oe-blue));
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  animation: pop 600ms cubic-bezier(.2,.9,.3,1.4);
}
@keyframes pop {
  0%   { transform: scale(0.6); }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.h-done h1 {
  font-size: 52px; line-height: 62px; font-weight: var(--fw-light);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.h-done-lede { font-size: 18px; line-height: 30px; color: var(--fg-3); }

.h-recap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 40px 44px;
  margin-bottom: 32px;
}
.h-recap-title {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: var(--fw-medium);
  margin-bottom: 24px;
}
.h-recap-row {
  display: grid; grid-template-columns: 1fr;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.h-recap-row:first-of-type { border-top: 0; padding-top: 0; }
.h-recap-q {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted); margin-bottom: 8px;
  font-weight: var(--fw-medium);
}
.h-recap-a {
  font-size: 17px; line-height: 28px; color: var(--fg-1);
}
.h-recap-a .h-pill {
  display: inline-block;
  padding: 4px 12px;
  margin: 4px 6px 4px 0;
  background: var(--oe-zircon);
  color: var(--oe-midnight);
  border-radius: 100px;
  font-size: 13px;
  font-weight: var(--fw-medium);
}
.h-recap-a .h-pill .h-pill-num {
  display: inline-block;
  margin-right: 6px;
  color: var(--accent, var(--oe-blue));
  font-weight: var(--fw-semibold);
}
.h-recap-tag {
  display: inline-block; padding: 3px 10px;
  background: var(--oe-concrete);
  border-radius: 100px;
  font-size: 13px;
  color: var(--fg-2);
  margin: 2px 6px 2px 0;
}

.h-done-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }

/* ─────────────────────────────────────────────
   Sales console drawer
   ───────────────────────────────────────────── */
.h-sales-toggle {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px;
  background: var(--oe-cod-gray);
  color: white;
  border-radius: 100px;
  border: 1px solid var(--oe-cod-gray);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: var(--fw-medium);
  z-index: 40;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.h-sales-toggle::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--oe-mint);
  box-shadow: 0 0 8px var(--oe-mint);
}

.h-sales-drawer {
  position: fixed; inset: 0;
  background: rgba(17,17,17,0.5);
  z-index: 100;
  display: flex; align-items: stretch; justify-content: flex-end;
  animation: fade-in 200ms;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.h-sales-panel {
  width: 520px;
  background: var(--bg);
  height: 100vh;
  overflow-y: auto;
  padding: 32px 40px;
  animation: slide-r 280ms cubic-bezier(.2,.7,.2,1);
}
@keyframes slide-r { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.h-sales-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.h-sales-eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: var(--fw-medium);
}
.h-sales-title {
  font-size: 28px; line-height: 36px; font-weight: var(--fw-light);
  margin: 6px 0 4px;
}
.h-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-2);
}
.h-close:hover { background: var(--oe-concrete); }

.h-sales-section {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.h-sales-section h4 {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: var(--fw-medium);
  margin: 0 0 14px;
}
.h-field { margin-bottom: 14px; }
.h-field label {
  display: block;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: var(--fw-medium);
  margin-bottom: 6px;
}
.h-field input, .h-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-xs);
  font-size: 14px;
  color: var(--fg-1);
  background: var(--bg);
  outline: none;
  transition: border-color 160ms;
}
.h-field input:focus, .h-field select:focus { border-color: var(--accent, var(--oe-blue)); }
.h-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.h-link-box {
  display: flex; gap: 8px;
  padding: 12px 14px;
  background: var(--oe-concrete);
  border-radius: var(--radius-xs);
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 12px; color: var(--fg-2);
  overflow: hidden;
  align-items: center;
}
.h-link-box code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-link-box button {
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent, var(--oe-blue));
  color: white;
  border: none;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: var(--fw-medium);
}

.h-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.h-stat {
  padding: 14px 16px;
  background: var(--oe-alabaster);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}
.h-stat-num {
  font-size: 26px; font-weight: var(--fw-light);
  color: var(--fg-1);
  line-height: 1; margin-bottom: 4px;
}
.h-stat-label {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
}

.h-resp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 14px 16px;
  margin-bottom: 8px;
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  align-items: center;
}
.h-resp-name { font-size: 14px; color: var(--fg-1); font-weight: var(--fw-regular); }
.h-resp-meta { font-size: 11px; color: var(--fg-muted); letter-spacing: 0.04em; margin-top: 2px; }
.h-resp-status {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: var(--fw-medium);
  padding: 3px 10px; border-radius: 100px;
}
.h-resp-status.is-done { background: var(--oe-light-mint); color: #006640; }
.h-resp-status.is-pending { background: var(--oe-concrete); color: var(--fg-muted); }

/* Setup tab styles */
.h-setup-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  counter-reset: step;
}
.h-setup-steps li {
  position: relative;
  padding: 12px 0 12px 38px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 20px;
  color: var(--fg-2);
  counter-increment: step;
}
.h-setup-steps li:first-child { border-top: none; padding-top: 4px; }
.h-setup-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 10px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent, var(--oe-blue));
  color: white;
  font-size: 11px; font-weight: var(--fw-medium);
  display: inline-flex; align-items: center; justify-content: center;
}
.h-setup-steps li b { color: var(--fg-1); font-weight: var(--fw-medium); }
.h-setup-steps li code {
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 12px;
  background: var(--oe-concrete);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--fg-1);
}

.h-code-block {
  position: relative;
  background: var(--oe-cod-gray);
  color: #E6EEFF;
  padding: 14px 16px;
  border-radius: var(--radius-xs);
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 18px;
  max-height: 180px;
  overflow: auto;
  white-space: pre;
}
.h-code-block::-webkit-scrollbar { width: 6px; height: 6px; }
.h-code-block::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
.h-code-copy {
  position: absolute; top: 8px; right: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 100px;
  font-family: inherit;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: var(--fw-medium);
}
.h-code-copy:hover { background: rgba(255,255,255,0.16); }

.h-status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: var(--fw-medium);
}
.h-status-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.h-status-pill.is-live   { background: var(--oe-light-mint); color: #006640; }
.h-status-pill.is-empty  { background: var(--oe-concrete); color: var(--fg-muted); }
.h-status-pill.is-error  { background: #FFE6E6; color: #8C0000; }
.h-direction-transition-enter { opacity: 0; transform: translateY(20px); }
.h-direction-transition-active { opacity: 1; transform: none; transition: all 350ms cubic-bezier(.2,.7,.2,1); }

/* mobile */
@media (max-width: 720px) {
  .h-stage { padding: 100px 20px 140px; }
  .h-question { font-size: 30px; line-height: 38px; }
  .h-welcome h1 { font-size: 42px; line-height: 50px; }
  .h-welcome-meta { flex-direction: column; gap: 16px; padding: 18px 20px; }
  .h-sev-row { grid-template-columns: 1fr; gap: 8px; }
  .h-foot, .h-foot-left { bottom: 16px; }
  .h-foot { right: 16px; }
  .h-foot-left { left: 16px; display: none; }
  .h-sales-panel { width: 100%; padding: 24px; }
  .h-sales-toggle { bottom: 78px; }
}
