:root {
  --forest-50: #eef5f0;
  --forest-100: #d6e7dc;
  --forest-200: #adcdb9;
  --forest-400: #528c6b;
  --forest-500: #2f6f4f;
  --forest-600: #1f5a3e;
  --forest-700: #174733;
  --forest-800: #123527;
  --forest-900: #0d2a1f;
  --ochre-50: #fdf8ec;
  --ochre-100: #f9edcf;
  --ochre-300: #e8c26b;
  --ochre-400: #dcaa45;
  --ochre-600: #a97325;
  --ochre-700: #855620;
  --sand-25: #fdfbf7;
  --sand-50: #faf7f0;
  --sand-100: #f4efe4;
  --sand-200: #e9e2d3;
  --sand-300: #d8cfbb;
  --sand-400: #b6a992;
  --sand-500: #8c8069;
  --sand-600: #6b6154;
  --sand-700: #4f4740;
  --sand-800: #332e29;
  --sand-900: #221e1a;
  --clay-50: #fdf3ef;
  --clay-100: #fbe3d9;
  --clay-600: #ad4726;
  --clay-700: #8a3a20;
  --acacia-50: #eff7f1;
  --acacia-100: #d6ecdd;
  --acacia-700: #215e3f;
  --white: #fff;
  --shadow: 0 1px 2px rgba(34, 30, 26, 0.04), 0 12px 32px -16px rgba(34, 30, 26, 0.18);
  --radius: 16px;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --display: "Fraunces", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--sand-900);
  background: var(--sand-50);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: var(--forest-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; margin: 0; }
img { max-width: 100%; }
.tabular { font-variant-numeric: tabular-nums; }

.logo-mark {
  display: inline-block;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 9px;
  flex: none;
}
.logo-mark img { display: block; width: auto; max-width: none; height: 100%; }
.brand-logo-wordmark {
  display: block;
  width: 172px;
  max-width: min(48vw, 190px);
  height: auto;
  border-radius: 4px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.brand em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--sand-500);
  font-weight: 500;
}
.brand-sidebar .brand-logo-wordmark {
  mix-blend-mode: screen;
  filter: brightness(1.5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.65; cursor: wait; }
.btn-primary { background: var(--forest-700); color: var(--white); }
.btn-primary:hover { background: var(--forest-800); }
.btn-secondary { background: var(--white); color: var(--forest-800); border-color: var(--sand-200); }
.btn-secondary:hover { background: var(--sand-50); }
.btn-demo { background: var(--ochre-400); color: var(--forest-900); border-color: transparent; font-weight: 700; }
.btn-demo:hover { background: var(--ochre-300); }
.btn-ghost { background: transparent; color: var(--sand-700); }
.btn-block { width: 100%; }
.btn.is-loading .btn-label { visibility: visible; }
.btn { position: relative; }
.btn.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form { display: grid; gap: 14px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sand-700);
}
.field > span em { font-style: normal; font-weight: 500; color: var(--sand-400); }
.field small { color: var(--sand-500); font-size: 0.75rem; }
.field input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--sand-900);
}
.field input:focus {
  outline: 2px solid var(--forest-200);
  border-color: var(--forest-400);
}
.field input.is-invalid { border-color: var(--clay-600); }
.secret { display: flex; position: relative; }
.secret input { padding-right: 68px; }
.secret-toggle {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  border: 0;
  background: transparent;
  color: var(--forest-700);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.form-row { display: flex; justify-content: flex-end; font-size: 0.85rem; }
.alert {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--clay-50);
  color: var(--clay-700);
  border: 1px solid var(--clay-100);
  font-size: 0.9rem;
  margin: 12px 0;
}
.alert.is-ok {
  background: var(--acacia-50);
  color: var(--acacia-700);
  border-color: var(--acacia-100);
}

.auth-body { background: var(--forest-900); }
.auth-shell {
  min-height: 100dvh;
  display: grid;
}
.auth-brand { display: none; }
.auth-panel {
  background: var(--sand-50);
  padding: 28px 20px 40px;
}
.brand-mobile { margin-bottom: 28px; }
.auth-card {
  max-width: 420px;
  margin: 0 auto;
}
.auth-card h2 { font-size: 1.7rem; }
.lede { color: var(--sand-600); margin: 8px 0 0; }
.auth-switch { text-align: center; margin-top: 18px; color: var(--sand-600); }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sand-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 22px 0 14px;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sand-200);
}
.fineprint { color: var(--sand-500); font-size: 0.78rem; text-align: center; margin-top: 10px; }

.otp-title { font-size: 1.55rem; margin-bottom: 4px; }
.otp-email {
  font-weight: 650;
  color: var(--forest-800);
  margin: 8px 0 18px;
  word-break: break-word;
}
.otp-input {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.otp-input input {
  width: 100%;
  min-height: 52px;
  padding: 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--sand-900);
}
.otp-input input:focus {
  outline: 2px solid var(--forest-200);
  border-color: var(--forest-400);
}
.otp-actions {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}
.invite-banner {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--forest-50);
  color: var(--forest-800);
  border: 1px solid var(--forest-100);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.auth-oauth-placeholder {
  opacity: 0.72;
  cursor: not-allowed;
}
.auth-divider-future { margin-top: 18px; }

.onboard-body { background: var(--sand-50); }
.onboard {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 18px 48px;
}
.onboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.step-label { color: var(--sand-500); font-size: 0.82rem; font-weight: 600; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}
.steps li {
  height: 4px;
  border-radius: 99px;
  background: var(--sand-200);
}
.steps li.is-active, .steps li.is-done { background: var(--forest-600); }
.onboard-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}
.onboard-card h1 { font-size: 1.55rem; }
.onboard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.onboard-flow {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid var(--forest-100);
  border-radius: 12px;
  background: var(--forest-50);
}
.onboard-flow > p {
  margin: 0 0 10px;
  color: var(--forest-800);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.onboard-flow ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.onboard-flow li { display: flex; align-items: center; gap: 9px; color: var(--sand-700); font-size: 0.84rem; }
.onboard-flow li strong {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--forest-700);
  color: var(--white);
  font-size: 0.7rem;
}
.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.chip, .choice {
  display: flex;
  cursor: pointer;
}
.chip input, .choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, .choice span {
  width: 100%;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  padding: 12px;
  background: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}
.chip input:checked + span,
.choice input:checked + span {
  border-color: var(--forest-500);
  background: var(--forest-50);
  color: var(--forest-800);
  box-shadow: inset 0 0 0 1px var(--forest-500);
}
.choice-list { display: grid; gap: 10px; margin-top: 16px; }

.app-body { background: var(--sand-50); }
.app-frame { min-height: 100dvh; }
.sidebar { display: none; }
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sand-200);
  background: var(--sand-25);
  position: sticky;
  top: 0;
  z-index: 5;
}
.menu-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--forest-800);
  border-radius: 99px;
}
.topbar-business { margin: 0; font-weight: 600; font-size: 0.92rem; }
.demo-pill {
  margin-left: auto;
  background: var(--ochre-100);
  color: var(--ochre-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 99px;
}
.demo-banner {
  background: var(--ochre-50);
  border-bottom: 1px solid var(--ochre-100);
  color: var(--ochre-700);
  padding: 10px 16px;
  font-size: 0.85rem;
}
.demo-banner a { font-weight: 600; margin-left: 8px; }
.content {
  padding: 20px 16px 96px;
  max-width: 1100px;
}
.page-head h1 { font-size: 1.7rem; }
.page-head p { margin: 6px 0 0; color: var(--sand-600); }

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 28px;
}
.metric {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.metric .label { font-size: 0.75rem; color: var(--sand-500); font-weight: 600; }
.metric .value {
  font-size: 1.45rem;
  font-weight: 650;
  margin-top: 6px;
  letter-spacing: -0.03em;
  font-family: var(--display);
}
.metric.is-money .value { color: var(--ochre-700); }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
}
.section-title h2 { font-size: 1.2rem; }
.section-title span { color: var(--sand-500); font-size: 0.8rem; }

.card-list { display: grid; gap: 10px; }
.inquiry-card, .panel {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.inquiry-card h3 { font-size: 1.02rem; }
.inquiry-card .meta { color: var(--sand-600); font-size: 0.85rem; margin: 4px 0 0; }
.inquiry-card .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.stage {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--sand-100);
  color: var(--sand-700);
  white-space: nowrap;
}
.stage-new { background: var(--forest-50); color: var(--forest-700); }
.stage-contacted { background: var(--sand-100); color: var(--sand-700); }
.stage-interested { background: var(--ochre-50); color: var(--ochre-700); }
.stage-proposal { background: var(--ochre-100); color: var(--ochre-700); }
.stage-decision { background: var(--clay-50); color: var(--clay-700); }
.stage-deposit { background: var(--acacia-50); color: var(--acacia-700); }
.stage-booked { background: var(--acacia-100); color: var(--acacia-700); }
.stage-lost { background: var(--sand-100); color: var(--sand-500); }

.table-wrap { overflow: auto; border: 1px solid var(--sand-200); border-radius: 14px; background: var(--white); }
table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.9rem;
}
table.data th, table.data td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--sand-100);
  vertical-align: top;
}
table.data th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sand-500);
  background: var(--sand-25);
}
table.data tr:last-child td { border-bottom: 0; }
.empty {
  padding: 28px 18px;
  text-align: center;
  color: var(--sand-600);
}
.empty a { font-weight: 600; }

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--sand-25);
  border-top: 1px solid var(--sand-200);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 6;
}
.tabbar a, .side-nav a {
  color: var(--sand-600);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 4px;
  border-radius: 10px;
}
.tabbar a.is-active, .side-nav a.is-active {
  color: var(--forest-800);
  background: var(--forest-50);
}

.drawer {
  position: fixed;
  inset: 0;
  background: rgba(13, 42, 31, 0.4);
  z-index: 20;
  display: none;
}
.drawer.is-open { display: block; }
.drawer-panel {
  width: min(300px, 86vw);
  height: 100%;
  background: var(--forest-900);
  color: var(--white);
  padding: 20px 16px;
}
.drawer-panel .brand em, .sidebar .brand em { color: #adcdb9; }
.drawer-panel .side-nav a, .sidebar .side-nav a {
  display: block;
  text-align: left;
  color: #d6e7dc;
  font-size: 0.95rem;
  padding: 10px 12px;
}
.drawer-panel .side-nav a.is-active, .sidebar .side-nav a.is-active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.nav-rule { height: 1px; background: rgba(255,255,255,0.08); margin: 10px 8px; }

.sheet {
  position: fixed;
  inset: 0;
  background: rgba(13, 42, 31, 0.45);
  z-index: 30;
  display: grid;
  align-items: end;
}
.sheet-card {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 20px 18px 28px;
}
.sheet-card textarea {
  width: 100%;
  min-height: 110px;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  padding: 10px;
  margin: 12px 0;
  resize: vertical;
}

.settings-list { display: grid; gap: 8px; margin-top: 16px; }
.settings-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sand-100);
  font-size: 0.92rem;
}
.settings-list dt { color: var(--sand-500); }
.settings-list dd { margin: 0; font-weight: 600; text-align: right; }

.mobile-only { display: grid; }

@media (min-width: 860px) {
  .mobile-only { display: none !important; }
  .auth-shell { grid-template-columns: 1fr 1fr; }
  .auth-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 48px;
    color: var(--white);
  }
  .auth-brand .brand em { color: #adcdb9; }
  .auth-brand-copy h1 {
    font-size: 2.4rem;
    margin: 12px 0 16px;
    max-width: 12ch;
  }
  .auth-brand-copy p { color: #d6e7dc; max-width: 36ch; }
  .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ochre-300);
    margin: 0;
  }
  .auth-brand-foot { color: #7fae91; font-size: 0.82rem; }
  .brand-mobile { display: none; }
  .auth-panel {
    display: grid;
    align-items: center;
    padding: 48px;
  }

  .app-frame {
    display: grid;
    grid-template-columns: 240px 1fr;
  }
  .sidebar {
    display: flex;
    flex-direction: column;
    background: var(--forest-900);
    color: var(--white);
    min-height: 100dvh;
    position: sticky;
    top: 0;
    padding: 22px 14px;
  }
  .side-nav { display: grid; gap: 4px; margin-top: 28px; }
  .sidebar-foot { margin-top: auto; }
  .sidebar-foot .btn { color: #d6e7dc; }
  .menu-btn, .tabbar { display: none; }
  .topbar { padding: 16px 28px; }
  .content { padding: 28px 32px 48px; }
  .metrics { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .sheet { align-items: center; justify-items: center; }
  .sheet-card {
    width: min(480px, 92vw);
    border-radius: 16px;
    padding: 24px;
  }
}

@media (max-width: 859px) {
  .desktop-only { display: none !important; }
  .drawer-panel .side-nav { display: grid; gap: 4px; margin-top: 24px; }
}

/* Focused authentication (/login, /signup) — no marketing panel */

.auth-focused-body {
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(47, 111, 79, 0.13), transparent 58%),
    radial-gradient(760px 460px at 100% 0%, rgba(220, 170, 69, 0.08), transparent 54%),
    var(--sand-50);
}

.auth-focused-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.auth-focused-page::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 22vh;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(65% 100% at 20% 100%, rgba(23, 71, 51, 0.08), transparent 70%),
    radial-gradient(55% 100% at 82% 100%, rgba(133, 86, 32, 0.07), transparent 72%);
}

.auth-focused-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.25rem 1.5rem;
  width: min(100%, 30rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.auth-focused-header {
  width: 100%;
  margin-bottom: 1.75rem;
  text-align: center;
}

.auth-focused-brand {
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.auth-focused-brand .brand-logo-wordmark {
  width: 238px;
  max-width: min(76vw, 238px);
  box-shadow: none;
}

.auth-focused-brand .brand em {
  max-width: 22rem;
  line-height: 1.45;
}

.auth-focused-card {
  width: 100%;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--sand-200);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 4px rgba(34, 30, 26, 0.03), 0 24px 60px -30px rgba(13, 42, 31, 0.32);
}

.auth-focused-card h1 {
  font-size: clamp(1.75rem, 6vw, 2rem);
  line-height: 1.15;
}

.auth-focused-card .lede {
  font-size: 0.9rem;
  line-height: 1.6;
}

.auth-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--ochre-700);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.auth-reassurance {
  margin: 0.75rem 0 0;
  color: var(--forest-700);
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.5;
}

.auth-focused-card .form {
  gap: 15px;
  margin-top: 1.35rem;
}

.auth-focused-card .field input {
  min-height: 50px;
  padding-inline: 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.auth-focused-card .field input:hover { border-color: var(--sand-300); }
.auth-focused-card .field input:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 3px rgba(82, 140, 107, 0.16);
}

.auth-focused-card .btn { min-height: 48px; }
.auth-focused-card .form .btn { margin-top: 0.2rem; }

.auth-trust {
  margin-top: 1.2rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--forest-100);
  border-radius: 12px;
  background: var(--forest-50);
  color: var(--forest-800);
}

.auth-trust p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.account-not-found {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--ochre-100);
  border-radius: 13px;
  background: var(--ochre-50);
  color: var(--sand-700);
}

.account-not-found p { margin: 0; font-size: 0.84rem; line-height: 1.5; }
.account-not-found p + p { margin-top: 0.25rem; color: var(--sand-500); word-break: break-word; }
.account-not-found-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 0.9rem; }
.account-not-found-actions .btn { min-height: 42px; padding-inline: 10px; font-size: 0.78rem; }

.otp-title { font-size: 1.55rem; }
.otp-email { margin-bottom: 1.2rem; }
.otp-actions .btn { min-height: 42px; }

.alert {
  margin-top: 1rem;
  line-height: 1.5;
}

.auth-fineprint {
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--sand-500);
  text-align: center;
}

.auth-focused-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.35rem;
  color: var(--sand-500);
  font-size: 0.72rem;
}

.auth-focused-footer a { color: var(--sand-600); }

@media (max-width: 520px) {
  .auth-focused-shell {
    justify-content: flex-start;
    padding: max(1.25rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom));
  }
  .auth-focused-header { margin-bottom: 1.25rem; }
  .auth-focused-brand { flex-direction: column; justify-content: center; text-align: center; }
  .auth-focused-brand .brand-logo-wordmark { width: 210px; }
  .auth-focused-brand .brand em { max-width: 17rem; font-size: 0.68rem; }
  .auth-focused-card { padding: 1.4rem 1.15rem; border-radius: 16px; }
  .auth-focused-card .form { margin-top: 1.1rem; }
  .otp-input { gap: 6px; }
  .otp-input input { min-height: 48px; border-radius: 10px; font-size: 1.1rem; }
  .auth-switch { font-size: 0.82rem; }
  .account-not-found-actions { grid-template-columns: 1fr; }
}
