/* =====================================================
   GreenSlot — stylesheet v5 (consolidated, no patch layers)
   Light blue · green · white
   ===================================================== */

/* ---- VARIABLES ---- */
:root {
  --green-900: #0a4d2a; --green-700: #0a7a3b; --green-500: #2ea54e;
  --green-400: #5fc47a; --green-300: #7ed29a; --green-50:  #e7f6ec;
  --blue-900:  #0d3a52; --blue-700:  #1d6b94; --blue-500:  #4ea7d6;
  --blue-300:  #a9d6ec; --blue-50:   #eaf5fb;
  --ink-900: #0e2230; --ink-700: #2c4456; --ink-500: #5a7280;
  --ink-300: #97a8b3; --ink-200: #d2d8de; --ink-100: #e3eaef; --ink-50: #f5f8fa;
  --white: #ffffff; --bg: #f4f9fb;
  --red-700: #A32D2D; --red-100: #FCEBEB;
  --amber-700: #854F0B; --amber-100: #FAEEDA; --amber-300: #EF9F27;
  --radius-sm: 10px; --radius: 16px; --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(13,58,82,.07);
  --shadow:    0 4px 16px rgba(13,58,82,.09), 0 2px 6px rgba(13,58,82,.04);
  --shadow-lg: 0 24px 48px -16px rgba(13,58,82,.18), 0 8px 16px rgba(13,58,82,.06);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  color: var(--ink-900); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 600px at 90% -10%, var(--blue-50) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, var(--green-50) 0%, transparent 55%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }
img { max-width: 100%; display: block; }
[dir="rtl"] { direction: rtl; }

/* ---- TOPNAV ---- */
.topnav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-100);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
}
.nav-center { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
@media (max-width: 880px) {
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-center { display: none; }
  .nav-desktop { display: none !important; }
}
@media (max-width: 420px) {
  .nav-inner { padding: 10px 12px; }
  [data-lang-name] { display: none; }
  .nav-cta { font-size: .78rem; padding: 7px 10px; }
  .lang-btn { padding: 6px 9px; }
}

/* ---- BRAND ---- */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; color: inherit; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
  flex-shrink: 0; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(46,165,78,.25);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-mark.lg { width: 56px; height: 56px; border-radius: 14px; }
.brand-mark.sm { width: 28px; height: 28px; border-radius: 8px; }
.brand-center { justify-content: center; margin-bottom: 16px; }

/* ---- NAV LINKS ---- */
.nav-link {
  padding: 8px 14px; font-weight: 500; font-size: .9rem;
  color: var(--ink-500); border-radius: 999px; transition: all .2s;
}
.nav-link:hover { color: var(--ink-900); background: var(--ink-50); }
.nav-link.active { background: var(--green-50); color: var(--green-700); font-weight: 600; }

/* ---- LANGUAGE PICKER ---- */
.lang-picker { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; padding: 7px 12px;
  background: #fff; border: 1px solid var(--ink-100); border-radius: 999px;
  cursor: pointer; font-size: .85rem; font-weight: 500; color: var(--ink-700);
  white-space: nowrap; transition: all .15s;
}
.lang-btn:hover { background: var(--green-50); border-color: var(--green-300); color: var(--green-700); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 6px;
  min-width: 220px; max-height: 70vh; overflow-y: auto; z-index: 200;
}
.lang-menu.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 14px; border: none; background: none; cursor: pointer;
  font-size: .92rem; border-radius: 8px; text-align: left; color: var(--ink-700); transition: background .12s;
}
.lang-option:hover { background: var(--ink-50); }
.lang-option.active { background: var(--green-50); color: var(--green-700); font-weight: 600; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 9px 20px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; line-height: 1.2;
  transition: all .2s; white-space: nowrap; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.btn-primary:hover { background: var(--green-900); border-color: var(--green-900); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(10,122,59,.25); }
.btn-ghost { background: transparent; color: var(--ink-700); border-color: var(--ink-200); }
.btn-ghost:hover { background: var(--ink-50); border-color: var(--ink-300); }
.btn-danger { color: var(--red-700); border-color: rgba(163,45,45,.3); }
.btn-danger:hover { background: rgba(163,45,45,.06); }
.btn-sm { padding: 6px 14px; font-size: .82rem; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn-block { width: 100%; display: block; text-align: center; }
.nav-cta { white-space: nowrap; }

/* ---- MOBILE DRAWER ---- */
.mobile-drawer { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; z-index: 100; }
.mobile-drawer.open { display: flex; justify-content: flex-end; }
.drawer-panel { width: 280px; max-width: 90vw; background: #fff; height: 100%; padding: 24px 20px; display: flex; flex-direction: column; gap: 6px; }
.drawer-close { background: none; border: none; cursor: pointer; align-self: flex-end; padding: 8px; color: var(--ink-700); }
.drawer-link { padding: 12px 14px; border-radius: 8px; color: var(--ink-700); font-weight: 500; }
.drawer-link:hover { background: var(--ink-50); }

/* ---- MENU TOGGLE ---- */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink-700); }
@media (max-width: 880px) { .menu-toggle { display: grid; place-items: center; } }

/* ---- TOAST ---- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px);
  background: var(--ink-900); color: #fff; padding: 12px 22px;
  border-radius: 999px; font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-lg); opacity: 0; transition: all .25s;
  z-index: 999; pointer-events: none; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- EYEBROW ---- */
.eyebrow {
  display: inline-block; padding: 5px 12px;
  background: var(--green-50); color: var(--green-700);
  border-radius: 999px; font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero { padding: 56px 24px 40px; }
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-text h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 14px; color: var(--ink-900);
}
.hero-text > p { font-size: 1.05rem; color: var(--ink-500); margin-bottom: 24px; max-width: 480px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink-900); }
.hero-stats span { font-size: .82rem; color: var(--ink-500); }
.hero-visual { display: flex; justify-content: center; align-items: flex-start; }

/* Hero preview card */
.hero-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); width: 100%; max-width: 380px; overflow: hidden;
}
.hero-pill {
  display: inline-block; margin: 12px 14px 0;
  background: var(--green-700); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 600;
}
.preview-property { position: relative; }
.preview-map-placeholder svg { width: 100%; height: auto; display: block; }
.preview-address {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  background: rgba(255,255,255,.93); backdrop-filter: blur(4px);
  border-radius: 8px; padding: 6px 10px;
  font-size: .82rem; font-weight: 600; color: var(--ink-900);
  border: 1px solid rgba(10,122,59,.15);
}
.preview-details { padding: 14px 16px 16px; }
.preview-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: .88rem; }
.preview-row b { font-weight: 600; color: var(--ink-900); }
.preview-divider { height: 1px; background: var(--ink-100); margin: 8px 0; }
.preview-total span { font-weight: 600; }
.preview-total b { font-family: var(--font-display); font-size: 1.3rem; color: var(--green-700); }
.lot-source { font-size: .72rem; color: var(--ink-500); font-weight: 400; }

@media (max-width: 880px) {
  .hero { padding: 32px 20px 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero { padding: 24px 16px 20px; }
  .hero-text h1 { font-size: 1.85rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 16px; }
}

/* ============================================================
   QUOTE WIZARD
   ============================================================ */
.quote-section { padding: 40px 24px 80px; max-width: 1100px; margin: 0 auto; }
.quote-shell { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.quote-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }

@media (max-width: 880px) {
  .quote-grid { grid-template-columns: 1fr; }
  .desktop-only { display: none !important; }
  .quote-shell { padding: 20px 16px; border-radius: var(--radius); }
}
@media (max-width: 480px) {
  .quote-section { padding: 20px 12px 60px; }
  .quote-shell { padding: 16px 14px; }
}

/* ---- STEPPER — bar style, no circles ---- */
.stepper { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; padding: 0; margin-bottom: 28px; }
.step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-top: 12px; position: relative; font-size: .82rem;
  font-weight: 500; color: var(--ink-300);
}
.step-num { display: none !important; }
.step-bar {
  position: absolute; top: 0; left: 6px; right: 6px;
  height: 4px; background: var(--ink-100); border-radius: 999px; transition: background .25s;
}
.step-label { font-size: .82rem; }
.step.active .step-bar  { background: var(--green-700); }
.step.done   .step-bar  { background: var(--green-400); }
.step.active .step-label { color: var(--green-700); font-weight: 700; }
.step.done   .step-label { color: var(--green-500); }
@media (max-width: 400px) { .step-label { font-size: .7rem; } }

/* ---- STEP PANELS ---- */
.quote-step h2 { font-family: var(--font-display); font-size: 1.55rem; margin-bottom: 6px; }
.quote-step > p { color: var(--ink-500); margin-bottom: 22px; }
.hidden { display: none !important; }

/* ---- STEP ACTIONS ---- */
.step-actions {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ink-100);
}
.step-actions .btn-primary { margin-left: auto; }
@media (max-width: 480px) {
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; text-align: center; }
  .step-actions .btn-primary { margin-left: 0; }
}

/* ---- FORM FIELDS ---- */
.field { display: block; margin-bottom: 16px; }
.field-label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--ink-100); border-radius: var(--radius-sm);
  background: #fff; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(10,122,59,.1);
}
.field textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.field-hint { display: block; margin-top: 5px; color: var(--ink-500); font-size: .8rem; }
.field-forgot { font-size: .8rem; color: var(--green-700); text-decoration: none; margin-top: 6px; display: inline-block; }
@media (max-width: 600px) { .field-grid, .field-grid-3 { grid-template-columns: 1fr; } }

/* ---- PASSWORD FIELD ---- */
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px !important; width: 100%; }
.password-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink-500);
}
.password-toggle:hover { color: var(--ink-900); }
[dir="rtl"] .password-wrap input { padding-right: 14px !important; padding-left: 44px !important; }
[dir="rtl"] .password-toggle { right: auto; left: 8px; }

/* ---- SERVICE CARDS ---- */
.addons-title { font-family: var(--font-display); font-size: 1rem; margin: 22px 0 12px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; margin-bottom: 18px; }
.service-card {
  background: #fff; border: 2px solid var(--ink-100); border-radius: var(--radius);
  padding: 16px 14px; cursor: pointer; transition: all .2s; text-align: center;
}
.service-card:hover { border-color: var(--green-300); transform: translateY(-2px); }
.service-card.selected { border-color: var(--green-700); background: var(--green-50); box-shadow: 0 6px 18px rgba(10,122,59,.12); }
.service-icon { font-size: 1.8rem; margin-bottom: 8px; }
.service-name { font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.service-desc { font-size: .76rem; color: var(--ink-500); margin-bottom: 8px; }
.service-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-700); font-weight: 700; }

/* ---- ADD-ONS ---- */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 8px; margin-bottom: 6px; }
.addon { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink-50); border-radius: 10px; cursor: pointer; font-size: .9rem; }
.addon:hover { background: var(--green-50); }
.addon input { accent-color: var(--green-700); }
.addon span b { font-weight: 700; color: var(--green-700); }

/* ---- FREQUENCY CARDS ---- */
.freq-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.freq-card { background: #fff; border: 2px solid var(--ink-100); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: all .2s; text-align: center; }
.freq-card:hover { border-color: var(--green-300); }
.freq-card.selected { border-color: var(--green-700); background: var(--green-50); }
.freq-name { font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.freq-desc { font-size: .76rem; color: var(--ink-500); }

/* ---- SLOT PICKER ---- */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px,1fr)); gap: 10px; margin-bottom: 16px; }
.slot-day { display: flex; flex-direction: column; gap: 6px; }
.slot-day-label { font-weight: 600; font-size: .8rem; color: var(--ink-500); text-align: center; padding: 3px 0; }
.slot-btn { padding: 9px 6px; background: #fff; border: 1.5px solid var(--ink-100); border-radius: 10px; cursor: pointer; font-size: .82rem; text-align: center; transition: all .2s; }
.slot-btn:hover { border-color: var(--green-500); }
.slot-btn.selected { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* ---- QUOTE SUMMARY SIDEBAR ---- */
.quote-summary { background: var(--green-50); border-radius: var(--radius); padding: 22px; height: fit-content; position: sticky; top: 90px; }
.quote-summary h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .9rem; }
.summary-row.total { padding-top: 12px; }
.summary-row.total b { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-700); }
.summary-divider { height: 1px; background: var(--green-300); margin: 6px 0; opacity: .5; }
.summary-note { display: block; color: var(--ink-500); font-size: .78rem; line-height: 1.5; margin-top: 10px; }
@media (max-width: 880px) { .quote-summary { position: static; } }

/* ---- MOBILE STEP-4 SUMMARY BANNER ---- */
.step4-summary-banner {
  display: none;
  background: var(--green-50); border: 1.5px solid var(--green-300);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px;
}
@media (max-width: 880px) { .step4-summary-banner { display: block; } }
#sum-total, #m-total { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-700); font-weight: 700; }

/* ---- SUCCESS SCREEN ---- */
.quote-success { padding: 48px 24px; text-align: center; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin: 0 auto 18px; }
.confirm-card { background: var(--green-50); border-radius: var(--radius); padding: 22px; text-align: left; max-width: 440px; margin: 22px auto; }
.confirm-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; border-bottom: 1px solid rgba(10,122,59,.1); }
.confirm-row:last-child { border-bottom: none; }
.confirm-row.total b { color: var(--green-700); font-size: 1.2rem; font-family: var(--font-display); }
.confirm-note { color: var(--ink-500); font-size: .85rem; margin: 0 0 20px; }

/* ---- LOT LOOKUP CARD ---- */
.lot-lookup-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--green-50); border: 1.5px solid var(--green-300);
  border-radius: var(--radius); padding: 14px 16px; margin: 12px 0;
  transition: all .3s;
}
.lot-lookup-card.loading { opacity: .65; }
.lot-lookup-card.confirmed { border-color: var(--green-700); }
.lot-lookup-icon { font-size: 1.5rem; flex-shrink: 0; }
.lot-lookup-body { flex: 1; min-width: 0; }
.lot-lookup-label { font-size: .72rem; font-weight: 600; color: var(--green-700); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.lot-lookup-value { font-weight: 700; font-size: .97rem; color: var(--ink-900); }
.lot-lookup-source { font-size: .75rem; color: var(--ink-500); margin-top: 2px; }
.lot-confirm-btn { flex-shrink: 0; padding: 8px 14px; background: var(--green-700); color: #fff; border: none; border-radius: 999px; font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s; }
.lot-confirm-btn:hover:not(:disabled) { background: var(--green-900); }
.lot-confirm-btn:disabled { background: var(--green-400); color: var(--green-900); cursor: default; }
.lot-override { margin-top: 8px; }
@media (max-width: 520px) { .lot-lookup-card { flex-wrap: wrap; } .lot-confirm-btn { width: 100%; text-align: center; } }

/* ---- HOW IT WORKS ---- */
.how-section { max-width: 1100px; margin: 0 auto; padding: 56px 24px 96px; text-align: center; }
.how-section h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 36px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 22px; }
.how-card { background: #fff; padding: 24px; border-radius: var(--radius); border: 1px solid var(--ink-100); text-align: left; }
.how-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 700; margin-bottom: 12px; font-family: var(--font-display); }
.how-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.how-card p { color: var(--ink-500); font-size: .92rem; line-height: 1.55; }

/* ---- FOOTER ---- */
.footer { background: var(--ink-900); color: #fff; padding: 48px 24px 24px; margin-top: 48px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.footer .brand-name { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer-cols strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; color: rgba(255,255,255,.6); }
.footer-cols a { display: block; padding: 4px 0; color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.5); text-align: center; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .footer-cols { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-hero { text-align: center; padding: 64px 24px 32px; max-width: 720px; margin: 0 auto; }
.pricing-hero h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin-bottom: 14px; }
.pricing-hero p { color: var(--ink-500); font-size: 1.05rem; }
.tier-section { max-width: 1000px; margin: 0 auto; padding: 0 24px 80px; }
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
@media (max-width: 720px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  background: #fff; border: 2px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: 28px; position: relative;
}
.tier-card.featured { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(10,122,59,.08); }
.tier-badge { position: absolute; top: -13px; right: 24px; background: var(--green-700); color: #fff; padding: 4px 14px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.tier-name { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 4px; }
.tier-tag { color: var(--ink-500); font-size: .88rem; margin-bottom: 18px; }
.tier-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.tier-price .currency { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.tier-price .amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.tier-price .period { font-size: .9rem; color: var(--ink-500); }
.tier-trial { font-size: .82rem; color: var(--ink-500); margin-bottom: 20px; }
.tier-features { list-style: none; margin-bottom: 24px; }
.tier-features li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: .92rem; border-bottom: 1px solid var(--ink-50); }
.tier-features li:last-child { border-bottom: none; }
.tier-check { color: var(--green-700); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-faq h2 { font-family: var(--font-display); font-size: 1.8rem; text-align: center; margin-bottom: 28px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item { background: #fff; padding: 22px; border-radius: var(--radius); border: 1px solid var(--ink-100); }
.faq-item h4 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 8px; }
.faq-item p { color: var(--ink-500); font-size: .9rem; line-height: 1.6; }
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SIGNUP PAGE
   ============================================================ */
.signup-shell { max-width: 1040px; margin: 32px auto 80px; padding: 0 24px; display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 880px) { .signup-shell { grid-template-columns: 1fr; } .signup-summary-card { position: static; } }
.signup-form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.signup-form-card h1 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 6px; }
.signup-form-card > p { color: var(--ink-500); margin-bottom: 20px; font-size: .92rem; }
.signup-summary-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.signup-summary-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 14px; }
.form-section-h { font-family: var(--font-display); font-size: 1.05rem; margin: 22px 0 8px; padding-top: 16px; border-top: 1px solid var(--ink-100); }
.form-section-p { color: var(--ink-500); font-size: .88rem; margin-bottom: 14px; }
.signup-fine { font-size: .78rem; color: var(--ink-500); text-align: center; margin-top: 14px; }
.signup-fine a { color: var(--green-700); }
.signup-existing { text-align: center; margin-top: 18px; font-size: .9rem; }
.signup-existing a { color: var(--green-700); font-weight: 600; }
.tier-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 22px; }
.tier-toggle-opt { background: #fff; border: 2px solid var(--ink-100); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: all .2s; position: relative; }
.tier-toggle-opt:hover { border-color: var(--green-300); }
.tier-toggle-opt.selected { border-color: var(--green-700); background: var(--green-50); }
.tt-badge { position: absolute; top: -10px; right: 12px; background: var(--green-700); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 600; }
.tt-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.tt-price { font-weight: 700; color: var(--green-700); margin: 4px 0; }
.tt-price span { font-size: .8rem; color: var(--ink-500); font-weight: 500; }
.tt-tag { font-size: .76rem; color: var(--ink-500); }
@media (max-width: 480px) { .tier-toggle { grid-template-columns: 1fr; } }
.card-preview { background: linear-gradient(135deg,#1d6b94,#0a4d2a); border-radius: 14px; padding: 18px; color: #fff; margin: 12px 0 18px; box-shadow: 0 8px 24px rgba(10,77,42,.22); position: relative; }
.card-chip { width: 36px; height: 26px; background: linear-gradient(135deg,#f3d77a,#b48a2c); border-radius: 4px; margin-bottom: 12px; }
.card-num { font-family: 'Courier New', monospace; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 16px; }
.card-foot { display: flex; justify-content: space-between; font-size: .82rem; }
.card-foot small { display: block; opacity: .7; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.card-brand { position: absolute; top: 16px; right: 18px; font-weight: 700; letter-spacing: 2px; opacity: .9; }
.trial-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .9rem; }
.trial-today { background: var(--green-50); margin: 6px -8px; padding: 9px 12px; border-radius: 8px; }
.trial-features { list-style: none; padding: 0; margin: 10px 0; }
.trial-features li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .88rem; }
.trial-note { font-size: .8rem; color: var(--ink-500); margin-top: 10px; }
.secure-badge { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--ink-50); border-radius: 10px; font-size: .8rem; color: var(--ink-500); margin-top: 12px; }

/* ============================================================
   SIGN-IN PAGE
   ============================================================ */
.signin-shell { max-width: 440px; margin: 48px auto; padding: 0 24px; }
.signin-card { background: #fff; padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.signin-card h1 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 6px; text-align: center; }
.signin-card > p { color: var(--ink-500); text-align: center; margin-bottom: 24px; font-size: .92rem; }
.signin-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-300); font-size: .82rem; }
.signin-divider::before, .signin-divider::after { content: ''; flex: 1; height: 1px; background: var(--ink-100); }

/* ============================================================
   DASHBOARD SHELL
   ============================================================ */
.dash-shell { display: grid; grid-template-columns: 240px 1fr; max-width: 1280px; margin: 0 auto; padding: 24px; gap: 24px; align-items: start; }
.dash-sidebar { background: #fff; border-radius: var(--radius); padding: 16px 12px; position: sticky; top: 90px; }
.dash-side-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; border-bottom: 1px solid var(--ink-100); margin-bottom: 12px; }
.dash-side-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,var(--green-500),var(--green-700)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.dash-side-brand strong { display: block; font-size: .9rem; }
.dash-side-brand small { display: block; color: var(--ink-500); font-size: .76rem; }
.dash-side-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-side-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink-700); text-decoration: none; font-size: .9rem; font-weight: 500; transition: all .15s; }
.dash-side-item:hover { background: var(--ink-50); }
.dash-side-item.active { background: var(--green-50); color: var(--green-700); }
.dash-side-item.locked { color: var(--ink-300); cursor: not-allowed; }
.lock-badge { margin-left: auto; color: var(--ink-300); }
.upsell-card { margin-top: 18px; padding: 14px; background: linear-gradient(135deg,var(--green-50),var(--blue-50)); border-radius: var(--radius); text-align: center; }
.upsell-icon { font-size: 1.5rem; margin-bottom: 6px; }
.upsell-card strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.upsell-card p { font-size: .8rem; color: var(--ink-500); margin-bottom: 10px; }
.dash-main { min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.dash-head h1 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 4px; }
.dash-head p { color: var(--ink-500); font-size: .92rem; }
.trial-badge { background: var(--green-50); color: var(--green-700); padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; flex-shrink: 0; }
.dash-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.dash-panel { background: #fff; border-radius: var(--radius); padding: 22px; }
.dash-panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-panel h2 { font-family: var(--font-display); font-size: 1.1rem; }
.dash-panel-sub { color: var(--ink-500); font-size: .9rem; margin-bottom: 14px; }
.link-arrow { color: var(--green-700); font-size: .85rem; font-weight: 600; }
@media (max-width: 980px) { .dash-shell { grid-template-columns: 1fr; padding: 16px; } .dash-sidebar { position: static; } .dash-grid { grid-template-columns: 1fr; } }

/* ---- KPI GRID ---- */
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
.kpi-card { background: #fff; border-radius: var(--radius); padding: 18px; }
.kpi-label { display: block; font-size: .78rem; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.kpi-value { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; margin-bottom: 4px; }
.kpi-trend { font-size: .8rem; color: var(--ink-500); }
.kpi-trend.up { color: var(--green-700); }
@media (max-width: 720px) { .kpi-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 400px) { .kpi-grid { grid-template-columns: 1fr 1fr; } }

/* ---- PENDING CARDS ---- */
.pending-card { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--ink-100); border-radius: 10px; margin-bottom: 8px; transition: all .25s; }
.pending-card.declined { opacity: 0; transform: translateX(-20px); }
.pending-avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.pending-info strong { display: block; font-size: .92rem; }
.pending-info small { display: block; color: var(--ink-500); font-size: .76rem; margin: 2px 0 4px; }
.pending-amt { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--green-700); }
.pending-actions { display: flex; gap: 6px; }
@media (max-width: 640px) { .pending-card { grid-template-columns: 40px 1fr; } .pending-amt,.pending-actions { grid-column: 2; } }

/* ---- SCHEDULE LIST ---- */
.schedule-list { display: flex; flex-direction: column; gap: 8px; }
.schedule-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 10px; background: var(--ink-50); }
.schedule-item.done { opacity: .55; }
.schedule-item.active { background: var(--green-50); border: 1.5px solid var(--green-300); }
.schedule-time { font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
.schedule-info strong { display: block; font-size: .9rem; }
.schedule-info small { display: block; color: var(--ink-500); font-size: .76rem; }

/* ---- STATUS PILLS ---- */
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.status-pill.pending   { background: var(--amber-100); color: var(--amber-700); }
.status-pill.confirmed { background: var(--blue-50); color: var(--blue-700); }
.status-pill.completed { background: var(--green-50); color: var(--green-700); }

/* ---- BOOKINGS TABLE ---- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-pill { display: flex; align-items: center; gap: 6px; padding: 7px 14px; background: #fff; border: 1.5px solid var(--ink-100); border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 500; transition: all .15s; }
.filter-pill em { font-style: normal; color: var(--ink-500); font-size: .76rem; }
.filter-pill:hover { border-color: var(--green-300); }
.filter-pill.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.filter-pill.active em { color: rgba(255,255,255,.75); }
.bookings-table { background: #fff; border-radius: var(--radius); overflow: hidden; }
.bookings-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr .8fr .8fr; gap: 12px; padding: 13px 16px; align-items: center; border-bottom: 1px solid var(--ink-100); font-size: .9rem; }
.bookings-row:last-child { border-bottom: none; }
.bookings-head { background: var(--ink-50); font-size: .76rem; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }
.bk-customer { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bk-avatar { width: 32px; height: 32px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: .73rem; font-weight: 700; flex-shrink: 0; }
.bk-customer strong { display: block; font-size: .88rem; }
.bk-customer small { display: block; color: var(--ink-500); font-size: .74rem; }
.bk-amt { font-family: var(--font-display); font-weight: 600; color: var(--green-700); }
@media (max-width: 720px) { .bookings-row { grid-template-columns: 1fr 1fr; } .bookings-head { display: none; } .bk-customer { grid-column: 1/-1; } }

/* ---- CALENDAR ---- */
.cal-controls { display: flex; align-items: center; gap: 10px; }
.cal-controls strong { font-family: var(--font-display); }
.cal-grid { background: #fff; border-radius: var(--radius); padding: 12px; display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.cal-day-head { padding: 7px; text-align: center; font-size: .72rem; font-weight: 600; color: var(--ink-500); text-transform: uppercase; }
.cal-cell { aspect-ratio: 1; padding: 6px; border-radius: 8px; background: var(--ink-50); display: flex; flex-direction: column; gap: 3px; cursor: pointer; transition: background .15s; position: relative; }
.cal-cell:hover { background: var(--green-50); }
.cal-cell.other { opacity: .3; }
.cal-cell.today { background: var(--green-50); border: 2px solid var(--green-700); }
.cal-num { font-weight: 600; font-size: .82rem; }
.cal-cell.today .cal-num { color: var(--green-700); }
.cal-dots { display: flex; flex-wrap: wrap; gap: 3px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }
.dot.pending { background: var(--amber-300); }
.dot.done { background: var(--green-700); }
.dot.active { background: var(--green-500); }
.cal-count { position: absolute; bottom: 3px; right: 5px; font-size: .64rem; color: var(--ink-500); font-weight: 600; }
.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 14px 4px 0; font-size: .82rem; color: var(--ink-500); }
.cal-legend > span { display: flex; align-items: center; gap: 6px; }
.cal-legend .dot { width: 8px; height: 8px; }

/* ---- PRO FEATURE GATE ---- */
.pro-badge { background: linear-gradient(135deg,var(--green-700),var(--green-900)); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: .76rem; font-weight: 600; flex-shrink: 0; }
.pro-gate { background: #fff; border: 2px dashed var(--green-300); border-radius: var(--radius); padding: 48px 24px; text-align: center; }
.pro-gate-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin: 0 auto 16px; }
.pro-gate h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 8px; }
.pro-gate p { color: var(--ink-500); margin-bottom: 20px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ---- ROUTE PAGE ---- */
.route-map { background: #fff; border-radius: var(--radius); overflow: hidden; }
.route-map svg { width: 100%; height: auto; display: block; }
.route-container { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
@media (max-width: 768px) { .route-container { grid-template-columns: 1fr; } }
.route-side { display: flex; flex-direction: column; gap: 14px; }
.route-summary { background: #fff; border-radius: var(--radius); padding: 20px; }
.route-summary h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 12px; }
.route-stat { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9rem; border-bottom: 1px solid var(--ink-100); }
.route-stat:last-of-type { border-bottom: none; }
.route-stat b { font-family: var(--font-display); font-weight: 700; }
.route-stat.saved b { color: var(--green-700); }
.route-stops { display: flex; flex-direction: column; gap: 0; }
.stop-card { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; padding: 12px; background: #fff; border-radius: 10px; border: 1px solid var(--ink-100); margin-bottom: 4px; }
.stop-card.done { opacity: .65; }
.stop-card.active { border-color: var(--green-700); background: var(--green-50); }
.stop-num { width: 28px; height: 28px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.stop-info strong { display: block; font-size: .9rem; }
.stop-info small { display: block; color: var(--ink-500); font-size: .76rem; margin: 2px 0 4px; }
.travel-leg { display: flex; align-items: center; gap: 8px; padding: 6px 12px; color: var(--ink-500); font-size: .82rem; }
.traffic-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; }
.traffic-badge.ok { background: var(--green-50); color: var(--green-700); }
.traffic-badge.warn { background: var(--amber-100); color: var(--amber-700); }

/* ---- CUSTOMERS ---- */
.customer-grid { display: flex; flex-direction: column; gap: 10px; }
.customer-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--ink-100); }
.cust-avatar { width: 48px; height: 48px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; }
.cust-info strong { display: block; font-size: .92rem; }
.cust-info small { display: block; color: var(--ink-500); font-size: .78rem; margin-bottom: 4px; }
.cust-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; }
.cust-tag.weekly   { background: var(--green-50); color: var(--green-700); }
.cust-tag.biweekly { background: var(--blue-50);  color: var(--blue-700); }
.cust-tag.once     { background: var(--ink-50);   color: var(--ink-500); }
.cust-ltv { text-align: right; }
.cust-ltv span { display: block; font-size: .7rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }
.cust-ltv b { font-family: var(--font-display); font-size: 1.1rem; color: var(--green-700); }

/* ---- PRICING RULES ---- */
.rules-table { display: flex; flex-direction: column; }
.rules-row { display: grid; grid-template-columns: 2fr 1fr 1fr .6fr; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--ink-100); font-size: .9rem; }
.rules-row:last-child { border-bottom: none; }
.rules-head { background: var(--ink-50); border-radius: 8px 8px 0 0; font-size: .74rem; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.rules-price { font-family: var(--font-display); font-weight: 700; color: var(--green-700); }
.toggle { width: 36px; height: 20px; border-radius: 999px; background: var(--ink-200); position: relative; cursor: pointer; transition: background .2s; }
.toggle.on { background: var(--green-700); }
.toggle-dot { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle.on .toggle-dot { transform: translateX(16px); }
.lot-mults { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 10px; }
.lot-mult { background: var(--ink-50); border-radius: 10px; padding: 14px; }
.lot-mult strong { display: block; font-family: var(--font-display); margin-bottom: 2px; }
.lot-mult small { display: block; color: var(--ink-500); font-size: .75rem; margin-bottom: 8px; }
.mult-badge { display: inline-block; padding: 3px 10px; background: #fff; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink-700); }
.mult-badge.active { background: var(--green-700); color: #fff; }
.rule-toggle-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px; background: var(--ink-50); border-radius: 10px; margin-bottom: 8px; }
.rule-toggle-card strong { display: block; font-size: .9rem; }
.rule-toggle-card small { display: block; color: var(--ink-500); font-size: .78rem; }

/* ---- SETTINGS ---- */
.settings-tabs { display: flex; gap: 2px; border-bottom: 1.5px solid var(--ink-100); margin-bottom: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.settings-tab { padding: 10px 16px; background: none; border: none; cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--ink-500); border-bottom: 2px solid transparent; margin-bottom: -1.5px; white-space: nowrap; transition: all .15s; }
.settings-tab:hover { color: var(--ink-900); }
.settings-tab.active { color: var(--green-700); border-bottom-color: var(--green-700); }
.profile-photo-row { display: flex; align-items: center; gap: 16px; padding: 14px; background: var(--ink-50); border-radius: var(--radius); margin-bottom: 20px; }
.profile-photo { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg,var(--green-500),var(--green-700)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.profile-photo-label { font-weight: 600; margin-bottom: 2px; }
.profile-photo-sub { font-size: .8rem; color: var(--ink-500); margin-bottom: 6px; }
.danger-zone { margin-top: 26px; padding-top: 20px; border-top: 2px solid rgba(163,45,45,.15); }
.danger-zone h3 { color: var(--red-700); font-family: var(--font-display); font-size: 1rem; margin-bottom: 10px; }
.connect-card { background: #fff; border: 1.5px solid var(--ink-100); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.connect-card.connected { border-color: var(--green-300); background: linear-gradient(180deg,var(--green-50) 0%,#fff 60%); }
.connect-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.stripe-logo { width: 36px; height: 36px; border-radius: 8px; background: #635BFF; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.connect-head > div { flex: 1; min-width: 120px; }
.connect-head strong { display: block; font-family: var(--font-display); }
.connect-head small { display: block; color: var(--ink-500); font-size: .82rem; }
.connect-account { background: var(--ink-50); border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.connect-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: .87rem; }
.connect-features { list-style: none; padding: 0; margin: 0 0 14px; }
.connect-features li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .87rem; }
.connect-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.payouts-table { background: var(--ink-50); border-radius: 10px; overflow: hidden; }
.payouts-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; padding: 10px 14px; align-items: center; font-size: .87rem; border-bottom: 1px solid var(--ink-100); }
.payouts-row:last-child { border-bottom: none; }
.payouts-head { font-size: .72rem; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.area-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.area-pill { padding: 7px 14px; background: var(--green-50); color: var(--green-700); border-radius: 999px; font-size: .84rem; font-weight: 500; }
.area-radius { display: flex; align-items: center; gap: 10px; background: var(--ink-50); padding: 6px 14px; border-radius: 999px; font-size: .84rem; }
.radius-track { width: 90px; height: 6px; background: var(--ink-100); border-radius: 999px; position: relative; }
.radius-fill { width: 60%; height: 100%; background: var(--green-700); border-radius: 999px; }
.radius-thumb { position: absolute; right: 38%; top: 50%; transform: translate(50%,-50%); width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--green-700); cursor: pointer; }
.area-map { background: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.area-map svg { width: 100%; height: auto; display: block; }
.zip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.zip { padding: 6px 12px; border-radius: 999px; background: var(--ink-50); color: var(--ink-500); font-size: .84rem; cursor: pointer; transition: all .15s; }
.zip.in { background: var(--green-700); color: #fff; }
.area-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; background: var(--ink-50); border-radius: 10px; flex-wrap: wrap; }
.integration-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1.5px solid var(--ink-100); border-radius: 10px; margin-bottom: 8px; }
.integration-card.connected { border-color: var(--green-300); background: var(--green-50); }
.integration-logo { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.integration-logo.qb   { background: #2CA01C; }
.integration-logo.xero { background: #13B5EA; }
.integration-logo.wave { background: #1E73E8; }
.integration-logo.fb   { background: #0075DD; }
.integration-info strong { display: block; font-family: var(--font-display); }
.integration-info small { display: block; color: var(--ink-500); font-size: .82rem; }

/* ---- Missing utility classes ---- */
.nav-links { display: flex; gap: 4px; align-items: center; }
.quote-main { min-width: 0; }
.hero-br { display: none; }

/* Legal pages (terms.html / privacy.html — scoped inline styles supplement these) */
.legal-page { max-width: 780px; margin: 0 auto; padding: 56px 24px 96px; }
.legal-page h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 8px; }
.legal-meta { color: var(--ink-500); font-size: .9rem; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--ink-100); }
.legal-page h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 34px 0 10px; color: var(--green-700); }
.legal-page h3 { font-size: 1rem; font-weight: 700; margin: 18px 0 6px; }
.legal-page p, .legal-page li { color: var(--ink-700); line-height: 1.75; font-size: .97rem; }
.legal-page ul { padding-left: 1.4rem; margin: 10px 0; }
.legal-page li { margin-bottom: 6px; }
.legal-toc { background: var(--green-50); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; }
.legal-toc strong { display: block; margin-bottom: 10px; font-family: var(--font-display); }
.legal-toc ol { padding-left: 1.2rem; }
.legal-toc a { color: var(--green-700); text-decoration: none; font-size: .9rem; }
.legal-toc a:hover { text-decoration: underline; }
.legal-highlight { background: var(--ink-50); border-left: 4px solid var(--green-700); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 16px 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .9rem; }
.data-table th { background: var(--green-50); color: var(--green-700); text-align: left; padding: 10px 14px; font-weight: 600; border-bottom: 2px solid var(--green-300); }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
