/* ═══════════════════════════════════════════════════════════════════════════
   lane-act.css: the Act lane family (docs/plans/desktop/slice.md, unit C).

   Pages: desktop/pages/Booking.php (.page-booking, classes lf-bk-*) and
   Sign-In.php / Create-Account.php (.page-sign-in, .page-create-account,
   .lf-au-page) with the shared steps of desktop/partials/auth-steps.php
   (.lf-au, classes lf-au-*). Everything is composed from the kit (k-); this
   sheet only lays the parts out for the lane and adds what the kit lacks:
     lf-bk-*   the booking lane: two columns when the lane is wide (choices,
               then the total and its lines in a sticky corner), one when it
               is narrow (the corner at the end of the form, in the flow, and a
               compact total line in the head's first row, kept in view);
               the hourly range chips, segments, the policy, add-on rows, the
               inline RT.Calendar (.rtcal-inline), the address fields
     lf-au-*   the sign-in / sign-up steps: the path, the grid, the role cards,
               the QR hand-off, the standalone hero beside its card
   Every selector starts .desktop-surface and a page or partial root, so
   nothing reaches another lane. Fluid: container queries on `lane`, no
   viewport media query (prefers-reduced-motion is the one exception).
   Soehne has no weight axis: emphasis swaps the family.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ─── 1. The booking lane: frame ─────────────────────────────────────────── */

.desktop-surface .page-booking {
    display: grid;
    gap: var(--space-lg);
    align-content: start;
    min-width: 0;
    max-width: 100rem;
    margin-inline: auto;
}

.desktop-surface .page-booking[data-act-empty] { align-content: center; min-height: 60%; }

/* The head: the way back first, at the top left (back is always to the left), then the title. */
.desktop-surface .page-booking .lf-bk-head { display: grid; justify-items: start; gap: var(--space-sm); min-width: 0; }
.desktop-surface .page-booking .lf-bk-head-text { display: grid; gap: 0.25rem; width: 100%; min-width: 0; }
.desktop-surface .page-booking .lf-bk-back { flex: none; margin-left: -0.35rem; }

/* The head's first row: the way back, and (a narrow lane) the compact total line beside it */
.desktop-surface .page-booking .lf-bk-bar {
    justify-self: stretch;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xs) var(--space-md);
    min-width: 0;
}

.desktop-surface .page-booking .lf-bk-topline {
    display: flex;
    align-items: baseline;
    gap: 0.45em;
    margin: 0 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

.desktop-surface .page-booking .lf-bk-topline-label { font-size: var(--type-meta); color: var(--text-soft); }
.desktop-surface .page-booking .lf-bk-topline-figure {
    font-family: var(--font-head);
    font-size: var(--type-section);
    letter-spacing: var(--track-snug);
    color: var(--text);
}
.desktop-surface .page-booking .lf-bk-topline-figure small { margin-left: 0.25em; font-family: var(--font-head); font-size: var(--type-meta); letter-spacing: 0; color: var(--text-soft); }

/* Sent: the head's total line has said its piece (the sent state carries the total) */
.desktop-surface .page-booking:has([data-act-done]:not([hidden])) .lf-bk-topline { display: none; }

/* The stage draws its own back chip on this lane when everything left of it is tucked away
   (app.js renderBack marks the lane data-back): one way back, never two. */
.desktop-surface .lane[data-back] > .lane-body .page-booking .lf-bk-back { display: none; }
.desktop-surface .page-booking .lf-bk-title { font-size: clamp(1.9rem, 1.2rem + 2.4cqi, calc(3.25rem + 4 * var(--up))); }
.desktop-surface .page-booking .lf-bk-about {
    font-size: var(--type-body);
    color: var(--text-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* One column in a narrow lane: the choices, then the total, its lines, the gate or the note
   to the Keeper and the button at the end, IN THE FLOW (the kit puts its corner first; the
   booking form reads top down). Nothing is pinned over the form: the old foot strip covered
   rows (Add-ons) mid-scroll at a 900 window. What stays in view is the head's first row, the
   way back and the compact total line, held at the top of the lane; a control brought into view
   stops below it (scroll padding), so it covers nothing. */
.desktop-surface .page-booking .lf-bk-corner { order: 1; }


/* The head lends its rows to the page (no box of its own), so the bar's sticky range is the
   whole form, not the head's few lines */
.desktop-surface .page-booking .lf-bk-head { display: contents; }
.desktop-surface .page-booking .lf-bk-head-text { margin-top: calc(var(--space-sm) - var(--space-lg)); }

/* A SOLID band the full width of the lane, held at the lane's top edge, with a hairline under it:
   rows scrolling under it are covered whole, never seen through it or sliced at rounded ends
   (fixer Z, item 6). Its colour is the lane's glass made opaque. */
.desktop-surface .page-booking .lf-bk-bar {
    position: sticky;
    top: calc(-1 * var(--lane-pad-now, 0px));   /* sticky measures from the padding edge: flush with the lane's top */
    z-index: 3;
    margin-inline: calc(-1 * var(--lane-pad-now, var(--space-md)));
    padding: 0.55rem var(--lane-pad-now, var(--space-md));
    border-radius: 0;
    background: color-mix(in srgb, var(--surface-2) 72%, var(--surface));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 0.6rem 1rem -0.9rem rgba(21, 56, 105, 0.35);
}

.desktop-surface .lane-body:has(> .page-booking) { scroll-padding-top: 4.25rem; }

/* Two columns of comparable weight once the lane can spare 18rem for the corner (a 1440
   window): the choices on the left, the money and the one button on the right, sticky. The
   corner's total is always beside the form there, so the head's line steps aside. */
@container lane (width >= 44rem) {
    .desktop-surface .page-booking .lf-bk-split {
        grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 1fr);
        gap: var(--space-lg) clamp(1rem, 2.5cqi, 3rem);
    }

    .desktop-surface .page-booking .lf-bk-corner {
        order: 0;
        position: sticky;
        top: 0;
    }

    .desktop-surface .page-booking .lf-bk-topline { display: none; }
    .desktop-surface .page-booking .lf-bk-head { display: grid; }
    .desktop-surface .page-booking .lf-bk-head-text { margin-top: 0; }

    .desktop-surface .page-booking .lf-bk-bar {
        position: static;
        margin: 0;
        padding: 0;
        border-radius: 0;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        outline: 0;
        border-bottom: 0;
        box-shadow: none;
    }
}

/* Very wide: the choices tile instead of stretching into long empty rows. The
   date strip, option sets, the fulfilment cards and add-ons keep a full row. */
@container lane (width >= 78rem) {
    .desktop-surface .page-booking .k-picks {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
        grid-auto-flow: row dense;   /* a half-row pick (party, cancellation) fills the gap beside another */
        column-gap: var(--space-xl);
        align-items: start;
    }

    .desktop-surface .page-booking .k-picks > :is([data-act-pick="date"], [data-act-pick="option"], [data-act-pick="fulfilment"], [data-act-pick="addons"], .lf-bk-where-host) {
        grid-column: 1 / -1;
    }

    .desktop-surface .page-booking .k-pick + .k-pick { border-top: 0; padding-top: 0; }
    .desktop-surface .page-booking .k-pick {
        padding: var(--space-md) var(--space-lg) var(--space-lg);
        border-radius: var(--r-ctl);
        background: rgba(255, 255, 255, 0.55);
    }
}

.desktop-surface .page-booking .k-pick-title { font-size: clamp(1.15rem, 1rem + 0.5cqi, calc(1.45rem + var(--up))); }
.desktop-surface .page-booking .k-pick[hidden] { display: none; }

/* A missing choice: a pink hint beside the control, a short pulse when the button points at it. */
.desktop-surface .page-booking .lf-bk-need {
    display: flex;
    align-items: center;
    gap: 0.4em;
    color: var(--ink-pink);
    font-family: var(--font-head);
}

.desktop-surface .page-booking .lf-bk-need::before {
    content: "";
    flex: none;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: var(--rt-pink);
}

.desktop-surface .page-booking .lf-bk-need--corner { color: var(--text-soft); font-family: var(--font-text); justify-content: center; text-align: center; }
.desktop-surface .page-booking .lf-bk-need--corner::before { display: none; }

.desktop-surface .page-booking .lf-bk-flash { animation: lf-bk-flash 900ms var(--ease-out); }

@keyframes lf-bk-flash {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    30%      { box-shadow: 0 0 0 4px rgba(235, 93, 143, 0.35); }
}

.desktop-surface .page-booking .k-pick.lf-bk-flash { border-radius: var(--r-ctl); }


/* ─── 2. The choices ─────────────────────────────────────────────────────── */

/* The 7-day strip and the calendar door: two rows of four, one row of eight when the pick has room. */
.desktop-surface .page-booking [data-act-pick="date"] { container: lf-bk-date / inline-size; }
.desktop-surface .page-booking .lf-bk-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@container lf-bk-date (width >= 34rem) {
    .desktop-surface .page-booking .lf-bk-days { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
/* A closed day reads as closed and still reads (text-soft on white is 7:1): no fade, a grey ring. */
.desktop-surface .page-booking .k-day:disabled { opacity: 1; cursor: not-allowed; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 2px rgba(30, 40, 53, 0.14); color: var(--text-soft); }
.desktop-surface .page-booking .k-day:disabled .k-day-date { text-decoration: line-through; text-decoration-thickness: 1px; }
.desktop-surface .page-booking .lf-bk-calday { box-shadow: inset 0 0 0 2px var(--rt-purple-dk); }
.desktop-surface .page-booking .lf-bk-calday[aria-expanded="true"]:not([aria-pressed="true"]) { background: var(--rt-purple-slt), #fff; }
.desktop-surface .page-booking .lf-bk-calday .k-day-date { white-space: nowrap; }

.desktop-surface .page-booking .lf-bk-times {
    display: grid;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
}

.desktop-surface .page-booking .lf-bk-times[hidden] { display: none; }
.desktop-surface .page-booking .lf-bk-times > .k-label { display: flex; flex-wrap: wrap; gap: 0 0.35em; }
.desktop-surface .page-booking .lf-bk-times-date { color: var(--ink-purple); }

/* Rigid slots carry a range ("9:00 to 11:00am"): wider cells than the kit's. */
.desktop-surface .page-booking [data-act-slots]:not(.lf-bk-hours):not(.lf-bk-segs) { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }

.desktop-surface .page-booking .k-chip:disabled {
    background: rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 0 0 2px rgba(30, 40, 53, 0.14);
    color: var(--text-soft);
    cursor: not-allowed;
    transform: none;
}

.desktop-surface .page-booking .k-chip.lf-bk-out { text-decoration: line-through; }

/* The hourly range (Details.js paintSlotStates): a start, the ends it allows, the fill between. */
.desktop-surface .page-booking .lf-bk-hours { grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); }
.desktop-surface .page-booking .lf-bk-hour { padding-inline: 0.5em; }
.desktop-surface .page-booking .lf-bk-hour--gap { margin-top: 0; }
.desktop-surface .page-booking .lf-bk-hour[data-state="faded"] { opacity: 0.8; }
.desktop-surface .page-booking .lf-bk-hour[data-state="dash"] { box-shadow: inset 0 0 0 2px rgba(30, 40, 53, 0.14); background: repeating-linear-gradient(135deg, rgba(30, 40, 53, 0.05) 0 6px, transparent 6px 12px), rgba(255, 255, 255, 0.5); color: var(--text-soft); }
/* Past the longest booking or across a gap: out of reach, still legible (no fade under 4.5:1). */
.desktop-surface .page-booking .lf-bk-hour[data-state="locked"] { box-shadow: inset 0 0 0 2px rgba(30, 40, 53, 0.12); background: rgba(255, 255, 255, 0.45); color: var(--text-soft); text-decoration: line-through; text-decoration-thickness: 1px; }
.desktop-surface .page-booking .lf-bk-hour[data-state="candidate"] { box-shadow: inset 0 0 0 2px var(--rt-purple), 0 0.2rem 0.6rem var(--glow-purple); }
.desktop-surface .page-booking .lf-bk-hour[data-state="range"] { background: var(--rt-purple-slt); box-shadow: none; color: var(--ink-purple); opacity: 1; }
.desktop-surface .page-booking .lf-bk-hour[data-state="from"],
.desktop-surface .page-booking .lf-bk-hour[data-state="to"] { background: var(--fill-purple); color: #fff; box-shadow: 0 0.3rem 0.75rem var(--glow-purple); opacity: 1; }

.desktop-surface .page-booking .lf-bk-readout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--r-ctl);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-ctl);
    text-align: center;
}

.desktop-surface .page-booking .lf-bk-readout--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 26rem; }
.desktop-surface .page-booking .lf-bk-readout dt { font-family: var(--font-head); font-size: var(--type-meta); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.desktop-surface .page-booking .lf-bk-readout dd { margin: 0; font-family: var(--font-head); font-size: var(--type-lead); color: var(--ink-purple); }
.desktop-surface .page-booking .lf-bk-readout dd.k-meta { font-family: var(--font-text); font-size: var(--type-meta); color: var(--text-soft); }

/* Flexible: the time-of-day segments, a name over its hours. */
.desktop-surface .page-booking .lf-bk-segs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
.desktop-surface .page-booking .lf-bk-seg { flex-direction: column; gap: 0.05rem; min-height: 3.25rem; white-space: normal; }
.desktop-surface .page-booking .lf-bk-seg small { font-family: var(--font-text); font-size: var(--type-meta); opacity: 0.9; }

/* Party, quantity, days: the kit's steppers, a little room between rows. */
.desktop-surface .page-booking .k-who { max-width: 26rem; }

/* Add-ons: a row each, the control at the end. */
.desktop-surface .page-booking .lf-bk-addons { display: grid; gap: var(--space-xs); }

.desktop-surface .page-booking .lf-bk-addon {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border-radius: var(--r-ctl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-ctl);
}

.desktop-surface .page-booking .lf-bk-addon-text { flex: 1 1 auto; min-width: 0; display: grid; gap: 0.15rem; }
.desktop-surface .page-booking .lf-bk-addon-name { margin: 0; font-family: var(--font-head); font-size: var(--type-body); color: var(--ink-blue); }
.desktop-surface .page-booking .lf-bk-addon .k-switch,
.desktop-surface .page-booking .lf-bk-addon .k-stepper { flex: none; }
.desktop-surface .page-booking .lf-bk-addon--idle { opacity: 0.72; }

/* Cancellation: the two outcomes, the one that applies marked. */
.desktop-surface .page-booking .lf-bk-policy { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }

.desktop-surface .page-booking .lf-bk-policy > li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-size: var(--type-body);
    line-height: 1.4;
    color: var(--text-soft);
}

.desktop-surface .page-booking .lf-bk-policy-dot {
    flex: none;
    width: 0.7rem;
    height: 0.7rem;
    border: 2px solid var(--rt-blue);
    border-radius: 50%;
    transform: translateY(0.05rem);
}

.desktop-surface .page-booking .lf-bk-policy > li[data-on="1"] { color: var(--text); }
.desktop-surface .page-booking .lf-bk-policy > li[data-on="1"] .lf-bk-policy-dot { background: var(--rt-blue); }

/* Where it goes: the server's slot (pickup notes, the address, the note for the Keeper). */
.desktop-surface .page-booking .lf-bk-where-host:empty { display: none; }
.desktop-surface .page-booking .lf-bk-where-host { padding-top: var(--space-lg); border-top: 1px solid var(--line); }
.desktop-surface .page-booking [data-act-pick="fulfilment"] + .lf-bk-where-host { padding-top: 0; border-top: 0; margin-top: calc(-1 * var(--space-sm)); }
.desktop-surface .page-booking .lf-bk-where { display: grid; gap: var(--space-sm); min-width: 0; }
.desktop-surface .page-booking .lf-bk-where:empty { display: none; }
.desktop-surface .page-booking .lf-bk-where > .k-label { margin-top: var(--space-xs); }

.desktop-surface .page-booking .lf-bk-notes { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; font-size: var(--type-body); color: var(--text); }
.desktop-surface .page-booking .lf-bk-notes i { width: 1.2em; color: var(--ink-purple); }

.desktop-surface .page-booking .lf-bk-addr { display: grid; gap: var(--space-sm); min-width: 0; }
.desktop-surface .page-booking .lf-bk-addr-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-sm); }
.desktop-surface .page-booking .lf-bk-addr-chip { display: inline-flex; align-items: center; gap: 0.25rem; }
.desktop-surface .page-booking .lf-bk-addr-suggest .k-check { font-size: var(--type-body); }
.desktop-surface .page-booking .lf-bk-range-out { color: var(--rt-amber-ink); }

@container lane (width < 26rem) {
    .desktop-surface .page-booking .lf-bk-addr-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .desktop-surface .page-booking .lf-bk-addr-row > :first-child { grid-column: 1 / -1; }
}


/* ─── 3. The gate, the Keeper, the auth steps under the gate ─────────────── */

.desktop-surface .page-booking .lf-bk-act { display: grid; gap: var(--space-sm); }

.desktop-surface .page-booking .lf-bk-handoff {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: center;
    gap: var(--space-sm) var(--space-md);
    padding: var(--space-xs);
    border-radius: var(--r-ctl);
    background: rgba(255, 255, 255, 0.8);
}

.desktop-surface .page-booking .lf-bk-qr { width: 5.5rem; height: 5.5rem; padding: 0.3rem; border-radius: 0.6rem; background: #fff; box-shadow: var(--shadow-ctl); }
.desktop-surface .page-booking .lf-bk-handoff > .k-meta { color: var(--text); }

.desktop-surface .page-booking .lf-bk-keeper { display: grid; gap: var(--space-sm); }
.desktop-surface .page-booking .lf-bk-keeper .k-avatar { --k-size: 2.75rem; }
.desktop-surface .page-booking .lf-bk-keeper .k-keeper-name { font-size: var(--type-body); }
.desktop-surface .page-booking .lf-bk-keeper .k-keeper-id { gap: 0.1rem; }



/* The sign-in / sign-up steps: in the corner, in the gate card's place, between the lines and the
   button (which steps aside while they are open). The choices stay on screen beside them. The step
   cards sit inside the total's own panel, so they lose their panel chrome and keep their words. */
.desktop-surface .page-booking .lf-bk-auth { display: grid; gap: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--line); min-width: 0; }
.desktop-surface .page-booking .lf-bk-auth[hidden] { display: none; }
.desktop-surface .page-booking .lf-bk-auth-back { justify-self: center; }
.desktop-surface .page-booking .lf-bk-auth .lf-au { gap: var(--space-sm); }
.desktop-surface .page-booking .lf-bk-auth .lf-au-step.k-panel {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    outline: 0;
    border-radius: 0;
}
.desktop-surface .page-booking .lf-bk-auth .lf-au-step > .k-panel-head:not([class*="k-tone-"]),
.desktop-surface .page-booking .lf-bk-auth .lf-au-step > .k-panel-body { padding-inline: 0; }
.desktop-surface .page-booking .lf-bk-auth .lf-au-step > .k-panel-head:not([class*="k-tone-"]) { padding-top: 0; }
.desktop-surface .page-booking .lf-bk-auth .lf-au-step > .k-panel-head[class*="k-tone-"] { border-radius: var(--r-ctl); }
.desktop-surface .page-booking .lf-bk-auth .lf-au-step > .k-panel-body { padding-bottom: 0; }
.desktop-surface .page-booking .lf-bk-auth .k-panel-title { font-size: var(--type-lead); }

/* A tall step must never be stuck below the window in a sticky corner: while the steps are open
   the corner scrolls with the lane (the steps scroll themselves into view as they open). */
.desktop-surface .page-booking.is-authing .lf-bk-corner { position: static; }


/* ─── 4. The corner: the whole total, its lines, the one button ──────────── */

.desktop-surface .page-booking .lf-bk-corner { align-self: start; }
.desktop-surface .page-booking .lf-bk-buy > .k-panel-body { gap: var(--space-sm); }
.desktop-surface .page-booking .lf-bk-buy[aria-busy="true"] .lf-bk-lines { opacity: 0.6; transition: opacity var(--dur-fast) var(--ease-out); }

.desktop-surface .page-booking .lf-bk-figure { display: grid; gap: 0.15rem; }
.desktop-surface .page-booking .lf-bk-figure > .k-price { white-space: normal; flex-wrap: wrap; font-size: clamp(2.4rem, 1.2rem + 7cqi, 3.6rem); }
.desktop-surface .page-booking .lf-bk-figure > .k-price > small { font-size: max(0.36em, var(--type-meta)); }

.desktop-surface .page-booking .lf-bk-details .k-disclosure-sum { font-size: var(--type-body); }
.desktop-surface .page-booking .lf-bk-lines { min-height: 2rem; transition: opacity var(--dur-fast) var(--ease-out); }
.desktop-surface .page-booking .lf-bk-lines .k-line { padding: 0.35rem 0; }
.desktop-surface .page-booking .lf-bk-lines .k-line--total { padding-top: 0.75rem; }
.desktop-surface .page-booking .lf-bk-lines-wait { margin: 0.25rem 0; }
.desktop-surface .page-booking .lf-bk-subline { padding-block: 0.1rem; padding-left: 0.75rem; font-size: var(--type-meta); }
.desktop-surface .page-booking .lf-bk-note { font-size: var(--type-meta); color: var(--text-soft); }
.desktop-surface .page-booking .lf-bk-was { margin-right: 0.3em; color: var(--text-soft); font-family: var(--font-text); font-size: var(--type-meta); }   /* a package's own price override */
.desktop-surface .page-booking .lf-bk-free { color: var(--rt-green-deep); }
/* The ONE fee sentence under the lines, word for word the listing lane's (lane-focus.css). */
.desktop-surface .page-booking .lf-bk-lines .lf-fee-sentence { padding-top: var(--space-xs); border-top: 1px solid var(--line); }
.desktop-surface .page-booking .lf-bk-schedule { display: grid; gap: 0.25rem; padding-top: var(--space-sm); border-top: 1px solid var(--line); }
.desktop-surface .page-booking .lf-bk-schedule .k-label i { color: var(--ink-blue); margin-right: 0.3em; }
.desktop-surface .page-booking .lf-bk-terms { text-align: center; }
.desktop-surface .page-booking .lf-bk-terms a { color: var(--ink-blue); font-family: var(--font-head); }

/* The button while something is missing: still THE primary (the pink fill, the request's words),
   visibly not ready: the fill rests paler and flat, no glow. Its caption under it says what is
   missing, and a press takes you there, so it keeps a pointer (the kit's grey disabled look would
   hand the lane's lead to nothing, and an outline would read as a second, lesser button). */
.desktop-surface .page-booking :is([data-act-submit], [data-act-mini-go])[aria-disabled="true"] {
    background: linear-gradient(160deg, #FFC6DA, #F6A2C1);   /* the pink fill, rested: 7:1 with the dark ink */
    box-shadow: none;
    outline-color: rgba(255, 255, 255, 0.7);
    color: var(--rt-pink-bl);
    filter: none;
    cursor: pointer;
}

.desktop-surface .page-booking [data-act-submit][hidden] { display: none; }

/* The caption under the button: what is missing, in words a Seeker can act on. */
.desktop-surface .page-booking .lf-bk-need--corner { margin-top: calc(-0.25 * var(--space-sm)); }

/* The gate and the Keeper, inside the corner between the lines and the button. */
.desktop-surface .page-booking .lf-bk-act-host { display: grid; gap: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--line); }
.desktop-surface .page-booking .lf-bk-act-host:empty { display: none; }
.desktop-surface .page-booking .lf-bk-gate { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm) var(--space-md); align-items: start; }
.desktop-surface .page-booking .lf-bk-gate > .k-gate-art { width: 2.75rem; height: 2.75rem; font-size: 1.1rem; }
.desktop-surface .page-booking .lf-bk-gate-text { display: grid; gap: 0.35rem; min-width: 0; }
.desktop-surface .page-booking .lf-bk-gate-title { margin: 0; font-family: var(--font-head); font-weight: normal; font-size: var(--type-lead); line-height: 1.2; color: var(--text); }
.desktop-surface .page-booking .lf-bk-gate .k-btns { margin-top: 0.2rem; }
.desktop-surface .page-booking .lf-bk-gate > :is(.lf-bk-handoff, .k-btns) { grid-column: 1 / -1; }
.desktop-surface .page-booking .lf-bk-mto-note { color: var(--text); }
.desktop-surface .page-booking .lf-bk-mto-note > i { color: var(--ink-blue); margin-right: 0.25em; }

/* What happens next: three short steps with the Keeper's real response time. */
.desktop-surface .page-booking .lf-bk-steps { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.desktop-surface .page-booking .lf-bk-steps > li { display: flex; align-items: flex-start; gap: var(--space-sm); font-size: var(--type-body); line-height: 1.4; color: var(--text-soft); }
.desktop-surface .page-booking .lf-bk-steps .k-strong { color: var(--text); }
.desktop-surface .page-booking .lf-bk-step-icon { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--tone-slt, var(--rt-blue-slt)); color: var(--tone-ink, var(--ink-blue)); font-size: 0.9rem; }

/* The old foot strip of a narrow lane ([data-act-mini], pinned to the bottom) is retired: it
   covered rows mid-scroll at a 900 window. The corner sits at the end of the form in the flow
   and the head's compact total line stays in view at the top (section 1). Never shown. */
.desktop-surface .page-booking .lf-bk-mini { display: none !important; }


/* ─── 5. Done ────────────────────────────────────────────────────────────── */

.desktop-surface .page-booking .lf-bk-done[hidden] { display: none; }
.desktop-surface .page-booking .lf-bk-done .k-state { padding-block: var(--space-xl); }
.desktop-surface .page-booking .lf-bk-done-lines { width: min(100%, 30rem); text-align: left; }


/* ─── 6. RT.Calendar, inline (rt-calendar.js inline mode) ─────────────────── */
/* The month grid opens in place under the date strip and pushes what follows
   (no scrim). Its whole look is the kit's (kit.css section 18, one calendar for
   every lane); this only places it in the lane, lets it arrive, and gives the
   card room for a whole month even when its days carry prices (has-meta rows
   are taller), so Continue always sits under a complete month. */

.desktop-surface .page-booking .rtcal-inline {
    margin-top: var(--space-sm);
    opacity: 0;
    transform: translateY(-0.4rem);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-spring);
}

.desktop-surface .page-booking .rtcal-inline.show { opacity: 1; transform: none; }
.desktop-surface .page-booking .rtcal-inline .rtcal-card { max-width: 48rem; max-height: 37rem; }


/* ─── 7. Sign in and sign up: the standalone pages ───────────────────────── */
/* The phone's Sign-In: a white headline on the wave, the step card floating
   half on it. Here the wave is a band across the top of the lane (the hero
   bleeds to the lane's edges, data-bleed="top") about three fifths of its
   height; the card sits beside the headline in a wide lane, straddling the
   band's edge, and under it in a narrow one. Roots keep a bare class
   (tests/Desktop/LockIntegrationTest.php reads class="page-signin"). */

/* The old desktop sheet (components.css section 8m) centred .page-signin in the window. */
.desktop-surface :is(.page-signin, .page-create-account) { display: flex; flex-direction: column; place-items: stretch; place-content: normal; min-height: 100%; }

.desktop-surface .lf-au-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    flex: 1 0 auto;
    min-width: 0;
}

.desktop-surface .lf-au-page .lf-au-hero {
    position: relative;
    isolation: isolate;
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
    min-width: 0;
    padding: clamp(2rem, 1rem + 4cqi, 5.5rem) clamp(1.25rem, 0.5rem + 4.5cqi, 8rem) clamp(5.5rem, 3rem + 7cqi, 10rem);
}

.desktop-surface .lf-au-page .lf-au-hero > * { margin: 0; }
.desktop-surface .lf-au-page .lf-au-hero > .k-eyebrow { color: var(--accent); }
.desktop-surface .lf-au-page .lf-au-lead { color: var(--text-soft); }
.desktop-surface .lf-au-page .lf-au-headline { font-size: clamp(2.75rem, 1.2rem + 5.4cqi, calc(6.5rem + 8 * var(--up))); line-height: 0.96; }
.desktop-surface .lf-au-page .lf-au-lead {
    max-width: 30ch;
    font-family: var(--font-head);
    font-weight: normal;
    font-size: clamp(1.15rem, 0.85rem + 1cqi, 1.85rem);
    line-height: 1.28;
}

.desktop-surface .lf-au-page .lf-au-card {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: min(100%, 34rem);
    min-width: 0;
    margin-top: calc(-1 * clamp(4rem, 2rem + 5.5cqi, 8rem));
    padding-bottom: var(--space-lg);
}

@container lane (width >= 52rem) {
    .desktop-surface .lf-au-page {
        grid-template-columns: minmax(0, 1.12fr) minmax(24rem, 1fr);
        grid-template-rows: minmax(min-content, 3fr) minmax(0, 2fr);
    }

    .desktop-surface .lf-au-page .lf-au-hero { padding-inline-end: calc(47% + var(--space-xl)); padding-bottom: clamp(3rem, 2rem + 4cqi, 7rem); }

    .desktop-surface .lf-au-page .lf-au-card {
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: center;
        width: min(100%, 36rem);
        margin-top: 0;
        padding-bottom: 0;
    }
}


/* ─── 8. The steps (desktop/partials/auth-steps.php) ─────────────────────── */

.desktop-surface .lf-au { display: grid; gap: var(--space-md); min-width: 0; }
.desktop-surface .lf-au[aria-busy="true"] { opacity: 0.7; }
.desktop-surface .lf-au [hidden] { display: none; }

.desktop-surface .lf-au .lf-au-step--in { animation: lf-au-in var(--dur-slow) var(--ease-spring) both; }

@keyframes lf-au-in {
    from { opacity: 0; transform: translateY(0.6rem) scale(0.985); }
    to   { opacity: 1; transform: none; }
}

.desktop-surface .lf-au .k-panel-head[class*="k-tone-"] .k-eyebrow { color: rgba(255, 255, 255, 0.9); }
.desktop-surface .lf-au .k-panel-head:not([class*="k-tone-"]) .k-panel-title { color: var(--ink-blue); }
.desktop-surface .lf-au .lf-au-body { display: grid; gap: var(--space-md); }
.desktop-surface .lf-au .lf-au-form { display: grid; gap: var(--space-md); }
.desktop-surface .lf-au .lf-au-form.k-form { gap: var(--space-sm) var(--space-md); }
.desktop-surface .lf-au .lf-au-btns > .k-btn[type="submit"] { flex: 1 1 10rem; }
.desktop-surface .lf-au .k-error { display: block; }
.desktop-surface .lf-au .k-error .lf-au-link { font-size: inherit; }

/* The path: every step named, the current one marked, the done ones ticked. */
.desktop-surface .lf-au .lf-au-path {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.desktop-surface .lf-au .lf-au-pathstep {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem 0.25rem 0.3rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-ctl);
    color: var(--text-soft);
    font-family: var(--font-head);
    font-size: var(--type-meta);
}

.desktop-surface .lf-au .lf-au-pathnum {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(30, 40, 53, 0.08);
    color: var(--text-soft);
    font-size: 0.8125rem;
}

.desktop-surface .lf-au .lf-au-pathstep[data-state="current"] { background: #fff; color: var(--text); }
.desktop-surface .lf-au .lf-au-pathstep[data-state="current"] .lf-au-pathnum { background: var(--fill-pink); color: #fff; }
.desktop-surface .lf-au .lf-au-pathstep[data-state="done"] .lf-au-pathnum { background: var(--fill-green); color: #fff; }

/* The referral or promo line over the steps. */
.desktop-surface .lf-au .lf-au-banner {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1rem 0.6rem 0.6rem;
    border-radius: var(--r-ctl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-ctl);
}

.desktop-surface .lf-au .lf-au-banner > .k-avatar { --k-size: 2.75rem; }
.desktop-surface .lf-au .lf-au-banner-icon { font-size: 1.8rem; color: var(--rt-green-deep); }
.desktop-surface .lf-au .lf-au-banner-text > * { margin: 0; }
.desktop-surface .lf-au .lf-au-banner-name { font-family: var(--font-head); font-size: var(--type-lead); color: var(--text); }

/* The phone field: intl-tel-input under the kit's skin. */
.desktop-surface .lf-au .k-phone .k-input { padding-left: 5.4rem; }
.desktop-surface .lf-au .lf-au-consent { align-items: flex-start; font-size: var(--type-meta); color: var(--text-soft); }
.desktop-surface .lf-au .lf-au-consent .k-check-box { margin-top: 0.1rem; }
.desktop-surface .lf-au .lf-au-terms a,
.desktop-surface .lf-au .lf-au-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-blue);
    font-family: var(--font-head);
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.desktop-surface .lf-au .lf-au-switch { margin: 0; text-align: center; font-size: var(--type-body); color: var(--text-soft); }
.desktop-surface .lf-au .lf-au-verified { display: inline-flex; align-items: center; gap: 0.4rem; justify-self: center; margin: 0; padding: 0.4rem 0.9rem; border-radius: var(--r-pill); background: var(--rt-success-slt); color: var(--rt-green-deep); font-family: var(--font-head); }

/* The code: the kit's six boxes, a touch larger in a wide card. */
.desktop-surface .lf-au .k-code { max-width: 24rem; }

/* Role cards ('publish' shape): Keeper first, side by side when there is room. */
.desktop-surface .lf-au .lf-au-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-md); }
.desktop-surface .lf-au .lf-au-role { display: grid; gap: var(--space-sm); align-content: space-between; padding: var(--space-md); border-radius: var(--r-ctl); background: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-ctl); }
.desktop-surface .lf-au .lf-au-role > .k-body { margin: 0; }
.desktop-surface .lf-au .lf-au-role-title { margin: 0; font-family: var(--font-head); font-weight: normal; font-size: var(--type-lead); letter-spacing: var(--track-snug); color: var(--ink-blue); }
.desktop-surface .lf-au .lf-au-role-title--keeper { color: var(--ink-pink); }

/* The picture grid (pages/Create-Account.php's #CaptchaContainer, no ids). */
.desktop-surface .lf-au .lf-au-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(100%, 16.25rem);
    aspect-ratio: 1;
    justify-self: center;
    border-radius: 0.75rem;
    background: #f0f0f0 center / cover no-repeat;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.desktop-surface .lf-au .lf-au-cell {
    border: 0;
    border-radius: 0.6rem;
    background: transparent;
    cursor: pointer;
    transition: transform var(--dur-base) var(--ease-spring), background var(--dur-fast) var(--ease-out);
}

.desktop-surface .lf-au .lf-au-cell[aria-pressed="true"] { background: var(--rt-blue-dk); transform: scale(0.85); }
.desktop-surface .lf-au .lf-au-cell:focus-visible { outline: 3px solid var(--rt-pink); outline-offset: -3px; }

/* The Seeker / Keeper switch, and the hand-off to the app. */
.desktop-surface .lf-au .lf-au-local { font-size: var(--type-body); }

.desktop-surface .lf-au .lf-au-handoff { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.desktop-surface .lf-au .lf-au-qr { width: 10.5rem; height: 10.5rem; padding: 0.5rem; border-radius: 0.9rem; background: #fff; box-shadow: var(--shadow-ctl); }
.desktop-surface .lf-au .lf-au-handoff-text { display: grid; gap: var(--space-sm); }
.desktop-surface .lf-au .lf-au-handoff-steps { margin: 0; padding-left: 1.2rem; font-size: var(--type-body); color: var(--text); }
.desktop-surface .lf-au .lf-au-handoff-steps > li + li { margin-top: 0.25rem; }

@container lane (width < 30rem) {
    .desktop-surface .lf-au .lf-au-handoff { grid-template-columns: minmax(0, 1fr); justify-items: center; }
}


/* ─── 9. Reduced motion ──────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .desktop-surface .lf-au .lf-au-step--in,
    .desktop-surface .page-booking .lf-bk-flash { animation: none; }
    .desktop-surface .page-booking :is(.lf-bk-mini, .rtcal-inline) { transition: none; }
}
