:root {
  --ink: #171717;
  --ink-2: #292231;
  --muted: #66707f;
  --muted-2: #8a7583;
  --paper: #ffffff;
  --paper-warm: #fff9fb;
  --field: #f7f2f5;
  --field-2: #f0e8f1;
  --line: rgba(26, 21, 34, 0.10);
  --line-strong: rgba(26, 21, 34, 0.16);
  --brand-primary: #dc1e37;
  --brand-primary-hot: #f8204e;
  --brand-secondary: #2953ea;
  --brand-plum: #4a325a;
  --green: #148762;
  --green-soft: #edf9f4;
  --amber: #f4a61d;
  --surface: #f3f4f7;
  --shadow-soft: 0 24px 80px rgba(35, 23, 41, 0.11);
  --shadow-card: 0 14px 36px rgba(35, 23, 41, 0.08);
  font-synthesis: none;
}

/* Admin search observability */
.admin-trace-tools {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto auto auto;
  align-items: end;
  gap: 10px;
}

.admin-trace-search,
.admin-trace-select {
  display: grid;
  gap: 5px;
  color: rgba(31, 24, 35, .68);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-trace-search input,
.admin-trace-select select {
  min-height: 42px;
  border: 1px solid rgba(31, 24, 35, .14);
  border-radius: 12px;
  background: #fff;
  color: #201923;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  outline: none;
  padding: 0 12px;
  text-transform: none;
}

.admin-trace-search input:focus,
.admin-trace-select select:focus {
  border-color: #f04c5f;
  box-shadow: 0 0 0 3px rgba(240, 76, 95, .12);
}

.admin-trace-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.admin-trace-stats article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(31, 24, 35, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .74);
  padding: 12px 14px;
}

.admin-trace-stats span {
  color: rgba(31, 24, 35, .58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-trace-stats b {
  color: #201923;
  font-size: 23px;
  font-weight: 900;
}

.admin-grid--traces {
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.65fr);
}

.admin-trace-list-panel,
.admin-trace-detail,
.admin-packet-list-panel,
.admin-packet-detail {
  min-height: 560px;
}

.admin-trace-list,
.admin-packet-list {
  display: grid;
  gap: 8px;
  align-content: start;
  max-height: 660px;
  overflow: auto;
  padding: 2px;
}

.admin-trace-row,
.admin-packet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  width: 100%;
  border: 1px solid rgba(31, 24, 35, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .8);
  color: #201923;
  cursor: pointer;
  padding: 12px;
  text-align: left;
}

.admin-trace-row:hover,
.admin-packet-row:hover {
  border-color: rgba(31, 24, 35, .28);
}

.admin-trace-row.is-selected,
.admin-packet-row.is-selected {
  border-color: rgba(240, 76, 95, .5);
  background: rgba(255, 239, 241, .9);
  box-shadow: 0 7px 18px rgba(86, 31, 44, .08);
}

.admin-trace-row span,
.admin-packet-row span {
  color: #d93b50;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-trace-row[data-outcome="emergency_stop"] span,
.admin-trace-row[data-outcome="service_not_found"] span,
.admin-trace-row[data-outcome="no_safe_price"] span,
.admin-trace-row[data-outcome="search_error"] span {
  color: #a43636;
}

.admin-trace-row strong,
.admin-packet-row strong {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #201923;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-trace-row small,
.admin-packet-row small {
  overflow: hidden;
  color: rgba(31, 24, 35, .58);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-trace-row em,
.admin-packet-row em {
  align-self: center;
  color: rgba(31, 24, 35, .62);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.admin-trace-row[data-feedback="yes"] em {
  color: #176b45;
}

.admin-trace-row[data-feedback="no"] em {
  color: #a43636;
}

.admin-trace-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
  overflow: auto;
}

.admin-trace-card,
.admin-trace-section {
  border: 1px solid rgba(31, 24, 35, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .74);
  padding: 14px;
}

.admin-trace-card {
  grid-column: 1 / -1;
}

.admin-trace-card h3 {
  margin: 8px 0 12px;
  color: #201923;
  font-size: 20px;
  line-height: 1.3;
}

.admin-trace-section--events {
  grid-column: 1 / -1;
}

.admin-trace-qa-list,
.admin-trace-result-list,
.admin-trace-packet-list,
.admin-trace-feedback-detail,
.admin-trace-event-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.admin-trace-qa-row,
.admin-trace-result-row,
.admin-trace-packet-row,
.admin-trace-feedback-row {
  display: grid;
  gap: 3px;
  border-radius: 11px;
  background: rgba(246, 242, 247, .8);
  padding: 10px 11px;
}

.admin-trace-qa-row span,
.admin-trace-result-row span,
.admin-trace-packet-row span,
.admin-trace-feedback-row span {
  color: rgba(31, 24, 35, .58);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.admin-trace-qa-row strong,
.admin-trace-result-row strong,
.admin-trace-packet-row strong,
.admin-trace-feedback-row strong {
  color: #201923;
  font-size: 13px;
  line-height: 1.4;
}

.admin-trace-qa-row small,
.admin-trace-result-row small,
.admin-trace-packet-row small,
.admin-trace-feedback-row small {
  color: rgba(31, 24, 35, .62);
  font-size: 11px;
  line-height: 1.45;
}

.admin-trace-feedback-row[data-rating="yes"] span {
  color: #176b45;
}

.admin-trace-feedback-row[data-rating="no"] {
  background: rgba(255, 228, 231, .9);
}

.admin-trace-feedback-row[data-rating="no"] span {
  color: #a43636;
}

.admin-trace-packet-row.is-blocked {
  background: rgba(255, 228, 231, .9);
}

.admin-trace-event-row {
  border: 1px solid rgba(31, 24, 35, .1);
  border-radius: 11px;
  background: rgba(255, 255, 255, .8);
  overflow: hidden;
}

.admin-trace-event-row summary {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  padding: 10px 11px;
}

.admin-trace-event-row summary span,
.admin-trace-event-row summary small {
  color: rgba(31, 24, 35, .54);
  font-size: 10px;
  font-weight: 800;
}

.admin-trace-event-row summary strong {
  color: #201923;
  font-size: 12px;
  text-transform: capitalize;
}

.admin-trace-event-row pre {
  max-height: 320px;
  margin: 0;
  overflow: auto;
  border-top: 1px solid rgba(31, 24, 35, .09);
  background: #211b24;
  color: #f8edf0;
  font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 920px) {
  .admin-trace-tools {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-trace-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid--traces {
    grid-template-columns: 1fr;
  }

  .admin-trace-list-panel,
  .admin-trace-detail,
  .admin-packet-list-panel,
  .admin-packet-detail {
    min-height: auto;
  }

  .admin-trace-list,
  .admin-packet-list {
    max-height: 320px;
  }

  .admin-trace-workspace {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .admin-trace-card,
  .admin-trace-section--events {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .admin-trace-stats {
    grid-template-columns: 1fr;
  }

  .admin-trace-event-row summary {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .admin-trace-event-row summary small {
    grid-column: 2;
  }
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 2%, rgba(220, 30, 55, 0.10), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(41, 83, 234, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f4f6 28%, var(--surface) 100%);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.altored-search-app {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 24px 18px 42px;
}

.app-disclaimer-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding:
    24px max(18px, env(safe-area-inset-right))
    calc(24px + env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  color: rgba(255, 255, 255, 0.82);
  background: #211622;
}

.app-disclaimer-footer p {
  width: min(930px, 100%);
  margin: 0 auto;
  font-size: 0.78rem;
  line-height: 1.65;
  text-align: center;
}

.search-location {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.altored-search-app[data-auth-state="signed-in"][data-app-stage="idle"] .search-location {
  display: flex;
}

.search-location label {
  font-weight: 800;
}

.search-location span {
  color: rgba(255, 255, 255, 0.62);
}

.zipcode-icon {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
}

#zipcodeInput {
  width: 88px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font-size: 0.84rem;
}

#zipcodeInput:focus {
  border-color: #fff;
  outline: 3px solid rgba(255, 255, 255, 0.2);
}

.email-prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 150;
  display: flex;
  width: min(390px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid #d8cbd0;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgba(31, 17, 27, 0.28);
}

.email-prompt[hidden] {
  display: none;
}

.email-prompt h2 {
  margin: 0;
  font-size: 1.25rem;
}

.email-prompt-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.email-prompt label {
  display: grid;
  gap: 5px;
  color: #4c3942;
  font-size: 0.78rem;
  font-weight: 800;
}

.email-prompt input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8cbd0;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}

.email-prompt input:focus {
  border-color: var(--brand-primary);
  outline: 3px solid rgba(220, 30, 55, 0.12);
}

.email-prompt-status {
  min-height: 1.25em;
  margin: 0;
  color: #7c1534;
  font-size: 0.8rem;
}

.email-prompt-button-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.email-prompt button {
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
}

.email-prompt [data-email-prompt-send] {
  color: #fff;
  background: var(--brand-primary);
}

.email-prompt [data-email-prompt-close] {
  color: var(--ink);
  background: #f1eaed;
}

.guided-clinic-distance {
  color: var(--muted);
}

@media (max-width: 600px) {
  .app-disclaimer-footer {
    padding:
      20px max(14px, env(safe-area-inset-right))
      calc(20px + env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }

  .app-disclaimer-footer p {
    font-size: 0.74rem;
    text-align: left;
  }

  .search-location {
    width: 100%;
    flex-wrap: wrap;
  }

  .search-location span {
    display: none;
  }
}

.ambient-glow {
  position: fixed;
  inset: auto -18vw -26vw auto;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 30, 55, 0.15), transparent 68%);
  pointer-events: none;
}

.search-experience {
  position: relative;
  z-index: 1;
  width: min(930px, 100%);
  margin: 0 auto;
}

.dashboard-hero {
  position: relative;
  overflow: visible;
  padding: clamp(22px, 4vw, 34px);
  border-radius: clamp(30px, 5vw, 44px);
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.22), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(255,255,255,0.16), transparent 30%),
    linear-gradient(150deg, #3d162e 0%, #971d42 44%, var(--brand-primary) 100%);
  box-shadow: 0 30px 80px rgba(102, 17, 47, 0.20);
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -38% 50%;
  height: 260px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  transform: rotate(-9deg);
  pointer-events: none;
}

.dashboard-hero > * { position: relative; z-index: 1; }
.experience-nav { display: flex; align-items: center; justify-content: center; margin-bottom: clamp(22px, 4.2vw, 38px); }
.brand-lockup { width: min(210px, 64vw); }

.choice-heading span,
.stage-header span,
.detail-heading span,
.detail-card > span,
.services-card h3 {
  color: var(--muted-2);
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy { width: min(780px, 100%); margin: 0 auto 22px; text-align: center; }
.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: "Archivo", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.052em;
  word-spacing: 0.08em;
}
.hero-copy p {
  max-width: 690px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(0.98rem, 1.25vw, 1.14rem);
  font-weight: 750;
  line-height: 1.52;
  letter-spacing: -0.025em;
}

.search-card { position: relative; z-index: 5; width: min(800px, 100%); margin: 0 auto; }
.search-trigger {
  appearance: none;
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.54);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 22px 56px rgba(58, 10, 29, 0.22), inset 0 1px 0 rgba(255,255,255,0.78);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}
.search-trigger:hover,
.search-trigger:focus-visible {
  outline: 0;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.86);
  box-shadow: 0 28px 70px rgba(58, 10, 29, 0.28), 0 0 0 5px rgba(255,255,255,0.16);
}
.search-trigger:focus-within {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-color: rgba(220,30,55,0.58);
  box-shadow:
    0 22px 56px rgba(58, 10, 29, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 0 0 7px rgba(220,30,55,0.68);
}
.search-lens { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hot)); box-shadow: 0 14px 30px rgba(220,30,55,0.24); position: relative; }
.search-lens::before { content: ""; position: absolute; width: 16px; height: 16px; left: 15px; top: 14px; border: 3px solid #fff; border-radius: 50%; }
.search-lens::after { content: ""; position: absolute; width: 13px; height: 3px; right: 13px; bottom: 15px; border-radius: 999px; background: #fff; transform: rotate(45deg); }
.search-copy { min-width: 0; color: var(--ink-2); font-size: clamp(1.08rem, 2vw, 1.42rem); font-weight: 900; letter-spacing: -0.035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-placeholder { color: #8b7d8a; }

.search-form { margin: 0; }
.search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  color: var(--ink-2);
  background: transparent;
  font: inherit;
  font-weight: 950;
  letter-spacing: -0.035em;
  caret-color: var(--brand-primary);
}
.search-input::placeholder { color: #8b7d8a; opacity: 1; }
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration { appearance: none; display: none; }
.search-input:disabled { color: var(--muted); }
[data-app-stage="searching"] .search-input { display: none; }
[data-app-stage="searching"] .typewriter-text { display: inline; }
.search-cta { border: 0; cursor: pointer; }
.search-cta:hover,
.search-cta:focus-visible { outline: 0; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(23,23,23,0.18); }
.typewriter-text { color: var(--ink-2); }
.type-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 4px; border-radius: 999px; background: var(--brand-primary); vertical-align: -0.16em; opacity: 0; }
[data-app-stage="searching"] .type-caret { opacity: 1; animation: caretBlink 900ms steps(2, start) infinite; }
@keyframes caretBlink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
.search-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; color: #fff; background: #171717; font-size: 0.84rem; font-weight: 950; }

.choice-sheet {
  position: absolute;
  z-index: 4;
  left: 24px;
  right: 24px;
  top: calc(100% + 12px);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(35,23,41,0.18);
  animation: sheetIn 190ms ease both;
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.choice-heading { display: flex; justify-content: space-between; gap: 14px; margin: 2px 4px 13px; }
.choice-heading strong { color: var(--ink-2); font-size: 0.98rem; letter-spacing: -0.02em; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-option { appearance: none; min-height: 84px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink-2); text-align: left; cursor: pointer; transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
.choice-option:hover,
.choice-option:focus-visible { outline: 0; transform: translateY(-1px); border-color: rgba(220,30,55,0.36); box-shadow: 0 16px 34px rgba(35,23,41,0.10); }
.choice-option span { display: block; font-size: 1rem; font-weight: 950; letter-spacing: -0.025em; }
.choice-option small { display: block; margin-top: 6px; color: var(--muted); font-size: 0.76rem; font-weight: 800; }
.choice-option.is-selected { border-color: rgba(20,135,98,0.38); background: var(--green-soft); }

.stage-card { width: min(800px, 100%); margin: 18px auto 0; animation: cardIn 260ms ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.search-stage { padding: 18px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,0.92); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }
.stage-header { display: flex; justify-content: space-between; gap: 16px; padding: 4px 4px 16px; }
.stage-header strong { color: var(--brand-plum); font-size: 1.02rem; letter-spacing: -0.02em; }
.progress-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.progress-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 62px; padding: 12px; border: 1px solid var(--line); border-radius: 19px; color: var(--muted); background: #fff; font-size: 0.80rem; font-weight: 900; }
.progress-step i { width: 34px; height: 34px; border-radius: 50%; background: #f1eaf2; }
.progress-step.is-active { color: var(--ink-2); border-color: rgba(220,30,55,0.24); }
.progress-step.is-active i { background: radial-gradient(circle, #fff 0 27%, transparent 29%), conic-gradient(from 0deg, var(--brand-primary), var(--brand-primary-hot), var(--brand-primary)); animation: searchPulse 1s linear infinite; }
.progress-step.is-done { color: var(--green); }
.progress-step.is-done i { display: grid; place-items: center; color: #fff; background: var(--green); }
.progress-step.is-done i::before { content: "✓"; font-size: 0.8rem; font-weight: 950; }
@keyframes searchPulse { to { transform: rotate(1turn); } }

.results-stage.dashboard-stack { display: grid; gap: 10px; width: min(720px, 100%); }
.answer-card,
.provider-card,
.detail-card,
.detail-heading,
.pricing-tabs,
.detail-actions,
.schedule-action {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-card);
}
.answer-card {
  --typical-position: 35%;
  display: grid;
  gap: 14px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(220,30,55,0.06), transparent 34%),
    #fff;
}
.answer-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.result-title-row { min-width: 0; }
.result-title-row h2,
.detail-heading h2 { margin: 0; color: var(--ink-2); font-family: "Archivo", "Manrope", sans-serif; font-size: clamp(1.82rem, 3.2vw, 2.85rem); line-height: 0.95; letter-spacing: -0.047em; }
.result-title-row h2 { display: block; }
.result-title-row [data-result-title] { color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; }
.result-subtitle,
.detail-heading p { margin: 0; color: var(--muted); font-size: 0.90rem; font-weight: 750; line-height: 1.36; }
.result-subtitle { display: block; }
.verified-check { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--green); font-style: normal; font-weight: 950; }
.verified-check--title { display: inline-grid; width: 22px; height: 22px; margin-left: 10px; font-size: 0.78rem; vertical-align: 0.15em; box-shadow: 0 0 0 0 rgba(20,135,98,0.24); animation: checkPop 700ms cubic-bezier(.2,.8,.2,1) both; }
.verified-check--title::after { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(20,135,98,0.22); border-radius: inherit; animation: checkRing 900ms ease-out both; }
@keyframes checkPop { 0% { opacity: 0; transform: scale(0.72); } 55% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes checkRing { 0% { opacity: 0.8; transform: scale(0.72); } 100% { opacity: 0; transform: scale(1.34); } }
.answer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(20,135,98,0.13);
  border-radius: 24px;
  background: #f6faf8;
}
.answer-price-block { min-width: 0; }
.answer-price-block > span,
.micro-context-copy span,
.provider-list-header span,
.detail-heading span,
.detail-card > span,
.services-card h3 {
  color: var(--muted-2);
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.answer-price-block strong { display: block; margin-top: 5px; color: var(--green); font-family: "Archivo", "Manrope", sans-serif; font-size: clamp(2.45rem, 6vw, 4.05rem); line-height: 0.9; letter-spacing: -0.058em; }
.answer-price-block p { display: flex; flex-wrap: wrap; gap: 5px 9px; margin: 8px 0 0; color: #51685f; font-size: 0.86rem; font-weight: 850; line-height: 1.32; }
.answer-price-block b { color: var(--ink-2); }
.answer-price-block small { color: #557168; font: inherit; }
.secondary-action,
.back-action,
.mode-button,
.pricing-tab,
.primary-detail-action { appearance: none; border: 0; cursor: pointer; }
.secondary-action,
.back-action { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--brand-plum); font-size: 0.76rem; font-weight: 950; }
.primary-detail-action { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 950; min-height: 44px; padding: 0 18px; font-size: 0.78rem; }
.provider-detail-link { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0; color: var(--muted-2); background: transparent; font-size: 1.35rem; line-height: 1; font-weight: 950; pointer-events: none; }
.micro-context { display: grid; gap: 8px; padding-top: 2px; }
.micro-context-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; }
.micro-context-copy b { color: var(--ink-2); font-size: 0.93rem; font-weight: 950; }
.range-rail { position: relative; height: 14px; margin: 0 6px; }
.range-fill { position: absolute; left: 0; right: 0; top: 50%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--green), rgba(220,30,55,0.52) 58%, var(--brand-plum)); transform: translateY(-50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.36); }
.range-dot { position: absolute; top: 50%; width: 13px; height: 13px; border: 3px solid #fff; border-radius: 50%; background: var(--brand-plum); box-shadow: 0 7px 16px rgba(35,23,41,0.16); transform: translate(-50%, -50%); }
.range-dot-low { left: 0; background: var(--green); }
.range-dot-typical { left: var(--typical-position); background: var(--brand-primary); }
.range-dot-high { left: 100%; }
.micro-context p { margin: 0; color: var(--ink-2); font-size: 0.88rem; font-weight: 850; letter-spacing: -0.018em; }
.provider-list-header { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin: 3px 5px 0; }
.provider-list-header b { flex: 0 0 auto; color: var(--muted); font-size: 0.75rem; font-weight: 900; }
.provider-list { display: grid; gap: 8px; }
.provider-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; cursor: pointer; transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease; }
.provider-card:hover,
.provider-card:focus-within,
.provider-card:focus-visible { transform: translateY(-1px); border-color: rgba(220,30,55,0.22); box-shadow: 0 18px 48px rgba(35,23,41,0.11); }
.provider-card:focus-visible { outline: 3px solid rgba(20,135,98,0.22); outline-offset: 3px; }
.provider-card.is-selected { border-color: rgba(20,135,98,0.35); }
.provider-copy strong { display: block; color: var(--ink-2); font-size: 0.98rem; font-weight: 950; letter-spacing: -0.02em; }
.provider-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.76rem; font-weight: 800; }
.provider-copy em { display: none; }
.provider-summary { display: flex; align-items: center; gap: 14px; }
.provider-price { min-width: 108px; text-align: right; }
.provider-price b { display: block; color: var(--ink-2); font-family: "Archivo", "Manrope", sans-serif; font-size: 1.18rem; line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.provider-delta { display: block; margin-top: 6px; color: var(--muted); font-size: 0.62rem; font-weight: 850; line-height: 1.16; letter-spacing: -0.01em; white-space: normal; max-width: 132px; }
.provider-delta.is-above { color: var(--brand-primary); }
.provider-self-pay { display: none; }
.provider-detail { width: min(760px, 100%); padding: 0; }
.back-action { margin: 0 0 12px; }
.detail-shell { display: grid; grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr); gap: 12px; }
.detail-heading { padding: 20px; }
.detail-heading b { display: inline-flex; margin-top: 16px; padding: 8px 10px; border-radius: 999px; color: var(--brand-plum); background: #f5eef5; font-size: 0.74rem; }
.pricing-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.pricing-tab { min-height: 40px; border-radius: 14px; color: #696274; background: transparent; font-size: 0.74rem; font-weight: 950; }
.pricing-tab.is-selected { color: #fff; background: var(--brand-primary); box-shadow: 0 11px 22px rgba(220,30,55,0.17); }
.detail-card { padding: 18px; }
.price-summary > strong { display: block; margin-top: 8px; color: var(--green); font-family: "Archivo", "Manrope", sans-serif; font-size: 2.4rem; line-height: 0.95; letter-spacing: -0.045em; }
.price-summary p { margin: 7px 0 0; color: var(--muted); font-size: 0.84rem; font-weight: 800; }
.mini-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.mini-price-grid div { min-width: 0; padding: 10px; border-radius: 16px; background: #f7f2f6; }
.mini-price-grid span { display: block; color: var(--muted); font-size: 0.62rem; font-weight: 900; }
.mini-price-grid b { display: block; margin-top: 4px; color: var(--ink-2); font-size: 0.80rem; font-weight: 950; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.services-card h3 { margin: 0 0 12px; }
.service-line { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.84rem; }
.service-line span { font-weight: 850; }
.service-line b { color: var(--muted); font-weight: 850; text-align: right; }
.services-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 0.74rem; font-weight: 700; line-height: 1.35; }
.detail-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.detail-actions a { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 16px; background: #f7f2f6; color: var(--brand-plum); font-size: 0.78rem; font-weight: 950; }
.schedule-action { display: flex; align-items: center; justify-content: center; min-height: 50px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hot)); font-size: 0.88rem; font-weight: 950; }
.detail-shell > :not(.detail-heading) { grid-column: 2; }
.detail-shell .detail-heading { grid-row: span 5; }

.demo-note { max-width: 720px; margin: 18px auto 0; color: var(--muted); text-align: center; font-size: 0.76rem; font-weight: 700; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; } }

@media (max-width: 900px) {
  .search-experience { width: min(760px, 100%); }
  .experience-nav { justify-content: center; margin-bottom: 26px; }
  .detail-shell { grid-template-columns: 1fr; }
  .detail-shell > :not(.detail-heading), .detail-shell .detail-heading { grid-column: auto; grid-row: auto; }
  .pricing-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.coverage-field--plan { display: none !important; }
.insurer-option { grid-template-columns: minmax(0, 1fr) auto; }
.insurer-option small { display: none !important; }
.insurance-picker .coverage-continue { margin-top: clamp(4px, 1.1vh, 12px); }
@media (max-width: 760px) {
  .altored-search-app { padding: 14px 12px 32px; }
  .dashboard-hero { padding: 18px 14px 16px; border-radius: 30px; }
  .experience-nav { margin-bottom: 20px; }
  .brand-lockup { width: min(188px, 62vw); }
  .hero-copy { margin-bottom: 15px; text-align: left; }
  .hero-copy h1 { font-size: clamp(2.04rem, 10vw, 3.12rem); line-height: 0.92; }
  .hero-copy p { margin-top: 12px; font-size: 0.92rem; line-height: 1.44; }
  .search-trigger { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; border-radius: 28px; min-height: 72px; padding: 12px; }
  .search-lens { width: 44px; height: 44px; }
  .search-lens::before { width: 13px; height: 13px; left: 13px; top: 12px; }
  .search-lens::after { right: 11px; bottom: 13px; }
  .search-copy { font-size: clamp(1rem, 5.2vw, 1.18rem); }
  .search-cta { grid-column: 1 / -1; width: 100%; min-height: 42px; }
  .choice-sheet { position: static; left: auto; right: auto; margin-top: 12px; padding: 13px; border-radius: 24px; }
  .choice-heading { margin: 0 2px 12px; }
  .choice-heading span { display: none; }
  .choice-option { min-height: 74px; padding: 13px; border-radius: 18px; }
  .choice-option span { font-size: 0.92rem; }
  .choice-option small { margin-top: 5px; font-size: 0.70rem; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stage-card { margin-top: 14px; }
  .progress-track, .mini-price-grid, .detail-actions { grid-template-columns: 1fr; }
  .stage-header { flex-direction: column; align-items: stretch; }
  .results-stage.dashboard-stack { gap: 10px; }
  [data-app-stage="results"] .dashboard-hero,
  [data-app-stage="details"] .dashboard-hero {
    padding: 10px;
    border-radius: 28px;
  }
  [data-app-stage="results"] .dashboard-hero::after,
  [data-app-stage="details"] .dashboard-hero::after { display: none; }
  [data-app-stage="results"] .experience-nav,
  [data-app-stage="details"] .experience-nav { display: none; }
  [data-app-stage="results"] .search-trigger,
  [data-app-stage="details"] .search-trigger {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-height: 62px;
    padding: 10px;
    border-radius: 24px;
  }
  [data-app-stage="results"] .search-lens,
  [data-app-stage="details"] .search-lens { width: 38px; height: 38px; }
  [data-app-stage="results"] .search-lens::before,
  [data-app-stage="details"] .search-lens::before { width: 11px; height: 11px; left: 11px; top: 10px; }
  [data-app-stage="results"] .search-lens::after,
  [data-app-stage="details"] .search-lens::after { right: 10px; bottom: 11px; width: 11px; }
  [data-app-stage="results"] .search-copy,
  [data-app-stage="details"] .search-copy { font-size: 0.98rem; }
  [data-app-stage="results"] .search-cta,
  [data-app-stage="details"] .search-cta {
    grid-column: auto;
    width: auto;
    min-height: 38px;
    padding: 0 14px;
  }
  .answer-card { padding: 14px; border-radius: 24px; gap: 10px; }
  .answer-topline { gap: 10px; }
  .answer-topline .secondary-action { display: none; }
  .result-title-row h2,
  .detail-heading h2 { font-size: clamp(1.44rem, 6.4vw, 2rem); line-height: 0.98; }
  .result-subtitle { font-size: 0.78rem; line-height: 1.26; }
  .verified-check--title { width: 20px; height: 20px; margin-left: 7px; font-size: 0.70rem; vertical-align: 0.12em; }
  .answer-main { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px; border-radius: 20px; }
  .answer-price-block > span { font-size: 0.62rem; letter-spacing: 0.09em; }
  .answer-price-block strong { font-size: clamp(2rem, 10vw, 2.7rem); }
  .answer-price-block p { display: block; margin-top: 5px; font-size: 0.76rem; }
  .answer-price-block small { display: block; margin-top: 2px; }
  .primary-detail-action { min-height: 38px; padding: 0 13px; font-size: 0.70rem; }
  .micro-context { gap: 6px; }
  .micro-context-copy { gap: 4px 6px; }
  .micro-context-copy span { font-size: 0.60rem; letter-spacing: 0.08em; }
  .micro-context-copy b { font-size: 0.82rem; }
  .range-rail { height: 12px; margin: -1px 5px; }
  .range-fill { height: 5px; }
  .range-dot { width: 12px; height: 12px; }
  .micro-context p { font-size: 0.78rem; line-height: 1.25; }
  .provider-list-header { margin-top: 0; }
  .provider-list {
    max-height: min(34svh, 318px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
    padding-bottom: 4px;
    scrollbar-width: thin;
    mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%);
  }
  .provider-card { gap: 10px; padding: 11px 12px; border-radius: 20px; }
  .provider-copy strong { font-size: 0.91rem; line-height: 1.14; }
  .provider-copy span { font-size: 0.68rem; }
  .provider-summary { gap: 9px; }
  .provider-price { min-width: 62px; }
  .provider-price b { font-size: 1.16rem; }
  .provider-delta { margin-top: 3px; font-size: 0.58rem; }
  .micro-context p { display: none; }
  .provider-detail-link { min-height: 28px; font-size: 1.28rem; }
}

@media (max-width: 360px) { .choice-grid { grid-template-columns: 1fr; } }
