*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --border: #ECEEF5;
  --border2: rgba(0, 0, 0, 0.05);
  --text: #111827;
  --text2: #374151;
  --text3: #6B7280;
  --text4: #9CA3AF;
  --blue: #4F6EF7;
  --blue-soft: rgba(79, 110, 247, 0.1);
  --green: #10B981;
  --green-soft: rgba(16, 185, 129, 0.1);
  --orange: #F59E0B;
  --orange-soft: rgba(245, 158, 11, 0.1);
  --red: #EF4444;
  --red-soft: rgba(239, 68, 68, 0.1);
  --purple: #8B5CF6;
  --purple-soft: rgba(139, 92, 246, 0.1);
  --prpl: #1400FF;
  --prpl-soft: rgba(20, 0, 255, 0.07);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── BOOT SPLASH ── */
.boot-splash {
  position: fixed; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; background: var(--bg);
}
.boot-splash-logo {
  width: 56px; height: 56px; border-radius: 14px; background: var(--prpl);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
}
.boot-splash-text { font-size: 13px; color: var(--text3); font-weight: 500; }

/* ── SIGN-IN SCREEN ── */
.signin-screen {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); padding: 24px;
}
.signin-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-card);
  max-width: 400px; width: 100%; text-align: center;
}
.signin-logo {
  width: 56px; height: 56px; border-radius: 14px; background: var(--prpl);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 22px; font-weight: 800;
  margin: 0 auto 20px;
}
.signin-title {
  font-family: 'DM Serif Display', serif; font-size: 28px;
  color: var(--text); margin-bottom: 6px; letter-spacing: -0.02em;
}
.signin-sub {
  font-size: 13px; color: var(--text3); margin-bottom: 28px; line-height: 1.55;
}
.signin-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 18px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--border); background: var(--surface);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--text); cursor: pointer; transition: all 0.15s;
}
.signin-btn:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.signin-btn:disabled { opacity: 0.5; cursor: wait; }
.signin-err {
  margin-top: 16px; padding: 10px 14px;
  background: var(--red-soft); color: var(--red);
  border-radius: var(--radius-xs); font-size: 12px; line-height: 1.5;
}

/* ── TOAST ── */
.toast-host {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 11px 18px; border-radius: var(--radius-xs);
  background: var(--text); color: white;
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-card);
  animation: toast-in 0.2s ease;
  pointer-events: auto;
}
.toast.error { background: var(--red); }
.toast.success { background: var(--green); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TOPBAR ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 64px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 28px; gap: 16px;
}
.topbar-brand { display: flex; align-items: center; gap: 11px; width: 248px; flex-shrink: 0; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px; background: var(--prpl);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 800; letter-spacing: -0.02em;
}
.brand-name { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; color: var(--text4); font-weight: 400; margin-top: 1px; }

.topbar-center { flex: 1; display: flex; align-items: center; justify-content: center; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text3); font-weight: 500; }
.breadcrumb-sep { color: var(--text4); font-size: 12px; }
.breadcrumb-active { color: var(--text); font-weight: 600; }

.topbar-right { display: flex; align-items: center; gap: 10px; width: 248px; justify-content: flex-end; flex-shrink: 0; }
.quarter-chip {
  font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-soft);
  padding: 5px 13px; border-radius: 20px; letter-spacing: 0.02em;
}
.notif-btn {
  width: 36px; height: 36px; border-radius: 50%; border: none; background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text3); transition: background 0.15s; position: relative;
}
.notif-btn:hover { background: var(--bg); }
.notif-badge {
  position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); color: white; font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--surface);
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--prpl);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 700; cursor: pointer;
  position: relative;
}
.avatar-menu {
  position: absolute; top: 44px; right: 0; min-width: 200px;
  background: var(--surface); border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card); border: 1px solid var(--border);
  padding: 6px; z-index: 250;
}
.avatar-menu-info { padding: 10px 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.avatar-menu-name { font-size: 13px; font-weight: 600; color: var(--text); }
.avatar-menu-email { font-size: 11px; color: var(--text3); margin-top: 2px; word-break: break-all; }
.avatar-menu-item {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border-radius: 6px; border: none; background: transparent;
  font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text2);
  cursor: pointer;
}
.avatar-menu-item:hover { background: var(--bg); color: var(--text); }

/* ── LAYOUT ── */
.app { display: flex; padding-top: 64px; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar {
  width: 248px; flex-shrink: 0; position: fixed; top: 64px; left: 0; bottom: 0;
  background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 20px 12px; overflow-y: auto;
}
.nav-section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text4); padding: 0 10px; margin-bottom: 5px; margin-top: 18px;
}
.nav-section-label:first-child { margin-top: 0; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: var(--radius-xs); cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text3);
  transition: all 0.15s; border: none; background: none;
  font-family: 'DM Sans', sans-serif; width: 100%; text-align: left;
}
.nav-item:hover { background: var(--bg); color: var(--text); }
.nav-item.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.nav-icon {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.nav-item.active .nav-icon { background: var(--blue-soft); }
.nav-badge {
  margin-left: auto; min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--red); color: white; font-size: 9px; font-weight: 700;
  padding: 0 5px; display: flex; align-items: center; justify-content: center;
}
.sidebar-divider { height: 1px; background: var(--border); margin: 12px 10px; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 0; }
.sidebar-footer-text { font-size: 11px; color: var(--text4); line-height: 1.6; }

/* ── MAIN ── */
.main { margin-left: 248px; flex: 1; padding: 32px 36px; min-height: calc(100vh - 64px); }
.main-noside { margin-left: 0; flex: 1; padding: 32px 36px; min-height: calc(100vh - 64px); max-width: 900px; margin-left: auto; margin-right: auto; }

/* ── PAGE HEADER ── */
.page-header { margin-bottom: 28px; }
.page-title { font-family: 'DM Serif Display', serif; font-size: 34px; color: var(--text); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 3px; }
.page-sub { font-size: 14px; color: var(--text3); font-weight: 400; }

/* ── SECTION HEADER ── */
.section-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-title { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.section-action {
  font-size: 13px; font-weight: 600; color: var(--blue); background: none; border: none;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  padding: 5px 12px; border-radius: 20px; transition: background 0.15s;
}
.section-action:hover { background: var(--blue-soft); }
.section-action:disabled { color: var(--text4); cursor: wait; }

/* ── METRIC GRID ── */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.metric-card { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-card); }
.metric-label { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text4); margin-bottom: 10px; line-height: 1.4; }
.metric-value-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.metric-value { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.metric-unit { font-size: 14px; font-weight: 500; color: var(--text3); }
.metric-delta { display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.delta-up { color: var(--green); } .delta-down { color: var(--red); } .delta-neu { color: var(--text4); }
.metric-bar-wrap { height: 5px; background: var(--bg); border-radius: 3px; overflow: hidden; margin-bottom: 7px; }
.metric-bar { height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(.4, 0, .2, 1); }
.metric-target { font-size: 11px; color: var(--text4); font-weight: 400; }

/* ── CONTENT GRID ── */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; margin-bottom: 28px; }

/* ── CARD ── */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 16px; border-bottom: 1px solid var(--border);
}
.card-title { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.card-sub { font-size: 12px; color: var(--text3); margin-top: 2px; }
.card-body { padding: 20px 22px; }
.card-footer { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ── COMPLETION PANEL ── */
.completion-big { font-family: 'DM Serif Display', serif; font-size: 64px; letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.completion-label { font-size: 13px; color: var(--text3); margin-bottom: 16px; }
.completion-bar-wrap { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.completion-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--purple)); transition: width 1s cubic-bezier(.4, 0, .2, 1); }
.completion-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.cstat { text-align: center; padding: 12px; background: var(--bg); border-radius: var(--radius-xs); }
.cstat-val { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 3px; }
.cstat-label { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text4); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text3); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ── RESPONDENT TABLE ── */
.resp-table { width: 100%; border-collapse: collapse; }
.resp-table th {
  text-align: left; font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text4);
  padding: 10px 22px; border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.resp-table td { padding: 13px 22px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.resp-table tr:last-child td { border-bottom: none; }
.resp-table tr:hover td { background: #FAFBFF; }
.resp-empty { padding: 40px 22px; text-align: center; color: var(--text4); font-size: 13px; }
.resp-avatar {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.av-green { background: var(--green-soft); color: var(--green); }
.av-orange { background: var(--orange-soft); color: var(--orange); }
.av-gray { background: var(--bg); color: var(--text4); }
.resp-name-cell { display: flex; align-items: center; gap: 12px; }
.rname { font-size: 14px; font-weight: 600; color: var(--text); }
.rrole { font-size: 11px; color: var(--text3); margin-top: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
}
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-orange { background: var(--orange-soft); color: var(--orange); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-gray { background: var(--bg); color: var(--text4); }
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.nudge-btn {
  padding: 5px 14px; border-radius: 20px; border: none;
  background: var(--blue-soft); color: var(--blue);
  font-size: 11px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: opacity 0.15s;
}
.nudge-btn:hover { opacity: 0.75; }
.nudge-btn:disabled { opacity: 0.4; cursor: wait; }

/* ── BUTTONS ── */
.btn-primary {
  padding: 11px 22px; border-radius: var(--radius-xs); border: none;
  background: var(--blue); color: white;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 14px rgba(79, 110, 247, 0.3);
  transition: opacity 0.15s, transform 0.1s; letter-spacing: -0.01em;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.35; box-shadow: none; cursor: not-allowed; }
.btn-secondary {
  padding: 10px 20px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text3); font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.15s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ── WEEKLY BARS CHART ── */
.bars-chart { display: flex; align-items: flex-end; gap: 8px; height: 100px; padding: 0 4px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.bar-fill {
  width: 100%; border-radius: 4px 4px 0 0;
  background: var(--blue-soft);
  transition: height 0.8s cubic-bezier(.4, 0, .2, 1);
  min-height: 4px; position: relative; overflow: hidden;
}
.bar-fill::after {
  content: ''; position: absolute; inset: 0;
  background: var(--blue); opacity: 0.7; border-radius: 4px 4px 0 0;
}
.bar-fill.highlight::after { opacity: 1; }
.bar-label { font-size: 10px; color: var(--text4); font-weight: 500; }

/* ── PRPL HERO CARD ── */
.prpl-hero {
  background: var(--prpl); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 28px;
  display: flex; align-items: flex-end; justify-content: space-between;
  box-shadow: 0 4px 24px rgba(20, 0, 255, 0.18);
  position: relative; overflow: hidden;
}
.prpl-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, transparent 55%);
  pointer-events: none;
}
.prpl-hero-left { position: relative; z-index: 1; }
.prpl-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 8px; }
.prpl-title { font-family: 'DM Serif Display', serif; font-size: 44px; color: white; line-height: 1.0; margin-bottom: 12px; }
.prpl-sub { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.45); margin-bottom: 14px; }
.prpl-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 20px;
  padding: 5px 14px; font-size: 11px; font-weight: 700;
  color: white; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.prpl-pill:hover { background: rgba(255, 255, 255, 0.1); }
.prpl-divider-v { width: 1px; height: 80px; background: rgba(255, 255, 255, 0.15); flex-shrink: 0; margin: 0 28px; }
.prpl-hero-right { display: flex; gap: 28px; position: relative; z-index: 1; padding-bottom: 4px; }
.prpl-stat { text-align: right; }
.prpl-stat-val { font-family: 'DM Serif Display', serif; font-size: 48px; color: white; line-height: 1; }
.prpl-stat-val.g { color: #6EE7B7; } .prpl-stat-val.y { color: #FDE68A; } .prpl-stat-val.r { color: #FCA5A5; }
.prpl-stat-label { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-top: 3px; }

/* ── SYNTHESIS ── */
.synth-header-card {
  background: var(--prpl); border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 4px 20px rgba(20, 0, 255, 0.15); position: relative; overflow: hidden;
}
.synth-header-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, transparent 55%); pointer-events: none; }
.synth-hl { position: relative; z-index: 1; }
.synth-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 5px; }
.synth-title { font-family: 'DM Serif Display', serif; font-size: 30px; color: white; line-height: 1.1; margin-bottom: 10px; }
.synth-pills { display: flex; gap: 7px; position: relative; z-index: 1; }
.synth-pill { border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 20px; padding: 4px 13px; font-size: 10px; font-weight: 700; color: white; letter-spacing: 0.05em; text-transform: uppercase; }

.synth-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.team-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.team-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: var(--radius-xs);
  border: none; background: transparent; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  color: var(--text3); transition: all 0.15s; text-align: left; width: 100%;
}
.team-btn:hover { background: var(--bg); color: var(--text); }
.team-btn.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }

.resp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.resp-chip {
  display: flex; align-items: center; gap: 5px; padding: 4px 10px;
  border-radius: 20px; background: var(--bg);
  font-size: 11px; font-weight: 500; color: var(--text2);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; }
.ai-tag { font-size: 10px; font-weight: 700; color: var(--prpl); background: var(--prpl-soft); padding: 3px 9px; border-radius: 20px; }

.synth-output {
  background: var(--bg); border-radius: var(--radius-xs); border: 1px solid var(--border);
  padding: 18px; font-size: 13px; line-height: 1.85; color: var(--text2);
  white-space: pre-wrap; min-height: 180px; max-height: 400px; overflow-y: auto;
}
.synth-output.live { color: var(--text); }
.empty-out { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; color: var(--text4); font-size: 13px; gap: 8px; text-align: center; line-height: 1.6; }
.empty-out-icon { font-size: 26px; }
.cursor { display: inline-block; width: 2px; height: 13px; background: var(--blue); animation: blink 1s step-end infinite; vertical-align: middle; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FORM ── */
.form-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.form-steps { display: flex; flex-direction: column; gap: 3px; }
.form-step-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-xs);
  border: none; background: transparent; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text3);
  transition: all 0.15s; text-align: left; width: 100%;
}
.form-step-btn:hover { background: var(--bg); color: var(--text); }
.form-step-btn.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.form-step-btn.done { color: var(--green); }
.step-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; background: var(--bg); color: var(--text4);
  transition: all 0.15s;
}
.form-step-btn.active .step-num { background: var(--blue); color: white; }
.form-step-btn.done .step-num { background: var(--green-soft); color: var(--green); }

.form-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; animation: fadeUp 0.22s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-card-header { padding: 22px 24px 0; }
.form-sec-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.form-sec-title { font-family: 'DM Serif Display', serif; font-size: 24px; color: var(--text); margin-bottom: 16px; letter-spacing: -0.01em; }
.form-divider { height: 1px; background: var(--border); margin: 0 24px; }
.form-fields { padding: 20px 24px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-full { grid-column: 1 / -1; }
.field-label { font-size: 12px; font-weight: 600; color: var(--text3); margin-bottom: 7px; display: flex; align-items: center; gap: 5px; }
.field-opt { font-size: 10px; color: var(--text4); font-weight: 400; }
.f-input,
.f-textarea,
.f-select {
  width: 100%; background: var(--bg); border: 1.5px solid transparent;
  border-radius: var(--radius-xs); padding: 11px 13px;
  font-size: 14px; color: var(--text); font-family: 'DM Sans', sans-serif;
  outline: none; appearance: none; transition: border-color 0.15s, background 0.15s;
}
.f-input:focus,
.f-textarea:focus,
.f-select:focus { border-color: var(--blue); background: white; }
.f-textarea { resize: vertical; min-height: 80px; line-height: 1.55; }
.f-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B7280' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-color: var(--bg); padding-right: 30px;
}
.f-select option { background: white; }
.radio-grid { display: flex; flex-direction: column; gap: 7px; }
.radio-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--border); cursor: pointer;
  font-size: 14px; color: var(--text); font-weight: 500;
  transition: all 0.15s; user-select: none;
}
.radio-item:hover { border-color: var(--border); background: var(--bg); }
.radio-item.sel { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.radio-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.15s; }
.radio-check.sel { background: var(--blue); border-color: var(--blue); }
.radio-check-inner { width: 6px; height: 6px; border-radius: 50%; background: white; }
.form-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 16px 22px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.step-ind { font-size: 13px; color: var(--text3); font-weight: 500; }
.form-nav-btns { display: flex; gap: 10px; }
.autosave-tag { font-size: 11px; color: var(--text4); font-weight: 500; }
.autosave-tag.saving { color: var(--orange); }
.autosave-tag.saved { color: var(--green); }

/* ── SUCCESS ── */
.success-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 32px; text-align: center; animation: fadeUp 0.3s ease; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.success-ring { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.success-check { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; font-weight: 700; }
.success-title { font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--text); margin-bottom: 8px; }
.success-sub { font-size: 15px; color: var(--text3); line-height: 1.6; max-width: 360px; }
