@import url('tokens.css?v=705d6f3');
/* TableSet host stand: live floor, timeline, run-sheet, summary. Loaded after app.css. */

body.host { background: var(--h-bg); color: var(--h-ink); }
.host-main { max-width: 1440px; padding: 16px 20px 32px; }

/* Header */
.hostbar { background: var(--h-panel); border-bottom: 1px solid var(--h-line); padding: 10px 20px; }
.hostbar-name { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.hostbar-name > div { display: flex; flex-direction: column; line-height: 1.25; }
.hostbar-name strong { font-size: 1.0625rem; }
.hostbar-name span { color: var(--h-muted); font-size: .8125rem; }
.logo { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-card); background: var(--h-accent); color: var(--h-accent-ink) !important; font-weight: 800; font-size: .9375rem !important; letter-spacing: -.02em; }
.hostnav { gap: 4px; }
.hostnav a { color: var(--h-ink); font-weight: 600; padding: 0 16px; }
.hostnav a.on { background: transparent; color: var(--h-accent); border-color: var(--h-accent); }

/* Tabs */
.host .tabs { margin: 0; gap: 6px; }
.host .tabs a { background: var(--h-panel); border-color: var(--h-line); color: var(--h-ink); gap: 8px; }
.host .tabs a small { color: var(--h-muted); font-weight: 500; font-size: .75rem; }
.host .tabs a.on { background: transparent; border-color: var(--h-accent); color: var(--h-accent); }
.host .tabs a.on small { color: inherit; opacity: .85; }

/* Service at a glance */
.pulse { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--h-line); border: 1px solid var(--h-line); border-radius: var(--r-card); overflow: hidden; margin-bottom: 14px; }
.pulse > div { background: var(--h-panel); padding: 10px 14px; display: flex; flex-direction: column; }
.pulse span { color: var(--h-muted); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pulse strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.pulse strong small { font-size: .875rem; color: var(--h-muted); font-weight: 600; }
@media (max-width: 760px) { .pulse { grid-template-columns: repeat(3, 1fr); } }

.floor-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.lock-note { color: var(--h-muted); font-size: .875rem; display: inline-flex; align-items: center; gap: 8px; }
.lock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--s-seated-edge); }

/* Layout: floor + side panel */
.service { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .service { grid-template-columns: minmax(0, 1fr) 340px; } }

/* The room */
.room { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--h-room); border: 1px solid var(--h-line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.06); }

/* Landmarks */
.lm { position: absolute; display: flex; align-items: center; justify-content: center; font-size: .6875rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--h-muted); border-radius: 4px; overflow: hidden; border: 0; background: transparent; padding: 0; }
.lm.kind-wall { background: var(--h-wall); border-radius: 2px; }
.lm.kind-window { background: repeating-linear-gradient(90deg, var(--s-arrived) 0 14px, var(--s-arrived) 14px 18px); border-radius: 2px; opacity: .9; }
.lm.kind-bar { background: var(--raised); color: var(--ink); border-radius: 8px; }
.lm.kind-kitchen_pass { background: repeating-linear-gradient(45deg, var(--s-arriving) 0 8px, var(--s-arriving) 8px 16px); color: var(--h-muted); border: 1px solid var(--h-line); border-radius: 8px; }
.lm.kind-toilets { background: var(--s-arriving); border: 1px solid var(--h-line); border-radius: 8px; }
.lm.kind-door { border: 2px dashed var(--h-muted); border-bottom: 0; border-radius: var(--r-card) 10px 0 0; background: transparent; }
.lm.kind-pillar { background: var(--h-wall); border-radius: 4px; }
.lm.kind-other { background: var(--s-arriving); border: 1px solid var(--h-line); }

/* Tables as furniture: body, chairs, and state colour */
.ft, .ftable { position: absolute; display: block; text-decoration: none; color: var(--ink); padding: 0; font: inherit; cursor: pointer;
  background: var(--s-free); border: 2px solid var(--s-free-edge); border-radius: var(--r-card); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.ft.shape-round, .ft.shape-oval, .ftable.shape-round, .ftable.shape-oval { border-radius: 50%; }
.ft.shape-rectangle, .ftable.shape-rectangle { border-radius: var(--r-card); }
.ft.shape-booth, .ftable.shape-booth { border-radius: var(--r-card); }
.ft-form { position: absolute; margin: 0; }
.ft-form .ft { position: relative; width: 100%; height: 100%; inset: auto; }
.ft:focus-visible { outline: 3px solid var(--h-accent); outline-offset: 6px; }
.ft.picked { outline: 3px solid var(--h-accent); outline-offset: 6px; }

.chair { position: absolute; width: 14px; height: 14px; border-radius: 5px; transform: translate(-50%, -50%); background: var(--h-panel);
  border: 2px solid var(--s-free-edge); pointer-events: none; }
.banquette { position: absolute; left: -4px; right: -4px; top: -12px; height: 10px; border-radius: 6px 6px 3px 3px; background: var(--s-arriving); pointer-events: none; }

.ft-body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 1px; padding: 4px 1px; overflow: hidden; line-height: 1.15; }
.room { container-type: inline-size; }
.ft-num { font-weight: 800; font-size: clamp(1.05rem, 2.6cqw, 1.5rem); line-height: 1; }
.ft-state { font-size: clamp(.75rem, 1.7cqw, 1rem); font-weight: 800; letter-spacing: .01em; margin-top: 2px; }
.ft-sub { font-size: clamp(.625rem, 1.3cqw, .875rem); font-weight: 600; color: color-mix(in srgb, var(--ink) 78%, transparent); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft.choose { border-color: var(--s-seated-edge); border-width: 3px; background: var(--s-seated); box-shadow: 0 0 0 4px color-mix(in srgb, var(--s-seated-edge) 18%, transparent); }
.ft.choose .ft-state { color: var(--s-seated-edge); }
.ft.blocked { background: repeating-linear-gradient(45deg, var(--raised) 0 6px, var(--s-arriving) 6px 12px); border-color: var(--line); border-style: dashed; opacity: .85; cursor: not-allowed; }
.ft.blocked .ft-state { color: var(--muted); }
.ft.blocked .ft-num { color: var(--muted); }
.seat-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 16px; margin-bottom: 12px; font-size: .9375rem; }
.seat-banner strong { font-size: 1.0625rem; }
.seat-banner em { margin-left: auto; font-style: normal; color: var(--ink); }
.seat-banner .dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.seat-banner .dot.ok { background: var(--s-seated); } .seat-banner .dot.no { background: var(--line); }
.ft-sub b { font-weight: 700; }

.st-available { background: var(--s-free); border-color: var(--s-free-edge); }
.st-available .ft-state { color: var(--h-muted); }
.st-arriving-soon { background: var(--s-arriving); border-color: var(--s-arriving-edge); }
.st-arriving-soon .ft-state { color: var(--s-arriving-edge); }
.st-arrived { background: var(--s-arrived); border-color: var(--s-arrived-edge); }
.st-arrived .ft-state { color: var(--s-arrived-edge); }
.st-seated { background: var(--s-seated); border-color: var(--s-seated-edge); }
.st-starters { background: var(--s-starters); border-color: var(--s-starters-edge); }
.st-mains { background: var(--s-mains); border-color: var(--s-mains-edge); }
.st-seated .ft-state, .st-starters .ft-state, .st-mains .ft-state { color: var(--s-seated-edge); }
.st-dessert { background: var(--s-dessert); border-color: var(--s-dessert-edge); }
.st-dessert .ft-state { color: var(--s-dessert-edge); }
.st-bill { background: var(--s-bill); border-color: var(--s-bill-edge); }
.st-bill .ft-state { color: var(--s-bill-edge); }
.st-needs-reset { background: repeating-linear-gradient(45deg, var(--s-reset) 0 6px, var(--s-arriving) 6px 12px); border-color: var(--s-reset-edge); border-style: dashed; }
.st-needs-reset .ft-state { color: var(--muted); }
/* Chairs take the edge colour of the table they belong to. */
.st-arriving-soon .chair { border-color: var(--s-arriving-edge); }
.st-arrived .chair { border-color: var(--s-arrived-edge); }
.st-seated .chair, .st-starters .chair, .st-mains .chair { border-color: var(--s-seated-edge); background: var(--s-seated); }
.st-dessert .chair { border-color: var(--s-dessert-edge); background: var(--s-dessert); }
.st-bill .chair { border-color: var(--s-bill-edge); background: var(--s-bill); }
.st-needs-reset .chair { border-color: var(--s-reset-edge); }

/* Key */
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; }
.key { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--h-muted); font-weight: 600; background: none !important; border: 0 !important; }
.key i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid; display: inline-block; }
.key.st-available i { background: var(--s-free); border-color: var(--s-free-edge); }
.key.st-arriving-soon i { background: var(--s-arriving); border-color: var(--s-arriving-edge); }
.key.st-arrived i { background: var(--s-arrived); border-color: var(--s-arrived-edge); }
.key.st-seated i { background: var(--s-seated); border-color: var(--s-seated-edge); }
.key.st-starters i { background: var(--s-starters); border-color: var(--s-starters-edge); }
.key.st-mains i { background: var(--s-mains); border-color: var(--s-mains-edge); }
.key.st-dessert i { background: var(--s-dessert); border-color: var(--s-dessert-edge); }
.key.st-bill i { background: var(--s-bill); border-color: var(--s-bill-edge); }
.key.st-needs-reset i { background: var(--s-reset); border-color: var(--s-reset-edge); border-style: dashed; }

/* Side panels */
.panel { background: var(--h-panel); border: 1px solid var(--h-line); border-radius: var(--r-card); padding: 14px 16px; margin-bottom: 12px; }
.panel h2 { font-size: 1rem; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.panel h2 small { font-size: .75rem; color: var(--h-muted); font-weight: 600; }
.arrivals { list-style: none; margin: 0; padding: 0; }
.arrivals li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--h-line); }
.arrivals li:first-child { border-top: 0; }
.a-time { font-weight: 800; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.a-time small { font-weight: 600; color: var(--h-muted); margin-left: 2px; font-size: .6875rem; }
.a-who { display: flex; flex-direction: column; min-width: 0; }
.a-who strong { font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-meta { font-size: .8125rem; color: var(--h-muted); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.arrivals li.is-here .a-time { color: var(--s-arrived-edge); }
.arrivals li.is-late .a-time { color: var(--danger); }
.btn.small { min-height: 40px; padding: 6px 14px; font-size: .875rem; }
.btn.wide { width: 100%; margin-top: 8px; }
.closeouts { display: grid; gap: 6px; }
.closeouts .inline { margin: 0; }
.closeouts .btn { width: 100%; justify-content: center; }

.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--r-ctl); font-size: .6875rem; font-weight: 800; font-style: normal;
  background: var(--s-arriving); color: var(--s-arriving-edge); letter-spacing: .02em; }
.badge.vip { background: var(--s-arriving); color: var(--s-arriving-edge); }
.badge.alert { background: var(--danger-soft); color: var(--danger); }
.badge.occ { background: var(--s-dessert); color: var(--s-dessert-edge); }
.badge.here { background: var(--s-arrived); color: var(--s-arrived-edge); }
.badge.late { background: var(--danger-soft); color: var(--danger); }

.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--h-line); font-weight: 700; }
.seg input:checked + span { background: transparent; border-color: var(--h-accent); color: var(--h-accent); }
.seg input:focus-visible + span { outline: 3px solid var(--h-accent); outline-offset: 2px; }

/* ----- Timeline ----- */
.tl-toolbar { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.tl-toolbar .datebar { margin: 0; }
.timeline-card { background: var(--h-panel); border: 1px solid var(--h-line); border-radius: var(--r-card); padding: 0; overflow-x: auto; box-shadow: none; }
.tl { min-width: 980px; font-size: .8125rem; }
.tl-head, .tl-row { display: grid; grid-template-columns: 84px 1fr; }
.tl-head { position: sticky; top: 0; z-index: 3; background: var(--h-panel); border-bottom: 1px solid var(--h-line); }
.tl-corner { color: var(--h-muted); font-size: .75rem; font-weight: 600; }
.tl-label { display: flex; align-items: center; padding: 0 12px; border-right: 1px solid var(--h-line); background: var(--h-panel); }
.tl-label strong { font-size: .875rem; }
.tl-zone { padding: 8px 12px 6px; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--h-muted);
  background: var(--s-arriving); border-bottom: 1px solid var(--h-line); }
.tl-row { border-bottom: 1px solid var(--s-arriving); min-height: 46px; }
.tl-track { position: relative; min-height: 46px;
  background-image: linear-gradient(90deg, var(--s-arriving) 1px, transparent 1px);
  background-size: calc(100% / var(--cols, 20)) 100%; }
.tl-scale { min-height: 34px; background-image: none; }
.tl-scale span { position: absolute; top: 10px; transform: translateX(-50%); color: var(--h-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.tl-scale span.hour { color: var(--h-ink); font-weight: 700; }
.now-tag { background: var(--danger); color: var(--accent-ink) !important; border-radius: var(--r-ctl); padding: 1px 7px; font-weight: 700; top: 8px !important; z-index: 2; }
.tl-block { position: absolute; top: 5px; bottom: 5px; border-radius: 8px; padding: 3px 8px; display: flex; flex-direction: column; justify-content: center;
  gap: 1px; overflow: hidden; text-decoration: none; color: var(--ink); border: 0; border-left: 4px solid var(--s-free-edge); background: var(--s-free);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); min-width: 28px; line-height: 1.15; }
.tl-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8125rem; }
.tl-meta { display: flex; gap: 4px; align-items: center; white-space: nowrap; overflow: hidden; font-size: .6875rem; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.tl-meta .badge { height: 16px; padding: 0 5px; font-size: .625rem; }
.tl-block.status-confirmed, .tl-block.status-pending { background: var(--surface); border-left-color: var(--s-arriving-edge); }
.tl-block.status-arrived { background: var(--s-arrived); border-left-color: var(--s-arrived-edge); }
.tl-block.status-seated { background: var(--s-seated); border-left-color: var(--s-seated-edge); }
.tl-block.status-seated.stage-starters { background: var(--s-starters); border-left-color: var(--s-starters-edge); }
.tl-block.status-seated.stage-mains { background: var(--s-mains); border-left-color: var(--s-mains-edge); }
.tl-block.status-seated.stage-dessert { background: var(--s-dessert); border-left-color: var(--s-dessert-edge); }
.tl-block.status-bill { background: var(--s-bill); border-left-color: var(--s-bill-edge); }
.tl-block.status-finished { background: var(--s-arriving); border-left-color: var(--line); color: var(--muted); }
.tl-block.status-finished .tl-meta { color: var(--muted); }
.tl-reset { position: absolute; top: 12px; bottom: 12px; border-radius: 4px; background: repeating-linear-gradient(45deg, var(--s-arriving) 0 4px, transparent 4px 8px); }
.nowline { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--danger); z-index: 2; }

/* ----- Run-sheet ----- */
.rs-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.rs-tools { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.rs-tools .field { min-width: 240px; }
.rs { background: var(--h-panel); border: 1px solid var(--h-line); border-radius: var(--r-card); overflow: hidden; }
.rs-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 56px 90px 130px 480px; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--h-line); }
.rs-row:first-child { border-top: 0; }
.rs-row.rs-cols { background: var(--s-arriving); font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--h-muted); padding-top: 8px; padding-bottom: 8px; }
.rs-time { font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.rs-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rs-who strong { font-size: .9375rem; }
.rs-who strong a { color: inherit; text-decoration: none; }
.rs-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.rs-note { font-size: .8125rem; color: var(--h-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-cov { font-weight: 800; font-size: 1.0625rem; text-align: center; }
.rs-table { font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-ctl); font-size: .75rem; font-weight: 800; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.p-confirmed, .pill.p-pending { background: var(--s-arriving); color: var(--s-arriving-edge); }
.pill.p-arrived { background: var(--s-arrived); color: var(--s-arrived-edge); }
.pill.p-seated { background: var(--s-seated); color: var(--s-seated-edge); }
.pill.p-bill { background: var(--s-bill); color: var(--s-bill-edge); }
.pill.p-finished { background: var(--s-arriving); color: var(--muted); }
.pill.p-cancelled, .pill.p-no_show { background: var(--danger-soft); color: var(--danger); }
.rs-actions { display: flex; flex-wrap: nowrap; gap: 6px; justify-content: flex-end; }
.rs-actions .inline { margin: 0; }
.rs-actions .btn { min-height: 40px; padding: 6px 14px; font-size: .875rem; }
.rs-empty { padding: 28px 16px; text-align: center; color: var(--h-muted); }
@media (max-width: 1180px) {
  .rs-row { grid-template-columns: 56px 1fr 48px; }
  .rs-row > .rs-table, .rs-row > .rs-state { display: none; }
  .rs-row > .rs-actions { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .rs-row.rs-cols { display: none; }
}

/* ----- Summary ----- */
.host .stats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .host .stats { grid-template-columns: repeat(4, 1fr); } }
.host .stat { background: var(--h-panel); border-color: var(--h-line); box-shadow: none; }
.host .card { background: var(--h-panel); border-color: var(--h-line); box-shadow: none; }
.more { display: block; text-align: center; padding: 10px 0 2px; font-weight: 600; font-size: .875rem; color: var(--h-accent); text-decoration: none; }

/* ----- Shift report ----- */
.sr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 4px 0 8px; }
.sr-head h1 { margin: 0; font-size: 1.6rem; letter-spacing: -.01em; }
.sr-head p { margin: 4px 0 0; color: var(--h-muted); }
.sr-days { display: flex; gap: 8px; flex-wrap: wrap; }
.sr-lede { font-size: 1.1rem; margin: 12px 0 4px; color: var(--h-ink); }
.sr-stats .stat small { display: block; margin-top: 4px; color: var(--h-muted); font-size: .8rem; line-height: 1.35; }
.sr-split { display: flex; height: 22px; border-radius: var(--r-ctl); overflow: hidden; gap: 2px; margin: 8px 0 16px; }
.sr-split span { min-width: 6px; }
.sr-finished { background: var(--s-reset-edge); }
.sr-seated { background: var(--s-seated-edge); }
.sr-arrived { background: var(--s-arrived-edge); }
.sr-to_come { background: var(--s-arriving-edge); }
.sr-no_show { background: var(--danger); }
.sr-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sr-legend li { display: grid; grid-template-columns: 14px 1fr auto 80px; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--h-line); }
.sr-legend li:first-child { border-top: 0; }
.sr-legend i { width: 14px; height: 14px; border-radius: 4px; }
.sr-legend strong { display: block; }
.sr-legend span { display: block; color: var(--h-muted); font-size: .85rem; }
.sr-legend b { font-variant-numeric: tabular-nums; }
.sr-legend em { font-style: normal; color: var(--h-muted); text-align: right; font-size: .9rem; }
.sr-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .sr-grid { grid-template-columns: 3fr 2fr; } }
.sr-grid .card { margin: 0; }
.host .bar-row .bar { display: block; height: 10px; margin: 0; background: var(--h-line); border-radius: var(--r-ctl); overflow: hidden; }
.host .bar-row .bar > span { display: block; height: 100%; background: var(--h-accent); opacity: .55; border-radius: var(--r-ctl); }
.host .bar-row.is-peak .bar > span { opacity: 1; }
.host .bar-row.is-peak > span:first-child, .host .bar-row.is-peak strong { color: var(--h-accent); font-weight: 700; }
.sr-notes { list-style: none; margin: 0; padding: 0; }
.sr-notes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--h-line); }
.sr-notes li:first-child { border-top: 0; }
.sr-notes b { font-variant-numeric: tabular-nums; }
.sr-turns { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sr-turns th { text-align: left; font-weight: 600; font-size: .8rem; color: var(--h-muted); padding: 6px 12px 8px 0; border-bottom: 1px solid var(--h-line); }
.sr-turns td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--h-line); }
.sr-turns tr:last-child td { border-bottom: 0; }
.sr-ok { color: var(--s-seated-edge); font-weight: 600; }
.sr-over { color: var(--s-arriving-edge); font-weight: 600; }
@media (max-width: 700px) {
  .sr-legend li { grid-template-columns: 14px 1fr auto; }
  .sr-legend em { display: none; }
  .sr-turns th:nth-child(4), .sr-turns td:nth-child(4) { display: none; }
}

/* ----- Server per area ----- */
.zone-server { display: flex; align-items: flex-end; gap: 8px; margin: 0; }
.zone-server label { display: grid; gap: 2px; font-size: .75rem; color: var(--h-muted); }
.zone-server input { min-width: 180px; }
.host .pulse small { font-weight: 500; color: var(--h-muted); }

/* ----- Messaging, spend and rota ----- */
.sr-send { margin: 12px 0 18px; }
.msg-sent { color: var(--s-seated-edge); font-weight: 600; }
.msg-logged { color: var(--h-muted); font-weight: 600; }
.msg-failed { color: var(--danger); font-weight: 600; }
.a-actions { display: inline-flex; gap: 6px; align-items: center; }

/* ---- Courses ---- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.course { margin: 0; }
.course button { width: 100%; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 16px;
  border: 2px solid var(--h-line); background: var(--h-bg); color: var(--h-ink); font: inherit; cursor: pointer; padding: 12px; }
.course button:disabled { cursor: default; }
.course b { font-size: 1.25rem; }
.course em { font-style: normal; font-weight: 700; font-size: .9375rem; }
.c-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-ctl); font-size: 1.25rem; font-weight: 800; border: 2px dashed currentColor; opacity: .55; }
.c-done button { background: var(--s-seated); border-color: var(--s-seated); color: var(--s-seated-edge); }
.c-done .c-mark { background: var(--s-seated); border: 0; color: var(--ink); opacity: 1; }
.c-doing button { background: var(--s-arriving); border-color: var(--s-arriving-edge); color: var(--s-arriving-edge); }
.c-doing .c-mark { border: 2px solid var(--s-arriving-edge); background: var(--s-arriving); opacity: 1; }
.c-todo button { background: var(--h-bg); color: var(--h-muted); }
.course-clear { margin: 10px 0 0; text-align: right; }

/* ---- Move tables ---- */
.zone-h { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--h-muted); margin: 14px 0 6px; }
.tchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.tchip { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: var(--r-card); border: 2px solid var(--h-line); background: var(--h-panel); cursor: pointer; }
.tchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tc-num { font-weight: 800; font-size: 1.125rem; }
.tc-seats { font-size: .8125rem; color: var(--h-muted); }
.tc-why { font-size: .8125rem; font-weight: 700; }
.tchip.is-free { border-color: var(--s-seated); background: var(--s-seated); } .tchip.is-free .tc-why { color: var(--s-seated-edge); }
.tchip.is-mine { border-color: var(--h-accent); background: var(--s-arriving); } .tchip.is-mine .tc-why { color: var(--h-accent); }
.tchip.is-taken { background: var(--danger-soft); border-color: var(--danger-soft); color: var(--danger); cursor: not-allowed; } .tchip.is-taken .tc-seats { color: var(--danger); } .tchip.is-taken .tc-why { color: var(--danger); }
.tchip:has(input:checked) { box-shadow: 0 0 0 3px var(--h-accent); }

/* ---- Turn time ---- */
.turnbar { display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center; margin-bottom: 14px; }
.turnbar span { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--h-muted); }
.turnbar strong { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.tb-line { position: relative; text-align: center; }
.tb-line i { position: absolute; left: 0; right: 0; top: 50%; height: 4px; border-radius: 2px; background: var(--h-line); }
.tb-line b { position: relative; background: var(--h-panel); padding: 0 10px; font-size: .9375rem; }
.tb-left { padding-left: 18px; border-left: 1px solid var(--h-line); }
.tb-left.is-soon strong { color: var(--s-arriving-edge); }
.turn-presets { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Bill ---- */
.bill h2 { display: flex; align-items: center; gap: 10px; }
.paid-chip { font-size: .8125rem; font-weight: 800; padding: 3px 10px; border-radius: var(--r-ctl); background: var(--s-seated); color: var(--ink); }
.paid-chip.open { background: var(--s-arriving-edge); color: var(--accent-ink); }
.bill-lines { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.bill-lines th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--h-muted); padding: 4px 0 8px; border-bottom: 2px solid var(--h-ink); }
.bill-lines td { padding: 7px 0; border-bottom: 1px solid var(--h-line); }
.bill-lines .n { text-align: right; width: 86px; }
.bill-lines tfoot td { border-bottom: 0; padding: 5px 0; color: var(--h-muted); }
.bill-lines tfoot .sum td { color: var(--h-ink); font-weight: 800; font-size: 1.125rem; border-top: 1px solid var(--h-line); padding-top: 9px; }
.pay-confirm { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-card); background: var(--s-seated); color: var(--s-seated-edge); margin-bottom: 14px; }
.pay-confirm span:not(.pc-tick) { display: block; font-weight: 600; }
.pc-tick { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-ctl); background: var(--s-seated); color: var(--ink); font-size: 1.375rem; font-weight: 800; flex: none; }
.bill-edit summary { cursor: pointer; font-weight: 700; color: var(--h-accent); margin: 6px 0 12px; }

/* ---- Run-sheet status variety ---- */
.pill.p-late { background: var(--s-arriving); color: var(--s-arriving-edge); }
.pill.p-part { background: var(--s-arrived); color: var(--s-arrived-edge); box-shadow: inset 0 0 0 2px var(--s-arrived); }
.pill.p-confirmed { background: var(--s-arriving); color: var(--muted); }
.rs-row.row-cancelled, .rs-row.row-no_show { opacity: .62; }
.rs-row.row-cancelled .rs-who strong a { text-decoration: line-through; }
.rs-row.row-no_show .rs-who strong a { text-decoration: line-through; text-decoration-color: var(--danger); }
.part-here { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.part-here span { font-weight: 700; margin-right: 6px; }

/* ---- Timeline extras ---- */
.tl-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--h-line); border: 1px solid var(--h-line); border-radius: var(--r-card); overflow: hidden; margin-bottom: 12px; }
.tl-stats > div { background: var(--h-panel); padding: 10px 14px; display: flex; flex-direction: column; }
.tl-stats span { color: var(--h-muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tl-stats strong { font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tl-stats small { font-size: .8125rem; color: var(--h-muted); font-weight: 600; }
.tl-label { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.tl-label small { color: var(--h-muted); font-size: .6875rem; font-weight: 600; }
.tl-load { background: var(--s-arriving); border-top: 2px solid var(--h-line); }
.tl-load .tl-track { background: none; }
.load-cell { position: absolute; top: 6px; bottom: 6px; display: grid; place-items: center; border-radius: 6px; background: rgba(201,162,74, calc(.06 + var(--f) * .3)); }
.load-cell b { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.tl-key { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 16px; border-top: 1px solid var(--h-line); font-size: .8125rem; color: var(--h-muted); font-weight: 600; }
.tl-key i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 2px solid; }
.k-booked { background: var(--surface); border-color: var(--s-arriving-edge); } .k-arrived { background: var(--s-arrived); border-color: var(--s-arrived-edge); }
.k-starters { background: var(--s-starters); border-color: var(--s-starters-edge); } .k-mains { background: var(--s-mains); border-color: var(--s-mains-edge); }
.k-dessert { background: var(--s-dessert); border-color: var(--s-dessert-edge); } .k-bill { background: var(--s-bill); border-color: var(--s-bill-edge); }
.k-done { background: var(--s-arriving); border-color: var(--line); } .k-reset { background: repeating-linear-gradient(45deg, var(--raised) 0 3px, var(--s-arriving) 3px 6px); border-color: var(--line); }
@media (max-width: 760px) { .tl-stats { grid-template-columns: repeat(3, 1fr); } }

/* ---- Report charts ---- */
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chart-grid .card { margin: 0; }
.chart-grid .wide { grid-column: 1 / -1; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--h-line); stroke-width: 1; }
.chart .ax { fill: var(--h-muted); font-size: 11px; font-weight: 600; }
.chart .val { fill: var(--h-ink); font-size: 11px; font-weight: 800; }
.split { display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 2px; margin: 8px 0 12px; }
.split-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9375rem; }
.split-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; }
.split-key em { font-style: normal; color: var(--h-muted); font-weight: 700; margin-left: 4px; }
.tip-line { margin: 12px 0 0; font-size: 1rem; }
.hbars { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.hbars li { display: grid; grid-template-columns: 130px 1fr 36px; align-items: center; gap: 10px; font-weight: 600; }
.hbars div { background: var(--h-bg); border-radius: 6px; height: 18px; overflow: hidden; }
.hbars i { display: block; height: 100%; border-radius: 6px; }
.hbars b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .chart-grid { grid-template-columns: 1fr; } }

/* ---- My shift ---- */
.mine-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 26px; margin-bottom: 14px; }
.mine-hello { margin: 0; color: var(--s-arriving-edge); font-weight: 600; }
.mine-hero h1 { margin: 2px 0 4px; font-size: 1.9rem; color: inherit; }
.mine-sub { margin: 0; color: var(--muted); } .mine-sub strong { color: var(--ink); }
.mine-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.mine-stats div { background: rgba(255,255,255,.1); border-radius: var(--r-card); padding: 10px 18px; min-width: 130px; }
.mine-stats b { display: block; font-size: 2.1rem; line-height: 1.1; } .mine-stats span { font-size: .8125rem; color: var(--s-arriving-edge); font-weight: 600; }
.mine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mine-grid .card { margin: 0; } .mine-wide { grid-column: 1 / -1; }
.mine-grid h2 small { font-size: .875rem; color: var(--h-muted); font-weight: 600; margin-left: 8px; }
.mine-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.mt { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--r-card); border: 2px solid var(--s-free-edge); background: var(--s-free); color: var(--ink); text-decoration: none; }
.mt b { font-size: 1.375rem; } .mt span { font-weight: 800; font-size: .9375rem; } .mt small { color: color-mix(in srgb, var(--ink) 70%, transparent); font-weight: 600; }
.mt.st-arrived { background: var(--s-arrived); border-color: var(--s-arrived-edge); } .mt.st-seated { background: var(--s-seated); border-color: var(--s-seated-edge); }
.mt.st-starters { background: var(--s-starters); border-color: var(--s-starters-edge); } .mt.st-mains { background: var(--s-mains); border-color: var(--s-mains-edge); }
.mt.st-dessert { background: var(--s-dessert); border-color: var(--s-dessert-edge); } .mt.st-bill { background: var(--s-bill); border-color: var(--s-bill-edge); }
.mt.st-arriving-soon { background: var(--s-arriving); border-color: var(--s-arriving-edge); } .mt.st-needs-reset { background: var(--s-reset); border-style: dashed; }
.mine-list { list-style: none; margin: 0; padding: 0; }
.mine-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--h-line); }
.mine-list li:first-child { border-top: 0; }
.mine-list time { font-weight: 800; font-variant-numeric: tabular-nums; }
.mine-list b { display: block; } .mine-list em { display: block; font-style: normal; color: var(--h-muted); font-size: .875rem; font-weight: 600; }
.mine-flags { display: flex; gap: 4px; }
.mine-courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin-bottom: 8px; }
.mine-courses div { background: var(--h-bg); border-radius: var(--r-card); padding: 10px 12px; } .mine-courses b { display: block; font-size: 1.75rem; } .mine-courses span { font-size: .8125rem; color: var(--h-muted); font-weight: 700; }
.mine-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mine-team li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; }
.mine-team .av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-ctl); background: var(--h-accent); color: var(--accent-ink); font-weight: 800; }
.mine-team em { font-style: normal; color: var(--h-muted); font-size: .875rem; font-weight: 600; }
@media (max-width: 760px) { .mine-grid { grid-template-columns: 1fr; } }

/* ---- Waitlist ---- */
.wl-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--h-line); border: 1px solid var(--h-line); border-radius: var(--r-card); overflow: hidden; margin-bottom: 14px; }
.wl-summary > div { background: var(--h-panel); padding: 12px 16px; } .wl-summary b { display: block; font-size: 1.75rem; line-height: 1.15; }
.wl-summary span { font-size: .8125rem; color: var(--h-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.wl-summary .ok { background: var(--s-seated); } .wl-summary .ok b { color: var(--s-seated-edge); }
.wl-list { display: grid; gap: 10px; }
.wl-card { display: grid; grid-template-columns: 30px 84px minmax(0, 1fr) 104px max-content; gap: 16px; align-items: center; background: var(--h-panel); border: 1px solid var(--h-line); border-left: 6px solid var(--s-seated); border-radius: 16px; padding: 14px 18px; }
.wl-card.wl-mid { border-left-color: var(--s-arriving-edge); } .wl-card.wl-long { border-left-color: var(--danger); }
.wl-pos { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-ctl); background: var(--h-bg); font-weight: 800; font-size: .875rem; color: var(--h-muted); }
.wl-party { text-align: center; background: var(--h-bg); border-radius: var(--r-card); padding: 8px 0; } .wl-party b { display: block; font-size: 2rem; line-height: 1; } .wl-party span { font-size: .75rem; font-weight: 700; color: var(--h-muted); }
.wl-who strong { display: block; font-size: 1.25rem; } .wl-who span { display: block; color: var(--h-muted); font-size: .9375rem; }
.wl-fit, .wl-nofit { display: inline-block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: .875rem; padding: 3px 10px; border-radius: var(--r-ctl); }
.wl-fit { background: var(--s-seated); color: var(--s-seated-edge); } .wl-nofit { background: var(--s-arriving); color: var(--muted); }
.wl-wait { text-align: center; } .wl-wait b { display: block; font-size: 1.875rem; line-height: 1; font-variant-numeric: tabular-nums; } .wl-wait span { font-size: .75rem; font-weight: 700; color: var(--h-muted); }
.wl-mid .wl-wait b { color: var(--s-arriving-edge); } .wl-long .wl-wait b { color: var(--danger); }
.wl-actions { display: flex; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; align-items: center; }
.wl-actions .inline { margin: 0; }
/* Phones: three equal columns so Seat / Text / Left stay on one line. */
@media (max-width: 560px) { .wl-actions { justify-content: stretch; } .wl-actions > *, .wl-actions form.inline { flex: 1 1 0; min-width: 0; } .wl-actions .btn { width: 100%; padding: 6px 6px; font-size: .6875rem; letter-spacing: .04em; line-height: 1.2; text-align: center; } }
@media (max-width: 900px) { .wl-card { grid-template-columns: 70px 1fr; } .wl-pos, .wl-wait { display: none; } .wl-actions { grid-column: 1 / -1; justify-content: flex-start; } .wl-summary { grid-template-columns: repeat(2, 1fr); } }
.move-form fieldset { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.move-form legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.move-form .zones-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
.move-form .tchips { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.move-form .tchip { padding: 7px 10px; }

/* Booking page: summary card, table + guest strip, legend */
.bk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bk-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.bk-sub { margin: 4px 0 0; color: var(--h-muted); }
.bk-head .pill { height: 34px; padding: 0 14px; font-size: .875rem; }
.bk-k { display: block; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--h-muted); }
.bk-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0; }
.bk-tiles > div { background: var(--h-room); border: 1px solid var(--h-line); border-radius: var(--r-card); padding: 10px 14px; }
.bk-tiles strong { display: block; font-size: 1.375rem; line-height: 1.2; margin-top: 2px; }
.bk-tiles small { color: var(--h-muted); font-size: .8125rem; }
.bk-needs { background: var(--s-arriving); border: 1px solid var(--danger-soft); border-radius: var(--r-card); padding: 10px 14px; margin: 0 0 16px; }
.bk-needs p { margin: 6px 0 0; } .bk-needs .badge { height: 24px; font-size: .75rem; padding: 0 10px; }
.bk-note { font-style: italic; }
.bk-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 16px; }
.bk-cols p { margin: 4px 0 0; line-height: 1.4; }
.bk-timeline { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bk-timeline li { background: var(--h-room); border: 1px solid var(--h-line); border-radius: var(--r-ctl); padding: 4px 12px; font-size: .875rem; }
.bk-strip { display: grid; grid-template-columns: 1fr 2.2fr; gap: 10px; margin: 8px 0 16px; }
.bk-strip:has(.stage) { grid-template-columns: 1fr 1fr 1.4fr; }
.bk-box { background: var(--h-room); border: 1px solid var(--h-line); border-radius: var(--r-card); padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.bk-big { font-size: 1.75rem; line-height: 1.1; } .bk-name { font-size: 1.25rem; }
.bk-s { color: var(--h-muted); font-size: .875rem; }
.bk-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; } .bk-tags em { color: var(--h-ink); }
.bk-tags .badge { height: 22px; font-size: .75rem; padding: 0 9px; }
.bk-box.stage { background: var(--s-seated); border-color: var(--s-seated); } .bk-stage { font-size: 1.5rem; color: var(--s-seated-edge); line-height: 1.15; }
.tc-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; font-size: .8125rem; font-weight: 700; }
.tc-legend .lg { padding: 3px 10px; border-radius: var(--r-ctl); border: 2px solid; }
.tc-legend .free { background: var(--s-seated); border-color: var(--s-seated); color: var(--s-seated-edge); }
.tc-legend .mine { background: var(--s-arriving); border-color: var(--h-accent); color: var(--h-accent); }
.tc-legend .taken { background: var(--danger-soft); border-color: var(--danger-soft); color: var(--danger); }
@media (max-width: 640px) { .bk-strip, .bk-strip:has(.stage) { grid-template-columns: 1fr; } }

.wl-wait { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wl-badge { font-style: normal; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: var(--r-ctl); white-space: nowrap; }
.wl-b-new { background: var(--s-seated); color: var(--s-seated-edge); } .wl-b-mid { background: var(--s-arriving); color: var(--s-arriving-edge); } .wl-b-long { background: var(--danger-soft); color: var(--danger); }

/* My shift: a server's whole night across their own tables */
.sn { margin-top: 6px; }
.sn-axis, .sn-row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
.sn-axis > div { position: relative; height: 26px; border-bottom: 1px solid var(--h-line); }
.sn-axis i { position: absolute; top: 0; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--h-muted); transform: translateX(-50%); }
.sn-now { position: absolute; top: -2px; transform: translateX(-50%); background: var(--danger); color: var(--accent-ink); font-size: .6875rem; padding: 2px 7px; border-radius: var(--r-ctl); z-index: 3; }
.sn-row { align-items: stretch; border-bottom: 1px solid var(--h-line); }
.sn-t { display: flex; flex-direction: column; justify-content: center; } .sn-t b { font-size: 1.25rem; } .sn-t small { color: var(--h-muted); font-size: .75rem; }
.sn-lane { position: relative; height: 74px; background-image: linear-gradient(to right, var(--h-line) 1px, transparent 1px); background-size: calc(100% / 11) 100%; }
.sn-b { position: absolute; top: 6px; bottom: 6px; border-radius: var(--r-card); border: 2px solid; padding: 4px 8px; overflow: hidden; display: flex; flex-direction: column; gap: 1px; text-decoration: none; color: var(--h-ink); line-height: 1.2; }
.sn-b b { font-size: .8125rem; white-space: nowrap; } .sn-b span { font-size: .6875rem; color: var(--muted); white-space: nowrap; }
.sn-b em { font-style: normal; display: flex; gap: 3px; flex-wrap: nowrap; margin-top: 2px; }
.sb-finished { background: var(--s-arriving); border-color: var(--line); } .sb-seated { background: var(--s-seated); border-color: var(--s-seated); } .sb-arrived { background: var(--s-arrived); border-color: var(--s-arrived); }
.sb-confirmed { background: var(--surface); border-color: var(--s-arriving-edge); } .sb-bill { background: var(--s-bill); border-color: var(--s-bill); }
.sn-k { font-style: normal; font-size: .625rem; font-weight: 800; padding: 1px 6px; border-radius: var(--r-ctl); white-space: nowrap; }
.sn-k.bd { background: var(--s-dessert); color: var(--s-dessert-edge); } .sn-k.an { background: var(--danger-soft); color: var(--s-dessert-edge); } .sn-k.oc { background: var(--s-bill); color: var(--s-bill-edge); }
.sn-k.vip { background: var(--s-arriving); color: var(--s-arriving-edge); } .sn-k.al { background: var(--danger-soft); color: var(--danger); }
.sn-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .75rem; color: var(--h-muted); margin: 10px 0 0; }
.sn-key > span { padding: 2px 10px; border-radius: var(--r-ctl); border: 2px solid; font-weight: 700; color: var(--h-ink); }

/* Taken tables are crosshatched so they read as occupied at a glance; free and soon-to-be-booked ones stay plain. */
.floor .ft.st-arrived, .floor .ft.st-seated, .floor .ft.st-starters, .floor .ft.st-mains, .floor .ft.st-dessert, .floor .ft.st-bill, .floor .ft.st-needs-reset {
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.11) 0 1px, transparent 1px 7px);
}
.key.st-arrived i, .key.st-seated i, .key.st-starters i, .key.st-mains i, .key.st-dessert i, .key.st-bill i {
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.25) 0 2px, transparent 2px 5px);
}
/* A little more air between tables on the host floor. */
.floor .ft { scale: .86; }

.floor .ft.st-available .ft-sub { overflow: visible; text-overflow: clip; font-size: .6875rem; letter-spacing: -.01em; }
.floor .ft.st-available .ft-body { padding: 0 2px; }
.floor .ft.st-available .ft-sub { white-space: normal; text-align: center; line-height: 1.05; }
