/* space-live-room.css — a space's Live tab and the host's live room (js/space-live-room.js).
 *
 * Approved design: docs/projects/dau-50/spaces-design/project/HostLive.dc.html.
 * Tokens only (css/design-tokens.css). The room is dark: its shades are mixed from
 * --text (the darkest ink) and --surface, so a token change moves the room too.
 * Mobile first: on a phone the host panel sits under the stage.
 */

/* ── In the space (inside #route-spaces) ─────────────────────────── */
#route-spaces .slr-next-body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
#route-spaces .slr-next-title { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; }
#route-spaces .slr-chips { display: flex; gap: 6px; flex-wrap: wrap; }
#route-spaces .slr-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
#route-spaces .slr-free, .slr-room .slr-free { color: var(--text-3); font-size: 12.5px; }
#route-spaces .slr-free a { color: var(--accent); font-weight: 600; }
/* R4-5: a session longer than the free plan runs, said on its own row. */
#route-spaces .slr-overlen { margin-top: 6px; padding: 8px 10px; border-radius: 9px; background: var(--warn-soft); color: var(--warn); font-size: 13px; line-height: 1.45; }
#route-spaces .slr-overshort { color: var(--warn); font-weight: 600; }
#route-spaces .slr-overlen a { color: inherit; font-weight: 600; text-decoration: underline; }

/* ── The room ────────────────────────────────────────────────────── */
/* [hidden] must win over the display rules below (flex/grid would show it). */
.slr-room [hidden] { display: none !important; }
body.slr-open { overflow: hidden; }
/* Review of round one (21 Oct): every toast was drawn UNDER the live room. window.showToast (contacts.js, z-index
   10001) and subpages.js's own (100010) both sit below .slr-room (100050), so "Screen sharing did not start", a
   blocked "See what members see" tab and the host link's failure were never seen. While a room is open its toasts
   sit above it. Both toasts carry [data-cb-toast]; #mm-toast is the Message Centre's fallback when there is none. */
body.slr-open [data-cb-toast], body.slr-open #mm-toast { z-index: 100070 !important; }
.slr-room {
  --slr-bg: var(--text);
  --slr-tile: color-mix(in srgb, var(--text) 86%, var(--surface));
  --slr-tile-2: color-mix(in srgb, var(--text) 78%, var(--surface));
  --slr-line: color-mix(in srgb, var(--text) 70%, var(--surface));
  --slr-ink: var(--surface-2);
  --slr-dim: color-mix(in srgb, var(--surface) 62%, var(--text));
  /* Above the floating help button and the account-manager rail (the room is
     the whole screen while you are live); CBSheet lifts itself above this. */
  position: fixed; inset: 0; z-index: 100050;
  display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 46vh);
  background: var(--slr-bg); color: var(--slr-ink);
  font-family: Inter, system-ui, sans-serif;
}
.slr-room .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.slr-room .p-good { background: var(--good-soft); color: var(--good); }
.slr-room .p-acc  { background: var(--accent-soft); color: var(--accent-deep); }
.slr-room .p-warn { background: var(--warn-soft); color: var(--warn); }
.slr-room .p-mut  { background: var(--surface-3); color: var(--text-2); }

.slr-main { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px; min-width: 0; min-height: 0; }

.slr-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.slr-livepill { background: var(--danger); color: var(--surface); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.slr-title { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slr-sub, .slr-dim { color: var(--slr-dim); font-size: 13px; }
.slr-limit { margin-left: auto; background: var(--warn-soft); color: var(--warn); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.slr-warn { border-radius: 10px; padding: 10px 14px; font-size: 13.5px; background: var(--warn-soft); color: var(--warn); }
.slr-warn a { color: inherit; font-weight: 700; text-decoration: underline; }
/* The free plan's monthly minutes, shown the whole time a free coach broadcasts (Alex, 2 Oct 2026). */
.slr-pool { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-radius: 10px; padding: 8px 10px 8px 14px; font-size: 13.5px; font-weight: 600; background: var(--accent-soft); color: var(--accent-deep); }
.slr-pool[hidden] { display: none; }
.slr-pool span { flex: 1 1 200px; min-width: 0; }
.slr-pool.slr-pool-warn { background: var(--warn-soft); color: var(--warn); }
.slr-pool-btn { flex: none; border: 0; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; cursor: pointer; background: var(--accent); color: var(--surface); min-height: 36px; }

.slr-stage { flex: 1; min-height: 0; display: grid; grid-template-rows: minmax(0, 2fr) auto; gap: 8px; position: relative; }
.slr-tile { background: var(--slr-tile); border-radius: 14px; position: relative; overflow: hidden; min-height: 0; display: flex; align-items: center; justify-content: center; }
.slr-tile video { width: 100%; height: 100%; object-fit: cover; background: var(--slr-tile); }
.slr-host video { transform: scaleX(-1); }
.slr-name { position: absolute; left: 10px; bottom: 8px; font-size: 12px; background: color-mix(in srgb, var(--text) 55%, transparent); color: var(--slr-ink); padding: 3px 9px; border-radius: 6px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slr-guests { display: none; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.slr-guests.has { display: grid; }
.slr-guests .slr-tile { aspect-ratio: 16 / 10; background: var(--slr-tile-2); }
/* R4-16 — the gallery (Zoom Meetings): the host is one tile among equals, every
   person has a tile, and a camera that is off shows the person's initial. */
.slr-tile .slr-ini { display: none; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font: 700 26px Inter, sans-serif; align-items: center; justify-content: center; }
.slr-guests .slr-tile:not(.has-video) .slr-ini { display: inline-flex; }
.slr-guests .slr-tile:not(.has-video) video { display: none; }
.slr-stage.slr-gallery { display: grid; grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); align-content: stretch; }
.slr-stage.slr-gallery[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.slr-stage.slr-gallery .slr-guests, .slr-stage.slr-gallery .slr-guests.has { display: contents; }
.slr-stage.slr-gallery .slr-tile { aspect-ratio: auto; min-height: 90px; }
.slr-stage.slr-gallery .slr-inroom { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .slr-stage.slr-gallery[data-n="3"], .slr-stage.slr-gallery[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slr-stage.slr-gallery[data-n="5"], .slr-stage.slr-gallery[data-n="6"], .slr-stage.slr-gallery[data-n="7"],
  .slr-stage.slr-gallery[data-n="8"], .slr-stage.slr-gallery[data-n="9"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slr-stage.slr-gallery[data-n="many"] { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: minmax(120px, 1fr); overflow-y: auto; }
}
/* R6 (2 Oct): once the shared gallery layout (js/live-gallery.js) has loaded it
   places every tile itself, Zoom's way: all one 16:9 size, a short last row
   centred, Pin. The grid rules above are only what shows if it never loads. */
.slr-stage.lg-box { display: block; }
.slr-stage.lg-box .slr-guests, .slr-stage.lg-box .slr-guests.has { display: contents !important; }
.slr-stage.lg-box .slr-tile { aspect-ratio: auto; }
.slr-bo-banner {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: var(--surface); color: var(--text); border-radius: 12px; padding: 8px 14px;
  font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  max-width: calc(100% - 20px); justify-content: center;
}
.slr-bo-banner a { color: var(--accent); }
.slr-inroom { position: absolute; inset: 0; z-index: 3; background: var(--slr-bg); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.slr-inroom-head { font-weight: 600; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.slr-inroom-head a { color: var(--accent-2); }
.slr-inroom-tiles { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; min-height: 0; }
.slr-inroom-tiles video { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--slr-tile); }

.slr-hands { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--slr-tile); border: 1px solid var(--slr-line); border-radius: 12px; padding: 8px 12px; font-size: 13.5px; }
.slr-right { margin-left: auto; }
.slr-mini { min-height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--slr-line); background: var(--slr-tile-2); color: var(--slr-ink); font: 600 13px Inter, sans-serif; cursor: pointer; }
.slr-mini.pri { background: var(--accent); border-color: var(--accent); color: var(--surface); }

/* Wraps rather than scrolls: on a phone every control (End included) stays in view,
   the same no-hidden-tabs rule as the course page's tab strip. */
.slr-controls { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.slr-ctl {
  flex: 0 0 auto; min-height: 44px; padding: 0 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--slr-line); background: var(--slr-tile-2); color: var(--slr-ink); font: 600 13.5px Inter, sans-serif; cursor: pointer;
}
.slr-ctl.off { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-soft); }
.slr-ctl.on { background: var(--accent-soft); color: var(--accent-deep); }
.slr-ctl.slr-pri { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.slr-ctl.slr-end { background: var(--danger); border-color: var(--danger); color: var(--surface); }
.slr-ctl span { white-space: nowrap; }

.slr-panel { background: var(--surface); color: var(--text); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.slr-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--border-soft); overflow-x: auto; }
.slr-tab { flex: 0 0 auto; border: 0; background: transparent; color: var(--text-2); font: 500 13.5px Inter, sans-serif; min-height: 40px; padding: 0 14px; border-radius: 8px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.slr-tab.on { background: var(--surface-2); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px var(--border-strong); }
.slr-tab .n { font: 10.5px "JetBrains Mono", monospace; color: var(--accent); }
.slr-pane { padding: 14px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; }
.slr-chat { flex: 1; overflow-y: auto; font-size: 14px; line-height: 1.5; min-height: 80px; }
.slr-msg { margin-bottom: 6px; overflow-wrap: anywhere; }
.slr-me { color: var(--accent-deep); }
.slr-compose { display: flex; gap: 8px; }
.slr-compose input, .slr-pane select {
  flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px;
  font: inherit; font-size: 14px; background: var(--surface); color: var(--text);
}
.slr-none { color: var(--text-3); font-size: 13.5px; line-height: 1.55; }
.slr-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.slr-ct { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 16px; }
.slr-row2 { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.slr-grow { flex: 1; min-width: 0; }
.slr-rt { font-weight: 600; font-size: 13.5px; overflow-wrap: anywhere; }
.slr-rm { color: var(--text-3); font-size: 12.5px; line-height: 1.5; }
.slr-lbl { display: block; font: 10.5px "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 6px; }
.slr-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slr-grid2 select { width: 100%; }
.slr-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slr-grid3 select { width: 100%; }
.slr-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13.5px; cursor: pointer; }
.slr-check input { width: 20px; height: 20px; flex: 0 0 20px; }

/* ── A space's Booking tab (js/space-booking.js, SpaceBooking artboard) ──
   P12 (28 Oct 2026): its cards, rows, chips and buttons are the course home's kit (fh-card, ch-row, ch-st, fh-pill,
   fh-btn). What stays is the two-column layout and the two notes the kit has no piece for, on the kit's tokens. */
#route-spaces .sbk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
#route-spaces .sbk-side { display: flex; flex-direction: column; gap: 18px; }
/* R4-5: the 1:1 length members are offered is longer than the free plan runs. */
/* The free monthly live minutes where 1:1 video calls are set up (Alex, 2 Oct 2026); amber when the call length is longer than what is left. */
#route-spaces .sbk-pool { margin: 0 16px 14px; padding: 8px 12px; border-radius: 10px; background: var(--fh-accent-soft); color: var(--fh-text); font-size: 13px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
#route-spaces .sbk-pool.sbk-pool-short { background: var(--fh-warn-soft); color: var(--fh-warn); }
#route-spaces .sbk-pool b { font-weight: 600; }
#route-spaces .sbk-confirm { margin: 0 16px 14px; padding: 8px 12px; border-radius: 10px; background: var(--fh-warn-soft); font-size: 13px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
#route-spaces .sbk-wins { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 4px; min-width: 0; }
#route-spaces .sbk-body p { margin: 0; }
#route-spaces .sbk-body a { color: var(--fh-accent-deep); font-weight: 600; }
@media (min-width: 1100px) {
  #route-spaces .sbk-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
}
.slr-seg { display: flex; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 10px; padding: 3px; gap: 2px; }
.slr-seg button { flex: 1; min-height: 40px; border: 0; background: transparent; border-radius: 7px; font: 500 13px Inter, sans-serif; color: var(--text-2); cursor: pointer; }
.slr-seg button.on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px var(--border-strong); }
.slr-wide { width: 100%; min-height: 44px; }
.slr-wide:disabled { opacity: .5; cursor: default; }
.slr-inroom-note { background: var(--accent-softer); border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.slr-inroom-note a { color: var(--accent); font-weight: 600; }

.slr-over { grid-row: 1 / -1; grid-column: 1 / -1; margin: auto; max-width: 460px; padding: 24px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.slr-over h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 24px; margin: 0; }
.slr-over p { margin: 0; line-height: 1.55; }
.slr-over a { color: var(--accent-2); font-weight: 600; }

@media (min-width: 900px) {
  .slr-room { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) 380px; }
  .slr-main { padding: 18px 22px; gap: 14px; }
  .slr-title { font-size: 18px; }
  .slr-guests { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Round 3: room size (2 to 6) and Choose drawn room by room (Zoom's assign, then move). */
.slr-size { display: block; margin: 10px 0 0; }
.slr-size select { width: 100%; }
.slr-choose-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 4px; flex-wrap: wrap; }
.slr-room-box { border: 1px solid var(--border-soft); border-radius: 10px; padding: 8px 10px; margin: 8px 0; }
.slr-room-box .slr-row2:last-child { border-bottom: 0; }
.slr-room-box select { max-width: 50%; }
/* Breakouts running: each person a button the host taps to move them (Zoom's "Move to"). */
.slr-people { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.slr-people .slr-mini { min-height: 40px; }
[data-slr-bo-moving] select { max-width: 100%; margin: 6px 0; }
/* NB4: hours Maya suggested, waiting beside the open ones. */
#route-spaces .sbk-sg { border: 1px dashed currentColor; }
#route-spaces .sbk-sg-note { margin-left: 2px; }
#route-spaces .sbk-sg-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* TK-24: everything above and below the picture keeps its size; only the
   picture gives way, and it is clipped to its own box so it can never sit over
   Mute, Camera or End. If a phone still runs short, the column scrolls rather
   than hiding a control. */
.slr-main > :not(.slr-stage) { flex: none; }
.slr-stage { overflow: hidden; }
@media (max-width: 899px) {
  .slr-main { overflow-y: auto; gap: 8px; padding: 10px 12px; }
  .slr-stage { min-height: 120px; }
  .slr-pool { padding: 6px 8px 6px 12px; font-size: 13px; gap: 8px; }
  .slr-pool span { flex-basis: 160px; }
}
/* Review 3, UX3-4: the meetups and own-link calls coming up, under the next live session. */
#route-spaces .slr-also { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 2px; }
#route-spaces .slr-next-body .csp-steps .cpg-item { padding-left: 0; padding-right: 0; }
/* Eyeball seeding: on a phone a meetup's row stacks, the place over its two buttons,
   rather than squeezing the address into a narrow column beside them. */
@media (max-width: 600px) {
  #route-spaces .cpg-item[data-slr-ev] { flex-wrap: wrap; }
  #route-spaces .cpg-item[data-slr-ev] .cpg-item-body { flex: 1 1 calc(100% - 44px); min-width: 0; }
  #route-spaces .cpg-item[data-slr-ev] > .btn { margin-left: 42px; }
  #route-spaces .cpg-item[data-slr-ev] > .btn ~ .btn { margin-left: 0; }
}

/* The remove sheet's email (meetup cancelled): large, plain, one box after another. */
.slr-cx-lead { font-size: 16px; line-height: 1.55; margin: 0 0 14px; color: var(--text); }
.slr-cx-lbl { display: block; font-size: 15px; font-weight: 600; margin: 12px 0 6px; color: var(--text); }
.slr-cx-in { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 16px; line-height: 1.55; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.slr-cx-in:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea.slr-cx-in { resize: vertical; min-height: 64px; }
.slr-cx-hint { font-size: 14px; line-height: 1.5; color: var(--text-2); margin: 8px 0 0; }
.slr-cx-maya { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.slr-cx-maya .btn { margin-top: 8px; }

/* ── 1:1 calls straight after the session (R12-SLOTS) ───────────────────
   Approved mockup: scratchpad slots-ux/mockup.html (Alex, 3 Oct 2026). The
   "1:1 calls" tab, the stage pill, and the queue after the session. Tokens only. */
.slr-calls { display: flex; flex-direction: column; gap: 12px; }
.slr-ct-big { font-size: 19px; line-height: 1.3; margin: 0; }
.slr-calls p { margin: 0; }
.slr-big { font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.slr-chips2 { display: flex; gap: 6px; flex-wrap: wrap; }
.slr-chip { border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; min-height: 40px; font: 600 14px Inter, sans-serif; background: var(--surface); color: var(--text); cursor: pointer; }
.slr-chip.on { background: var(--accent-soft); border-color: var(--accent-2); color: var(--accent-deep); }
.slr-link { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-block; margin-top: 6px; }
.slr-sum { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.slr-big-btn { min-height: 50px; font-size: 16px; font-weight: 700; border-radius: 12px; }
.slr-say { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; color: var(--accent-deep); }
.slr-say .slr-lbl { color: var(--accent-deep); }
.slr-say-q { font: 600 17px/1.45 "Bricolage Grotesque", sans-serif; color: var(--text); margin: 4px 0 0; }
.slr-crow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 15px; }
.slr-ct-t { font-weight: 700; width: 64px; flex: 0 0 64px; font-variant-numeric: tabular-nums; }
.slr-free-t { color: var(--text-3); }
.slr-av { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; font: 700 13px Inter, sans-serif; }
.slr-calls-pill {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: var(--surface); color: var(--text); border-radius: 12px; padding: 8px 14px;
  font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; white-space: nowrap;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--text) 30%, transparent);
}
.slr-calls-late { border-radius: 10px; padding: 8px 12px; font-size: 13.5px; font-weight: 600; background: var(--good-soft); color: var(--good); }

/* The queue after the session: the room's dark ground, two columns on a laptop. */
.slr-room.slr-qroom { display: block; overflow-y: auto; }
.slr-q { max-width: 1040px; margin: 0 auto; padding: 28px 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .slr-q { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 48px 28px; } }
.slr-qcol { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.slr-q h2 { font: 700 26px/1.2 "Bricolage Grotesque", sans-serif; margin: 0; }
.slr-q p { margin: 0; }
.slr-q .slr-dim { font-size: 15px; line-height: 1.5; }
.slr-qcard { background: var(--surface); color: var(--text); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.slr-qcard .slr-ct { font-size: 17px; margin: 0; }
.slr-nowcard { display: flex; gap: 14px; align-items: center; }
.slr-nowcard .slr-ct { font-size: 19px; }
.slr-bigav { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); border: 3px solid var(--accent-2); display: inline-flex; align-items: center; justify-content: center; font: 700 34px Inter, sans-serif; }
.slr-q .slr-on-dark { color: var(--slr-dim); }
/* The one-button screens: a full-width button says its words in the middle, bold (mockup's .btn). */
.slr-calls .btn.slr-wide, .slr-q .btn.slr-wide { display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 15px; min-height: 48px; border-radius: 12px; }
.slr-calls .btn.slr-big-btn, .slr-q .btn.slr-big-btn { min-height: 50px; font-size: 16px; }
.slr-calwarn { border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.5; background: var(--warn-soft); color: var(--warn); margin: 0; }
/* Review L1: the 1:1 calls screens are for 50+ coaches: every control at least 44px, no text under 15px. */
.slr-calls .slr-chip { min-height: 44px; font-size: 15px; }
.slr-calls .slr-link, .slr-q .slr-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
.slr-calls .slr-rm, .slr-q .slr-rm, .slr-q .slr-dim, .slr-calls .slr-crow, .slr-q .slr-crow { font-size: 15px; }
.slr-calls .pill, .slr-q .pill { font-size: 13px; padding: 4px 10px; }
.slr-calls select { min-height: 44px; font-size: 15px; }
.slr-calls .slr-check { font-size: 15px; }

/* 949: a meetup's map and photos under its row in Coming up, the same parts
   members see on its card (js/meetup-visual.js). Indented to the row's text. */
.slr-meetvis { display: flex; flex-direction: column; gap: 8px; padding: 0 0 14px 40px; max-width: 640px; }
@media (max-width: 600px) { .slr-meetvis { padding-left: 0; } }

/* LIVE ROOM item 4 (19 Oct): a button waiting on the server looks pressed, not dead. */
.slr-room button[aria-busy="true"] { opacity: .75; cursor: progress; }
.slr-room button[aria-busy="true"]::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 6px; vertical-align: -1px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: slr-spin .8s linear infinite; }
@keyframes slr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .slr-room button[aria-busy="true"]::after { animation: none; } }
/* Item 7: the hands in the order raised, numbered (Host board). */
.slr-qn { width: 22px; flex: 0 0 22px; color: var(--text-3); font: 700 13px Inter, sans-serif; text-align: center; }
.slr-row2 .slr-rt .slr-av { margin-right: 8px; vertical-align: middle; }
/* Moderation: Delete on a chat line, there for the host, quiet until wanted. */
.slr-msg { position: relative; padding-right: 64px; }
.slr-msg-del { position: absolute; right: 0; top: 0; min-height: 28px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent;
  color: var(--text-3); font: 600 12px Inter, sans-serif; cursor: pointer; opacity: 0; }
.slr-msg:hover .slr-msg-del, .slr-msg-del:focus-visible { opacity: 1; }
@media (hover: none) { .slr-msg-del { opacity: 1; } }
/* Item 21: a replay plays over the page in the app's own player. */
.slr-watch { position: fixed; inset: 0; z-index: 100060; background: rgba(11,12,16,.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.slr-watch-box { width: min(960px, 100%); background: var(--surface); color: var(--text); border-radius: 14px; padding: 12px; box-sizing: border-box; }
.slr-watch-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.slr-watch-top h3 { flex: 1; margin: 0; font: 600 16px Inter, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slr-watch .comp-video-embed { aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: 10px; overflow: hidden; }
.slr-watch .comp-video-embed { position: relative; }
.slr-watch .video-facade { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #000 center / cover no-repeat; color: #fff; cursor: pointer; }
.slr-watch .video-player, .slr-watch .video-player video { width: 100%; height: 100%; }

/* ── LIVE ROOM batch B: the host's room as the Host board draws it ─────────────── */
.slr-top .slr-grow { flex: 1; }
.slr-rec { display: inline-flex; align-items: center; gap: 6px; font: 700 12px Inter, sans-serif; border: 1px solid var(--slr-line); padding: 3px 8px; border-radius: 6px; }
.slr-rec i { width: 8px; height: 8px; border-radius: 50%; background: #D93A3F; display: inline-block; }
.slr-seen { font-size: 13px; color: var(--slr-dim); }
.slr-textbtn { min-height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--accent); font: 600 13px Inter, sans-serif; cursor: pointer; }
.slr-room .slr-top .slr-textbtn { color: #B8B0FF; }
.slr-topbtn { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--slr-line); background: transparent; color: var(--slr-ink); font: 600 14px Inter, sans-serif; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.slr-topsep { width: 1px; height: 28px; background: var(--slr-line); }
.slr-endtop { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid #8C3134; background: transparent; color: #F08A8D; font: 700 14px Inter, sans-serif; cursor: pointer; }
.slr-sharebar { display: flex; align-items: center; gap: 12px; background: #1E1A3D; border: 1px solid #4B3FD0; border-radius: 12px; padding: 8px 8px 8px 12px; }
.slr-sharebar b { display: block; font-size: 15px; }
.slr-sharebar span { display: block; font-size: 13px; color: var(--slr-dim); }
.slr-stopshare { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 0; background: #D93A3F; color: #fff; font: 700 14px Inter, sans-serif; cursor: pointer; }
.slr-stage.slr-sharing .slr-share { grid-column: 1 / -1; }   /* only if live-gallery.js never loads */
.slr-share video { width: 100%; height: 100%; object-fit: contain; background: #000; }
/* Item 10 (21 Oct): laid out by live-gallery.js, the share is the main picture, and it is shown whole
   (letterboxed), never cropped. The gallery's own rule covers every tile's video (object-fit: cover,
   !important, to keep faces in frame), so this one names the share tile to win over it. */
.slr-stage .slr-share.lg-tile { background: #000 !important; }
.slr-stage .slr-share.lg-tile video { object-fit: contain !important; object-position: 50% 50% !important; background: #000; }
.slr-ctlsep { width: 1px; height: 32px; background: var(--slr-line); margin: 0 6px; align-self: center; }
@media (max-width: 760px) { .slr-seen, .slr-topsep { display: none; } }
/* Item 19: the host's Poll tab (HostPoll board). */
.slr-pcard { border: 1px solid var(--border-soft); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.slr-pcard-live { border-color: var(--accent); }
.slr-pbars { display: flex; flex-direction: column; gap: 6px; }
.slr-pbar { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.slr-pbar-l { width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.slr-pbar-t { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.slr-pbar-t i { display: block; height: 8px; background: var(--accent); }
.slr-pbar-n { width: 38px; text-align: right; font-weight: 600; }
.slr-pform { display: flex; flex-direction: column; gap: 8px; }
.slr-pform input[type="text"] { min-height: 44px; border-radius: 10px; border: 1px solid var(--border); padding: 0 12px; font: 400 15px Inter, sans-serif; }
.slr-popt { display: flex; gap: 6px; align-items: center; }
.slr-popt input { flex: 1; }

/* ── Item 22: the breakout dashboard and the host's visit (BreakoutDash, HostVisit boards) ───────── */
.slr-dash { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; background: var(--slr-bg); color: var(--slr-ink); }
.slr-dash .slr-rm, .slr-inroom .slr-rm { color: var(--slr-dim); }
.slr-dash .slr-none, .slr-inroom .slr-none { color: var(--slr-dim); }
.slr-dash .slr-row2, .slr-inroom .slr-row2 { border-bottom: 0; }
.slr-dtop { min-height: 64px; flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 20px; border-bottom: 1px solid var(--slr-line); flex-wrap: wrap; }
.slr-dtitle { font-size: 15px; font-weight: 700; }
.slr-dclock { text-align: right; white-space: nowrap; }
.slr-dclock b { font-size: 17px; font-variant-numeric: tabular-nums; }
.slr-dbody { flex: 1; min-height: 0; display: flex; }
.slr-dcol { min-height: 0; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.slr-dleft { width: 340px; flex: none; border-right: 1px solid var(--slr-line); background: var(--slr-tile); }
.slr-dmid { flex: 1; min-width: 0; }
.slr-dright { width: 360px; flex: none; border-left: 1px solid var(--slr-line); background: var(--slr-tile); }
.slr-dhead { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--slr-dim); margin-top: 6px; }
.slr-dhead .n { color: var(--warn, #F2D58A); }
.slr-dask, .slr-dlook { background: var(--slr-bg); border: 1px solid var(--slr-line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.4; }
.slr-dask { border-color: color-mix(in srgb, var(--warn, #F2D58A) 55%, transparent); }
.slr-dfilters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.slr-dfilters input { margin-left: auto; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--slr-line); background: transparent; color: var(--slr-ink); font: 13px Inter, sans-serif; min-width: 160px; }
.slr-dchip { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--slr-line); background: transparent; color: var(--slr-ink); font: 600 13px Inter, sans-serif; cursor: pointer; }
.slr-dchip.on { background: var(--slr-ink); color: var(--slr-bg); border-color: var(--slr-ink); }
.slr-dcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
/* Item 14: the board's parts are patched in place, so a few wrappers exist only to be written into; they lay out as
   the column did before (the chips and the Send button as the row's own items, the selected room as part of the column). */
.slr-dchips, .slr-dsend { display: contents; }
.slr-dsel, .slr-dchatwrap { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
/* Spec 1029 item 8, found on dev4 (1440x900, the main-room window open): the room's panel was squeezed to what the
   window left and the Move to… list was clipped under "The room's chat". The panel keeps its own height; the column
   scrolls instead. */
.slr-dright > .slr-dsel { flex: none; }
.slr-dchatwrap { flex: 1; }
.slr-dcard { text-align: left; background: var(--slr-tile); border: 1px solid var(--slr-line); border-radius: 12px; padding: 10px 12px; color: var(--slr-ink); font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.slr-dcard.ask { border-color: color-mix(in srgb, var(--warn, #F2D58A) 55%, transparent); }
.slr-dcard.sel { outline: 2px solid var(--accent-2, #6D5EF5); outline-offset: 1px; }
.slr-dcard-h { font-size: 13px; font-weight: 700; color: var(--slr-dim); }
.slr-dcard.ask .slr-dcard-h { color: var(--warn, #F2D58A); }
.slr-dcard-n { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.slr-dcard-s { font-size: 12px; color: var(--slr-dim); line-height: 1.45; }
.slr-dtalk { color: var(--good, #7FD6A6); font-weight: 600; }
.slr-dchat { flex: 1; min-height: 120px; overflow-y: auto; font-size: 13px; background: var(--slr-bg); border-radius: 10px; padding: 8px 10px; }
.slr-dchat .slr-msg { padding-right: 0; }
.slr-dash .slr-compose input, .slr-inroom .slr-compose input { flex: 1; min-width: 0; height: 36px; border-radius: 10px; border: 1px solid var(--slr-line); background: transparent; color: var(--slr-ink); padding: 0 10px; font: 14px Inter, sans-serif; }
.slr-room.slr-dash-on .slr-panel { visibility: hidden; }
.slr-visit-k { font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--good, #7FD6A6); }
.slr-visit-names { font-size: 17px; font-weight: 700; }
.slr-visit-ask { font-size: 13px; color: var(--warn, #F2D58A); font-weight: 600; }
.slr-inroom { padding: 10px 12px; }
.slr-inroom-tiles figure { margin: 0; position: relative; min-height: 0; border-radius: 12px; overflow: hidden; background: var(--slr-tile); }
.slr-inroom-tiles figure.speaking { outline: 3px solid var(--good, #7FD6A6); }
.slr-inroom-tiles figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 12.5px; font-weight: 600; }
.slr-inroom-tiles figure.speaking figcaption::after { content: ' · Speaking'; color: var(--good, #7FD6A6); }
.slr-visit-side { display: flex; flex-direction: column; gap: 8px; max-height: 42%; min-height: 0; }
.slr-visit-side .slr-dchat { min-height: 60px; }
@media (max-width: 900px) {
  .slr-dbody { flex-direction: column; overflow-y: auto; }
  .slr-dleft, .slr-dright { width: auto; border: 0; }
  /* Spec 1029, found on dev4 at 390: stacked, the columns could still shrink (min-height 0), so the room list was
     squeezed and its task line ran under the selected room's panel. Each keeps its own height; the board scrolls. */
  .slr-dcol { overflow: visible; flex: none; }
  .slr-dtop { padding: 8px 16px; }
  .slr-dfilters input { margin-left: 0; flex: 1; }
}

/* Items 12 and 13: opening the rooms (BreakoutsOpen board) */
.slr-splits { display: flex; flex-direction: column; gap: 8px; }
.slr-split { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--surface); color: var(--text); font: 13.5px Inter, sans-serif; cursor: pointer; }
.slr-split b { display: block; font-weight: 600; margin-bottom: 2px; }
.slr-split.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.slr-split-dot { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--border-strong); }
.slr-split.on .slr-split-dot { border: 5px solid var(--accent); }
.slr-mins { display: flex; gap: 6px; flex-wrap: wrap; }
.slr-panel .slr-dchip { border-color: var(--border-soft); color: var(--text); background: var(--surface); }
.slr-panel .slr-dchip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.slr-topic { display: flex; flex-direction: column; gap: 4px; }
.slr-topic input { height: 40px; border-radius: 10px; border: 1px solid var(--border-soft); padding: 0 10px; font: 14px Inter, sans-serif; background: var(--surface); color: var(--text); }
.slr-dright .slr-grow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.slr-dash .slr-av { margin-right: 0; }
.slr-visit-ask:not([hidden]) { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--warn, #F2D58A); color: #2b2100; font-size: 12px; }
/* HostVisit: while the host is in a room, the room is the whole screen (the side panel comes back with them). */
.slr-room.slr-visit-on .slr-panel { display: none; }
.slr-room.slr-visit-on { grid-template-rows: minmax(0, 1fr); }
@media (min-width: 900px) { .slr-room.slr-visit-on { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .slr-dtop .slr-grow { min-width: 220px; }
  .slr-dclock { text-align: left; }
  .slr-inroom { overflow-y: auto; }
  .slr-inroom-head .slr-grow { flex: 1 1 100%; }
  .slr-inroom-head .slr-dclock { flex: 1; }
  .slr-inroom-tiles { flex: none; min-height: 220px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slr-visit-side { max-height: none; padding-bottom: 8px; }
  .slr-visit-foot .slr-grow { flex: 1 1 100%; }
}

/* From the new-coach review (19 Oct) */
.slr-hrow { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; row-gap: 6px; align-items: center; }
.slr-hrow .slr-hact { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.slr-hrow .slr-rt { display: flex; align-items: center; gap: 8px; }
.slr-hrow .slr-rt .slr-av { margin-right: 0; }
.slr-topic textarea { border-radius: 10px; border: 1px solid var(--border-soft); padding: 8px 10px; font: 14px Inter, sans-serif; background: var(--surface); color: var(--text); resize: vertical; }
/* Every tab fits the panel on a laptop ("Brea" was cut off at 380 px) */
.slr-tab { padding: 0 10px; }
.slr-tabs { gap: 2px; }
.slr-dtop .btn + .btn, .slr-dtop .btn + button { margin-left: 4px; }
@media (max-width: 899px) {
  /* A phone: the controls are a compact grid of icon-and-word buttons (they wrapped into three
     rows and ran under the chat panel), and the panel takes a little less of the screen. */
  .slr-room { grid-template-rows: minmax(0, 1fr) minmax(0, 40vh); }
  .slr-room.slr-visit-on { grid-template-rows: minmax(0, 1fr); }
  .slr-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .slr-ctlsep { display: none; }
  .slr-ctl { flex-direction: column; justify-content: center; min-height: 50px; padding: 4px 2px; gap: 2px; font-size: 11px; }
  .slr-ctl span { white-space: normal; text-align: center; line-height: 1.15; }
  .slr-stage { min-height: 160px; }
  .slr-visit-side { padding-bottom: 16px; }
  .slr-dtop .btn { flex: 1 1 auto; }
}
.slr-tab { padding: 0 8px; font-size: 13px; }
@media (max-width: 760px) {
  /* A phone's top bar in two rows: the clock, the title and End; then the space, what members see, Change.
     (The reviewer: a bare "Change" said nothing, and End sat alone on a third row.) */
  .slr-seen { display: inline; font-size: 12px; }
  .slr-top { row-gap: 4px; }
  .slr-top .slr-grow { display: none; }
  .slr-top .slr-title { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .slr-endtop { order: 1; min-height: 34px; padding: 0 10px; font-size: 13px; }
  .slr-sub, .slr-seen, #slr-layout-btn, .slr-limit, .slr-topbtn { order: 2; }
  .slr-sub { font-size: 12px; }
  #slr-layout-btn { min-height: 32px; padding: 0 6px; }
  /* The hands bar: the first hand and its Invite only; the Hands tab has the rest. */
  #slr-hands .slr-mini:not(.pri), #slr-hands .slr-dim:nth-of-type(n+2), #slr-hands .slr-right { display: none; }
}
/* Visiting a room: the main room's hands wait (they are on the Hands tab when the host comes back). */
.slr-room.slr-visit-on #slr-hands { display: none !important; }
.slr-dimg { display: block; max-width: 180px; max-height: 140px; border-radius: 8px; margin-top: 4px; }
/* The top bar in two rows at every width (the new-coach review, 20 Oct): the clock, Recording, the
   title and End; then the space, how many are here, what members see and Change view. One row cut the
   title to "Week 3: Pla…" on a laptop, and End fell to a row of its own. */
.slr-top { flex-wrap: wrap; row-gap: 2px; }
.slr-top::after { content: ''; order: 2; flex-basis: 100%; height: 0; }
.slr-top .slr-grow { display: none; }
.slr-top .slr-title { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slr-endtop { order: 1; flex: none; }
.slr-top .slr-topsep { order: 1; }
.slr-sub, .slr-seen, #slr-layout-btn, .slr-limit, .slr-topbtn { order: 3; }
.slr-top .slr-seen { margin-left: 10px; }
@media (max-width: 760px) {
  .slr-top .slr-rec { order: 3; }
  .slr-top .slr-seen { margin-left: 0; }
}
/* Round 2 review (20 Oct): visiting a room is not recorded (the main room's "Recording" read as recording the pair);
   on a laptop the visit's own "Back to all rooms" is the one way back (the bar's copy stays on a phone, where the
   top one scrolls away); a phone's dashboard keeps Message every room and Bring everyone back apart. */
.slr-room.slr-visit-on .slr-rec { display: none; }
@media (min-width: 761px) { .slr-room.slr-visit-on .slr-controls [data-slr-ctl="back"], .slr-room.slr-visit-on .slr-controls .slr-ctlsep { display: none; } }
@media (max-width: 899px) {
  .slr-visit-side { padding-bottom: 72px; }
  .slr-dtop [data-slr-bo="close"], .slr-dtop [data-slr-bo="close-now"] { margin-top: 10px; flex-basis: 100%; }
}
/* A phone: a panel opened from the bar fills the screen, with "← Back to the room" on top (Zoom and Meet's mobile panels). */
.slr-panelbar { display: none; }
@media (max-width: 899px) {
  .slr-room.slr-panel-full .slr-panel { position: fixed; inset: 0; z-index: 8; }
  .slr-room.slr-panel-full .slr-panelbar { display: flex; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--border-soft); }
}
.slr-infobox { background: var(--accent-softer, #F1EEFF); color: var(--text); border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
/* Round 3 review (20 Oct). */
.slr-onair { margin-left: auto; color: var(--danger, #C2453F); font-size: 12.5px; font-weight: 700; }
.slr-seg button.on { background: var(--accent); color: #fff; box-shadow: none; }
/* Visiting a room: the main room's "Members see…" line is not about this room; on every width one "Back to all rooms". */
.slr-room.slr-visit-on .slr-seen, .slr-room.slr-visit-on #slr-layout-btn { display: none; }
.slr-room.slr-visit-on .slr-controls [data-slr-ctl="back"], .slr-room.slr-visit-on .slr-controls .slr-ctlsep { display: none; }
.slr-visit-side { display: flex; flex-direction: column; }
@media (max-width: 899px) { .slr-visit-side .slr-visit-foot { order: -1; } }
/* Item 15 (live test, 21 Oct): visiting a room shows everyone in it, the host included (HostVisit board). One tile per
   person in the room's video: their camera, their shared screen shown whole, or their initial and name while the camera
   is off. The host's own picture is the board's small "You, visiting" window over the top right, mirrored as the main
   room's self-view. */
.slr-inroom-tiles { position: relative; grid-auto-rows: minmax(0, 1fr); }
.slr-inroom-tiles figure { display: flex; align-items: center; justify-content: center; }
.slr-inroom-tiles figure video { position: absolute; inset: 0; }
.slr-inroom-tiles figure:not(.has-video) video { display: none; }
.slr-inroom-tiles figure.slr-vscreen video { object-fit: contain; background: #000; }
.slr-vini { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font: 700 26px Inter, sans-serif; display: inline-flex; align-items: center; justify-content: center; }
.slr-inroom-tiles figure.has-video .slr-vini { display: none; }
.slr-inroom-tiles figure.slr-vself { position: absolute; right: 12px; top: 12px; width: min(236px, 34%); aspect-ratio: 16 / 9; z-index: 2; background: #4A4F5C; border: 1px solid var(--slr-line); box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
.slr-inroom-tiles figure.slr-vself video { transform: scaleX(-1); }
.slr-inroom-tiles figure.slr-vself .slr-vini { width: 40px; height: 40px; font-size: 17px; }
.slr-visit-empty { grid-column: 1 / -1; align-self: center; justify-self: center; color: var(--slr-dim); font-size: 14px; }
.slr-visit-wait { color: var(--warn, #F2D58A) !important; font-weight: 600; }
/* Item 16 (live test, 21 Oct): "It shows part of the live room below the breakout room… my old screen share from my
   main room." The visit (#slr-inroom) only covered the main stage, while the gallery's name and Pin overlays (z-index
   4), its "Back to gallery" (5) and a stage of 10 or more tiles that scrolls (data-n="many") showed over and under it.
   While the host is in a room, nothing of the main stage is drawn and the stage cannot scroll. */
.slr-room.slr-visit-on .slr-stage > :not(.slr-inroom) { display: none !important; }
.slr-room.slr-visit-on .slr-stage { overflow: hidden !important; }

/* ── Item 26 (morning test, 22 Oct): CAMERA OFF IS NEVER A BLACK BOX ──────────────────────────────────────────────
   Zoom's camera-off tile: the person's picture (or initials) centred on a calm background, their name, and here a
   quiet "Camera is off". The host's own stage while their camera is off (.slr-host.cam-off) and every guest tile
   without a picture (gallery and stage) carry the same card (space-live-room.js _offCardHtml). */
.slr-off { display: none; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; box-sizing: border-box; text-align: center;
  background: radial-gradient(120% 90% at 50% 38%, #3B4058 0%, #2C3046 55%, #23263A 100%); color: #EDEFF7; }
.slr-host.cam-off .slr-off, .slr-guests .slr-tile:not(.has-video) .slr-off { display: flex; }
.slr-host.cam-off video { visibility: hidden; }
.slr-guests .slr-tile:not(.has-video) > .slr-name { display: none; }   /* the card says the name */
.slr-off-pic { width: clamp(44px, 24%, 148px); aspect-ratio: 1 / 1; border-radius: 50%; background: #4B5170; color: #fff; font: 700 clamp(18px, 4vmin, 50px)/1 Inter, sans-serif;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); flex: none; }
.slr-off-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slr-off-nm { font: 600 15px Inter, sans-serif; max-width: 92%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slr-off-why { font: 500 12.5px Inter, sans-serif; color: rgba(237, 239, 247, .72); }
.slr-off-nm:empty { display: none; }
.slr-tile.lg-s .slr-off { gap: 4px; padding: 6px; }
.slr-tile.lg-s .slr-off-why { display: none; }
.slr-tile.lg-s .slr-off-nm { font-size: 12px; }
.slr-tile.lg-xs .slr-off-nm { display: none; }
/* Breakout rooms the host visits: the same card (their initial, "Camera is off"; the host's own picture when known). */
.slr-inroom-tiles figure:not(.slr-vself):not(.has-video) { flex-direction: column; gap: 8px; background: radial-gradient(120% 90% at 50% 38%, #3B4058 0%, #2C3046 55%, #23263A 100%); }
.slr-voff { font: 500 12.5px Inter, sans-serif; color: rgba(237, 239, 247, .72); }
.slr-inroom-tiles figure.has-video .slr-voff, .slr-inroom-tiles figure.slr-vself .slr-voff { display: none; }
.slr-vini { overflow: hidden; }
.slr-vini img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Item 24 (morning test, 22 Oct): Full screen, top right, as Zoom keeps it. A phone shows the icon alone. ── */
.slr-fsbtn[aria-pressed="true"] { border-color: var(--accent-2, #B8B0FF); }
@media (max-width: 760px) { .slr-fsbtn span { display: none; } .slr-fsbtn { padding: 0 10px; } }

/* ── The event assistant (22 Oct): the coach's own Claude, named on their Live page (live.assistant). ─────────
   Its lines carry its name and an Assistant badge; a line for the host alone says so; its alerts are calm
   banners over the room (amber, red when urgent), under the top bar, until the host presses Done. */
.slr-asst-tag { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 5px; background: #0F766E; color: #fff; font: 700 10.5px/1.5 Inter, sans-serif; letter-spacing: .02em; vertical-align: 1px; }
.slr-msg b.slr-asst { color: #0F766E; }
.slr-dash .slr-msg b.slr-asst, .slr-inroom .slr-msg b.slr-asst { color: #5EEAD4; }
.slr-msg.slr-host-only { background: var(--surface-2); border-left: 3px solid #0F766E; border-radius: 8px; padding: 6px 64px 6px 9px; }
.slr-dash .slr-msg.slr-host-only, .slr-inroom .slr-msg.slr-host-only { background: var(--slr-tile); padding-right: 9px; }
.slr-only-you { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.slr-dash .slr-only-you, .slr-inroom .slr-only-you { color: var(--slr-dim); }
.slr-alerts { position: absolute; z-index: 8; top: 72px; right: 12px; width: min(380px, calc(100% - 24px));
  display: flex; flex-direction: column; align-items: stretch; gap: 6px; pointer-events: none; }
/* Live room 1029 item 3: folded, the badge sits at the corner, not across the room. */
.slr-alerts > .slr-alerts-pill { align-self: flex-end; pointer-events: auto; }
.slr-alert, .slr-alert-more { pointer-events: auto; }
/* Spec A §4.7 (T6, 23 Oct): "It doesn't need to be warning colours, but it just needs to be in that position." The
   alerts are the one calm card now (js/live-callout.js, .lco: white, a bell, only the Urgent pill red), the same card
   as an announcement; the amber and red cards that were here are gone. This file keeps only their place. */

/* ── Spec A (23 Oct): the host's place during breakouts (P4) ──────────────────────────────────────────────────────────
   H1 the place in the Breakouts form; H2 the main-room window (#slr-mainwin, wide) and a phone's one-line bar
   (#slr-mainbar) with its sheet; H3 the breakout strip in the host's tile; H6 the main-room list. The window's colours
   are written out (not the room's variables), because the phone's sheet draws the same card outside the room. */
.slr-place { margin-bottom: 4px; }
.slr-mw { position: absolute; right: 16px; bottom: 16px; z-index: 7; width: 280px; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px;
  padding: 10px; border-radius: 14px; background: #1C1F36; color: #FAF9F4; border: 1px solid #343852; box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  font: 13.5px/1.45 Inter, system-ui, sans-serif; }
.slr-mw-head { font-size: 12px; font-weight: 700; letter-spacing: .05em; color: #B9BDD6; display: flex; align-items: center; gap: 4px; }
.slr-mw-k { text-transform: uppercase; }
.slr-mw-n { min-height: 28px; padding: 0 4px; border: 0; background: transparent; color: #C9BFFF; font: 700 12px Inter, system-ui, sans-serif; letter-spacing: .02em;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.slr-mw-pic { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #2A2D44; }
.slr-mw-pic video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: none; }
.slr-mw.slr-mw-live .slr-mw-pic video { display: block; }
.slr-mw .slr-off { display: flex; gap: 4px; padding: 6px; }
.slr-mw.slr-mw-live .slr-off { display: none; }
.slr-mw .slr-off-pic { width: 52px; font-size: 20px; }
.slr-mw .slr-off-nm { font-size: 13px; }
.slr-mw .slr-off-why { display: none; }
.slr-mw.slr-mw-visit .slr-mw-pic { aspect-ratio: auto; height: 84px; }
.slr-mw-words b { font-weight: 700; }
.slr-mw-mic { display: block; margin-top: 4px; font-weight: 600; color: #F2D58A; }
.slr-mw-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.slr-mw-acts .btn { min-height: 36px; }
.slr-mw .slr-textbtn { color: #C9BFFF; padding: 0 6px; }
.slr-mw.slr-mw-sheet { position: static; width: auto; box-shadow: none; }
.slr-mainbar { display: none; }
@media (min-width: 900px) {
  /* The board's right column (the room's chat) ends above the window, so nothing in it is ever under the window:
     the column scrolls in the space above it. A border in the column's own colour, not padding: a scrolling box draws
     its content under its padding, so with padding the room's chat box, Send and Delete sat under the window and could
     not be pressed (tester, 23 Oct, 1440x900); a border is outside the part that scrolls. The room's chat gives way
     first (it keeps its own scroll), so its box and Send stay in view on a laptop. */
  .slr-dash.slr-dash-win .slr-dright { border-bottom: calc(var(--slr-mw-h, 300px) + 28px) solid var(--slr-tile); }
  .slr-dash.slr-dash-win .slr-dright .slr-dchat { min-height: 72px; }
}
/* A short laptop screen (1280x720): the window's picture is shorter, so the column above it keeps room to work in. */
@media (min-width: 900px) and (max-height: 780px) {
  .slr-mw:not(.slr-mw-sheet):not(.slr-mw-visit) .slr-mw-pic { aspect-ratio: auto; height: 96px; }
}
@media (max-width: 899px) {
  #slr-mainwin { display: none !important; }
  .slr-mainbar:not([hidden]) { display: flex; flex: none; align-items: center; gap: 8px; width: 100%; min-height: 44px; box-sizing: border-box; padding: 0 16px;
    border: 0; border-bottom: 1px solid var(--slr-line); background: var(--slr-tile); color: var(--slr-ink); font: 600 14px Inter, system-ui, sans-serif; text-align: left; cursor: pointer; }
  .slr-inroom .slr-mainbar:not([hidden]) { border-radius: 10px; border: 1px solid var(--slr-line); }
}
.slr-mb-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #8A8FA6; }
.slr-mb-dot.on { background: #D93A3F; }
/* H3: the strip (Zoom's breakout bar): two lines on a laptop, the words and buttons wrapping on a phone. */
.slr-bo-banner.slr-strip { flex-direction: column; align-items: stretch; gap: 6px; width: min(760px, calc(100% - 20px)); max-width: none; padding: 8px 10px 8px 14px; box-sizing: border-box; }
.slr-strip-l1, .slr-strip-l2 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.slr-strip-l1 b { font-variant-numeric: tabular-nums; }
.slr-strip-n { font-weight: 700; }
.slr-strip-btn { min-height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border, #D9D4FF); background: var(--surface); color: var(--text); font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
.slr-strip-pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.slr-sp { display: none; }
@media (max-width: 899px) {
  .slr-strip .slr-sw { display: none; }
  .slr-strip .slr-sp { display: inline; }
  .slr-strip-l2 .slr-grow { display: none; }
  .slr-strip-btn { min-height: 44px; flex: 1 1 100%; }
  .slr-strip-n, .slr-strip a { display: inline-block; padding: 7px 0; }
}
/* The strip (or the banner) above the stage while a document or a shared screen has it: the host's tile is a thumbnail
   then, too small to hold it (js _boBannerPlace). Whole, in the column's flow, never over the page. */
.slr-main > .slr-bo-banner.slr-bo-out { position: static; transform: none; align-self: center; z-index: auto; max-width: 100%;
  border: 1px solid var(--slr-line, rgba(255, 255, 255, .14)); }
.slr-main > .slr-bo-banner.slr-strip.slr-bo-out { width: min(760px, 100%); }
/* H6: the main-room list, and the announcement's replies (both in our own sheet). */
.slr-ml-n { font-weight: 600; margin: 2px 0 6px; }
.slr-ml-row, .slr-rp-row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--border-soft, #ECE9FF); }
.slr-ml-row .slr-rm { color: var(--text-3); }
.slr-ml-row .btn, .slr-rp-row .btn { min-height: 40px; white-space: nowrap; }
.slr-ml-foot { margin-top: 10px; }
.slr-mw-sheet + .slr-ml { margin-top: 12px; }
@media (max-width: 600px) { .slr-ml-row .btn, .slr-rp-row .btn { min-height: 44px; } .slr-rp-row { flex-wrap: wrap; } }

/* JTB 153 item 8 (29 Oct 2026): "Move to…" — one list under the person, in the page's flow (never over the room's chat).
   Each room with who is in it now, then the main room; one tap moves them. */
.slr-moveto { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px; padding: 10px; border: 1px solid var(--slr-line); border-radius: 10px; background: var(--slr-bg); }
.slr-moveto-h { font-size: 13px; }
.slr-moveto-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--slr-line); border-radius: 8px; background: var(--slr-tile, var(--card, #fff)); color: var(--slr-ink, inherit); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.slr-moveto-opt:hover:not([disabled]) { border-color: var(--accent, #4338CA); }
.slr-moveto-opt[disabled] { opacity: .6; cursor: default; }
.slr-moveto-opt span { color: var(--slr-dim, var(--muted, #6b6475)); font-size: 12.5px; }
.slr-moveto .slr-textbtn { align-self: flex-start; }
.slr-dlook .slr-asked { color: var(--slr-ink, inherit); font-weight: 500; }

/* JTB 153 item 9 (29 Oct 2026): the rooms' task, at the top of the board's room column. */
.slr-dtask:empty { display: none; }
.slr-dtaskline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; padding: 8px 10px; margin-bottom: 8px; border: 1px solid var(--slr-line); border-radius: 10px; background: var(--slr-bg); font-size: 13px; }
.slr-dtaskline .slr-dtask-t { flex: 1 1 200px; min-width: 0; }
.slr-dtaskbox { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--slr-line); border-radius: 10px; background: var(--slr-bg); font-size: 13px; }
.slr-dtaskbox textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 8px; border: 1px solid var(--slr-line); border-radius: 8px; background: var(--slr-tile, transparent); color: var(--slr-ink, inherit); }
/* The board's own "needs you" mark (as .slr-dask): an amber edge on the board's dark card, never a light box. */
.slr-dtask-none { border-color: color-mix(in srgb, var(--warn, #F2D58A) 55%, transparent); }
.slr-check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 4px 0; }

/* The host's phone as a second feed (10 Nov 2026): a screen, shown whole, with the host's three controls on it. */
.slr-tile.slr-phone video { object-fit: contain !important; background: #000; }
.slr-phonebar { position: absolute; left: 8px; right: 8px; bottom: 36px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.slr-phonebar button { pointer-events: auto; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; background: color-mix(in srgb, var(--text) 72%, transparent); color: var(--slr-ink); }
.slr-phonebar button[aria-pressed="true"] { background: var(--accent); color: var(--surface); }
.slr-phonebar button:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
.slr-tile.lg-s .slr-phonebar button { min-height: 30px; padding: 0 9px; font-size: 11.5px; }
.slr-tile.lg-xs .slr-phonebar { display: none; }
