/* Option B: people first */
.choose { margin-top: 10px; padding-left: 44px; display: flex; flex-direction: column; gap: 6px; }
.opill { display: flex; gap: 4px; flex-wrap: wrap; }
.op { flex: 1 1 auto; min-height: 36px; padding: 5px 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; text-align: center; line-height: 1.15; }
.op b { display: block; font-size: 13px; font-weight: 600; }
.op small { display: block; font-size: 11px; color: var(--muted); }
.op[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.op[aria-pressed="true"] small { color: #D5ECEA; }
.opill.levels .op { flex: 1 1 30%; text-align: left; }
.opill.two .op { flex: 1 1 45%; }
.choose .q { margin: 4px 0 0; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.result { border-top: 1px dashed var(--line); padding-top: 8px; }
.packname { font-weight: 700; color: var(--brand-dk); margin-right: 4px; }
@media (max-width: 520px) { .choose { padding-left: 0; } }
.choose[hidden] { display: none; }
.mini.done { align-self: flex-end; }

.paying .seg2 { margin-bottom: 0; }
.paying .note { margin-top: 10px; }
.who { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 10px; background: var(--wash); color: var(--muted); }
.who.me { background: var(--brand-tint); color: var(--brand-dk); }
.sumline.others { border-top: 1px dashed var(--line); padding-top: 8px; }
.linkbtns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.linkbtns .share { margin-top: 0; }
a.mini { display: inline-flex; align-items: center; text-decoration: none; }
.member { max-width: 640px; margin: 16px auto 0; padding: 14px 16px; background: var(--brand-tint); border: 1px solid var(--brand); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.member[hidden] { display: none; }
.member b { font: 700 18px var(--head); }
/* In the same centred column as the steps at every width, with the 16px gutter on phones (round 6: it sat off to the left on laptops). */
.member, .resume { box-sizing: border-box; width: calc(100% - 32px); max-width: 608px; margin: 12px auto 0; }
body[data-member="yes"] #payCard, body[data-member="yes"] #addCard, body[data-member="yes"] #kidHelmets, body[data-member="yes"] .listhead span, body[data-member="yes"] #step3 .navrow .secondary { display: none !important; }
body[data-member="yes"] .listhead, body[data-member="yes"] .prow input[type="checkbox"], body[data-member="yes"] .prow .bin, body[data-member="yes"] .side .fine { display: none !important; }

/* discount code box and crossed-out shop prices */
.codebox { margin: 12px 0 4px; }
.codebox label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.coderow { display: flex; gap: 8px; }
.coderow input { flex: 1; min-width: 0; text-transform: uppercase; }
.coderow button { flex: none; width: auto; padding-inline: 16px; }
.codebox .fine { margin: 6px 0 0; }
.pprice s, .trow s { color: #8a8f8e; font-weight: 400; margin-right: 4px; }
.codestuck { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.codestuck .btnlink { display: inline-block; padding: 8px 14px; border-radius: 10px; border: 1px solid currentColor; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.codestuck .linkish { background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.9rem; width: auto; }

/* Save and finish later */
.savelater { margin-top: 14px; border-top: 1px solid var(--line, #DFE5E8); padding-top: 12px; }
.savelater summary { cursor: pointer; font-weight: 600; }
.savelater .row { display: flex; gap: 8px; margin-top: 8px; align-items: flex-start; }
.savelater .row .grow { flex: 1; min-width: 0; margin: 0; }
.savelater .row .grow input { width: 100%; }
.savelater .linkbox { width: 100%; font-family: inherit; font-size: 13px; margin-top: 6px; }
.savelater .ok { color: var(--brand-dk, #2D6A6C); font-weight: 600; margin: 8px 0 0; }
#saveSlot4 .savelater { background: var(--card, #fff); border: 1px solid var(--line, #DFE5E8); border-radius: 10px; padding: 12px; margin: 12px 0; }

/* Payment step */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.grid2 .wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 15px; line-height: 1.4; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
#payNow[disabled] { opacity: .6; cursor: progress; }

/* Dates: one calendar, three taps (Jamie, 3 Nov) */
.calsteps { list-style: none; display: flex; gap: 6px; margin: 0 0 10px; padding: 0; }
.calsteps li { flex: 1; font-size: 13px; color: var(--muted); padding: 6px 8px; border-radius: 10px; background: var(--wash); text-align: center; }
.calsteps li b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 9px; background: var(--line-strong); color: #fff; font-size: 11px; margin-right: 4px; }
.calsteps li.on { background: var(--brand-tint); color: var(--brand-dk); font-weight: 600; }
.calsteps li.on b, .calsteps li.done b { background: var(--brand); }
.calhint { font-size: 15px; color: var(--ink); min-height: 1.4em; }
.cd { height: 46px; font-size: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.cd .tag { font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cd.arr { box-shadow: inset 0 0 0 2px var(--amber-line); border-radius: 23px; color: var(--amber); font-weight: 700; background: var(--amber-tint); }
.cd.arr.st { box-shadow: inset 0 0 0 3px var(--amber-line); background: var(--brand); color: #fff; }
.cd:not(:disabled):hover { outline: 2px solid var(--brand-tint); outline-offset: -2px; border-radius: 23px; }
.calkey .ka { width: 12px; height: 12px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--amber-line); }
.calkey .ks, .calkey .kp { margin-left: 10px; }
@media (min-width: 640px) { .cd { height: 54px; font-size: 17px; } .calhead b { font-size: 18px; } }
#windowRow { margin-top: 12px; }
/* Landing time wheel */
.flabel { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.wheel { display: inline-flex; align-items: center; gap: 4px; position: relative; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 8px; background: #fff; }
.wheel::before { content: ""; position: absolute; left: 6px; right: 6px; top: 40px; height: 40px; border-radius: 8px; background: var(--brand-tint); pointer-events: none; }
.wcol { position: relative; height: 120px; width: 56px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; padding: 40px 0; box-sizing: border-box; outline: none;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.wcol::-webkit-scrollbar { display: none; }
.wcol:focus-visible { box-shadow: 0 0 0 2px var(--brand); border-radius: 8px; }
.wopt { height: 40px; scroll-snap-align: center; display: grid; place-items: center; font: 500 20px var(--sans); color: var(--muted); cursor: pointer; user-select: none; }
.wopt[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.wsep { font: 700 20px var(--sans); color: var(--ink); position: relative; }
.dayschip { align-items: flex-start; }
.dayschip .dhead { display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.dayschip .dhead .big { font-size: 30px; }
.dayschip .dtx small { line-height: 1.45; }
.dayschip .dtx small.togo { margin-top: 8px; color: var(--muted); font-weight: 500; }

/* Guided steps (Jamie, 9 Nov) */
.why { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.why summary { cursor: pointer; text-decoration: underline; width: fit-content; }
.why p { margin: 6px 0 0; }
.gatebox { margin-top: 14px; padding: 13px 15px; background: #FDECEC; border: 1px solid #C0392B; border-left-width: 4px; border-radius: 10px; color: #8E2A20; }
.gatebox[hidden], .firstq[hidden], .cal[hidden] { display: none; }
.gatebox p { margin: 6px 0 10px; }
.gatebox .btnlink { display: inline-block; padding: 8px 14px; border-radius: 10px; border: 1px solid currentColor; text-decoration: none; font-weight: 600; color: inherit; background: #fff; }
.gatebox .field { margin-top: 12px; }
.gatebox input { text-transform: uppercase; }
.linkish { background: none; border: 0; padding: 4px 0; margin-top: 6px; text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.9rem; width: auto; color: inherit; }
.firstq .opt:disabled { opacity: .45; cursor: not-allowed; }

/* Clear next step (Jamie, 9 Nov) */
.stepwrap h1, .main h1 { font: 700 clamp(34px, 7vw, 50px)/1.08 var(--head); letter-spacing: -.01em; margin-bottom: 10px; }
.lede { font-size: 17px; }
.bar-in { flex-wrap: wrap; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; flex: 1 1 100%; width: 100%; max-width: 640px; }
.steps button, .steps .pay { min-width: 0; padding: 7px 0 0; border-top: 3px solid var(--line-strong); text-align: left; font-size: 12px; color: var(--muted); border-radius: 0; }
.steps button b, .steps .pay b { display: none; }
.steps button.done, .steps button.on, .steps .pay.on { border-top-color: var(--brand); }
.steps button.on, .steps .pay.on { color: var(--brand-dk); font-weight: 700; }
.steps span, .steps button:not(.on) span, .steps .pay span { display: inline; opacity: 1; }
.tripsum { max-width: 608px; margin: 14px auto 0; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tripsum[hidden] { display: none; }
.tripsum .eyebrow { margin: 0 0 6px; }
.tsline { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 2px 0; }
.tsline span { color: var(--muted); flex: none; }
.tsline b { font-weight: 600; text-align: right; }
@media (max-width: 660px) { .tripsum { margin: 12px 16px 0; } }
@media not all /* was (min-width: 1240px): the trip summary no longer floats beside the page (12 Nov) */ { .tripsum { position: fixed; top: 120px; left: calc(50% + 340px); width: 280px; margin: 0; } }
.reassure { margin: 8px 0 0; text-align: right; font-size: 13px; color: var(--muted); }
.side .reassure { text-align: left; }
@media all /* was (max-width: 900px): one layout at every width (Jamie, 12 Nov) */ { #step1 .reassure, #step2 .reassure { display: none; } .mbar #mbarText { font-size: 13px; } }

/* One clear instruction per step (Jamie, 9 Nov) */
.calhint:empty { display: none; }
.stepwrap .eyebrow, .main .eyebrow { font: 700 18px/1.3 var(--head); letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 10px; }
.stepwrap .eyebrow { display: block; }
.tripshort { display: block; width: 100%; background: none; border: 0; padding: 0; text-align: left; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.tripshort::after { content: " ▾"; color: var(--muted); }
.tripsum.open .tripshort::after { content: " ▴"; }
#tripFull { display: none; margin-top: 8px; }
.tripsum.open #tripFull { display: block; }
.tripsum.open #tripFull .eyebrow { display: none; }
@media not all /* was (min-width: 1240px): the trip summary no longer floats beside the page (12 Nov) */ { .tripshort { display: none; } #tripFull, .tripsum.open #tripFull { display: block; margin-top: 0; } .tripsum.open #tripFull .eyebrow { display: block; } }

/* Equipment: one card per person, one open at a time (Jamie, 9 Nov) */
.person.open { border: 1.5px solid var(--brand); padding: 12px; }
.person.closed { padding: 10px 12px; }
.pline { flex: 1; min-width: 0; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.pline b, .pline small { display: block; }
.pline small { color: var(--muted); font-size: 13px; }
.pline .pissue { color: var(--amber); font-weight: 600; }
.person.closed .linkish { margin: 0; color: var(--brand); font-weight: 600; }
.pdrops { display: flex; gap: 8px; margin-top: 8px; }
.minisel { flex: 1 1 0; min-width: 0; height: 40px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; padding: 0 8px; font-size: 15px; }
.pq { font: 700 18px/1.25 var(--head); margin: 14px 0 8px; }
.samekit { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 12px; background: var(--brand-tint); border-radius: 10px; font-weight: 600; }
.samekit .linkish { margin: 0; color: var(--brand-dk); font-weight: 700; }
.plevel { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; }
.plevel .linkish { margin: 0; color: var(--brand); font-weight: 600; }
.bootstiles { display: flex; gap: 8px; }
.bootstile { flex: 1 1 0; padding: 12px 8px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; text-align: center; cursor: pointer; }
.bootstile b, .bootstile small { display: block; }
.bootstile small { color: var(--brand-dk); font-size: 14px; margin-top: 2px; }
.bootstile[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.ptick { display: flex; align-items: center; gap: 10px; padding: 10px 0 0; font-weight: 600; cursor: pointer; }
.ptick input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.ptick small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 14px; }
.pnext { display: flex; justify-content: flex-end; margin-top: 12px; }
.pnext:empty { display: none; }
.pnext .secondary { width: auto; padding: 10px 22px; }
.person .opill.levels .op { flex: 1 1 30%; text-align: left; }
@media (max-width: 520px) { .person .opill.levels .op { flex: 1 1 45%; } }

/* Option B, sporty (Jamie, 9 Nov): dark green header, solid selections, mint buttons, Plex throughout */
:root { --brand: #1B272F; --brand-dk: #1B272F; --brand-tint: #E3F1F2; --bg: #F3F5F7; --ink: #14201F; --head: "IBM Plex Sans", var(--sans); --mint: #70B8B8; --mint-lt: #8CC8C8; }
body { background: var(--bg); overflow-x: clip; }
.bar { background: #1B272F; border-bottom: 0; }
.brand { color: #fff; font: 600 19px var(--sans); letter-spacing: -.01em; }
.steps button, .steps .pay { color: rgba(255,255,255,.65); border-top-color: rgba(255,255,255,.28); }
.steps button.done, .steps button.on, .steps .pay.on { border-top-color: var(--mint-lt); }
.steps button.on, .steps .pay.on { color: #fff; }
.stepwrap > h1, .main > h1 { position: relative; color: #fff; font: 600 clamp(28px, 6vw, 42px)/1.1 var(--sans); letter-spacing: -.025em; margin-bottom: 34px; }
.stepwrap > h1::before, .main > h1::before { content: ""; position: absolute; z-index: -1; left: -100vw; right: -100vw; top: -28px; bottom: -18px; background: #1B272F; }
.stepwrap, .wrap { isolation: isolate; }
.card, .tripsum, .person { border-radius: 8px; border: 0; box-shadow: none; }
.person.open { border: 0; padding: 16px; }
.opt, .pill, .seg, .op, .bootstile, .sporttile, .agetile, .lvrow { border: 0 !important; background: #EEF2F4; border-radius: 6px; box-shadow: none !important; }
.opt[aria-pressed="true"], .pill[aria-pressed="true"], .seg[aria-pressed="true"], .op[aria-pressed="true"], .bootstile[aria-pressed="true"], .sporttile[aria-pressed="true"], .agetile[aria-pressed="true"], .lvrow[aria-pressed="true"] { background: #1B272F; color: #fff; }
.opt[aria-pressed="true"] small, .bootstile[aria-pressed="true"] small, .agetile[aria-pressed="true"] small, .lvrow[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
button.primary, .primary { background: var(--mint); color: #141E24; border-radius: 6px; border: 0; font-weight: 600; }
button.primary:disabled, .primary:disabled { background: #D6DFE2; color: #7c8c89; }
.secondary { border-radius: 6px; }
.pq, .stepwrap .eyebrow, .main .eyebrow { font: 600 19px/1.25 var(--sans); letter-spacing: -.015em; }
.phead { display: flex; align-items: center; gap: 12px; }
.phead input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.pdot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #1B272F; flex: none; }
.pwho { flex: 1; min-width: 0; }
.pnamein { display: block; width: 100%; height: 30px; border: 0 !important; background: none !important; padding: 0; font: 600 18px var(--sans); outline-offset: 2px; }
.pnamein::placeholder { color: #93a2a0; }
.panswers { display: flex; flex-wrap: wrap; gap: 0 10px; }
.pans { background: none; border: 0; padding: 0; font-size: 13.5px; color: #596A6B; cursor: pointer; text-decoration: underline; text-decoration-color: #c4cfcc; }
.pdots { display: flex; gap: 4px; flex: none; }
.pdots i { width: 14px; height: 3px; background: #DEE6E9; }
.pdots i.d { background: #1B272F; }
.person.open .bin { flex: none; border: 0; background: none; opacity: .55; }
.sporttiles { display: flex; gap: 8px; }
.sporttile { flex: 1 1 0; padding: 12px 2px 10px; text-align: center; font-weight: 500; font-size: 13.5px; cursor: pointer; min-width: 0; }
.sporttile svg { display: block; width: 34px; height: 34px; margin: 0 auto 5px; }
.agetiles { display: flex; gap: 6px; margin-top: 8px; }
.agetile { flex: 1 1 0; padding: 7px 2px; text-align: center; cursor: pointer; font-size: 13.5px; min-width: 0; }
.agetile b, .agetile small { display: block; font-weight: 500; }
.agetile small { font-weight: 400; font-size: 12px; color: #596A6B; }
.lvrow { display: block; width: 100%; text-align: left; padding: 10px 13px; margin-bottom: 6px; cursor: pointer; }
.lvrow b, .lvrow small { display: block; }
.lvrow b { font-weight: 500; }
.lvrow small { font-size: 13px; color: #596A6B; }
.person.open > .linkish { display: block; font-size: 14px; }
.bootstile small { color: inherit; font: 600 17px var(--sans); }
.bootstile b { font-weight: 500; font-size: 14px; }
.samekit .bootstile { padding: 14px 8px; }
.samekit { background: none; padding: 0; }
.ptick { padding: 11px 0; border-bottom: 1px solid #E2E8EB; font-weight: 500; }
.pnext { justify-content: space-between; align-items: center; }
.pnext .primary { width: auto; padding: 12px 26px; }
.pnext .pprice { font-weight: 600; }
.person.closed .pdot { width: 36px; height: 36px; }
.tripsum { background: #fff; }
.note.good { background: var(--brand-tint); }
@media not all /* was (min-width: 1240px): the trip summary no longer floats beside the page (12 Nov) */ { .tripsum { top: 150px; box-shadow: 0 2px 10px rgba(11,58,56,.08); } }
html { overflow-x: clip; }
#people { margin-bottom: 14px; }

/* Six changes (Jamie, 9 Nov) */
.pnamein.missing { background: none !important; box-shadow: inset 0 -2px 0 var(--amber-line); }
.pnamein:not(.missing) { box-shadow: none; }
.pnamehint { margin: 3px 0 0; color: var(--amber); font-size: 13.5px; font-weight: 600; }
.person.closed.todo { box-shadow: inset 4px 0 0 var(--amber-line); }
.pline .pissue { font-size: 14px; }
.lvgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lvgrid .lvrow { margin: 0; min-height: 66px; padding: 11px 12px; background: #E3F1F2; }
.lvgrid .lvrow b { font-weight: 600; line-height: 1.2; }
.lvgrid .lvrow:last-child { grid-column: 1 / -1; }
.lvrow:hover { outline: 2px solid var(--mint); outline-offset: -2px; }
.lvtour { margin-top: 18px; }
.lvtour .lvrow { margin: 0; padding: 12px; background: #EEF2F4; }
.lvtour .lvrow b { font-weight: 600; }
.packnow { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.packnow span { color: #596A6B; font-size: 14px; }
.packnow b { font: 600 19px var(--sans); text-transform: capitalize; }
.packmoves { display: flex; gap: 8px; margin-top: 8px; }
.packmove { flex: 1 1 0; background: none; border: 1px solid #C8D5DA; border-radius: 6px; padding: 8px 8px; text-align: center; cursor: pointer; min-width: 0; }
.packmove small, .packmove b { display: block; }
.packmove small { color: #596A6B; font-size: 12.5px; }
.packmove b { font-size: 14px; font-weight: 600; text-transform: capitalize; }
#missing { background: var(--amber-tint); border: 1.5px solid var(--amber-line); border-radius: 8px; padding: 12px 14px; color: var(--amber); font-size: 15px; margin: 12px 0; }
#missing > b { display: block; font-size: 16px; margin-bottom: 4px; }
#missing p { margin: 4px 0 0; }
.todoitem { display: block; width: 100%; background: none; border: 0; padding: 5px 0; text-align: left; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.hastodo small { color: var(--amber); font-weight: 600; }

/* Details step (Jamie, 9 Nov) */
.agegender { display: flex; gap: 14px; align-items: flex-end; margin-top: 12px; flex-wrap: wrap; }
.agegender .field:first-child { flex: 0 0 76px; margin: 0; }
.agegender .field:last-child { flex: 1 1 220px; margin: 0; }
.genderpills { display: flex; gap: 6px; flex-wrap: wrap; }
.stepbox { display: flex; align-items: center; gap: 6px; }
.stepbox input { flex: 1 1 0; min-width: 0; text-align: center; -moz-appearance: textfield; }
.stepbox input::-webkit-outer-spin-button, .stepbox input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepbox button { flex: none; width: 42px; height: 42px; border: 0; border-radius: 6px; background: #EEF2F4; font-size: 20px; font-weight: 600; color: var(--ink); cursor: pointer; }
.extras2 { margin-bottom: 4px; }
.choices.skitype { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { border: 0 !important; background: #EEF2F4; border-radius: 6px; box-shadow: none !important; }
.choice[aria-pressed="true"] { background: #1B272F; color: #fff; }
.choice[aria-pressed="true"] small { color: rgba(255,255,255,.85); }
.choices.style { display: grid; gap: 8px; }
.choices.style .choice:nth-child(1):not([aria-pressed="true"]) { background: #E6F2F3; }
.choices.style .choice:nth-child(2):not([aria-pressed="true"]) { background: #c4e6d6; }
.choices.style .choice:nth-child(3):not([aria-pressed="true"]) { background: #94d2b6; }
.choices.style .choice:nth-child(3):not([aria-pressed="true"]) small { color: #173b38; }
.choices.style .choice:nth-child(4) { margin-top: 8px; }
.choices.style .choice:nth-child(4):not([aria-pressed="true"]) { background: none; box-shadow: inset 0 0 0 1px #C8D5DA !important; }
.pnote textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; padding: 9px 10px; font: inherit; resize: vertical; }
.whoq { font-weight: 600; margin: 4px 0 6px; }
.whobtns { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pill.notski { background: none; box-shadow: inset 0 0 0 1px #C8D5DA; }

/* Ski rack, tiers and add buttons, from the agreed mock-up (Jamie, 9 Nov) */
.sporttile { background: #F0F5F7; border-radius: 14px; padding: 10px 2px 9px; }
.sporttile .art { display: block; }
.sporttile .art svg { display: block; height: 72px; width: auto; margin: 0 auto 4px; }
.sporttile[aria-pressed="true"] { background: #EEF6F7; color: var(--ink); box-shadow: inset 0 0 0 2.5px #1B272F !important; }
.agetiles { background: #EEF2F4; border-radius: 24px; padding: 4px; gap: 2px; margin-top: 10px; }
.agetile { background: none; border-radius: 20px; padding: 5px 0; }
.lvrow { display: flex; align-items: center; gap: 12px; background: #fff !important; border-radius: 14px; padding: 8px 12px; margin-bottom: 8px; box-shadow: 0 1px 6px rgba(11,58,56,.1), 0 0 0 1px rgba(11,58,56,.05) !important; color: var(--ink); }
.lvrow:hover { outline: 2px solid var(--mint); outline-offset: -2px; }
.lvrow[aria-pressed="true"] { background: #EEF6F7 !important; color: var(--ink); box-shadow: inset 0 0 0 2.5px #1B272F !important; }
.lvrow[aria-pressed="true"] small { color: #596A6B; }
.lvart { flex: none; width: 32px; height: 42px; }
.lvart svg { height: 42px; width: 32px; display: block; }
.lvtext { flex: 1; min-width: 0; }
.lvtext b { display: block; font-weight: 600; font-size: 15px; }
.lvtext small { display: block; font-size: 13px; color: #596A6B; }
.lvgo { font-style: normal; font-size: 22px; color: #7FAEB8; flex: none; }
.lvrow.tourrow { background: #f5f1e8 !important; margin-top: 16px; }
.tiers { display: flex; gap: 6px; }
.tiers.wrap { flex-wrap: wrap; }
.tiers.wrap .tier { flex: 1 1 30%; }
.tier { flex: 1 1 0; min-width: 0; background: #fff; border: 0; border-radius: 14px; padding: 8px 3px 10px; text-align: center; cursor: pointer; box-shadow: inset 0 0 0 1px #D5E0E4; color: var(--ink); }
.tier u { display: flex; align-items: center; justify-content: center; height: 28px; text-decoration: none; font-size: 11.5px; line-height: 1.15; font-weight: 500; color: #3E5354; }
.tier u.tpick { font-weight: 600; color: #2D6A6C; }
.tierart svg { height: 78px; display: block; margin: 0 auto; }
.tier b { display: block; font-weight: 600; font-size: 14.5px; }
.tier em { font-style: normal; font-size: 13px; color: #596A6B; }
.tier[aria-pressed="true"] { background: #EEF6F7; box-shadow: inset 0 0 0 2.5px #1B272F; }
.tier[aria-pressed="true"] em { color: #1B272F; font-weight: 600; }
.tierguide { text-align: center; font-size: 12.5px; color: #596A6B; margin: 7px 0 0; }
.tierguide .linkish { margin: 0 0 0 8px; font-size: 12.5px; }
.pq2 { font-size: 16px; margin: 14px 0 7px; }
.bootstile { background: #fff; box-shadow: inset 0 0 0 1px #D5E0E4 !important; border-radius: 14px; color: var(--ink); }
.bootstile[aria-pressed="true"] { background: #EEF6F7; color: var(--ink); box-shadow: inset 0 0 0 2.5px #1B272F !important; }
.bootstile[aria-pressed="true"] small { color: var(--ink); }
.bootsart { display: flex; justify-content: center; align-items: flex-end; height: 54px; margin-bottom: 4px; }
.ba1 svg { height: 54px; display: block; }
.ba2 svg { height: 40px; display: block; margin-left: -6px; }
.addrow { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 7px 0; cursor: pointer; font: inherit; font-weight: 500; color: var(--ink); text-align: left; }
.addmark { width: 28px; height: 28px; border-radius: 50%; background: #1B272F; color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.addrow em { margin-left: auto; font-style: normal; color: #596A6B; }
.addrow.in .addmark { background: #70B8B8; color: #141E24; font-size: 15px; }
.addrow.in em { color: #2D6A6C; font-weight: 600; }
.addname { min-width: 0; }
.pnext { border-top: 1px solid #E5EBEE; padding-top: 12px; }
.pkitsum small { display: block; color: #596A6B; font-size: 12.5px; }

/* Details page, from the agreed mock-up (Jamie, 9 Nov) */
.whobtns .pill[aria-pressed="true"], .bdaybox .pill[aria-pressed="true"] { background: #EEF6F7; color: var(--ink); box-shadow: inset 0 0 0 2px #1B272F; }
.agegender .field:first-child { flex: 0 0 150px; }
.agegender .field:first-child input { max-width: 90px; }
.bdaybox { background: #F0F5F7; border-radius: 12px; padding: 10px 12px 2px; margin-top: 10px; }
.bdaybox .sub { margin: 0 0 8px; }
.stepbox input { flex: 1 0 58px; padding-left: 2px; padding-right: 2px; }
.typegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.typetile { background: #fff; border: 0; border-radius: 12px; padding: 8px 9px 10px; text-align: center; cursor: pointer; color: var(--ink); box-shadow: inset 0 0 0 1px #D5E0E4; font: inherit; }
.typetile[aria-pressed="true"] { background: #EEF6F7; box-shadow: inset 0 0 0 2.5px #1B272F; }
.typeart svg { height: 52px; display: block; margin: 0 auto 2px; }
.typetile b { display: block; font-weight: 600; font-size: 14.5px; }
.typetile small { display: block; font-size: 12.5px; color: #4D5F60; line-height: 1.3; }
.withinfo { display: flex; align-items: center; gap: 8px; }
.infobtn { width: 22px; height: 22px; border-radius: 50%; border: 0; background: #1B272F; color: #fff; font: italic 600 13px Georgia, serif; cursor: pointer; padding: 0; display: grid; place-items: center; }
.typeinfo { background: #F8FAFB; border: 1px solid #D5E0E4; border-radius: 12px; padding: 12px; margin: 4px 0 10px; }
.typeinfo[hidden] { display: none; }
.typeinfo > b { font-weight: 600; }
.typeinfo h5 { margin: 9px 0 1px; font-size: 13.5px; font-weight: 600; }
.typeinfo p { margin: 2px 0 0; font-size: 13px; color: #4D5F60; line-height: 1.35; }
.typeinfo .typesrc { margin-top: 9px; font-size: 12px; }
.stylerow { display: flex; align-items: center; gap: 11px; width: 100%; border: 0; border-radius: 11px; padding: 7px 12px; margin-bottom: 5px; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.stylerow { background: #fff; box-shadow: inset 0 0 0 1.5px #d5e2dd; }
.stylerow[aria-pressed="true"] { background: #1B272F; color: #fff; box-shadow: none; }
.stylerow[aria-pressed="true"] .styletype em, .stylerow[aria-pressed="true"] small { color: #E6F0F3; }
.stylerow[aria-pressed="true"] .stylebars i { background: #5f8f8a; } .stylerow[aria-pressed="true"] .stylebars i.on { background: #fff; }
.styletick { margin-left: auto; font-weight: 700; font-size: 18px; min-width: 18px; }
.styletext { flex: 1; }
.styletype { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: none; width: 42px; }
.styletype em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #1B272F; }
.stylebars { display: flex; gap: 2px; align-items: flex-end; }
.stylebars i { width: 5px; border-radius: 2px; background: #c0d2cb; }
.stylebars i.on { background: #2e6b69; }
.stylebars i:nth-child(1) { height: 9px; } .stylebars i:nth-child(2) { height: 15px; } .stylebars i:nth-child(3) { height: 21px; }
.styletext b { display: block; font-weight: 600; font-size: 14.5px; }
.styletext small { display: block; font-size: 12.5px; color: #3E5354; line-height: 1.3; }
.stylenone { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; text-decoration: underline; color: var(--ink); cursor: pointer; text-align: left; }
.stylenone[aria-pressed="true"] { font-weight: 600; text-decoration: none; color: #2D6A6C; }
.eyebrow.q.withinfo { display: flex; align-items: center; gap: 8px; }
.whobtns .pill.notski { background: #EEF2F4; }
.whobtns .pill.notski[aria-pressed="true"] { background: #EEF6F7; }

/* Ski choice as rows, agreed Layout B (Jamie, 9 Nov) */
.tiers, .tiers.wrap { display: block; }
.tier { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 11px; margin-bottom: 6px; text-align: left; font: inherit; }
.tierart { flex: none; width: 40px; }
.tierart svg { height: 54px; width: 40px; margin: 0; }
.tiertext { flex: 1; min-width: 0; }
.tier u { display: block; height: auto; text-align: left; font-size: 12px; }
.tier b { font-size: 15px; }
.tiertext small { display: block; font-size: 12.5px; line-height: 1.25; color: #4D5F60; }
.tierprice { flex: none; width: 82px; text-align: right; }
.tierprice em { display: block; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tierprice i { display: block; font-style: normal; font-size: 11.5px; line-height: 1.2; color: #4D5F60; }
.allskis { background: #F8FAFB; border: 1px solid #D5E0E4; border-radius: 12px; padding: 12px; margin: 8px 0; }
.allskis[hidden] { display: none; }
.allskis > b { font-weight: 600; }
.allrow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #E5EBEE; font-size: 13.5px; margin-top: 6px; }
.allrow strong { font-weight: 600; width: 74px; flex: none; }
.allrow span { flex: 1; color: #4D5F60; }
.allrow em { font-style: normal; font-weight: 600; color: #2D6A6C; }
.allrow .linkish { margin: 0; }
.pricematch { background: #EEF6F7; border-radius: 10px; padding: 8px 10px; font-size: 13px; line-height: 1.3; margin: 8px 0 0; }
.pricematch span { color: #2D6A6C; font-weight: 700; }

/* Choosing the group link route (Jamie, 9 Nov) */
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.routetile { background: #fff; border: 0; border-radius: 12px; padding: 10px 11px; text-align: left; cursor: pointer; color: var(--ink); box-shadow: inset 0 0 0 1px #D5E0E4; font: inherit; }
.routetile[aria-pressed="true"] { background: #EEF6F7; box-shadow: inset 0 0 0 2.5px #1B272F; }
.routetile b { display: block; font-weight: 600; font-size: 14.5px; }
.routetile small { display: block; font-size: 12.5px; color: #4D5F60; line-height: 1.3; margin-top: 2px; }
#groupCard .whoq { margin-top: 12px; }
#groupCreate { width: 100%; margin-top: 8px; }
#groupLinkBox { width: 100%; font-size: 13px; }
.groupshare { margin-top: 10px; align-items: center; }
.groupshare a { padding: 10px 14px; border-radius: 8px; text-decoration: none; }
body[data-member="yes"] #routeCard, body[data-member="yes"] #groupCard { display: none; }
body.grouproute .mobilebar, body.grouproute #mobilebar, body.grouproute .sticky, body.grouproute #bar { display: none !important; }
body.grouproute .mbar { display: none !important; }
#groupPay .pill[aria-pressed="true"] { background: #EEF6F7 !important; color: var(--ink) !important; box-shadow: inset 0 0 0 2px #1B272F !important; }

/* The group link page (Jamie, 9 Nov) */
#groupPick[hidden] { display: none; }
.groupname { display: flex; align-items: center; justify-content: space-between; width: 100%; background: #fff; border: 0; border-radius: 12px; padding: 12px 13px; margin-bottom: 6px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px #D5E0E4; text-align: left; }
.groupname[aria-pressed="true"] { background: #EEF6F7; box-shadow: inset 0 0 0 2.5px #1B272F; }
.groupname[aria-pressed="true"] .addmark { background: #70B8B8; color: #141E24; }
.groupname i { font-style: normal; }
.groupname:disabled { opacity: .55; cursor: default; }
.groupname em { font-style: normal; font-size: 13px; color: #596A6B; font-weight: 500; }
.groupadd { display: flex; gap: 6px; }
.groupadd input { flex: 1; min-width: 0; }
#groupPickNext { width: 100%; margin-top: 4px; }

/* Names box always open (Jamie, 10 Nov): typing or pasting names is the main way; the spreadsheet is for big groups. */
.namesbox textarea { min-height: 84px; }
p.links.fine { display: block; margin-top: 8px; color: #4D5F60; font-size: 13px; }
p.links.fine .link { font-size: 13px; padding: 0; }
@media (max-width: 560px) { .routes { grid-template-columns: 1fr; } }

/* Surnames on the details step (Jamie, 10 Nov). */
#surnames .surrow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px; margin-top: 8px; }
#surnames input { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px; font: inherit; background: #fff; }
#surnames input.missing { border-color: var(--amber-line); box-shadow: inset 0 -2px 0 var(--amber-line); }
#surnames .surescape { display: block; margin-top: 12px; text-align: left; font-size: 14px; }

/* Boots Yes / No and the helmet and guarantee question (Jamie, 10 Nov). */
.bootstiles.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bootstiles.yn .ynbtn { padding: 14px 12px; text-align: left; display: flex; flex-direction: column; gap: 2px; min-height: 0; }
.bootstiles.yn .ynbtn small { font-size: 14px; }
.extrasq .nothanks { margin-top: 8px; width: 100%; padding: 12px; border: 0; border-radius: 6px; background: #EEF2F4; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }
.extrasq .nothanks[aria-pressed="true"] { background: #1B272F; color: #fff; }

/* The next thing to answer (Jamie, 10 Nov): one green outline at a time. */
.isnext { outline: 3px solid #4FA5A6 !important; outline-offset: 4px; border-radius: 8px; animation: nextin .6s ease-out 1; }
button.isnext, .primary.isnext { outline-offset: 3px; }
.person .isnext { outline-offset: 3px; }
@keyframes nextin { from { outline-color: rgba(46,157,120,0); } to { outline-color: #4FA5A6; } }
@media (prefers-reduced-motion: reduce) { .isnext { animation: none; } }

/* Save and finish later: its own button under the basket and on each later step (Jamie, 10 Nov). */
.side .sidecard { margin: 0; }
#saveSlot3 .savelater, #saveSlot4 .savelater, #saveSlot5 .savelater { margin: 12px 0 0; border: 0; padding: 0; background: none; }
#saveSlot3 .savelater > summary, #saveSlot4 .savelater > summary, #saveSlot5 .savelater > summary { list-style: none; display: block; text-align: center; padding: 11px 14px; border-radius: 6px; background: var(--card, #fff); border: 1px solid var(--line-strong, #C8D3D8); color: var(--ink, #14201F); }
#saveSlot3 .savelater > summary::-webkit-details-marker, #saveSlot4 .savelater > summary::-webkit-details-marker, #saveSlot5 .savelater > summary::-webkit-details-marker { display: none; }
#saveSlot3 .savelater[open], #saveSlot4 .savelater[open], #saveSlot5 .savelater[open] { background: var(--card, #fff); border-radius: 8px; padding: 12px; }
#saveSlot3 .savelater[open] > summary, #saveSlot4 .savelater[open] > summary, #saveSlot5 .savelater[open] > summary { border: 0; padding: 0 0 4px; text-align: left; }
/* "I'll pay for everyone" is a setting, not the next step: lighter when chosen (Jamie, 10 Nov). */
#payCard .seg[aria-pressed="true"] { background: var(--brand-tint, #E3EEF1) !important; color: var(--brand-dk, #24585A) !important; box-shadow: inset 0 0 0 2px var(--brand, #2D6A6C) !important; }

/* Instruction bubbles (Jamie, 10 Nov): the date taps and the start of the details step. */
.bubble { position: relative; margin: 10px 0 14px; padding: 14px 16px; border-radius: 10px; background: #1B272F; color: #fff; font-size: 17px; line-height: 1.35; box-shadow: 0 6px 18px rgba(11,58,56,.22); }
.bubble b { color: #9fe3c4; }
.bubble::after { content: ""; position: absolute; left: 28px; bottom: -8px; width: 16px; height: 16px; background: #1B272F; transform: rotate(45deg); }
.bubble.pop { animation: bubblepop .45s cubic-bezier(.2,1.4,.4,1) 1; }
@keyframes bubblepop { 0% { opacity: 0; transform: translateY(-6px) scale(.96); } 100% { opacity: 1; transform: none; } }
.stepbubble { margin: 12px 0 16px; }
@media (prefers-reduced-motion: reduce) { .bubble.pop { animation: none; } }

/* Names first, the count underneath (Jamie, 10 Nov). */
#addCard .namesbox { margin-top: 6px; }
#addCard .orcount { margin: 14px 0 6px; }

/* Guarantee safety net (Jamie, 10 Nov). */
.sheetback { position: fixed; inset: 0; z-index: 50; background: rgba(11,30,29,.55); display: grid; place-items: center; padding: 16px; }
.sheet { width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.sheet h2 { margin: 0 0 8px; font: 600 21px/1.25 var(--sans); }
.sheet .addrow { width: 100%; margin-top: 8px; }
.sheetbtns { display: grid; gap: 8px; margin-top: 16px; }
.sheetbtns button { width: 100%; padding: 13px; }
.sheet .linkish { display: block; margin: 12px auto 0; }
body.sheeton { overflow: hidden; }

/* Surname chips: offered, never filled on their own (Jamie, 10 Nov). */
.surchips { display: flex; flex-wrap: wrap; gap: 6px; }
.surchips:empty { display: none; }
#surnames .surrow .surchips { grid-column: 2; }
#groupSurnames .surchips { margin-top: 6px; }
.surchip { border: 1px dashed var(--brand, #2D6A6C); background: var(--brand-tint, #E3EEF1); color: var(--brand-dk, #24585A); border-radius: 16px; padding: 5px 12px; font: 600 14px var(--sans); cursor: pointer; }
/* The group link switch: just the words, and a question first. */
#surnames .surescape { margin: 12px 0 0; }
#surnames .surescape .link { display: inline; text-align: left; font-size: 14px; padding: 0; }
.surask { margin-top: 10px; padding: 12px; border-radius: 8px; background: var(--wash, #F5F7F9); }
.surask p { margin: 0 0 8px; }
.surask2 { display: flex; gap: 12px; align-items: center; }
#leadMsg { margin: 10px 0 0; }
#surnames .surescape { font-size: 14px; color: var(--muted, #596A6B); }
#surnames .surescape .link { white-space: nowrap; }

/* Birthday question: the chosen answer is unmistakable (Jamie, 10 Nov). */
.bdaybox .pill.bdaypill[aria-pressed="true"] { background: #1B272F !important; color: #fff !important; box-shadow: none !important; }
.bdaybox .bdaysaid { color: var(--ink, #14201F); font-weight: 500; }

/* The number as we'll dial it (Jamie, 10 Nov). */
.dialsays { margin: 4px 0 2px; font-size: 14px; color: var(--brand-dk, #24585A); font-weight: 600; }

/* After names: one "Add another person" button (Jamie, 10 Nov). */
.addmore { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.addmore[hidden] { display: none; }
.addmore .secondary { padding: 11px 16px; }
#addCard.started .links.fine { margin-top: 10px; }
.addmore { margin: 10px 0 4px; }

/* Ski services (Jamie, 10 Nov). */
.svc2 { border-top: 1px solid var(--line, #DBE2E5); padding: 12px 0; }
.svc2:first-child { border-top: 0; }
.svchead { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.svchead .sub { margin: 4px 0 0; }
.svchead .pr { color: var(--muted, #596A6B); font-weight: 600; }
.svcqty { display: flex; align-items: center; gap: 6px; flex: none; }
.svcwho { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--brand-tint, #E3EEF1); }

/* Guarantee information (Jamie, 10 Nov). */
.ginfobtn { background: none; border: 0; padding: 0; color: var(--brand, #2D6A6C); font: 600 14px var(--sans); text-decoration: underline; cursor: pointer; white-space: nowrap; }
.ginfobtn .ii { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; font: 700 12px/1 var(--sans); text-decoration: none; margin-right: 2px; }
.gvalue { margin: -2px 0 8px; font-size: 14px; color: var(--muted, #596A6B); }
.ginfosheet { max-width: 620px; }
.ginfosheet p, .ginfosheet li { font-size: 15px; line-height: 1.45; }
.ginfosheet .gsub { font-weight: 700; margin: 14px 0 4px; }
.ginfosheet ul { margin: 0 0 8px; padding-left: 20px; }
.gtable { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 15px; }
.gtable th, .gtable td { text-align: left; padding: 7px 4px; border-bottom: 1px solid var(--line, #DBE2E5); }
.gtable td:last-child, .gtable th:last-child { text-align: right; }
.ginfosheet .primary { width: 100%; margin-top: 12px; padding: 13px; }
.sheet .addname small { display: block; font-weight: 400; color: var(--muted, #596A6B); font-size: 13px; }
.gq { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.gq .pq { margin-bottom: 6px; }

/* Who's paying, the group link and the "Needs:" badge (Jamie, 10 Nov) */
#payPick .whobtns { margin-top: 6px; }
#sizesQ { margin-top: 14px; }
.note.linkpay { display: block; margin: 8px 0; }
.card.others p { margin: 6px 0; }
.linkcard input { width: 100%; margin-top: 8px; font-size: 14px; }
.linkcard .groupshare { gap: 8px; flex-wrap: wrap; }
.gapmsg { margin: 6px 0; }
.groupname .gtag { display: block; font-size: 12px; opacity: .75; font-weight: 400; }
.tickhint { margin: 0 0 6px; }
.skier .status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.discbox { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--mint, #E3EEF1); }
.discbox .eyebrow { margin: 0 0 6px; }
.discbox .trow { font-size: 14px; }
.discbox { background: #EEF4F3; }
.sumhead { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.sumprice { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sumprice s { opacity: .55; font-weight: 400; }

/* "Your days" grid (B1, 11 Nov) */
.daysgrid .dgrid { overflow-x: auto; margin-top: 8px; padding-bottom: 4px; }
.daysgrid .drow { display: grid; align-items: center; column-gap: 0; min-height: 52px; border-bottom: 1px solid var(--line); position: relative; }
.daysgrid .dhead { min-height: 38px; border-bottom: 1px solid var(--line-strong); }
.daysgrid .dday { text-align: center; line-height: 1.1; color: var(--muted); }
.daysgrid .dday small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.daysgrid .dday b { font-size: 14px; color: var(--ink); }
.daysgrid .dday.arrive b { color: var(--muted); }
.daysgrid .dwho { grid-column: 1; grid-row: 1; padding: 6px 8px 6px 0; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.daysgrid .dwho b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.daysgrid .dwho small { font-size: 11px; color: var(--muted); }
.daysgrid .dwho .linkish { align-self: flex-start; font-size: 12px; padding: 0; }
.daysgrid .dcell { grid-row: 1; height: 52px; border-left: 1px dashed var(--line); }
.daysgrid .dcell.pre { background: var(--wash); }
.daysgrid .dcell.arr { background-image: radial-gradient(circle at 50% 18%, var(--brand-dk) 3px, transparent 4px); }
.daysgrid .dbar { grid-row: 1; height: 30px; margin: 0 2px; border-radius: 15px; background: var(--brand-tint); border: 1.5px solid var(--brand);
  display: flex; align-items: center; justify-content: space-between; z-index: 1; min-width: 0; }
.daysgrid .dbar.own { background: var(--brand); }
.daysgrid .dbar.own .dlabel { color: #fff; }
.daysgrid .dlabel { font-size: 12px; font-weight: 600; color: var(--brand-dk); white-space: nowrap; overflow: hidden; }
.daysgrid .dpanel { padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.daysgrid .dkey { font-size: 12px; color: var(--muted); margin: 8px 0 0; display: flex; align-items: center; gap: 6px; }
.daysgrid .dkey i { display: inline-block; width: 12px; height: 12px; border-radius: 6px; }
.daysgrid .dkey .karr { width: 8px; height: 8px; background: var(--brand-dk); }
.daysgrid .dkey .kski { width: 20px; background: var(--brand-tint); border: 1.5px solid var(--brand); }
@media (max-width: 700px) { .daysgrid .dlabel { font-size: 11px; } }

/* "Check your booking" (B16, 11 Nov) */
.bsum { margin-bottom: 12px; }
.bsum .srows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 8px; }
.bsum .srow { display: grid; grid-template-columns: 1.1fr 1.6fr 1.3fr 1.6fr auto auto; gap: 10px; align-items: start; text-align: left; width: 100%;
  padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.bsum .srow:last-child { border-bottom: 0; }
.bsum .srow:hover { background: var(--wash); }
.bsum .srow:focus-visible { outline: 2px solid var(--brand-dk); outline-offset: -2px; }
.bsum .srow small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bsum .srow span { font-size: 14px; line-height: 1.3; }
.bsum .sprice { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bsum .sedit { font-size: 13px; color: var(--brand-dk); text-decoration: underline; white-space: nowrap; }
.bsum .sother { font-size: 14px; margin: 8px 0 0; }
.bsum .stotals { margin-top: 10px; }
@media (max-width: 600px) {
  .bsum .srow { grid-template-columns: 1fr auto; row-gap: 6px; }
  .bsum .swho { grid-column: 1; } .bsum .sprice { grid-column: 2; grid-row: 1; text-align: right; }
  .bsum .skit, .bsum .sdays, .bsum .ssize { grid-column: 1 / -1; }
  .bsum .sedit { grid-column: 1 / -1; }
}
.backpay { position: fixed; left: 50%; transform: translateX(-50%); top: 10px; z-index: 40; display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1.5px solid var(--brand); border-radius: 14px; padding: 8px 10px 8px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.12); font-size: 14px; }
.backpay[hidden] { display: none; }
.backpay .primary { margin: 0; min-height: 38px; padding: 6px 14px; }
.peaknote { margin: 6px 0 0; }

/* Same kit as someone else (Jamie, 11 Nov) */
.samekit2 { margin: 6px 0 10px; }
.samekit2 .samepick { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; margin: 0 0 6px; padding: 9px 12px; border: 1.5px solid var(--line, #cfdcda); border-radius: 11px; background: #fff; font: inherit; cursor: pointer; }
.samekit2 .samepick small { opacity: .75; }
#billFields .missing { border-color: #b4532a; box-shadow: 0 0 0 2px rgba(180, 83, 42, .18); }
#billFields .billneed { color: #b4532a; font-size: 12px; }
.dupnote { border-left: 3px solid #b4532a; }
.note.unitsaid { margin: 6px 0; }
/* Les Gets: a question, not an error (B19, 11 Nov) */
#lgGate { background: #F4F5F7; border-color: #9AA3AE; color: inherit; }
.shopnote b { display: block; margin-bottom: 2px; }
.shopnote a { color: inherit; }
.linkcard .covered { margin: 4px 0 8px; font-weight: 600; }
.resortbox { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #E3E6EA); }
.resortbox[hidden], .cofield[hidden] { display: none; }
#leadFields .resortbox, #leadFields .cofield, #leadFields .cobtn { grid-column: 1 / -1; justify-self: start; }
#leadFields .resortbox { justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
#leadFields .resortbox > p { grid-column: 1 / -1; }
@media (max-width: 560px) { #leadFields .resortbox { grid-template-columns: 1fr; } }
.note.shopnote { background: #F4F5F7; color: inherit; border-color: #D5DAE0; }

/* Small phones (B24, 11 Nov): nothing squashed or cut off, and every tap target at least 44px. */
.prow input[type="checkbox"] { width: 26px; height: 26px; margin: 9px; flex: none; }
.person .bin { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.upills .pill, #travel .pill { min-height: 44px; }
.skier .status { white-space: normal; max-width: none; text-align: right; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; background: var(--ink, #12302e); color: #fff;
  padding: 10px 16px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.2); font-size: 15px; max-width: calc(100vw - 32px); }
.toast .linkish { color: #fff; font-weight: 700; text-decoration: underline; min-height: 44px; }
.note.sizecheck { color: var(--ink); }
@media (max-width: 480px) {
  .person.closed .prow { flex-wrap: wrap; row-gap: 2px; }
  .person.closed .pline { flex: 1 1 calc(100% - 52px); order: 1; }
  .person.closed .prow > input[type="checkbox"] { order: 0; }
  .person.closed .pprice { order: 2; margin-left: 0; margin-right: auto; }
  .person.closed .linkish { order: 3; }
  .person.closed .bin { order: 4; }
  .skier .shead { flex-wrap: wrap; }
  .grid3 select { min-width: 0; width: 100%; }
}

/* Your days on phones: a plain list with a big Change button (Jamie, 11 Nov) */
.dlist .dplain { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dlist .dplain .dpwho { display: flex; justify-content: space-between; gap: 8px; font-size: 16px; }
.dlist .dplain p { margin: 4px 0; }
.dlist .dplain.own { border-left: 4px solid var(--brand); padding-left: 10px; }
.dlist .dchange { width: 100%; min-height: 48px; margin-top: 8px; }
.dlist .dpanel .grid3 { grid-template-columns: 1fr; }
.dlist .dpanel select { min-height: 48px; font-size: 16px; }

/* Thank you buttons (round 2, 11 Nov): phones hide nav-row primary buttons in favour of the bottom bar, but the Thank
   you page has no bottom bar, so "Send it again" and "Try again" vanished. Text sits in the middle of link buttons. */
#doneNav { flex-wrap: wrap; align-items: flex-start; }
#doneNav .primary { display: inline-flex; align-items: center; justify-content: center; }
#doneNav .btnlink { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; line-height: 1.2; }
@media all /* was (max-width: 900px): one layout at every width (Jamie, 12 Nov) */ {
  #doneNav { flex-direction: column; align-items: stretch; }
  #doneNav .primary, #doneNav .btnlink { display: flex; width: 100%; }
  #doneNav > * { flex: 0 0 auto; }   /* in a column the shared 260px basis became the button's height (round 6) */
}
.gapmsg { grid-column: 1 / -1; }

/* Check your booking (B1, Jamie 11 Nov): who booked, invoice, in resort, where, arriving; flags under each person. */
.bsum .binfo { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 6px 12px; margin: 0 0 10px; padding: 12px 14px; background: var(--wash); border-radius: 10px; font-size: 14px; }
.bsum .binfo dt { color: var(--muted); }
.bsum .binfo dd { margin: 0; overflow-wrap: anywhere; }
.bsum .sflag { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.bsum .sflag.warn { color: var(--amber); }
.bsum .sprice s { font-weight: 400; color: var(--muted); font-size: 13px; }

/* Small fixes (Jamie, 11 Nov, round 2). */
/* Name and email boxes wide enough on a laptop; the mobile row underneath. */
.lead #leadFields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lead #leadFields input { width: 100%; min-width: 0; }
@media (max-width: 640px) { .lead #leadFields { grid-template-columns: minmax(0, 1fr); } }
/* A focused choice gets a light ring; only a solid button with a tick means chosen. */
.pill:focus, .ynbtn:focus, .typetile:focus, .seg:focus, .bdaypill:focus { outline: none; }
.pill:focus-visible, .ynbtn:focus-visible, .typetile:focus-visible, .seg:focus-visible, .bdaypill:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 108, 109, .28); }
/* "Someone not on the list" and a teen's adult skis look chosen like the other choices. */
.pill.notski[aria-pressed="true"], .whobtns .pill[aria-pressed="true"] { background: #1B272F; color: #fff; border-color: #1B272F; }
/* Group link page: the welcome box sits clear of the dark title band; one Save button (the bottom bar). */
.member { margin-bottom: 20px; }
body.sizesonly #step4 .navrow #s4Next { display: none; }

/* Something went through (12 Nov). */
.okmsg{margin:0 0 10px;padding:10px 12px;border-radius:8px;background:#E3EEF1;color:#24585A;font-weight:600}

/* Large text on small phones (testers, 12 Nov): buttons grow with their words instead of cutting them off, the
   bottom bar's button shares the width, and the step names give way to numbers when there isn't room. */
.primary, .secondary { height: auto; min-height: 44px; padding-top: 8px; padding-bottom: 8px; line-height: 1.25; }
@media all /* was (max-width: 900px): one layout at every width (Jamie, 12 Nov) */ {
  .mbar .primary { min-width: 0; max-width: 58%; white-space: normal; }
  #mbarText { min-width: 0; }
  #mbarText small { overflow-wrap: anywhere; }
  #mbarText b { white-space: nowrap; }   /* the total never breaks in the middle (round 4) */
}
@media (max-width: 420px) {
  #stepNav button span, #stepNav .pay span { display: none; }
  #stepNav button[aria-current="step"] span { display: inline; }
}
.btnlink, .link, .groupname, .whobtns button { overflow-wrap: anywhere; }

/* Keyboard users can always see where they are (testers, 12 Nov): one focus ring for every control, above any
   rule that removed it. Only for keyboard focus (:focus-visible), so taps and clicks look as before. */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #2D6A6C !important; outline-offset: 2px !important;
}

/* The step buttons sit on the dark header: a light focus ring there (round 4: the teal one was too faint). */
#stepNav button:focus-visible { outline-color: #FFFFFF !important; }
.pickrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 4px}

.cancelpol{margin:14px 0 12px;padding:12px 14px;border-radius:10px;background:#F3F6F5;border:1px solid #DCE5E2}
.cancelpol ul{margin:6px 0 8px;padding-left:20px}
.cancelpol li{margin:3px 0}
.cancelpol .eyebrow{margin:0 0 4px}
/* The question over a set of choices is a plain heading, not a <legend> (the fieldset is named by aria-labelledby):
   Safari 17 lays a legend in a grid fieldset out at its narrowest width, one word per line, until something later
   makes it lay the page out again (Jamie and Abi's tests, 12 Nov). */
.qhead { width: 100%; flex-basis: 100%; margin: 0 0 10px; padding: 0; }
/* The "no news and offers" box: across the whole row, a normal-sized tick box beside its words (Jamie's test, 12 Nov). */
#leadFields .offers { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 0; }
.lead #leadFields .offers input { width: 20px; min-width: 20px; height: 20px; flex: none; margin-top: 2px; }
.lead #leadFields > p.sub { grid-column: 1 / -1; margin-top: 0; }   /* the leading-0 hint under the phone, not beside "We'll call" */

/* "Book a ski service": one quiet line until asked for (Jamie, 12 Nov). */
.services .svcopen { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.services .svcopen u { color: #2D6A6C; text-underline-offset: 3px; }

/* One layout at every width (Jamie, 12 Nov): testers found the phone layout far calmer than the laptop one, so laptops
   get it too. A single centred column, the basket under the page, and the bar at the bottom with the total and Next.
   These repeat book.css's phone rules (its "max-width: 900px" blocks) for every width. */
.wrap { max-width: 640px; }   /* the same column as the other steps */
.side { position: static; }
.mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.mbar[hidden] { display: none; }
.mbar-in { display: flex; align-items: center; gap: 12px; max-width: 608px; margin: 0 auto; }   /* lines up with the column */
#mbarText { flex: 1; display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
#mbarText b { font-size: 18px; font-weight: 700; color: var(--ink); }
.navrow .primary, .side #continue { display: none; }
.stepwrap, .wrap { padding-bottom: 110px; }
.resume .primary { display: inline-block !important; }
body.grouproute .mbar { display: none !important; }

/* Very narrow screens or large text (round 6: at 320px with 150% text the ski rows went one word per line, prices
   overlapped, and the landing wheel ran off the edge). In em, so it also applies when the phone's text size is bigger. */
@media (max-width: 22.5em) {
  .tier { flex-wrap: wrap; }
  .tiertext { flex: 1 1 calc(100% - 52px); }
  .tierprice { width: 100%; padding-left: 50px; text-align: left; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
  .lvart { display: none; }
  #flyRow { display: block; }
  #flyRow .field + .field { margin-top: 10px; }
  .phead { flex-wrap: wrap; }
}
/* The "Needs: …" badge never squeezes the name to one word per line (round 6): the name keeps at least half the row. */
.skier .sname, .sname { min-width: 50%; }
.skier .status, .status { min-width: 0; max-width: 50%; white-space: normal; overflow-wrap: break-word; text-align: right; }

/* Days table on laptops (Jamie, 12 Nov): a summary, changed with a clear Change button, no dragging. */
.daysgrid .dbar { justify-content: center; }
.daysgrid .dwho .dchg { align-self: flex-start; min-height: 32px; padding: 4px 14px; font-size: 13px; margin-top: 4px; }
.daysgrid .dpanel .dchange { margin-top: 8px; }
.daysgrid .dpanel .linkish + .dchange { margin-left: 16px; }
.arriveq { margin-top: 14px; } .arriveq .opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); } .arriveq .field { margin-top: 10px; }
/* Ski-days chips you can tap to choose which end to change (Jamie, 12 Nov). */
.calsteps li:has(.calstep) { padding: 0; }
.calsteps .calstep { width: 100%; min-height: 40px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: inherit; cursor: pointer; text-align: center; }
.calsteps .calstep small { display: block; font-size: 12px; font-weight: 600; }
.calsteps li.on { outline: 2px solid var(--brand); }
.calsteps .calstep:disabled { cursor: default; }

/* Matched to allmountainrental.com (Jamie, 12 Nov): its inky blue and logo teal, a bolder heading font and spaced
   capitals for small labels. Plus Jakarta Sans stands in until we have the website's heading font name. */
@font-face { font-family: "AMR Head"; font-weight: 700; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "AMR Head"; font-weight: 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); }
:root { --bg: #EDF1F3; --wash: #F5F7F9; --muted: #596A6B; --line: #DBE2E5; --line-strong: #C8D3D8; --title: "AMR Head", var(--sans); }
h1, .stepwrap > h1, .main > h1, .stepwrap h1, .main h1, .listhead h2 { font-family: var(--title); font-weight: 800; letter-spacing: -0.03em; }
.pq, .stepwrap .eyebrow, .main .eyebrow, .whoq { font-family: var(--title); font-weight: 700; letter-spacing: -0.01em; }
#payTitle, #addTitle { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #2D6A6C; }
.bar .brand { display: inline-flex; align-items: center; }
.bar .brand img { display: block; height: 34px; width: auto; }
/* A filled-in date box looks tappable (Jamie, 13 Nov: tap one to change just that date). */
.calsteps li.done:has(.calstep) { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.calsteps li.done .calstep:hover { background: var(--wash); }

/* Days summary: week label and countdown in a column on the right (Jamie, 13 Nov). */
.dayschip .dright { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.dayschip .dright .band { margin-left: 0; }
.dayschip .dright .togo { font: 700 16px var(--title, var(--sans)); color: var(--ink); white-space: nowrap; }

/* The trip bar's arrow is bigger, so it's clear it opens (Jamie, 13 Nov). */
.tripshort { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tripshort::after { content: "\25BE"; font-size: 22px; line-height: 1; color: var(--ink); flex: none; }
.tripsum.open .tripshort::after { content: "\25B4"; }
/* Ski categories and touring together under the three cards (13 Nov). */
.skimore { margin-top: 10px; }
.skimore p { margin: 6px 0; }
#servicesBox #svcOpen { margin: 4px 0 10px; }
.snowshoes a { color: #2D6A6C; font-weight: 600; }

/* The bank-page line under Save and finish later: a little stronger, it reassures (Jamie, 13 Nov) */
.fine.banksafe { font-weight: 600; color: var(--ink, #1B272F); }

/* The country code is never cut off ("UK +4") with very large text (Jamie, 14 Nov) */
.field.phone select { min-width: 6.4em; }

/* C2 French (Abi, 17 Nov): EN | FR switch, top right next to the logo; the steps stay on their own row */
.langsw { display: inline-flex; gap: 2px; margin-left: auto; order: 1; }
.bar-in .steps { order: 2; }
.langsw button { min-width: 0; padding: 4px 8px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: rgba(255,255,255,.8); font: 600 12px var(--sans); letter-spacing: .04em; border-radius: 4px; cursor: pointer; }
.langsw button[aria-pressed="true"] { background: var(--mint-lt); border-color: var(--mint-lt); color: #1B272F; }
.langsw button:focus-visible { outline: 2px solid var(--mint-lt); outline-offset: 2px; }
