/* Bed waitlist (owner 4-Nov): public join + private link pages, the Rooms/room call-to-action, the admin list. */
.wl { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.wl-card { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wl-done { padding: 24px 16px; text-align: center; }
.wl-when { margin: 8px 0 0; font-size: 14px; color: var(--text-2); }
.wl-when--ok { color: var(--success-ink); }

/* Call-to-action on Rooms and the room page */
.wl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--accent-tint); }
.wl-cta__icon { display: inline-flex; width: 40px; height: 40px; border-radius: 999px; align-items: center; justify-content: center; background: var(--surface); color: var(--accent); flex: none; }
.wl-cta__body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 180px; min-width: 0; }
.wl-cta .btn { flex: 1 1 auto; }
.wl-cta--compact { padding: 12px; }

/* Room picker */
.wl-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.wl-room { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); text-align: left; font: inherit; cursor: pointer; min-width: 0; }
.wl-room.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-tint); }
.wl-room:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wl-more { border-top: 1px solid var(--line); padding-top: 12px; }
.wl-more summary { cursor: pointer; min-height: 44px; padding: 11px 0; font-weight: 600; }
.wl-more summary .t-faint { font-weight: 400; }
.wl-wait .chip[aria-checked="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.wl-more > .stack { margin-top: 8px; }
.wl-date { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.wl-date .pub-date { flex: 1 1 200px; }

/* Private link page */
.wl-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wl-summary { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.wl-break { overflow-wrap: anywhere; word-break: break-word; }

/* Admin */
.wl-admin { min-width: 0; }
.wl-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 700px) { .wl-counts { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.wl-count { display: flex; flex-direction: column; gap: 2px; padding: 10px; min-height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.wl-count b { font-size: 22px; }
.wl-count.is-on { border-color: var(--accent); background: var(--accent-tint); }
.wl-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.wl-filters .input, .wl-filters .select { min-width: 0; width: 100%; }
.wl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wl-row { display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.wl-row:first-child { border-top: 0; }
.wl-row__main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 240px; min-width: 0; }
.wl-row__main > * { overflow-wrap: anywhere; }
.t-danger { color: var(--danger-ink); }
