/* Build-your-vacation page. Header, footer, buttons and colors come from /home/home.css. */
body.bk { background: linear-gradient(180deg, #f3fafb 0, #fbf6ec 100%); }

/* hero banner */
.bk-hero { position: relative; overflow: hidden; }
.bk-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; }
.bk-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.75) 40%, rgba(255,255,255,.15) 75%); }
.bk-hero-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 26px 18px 64px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.bk-hero h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.05; color: var(--navy); letter-spacing: -.02em; }
.bk-hero p { margin-top: 8px; font-size: clamp(1rem, 2vw, 1.2rem); color: var(--ink); max-width: 46ch; }
.badge { display: inline-grid; justify-items: center; text-align: center; color: #fff; background: var(--coral); padding: 14px 30px 16px; border-radius: 18px 26px 16px 28px; transform: rotate(-4deg); box-shadow: 0 10px 24px rgba(160,50,20,.35); font-style: italic; }
.badge .b1 { font-weight: 700; font-size: 1rem; }
.badge .b2 { font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.05; }
.badge .b2 strong { font-weight: 800; }
.badge .b3 { font-weight: 700; font-size: 1.05rem; }

/* layout */
.bk-grid { position: relative; z-index: 2; max-width: 1280px; margin: -44px auto 0; padding: 0 14px 40px; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .bk-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.status { min-height: 0; color: #a4262c; font-weight: 600; margin: 0 0 6px; } .status.ok { color: var(--teal-dark); }
.status:empty { display: none; }
.step { background: #fff; border-radius: 20px; box-shadow: 0 6px 22px rgba(11,58,79,.1); padding: 16px 18px 18px; margin-bottom: 16px; }
.step h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.2rem, 2.6vw, 1.55rem); color: var(--navy); margin-bottom: 12px; }
.step h2 small { font-weight: 500; color: var(--muted); font-size: .9em; }
.n { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--teal-dark); color: #fff; font-weight: 800; font-size: 1.15rem; }
.stephead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 10px; } .stephead h2 { margin-bottom: 0; }
.muted { color: var(--muted); font-size: .95rem; }

/* step 1 */
.row3 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .row3 { grid-template-columns: 1.3fr 1.2fr .9fr; } }
.field label, .field .lbl { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.hint { font-weight: 500; color: var(--muted); }
.field select { width: 100%; padding: 11px 12px; font: inherit; color: var(--ink); background: #fff; border: 2px solid #cfe0e8; border-radius: 12px; }
.nights { display: flex; gap: 14px; margin-top: 8px; font-size: .92rem; } .nights label { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ink); margin: 0; }
.stepper { display: inline-flex; align-items: stretch; border: 2px solid #cfe0e8; border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { width: 48px; font-size: 1.5rem; font-weight: 700; color: var(--teal-dark); background: #fff; border: 0; cursor: pointer; }
.stepper button:disabled { color: #b8c7cd; cursor: not-allowed; }
.stepper output { min-width: 56px; display: grid; place-items: center; font-size: 1.35rem; font-weight: 800; color: var(--navy); border-left: 2px solid #cfe0e8; border-right: 2px solid #cfe0e8; }

/* step 2 */
.home .pick { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) { .home .pick { grid-template-columns: 220px 1fr auto; } }
.home .pick img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; background: var(--mist); }
.home h3 { font-size: 1.3rem; color: var(--navy); }
.home .where { color: var(--muted); display: flex; gap: 6px; align-items: center; margin: 2px 0 8px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink); font-weight: 600; }
.specs span { display: inline-flex; align-items: center; gap: 6px; }
.specs svg, .where svg, .facts svg, .taxes svg { width: 20px; height: 20px; fill: none; stroke: var(--teal-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tag { display: inline-block; margin: 8px 6px 0 0; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--teal-dark); }
.tag.warn { background: #fff0d1; color: #6b4700; }
.btn.ghost:hover { background: var(--mist); }
.homelist { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 640px) { .homelist { grid-template-columns: 1fr 1fr; } }
.hcard { text-align: left; font: inherit; color: inherit; background: #fff; border: 2px solid #dcebf0; border-radius: 14px; overflow: hidden; cursor: pointer; padding: 0; }
.hcard[aria-checked=true] { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18,161,166,.25); }
.hcard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--mist); }
.hcard div { padding: 10px 12px 12px; } .hcard b { color: var(--navy); display: block; } .hcard small { color: var(--muted); }

/* step 3 */
.pkgs { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .pkgs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .pkgs { grid-template-columns: repeat(6, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid #e3eef1; border-radius: 16px; overflow: hidden; }
.pcard.on { border-color: var(--teal); background: #effafa; box-shadow: 0 0 0 3px rgba(18,161,166,.25); }
.pselect { position: relative; flex: 1; text-align: center; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0 0 10px; }
.pselect img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--mist); }
.pselect b { display: block; color: var(--navy); font-size: 1.02rem; margin: 8px 8px 2px; }
.pselect small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.3; padding: 0 8px; }
.pselect .check { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-dark); display: none; place-items: center; box-shadow: 0 0 0 3px #fff; }
.pselect .check svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; }
.pcard.on .check { display: grid; }
.pinfo { margin: 0 10px 10px; padding: 7px 8px; font: inherit; font-size: .85rem; font-weight: 700; color: var(--teal-dark); background: #fff; border: 2px solid #bfe3e5; border-radius: 999px; cursor: pointer; }
.pinfo:hover { background: var(--mist); }

/* package details dialog */
.pkgdlg { margin: auto; width: min(640px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 22px; box-shadow: 0 24px 60px rgba(11,58,79,.35); overflow: auto; }
.pkgdlg::backdrop { background: rgba(11,58,79,.55); }
.pd-media { position: relative; } .pd-media img { width: 100%; aspect-ratio: 16/7; object-fit: cover; display: block; }
.pd-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--navy); }
.pd-body { padding: 16px 22px 22px; }
.pd-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--teal-dark); }
.pd-body h2 { font-size: 1.7rem; color: var(--navy); }
.pd-desc { color: var(--ink); margin: 4px 0 12px; }
.pd-body h3 { font-size: 1.05rem; color: var(--navy); margin: 14px 0 8px; }
.pd-always { display: grid; gap: 6px; } .pd-always li { display: flex; gap: 8px; align-items: center; color: var(--ink); }
.pd-always svg { width: 18px; height: 18px; fill: none; stroke: #1d8a4a; stroke-width: 3; flex: none; }
.pd-sched { display: grid; gap: 10px; }
.pd-sched li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #f3fafb; border: 1px solid #dcebf0; }
.pd-sched .when b { display: block; color: var(--navy); } .pd-sched .when span { color: var(--teal-dark); font-weight: 700; }
.pd-sched .what b { color: var(--navy); } .pd-sched .dur { margin-left: 8px; font-size: .85rem; color: var(--muted); }
.pd-sched .what p { margin-top: 2px; font-size: .92rem; color: var(--ink); } .pd-sched .fit { color: #8a5a00 !important; font-weight: 600; }
.pd-note { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; } .pd-actions .btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.pd-actions .btn:disabled { background: #9bb3bc; cursor: default; }
.pd-actions .btn.ghost { border: 2px solid #bfe3e5; }
@media (max-width: 480px) { .pd-sched li { grid-template-columns: 1fr; gap: 4px; } }

/* step 4: no individual prices, by design */
.extras { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .extras { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .extras { grid-template-columns: repeat(5, 1fr); } }
.xcard { display: block; position: relative; background: #fff; border: 2px solid #e3eef1; border-radius: 14px; overflow: hidden; cursor: pointer; }
.xcard:has(input:checked) { border-color: var(--teal); background: #effafa; }
.xcard .art { display: grid; place-items: center; aspect-ratio: 16/10; background: linear-gradient(135deg, #dff3f4, #fbefe0); }
.xcard .art img { width: 100%; height: 100%; object-fit: cover; }
.xcard .art svg { width: 46px; height: 46px; fill: none; stroke: var(--teal-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xcard .xrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.xcard input { width: 22px; height: 22px; accent-color: var(--teal-dark); flex: none; }

/* summary */
.summary { background: #fff; border-radius: 22px; box-shadow: 0 10px 30px rgba(11,58,79,.16); overflow: hidden; }
@media (min-width: 1000px) { .summary { position: sticky; top: 86px; } }
.sum-head { background: linear-gradient(135deg, #12a1a6, #0d7f86); padding: 16px 20px; }
.sum-head h2 { color: #fff; font-size: 1.6rem; }
.sum-body { padding: 14px 20px 20px; }
.facts { display: grid; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #e3eef1; }
.facts li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; }
.facts .edit { margin-left: auto; color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.line { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e3eef1; color: var(--ink); }
.line strong { display: block; font-size: 1.3rem; color: var(--navy); }
.line b { font-size: 1.3rem; color: var(--navy); }
.line.small b { font-size: 1.1rem; }
.total { display: flex; justify-content: space-between; align-items: center; margin: 12px -6px 6px; padding: 12px 14px; border-radius: 14px; background: #dff3f4; color: var(--navy); font-weight: 800; }
.total span { font-size: 1.15rem; } .total b { font-size: clamp(1.8rem, 4vw, 2.2rem); }
.affirm { text-align: center; color: var(--ink); font-weight: 600; margin: 6px 0; }
.taxes { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); font-weight: 600; margin-bottom: 12px; }
.taxes svg { stroke: #1d8a4a; stroke-width: 3; }
.emailbox label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.emailbox input { width: 100%; padding: 11px 12px; font: inherit; border: 2px solid #cfe0e8; border-radius: 12px; margin-bottom: 10px; }
.btn.pay { display: block; width: 100%; text-align: center; border: 0; font: inherit; font-weight: 700; font-size: 1.15rem; cursor: pointer; }
.btn.pay:disabled { background: #9bb3bc; cursor: not-allowed; }

/* phones: a slim total bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--navy); color: #fff; box-shadow: 0 -6px 18px rgba(0,0,0,.18); }
.mbar b { font-size: 1.25rem; margin-left: 6px; }
@media (min-width: 1000px) { .mbar { display: none !important; } }
@media (max-width: 999px) { body.bk { padding-bottom: 64px; } }


/* home details link, list rows */
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--teal-dark); text-decoration: underline; cursor: pointer; }
.home .pick p { margin-top: 8px; }
.hrow { display: flex; align-items: center; gap: 10px; } .hrow .hcard { flex: 1; min-width: 0; } .hrow .link-btn { flex: none; padding: 6px; }
/* review step */
.rv-x { top: 12px; right: 12px; background: #eef5f7; }
#reviewDialog .pd-body { position: relative; padding-top: 22px; }
.rv-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 12px 0 14px; padding: 14px; border-radius: 14px; background: #f3fafb; border: 1px solid #dcebf0; }
.rv-list dt { font-weight: 700; color: var(--navy); } .rv-list dd { margin: 0; color: var(--ink); }
@media (max-width: 480px) { .rv-list { grid-template-columns: 1fr; gap: 2px; } .rv-list dd { margin-bottom: 8px; } }
.rv-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; color: var(--navy); font-weight: 800; }
.rv-total b { font-size: 1.6rem; }
.rv-fine { color: var(--muted); font-size: .92rem; margin: 4px 0 14px; }
#reviewDialog .status:empty { display: none; }

/* referral code at review */
.rv-ref { margin: 0 0 14px; }
.rv-ref summary { cursor: pointer; color: var(--teal-dark); font-weight: 700; font-size: .95rem; }
.rv-ref-row { display: flex; gap: 8px; margin-top: 8px; }
.rv-ref-row input { flex: 1; min-width: 0; padding: 9px 12px; font: inherit; text-transform: uppercase; border: 2px solid #cfe0e8; border-radius: 12px; }
.rv-ref-row .btn { border: 2px solid #bfe3e5; font: inherit; font-weight: 700; cursor: pointer; }
.rv-ref-note { font-size: .9rem; color: #1d7a45; font-weight: 600; margin-top: 6px; }
.rv-ref-note:empty { display: none; }
.badge .b4 { font-weight: 700; font-size: .95rem; margin-top: 4px; background: #fff; color: var(--coral-dark); border-radius: 999px; padding: 2px 10px; font-style: normal; }

/* checkout money lines, referral savings, reservation fee */
.summary .save b, .rv-money .save dd { color: #1d7a45; }
.rv-money { display: grid; gap: 6px; margin: 4px 0 6px; }
.rv-money > div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.rv-money dt { font-weight: 600; } .rv-money dd { margin: 0; font-weight: 700; }
.rv-money .save dt { color: #1d7a45; }
.rv-money .rv-due { border-top: 2px solid #dcebf0; padding-top: 8px; font-size: 1.15rem; color: var(--navy); font-weight: 800; }
.rv-money .rv-due dd { font-size: 1.5rem; font-weight: 800; }
.rv-ref-note.bad { color: #a3261a; }
.rv-ref-row input:disabled { background: #f3fafb; color: var(--navy); font-weight: 700; }
.rv-fee { background: #fff8ec; border: 1px solid #f0d9b0; border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; font-size: .92rem; color: var(--ink); }
.rv-fee h3 { font-size: 1rem; color: var(--navy); margin: 0 0 4px; }
.rv-fee p + p { margin-top: 6px; }
.rv-agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 10px; font-size: .95rem; }
.rv-agree input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--teal-dark); }

/* Unavailable packages and extras */
.pcard.off { opacity: .55; } .pcard.off .pselect { cursor: not-allowed; }
.xcard.off { opacity: .55; } .xcard .xrow small { display: block; color: #a4262c; font-size: .78rem; font-weight: 600; }

/* Step 4: the group itinerary */
.plan-tools { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 4px 0 8px; }
.plan-stats { font-weight: 700; color: var(--navy); }
.plan-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 0 0 10px; font-size: .82rem; color: var(--muted); }
.plan-msg { min-height: 1.3em; font-weight: 600; color: var(--teal-dark); margin-bottom: 6px; }
.plan-fine { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.pb { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; vertical-align: 1px; white-space: nowrap; }
.pb.paid { background: #e2f3f4; color: var(--teal-dark); } .pb.up { background: #fde7dc; color: #a43c12; }
.pb.free { background: #e6f5e9; color: #1d6b34; } .pb.low { background: #eef0fb; color: #3a4593; } .pb.meal { background: #fff3dc; color: #8a5a00; }
.pday { border: 2px solid #e3eef1; border-radius: 14px; margin-bottom: 8px; background: #fff; }
.pday > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.pday > summary::-webkit-details-marker { display: none; }
.pday > summary::before { content: "\203A"; font-weight: 800; color: var(--teal-dark); transition: transform .15s; display: inline-block; }
.pday[open] > summary::before { transform: rotate(90deg); }
.pday > summary b { color: var(--navy); } .pday > summary span { color: var(--ink); } .pday > summary small { margin-left: auto; color: var(--muted); }
.pday ul { list-style: none; padding: 0 14px 6px; margin: 0; }
.pe { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid #edf3f5; }
.pe .pt { font-weight: 700; color: var(--navy); font-size: .88rem; font-variant-numeric: tabular-nums; }
.pe .pm b { color: var(--navy); } .pe .pm small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.pe .pa { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-top: 6px; }
.pe .pa select { font: inherit; font-size: .85rem; padding: 4px 6px; border: 2px solid #cfe0e8; border-radius: 8px; background: #fff; color: var(--ink); max-width: 100%; }
.pe .pa .link-btn { font-size: .85rem; }
.pe.t-dinner .pm b::before { content: "\1F37D\FE0F  "; }
.pe.t-checkin, .pe.t-checkout { opacity: .85; }
.pe.bad { background: #fff1ee; border-radius: 8px; padding-left: 6px; }
.perr { color: #a4262c !important; font-weight: 700; }
.pday-add { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 12px; }
.pickdlg { max-width: 560px; }
.pk-list h3 { font-size: 1rem; color: var(--navy); margin: 14px 0 6px; }
.pk-opt { display: block; width: 100%; text-align: left; font: inherit; background: #fff; border: 2px solid #e3eef1; border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; cursor: pointer; color: var(--ink); }
.pk-opt:hover:not(:disabled) { border-color: var(--teal); } .pk-opt:disabled { opacity: .55; cursor: not-allowed; }
.pk-opt b { color: var(--navy); display: block; } .pk-opt small { display: block; color: var(--muted); font-size: .82rem; }
.pk-opt.up b::after { content: " \2191"; color: #a43c12; }
@media (max-width: 560px) { .pe { grid-template-columns: 1fr; gap: 2px; } }

/* ===== v2: six-step builder ===== */
body.bk { background: #f6fbfc; }
.bk-hero-img { object-position: 70% 50%; }
.bk-hero-inner { padding: 22px 18px 26px; }
.badge { transform: none; border-radius: 18px; font-style: normal; background: #fff; color: var(--navy); box-shadow: 0 8px 22px rgba(11,58,79,.18); padding: 10px 22px; }
.badge .b2 { color: var(--teal-dark); }
.wiz { background: #fff; border-bottom: 1px solid #e1edf0; position: sticky; top: 64px; z-index: 8; }
.wiz ol { list-style: none; max-width: 1280px; margin: 0 auto; padding: 8px 10px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.wiz li { flex: 1 0 auto; display: flex; align-items: center; }
.wiz li + li::before { content: ""; flex: 1; min-width: 10px; height: 2px; background: #d6e7ea; margin: 0 6px; }
.wiz button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: .9rem; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 6px 12px 6px 6px; cursor: pointer; white-space: nowrap; }
.wiz button:disabled { cursor: not-allowed; opacity: .6; }
.wiz .wn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #c8dde2; background: #fff; color: var(--muted); font-weight: 800; }
.wiz button.done .wn { background: #1d9a5b; border-color: #1d9a5b; color: #fff; font-size: 0; }
.wiz button.done .wn::before { content: "✓"; font-size: 1rem; }
.wiz button.done { color: var(--navy); }
.wiz button[aria-current="step"] { background: var(--teal-dark); color: #fff; }
.wiz button[aria-current="step"] .wn { background: #fff; border-color: #fff; color: var(--teal-dark); }
@media (max-width: 760px) { .wiz .wl { display: none; } .wiz button[aria-current="step"] .wl { display: inline; } .wiz { top: 0; } }
.bk-grid { margin-top: 18px; }
.step { border: 1px solid #e1edf0; }
.sof { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 2px; }
.stepnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e8f1f3; }
.stepnav .btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.stepnav .btn.ghost { border: 2px solid var(--teal); }
.groupnote { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: var(--muted); font-size: .95rem; }
.groupnote svg, .groupbox svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--teal-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.groupbox { display: flex; gap: 12px; align-items: flex-start; background: #eaf7f7; border: 1px solid #c9ebeb; border-radius: 14px; padding: 12px 14px; margin: 6px 0 10px; }
.groupbox p { color: var(--ink); font-size: .95rem; } .groupbox b { display: block; color: var(--navy); font-size: 1.05rem; }
.home .chosen { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #1d7a45; background: #e6f6ec; border-radius: 999px; padding: 6px 12px; }
.home .chosen svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; }

/* summary: teal total card */
.sum-head { padding: 16px 20px 14px; text-align: center; }
.sum-head h2 { font-size: 1.35rem; }
.sum-sub { color: #dff6f5; font-size: .92rem; font-weight: 600; }
.sum-big b { display: block; color: #fff; font-size: clamp(2.3rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 2px 0; }
.facts .edit { margin-left: auto; font-size: .9rem; }
.sum-incl { padding: 10px 0 4px; border-bottom: 1px solid #e3eef1; }
.sum-incl li { font-size: .9rem; }
.sum-incl:empty { display: none; }
.confidence { margin-top: 10px; font-size: .88rem; color: var(--muted); text-align: center; } .confidence b { color: var(--navy); }
.total { font-size: .95rem; } .total b { font-size: 1.5rem; }

/* step 4: day tabs, then morning / afternoon / evening */
.plan-legend .chip { margin-right: 4px; }
.daytabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.dtab { flex: 0 0 auto; min-width: 104px; max-width: 150px; display: flex; flex-direction: column; align-items: center; gap: 1px; font: inherit; background: #fff; border: 2px solid #dcebf0; border-radius: 12px; padding: 7px 8px; cursor: pointer; color: var(--navy); }
.dtab span { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dtab[aria-selected="true"] { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; } .dtab[aria-selected="true"] span { color: #dff6f5; }
.dtab.bad { border-color: #e0786a; }
.daypanel { border: 1px solid #dcebf0; border-radius: 16px; padding: 12px; background: #fbfefe; }
.dayhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.dayhead h3 { color: var(--navy); font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
.daynav { display: flex; gap: 6px; } .daynav .btn { padding: 4px 14px; font-size: 1.2rem; line-height: 1; border: 2px solid var(--teal); cursor: pointer; } .daynav .btn:disabled { opacity: .4; cursor: default; }
.parts { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .parts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1240px) { .parts { grid-template-columns: repeat(4, 1fr); } }
.part { background: #fff; border: 1px solid #dcebf0; border-radius: 14px; overflow: hidden; }
.part h4 { display: flex; align-items: center; gap: 8px; background: #e6f6f6; color: var(--navy); font-size: 1rem; padding: 8px 12px; }
.part .pi svg { width: 20px; height: 20px; fill: none; stroke: var(--teal-dark); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; display: block; }
.part ul { list-style: none; padding: 4px 10px 8px; margin: 0; }
.part .empty { padding: 10px 12px; font-style: italic; }
.p-options { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; background: #fffaf3; }
.p-options h4 { background: #fdeedd; }
.p-options p, .p-options .btn { margin: 0 10px; }
.p-options .btn { border: 2px solid var(--teal); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; text-align: center; }
.ec { padding: 9px 0; border-bottom: 1px solid #edf3f5; display: flex; flex-direction: column; gap: 3px; }
.ec:last-child { border-bottom: 0; }
.ec-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; }
.ec-time { font-weight: 700; color: var(--muted); font-size: .82rem; }
.ec-title { color: var(--navy); font-size: .98rem; line-height: 1.25; }
.ec small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.ec-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ec-acts .act { font: inherit; font-size: .8rem; font-weight: 700; color: var(--teal-dark); background: #fff; border: 1.5px solid #bfe3e5; border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.ec-acts .act:hover { background: #eef8f8; }
.ec-acts select { font: inherit; font-size: .8rem; padding: 3px 6px; border: 1.5px solid #bfe3e5; border-radius: 999px; background: #fff; color: var(--ink); max-width: 100%; }
.ec.bad { background: #fff1ee; border-radius: 8px; padding-left: 6px; }
.ec.t-meal .ec-title, .ec.t-checkin .ec-title, .ec.t-checkout .ec-title { font-weight: 600; }
.daysum { margin-top: 10px; background: #eef8f8; border-radius: 12px; padding: 8px 12px; font-size: .88rem; color: var(--ink); }
.xsec { margin-top: 20px; padding-top: 14px; border-top: 1px solid #e8f1f3; }
.xsec h3 { color: var(--navy); font-size: 1.2rem; } .xsec h3 small { font-weight: 500; color: var(--muted); }
.xsec .muted { margin-bottom: 10px; }

/* steps 5 and 6 */
.rv-h { color: var(--navy); font-size: 1.1rem; margin: 6px 0; }
.rv-days { list-style: none; display: grid; gap: 6px; margin: 0 0 14px; padding: 0; }
.rv-days li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; background: #f6fbfc; border: 1px solid #e1edf0; border-radius: 12px; padding: 8px 12px; }
.rv-days b { color: var(--navy); } .rv-days span { grid-column: 1; color: var(--muted); font-size: .88rem; } .rv-days .link-btn { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.simnote { background: #fff4d6; border: 1px solid #f2d27c; border-radius: 12px; padding: 10px 14px; margin: 6px 0 14px; color: #5b4300; }
/* keep wide rows (the day tabs) from stretching the page on phones */
.bk-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .bk-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.bk-steps, .step, .daypanel, .parts, .part { min-width: 0; }
.p-options .btn { color: var(--teal-dark); background: #fff; white-space: normal; }
