/* Shared Freedom Passport yearly/monthly chooser. Badge uses brand forest/cream, never Custom gold. */
.eat-fp-chooser { border: 0; margin: 0; padding: 0; min-width: 0; }
.eat-fp-chooser-legend {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.eat-fp-chooser-legend.is-visible {
  position: static; width: auto; height: auto; clip: auto; overflow: visible;
  font-weight: 650; margin: 0 0 12px;
}
.eat-fp-chooser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}
@media (min-width: 600px) {
  .eat-fp-chooser-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.eat-fp-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 14px 16px;
  border: 1px solid var(--fp-line, #c9c3b5);
  border-radius: 8px;
  background: var(--fp-paper-raised, #fcf9f1);
  color: var(--fp-ink, #1d2722);
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}
.eat-fp-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.eat-fp-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}
.eat-fp-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--fp-muted, #56635c);
  box-sizing: border-box;
  flex: 0 0 16px;
  background: transparent;
}
.eat-fp-card:has(input:checked),
.eat-fp-card.is-selected {
  border: 2px solid var(--fp-forest, #1c4938);
  background: color-mix(in srgb, var(--fp-forest, #1c4938) 8%, var(--fp-cream, #fff6e4));
  padding: 13px 15px;
}
.eat-fp-card:has(input:checked) .eat-fp-dot,
.eat-fp-card.is-selected .eat-fp-dot {
  border-color: var(--fp-forest, #1c4938);
  background: radial-gradient(circle at center, var(--fp-forest, #1c4938) 0 6px, transparent 7px);
}
.eat-fp-card:has(input:focus-visible) {
  outline: 3px solid var(--fp-forest, #1c4938);
  outline-offset: 3px;
}
.eat-fp-plan-name { font-weight: 650; }
.eat-fp-save {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fp-forest, #1c4938);
  background: var(--fp-cream, #fff6e4);
  border: 1px solid var(--fp-forest, #1c4938);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
html.dark .eat-fp-save,
html[data-theme="dark"] .eat-fp-save {
  /* Deep forest on cream: 12.6:1, independent of the dark --fp-forest sage token. */
  color: #102e25;
  background: #fff6e4;
  border-color: #102e25;
}
@media (prefers-color-scheme: dark) {
  .eat-fp-save {
    color: #102e25;
    background: #fff6e4;
    border-color: #102e25;
  }
}
.eat-fp-price {
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 500;
}
.eat-fp-period {
  font-size: 1rem;
  color: var(--fp-muted, #56635c);
  font-family: "Libre Franklin", system-ui, sans-serif;
}
.eat-fp-sub { font-size: .92rem; }
.eat-fp-vs { font-size: .85rem; color: var(--fp-muted, #56635c); }
.eat-fp-card .fp-cta { margin-top: 8px; align-self: flex-start; }
html[data-theme="dark"] .eat-fp-card:has(input:checked),
html.dark .eat-fp-card:has(input:checked),
html[data-theme="dark"] .eat-fp-card.is-selected,
html.dark .eat-fp-card.is-selected {
  background: color-mix(in srgb, var(--fp-forest, #8fb89a) 16%, var(--fp-paper-raised, #1e1814));
}
@media (prefers-color-scheme: dark) {
  .eat-fp-card:has(input:checked),
  .eat-fp-card.is-selected {
    background: color-mix(in srgb, var(--fp-forest, #8fb89a) 16%, var(--fp-paper-raised, #1e1814));
  }
}
