/* The package builder's cards (partials/builder.html), on every page that has one: /book and the
   order's steps on the public site, and the dashboard's Package step and the team's order pages.
   The site's colours when it has them (site.css), the same values otherwise. */
/* The package step (2026-10-06): two choice cards, the package cards (gold border when chosen),
   the co-host stepper and the estimate box's tier part. Whole cards are tap targets. */
.choice-cards, .tier-picks { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.tier-picks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.tier-picks-wrap { container-type: inline-size; }
@container (max-width: 40rem) { .tier-picks { grid-template-columns: 1fr; } }
.auth-form .choice-card, .auth-form .tier-pick, .choice-card, .tier-pick { position: relative; display: block; font: 400 .95rem var(--sans, "Jost", system-ui, sans-serif); border: 1px solid var(--line, #e2dbcf); background: #fff; padding: .9rem 1rem 1rem; cursor: pointer; min-width: 0; letter-spacing: 0; text-transform: none; color: var(--ink, #161514); }
.choice-card input, .tier-pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice-card:has(input:checked), .tier-pick:has(input:checked) { border: 2px solid var(--gold, #9a7b45); padding: calc(.9rem - 1px) calc(1rem - 1px) calc(1rem - 1px); box-shadow: 0 6px 18px rgba(154, 123, 69, .16); }
.choice-card:has(input:focus-visible), .tier-pick:has(input:focus-visible) { outline: 2px solid var(--gold, #9a7b45); outline-offset: 3px; }
.choice-body, .tier-pick-body { display: grid; gap: .3rem; }
.choice-body strong { font: 500 1.15rem/1.2 var(--serif, "Cormorant Garamond", Georgia, serif); }
.auth-form .choice-price, .choice-price { font: 400 1rem var(--sans, "Jost", system-ui, sans-serif); color: var(--gold-text, #7a5f33); }
.choice-body small { font-size: .84rem; color: var(--grey, #5f5a53); line-height: 1.45; }
.choice-legacy { margin-top: .4rem; }
.tier-pick-head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }
.tier-pick-head strong { font: 500 1.2rem/1.2 var(--serif, "Cormorant Garamond", Georgia, serif); }
.tier-tag { font: 500 .62rem/1 var(--sans, "Jost", system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; padding: .32rem .55rem; border-radius: 99px; background: var(--ink, #161514); color: var(--paper, #fffdf9); }
.auth-form .tier-pick-price, .tier-pick-price { font: 400 1.8rem/1.1 var(--serif, "Cormorant Garamond", Georgia, serif); color: var(--ink, #161514); }
.auth-form .tier-pick-plus, .tier-pick-plus { font-size: .82rem; color: var(--grey, #5f5a53); }
.auth-form .tier-pick-lines, .tier-pick-lines { font-size: .9rem; color: var(--ink, #161514); }
.tier-pick-lines { display: grid; gap: .3rem; font-size: .9rem; line-height: 1.4; }
.tier-pick-line { display: flex; gap: .45rem; align-items: flex-start; overflow-wrap: anywhere; }
.tier-pick-line .tick { flex: none; width: 14px; height: 14px; margin-top: .2rem; color: var(--gold, #9a7b45); }
.tier-compare { margin: .3rem 0 0; font-size: .88rem; }
.builder-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line, #e2dbcf); background: #fff; }
.builder-stepper[hidden] { display: none; }
.builder-stepper .stepper-btn { width: 44px; height: 44px; border: 0; background: transparent; font: 400 1.3rem/1 var(--sans, "Jost", system-ui, sans-serif); color: var(--ink, #161514); cursor: pointer; }
.builder-stepper .stepper-btn:disabled { color: var(--line, #e2dbcf); cursor: default; }
.builder-stepper input { width: 2.6rem; height: 44px; border: 0; border-left: 1px solid var(--line, #e2dbcf); border-right: 1px solid var(--line, #e2dbcf); text-align: center; font: 400 1rem var(--sans, "Jost", system-ui, sans-serif); -moz-appearance: textfield; padding: 0; }
.builder-stepper input::-webkit-outer-spin-button, .builder-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.builder-included .builder-item { margin: 0; padding-left: 2rem; }
.estimate-tier { border: 1px solid var(--line, #e2dbcf); border-top: 0; background: var(--paper, #fffdf9); padding: .8rem 1.1rem 1rem; display: grid; gap: .6rem; }
.estimate-tier[hidden] { display: none; }
.estimate-includes { margin: 0; font-size: .9rem; }
.estimate-tier .builder-nudge { margin: 0; display: grid; gap: .5rem; justify-items: start; }
.estimate-tier .builder-nudge[hidden] { display: none; }
.estimate-tier .builder-nudge p { margin: 0; }
.estimate-tier .builder-nudge .cta { min-height: 44px; }
.estimate-relive { margin: 0; font-size: .88rem; color: var(--gold-text, #7a5f33); }
.estimate-relive[hidden] { display: none; }
.estimate-small { margin: 0; font-size: .78rem; color: var(--grey, #5f5a53); }

/* The packages' saving lines (2026-10-06): real catalog prices, never a made-up "was" price */
.tier-pick-saving, .tier-saving, .pillar-saving { display: block; margin: .2rem 0 .4rem; font-size: .82rem; color: var(--gold-text, #7a5c2b); }
.tier-pick-upsell, .tier-upsell, .pillar-upsell { display: block; margin: .3rem 0 .4rem; font-size: .82rem; color: var(--grey, #6b6158); }
