@import url('tokens.css?v=705d6f3');
/* TableSet. Plain CSS, no build step. Colours, fonts and radii come from tokens.css. */

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-body);
  -webkit-text-size-adjust: 100%;
  padding-bottom: env(safe-area-inset-bottom);
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 1.125rem; margin: 0 0 .75rem; }
a { color: var(--accent); }
.wrap { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
.wrap.narrow { max-width: 420px; }
.wrap.wide { max-width: 1040px; }
.brand { margin: 8px 0 20px; }
.lede, .hint { color: var(--muted); margin: 4px 0 0; font-size: .95rem; }
.hint { font-size: .875rem; margin: 0 0 12px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
}
.step[hidden], .done[hidden] { display: none; }
.row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
.grid4 { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: end; }
@media (min-width: 720px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 8px 0; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend, fieldset.field > legend { font-size: .875rem; font-weight: 600; color: var(--muted); padding: 0; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--midnight);
  border: 1px solid var(--line); border-radius: var(--r-ctl);
  min-height: 48px; padding: 10px 12px; width: 100%;
}
textarea { min-height: 88px; resize: vertical; }
/* Own dropdown arrow, inset 14px from the edge, with room so long text never runs under it. */
select {
  -webkit-appearance: none; appearance: none;
  background-image: var(--chevron); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
  padding-right: 40px; text-overflow: ellipsis;
}
select option { background: var(--surface); color: var(--ink); }
fieldset.field, .step > .field { margin-bottom: 16px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .time:focus-visible, .slot:focus-visible, .guest-chip:focus-visible, .cal-day:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; min-width: 48px; padding: 10px 18px; border-radius: var(--r-ctl);
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  text-transform: uppercase; letter-spacing: .08em; font-size: .875rem;
}
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: var(--line); }
.btn.quiet { color: var(--muted); }
.btn.danger { border-color: var(--danger); color: var(--danger); }
.btn.danger:hover { background: var(--danger-soft); }
.btn:disabled { opacity: .6; cursor: default; }
.btn + .btn { margin-left: 8px; }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
/* Buttons in cards and forms fill the row. Compact spots (summary bar, list rows, host toolbars) stay their own size. */
.card .btn, .actions .btn, .inline .btn { width: 100%; margin-left: 0; }
.inline .btn { flex: 1 1 100%; }
.summary-bar .btn, .row-item .btn, .list .btn, .host .btn, .hostbar .btn, .bar .btn { width: auto; }
.inline .field { flex: 1 1 140px; }
.inline form, form.inline { width: 100%; }
/* Compact action rows (host stand, table and list rows): buttons keep their own size and sit on one line. */
.host .inline .btn, .rs-actions .btn, .row-item .btn, .list .btn { flex: 0 0 auto; width: auto; }
.host form.inline, .rs-actions form.inline, .row-item form.inline, .list form.inline { width: auto; }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 16px; }
.time {
  min-height: 48px; border-radius: var(--r-ctl); border: 1px solid var(--line);
  background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.time small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.time[aria-pressed="true"] { background: transparent; color: var(--accent); border-color: var(--accent); }
.times:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label, .check {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); cursor: pointer;
}
.chips input, .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.chips input:checked + span { font-weight: 600; }

.summary { font-weight: 600; background: var(--accent-soft); padding: 12px 14px; border-radius: var(--r-card); margin: 0 0 16px; }
.notice { padding: 12px 14px; border-radius: var(--r-card); background: var(--accent-soft); margin: 12px 0; }
.notice.error { background: var(--danger-soft); color: var(--danger); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0 20px; flex-wrap: wrap; }
.list { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .95rem; }
.list th, .list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.list th { color: var(--muted); font-weight: 600; font-size: .8125rem; }
.end { text-align: right; }
.row-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.row-item.sub { padding-left: 16px; border-bottom-style: dashed; }
.sitting { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.sub-form { padding-left: 16px; }
.table-form { margin-bottom: 8px; }

/* ----- staff host stand (iPad landscape and portrait, laptop) ----- */
.host { background: var(--bg); }
.host-main { max-width: 1280px; margin: 0 auto; padding: 16px; }
.hostbar { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px 16px; }
.hostbar-name { display: flex; flex-direction: column; line-height: 1.2; }
.hostbar-name span { color: var(--muted); font-size: .8125rem; }
.hostnav { display: flex; flex-wrap: wrap; gap: 6px; }
.hostnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-ctl); color: var(--ink); text-decoration: none; font-weight: 600; }
.hostnav a.on { background: transparent; color: var(--accent); border-color: var(--accent); border: 1px solid var(--accent); }
.datebar { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-bottom: 12px; }
.datebar .field { min-width: 180px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.tabs a.on { background: transparent; color: var(--accent); border-color: var(--accent); }
.search { margin-bottom: 12px; }
.booking { display: grid; gap: 12px; border-left: 6px solid var(--line); }
.booking.status-confirmed { border-left-color: var(--st-free); }
.booking.status-arrived { border-left-color: var(--s-arrived); }
.booking.status-seated { border-left-color: var(--s-seated); }
.booking.status-bill { border-left-color: var(--s-bill); }
.booking.status-pending { border-left-color: var(--s-arriving-edge); }
.booking.status-cancelled, .booking.status-no_show { opacity: .65; }
.booking-head { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start; }
.booking .time { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.booking .who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.booking .meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.booking .covers { font-size: 1.5rem; font-weight: 700; }
.booking .state { font-weight: 600; font-size: .875rem; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.booking-actions .inline { margin: 0; }
.chips-inline { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: var(--r-ctl); font-size: .8125rem; font-weight: 600; background: var(--accent-soft); color: var(--ink); }
.chip.vip { background: var(--s-arriving); color: var(--s-arriving-edge); }
.chip.alert { background: var(--danger-soft); color: var(--danger); }
.chip.warn { background: var(--s-arriving); color: var(--s-arriving-edge); }
.chip.quiet { background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 12px 0 16px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.stat span { display: block; color: var(--muted); font-size: .875rem; }
.stat strong { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 56px 1fr 48px; align-items: center; gap: 10px; }
.bar { height: 14px; background: var(--line); border-radius: var(--r-ctl); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: var(--r-ctl); }

/* Timeline grid */
.timeline-card { overflow-x: auto; padding: 12px; }
.tl { min-width: 880px; font-size: .875rem; }
.tl-head, .tl-row { display: grid; grid-template-columns: 110px 1fr; align-items: stretch; }
.tl-head { border-bottom: 1px solid var(--line); }
.tl-label { display: flex; flex-direction: column; justify-content: center; padding: 6px 8px; border-right: 1px solid var(--line); }
.tl-label small { color: var(--muted); }
.tl-row { border-bottom: 1px solid var(--line); min-height: 52px; }
.tl-track { position: relative; min-height: 52px; background: repeating-linear-gradient(90deg, transparent 0 calc(100%/var(--cols,24) - 1px), var(--line) calc(100%/var(--cols,24) - 1px) calc(100%/var(--cols,24))); }
.tl-scale { min-height: 30px; }
.tl-scale span { position: absolute; top: 8px; transform: translateX(-50%); color: var(--muted); font-variant-numeric: tabular-nums; font-size: .75rem; }
.tl-block { position: absolute; top: 6px; bottom: 6px; border-radius: var(--r-card); padding: 4px 8px; background: var(--st-free); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; min-width: 36px; display: flex; align-items: center; gap: 4px; }
.tl-block span { overflow: hidden; text-overflow: ellipsis; }
.tl-block.status-confirmed { background: var(--st-free); }
.tl-block.status-pending { background: var(--st-arriving); }
.tl-block.status-arrived { background: var(--st-arrived); }
.tl-block.status-seated { background: var(--st-seated); }
.tl-block.status-bill { background: var(--st-bill); }
.tl-block.status-finished { background: var(--st-reset); }
.tl-reset { position: absolute; top: 10px; bottom: 10px; border-radius: 6px; background: repeating-linear-gradient(45deg, var(--st-reset) 0 6px, transparent 6px 12px); }
.nowline { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--danger); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }
.dot.vip { background: var(--s-arriving-edge); }
.dot.alert { background: var(--danger); }

/* Floor plan */
.plan { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.ftable { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 44px; min-height: 44px; border: 2px solid var(--line); background: var(--st-free); color: var(--ink); text-decoration: none; padding: 4px; font-size: .8125rem; text-align: center; }
.ftable.shape-round { border-radius: 50%; }
.ftable.shape-booth { border-radius: var(--r-card); }
.ftable.shape-square { border-radius: var(--r-card); }
.ftable strong { font-size: 1rem; }
.ftable small { color: var(--muted); }
.ftable em { font-style: normal; font-weight: 600; font-size: .75rem; }
.ftable.state-free { background: var(--st-free); }
.ftable.state-arriving { background: var(--st-arriving); }
.ftable.state-arrived { background: var(--st-arrived); }
.ftable.state-seated { background: var(--st-seated); }
.ftable.state-bill { background: var(--st-bill); }
.ftable.state-reset { background: var(--st-reset); border-style: dashed; }
.ftable.picked { outline: 3px solid var(--accent); outline-offset: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.k { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: var(--r-ctl); border: 1px solid var(--line); font-size: .8125rem; }
.k.free { background: var(--st-free); } .k.arriving { background: var(--st-arriving); } .k.arrived { background: var(--st-arrived); }
.k.seated { background: var(--st-seated); } .k.bill { background: var(--st-bill); } .k.reset { background: var(--st-reset); }
.walkin { margin-top: 16px; }
@media (max-width: 720px) { .booking-head { grid-template-columns: 1fr; } .booking .meta { align-items: flex-start; text-align: left; } }

/* ----- floor plan: shared table and marker shapes ----- */
.ftable.shape-rectangle { border-radius: 6px; }
.ftable.shape-oval { border-radius: 50%; }
.lm { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .75rem; font-weight: 600;
  color: var(--muted); border: 1px solid var(--line); background: var(--bg); overflow: hidden; padding: 2px; }
.lm.kind-wall { background: var(--muted); border-color: var(--muted); color: transparent; }
.lm.kind-door { border-style: dashed; }
.lm.kind-window { background: repeating-linear-gradient(90deg, transparent 0 8px, var(--line) 8px 10px); }
.lm.kind-bar { background: var(--accent-soft); color: var(--ink); }
.lm.kind-kitchen_pass { background: var(--ok-soft); color: var(--ok); }
.lm.kind-toilets { background: var(--surface); }
.lm.kind-pillar { border-radius: 50%; background: var(--muted); color: transparent; }
.ftable, .lm { touch-action: none; user-select: none; }
.ftable:focus-visible, .lm:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.rz { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); cursor: nwse-resize; display: none; }
.plan.edit .rz { display: block; }
.plan.edit .ftable, .plan.edit .lm { cursor: grab; }
.ftable.selected, .lm.selected { outline: 3px solid var(--accent); outline-offset: 2px; z-index: 2; }
.mode-banner { background: var(--accent-soft); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 12px; font-size: .9375rem; }
.designer { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .designer { grid-template-columns: minmax(0, 1fr) 232px; } }
.props .field { margin-bottom: 12px; }
.props .sep { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.props .btn { width: 100%; margin-bottom: 8px; }
.props .chips .btn { width: auto; flex: 1 1 auto; }
.plan.edit { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 2.5% 2.5%; }

/* ----- live floor: service layout and meal states ----- */
.service { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .service { grid-template-columns: minmax(0, 1fr) 320px; } }
.mode-note { background: var(--accent-soft); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 12px; }
.ftable-form { position: absolute; margin: 0; padding: 0; }
.ftable-form .tapbtn { width: 100%; height: 100%; font: inherit; color: var(--ink); cursor: pointer; }
.ftable.live { text-decoration: none; }
.ftable .who { font-size: .6875rem; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.countdown { font-variant-numeric: tabular-nums; font-size: .75rem; color: var(--ink); background: var(--surface); border-radius: var(--r-ctl); padding: 0 6px; }
.ftable.state-available, .k.state-available { background: var(--st-free); }
.ftable.state-arriving-soon, .k.state-arriving-soon { background: var(--st-arriving); }
.ftable.state-arrived, .k.state-arrived { background: var(--st-arrived); }
.ftable.state-seated, .k.state-seated, .ftable.state-starters, .k.state-starters, .ftable.state-mains, .k.state-mains { background: var(--st-seated); }
.ftable.state-starters, .k.state-starters { background: var(--s-seated); }
.ftable.state-mains, .k.state-mains { background: var(--s-seated); }
.ftable.state-dessert, .k.state-dessert { background: var(--s-dessert); }
.ftable.state-bill, .k.state-bill { background: var(--st-bill); }
.ftable.state-needs-reset, .k.state-needs-reset { background: var(--st-reset); border-style: dashed; }
.k.state-arriving-soon, .k.state-arrived, .k.state-seated, .k.state-bill, .k.state-needs-reset, .k.state-available, .k.state-starters, .k.state-mains, .k.state-dessert { color: var(--ink); }
.plan.live .ftable { color: var(--ink); }
.plan.live .ftable em { font-style: normal; font-size: .6875rem; }
.plan.live { background: var(--surface); }
.lm span { white-space: nowrap; }

/* ----- public booking widget: calendar, then guests and times ----- */
body.widget-page { background: var(--bg); }
.widget-wrap { max-width: 520px; margin: 0 auto; padding: 24px 16px 40px; }
.widget { padding: 0; overflow: hidden; }
.w-head { padding: 22px 22px 14px; border-bottom: 1px solid var(--line); }
.w-head h1 { font-size: 1.375rem; }
.w-head .lede { margin-top: 2px; }
.widget .step { padding: 18px 18px 22px; }
.widget .step[hidden] { display: none; }

.calendar { background: var(--surface); }
.cal-head { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; margin-bottom: 8px; }
.cal-head h2 { text-align: center; font-size: 1.0625rem; margin: 0; }
.cal-nav { width: 44px; height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.375rem; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-week span { text-align: center; font-size: .75rem; font-weight: 600; color: var(--muted); padding: 4px 0; }
.cal-day, .cal-pad { height: 44px; min-width: 0; }
.cal-day { border: 0; border-radius: var(--r-card); background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.cal-day.s-open { background: var(--accent-soft); }
.cal-day.s-full, .cal-day.s-closed, .cal-day.s-past, .cal-day.s-loading { color: var(--muted); opacity: .5; cursor: default; background: transparent; }
.cal-day.s-full, .cal-day.s-closed { text-decoration: line-through; }
.cal-day.s-full { cursor: pointer; opacity: .75; }
.cal-day.s-loading { text-decoration: none; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.cal-day.is-selected { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cal-note { font-size: .8125rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

.pick { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.pick-block + .pick-block { margin-top: 18px; }
.pick h3 { font-size: .9375rem; margin: 0 0 10px; }
.guests { display: flex; flex-wrap: wrap; gap: 8px; }
.guest-chip { width: 44px; height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.guest-chip[aria-pressed="true"] { background: transparent; color: var(--accent); border-color: var(--accent); }
.time-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.time { min-height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.time:hover { border-color: var(--accent); }
.sitting-name { font-size: .8125rem; font-weight: 600; color: var(--muted); margin: 10px 0 6px; }
#times .hint { margin: 0; }
.waitlist-join { margin-top: 18px; padding: 14px; border-radius: var(--radius); background: var(--accent-soft); }
.waitlist-join h3 { margin: 0 0 4px; }

.summary-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--accent-soft); border-radius: var(--r-card); padding: 10px 14px; margin-bottom: 16px; }
.summary-bar p { margin: 0; font-weight: 600; }
.summary-bar .btn { min-height: 44px; }
.powered { text-align: center; color: var(--muted); font-size: .75rem; margin-top: 12px; }

/* Widget time slots (own names so host styles never leak in) */
.slots { display: block; }
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
.slot { min-height: 42px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--accent); color: var(--accent); }
.slots .sitting-name { margin: 14px 0 8px; text-transform: uppercase; letter-spacing: .06em; font-size: .6875rem; }
.slots .sitting-name:first-child { margin-top: 0; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: .9rem; }
.consent input { margin-top: 3px; }

/* Owner pages */
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.admin-nav a { padding: 8px 14px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.admin-nav a.on { background: transparent; color: var(--accent); border-color: var(--accent); }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.once { border-color: var(--accent, var(--s-arriving-edge)); }
.secret { display: inline-block; padding: 10px 12px; border-radius: 8px; background: var(--surface-2, var(--s-arriving)); word-break: break-all; font-size: .95rem; }

/* Team: who sees what */
.role-views { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.role-view { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line, var(--s-arriving)); border-radius: var(--r-card); text-decoration: none; color: inherit; background: var(--panel, var(--surface)); }
.role-view:hover { border-color: var(--s-arriving-edge); }
.role-view .av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-ctl); background: var(--s-arriving-edge); color: var(--accent-ink); font-weight: 800; }
.role-view b { display: block; } .role-view em { display: block; font-style: normal; font-weight: 600; font-size: .875rem; opacity: .7; }
.role-view small { display: block; margin-top: 4px; font-size: .8125rem; opacity: .75; line-height: 1.35; }

.joined-note { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--r-card); background: var(--bg, var(--s-arriving)); font-size: .875rem; }
.joined-note a { margin-left: 6px; }

/* Widget time dropdown */
.time-field select { font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Floor designer summary */
.plan-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.plan-sum > div { background: var(--accent-soft); border-radius: var(--r-card); padding: 8px 10px; text-align: center; }
.plan-sum b { display: block; font-size: 1.5rem; line-height: 1.1; } .plan-sum span { font-size: .75rem; font-weight: 700; color: var(--muted); }
.plan-legend { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); margin: 0 0 14px; }
