/* Mockapp 3 — clinic comparison variant */
.altored-search-app[data-variant="clinic-comparison"] .results-stage.dashboard-stack { width: min(760px, 100%); gap: 12px; }
.altored-search-app[data-variant="clinic-comparison"] .comparison-hero-card { border-radius: 34px; background: linear-gradient(180deg, #fff 0%, #fbf8fa 100%); }
.altored-search-app[data-variant="clinic-comparison"] .answer-main { background: #ffffff; border-color: var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8); }
.decision-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.decision-strip div { min-width: 0; padding: 11px 12px; border-radius: 18px; background: #f6f2f5; }
.decision-strip span { display: block; color: var(--muted); font-size: 0.62rem; font-weight: 950; letter-spacing: 0.10em; text-transform: uppercase; }
.decision-strip b { display: block; margin-top: 4px; color: var(--ink-2); font-family: "Archivo", "Manrope", sans-serif; font-size: clamp(1.12rem, 3vw, 1.6rem); line-height: 1; letter-spacing: -0.04em; }
.decision-strip div:first-child b { color: var(--green); }
.clinic-comparison-list { border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,0.97); box-shadow: var(--shadow-card); padding: 12px; }
.clinic-comparison-list .provider-list-header { margin: 1px 3px 10px; }
.clinic-comparison-list .provider-card { border-radius: 20px; box-shadow: none; }
.altored-search-app[data-variant="clinic-comparison"] .provider-detail-link { color: var(--brand-primary); }

.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) {
  .decision-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .decision-strip div { padding: 9px 8px; border-radius: 15px; }
  .decision-strip b { font-size: 1rem; }
}


/* Mockapp 4 — option 3A compact clinic deck */
.altored-search-app[data-variant="clinic-deck"] .results-stage.dashboard-stack {
  width: min(900px, 100%);
  gap: 12px;
}
.altored-search-app[data-variant="clinic-deck"] .comparison-hero-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.72fr);
  align-items: stretch;
  border-radius: 34px;
  background:
    radial-gradient(circle at 94% 12%, rgba(20,135,98,0.08), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbf8fa 100%);
}
.altored-search-app[data-variant="clinic-deck"] .answer-topline,
.altored-search-app[data-variant="clinic-deck"] .result-subtitle {
  grid-column: 1 / -1;
}
.altored-search-app[data-variant="clinic-deck"] .answer-main {
  min-height: 168px;
  background: #fff;
  border-color: rgba(20,135,98,0.16);
}
.altored-search-app[data-variant="clinic-deck"] .decision-strip {
  align-self: stretch;
  grid-template-columns: 1fr;
}
.altored-search-app[data-variant="clinic-deck"] .decision-strip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
}
.altored-search-app[data-variant="clinic-deck"] .decision-strip b { margin-top: 0; }
.altored-search-app[data-variant="clinic-deck"] .micro-context {
  grid-column: 1 / -1;
  padding: 14px 16px 4px;
  border-top: 1px solid var(--line);
}
.altored-search-app[data-variant="clinic-deck"] .clinic-comparison-list {
  border-radius: 32px;
  padding: 14px;
}
.altored-search-app[data-variant="clinic-deck"] .provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.altored-search-app[data-variant="clinic-deck"] .provider-card {
  min-height: 98px;
  align-items: start;
  box-shadow: none;
}
.altored-search-app[data-variant="clinic-deck"] .provider-summary {
  align-self: stretch;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}

.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[data-variant="clinic-deck"] .comparison-hero-card,
  .altored-search-app[data-variant="clinic-deck"] .provider-list { grid-template-columns: 1fr; }
  .altored-search-app[data-variant="clinic-deck"] .answer-topline,
  .altored-search-app[data-variant="clinic-deck"] .result-subtitle,
  .altored-search-app[data-variant="clinic-deck"] .micro-context { grid-column: auto; }
  .altored-search-app[data-variant="clinic-deck"] .decision-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .altored-search-app[data-variant="clinic-deck"] .decision-strip div { display: block; padding: 9px 8px; }
  .altored-search-app[data-variant="clinic-deck"] .decision-strip b { margin-top: 4px; }
  .altored-search-app[data-variant="clinic-deck"] .provider-summary { flex-direction: row; align-items: center; }
}

/* Explicit layout hook for static validation */
.clinic-deck-layout { container-type: inline-size; }


/* Phone iframe embed mode used by /mock3. The same mockapp4 runs inside the landing-page phone, but the chrome is compacted so it reads like an app screen instead of a full standalone page. */
html[data-embed="phone"],
html[data-embed="phone"] body {
  min-width: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
}

html[data-embed="phone"] body {
  overscroll-behavior: contain;
}

html[data-embed="phone"] .altored-search-app {
  height: 100svh;
  min-height: 0;
  padding: 0 12px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--surface);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html[data-embed="phone"] .altored-search-app::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html[data-embed="phone"] .ambient-glow { display: none; }

html[data-embed="phone"] .search-experience {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

html[data-embed="phone"] .dashboard-hero {
  margin: 0 -12px;
  padding: 32px 14px 16px;
  border-radius: 0 0 34px 34px;
  background:
    linear-gradient(180deg, rgba(74, 50, 90, 0.08), rgba(74, 50, 90, 0) 42%),
    var(--brand-primary);
  box-shadow: 0 22px 46px rgba(102, 17, 47, 0.14);
}

html[data-embed="phone"] .dashboard-hero::after {
  display: none;
}

html[data-embed="phone"] .experience-nav {
  margin-bottom: 16px;
}

html[data-embed="phone"] .brand-lockup {
  width: 132px;
}

html[data-embed="phone"] .search-card {
  width: min(314px, calc(100% - 18px));
}

html[data-embed="phone"] .search-trigger,
html[data-embed="phone"] [data-app-stage="results"] .search-trigger,
html[data-embed="phone"] [data-app-stage="details"] .search-trigger {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 62px;
  padding: 9px;
  border-radius: 22px;
}

html[data-embed="phone"] .search-lens,
html[data-embed="phone"] [data-app-stage="results"] .search-lens,
html[data-embed="phone"] [data-app-stage="details"] .search-lens {
  width: 34px;
  height: 34px;
}

html[data-embed="phone"] .search-lens::before,
html[data-embed="phone"] [data-app-stage="results"] .search-lens::before,
html[data-embed="phone"] [data-app-stage="details"] .search-lens::before {
  width: 10px;
  height: 10px;
  left: 10px;
  top: 9px;
  border-width: 2px;
}

html[data-embed="phone"] .search-lens::after,
html[data-embed="phone"] [data-app-stage="results"] .search-lens::after,
html[data-embed="phone"] [data-app-stage="details"] .search-lens::after {
  width: 10px;
  height: 2px;
  right: 9px;
  bottom: 10px;
}

html[data-embed="phone"] .search-copy,
html[data-embed="phone"] [data-app-stage="results"] .search-copy,
html[data-embed="phone"] [data-app-stage="details"] .search-copy {
  font-size: 0.88rem;
  letter-spacing: -0.035em;
}

html[data-embed="phone"] .search-cta,
html[data-embed="phone"] [data-app-stage="results"] .search-cta,
html[data-embed="phone"] [data-app-stage="details"] .search-cta {
  grid-column: auto;
  width: auto;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.66rem;
}

html[data-embed="phone"] .choice-sheet {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  width: min(314px, calc(100% - 18px));
  margin: 10px auto 0;
  padding: 11px;
  border-radius: 23px;
  box-shadow: 0 18px 40px rgba(35,23,41,0.16);
}

html[data-embed="phone"] .choice-heading {
  margin: 0 2px 9px;
}

html[data-embed="phone"] .choice-heading strong {
  font-size: 0.84rem;
}

html[data-embed="phone"] .choice-grid {
  grid-template-columns: 1fr;
  gap: 7px;
}

html[data-embed="phone"] .choice-option {
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 17px;
}

html[data-embed="phone"] .choice-option span {
  font-size: 0.80rem;
}

html[data-embed="phone"] .choice-option small {
  margin-top: 3px;
  font-size: 0.62rem;
}

html[data-embed="phone"] [data-app-stage="results"] .dashboard-hero,
html[data-embed="phone"] [data-app-stage="details"] .dashboard-hero {
  margin: 0 -12px;
  padding: 12px 12px;
  border-radius: 0 0 26px 26px;
}

html[data-embed="phone"] [data-app-stage="results"] .experience-nav,
html[data-embed="phone"] [data-app-stage="details"] .experience-nav {
  display: none;
}

html[data-embed="phone"] .stage-card {
  margin-top: 10px;
}

html[data-embed="phone"] .search-stage {
  padding: 12px;
  border-radius: 24px;
}

html[data-embed="phone"] .stage-header {
  padding-bottom: 10px;
}

html[data-embed="phone"] .progress-track {
  grid-template-columns: 1fr;
  gap: 7px;
}

html[data-embed="phone"] .progress-step {
  min-height: 48px;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 9px;
  border-radius: 16px;
  font-size: 0.72rem;
}

html[data-embed="phone"] .progress-step i {
  width: 28px;
  height: 28px;
}

html[data-embed="phone"] .results-stage.dashboard-stack,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .results-stage.dashboard-stack {
  width: 100%;
  gap: 9px;
}

html[data-embed="phone"] .answer-card,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .comparison-hero-card {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 13px;
  border-radius: 25px;
}

html[data-embed="phone"] .answer-topline {
  gap: 8px;
}

html[data-embed="phone"] .result-title-row h2,
html[data-embed="phone"] .detail-heading h2 {
  font-size: 1.42rem;
  line-height: 0.98;
}

html[data-embed="phone"] .verified-check--title {
  width: 19px;
  height: 19px;
  margin-left: 6px;
  font-size: 0.66rem;
}

html[data-embed="phone"] .result-subtitle {
  font-size: 0.76rem;
  line-height: 1.24;
}

html[data-embed="phone"] .answer-main,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .answer-main {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  padding: 11px;
  border-radius: 19px;
}

html[data-embed="phone"] .answer-price-block > span {
  font-size: 0.60rem;
}

html[data-embed="phone"] .answer-price-block strong {
  font-size: 2.05rem;
}

html[data-embed="phone"] .answer-price-block p {
  display: block;
  margin-top: 5px;
  font-size: 0.72rem;
}

html[data-embed="phone"] .answer-price-block small {
  display: block;
  margin-top: 2px;
}

html[data-embed="phone"] .primary-detail-action {
  min-height: 36px;
  padding: 0 11px;
  font-size: 0.66rem;
}

html[data-embed="phone"] .decision-strip,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .decision-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

html[data-embed="phone"] .decision-strip div,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .decision-strip div {
  display: block;
  padding: 8px;
  border-radius: 14px;
}

html[data-embed="phone"] .decision-strip span {
  font-size: 0.54rem;
}

html[data-embed="phone"] .decision-strip b,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .decision-strip b {
  margin-top: 4px;
  font-size: 0.98rem;
}

html[data-embed="phone"] .clinic-comparison-list,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .clinic-comparison-list {
  padding: 10px;
  border-radius: 24px;
}

html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .provider-list {
  grid-template-columns: 1fr;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 0;
  mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent 100%);
}

html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .provider-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html[data-embed="phone"] .provider-card,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .provider-card {
  min-height: 78px;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 18px;
}

html[data-embed="phone"] .provider-copy strong {
  font-size: 0.88rem;
  line-height: 1.14;
}

html[data-embed="phone"] .provider-copy span {
  font-size: 0.66rem;
}

html[data-embed="phone"] .provider-summary,
html[data-embed="phone"] .altored-search-app[data-variant="clinic-deck"] .provider-summary {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

html[data-embed="phone"] .provider-price {
  min-width: 86px;
}

html[data-embed="phone"] .provider-price b {
  font-size: 1.02rem;
}

html[data-embed="phone"] .provider-delta {
  font-size: 0.54rem;
  max-width: 96px;
}

html[data-embed="phone"] .provider-self-pay {
  font-size: 0.52rem;
}

html[data-embed="phone"] .provider-detail {
  width: 100%;
}

html[data-embed="phone"] .back-action {
  margin: 0 0 9px;
}

html[data-embed="phone"] .detail-shell {
  grid-template-columns: 1fr;
  gap: 9px;
}

html[data-embed="phone"] .detail-shell > :not(.detail-heading),
html[data-embed="phone"] .detail-shell .detail-heading {
  grid-column: auto;
  grid-row: auto;
}

html[data-embed="phone"] .detail-heading,
html[data-embed="phone"] .detail-card {
  padding: 14px;
  border-radius: 22px;
}

html[data-embed="phone"] .pricing-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-embed="phone"] .mini-price-grid,
html[data-embed="phone"] .detail-actions {
  grid-template-columns: 1fr;
}

