/* ============================================================================
   Kochi Taxi — public booking wizard
   Page-scoped: loaded only by book-now.php (PLAN.md §9b).
   Design language shared with quote.php ("Ink & Gold", document-grade).
   Layout stays Tailwind; this file carries the identity pieces + control states.
   ============================================================================ */

.bkdoc {
    --ink:        #0b1b33;
    --ink-2:      #16294a;
    --gold:       #f5a623;
    --gold-deep:  #b97a0e;
    --gold-tint:  #fff8ec;
    --paper:      #fbf9f5;
    --rule:       #e8e2d8;
    --rule-soft:  #f1ece3;
    --muted:      #64748b;
    background-color: var(--paper);
    font-variant-numeric: tabular-nums;
}
.bkdoc .bk-serif {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    letter-spacing: -0.015em;
}

/* ---- hero ---------------------------------------------------------------- */
.bk-hero {
    background:
        radial-gradient(120% 150% at 100% 0%, rgba(245, 166, 35, .14) 0%, rgba(245, 166, 35, 0) 58%),
        linear-gradient(160deg, #ffffff 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--rule);
}
.bk-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    font-size: .78rem;
    color: #475569;
}
.bk-trust span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: .3rem .7rem;
}
.bk-trust i { color: var(--gold-deep); font-style: normal; font-weight: 700; }

/* ---- stepper ------------------------------------------------------------- */
.bk-step { display: flex; flex: 1 1 0; align-items: center; gap: .55rem; min-width: 0; }
.bk-step__node {
    display: grid;
    place-items: center;
    width: 2.1rem; height: 2.1rem;
    flex: 0 0 auto;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    background: #eef1f5;
    color: #94a3b8;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    cursor: pointer;
}
.bk-step__node.is-active {
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    color: #241806;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, .18);
}
.bk-step__node.is-done { background: #059669; color: #fff; }
.bk-step__label {
    font-size: .8rem;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bk-step__label.is-active { color: var(--ink); }
.bk-step__bar {
    flex: 1 1 auto;
    height: 2px;
    min-width: .75rem;
    border-radius: 2px;
    background: #e4e8ee;
}
.bk-step__bar.is-done { background: #34d399; }

/* ---- panel --------------------------------------------------------------- */
.bk-panel {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(11, 27, 51, .03), 0 10px 30px -22px rgba(11, 27, 51, .28);
}
@media (min-width: 640px) { .bk-panel { padding: 2rem; } }

.bk-eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.bk-eyebrow__t {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.bk-eyebrow__line { flex: 1; height: 1px; background: var(--rule); }

/* ---- option cards (trip type / vehicle / day-hire package) --------------- */
.bk-card {
    position: relative;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1.5px solid var(--rule);
    border-radius: .85rem;
    padding: 1rem;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .1s ease;
    cursor: pointer;
}
.bk-card:hover { border-color: #cfd6e0; background: #fdfcf9; }
.bk-card:active { transform: translateY(1px); }
.bk-card.is-on {
    border-color: var(--gold);
    background: var(--gold-tint);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .16);
}
/* selected check mark */
.bk-card.is-on::after {
    content: "";
    position: absolute;
    top: .6rem; right: .6rem;
    width: 1.05rem; height: 1.05rem;
    border-radius: 999px;
    background:
        linear-gradient(180deg, var(--gold), var(--gold-deep));
    box-shadow: inset 0 0 0 2px #fff;
}
.bk-card__ico {
    display: grid;
    place-items: center;
    width: 2.4rem; height: 2.4rem;
    border-radius: .7rem;
    background: #f1f3f7;
    color: #64748b;
    font-size: 1.15rem;
    transition: background .15s ease, color .15s ease;
}
.bk-card.is-on .bk-card__ico { background: rgba(245, 166, 35, .22); color: var(--gold-deep); }
.bk-card__t { font-weight: 700; color: #0f172a; font-size: .92rem; }
.bk-card__s { margin-top: .1rem; font-size: .76rem; color: var(--muted); line-height: 1.4; }

/* ---- Step 1 · trip-type cards (richer than the generic option card) ------- */
.bk-type {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1.5px solid var(--rule);
    border-radius: 1rem;
    padding: 1.15rem 1.1rem 1.2rem;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.bk-type:hover {
    transform: translateY(-2px);
    border-color: #d9e0ea;
    box-shadow: 0 16px 32px -24px rgba(11, 27, 51, .5);
}
.bk-type:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bk-type.is-on {
    border-color: var(--gold);
    background: linear-gradient(180deg, #fffdf8, var(--gold-tint));
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .16), 0 18px 36px -26px rgba(185, 122, 14, .6);
}
.bk-type__ico {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: .85rem;
    background: #f1f3f7;
    color: #64748b;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.bk-type__ico svg { width: 1.45rem; height: 1.45rem; }
.bk-type:hover .bk-type__ico { transform: scale(1.05); }
.bk-type.is-on .bk-type__ico {
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    color: #2a1c04;
    box-shadow: 0 10px 22px -12px rgba(245, 166, 35, .9);
}
.bk-type__t { display: block; margin-top: .85rem; font-size: .98rem; font-weight: 700; color: #0f172a; }
.bk-type__s { display: block; margin-top: .18rem; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.bk-type__tick {
    position: absolute;
    top: .8rem; right: .8rem;
    display: grid;
    place-items: center;
    width: 1.35rem; height: 1.35rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    opacity: 0;
    transform: scale(.6);
    transition: opacity .18s ease, transform .18s ease;
}
.bk-type__tick svg { width: .8rem; height: .8rem; }
.bk-type.is-on .bk-type__tick { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
    .bk-type, .bk-type__ico, .bk-type__tick { transition: none !important; }
    .bk-type:hover { transform: none !important; }
}

/* ---- destination chips (Step 2 · Taxi Package) --------------------------- */
.bk-chip {
    border: 1.5px solid var(--rule);
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: .5rem 1.05rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .1s ease;
}
.bk-chip:hover { border-color: #d9e0ea; background: #fdfcf9; }
.bk-chip:active { transform: translateY(1px); }
.bk-chip.is-on {
    border-color: var(--gold);
    background: var(--gold-tint);
    color: var(--gold-deep);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .14);
}
.bk-chip.is-on::after { content: " \2713"; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .bk-chip { transition: none !important; } }

/* ---- Step 2 · field groups (document-grade sections) --------------------- */
.bk-group {
    position: relative;
    border: 1px solid var(--rule);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 27, 51, .03);
    /* NOT hidden: the pickup/drop type-ahead dropdown must escape the card. */
    overflow: visible;
}
.bk-group__head {
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .95rem 1.1rem;
    background:
        radial-gradient(120% 200% at 0% 0%, rgba(245, 166, 35, .10), rgba(245, 166, 35, 0) 60%),
        linear-gradient(180deg, #fdfbf7, #faf6ee);
    border-bottom: 1px solid var(--rule-soft);
}
.bk-group__ico {
    display: grid;
    place-items: center;
    width: 2.35rem; height: 2.35rem;
    flex: 0 0 auto;
    border-radius: .7rem;
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    color: #2a1c04;
    box-shadow: 0 8px 18px -12px rgba(185, 122, 14, .95);
}
.bk-group__ico svg { width: 1.2rem; height: 1.2rem; }
.bk-group__t {
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -.01em;
    line-height: 1.2;
}
.bk-group__s { font-size: .74rem; color: var(--muted); margin-top: .12rem; line-height: 1.35; }
.bk-group__body { padding: 1.15rem; }
@media (min-width: 640px) { .bk-group__body { padding: 1.3rem 1.35rem; } }

/* numbered field label inside a group */
.bk-flabel {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 600;
    color: #1e293b;
}
.bk-flabel__i {
    display: grid;
    place-items: center;
    width: 1.15rem; height: 1.15rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f1f3f7;
    color: #64748b;
}
.bk-flabel__i svg { width: .72rem; height: .72rem; }

/* refined inputs inside groups */
.bk-inp {
    display: block;
    width: 100%;
    border-radius: .7rem;
    border: 1px solid #d9dee7;
    background: #fff;
    padding: .7rem .85rem;
    font-size: .875rem;
    color: #0f172a;
    box-shadow: inset 0 1px 1px rgba(11, 27, 51, .02);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.bk-inp::placeholder { color: #94a3b8; }
.bk-inp:hover { border-color: #c3cbd8; }
.bk-inp:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 166, 35, .18); background: #fffefb; }
select.bk-inp {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    padding-right: 2.2rem;
}
.bk-inp.is-err { border-color: #fda4af; background: #fff5f6; }
.bk-inp.is-err:focus { box-shadow: 0 0 0 3px rgba(244, 63, 94, .14); }

/* place type-ahead under the pickup / drop inputs (one-way step) */
.bk-sugg {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    margin-top: .3rem;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: .7rem;
    box-shadow: 0 14px 30px -12px rgba(11, 27, 51, .3);
    overflow: hidden auto;
    max-height: 16rem;
}
.bk-sugg__i {
    display: flex;
    flex-direction: column;
    gap: .06rem;
    width: 100%;
    text-align: left;
    padding: .55rem .8rem;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--rule-soft);
    cursor: pointer;
    transition: background .12s ease;
}
.bk-sugg__i:last-child { border-bottom: 0; }
.bk-sugg__i:hover,
.bk-sugg__i:focus-visible { background: var(--gold-tint); outline: none; }
.bk-sugg__i b { font-size: .85rem; font-weight: 600; color: var(--ink); }
.bk-sugg__i span {
    font-size: .72rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* free-plan attribution for the distance lookup */
.bk-credit { margin-top: .45rem; font-size: .68rem; color: var(--muted); }
.bk-credit a { color: var(--gold-deep); text-decoration: none; }
.bk-credit a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .bk-sugg__i { transition: none !important; } }

/* one-tap pickups/drops under the pickup & drop fields */
.bk-quick { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin-top: .5rem; }
.bk-quick__lbl {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: .1rem;
}
.bk-quick__i {
    font-size: .72rem;
    line-height: 1;
    padding: .3rem .5rem;
    border-radius: 999px;
    border: 1px solid var(--rule);
    background: #fff;
    color: var(--ink-2);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .13s ease, background .13s ease, color .13s ease;
}
.bk-quick__i:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--gold-deep); }
.bk-quick__i:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 166, 35, .18); }
@media (prefers-reduced-motion: reduce) { .bk-quick__i { transition: none !important; } }

/* number stepper */
.bk-num { position: relative; }
.bk-num input { padding-right: 2.6rem; }
.bk-num input::-webkit-outer-spin-button,
.bk-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-num input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.bk-num__btns {
    position: absolute;
    top: .32rem; right: .32rem; bottom: .32rem;
    display: flex;
    flex-direction: column;
    width: 1.7rem;
    border-radius: .5rem;
    overflow: hidden;
    border: 1px solid #e2e6ee;
    background: #f7f9fc;
}
.bk-num__btns button {
    flex: 1 1 0;
    display: grid;
    place-items: center;
    color: #475569;
    font-size: .8rem;
    line-height: 1;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
}
.bk-num__btns button:hover { background: #eef2f8; color: var(--gold-deep); }
.bk-num__btns button:first-child { border-bottom: 1px solid #e2e6ee; }

/* trip-length pill */
.bk-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid #f2d9a4;
    background: linear-gradient(180deg, #fffaf0, #fff5e3);
    border-radius: 999px;
    padding: .4rem .9rem;
    font-size: .78rem;
    font-weight: 600;
    color: #92400e;
}
.bk-pill svg { width: .95rem; height: .95rem; color: var(--gold-deep); }

/* ---- Step 3 · vehicle picker (horizontal tiles + seat sidebar) ----------- */
.bk-veh { display: grid; gap: 1rem; }
@media (min-width: 640px) { .bk-veh { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.25rem; } }

.bk-veh__side { display: flex; flex-direction: column; gap: .35rem; }
.bk-veh__sideh {
    font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); margin-bottom: .1rem;
}

.bk-facet {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    width: 100%; text-align: left;
    border: 1px solid var(--rule); border-radius: .6rem; background: #fff;
    padding: .5rem .65rem;
    font-size: .78rem; font-weight: 600; color: #475569;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.bk-facet:hover { border-color: #cfd6e0; background: #fdfcf9; }
.bk-facet.is-on { border-color: var(--gold); background: var(--gold-tint); color: var(--gold-deep); }
.bk-facet__n {
    flex: 0 0 auto;
    font-size: .68rem; font-weight: 700; color: #94a3b8;
    background: #f1f3f7; border-radius: 999px;
    padding: .05rem .4rem; min-width: 1.35rem; text-align: center;
}
.bk-facet.is-on .bk-facet__n { background: rgba(245, 166, 35, .25); color: var(--gold-deep); }

/* phones: the sidebar collapses to a wrapping chip row above the tiles
   (must come AFTER .bk-facet so the width override wins) */
@media (max-width: 639.98px) {
    .bk-veh__side { flex-direction: row; flex-wrap: wrap; gap: .4rem; }
    .bk-veh__sideh { flex-basis: 100%; margin-bottom: .1rem; }
    .bk-facet { width: auto; justify-content: flex-start; gap: .4rem; }
}

.bk-veh__list { min-width: 0; }
.bk-vrow {
    display: flex; align-items: center; gap: .9rem;
    width: 100%; text-align: left;
    border: 1.5px solid var(--rule); border-radius: .8rem; background: #fff;
    padding: .7rem .85rem;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.bk-vrow + .bk-vrow { margin-top: .5rem; }
.bk-vrow:hover { border-color: #cfd6e0; background: #fdfcf9; }
.bk-vrow:active { transform: translateY(1px); }
.bk-vrow.is-on {
    border-color: var(--gold);
    background: var(--gold-tint);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .16);
}
.bk-vrow__ico {
    display: grid; place-items: center;
    width: 2.3rem; height: 2.3rem; flex: 0 0 auto;
    border-radius: .65rem; background: #f1f3f7; color: #64748b;
    transition: background .15s ease, color .15s ease;
}
.bk-vrow__ico svg { width: 1.2rem; height: 1.2rem; }
.bk-vrow.is-on .bk-vrow__ico { background: rgba(245, 166, 35, .22); color: var(--gold-deep); }
.bk-vrow__main { min-width: 0; }
.bk-vrow__t { display: block; font-size: .9rem; font-weight: 700; color: #0f172a; }
.bk-vrow__s { display: block; margin-top: .1rem; font-size: .74rem; color: var(--muted); }
.bk-vrow__tick {
    margin-left: auto; flex: 0 0 auto;
    display: grid; place-items: center;
    width: 1.25rem; height: 1.25rem; border-radius: 999px;
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    color: #fff;
    opacity: 0; transform: scale(.6);
    transition: opacity .15s ease, transform .15s ease;
}
.bk-vrow__tick svg { width: .75rem; height: .75rem; }
.bk-vrow.is-on .bk-vrow__tick { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
    .bk-vrow, .bk-vrow__ico, .bk-vrow__tick, .bk-facet { transition: none !important; }
}

/* ---- callouts ------------------------------------------------------------ */
.bk-note {
    border: 1px solid #f2d9a4;
    background: linear-gradient(180deg, #fffaf0, #fff6e4);
    border-radius: .75rem;
    padding: .7rem .9rem;
    font-size: .78rem;
    color: #92400e;
}
.bk-info {
    border: 1px solid #dbe7f5;
    background: #f4f8fd;
    border-radius: .75rem;
    padding: .7rem .9rem;
    font-size: .78rem;
    color: #1e3a8a;
}

/* ---- rail (live estimate) ------------------------------------------------ */
.bk-rail { position: relative; }
@media (min-width: 1024px) {
    .bk-rail { position: sticky; top: 5.5rem; }
}
.bk-rail__card {
    overflow: hidden;
    border: 1px solid var(--rule);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 27, 51, .04), 0 14px 40px -26px rgba(11, 27, 51, .4);
}
.bk-rail__head {
    position: relative;
    background:
        radial-gradient(120% 150% at 100% 0%, rgba(245, 166, 35, .18), rgba(245, 166, 35, 0) 58%),
        linear-gradient(135deg, var(--ink), var(--ink-2));
    color: #fff;
    padding: 1.1rem 1.25rem 1.2rem;
}
.bk-rail__head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(245, 166, 35, .12));
}
.bk-rail__amt {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gold);
    line-height: 1.1;
}
.bk-rail__k {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}
.bk-rail__sub { font-size: .74rem; color: rgba(255, 255, 255, .62); }

.bk-ledger__row {
    display: flex;
    gap: .55rem;
    font-size: .82rem;
    color: #475569;
    line-height: 1.5;
}
.bk-ledger__row + .bk-ledger__row { margin-top: .4rem; }
.bk-ledger__mk { color: #cbd5e1; flex: 0 0 auto; }

.bk-spec { border-top: 1px solid var(--rule); margin-top: .9rem; padding-top: .8rem; }
.bk-spec__r {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    font-size: .76rem;
    color: var(--muted);
}
.bk-spec__r + .bk-spec__r { margin-top: .35rem; }
.bk-spec__r dd { font-weight: 600; color: #334155; text-align: right; }

/* ---- buttons ------------------------------------------------------------- */
.bk-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: .8rem;
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    color: #241806;
    font-weight: 800;
    font-size: .92rem;
    padding: .8rem 1.4rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 22px -14px rgba(185, 122, 14, .95);
    transition: filter .15s ease, transform .1s ease;
    cursor: pointer;
}
.bk-cta:hover { filter: brightness(1.05); }
.bk-cta:active { transform: translateY(1px); }

.bk-cta-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: .8rem;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    padding: .8rem 1.5rem;
    transition: background .15s ease, transform .1s ease;
    cursor: pointer;
}
.bk-cta-dark:hover { background: var(--ink-2); }
.bk-cta-dark:active { transform: translateY(1px); }

.bk-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 1px solid var(--rule);
    background: #fff;
    border-radius: .8rem;
    color: #475569;
    font-weight: 600;
    font-size: .92rem;
    padding: .8rem 1.15rem;
    transition: border-color .15s ease, color .15s ease;
    cursor: pointer;
}
.bk-ghost:hover { border-color: #cbd5e1; color: #0f172a; }

/* ---- sticky action bar (mobile) ----------------------------------------- */
.bk-actionbar {
    position: sticky;
    bottom: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--rule);
}
@media (min-width: 1024px) {
    .bk-actionbar { position: static; background: transparent; border-top: 0; backdrop-filter: none; }
}

/* ---- focus visibility --------------------------------------------------- */
.bkdoc :is(button, a, input, select, textarea):focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 2px;
}
