/* ==========================================================================
   SELF DOC - booking page (/book). Builds on site.css (colours, buttons, nav).
   ========================================================================== */

.nav-links a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }

/* ---------- hero ---------- */
.bk-hero { position: relative; isolation: isolate; overflow: clip; padding: 40px 0 150px; background: linear-gradient(180deg, transparent, var(--bg-soft)); }
.bk-hero .b1 { width: 520px; height: 520px; top: -220px; right: -120px; }
.bk-hero .b2 { width: 380px; height: 380px; bottom: -160px; left: -140px; opacity: .45; }
.bk-hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.bk-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .3em; }
.bk-lead { font-size: 1.12rem; color: var(--text-2); max-width: 34em; margin-bottom: 26px; }
.bk-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bk-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-weight: 700; font-size: .88rem; }
.bk-chips svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* decorative calendar */
.bk-art { position: relative; justify-self: center; width: 270px; height: 250px; }
.cal { position: absolute; inset: 10px 0 0 10px; border-radius: 26px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: rotate(-5deg); overflow: hidden; animation: cal-float 7s ease-in-out infinite; }
.cal-head { height: 58px; background: var(--grad); }
.cal-rings { position: absolute; top: 12px; left: 0; right: 0; display: flex; justify-content: space-around; z-index: 1; }
.cal-rings i { width: 12px; height: 30px; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--brand) 55%, transparent); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; padding: 18px; }
.cal-grid i { aspect-ratio: 1; border-radius: 8px; background: var(--surface-2); }
.cal-grid i.pick { background: var(--grad); display: grid; place-items: center; transform: scale(1.35); box-shadow: 0 8px 18px -6px var(--glow); animation: pick-pulse 2.4s ease-in-out infinite; }
.cal-grid i.pick svg { width: 62%; fill: #fff; }
.cal-bubble { position: absolute; right: -24px; bottom: 6px; display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 700; font-size: .84rem; white-space: nowrap; animation: float-y 6s ease-in-out infinite; }
.cal-bubble svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--good); color: #fff; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cal-float { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes pick-pulse { 0%, 100% { box-shadow: 0 8px 18px -6px var(--glow); } 50% { box-shadow: 0 8px 18px -6px var(--glow), 0 0 0 6px color-mix(in srgb, var(--brand) 18%, transparent); } }

/* ---------- layout ---------- */
.bk-main { position: relative; margin-top: -110px; padding-bottom: 90px; }
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.bk-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 32px; padding: 30px 34px 34px; box-shadow: var(--shadow-lg); scroll-margin-top: 90px; }

/* ---------- progress steps ---------- */
.bk-steps { --progress: 0%; list-style: none; padding: 0 0 26px; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; border-bottom: 1px dashed var(--border); }
.bk-steps::before, .bk-steps::after { content: ''; position: absolute; top: 21px; left: 16.66%; height: 3px; border-radius: 3px; }
.bk-steps::before { right: 16.66%; background: var(--track); }
.bk-steps::after { width: calc(var(--progress) * .6668); background: var(--grad); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.bk-steps li { position: relative; z-index: 1; display: flex; justify-content: center; }
.bk-step { display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.bk-step:disabled { cursor: default; }
.bk-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--track); font-family: var(--display); font-weight: 800; font-size: 1.05rem; transition: all .35s cubic-bezier(.2, .8, .2, 1); }
.bk-dot svg { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bk-step-l { font-weight: 700; font-size: .86rem; text-align: center; }
.bk-steps li.current .bk-step { color: var(--text); }
.bk-steps li.current .bk-dot { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -8px var(--glow), 0 0 0 6px color-mix(in srgb, var(--brand) 14%, transparent); transform: scale(1.06); }
.bk-steps li.done .bk-step { color: var(--brand); }
.bk-steps li.done .bk-dot { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.bk-steps li.done .bk-dot b { display: none; }
.bk-steps li.done .bk-dot svg { display: block; }
.bk-steps li.done .bk-step:hover .bk-dot { transform: scale(1.08); }

/* ---------- panels ---------- */
.bk-panel { animation: panel-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateX(18px); } }
.bk-stepof { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.bk-panel h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: .25em; outline: none; }
.bk-sub { color: var(--text-2); margin-bottom: 22px; }
.bk-label { display: block; margin: 0 0 10px; font-family: var(--font); font-size: .9rem; font-weight: 800; letter-spacing: 0; color: var(--text); }
.bk-label em { font-style: normal; font-weight: 500; color: var(--muted); }
.bk-panel h3.bk-label { margin-top: 24px; }
.bk-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.bk-linked { display: flex; align-items: center; gap: 10px; margin: -6px 0 20px; padding: 12px 14px; border-radius: 16px; background: var(--brand-soft); color: var(--text); font-weight: 600; font-size: .92rem; }
.bk-linked svg { width: 22px; height: 22px; flex: none; color: var(--brand); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* reason tiles */
.bk-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.bk-reason, .bk-time, .bk-day { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bk-reason input, .bk-time input, .bk-day input { position: absolute; opacity: 0; pointer-events: none; }
.bk-reason { display: grid; align-content: start; gap: 3px; padding: 18px; min-height: 132px; border-radius: 20px; border: 2px solid var(--border); background: var(--surface); transition: transform .25s, border-color .25s, background .25s, box-shadow .25s; }
.bk-reason:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow); }
.bk-reason .bk-ic { width: 44px; height: 44px; margin-bottom: 10px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: background .25s, color .25s, transform .35s cubic-bezier(.2, .8, .2, 1); }
.bk-reason b { font-size: .98rem; line-height: 1.3; }
.bk-reason small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.bk-tick { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); transition: all .3s cubic-bezier(.2, .8, .2, 1); }
.bk-reason:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); box-shadow: 0 14px 28px -16px var(--glow); }
.bk-reason:has(input:checked) .bk-ic { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.06); }
.bk-reason:has(input:checked) .bk-tick { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; animation: tick-pop .35s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes tick-pop { from { transform: scale(.4); } }
.bk-reason:has(input:focus-visible), .bk-time:has(input:focus-visible), .bk-day:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }

/* text fields */
.bk-field { display: grid; gap: 0; align-content: start; }
.bk-field textarea, .bk-field input { width: 100%; }
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.bk-hint { margin-top: 7px; color: var(--muted); font-size: .82rem; }

/* day strip */
.bk-days-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.bk-days { flex: 1; min-width: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; padding: 6px 4px 12px; scrollbar-width: thin; }
.bk-day { flex: none; min-width: 82px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 12px 12px 11px; border-radius: 18px; border: 2px solid var(--border); background: var(--surface); text-align: center; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.bk-day:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.bk-day small { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.bk-day b { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; }
.bk-day span { font-size: .78rem; font-weight: 600; color: var(--text-2); }
.bk-day.any b svg { width: 30px; height: 30px; margin: 3px 0; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bk-day.any small { text-transform: none; letter-spacing: 0; }
.bk-day:has(input:checked) { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px var(--glow); transform: translateY(-2px); }
.bk-day:has(input:checked) small, .bk-day:has(input:checked) span { color: rgba(255, 255, 255, .88); }
.bk-scroll { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.bk-scroll:hover { border-color: var(--brand); color: var(--brand); }
.bk-scroll svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* time of day */
.bk-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-time { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; border: 2px solid var(--border); background: var(--surface); transition: border-color .2s, background .2s, transform .2s; }
.bk-time:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.bk-time .bk-ic { grid-row: span 2; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--sun) 28%, var(--surface)); color: color-mix(in srgb, var(--sun) 40%, var(--text)); }
.bk-time b { font-size: .96rem; }
.bk-time small { color: var(--muted); font-size: .8rem; }
.bk-time:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.bk-time:has(input:checked) .bk-ic { background: var(--grad); color: #fff; }

/* review */
.bk-review { border-radius: 20px; background: var(--surface-2); padding: 18px 20px; }
.bk-review h3 { font-family: var(--font); font-size: .9rem; font-weight: 800; letter-spacing: 0; margin-bottom: 8px; }
.bk-review dl { margin: 0; display: grid; }
.bk-review dl > div { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--border); }
.bk-review dl > div:first-child { border-top: 0; }
.bk-review dt { color: var(--muted); font-size: .85rem; font-weight: 700; }
.bk-review dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.bk-review .link-btn { font-size: .85rem; }

/* errors and actions */
.bk-error { margin: 18px 0 0; min-height: 0; color: var(--critical); font-weight: 700; font-size: .92rem; }
.bk-error.show { padding: 10px 14px; border-radius: 12px; background: var(--alert-bg); border: 1px solid var(--alert-border); animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.bk-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--border); }
.bk-actions #bk-next { margin-left: auto; }
.bk-actions .btn-ghost svg { width: 18px; height: 18px; }

/* ---------- request sent ---------- */
.bk-done { position: relative; text-align: center; padding: 18px 0 6px; outline: none; animation: panel-in .5s cubic-bezier(.2, .8, .2, 1); }
.bk-check { width: 96px; height: 96px; margin: 0 auto 14px; display: block; }
.bk-check circle { fill: color-mix(in srgb, var(--good) 14%, var(--surface)); stroke: var(--good); stroke-width: 4; stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw .7s ease-out forwards; }
.bk-check path { fill: none; stroke: var(--good); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .55s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk-burst { position: absolute; left: 50%; top: 66px; width: 0; height: 0; }
.bk-burst i { position: absolute; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--brand)); opacity: 0; animation: burst .9s .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.bk-burst i:nth-child(1) { --x: -90px; --y: -50px; --c: var(--brand); }
.bk-burst i:nth-child(2) { --x: 90px; --y: -46px; --c: var(--sun); border-radius: 50%; }
.bk-burst i:nth-child(3) { --x: -70px; --y: 40px; --c: var(--accent); }
.bk-burst i:nth-child(4) { --x: 76px; --y: 44px; --c: var(--good); border-radius: 50%; }
.bk-burst i:nth-child(5) { --x: -24px; --y: -82px; --c: var(--accent); border-radius: 50%; }
.bk-burst i:nth-child(6) { --x: 30px; --y: -80px; --c: var(--brand); }
.bk-burst i:nth-child(7) { --x: -112px; --y: -4px; --c: var(--sun); }
.bk-burst i:nth-child(8) { --x: 114px; --y: 0; --c: var(--accent); border-radius: 50%; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) scale(.4) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1) rotate(160deg); } }
.bk-done h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: .3em; }
.bk-done-text { color: var(--text-2); font-size: 1.05rem; max-width: 30em; margin: 0 auto 10px; }
.bk-done-ref { display: inline-block; margin: 0 0 6px; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 800; letter-spacing: .04em; }
.bk-done h3 { margin: 26px 0 14px; font-size: 1rem; }
.bk-next { list-style: none; padding: 0; margin: 0 auto; max-width: 420px; display: grid; gap: 0; text-align: left; }
.bk-next li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; }
.bk-next li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--border); }
.bk-next span { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.bk-next p { margin: 5px 0 0; font-weight: 600; }
.bk-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------- side column ---------- */
.bk-side { display: grid; gap: 16px; position: sticky; top: 92px; }
.bk-side h3 { font-family: var(--font); font-size: .95rem; font-weight: 800; letter-spacing: 0; margin-bottom: 10px; }

/* summary ticket with punched edges */
.bk-ticket { --notch: 13px; position: relative; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.bk-ticket-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--grad); color: #fff; }
.bk-ticket-head .brand-mark { width: 36px; height: 36px; background: rgba(255, 255, 255, .18); box-shadow: none; }
.bk-ticket-head .brand-mark svg { width: 19px; height: 19px; }
.bk-ticket-head b { font-family: var(--display); font-size: 1.15rem; }
.bk-ticket-body { margin: 0; padding: 14px 20px 16px; display: grid; gap: 12px; }
.bk-ticket-body dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-ticket-body dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; transition: color .3s; }
.bk-ticket-body dd.empty { color: var(--muted); font-weight: 500; font-style: italic; }
.bk-ticket-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 18px; border-top: 2px dashed var(--border); }
.bk-ticket-foot::before, .bk-ticket-foot::after { content: ''; position: absolute; top: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--border); }
.bk-ticket-foot::before { left: calc(var(--notch) * -1 - 1px); }
.bk-ticket-foot::after { right: calc(var(--notch) * -1 - 1px); }
.bk-barcode { width: 120px; height: 30px; opacity: .55; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 8px, var(--text) 8px 11px, transparent 11px 13px); }
.bk-ref { font-weight: 800; font-size: .85rem; letter-spacing: .06em; color: var(--brand); }

.bk-info, .bk-help { border-radius: 24px; background: var(--surface); border: 1px solid var(--border); padding: 20px; box-shadow: var(--shadow-sm); }
.bk-info-row { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; font-weight: 600; font-size: .93rem; }
.bk-info-row small { display: block; color: var(--muted); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.bk-info-row svg { width: 36px; height: 36px; padding: 8px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-directions { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--brand); text-decoration: none; }
.bk-directions:hover { text-decoration: underline; text-underline-offset: 3px; }
.bk-directions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bk-help { background: var(--grad-soft); }
.bk-help p { color: var(--text-2); font-size: .92rem; margin-bottom: 14px; }
.bk-help .btn svg { width: 16px; height: 16px; }
.bk-emergency { display: flex; gap: 12px; align-items: flex-start; border-radius: 24px; background: var(--alert-bg); border: 1px solid var(--alert-border); padding: 18px 20px; }
.bk-emergency > svg { width: 36px; height: 36px; padding: 8px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--critical) 16%, var(--surface)); color: var(--critical); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bk-emergency h3 { margin-bottom: 4px; }
.bk-emergency p { margin: 0; font-size: .88rem; color: var(--text-2); }

/* ---------- Sinhala and Tamil: longer words ---------- */
html:lang(si) .bk-hero h1, html:lang(ta) .bk-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
html:lang(ta) .bk-reason b, html:lang(ta) .bk-time b { font-size: .9rem; }
html:lang(si) .bk-stepof, html:lang(ta) .bk-stepof, html:lang(si) .bk-ticket-body dt, html:lang(ta) .bk-ticket-body dt { letter-spacing: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bk-layout { grid-template-columns: minmax(0, 1fr); }
  .bk-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-ticket { grid-row: span 2; }
}
@media (max-width: 900px) {
  .bk-hero-inner { grid-template-columns: 1fr; }
  .bk-art { display: none; }
  .bk-hero { padding: 26px 0 120px; }
}
@media (max-width: 680px) {
  .bk-card { padding: 22px 18px 20px; border-radius: 26px; }
  .bk-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bk-reason { min-height: 0; padding: 14px; }
  .bk-reason .bk-ic { width: 38px; height: 38px; margin-bottom: 6px; }
  .bk-times { grid-template-columns: 1fr; }
  .bk-fields { grid-template-columns: 1fr; }
  .bk-scroll { display: none; }
  .bk-days { margin: 0 -18px; padding: 6px 18px 12px; scroll-padding: 0 18px; }
  .bk-step-l { font-size: .74rem; }
  .bk-side { grid-template-columns: 1fr; }
  .bk-review dl > div { grid-template-columns: 1fr auto; }
  .bk-review dt { grid-column: 1 / -1; }
  /* keep Back / Continue within thumb reach */
  .bk-actions { position: sticky; bottom: 0; z-index: 5; margin: 20px -18px -20px; padding: 14px 18px; border-radius: 0 0 26px 26px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .bk-actions .btn-lg { padding: .9em 1.4em; }
}
@media (prefers-reduced-motion: reduce) {
  .cal, .cal-bubble, .cal-grid i.pick, .bk-panel, .bk-done, .bk-burst i, .bk-tick { animation: none !important; }
  .bk-check circle, .bk-check path { animation: none; stroke-dashoffset: 0; }
}
