/* Booking card additions (2026-11-09). "What's on" night step (card-booking.js eventNightChoices): one row per published
   night with its flyer, date, name and time. Staging and the official sites. Loads just before
   design-borrow.css and replaces the 7-column date grid only when the list is shown (.night-events). */
html[data-venue] #room .night-choices.night-events{display:flex;flex-direction:column;gap:0;overflow:visible;margin:0 0 6px;padding:0;border-top:1px solid var(--line)}
html[data-venue] #room .night-choices.night-events [role=radio]{position:relative;display:grid;grid-template-columns:44px 48px minmax(0,1fr);align-items:center;gap:14px;flex:none;width:100%;min-width:0;min-height:72px;padding:10px 4px 10px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background-color .25s ease}
html[data-venue] #room .night-events img,html[data-venue] #room .night-events i{display:block;width:44px;height:56px;object-fit:cover;background:color-mix(in srgb,currentColor 10%,transparent)}
html[data-venue] #room .night-events .ne-date{display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1}
html[data-venue] #room .night-events .ne-date small{font:600 10px/1.2 var(--body);letter-spacing:.12em;text-transform:uppercase;opacity:.72}
html[data-venue] #room .night-events .ne-date strong{font:400 24px/1.05 var(--display);font-variant-numeric:tabular-nums}
html[data-venue] #room .night-events .ne-text{display:flex;flex-direction:column;gap:3px;min-width:0}
html[data-venue] #room .night-events .ne-text b{overflow:hidden;font:500 16px/1.25 var(--body);text-overflow:ellipsis;white-space:nowrap}
html[data-venue] #room .night-events .ne-text small{font:500 12px/1.3 var(--body);letter-spacing:.06em;opacity:.72}
/* The chosen night: the venue's control colour on a 3px edge and its name, with a faint wash. */
html[data-venue] #room .night-events [role=radio]::before{content:"";position:absolute;left:-14px;top:10px;bottom:10px;width:3px;background:var(--venue-control,currentColor);transform:scaleY(0);transition:transform .3s cubic-bezier(.16,1,.3,1)}
html[data-venue] #room .night-events [role=radio]:hover{background:color-mix(in srgb,currentColor 5%,transparent)}
html[data-venue] #room .night-events [aria-checked=true]{background:color-mix(in srgb,var(--venue-control,currentColor) 10%,transparent);color:inherit;border-color:var(--line)}
html[data-venue] #room .night-events [aria-checked=true]::before{transform:scaleY(1)}
html[data-venue] #room .night-events [aria-checked=true] :is(.ne-text b,.ne-date strong){color:var(--venue-control,currentColor)}
html[data-venue] #room .night-events [role=radio]:focus-visible{outline:2px solid var(--venue-control-focus,currentColor);outline-offset:-2px}
@media(max-width:480px){html[data-venue] #room .night-choices.night-events [role=radio]{grid-template-columns:40px 42px minmax(0,1fr);gap:12px;min-height:68px}html[data-venue] #room .night-events :is(img,i){width:40px;height:52px}}
@media(prefers-reduced-motion:reduce){html[data-venue] #room .night-events [role=radio],html[data-venue] #room .night-events [role=radio]::before{transition:none}}
html[data-motion=off] #room .night-events [role=radio],html[data-motion=off] #room .night-events [role=radio]::before{transition:none}

/* "3 tables left" (tables-left.js, 2026-11-15): one small line under a listed night when the server says it is nearly full
   or sold out. 12px like the row's own small text, the venue's control colour when nearly full, the card's muted ink
   when sold out (a sold-out night stays selectable). No animation. */
html[data-venue] #room .night-events .night-left{align-self:flex-start;max-width:100%;overflow:hidden;font:600 12px/1.3 var(--body);letter-spacing:.08em;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;color:var(--venue-control,currentColor)}
html[data-venue] #room .night-events .night-left.is-out{color:var(--muted,currentColor)}

/* "Send to your group" (card-booking.js shareMarkup, 2026-11-09): one quiet text button under the
   booking summary, the same plain underline language as the rest of the card. */
html[data-venue] #room .card-share{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin:-12px 0 22px}
html[data-venue] #room .card-share[hidden]{display:none}
html[data-venue] #room .card-share-button{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;border-radius:0;background:none;color:var(--venue-control,currentColor);font:600 13px/1.2 var(--body);letter-spacing:.04em;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;cursor:pointer}
html[data-venue] #room .card-share-button:hover{text-decoration-thickness:2px}
html[data-venue] #room .card-share-button:focus-visible{outline:2px solid var(--venue-control-focus,currentColor);outline-offset:4px}
html[data-venue] #room .card-share-note{font:500 12px/1.4 var(--body);opacity:.8;overflow-wrap:anywhere}
html[data-venue] #room .card-share-note:empty{display:none}

/* "Text a host to book this table" (text-host.js, 2026-11-19): one quiet line under the form on steps 1 to 3, the
   same plain underline language as the share button above. */
html[data-venue] #room .card-host{margin:18px 0 0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
html[data-venue] #room .card-host-link{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;border-radius:0;background:none;color:var(--venue-control,currentColor);font:600 13px/1.2 var(--body);letter-spacing:.04em;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;cursor:pointer}
html[data-venue] #room .card-host-link:hover{text-decoration-thickness:2px}
html[data-venue] #room .card-host-link:focus-visible{outline:2px solid var(--venue-control-focus,currentColor);outline-offset:4px}
html[data-venue] #room .card-host-note{font:500 12px/1.4 var(--body);opacity:.8}
