/* ============================================================
   Greek Library of London LMS — Visit booking
   public/css/visits.css

   Shared by the staff door screen, the schedule planner and the
   public/member booking flow. Everything is namespaced `v-`.
   ============================================================ */

/* ── Layout scaffolding ─────────────────────────────────── */
.v-stack       { display: flex; flex-direction: column; gap: var(--sp-5, 1.25rem); }
.v-row         { display: flex; flex-wrap: wrap; gap: var(--sp-3, .75rem); align-items: center; }
.v-row--between{ justify-content: space-between; }
.v-grow        { flex: 1 1 auto; }

.v-panel {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: var(--radius-lg, 12px);
    padding: var(--sp-4, 1rem);
}
.v-panel--flush { padding: 0; overflow: hidden; }
.v-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-2, .5rem);
    margin-bottom: var(--sp-3, .75rem);
}
.v-panel__title {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
}
.v-panel__sub {
    margin: 2px 0 0;
    font-size: .8rem;
    color: var(--color-text-muted, #6b7280);
}

/* ── Date strip ─────────────────────────────────────────── */
.v-datestrip {
    display: flex;
    gap: var(--sp-2, .5rem);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.v-datechip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 66px;
    padding: var(--sp-2, .5rem) var(--sp-3, .75rem);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    background: var(--color-surface, #fff);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, background .15s;
}
.v-datechip:hover { border-color: var(--color-accent, #1e3a5f); }
.v-datechip--active {
    background: var(--color-accent, #1e3a5f);
    border-color: var(--color-accent, #1e3a5f);
    color: #fff;
}
.v-datechip--past { opacity: .55; }
.v-datechip__dow  { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.v-datechip__day  { font-size: 1.05rem; font-weight: 700; line-height: 1.1; }
.v-datechip__meta { font-size: .66rem; opacity: .8; }

/* ── Occupancy headline ─────────────────────────────────── */
.v-occupancy {
    display: flex;
    align-items: center;
    gap: var(--sp-5, 1.25rem);
    flex-wrap: wrap;
}
.v-occupancy__figure {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 700;
    line-height: 1;
}
.v-occupancy__now   { font-size: 2.75rem; }
.v-occupancy__of    { font-size: 1.1rem; color: var(--color-text-muted, #6b7280); }
.v-occupancy__label { font-size: .8rem; color: var(--color-text-muted, #6b7280); margin-top: 6px; }
.v-occupancy__bar {
    flex: 1 1 240px;
    min-width: 180px;
    height: 12px;
    border-radius: 99px;
    background: var(--color-bg-subtle, #f3f4f6);
    overflow: hidden;
}
.v-occupancy__fill { height: 100%; border-radius: 99px; transition: width .3s ease; }
.v-occupancy--ok    .v-occupancy__fill { background: #22c55e; }
.v-occupancy--busy  .v-occupancy__fill { background: #f59e0b; }
.v-occupancy--full  .v-occupancy__fill { background: #ef4444; }
.v-occupancy--full  .v-occupancy__now  { color: #b91c1c; }

/* ── Alert strips ───────────────────────────────────────── */
.v-note {
    display: flex;
    gap: var(--sp-2, .5rem);
    align-items: flex-start;
    padding: var(--sp-3, .75rem) var(--sp-4, 1rem);
    border-radius: var(--radius-md, 8px);
    font-size: .85rem;
    line-height: 1.5;
    border: 1px solid transparent;
}
.v-note svg { flex-shrink: 0; margin-top: 2px; }
/* [hidden] has to beat the display rule above, or the chosen-window
   summary sits there as an empty green box until something is picked. */
.v-note[hidden] { display: none; }
.v-note--info   { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.v-note--warn   { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.v-note--danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.v-note--ok     { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.v-note--muted  { background: var(--color-bg-subtle, #f9fafb); border-color: var(--color-border, #e5e7eb); color: var(--color-text-muted, #6b7280); }

/* ── Person rows (door lists) ───────────────────────────── */
.v-people { display: flex; flex-direction: column; }
.v-person {
    display: flex;
    align-items: center;
    gap: var(--sp-3, .75rem);
    padding: var(--sp-3, .75rem) var(--sp-4, 1rem);
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    flex-wrap: wrap;
}
.v-person:last-child { border-bottom: 0; }
.v-person--muted { opacity: .55; }
.v-person__main { flex: 1 1 180px; min-width: 0; }
.v-person__name {
    font-weight: 600;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.v-person__meta {
    font-size: .76rem;
    color: var(--color-text-muted, #6b7280);
    margin-top: 2px;
}
.v-person__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.v-person__actions form { display: inline; }

/* ── Column layout for the door screen ──────────────────── */
.v-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-4, 1rem);
    align-items: start;
}

/* ── Timeline ───────────────────────────────────────────── */
.v-timeline {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    overflow-x: auto;
    padding-bottom: 4px;
}
.v-timeline__slot {
    flex: 1 0 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.v-timeline__track {
    width: 100%;
    height: 56px;
    background: var(--color-bg-subtle, #f3f4f6);
    border-radius: 3px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.v-timeline__fill { width: 100%; background: #22c55e; transition: height .3s; }
.v-timeline__fill--busy { background: #f59e0b; }
.v-timeline__fill--full { background: #ef4444; }
.v-timeline__slot--event .v-timeline__track {
    background: repeating-linear-gradient(45deg, #ede9fe, #ede9fe 4px, #f5f3ff 4px, #f5f3ff 8px);
}
.v-timeline__label {
    font-size: .6rem;
    color: var(--color-text-muted, #6b7280);
    white-space: nowrap;
}

/* ── Planner grid ───────────────────────────────────────── */
.v-planner {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}
.v-planner__dow {
    text-align: center;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
    color: var(--color-text-muted, #6b7280);
    padding-bottom: 2px;
}
.v-day {
    display: block;
    min-height: 92px;
    padding: 6px 7px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    background: var(--color-surface, #fff);
    text-decoration: none;
    color: inherit;
    font-size: .75rem;
    transition: border-color .15s, box-shadow .15s;
}
.v-day:hover { border-color: var(--color-accent, #1e3a5f); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.v-day__num  { font-weight: 700; font-size: .9rem; }
.v-day__mon  { font-size: .62rem; color: var(--color-text-muted, #6b7280); text-transform: uppercase; letter-spacing: .04em; }
.v-day__body { margin-top: 5px; display: flex; flex-direction: column; gap: 3px; }
.v-day__line { font-size: .68rem; color: var(--color-text-muted, #6b7280); line-height: 1.3; }
.v-day--open      { border-color: #86efac; background: #f0fdf4; }
.v-day--candidate { border-style: dashed; background: var(--color-bg-subtle, #fafafa); }
.v-day--cancelled { border-color: #fecaca; background: #fef2f2; }
.v-day--closed    { opacity: .45; }
.v-day--past      { opacity: .5; }
.v-day--today     { box-shadow: 0 0 0 2px var(--color-accent, #1e3a5f); }

.v-daytag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 99px;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.v-daytag--open      { background: #dcfce7; color: #166534; }
.v-daytag--candidate { background: #fef3c7; color: #92400e; }
.v-daytag--cancelled { background: #fee2e2; color: #991b1b; }

/* ── Arrival window picker (public + staff) ─────────────── */
.v-windows {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: var(--sp-2, .5rem);
}
.v-window {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--sp-3, .75rem) var(--sp-2, .5rem);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    background: var(--color-surface, #fff);
    font-family: inherit;
    font-size: .82rem;
    cursor: pointer;
    text-align: center;
    transition: border-color .15s, background .15s, box-shadow .15s;
    width: 100%;
}
.v-window:hover:not(:disabled) { border-color: #4ade80; background: #f0fdf4; }
.v-window__time  { font-weight: 700; font-size: .92rem; }
.v-window__until { font-size: .68rem; color: var(--color-text-muted, #6b7280); }
.v-window__left  { font-size: .64rem; color: #166534; font-weight: 600; }
.v-window--selected {
    border-color: var(--color-accent, #1e3a5f);
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(30, 58, 95, .12);
}
.v-window--short .v-window__until { color: #92400e; }
.v-window:disabled,
.v-window--full {
    cursor: not-allowed;
    background: var(--color-bg-subtle, #f9fafb);
    color: var(--color-text-muted, #9ca3af);
    border-style: dashed;
}
.v-window--full .v-window__left { color: #991b1b; }

/* ── Event chips ────────────────────────────────────────── */
.v-event {
    display: flex;
    align-items: center;
    gap: var(--sp-3, .75rem);
    padding: var(--sp-2, .5rem) var(--sp-3, .75rem);
    border-radius: var(--radius-md, 8px);
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    font-size: .82rem;
}
.v-event__time { font-weight: 700; color: #5b21b6; white-space: nowrap; }
.v-event__body { flex: 1 1 auto; min-width: 0; }
.v-event__note { font-size: .72rem; color: #6d28d9; }

/* Sign-up link under an event (staff day view) */
.v-signup {
    margin-top: -4px;
    padding: var(--sp-3, .75rem);
    border: 1px solid #ddd6fe;
    border-top: 0;
    border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
    font-size: .82rem;
}
.v-signup__head { display: flex; align-items: center; gap: var(--sp-2, .5rem); margin-bottom: var(--sp-2, .5rem); }
.v-signup__link { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2, .5rem); }
.v-signup__link input { flex: 1 1 260px; min-width: 0; font-size: .78rem; }
.v-signup__list { margin: var(--sp-3, .75rem) 0 0; padding-left: 1.4rem; line-height: 1.7; }
.v-signup__list .is-cancelled { text-decoration: line-through; color: var(--color-text-muted, #6b7280); }

/* Public event sign-up page */
.v-event-hero__type {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6d28d9;
    margin-bottom: var(--sp-2, .5rem);
}

/* ── Small helpers ──────────────────────────────────────── */
.v-muted   { color: var(--color-text-muted, #6b7280); }
.v-tiny    { font-size: .72rem; }
.v-nowrap  { white-space: nowrap; }
.v-empty {
    padding: var(--sp-6, 1.5rem) var(--sp-4, 1rem);
    text-align: center;
    color: var(--color-text-muted, #6b7280);
    font-size: .85rem;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .v-planner { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
    .v-day { min-height: 64px; padding: 4px; }
    .v-day__line, .v-daytag { display: none; }
    .v-day__mon { display: none; }
    .v-occupancy__now { font-size: 2.1rem; }
    .v-person { align-items: flex-start; }
    .v-person__actions { width: 100%; }
}

/* ============================================================
   "Visit us" — the public location page (namespaced `vu-`)

   Two inline SVG drawings do the heavy lifting here: a street map
   projected from OpenStreetMap geometry, and a flat elevation of
   the building. Both are styled from these variables, so the map
   follows the brand rather than a tile server's palette.
   ============================================================ */
.vu {
    --vu-map-bg:     #eaecf2;
    --vu-map-road:   #ffffff;
    --vu-map-casing: #dce0ea;
    --vu-map-block:  #dfe2ea;
    --vu-line:       var(--o-border, #e6e8ef);
    --vu-surface:    var(--o-surface, #fff);
    --vu-text:       var(--o-text, #111827);
    --vu-soft:       var(--o-text-soft, #374151);
    --vu-muted:      var(--o-muted, #6b7280);
    --vu-accent:     var(--o-accent, #d90a2c);
    --vu-navy:       var(--o-navy, #00378F);
}

.vu-icon { flex: 0 0 auto; }

/* Nothing on this page dips below a 44px target or 16px body text. */
.vu .btn {
    padding: 0.78rem 1.3rem;
    font-size: 0.92rem;
    border-radius: var(--o-radius-full, 999px);
}
.vu .btn:focus-visible {
    outline: 3px solid var(--vu-accent);
    outline-offset: 2px;
}
.vu-btn--lg   { padding: 0.95rem 1.9rem; font-size: 1rem; }
.vu-btn--block{ width: 100%; }

/* ── Hero ───────────────────────────────────────────────── */
.vu-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 3rem;
    align-items: center;
    padding-block: 3rem 2.5rem;
}

.vu-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--vu-accent);
}
.vu-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--vu-accent);
}

.vu-h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--vu-text);
}
.vu-lede {
    margin: 1.1rem 0 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--vu-soft);
    max-width: 46ch;
}

.vu-address {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin: 1.6rem 0 0;
    padding: 1rem 1.1rem;
    background: var(--vu-surface);
    border: 1px solid var(--vu-line);
    border-radius: var(--o-radius, 14px);
    font-style: normal;
    box-shadow: var(--o-shadow-sm, 0 1px 3px rgba(17, 19, 24, .06));
}
.vu-address__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--o-accent-soft, rgba(217, 10, 44, .08));
    color: var(--vu-accent);
}
.vu-address strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--vu-text);
}
.vu-address__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.45rem 1rem 0 0;
    font-size: 0.9rem;
    color: var(--vu-soft);
    text-decoration: none;
}
.vu-address__link:hover { color: var(--vu-accent); text-decoration: underline; }

.vu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}
.vu-hint {
    margin: 0.9rem 0 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--vu-muted);
    max-width: 52ch;
}
.vu-hint__sep { opacity: .5; }

/* ── The map ────────────────────────────────────────────── */
/* Grid and flex children default to min-width:auto, which would let
   the map's 600px minimum push the whole grid track — and the page —
   wider than the viewport. These keep the overflow inside the map. */
.vu-hero__intro,
.vu-map,
.vu-front,
.vu-steps { min-width: 0; }

.vu-map { margin: 0; }
.vu-map__scroll {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--vu-line);
    border-radius: var(--o-radius, 14px);
    background: var(--vu-map-bg);
    box-shadow: var(--o-shadow-sm, 0 1px 3px rgba(17, 19, 24, .06));
}
/* Below this width the labels stop being readable, so the map pans
   sideways instead of shrinking into illegibility. */
.vu-map__svg { display: block; width: 100%; min-width: 600px; height: auto; }

.vu-map__casing    { stroke: var(--vu-map-casing); }
.vu-map__road      { stroke: var(--vu-map-road); }
.vu-map__buildings { fill: var(--vu-map-block); stroke: #d5d9e3; stroke-width: 0.8; }

/* KOKO is the landmark everyone knows on that corner, so it gets a
   tint of its own; our footprint gets the accent. */
.vu-map__koko { fill: #dcdfe8; stroke: #c3c8d4; stroke-width: 1; }
.vu-map__ours {
    fill: var(--o-accent-soft, rgba(217, 10, 44, .08));
    stroke: var(--vu-accent);
    stroke-width: 2;
}
.vu-map__koko-label { font-size: 14px; font-weight: 600; fill: #6b7280; }

.vu-map__svg text {
    font-family: var(--font-body, sans-serif);
    paint-order: stroke;
    stroke: var(--vu-map-bg);
    stroke-width: 4;
    stroke-linejoin: round;
}
/* Street names sit on the carriageway itself via <textPath>, so they
   need no halo — the road under them is already white. */
.vu-map__street text {
    font-size: 14px;
    font-weight: 600;
    fill: #8b93a3;
    letter-spacing: 0.02em;
    stroke: none;
    dominant-baseline: middle;
}
.vu-map__sub { font-size: 14px; fill: var(--vu-muted); font-weight: 500; }

.vu-map__chip rect { fill: var(--vu-surface); stroke: #d6dae4; stroke-width: 1; }
.vu-map__chip text { font-size: 15px; font-weight: 600; fill: var(--vu-soft); stroke: none; }

.vu-map__bus-dot   { fill: var(--vu-navy); }
.vu-map__bus-art   { fill: #fff; }
.vu-map__bus-art rect:nth-of-type(2) { fill: var(--vu-navy); }
.vu-map__bus-label { font-size: 14px; font-weight: 600; fill: var(--vu-navy); }

.vu-map__station       { color: var(--vu-navy); stroke: currentColor; fill: currentColor; }
.vu-map__station-label { font-size: 16px; font-weight: 600; fill: var(--vu-text); }

.vu-map__pin     { fill: var(--vu-accent); }
.vu-map__pin-dot { fill: #fff; }
.vu-map__here-label text:first-child {
    font-size: 17px;
    font-weight: 700;
    fill: var(--vu-text);
}

.vu-map__scale path { stroke: #8b93a3; stroke-width: 1.5; fill: none; }
.vu-map__scale text { font-size: 13px; font-weight: 600; fill: #7b8394; }
.vu-map__compass path { fill: #8b93a3; stroke: none; }
.vu-map__compass text { font-size: 15px; font-weight: 700; fill: #7b8394; }

.vu-map__caption {
    margin: 0.7rem 0 0;
    font-size: 0.8rem;
    color: var(--vu-muted);
    text-align: right;
}

/* ── Sections ───────────────────────────────────────────── */
.vu-section {
    padding-block: 2.6rem;
    border-top: 1px solid var(--vu-line);
}
.vu-section__head { margin-bottom: 1.6rem; }
.vu-h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--vu-text);
}
.vu-section__sub {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.7rem 0 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--vu-soft);
    max-width: 68ch;
}
.vu-section__sub .vu-icon { margin-top: 0.22rem; color: var(--vu-accent); }

/* ── Stations ───────────────────────────────────────────── */
/* One card per station: the grid reflows from three across to one
   without the rows ever turning into a wall of text. */
.vu-stations {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* 320px lands on three across at desktop widths, so five stations
       read as 3 + 2 rather than a lone card stranded on its own row. */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0.8rem;
}
.vu-station {
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.2rem;
    background: var(--vu-surface);
    border: 1px solid var(--vu-line);
    border-radius: var(--o-radius, 14px);
    transition: border-color var(--ease), box-shadow var(--ease);
}
.vu-station:hover {
    border-color: #d6dae4;
    box-shadow: var(--o-shadow-sm, 0 1px 3px rgba(17, 19, 24, .06));
}
.vu-station__top {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.vu-station__mode {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--o-navy-soft, rgba(0, 55, 143, .08));
    color: var(--vu-navy);
}
.vu-station__top p  { margin: 0; }
.vu-station__name   { font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--vu-text); }
.vu-station__lines  { margin-top: 3px; font-size: 0.82rem; line-height: 1.45; color: var(--vu-muted); }

/* margin-top:auto keeps every card's footer on the same baseline even
   when a station name wraps onto two lines. */
.vu-station__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--o-border-soft, #f0f1f5);
}
.vu-station__top { margin-bottom: 0.9rem; }
.vu-walk {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vu-text);
    white-space: nowrap;
}
.vu-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}
.vu-badge--ok   { background: var(--color-green-soft, rgba(22, 163, 74, .09)); color: #15803d; }
.vu-badge--warn { background: var(--color-amber-soft, rgba(217, 119, 6, .09)); color: #b45309; }

/* ── Cards ──────────────────────────────────────────────── */
.vu-duo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.9rem;
    margin-top: 0.9rem;
}
.vu-card {
    padding: 1.2rem 1.3rem;
    background: var(--vu-surface);
    border: 1px solid var(--vu-line);
    border-radius: var(--o-radius, 14px);
}
.vu-card__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--vu-text);
}
.vu-card__title .vu-icon { color: var(--vu-accent); }
.vu-card__body { margin: 0; font-size: 0.94rem; line-height: 1.65; color: var(--vu-soft); }
.vu-card__foot { margin: 0.7rem 0 0; font-size: 0.84rem; line-height: 1.6; color: var(--vu-muted); }

/* ── Finding the door ───────────────────────────────────── */
.vu-door {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}
.vu-front { margin: 0; }
.vu-front__svg,
.vu-front__photo {
    display: block;
    width: 100%;
    height: auto;
    background: var(--vu-surface);
    border: 1px solid var(--vu-line);
    border-radius: var(--o-radius, 14px);
}
.vu-front__photo { object-fit: cover; max-height: 420px; }
.vu-front__caption { margin: 0.7rem 0 0; font-size: 0.8rem; color: var(--vu-muted); }

.vu-front__outline { fill: none; stroke: #d3d8e3; stroke-width: 1.6; }
.vu-front__windows rect { fill: #f4f5f9; stroke: #d3d8e3; stroke-width: 1.4; }
.vu-front__windows rect.vu-front__win--ours { fill: #fff; stroke: var(--vu-accent); stroke-width: 1.8; }
.vu-front__ours {
    fill: var(--o-accent-soft, rgba(217, 10, 44, .08));
    stroke: var(--vu-accent);
    stroke-width: 1.6;
    stroke-dasharray: 5 4;
}
.vu-front__neighbour rect { fill: #f4f5f9; stroke: #d3d8e3; stroke-width: 1.4; }
.vu-front__bays rect { fill: #f8f9fb; stroke: #d3d8e3; stroke-width: 1.4; }
.vu-front__bays path { fill: none; stroke: #d3d8e3; stroke-width: 1.2; }

/* The door is the one thing on this drawing anyone is looking for, so
   it is the one thing carrying the accent. */
.vu-front__door rect   { fill: var(--vu-accent); stroke: none; }
.vu-front__door path   { stroke: rgba(255, 255, 255, .7); stroke-width: 1.4; fill: none; }
.vu-front__door circle { fill: var(--vu-accent); }
.vu-front__door rect.vu-front__reveal { fill: #eceef4; stroke: #d3d8e3; stroke-width: 1.4; }
.vu-front__door rect.vu-front__buzzer { fill: #fff; stroke: var(--vu-accent); stroke-width: 1.4; }
.vu-front__door path.vu-front__shutter { stroke: rgba(255, 255, 255, .45); stroke-width: 1.1; }
.vu-front__callout path { stroke: var(--vu-accent); stroke-width: 2; fill: none; stroke-linecap: round; }

.vu-front__svg text { font-family: var(--font-body, sans-serif); }
.vu-front__floor    { font-size: 15px; font-weight: 600; fill: var(--vu-accent); }
.vu-front__fascia text { font-size: 13px; font-weight: 600; fill: #7b8394; letter-spacing: 0.05em; }
.vu-front__tag      { font-size: 12px; font-weight: 600; fill: #7b8394; }
.vu-front__callout text { font-size: 17px; font-weight: 700; fill: var(--vu-accent); }

.vu-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.vu-step  { display: flex; gap: 0.9rem; align-items: flex-start; }
.vu-step__num {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--vu-navy);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
}
.vu-step__title { margin: 0.25rem 0 0; font-size: 1.02rem; font-weight: 600; color: var(--vu-text); }
.vu-step__body  { margin: 0.3rem 0 0; font-size: 0.94rem; line-height: 1.65; color: var(--vu-soft); }

/* ── Accessibility ──────────────────────────────────────── */
.vu-access {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}
.vu-access__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.vu-access__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1.1rem;
    background: var(--vu-surface);
    border: 1px solid var(--vu-line);
    border-radius: var(--o-radius, 14px);
}
.vu-access__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: var(--o-navy-soft, rgba(0, 55, 143, .08));
    color: var(--vu-navy);
}
.vu-access__t { margin: 0.1rem 0 0; font-size: 0.98rem; font-weight: 600; color: var(--vu-text); }
.vu-access__b { margin: 0.25rem 0 0; font-size: 0.92rem; line-height: 1.6; color: var(--vu-soft); }

.vu-ask {
    padding: 1.4rem 1.5rem;
    border-radius: var(--o-radius, 14px);
    background: var(--vu-navy);
    color: #fff;
}
.vu-ask__title { margin: 0 0 0.6rem; font-size: 1.1rem; font-weight: 700; }
.vu-ask__body  { margin: 0 0 1.2rem; font-size: 0.94rem; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.vu-ask .btn--primary { background: #fff; color: var(--vu-navy); border-color: #fff; }
.vu-ask .btn--primary:hover { background: rgba(255, 255, 255, .88); color: var(--vu-navy); }
.vu-ask .btn:focus-visible { outline-color: #fff; }
.vu-ask__email {
    margin: 0.8rem 0 0;
    font-size: 0.84rem;
    text-align: center;
    color: rgba(255, 255, 255, .75);
    word-break: break-all;
}

/* ── Open days ──────────────────────────────────────────── */
.vu-open__label {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--vu-muted);
}
.vu-days {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.7rem;
}
.vu-day {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0.9rem 1rem;
    background: var(--vu-surface);
    border: 1px solid var(--vu-line);
    border-radius: var(--o-radius, 14px);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.vu-day:hover {
    border-color: var(--vu-accent);
    box-shadow: var(--o-shadow-sm, 0 1px 3px rgba(17, 19, 24, .06));
}
.vu-day--full { opacity: .62; }
.vu-day__dow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vu-muted);
}
.vu-day__num   { font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: var(--vu-text); }
.vu-day__mon   { font-size: 0.82rem; color: var(--vu-muted); }
.vu-day__hours { margin-top: 0.45rem; font-size: 0.86rem; font-weight: 600; color: var(--vu-soft); }
.vu-day__free  { font-size: 0.8rem; color: var(--vu-accent); font-weight: 600; }
.vu-day--full .vu-day__free { color: var(--vu-muted); }

.vu-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--vu-accent);
    text-decoration: none;
}
.vu-inline-link:hover { text-decoration: underline; }
.vu-empty { margin: 0; font-size: 0.96rem; color: var(--vu-muted); }

/* ── Closing call to action ─────────────────────────────── */
.vu-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    margin: 2.6rem 0 3.5rem;
    padding: 2rem 2.2rem;
    border-radius: var(--o-radius, 14px);
    background: var(--vu-surface);
    border: 1px solid var(--vu-line);
    box-shadow: var(--o-shadow-md, 0 6px 18px rgba(17, 19, 24, .08));
}
.vu-cta__title { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--vu-text); }
.vu-cta__body  { margin: 0.5rem 0 0; font-size: 0.96rem; line-height: 1.6; color: var(--vu-soft); max-width: 52ch; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1000px) {
    .vu-hero   { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem 1.5rem; }
    .vu-door   { grid-template-columns: 1fr; gap: 1.6rem; }
    .vu-access { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .vu-actions .btn { flex: 1 1 100%; }
    .vu-cta { padding: 1.5rem 1.3rem; }
    .vu-cta .btn { width: 100%; }
    .vu-map__caption { text-align: left; }
}

/* Honour a reduced-motion preference: the only transitions here are
   colour and shadow, but they go too. */
@media (prefers-reduced-motion: reduce) {
    .vu-day, .vu-station, .vu .btn { transition: none; }
}

/* ── Actions on one of my bookings (member portal) ──────── */
/* "Book a different time" + "Cancel" beside a visit in
   member/visits.php. Side by side where there is room, stacked
   full-width on a phone — two small buttons squeezed onto one line
   next to a date is where the change link became untappable. */
.v-booking-actions {
    display: flex;
    gap: var(--sp-2, .5rem);
    flex-shrink: 0;
}
.v-booking-actions form { margin: 0; }

@media (max-width: 560px) {
    .v-booking-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: var(--sp-3, .75rem);
    }
    .v-booking-actions .btn { width: 100%; justify-content: center; }
}

/* ── Booked count on a date chip ─────────────────────────
   The strip is the first thing a volunteer looks at, so each
   date carries how many people are on the books for it. Zero
   is drawn faintly rather than hidden: an empty day and a day
   nobody has looked at yet should not look the same. */
.v-datechip__count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1.5;
    background: var(--color-surface-alt, #f3f4f6);
    color: var(--color-text-muted, #6b7280);
}
.v-datechip__count--none { opacity: .5; }
.v-datechip__count--full {
    background: var(--color-danger-soft, #fee2e2);
    color: var(--color-danger, #b91c1c);
}
.v-datechip--active .v-datechip__count {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

/* ── A long "Expected" list ──────────────────────────────
   Five people is about as much as the door screen can show
   before the other two columns are pushed off the fold, so the
   rest scroll inside the panel. */
.v-people--capped {
    max-height: 21rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ================================================================
   REQUEST TO VIEW — a special-collection item carried over from
   /collection into the booking form, and listed back on the
   confirmation page.

   These live here rather than in collection.css because the pages
   that show them are visit pages: layouts/public.php loads
   collection.css only for activePage 'collection', so a rule for
   the booking form would never have arrived. `v-` prefixed, like
   everything else in this file.
   ================================================================ */
.v-asking {
    background: var(--color-navy-soft);
    border: 1px solid rgba(0,55,143,.25);
    border-radius: var(--radius-lg);
    padding: var(--sp-4) var(--sp-5);
    margin-bottom: var(--sp-5);
}
.v-asking__label {
    font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--color-navy);
    margin-bottom: var(--sp-2);
}
.v-asking__title { font-weight: 700; color: var(--color-ink); line-height: 1.35; }
.v-asking__meta  { font-size: .87rem; color: var(--color-muted); margin-top: var(--sp-1); }
.v-asking__note  { font-size: .87rem; color: var(--color-text-soft); margin-top: var(--sp-3); }
.v-asking__actions {
    display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3);
}

/* The items already on a booking, on the confirmation page. */
.v-asked { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
.v-asked__row {
    display: flex; justify-content: space-between; gap: var(--sp-4);
    padding: var(--sp-3) var(--sp-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.v-asked__title { font-weight: 600; color: var(--color-ink); }
.v-asked__meta  { font-size: .85rem; color: var(--color-muted); }
.v-asked__call  {
    font-size: .78rem; color: var(--color-muted);
    font-variant-numeric: tabular-nums; white-space: nowrap;
}
