/* Navigating Medicare — AEP plan-change prototype
   Brand: navy #0B2545, teal #149994, coral #E86A5C, gold #C9A86A
   Mobile-first, large type for seniors, touch-friendly */

:root {
  --navy: #0B2545;
  --navy-deep: #071a30;
  --teal: #149994;
  --teal-dark: #0f7a76;
  --coral: #E86A5C;
  --coral-dark: #c95548;
  --gold: #C9A86A;
  --gold-soft: #f5edd9;
  --white: #ffffff;
  --off-white: #f7f5f1;
  --gray-100: #f0eeea;
  --gray-200: #e2ddd4;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --text: #1a2332;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 8px 32px rgba(11, 37, 69, 0.18);
  --touch: 52px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 640px;
}

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

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dark);
}

button,
.btn {
  font-family: inherit;
  cursor: pointer;
}

/* —— Shell —— */
.app-header {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.app-header img.logo {
  height: 40px;
  width: auto;
}

.app-header .brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.app-header .brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.app-header .brand-sub {
  font-size: 0.72rem;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.15rem 2.5rem;
}

.view {
  display: none;
  animation: fadeIn 0.28s ease;
}

.view.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Typography —— */
h1 {
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.75rem;
  font-weight: 800;
}

h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.65rem;
  font-weight: 700;
}

h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin: 0 0 1.5rem;
}

.muted {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  width: 100%;
  box-shadow: 0 4px 14px rgba(20, 153, 148, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal-dark);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  width: 100%;
  box-shadow: 0 4px 14px rgba(232, 106, 92, 0.35);
}

.btn-coral:hover,
.btn-coral:focus-visible {
  background: var(--coral-dark);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
  width: 100%;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--gray-100);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  width: auto;
}

.btn-ghost:hover {
  color: var(--teal-dark);
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* —— Landing —— */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--teal);
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.year-chip {
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 1.25rem;
}

.chip {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.chip.alt {
  background: var(--teal);
}

/* —— Carrier picker —— */
.carrier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}

.carrier-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 72px;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.carrier-btn:hover,
.carrier-btn:focus-visible {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.carrier-btn .arrow {
  color: var(--teal);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.carrier-btn .count {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 0.2rem;
}

/* —— Plan list —— */
.back-row {
  margin-bottom: 0.75rem;
}

.plan-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  color: inherit;
  font: inherit;
  transition: border-color 0.15s;
}

.plan-card:hover,
.plan-card:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.plan-card .plan-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: var(--gray-100);
  color: var(--navy);
}

.badge.teal {
  background: rgba(20, 153, 148, 0.15);
  color: var(--teal-dark);
}

.badge.gold {
  background: var(--gold-soft);
  color: var(--navy);
}

.badge.coral {
  background: rgba(232, 106, 92, 0.15);
  color: var(--coral-dark);
}


.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0.15rem;
}

.filter-chip {
  min-height: 44px;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.filter-chip.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.badge.navy {
  background: var(--navy);
  color: var(--white);
}

.search-wrap {
  margin: 0.75rem 0 0.25rem;
}

.search-wrap input {
  width: 100%;
  min-height: var(--touch);
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  background: var(--white);
}

.search-wrap input:focus {
  outline: none;
  border-color: var(--teal);
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--gray-500);
}

/* —— Plan detail / comparison —— */
.banner {
  background: var(--gold-soft);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.25rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.banner strong {
  display: block;
  margin-bottom: 0.25rem;
}

.plan-detail-header {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  border-left: 5px solid var(--teal);
}

.comparison-wrap {
  overflow-x: hidden; /* keep 3 columns on-screen — no side-scroll on phones */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.82rem;
  min-width: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 0.55rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.comparison-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  position: sticky;
  top: 0;
  letter-spacing: 0.01em;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 32%;
}

.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
  width: 34%;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.comparison-table .row-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.78rem;
  line-height: 1.25;
}

.pending {
  color: var(--gray-500);
  font-style: italic;
  font-weight: 500;
}

.see-sob {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.benefit-val {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1.3;
}

.cmp-better {
  color: #0d7a3f;
  background: #e6f7ed;
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  display: inline-block;
}

.cmp-worse {
  color: #a11616;
  background: #fde8e8;
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  display: inline-block;
}

.comparison-table td .benefit-val {
  font-size: 0.88rem;
}

.comparison-table .cmp-better,
.comparison-table .cmp-worse {
  padding: 0.12rem 0.28rem;
  font-size: 0.84rem;
  max-width: 100%;
}


.actions-panel {
  margin-top: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow);
}

.actions-panel h3 {
  margin-bottom: 0.85rem;
}

.email-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.email-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.email-form input,
.email-form textarea {
  width: 100%;
  font-size: 1.05rem;
  font-family: inherit;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  min-height: var(--touch);
}

.email-form textarea {
  min-height: 100px;
  resize: vertical;
}

.email-form input:focus,
.email-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.hint {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0.35rem 0 0.75rem;
}

/* —— Footer —— */
.app-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.95rem;
}

.app-footer a {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.app-footer a:hover {
  text-decoration: underline;
}

.app-footer .disclaimer {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.75;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.app-footer .phone-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}


/* Comparison: a bit more room once the screen is wider than a phone */
@media (min-width: 480px) {
  .comparison-table {
    font-size: 0.95rem;
  }
  .comparison-table th {
    font-size: 0.9rem;
  }
  .comparison-table .row-label {
    font-size: 0.9rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.65rem;
  }
  .comparison-table td .benefit-val,
  .benefit-val {
    font-size: 1.02rem;
  }
}

/* —— Desktop tweaks —— */
@media (min-width: 480px) {
  .carrier-grid {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 2.1rem;
  }

  main {
    padding: 1.75rem 1.5rem 3rem;
  }
}

@media (min-width: 700px) {
  :root {
    --max: 720px;
  }

  html {
    font-size: 19px;
  }
}

/* Print / screenshot friendly */
@media print {
  .app-header {
    position: static;
  }

  .btn,
  .search-wrap {
    break-inside: avoid;
  }
}

/* —— Scan your card —— */
body.scan-open {
  overflow: hidden;
}

.landing-actions {
  margin-top: 0.25rem;
}

.landing-scan-hint {
  text-align: center;
  margin-top: 0.85rem;
}

#btn-scan-card-carriers {
  width: 100%;
  margin: 0.25rem 0 0.35rem;
}

.scan-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 26, 48, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.scan-overlay[hidden] {
  display: none !important;
}

.scan-sheet {
  width: 100%;
  max-width: var(--max);
  max-height: 96vh;
  overflow-y: auto;
  background: var(--off-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1rem 1.15rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.scan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.scan-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.scan-close {
  font-size: 1.25rem;
  min-width: 44px;
}

.scan-hint {
  color: var(--gray-700);
  font-size: 1rem;
  margin: 0 0 0.85rem;
}
.scan-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.scan-stage video,
.scan-stage .scan-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scan-frame {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  bottom: 22%;
  border: 4px solid rgba(20, 153, 148, 0.95);
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.scan-frame--red {
  border-color: #E53935;
  box-shadow:
    0 0 0 9999px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(229, 57, 53, 0.35),
    inset 0 0 24px rgba(229, 57, 53, 0.25);
}

.scan-frame--yellow {
  border-color: #F5C518;
  box-shadow:
    0 0 0 9999px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(245, 197, 24, 0.4),
    inset 0 0 24px rgba(245, 197, 24, 0.2);
}

.scan-frame--green {
  border-color: #2EAD5B;
  box-shadow:
    0 0 0 9999px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(46, 173, 91, 0.45),
    inset 0 0 28px rgba(46, 173, 91, 0.28);
}

.scan-frame--pulse {
  animation: scanFramePulse 0.9s ease-in-out infinite;
}

@keyframes scanFramePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.scan-countdown {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  background: rgba(7, 26, 48, 0.72);
  border: 3px solid currentColor;
  pointer-events: none;
  z-index: 2;
  letter-spacing: -0.02em;
}

.scan-countdown[hidden] {
  display: none !important;
}

.scan-countdown.is-red { color: #ff6b67; border-color: #E53935; }
.scan-countdown.is-yellow { color: #ffe066; border-color: #F5C518; }
.scan-countdown.is-green { color: #7dffb0; border-color: #2EAD5B; }

.scan-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(7, 26, 48, 0.75);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 2;
}

.scan-loading[hidden] {
  display: none !important;
}

.scan-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: scanSpin 0.8s linear infinite;
}

@keyframes scanSpin {
  to { transform: rotate(360deg); }
}
.scan-status {
  min-height: 1.4em;
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.scan-status.is-ok { color: var(--teal-dark); }
.scan-status.is-info { color: var(--navy); }
.scan-status.is-warn { color: var(--coral-dark); }

.scan-matches {
  margin-bottom: 0.75rem;
}

.scan-match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.scan-confirm {
  text-align: center;
  padding: 0.85rem 0.75rem 0.5rem;
  background: #F4FAF9;
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
}

.scan-confirm-q {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.scan-confirm-name {
  margin: 0 0 0.25rem;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}

.scan-confirm-meta {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.scan-confirm-actions {
  margin-top: 0.35rem;
}

.scan-actions {
  margin-top: 0.25rem;
}

.scan-upload-label {
  cursor: pointer;
}

@media (min-width: 560px) {
  .scan-overlay {
    align-items: center;
    padding: 1.25rem;
  }
  .scan-sheet {
    border-radius: var(--radius-lg);
    max-height: 90vh;
  }
}

/* —— Lead form —— */
.lead-form-wrap {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--gray-200);
}

.lead-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  font-size: 1.05rem;
  font-family: inherit;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  min-height: var(--touch);
}

.lead-form input:focus {
  outline: none;
  border-color: var(--teal);
}

.lead-form .optional {
  font-weight: 500;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600 !important;
  margin: 0.5rem 0 1rem;
  line-height: 1.35;
}

.consent-row input {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.lead-thanks {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(20, 153, 148, 0.12);
  border-radius: var(--radius);
  color: var(--teal-dark);
  font-weight: 700;
}

.sob-tools {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-year-note {
  margin: 0.5rem 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.98rem;
}
.plan-year-note.is-ready {
  background: #e8f7ef;
  color: #0f7a46;
  border: 1px solid #8fd6ad;
}
.plan-year-note.is-pending {
  background: #fff6e8;
  color: #8a5a00;
  border: 1px solid #f0c36a;
}

.na-val {
  color: var(--gray-500);
  font-weight: 600;
}

.compare-missing {
  margin: 1rem 0 1.25rem;
}
.compare-missing-card {
  text-align: center;
  padding: 1.5rem 1.15rem 1.35rem;
  background: linear-gradient(180deg, #fff8f6 0%, #ffffff 100%);
  border: 2px solid var(--coral);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.compare-missing-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  background: var(--coral);
}
.compare-missing-title {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  color: var(--navy);
}
.compare-missing-body {
  margin: 0 auto 1.15rem;
  max-width: 28rem;
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.45;
}
.compare-missing-cta {
  display: inline-flex;
  justify-content: center;
  min-width: min(100%, 280px);
}


/* Agency: medication photo attachments */
#lead-meds-wrap input[type="file"] {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px dashed rgba(11, 37, 69, 0.35);
  border-radius: 10px;
  background: #f7fafc;
  font-size: 0.95rem;
}
.meds-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.meds-preview figure {
  margin: 0;
  width: 88px;
}
.meds-preview img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(11, 37, 69, 0.15);
  display: block;
}
.meds-preview figcaption {
  font-size: 0.7rem;
  color: #5a6a7a;
  margin-top: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* Per-plan Ryan YouTube walkthrough */
.plan-video-block {
  margin: 0.75rem 0 1.25rem;
}
.plan-video-frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #0b2545;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.18);
}
.plan-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.plan-video-hint {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #3d4f63;
  text-align: center;
}
