/* ============================================
   RINGTHEBELL — PROPOSAL v2
   Light mode · Sidebar desktop · Story mobile
   ============================================ */

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

:root {
  --bg:          #F7F6F3;
  --surface:     #FFFFFF;
  --border:      rgba(0,0,0,0.08);
  --border-md:   rgba(0,0,0,0.13);

  --ink:         #111111;
  --ink-2:       #3A3A3A;
  --ink-3:       #777777;
  --ink-4:       #BBBBBB;

  --ping:        #FF4D00;
  --ping-light:  #FF6B3D;
  --ping-pale:   rgba(255,77,0,0.07);
  --ping-glow:   rgba(255,77,0,0.18);

  --green:       #00A86B;
  --green-bg:    rgba(0,168,107,0.08);
  --red:         #D94040;
  --amber:       #D97706;
  --amber-bg:    rgba(217,119,6,0.08);

  --sidebar-w:   260px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;

  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;

  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.11);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

/* ============================================
   LAYOUT — SIDEBAR + MAIN
   ============================================ */

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  z-index: 50;
  padding: 28px 0 24px;
}

.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* ============================================
   SIDEBAR CONTENTS
   ============================================ */

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sb-bell { font-size: 20px; }
.sb-brand {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.sidebar-property {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sb-address {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.sb-owner {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}

.sb-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ping);
  background: rgba(255,77,0,0.12);
  border: 1px solid rgba(255,77,0,0.2);
  border-radius: 20px;
  padding: 4px 10px;
}

.sb-live-dot {
  width: 6px; height: 6px;
  background: var(--ping);
  border-radius: 50%;
  animation: sbPulse 2s infinite;
}

@keyframes sbPulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sb-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}

.sb-nav-item:hover {
  background: rgba(255,255,255,0.06);
}

.sb-nav-item.active {
  background: var(--ping);
}

.sb-nav-icon { font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }

.sb-nav-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s ease;
}

.sb-nav-item:hover .sb-nav-label { color: rgba(255,255,255,0.9); }
.sb-nav-item.active .sb-nav-label { color: #fff; }

.sidebar-agent-mini {
  margin: 0 12px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.sb-agent-avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sb-agent-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.sb-agent-role {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   MOBILE TOP BAR
   ============================================ */

.mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background: var(--ink);
  height: 60px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.mtb-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mtb-bell { font-size: 20px; }

.mtb-address {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.mtb-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mtb-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%; bottom: 0;
  width: min(320px, 85vw);
  background: var(--ink);
  z-index: 200;
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open { right: 0; }

.md-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.md-address {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.md-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.md-nav {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.md-nav-item {
  display: block;
  padding: 16px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: background 0.15s ease, color 0.15s ease;
}

.md-nav-item:hover,
.md-nav-item.active {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.md-nav-item.active { color: var(--ping); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   SECTIONS — GENERAL
   ============================================ */

.prop-section {
  min-height: 100vh;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
}

.section-inner {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label-row { margin-bottom: 10px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ping);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 17px;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Generic card */
.prop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Section next button */
.section-nav-btn-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.section-next-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  width: 100%;
  justify-content: center;
}

.section-next-btn:hover {
  background: #222;
  transform: translateY(-1px);
}

.section-next-btn span {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.section-next-btn:hover span { transform: translateX(4px); }

/* ============================================
   SECTION 1: WELCOME
   ============================================ */

.welcome-hero {
  margin-bottom: 32px;
}

.welcome-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.welcome-name {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 6px;
}

.welcome-address {
  font-size: 17px;
  color: var(--ink-3);
}

/* Agent intro card */
.agent-intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.aic-video {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.aic-video-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
}

.aic-avatar {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  position: absolute;
  bottom: 0;
  right: 16px;
  user-select: none;
}

.aic-play-btn {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.aic-play-btn:hover { transform: scale(1.08); }
.aic-play-icon { font-size: 20px; color: var(--ink); margin-left: 4px; }

.aic-video-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  max-width: 260px;
}

.aic-info { padding: 24px 28px; }

.aic-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 2px;
}

.aic-role {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.aic-bio {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.aic-stats {
  display: flex;
  gap: 24px;
}

.aic-stat { text-align: center; }

.aic-stat-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--ping);
  display: block;
  letter-spacing: -0.02em;
}

.aic-stat-label {
  font-size: 11px;
  color: var(--ink-3);
}

/* Timeline */
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}

.timeline-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-left: 2px solid var(--border);
  margin-left: 14px;
  padding-left: 20px;
  position: relative;
}

.tl-item:last-child { border-left-color: transparent; }

.tl-icon-wrap {
  position: absolute;
  left: -14px;
  top: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tl-icon { font-size: 11px; font-weight: 800; color: var(--ink-3); }

.tl-done .tl-icon-wrap {
  background: var(--green-bg);
  border-color: var(--green);
}

.tl-done .tl-icon { color: var(--green); font-size: 12px; }

.tl-next .tl-icon-wrap {
  background: rgba(255,77,0,0.08);
  border-color: var(--ping);
}

.tl-next .tl-icon { color: var(--ping); }

.tl-finish .tl-icon-wrap { font-size: 14px; }

.tl-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.tl-done .tl-label { color: var(--ink-3); }
.tl-next .tl-label { color: var(--ping); }

.tl-sub {
  font-size: 13px;
  color: var(--ink-4);
}

/* ============================================
   SECTION 2: VALUATION
   ============================================ */

.valuation-hero-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
}

.vhc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.vhc-range-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}

.vhc-bound {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vhc-bound-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.02em;
}

.vhc-bound-label {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vhc-mid-block {
  text-align: center;
  flex: 1;
}

.vhc-mid-val {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.vhc-mid-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.vhc-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  position: relative;
  margin-bottom: 16px;
  overflow: visible;
}

.vhc-bar-fill {
  position: absolute;
  left: 0; top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,77,0,0.4), var(--ping));
  border-radius: 20px;
}

.vhc-bar-marker {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--ping);
  border: 3px solid #111;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,77,0,0.3);
}

.vhc-trend {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(0,168,107,0.12);
  border: 1px solid rgba(0,168,107,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.vhc-trend-up {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  color: #00C47D;
}

.vhc-trend-text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  flex: 1;
}

.vhc-trend-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00C47D;
  background: rgba(0,196,125,0.12);
  border-radius: 20px;
  padding: 3px 8px;
  border: 1px solid rgba(0,196,125,0.2);
}

/* Property specs */
.prop-specs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.specs-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
}

.spec-ico { font-size: 20px; }
.spec-val { font-family: var(--font-head); font-size: 17px; font-weight: 900; color: var(--ink); }
.spec-lbl { font-size: 11px; color: var(--ink-3); }
.ber-b { color: var(--green); }

/* Why card */
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.why-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

.why-list { display: flex; flex-direction: column; gap: 0; }

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.why-item:last-child { border-bottom: none; }

.why-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.why-positive .why-icon { background: var(--green-bg); color: var(--green); }
.why-tip .why-icon { background: var(--amber-bg); color: var(--amber); font-size: 14px; }

.why-head { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.why-body { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.home-special-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.home-special-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-accent);
  margin-bottom: 8px;
}

.home-special-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.home-special-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.home-special-body-empty {
  color: var(--ink-3);
  font-style: italic;
}

.handoff-hint {
  margin: -14px 0 18px;
  font-size: 12px;
  color: var(--ink-3);
}

.handoff-hint.is-empty {
  color: var(--amber);
}

/* ============================================
   SECTION 3: CALCULATOR
   ============================================ */

.calc-result-hero {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
}

.crh-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.crh-value {
  font-family: var(--font-head);
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 900;
  color: #00C47D;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  transition: all 0.25s ease;
}

.crh-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* Slider card */
.calc-slider-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.csc-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.csc-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

.csc-value {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--ping);
  letter-spacing: -0.02em;
}

/* Slider */
.slider-wrap {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.slider-track-bg {
  position: absolute;
  left: 0; right: 0;
  height: 8px;
  background: #EBEBEB;
  border-radius: 20px;
}

.slider-track-fill {
  position: absolute;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #FFD4C7, var(--ping));
  border-radius: 20px;
  pointer-events: none;
}

.rtb-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: transparent;
  cursor: pointer;
  outline: none;
}

.rtb-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  background: var(--ping);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(255,77,0,0.35);
  cursor: grab;
  transition: transform 0.1s ease;
}

.rtb-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.rtb-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }

.slider-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-4);
}

/* Mortgage card */
.calc-mortgage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.mortgage-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.mortgage-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg);
  border: 2px solid var(--border-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.mortgage-input-wrap:focus-within {
  border-color: var(--ping);
  box-shadow: 0 0 0 3px var(--ping-glow);
}

.mortgage-euro {
  padding: 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-3);
  background: rgba(0,0,0,0.03);
  border-right: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
}

.mortgage-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 16px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  outline: none;
  width: 100%;
  height: 56px;
}

.mortgage-hint {
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 8px;
}

/* Breakdown */
.calc-breakdown-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}

.breakdown-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--ink-3);
}

.bd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.bd-row:last-child { border-bottom: none; }

.bd-label { color: var(--ink-2); }
.bd-small { font-size: 12px; color: var(--ink-4); margin-left: 4px; }
.bd-val { font-weight: 700; color: var(--ink); }
.bd-minus { color: var(--red); font-weight: 600; }

.bd-divider {
  height: 2px;
  background: var(--ink);
  margin: 8px 0;
}

.bd-total .bd-label { font-weight: 700; font-size: 16px; color: var(--ink); }
.bd-net {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--green) !important;
  transition: all 0.25s ease;
}

/* Edit assumptions */
.calc-edit-link { text-align: center; margin-bottom: 0; }

.edit-assumptions-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  padding: 10px;
  transition: color 0.15s ease;
}

.edit-assumptions-btn:hover { color: var(--ping); }

.assumptions-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 8px;
  display: none;
}

.assumptions-panel.open { display: block; }

.ap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.ap-row:last-child { border-bottom: none; }
.ap-label { font-size: 14px; color: var(--ink-2); }

.ap-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.ap-unit { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.ap-unit-left { order: -1; }

.ap-input {
  width: 70px;
  text-align: right;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  outline: none;
}

.fee-compare-toggle-row {
  margin-top: 14px;
}

.fee-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}

.fee-compare-toggle input {
  accent-color: var(--theme-accent);
}

.fee-compare-card {
  display: none;
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.fee-compare-card.open {
  display: block;
}

.fee-compare-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.fee-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fee-compare-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fee-compare-ours {
  border-color: var(--theme-accent-light);
  background: var(--theme-accent-pale);
}

.fee-stat-label {
  font-size: 11px;
  color: var(--ink-3);
}

.fee-stat-value {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============================================
   SECTION 4: MARKET
   ============================================ */

.market-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.mstat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mstat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.trend-up { color: var(--green); }

.mstat-label {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.3;
}

.active-buyers-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--theme-accent-pale);
  border: 1px solid var(--theme-accent-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.active-buyers-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.active-buyers-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.active-buyers-card strong {
  color: var(--ink);
}

.homes-sold-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.homes-sold-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 5px;
}

.homes-sold-line {
  font-size: 14px;
  color: var(--ink-2);
}

.homes-sold-line strong {
  color: var(--ink);
}

#homesSoldCounter {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* PPR list */
.ppr-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.ppr-list-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.ppr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s ease;
  justify-content: space-between;
}

.ppr-item:last-child { border-bottom: none; }
.ppr-item:hover { background: var(--ping-pale); }

.ppr-item-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.ppr-item-icon { font-size: 22px; flex-shrink: 0; }
.ppr-item-addr { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.ppr-item-detail { font-size: 12px; color: var(--ink-3); }

.ppr-item-right { text-align: right; flex-shrink: 0; }
.ppr-item-price { font-family: var(--font-head); font-size: 18px; font-weight: 900; color: var(--ink); }
.ppr-item-vs { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.ppr-vs-positive { color: var(--green); }

/* Agent insight */
.agent-insight-card {
  background: rgba(255,77,0,0.04);
  border: 1px solid rgba(255,77,0,0.15);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.aic2-icon { font-size: 22px; flex-shrink: 0; }
.aic2-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ping); margin-bottom: 6px; }
.aic2-text { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ============================================
   SECTION 5: AGENT
   ============================================ */

.agent-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.apc-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.apc-avatar {
  width: 56px; height: 56px;
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apc-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}

.apc-role { font-size: 13px; color: var(--ink-3); }
.apc-agency { font-size: 13px; color: var(--ink-3); }

.apc-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.apc-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid var(--border);
}

.apc-stat:last-child { border-right: none; }

.apc-stat-num {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--ping);
  display: block;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.apc-stat-label { font-size: 11px; color: var(--ink-3); }

/* Reviews */
.reviews-section { display: flex; flex-direction: column; gap: 12px; }

.reviews-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.reviews-heading {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.reviews-source-link {
  font-size: 12px;
  color: var(--ping);
  text-decoration: none;
  font-weight: 600;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.review-stars { font-size: 14px; color: #F5A623; letter-spacing: 1px; margin-bottom: 8px; }

.review-quote {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}

.review-author { font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* ============================================
   SECTION 6: CONTACT
   ============================================ */

.cta-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.cta-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
}

.cta-option:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-md);
}

.cta-opt-icon { font-size: 28px; flex-shrink: 0; }

.cta-opt-text { flex: 1; }
.cta-opt-text strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.cta-opt-text em { display: block; font-size: 13px; color: var(--ink-3); font-style: normal; }

.cta-opt-arrow { font-size: 20px; color: var(--ink-4); transition: transform 0.2s ease; }
.cta-option:hover .cta-opt-arrow { transform: translateX(4px); color: var(--ping); }

.cta-option-primary {
  background: var(--ping) !important;
  border-color: var(--ping) !important;
  box-shadow: 0 4px 24px var(--ping-glow) !important;
}

.cta-option-primary .cta-opt-text strong { color: #fff !important; }
.cta-option-primary .cta-opt-text em { color: rgba(255,255,255,0.7) !important; }
.cta-option-primary .cta-opt-arrow { color: rgba(255,255,255,0.7) !important; }

.cta-option-whatsapp {
  border-color: rgba(37,211,102,0.3) !important;
}

.cta-option-call {
  border-color: rgba(77,166,255,0.3) !important;
}

.referral-card {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.referral-card.show {
  display: block;
}

.referral-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-accent);
  margin-bottom: 8px;
}

.referral-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.referral-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.referral-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ref-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.ref-input {
  width: 100%;
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ref-input:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px var(--theme-accent-glow);
}

.ref-submit {
  margin-top: 4px;
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: var(--theme-sidebar);
  color: #fff;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.ref-submit:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.ref-status {
  min-height: 18px;
  font-size: 12px;
  color: var(--ink-3);
}

.ref-status.ok {
  color: var(--green);
}

.footer-brand-bar {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.fbb-text { font-size: 13px; color: var(--ink-4); margin-bottom: 2px; }
.fbb-link { color: var(--ping); text-decoration: none; font-weight: 600; }
.fbb-sub { font-size: 11px; color: var(--ink-4); }

/* ============================================
   MOBILE DOTS
   ============================================ */

.mobile-dots {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  gap: 8px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 20px;
}

.m-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.25s ease;
  display: block;
}

.m-dot.active {
  background: var(--ping);
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 6px var(--ping-glow);
}

/* ============================================
   TRACKING TOAST
   ============================================ */

.tracking-toast {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #111;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 300px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
}

.tracking-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon { font-size: 22px; flex-shrink: 0; }
.toast-title { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.toast-sub { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
  position: fixed; inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon { font-size: 48px; display: block; margin-bottom: 16px; }

.modal-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}

.modal-body {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-agent-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
}

.mas-avatar {
  width: 42px; height: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mas-name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.mas-contact { font-size: 12px; color: var(--ink-3); }

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

/* ============================================
   THEME VARIABLES — 4 ESTATE AGENT PALETTES
   ============================================ */

/* Default: loaded at runtime by JS — Navy & Gold */
:root {
  --theme-sidebar:       #1B2A4A;
  --theme-sidebar-hover: rgba(255,255,255,0.06);
  --theme-accent:        #C9A84C;
  --theme-accent-light:  rgba(201,168,76,0.15);
  --theme-accent-glow:   rgba(201,168,76,0.22);
  --theme-accent-pale:   rgba(201,168,76,0.07);
  --theme-on-accent:     #fff;
  --theme-topbar:        #1B2A4A;
}

/* Override sidebar / accent across all usage points */
.sidebar                          { background: var(--theme-sidebar) !important; }
.mobile-topbar,
.mobile-drawer                    { background: var(--theme-topbar) !important; }

.sb-live                          { color: var(--theme-accent) !important;
                                    background: var(--theme-accent-light) !important;
                                    border-color: rgba(255,255,255,0.12) !important; }
.sb-live-dot                      { background: var(--theme-accent) !important; }

.sb-nav-item.active               { background: var(--theme-accent) !important; }
.sb-nav-item.active .sb-nav-label { color: var(--theme-on-accent) !important; }

.md-nav-item.active               { color: var(--theme-accent) !important; }

.m-dot.active                     { background: var(--theme-accent) !important;
                                    box-shadow: 0 0 6px var(--theme-accent-glow) !important; }

.section-label                    { color: var(--theme-accent) !important; }
.section-next-btn                 { background: var(--theme-sidebar) !important; }
.section-next-btn:hover           { background: var(--theme-sidebar) !important; filter: brightness(1.15); }

.csc-value                        { color: var(--theme-accent) !important; }
.ppr-item:hover                   { background: var(--theme-accent-pale) !important; }
.ppr-vs-positive                  { color: var(--theme-accent) !important; }
.agent-insight-card               { border-color: var(--theme-accent-light) !important;
                                    background: var(--theme-accent-pale) !important; }
.aic2-label                       { color: var(--theme-accent) !important; }
.reviews-source-link              { color: var(--theme-accent) !important; }
.apc-stat-num                     { color: var(--theme-accent) !important; }
.fbb-link                         { color: var(--theme-accent) !important; }
.edit-assumptions-btn:hover       { color: var(--theme-accent) !important; }
.cta-opt-text strong              { }
.cta-option:hover .cta-opt-arrow  { color: var(--theme-accent) !important; }
.aic-stat-num                     { color: var(--theme-accent) !important; }

/* Primary CTA button uses accent */
.cta-option-primary               { background: var(--theme-accent) !important;
                                    border-color: var(--theme-accent) !important;
                                    box-shadow: 0 4px 24px var(--theme-accent-glow) !important; }

/* Slider thumb & fill */
.rtb-slider::-webkit-slider-thumb {
  background: var(--theme-accent) !important;
  box-shadow: 0 2px 10px var(--theme-accent-glow) !important;
}
.slider-track-fill                { background: linear-gradient(90deg, var(--theme-accent-light), var(--theme-accent)) !important; }

/* Mortgage focus ring */
.mortgage-input-wrap:focus-within { border-color: var(--theme-accent) !important;
                                    box-shadow: 0 0 0 3px var(--theme-accent-glow) !important; }

/* ============================================
   THEME SWITCHER UI
   ============================================ */

.theme-switcher {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 300;
}

@media (max-width: 860px) {
  .theme-switcher {
    bottom: 72px;
    left: 16px;
  }
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 24px;
  padding: 9px 16px 9px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.theme-toggle-btn:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
  transform: translateY(-1px);
}

.theme-toggle-icon { font-size: 16px; }
.theme-toggle-label { letter-spacing: 0; }

.theme-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.theme-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.theme-panel-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.theme-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  width: 100%;
  text-align: left;
}

.theme-option:hover { background: var(--bg); }

.theme-option.active {
  background: var(--bg);
  border-color: rgba(0,0,0,0.1);
}

.theme-swatch {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.sw-sidebar {
  width: 22px;
  height: 28px;
  display: block;
}

.sw-accent {
  width: 12px;
  height: 28px;
  display: block;
}

.theme-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}

.theme-check {
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.theme-option.active .theme-check { opacity: 1; color: var(--ink); }

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 860px) {

  .sidebar { display: none; }

  .mobile-topbar {
    display: flex;
  }

  .mobile-dots {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding-top: 60px;
  }

  .prop-section {
    min-height: auto;
    padding: 40px 0 60px;
  }

  .section-inner {
    padding: 0 20px;
    max-width: 100%;
  }

  .tracking-toast {
    bottom: 70px;
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-stats {
    grid-template-columns: 1fr;
  }

  .fee-compare-grid {
    grid-template-columns: 1fr;
  }

  .aic-stats {
    gap: 16px;
  }

  .section-next-btn {
    font-size: 18px;
    padding: 20px 28px;
  }

  .crh-value {
    font-size: 52px;
  }

  .vhc-mid-val {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
