/* Venue & Table — pack styles.
   Only what the engine primitives do not already cover. Everything here uses
   the engine's tokens so light, dark and the terracotta accent all follow.
*/

/* ------------------------------------------------------------- shared -- */

.input--slim { height: 32px; font-size: 13px; padding: 0 26px 0 9px; width: auto; min-width: 132px; }

.linkbtn {
  border: 0; background: none; padding: 0;
  font: inherit; font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
}

.notecard {
  font-size: 13px; line-height: 1.55; color: var(--ink-2);
  background: var(--surface-2);
  border-left: 3px solid var(--line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 12px;
}

.warnline, .okline, .chartnote {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12px; line-height: 1.5; margin-top: 10px;
}
.warnline { color: var(--warn); }
.okline { color: var(--ok); }
.chartnote { color: var(--ink-mute); }
.warnline .ic, .okline .ic { flex: 0 0 auto; margin-top: 1px; }

/* Table tag: the little coloured chip that names a table and its zone. */
.ttag {
  display: inline-flex; align-items: center; gap: 5px;
  font: 600 12px var(--mono);
  color: var(--ink);
  white-space: nowrap;
}
.ttag i {
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--z-c, var(--accent)); flex: 0 0 auto;
}
.ttag--none { color: var(--ink-mute); font-family: var(--sans); font-weight: 500; }

/* ------------------------------------------------------- floor timeline */

.fp { min-width: 0; max-width: 100%; }
.fp__scroll {
  overflow: auto;
  max-height: min(620px, calc(100vh - 250px));
  border-bottom: 1px solid var(--line-2);
}
.fp__inner { position: relative; }

.fp__head {
  display: flex;
  position: sticky; top: 0; z-index: 6;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  height: 30px;
}
.fp__corner {
  position: sticky; left: 0; z-index: 7;
  flex: 0 0 auto;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex; align-items: center;
  padding-left: 12px;
  font: 700 10px var(--sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute);
}
.fp__ticks { position: relative; flex: 0 0 auto; }
.fp__tick {
  position: absolute; top: 8px;
  transform: translateX(-50%);
  font: 500 10.5px var(--mono);
  color: var(--ink-mute);
  white-space: nowrap;
}

.fp__rows { position: relative; }

.fp__zone { display: flex; background: var(--surface-2); }
.fp__zonel {
  position: sticky; left: 0; z-index: 4;
  flex: 0 0 auto;
  background: var(--surface-2);
  border-right: 1px solid var(--line);
  display: flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 12px;
  font: 700 10.5px var(--sans);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2);
}
.fp__zonel i { width: 8px; height: 8px; border-radius: 2px; background: var(--z-c, var(--accent)); }
.fp__zonem {
  flex: 0 0 auto; display: flex; align-items: center; padding-left: 10px;
  font: 500 10.5px var(--mono); color: var(--ink-mute);
}

.fp__row { display: flex; border-bottom: 1px solid var(--line-2); }
.fp__row:last-child { border-bottom: 0; }
.fp__lbl {
  position: sticky; left: 0; z-index: 4;
  flex: 0 0 auto;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-left: 3px solid var(--z-c, var(--accent));
  display: flex; align-items: baseline; gap: 6px;
  padding: 0 8px 0 9px;
  height: 36px;
  overflow: hidden;
}
.fp__lblt { font: 700 12.5px var(--mono); color: var(--ink); }
.fp__lbls { font: 500 10px var(--mono); color: var(--ink-mute); white-space: nowrap; }
.fp__lane { position: relative; flex: 0 0 auto; display: flex; height: 36px; }
.fp__slot {
  flex: 0 0 auto; height: 100%;
  border: 0; border-right: 1px solid var(--line-2);
  background: none; padding: 0; cursor: pointer;
}
.fp__slot:nth-child(4n) { border-right-color: var(--line); }
.fp__slot:hover { background: var(--accent-soft); }
.fp__slot:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; z-index: 3; }

.fp__ev {
  position: absolute; top: 3px; height: 30px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 6px 0 5px;
  border: 1px solid transparent;
  border-left: 3px solid var(--ev-c, var(--accent));
  border-radius: 5px;
  background: color-mix(in srgb, var(--ev-c, var(--accent)) 15%, var(--surface));
  color: var(--ink);
  text-align: left;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  z-index: 2;
  transition: box-shadow var(--t-fast) var(--ease);
}
.fp__ev:hover { box-shadow: var(--shadow-2); z-index: 5; }
.fp__ev:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; z-index: 5; }
.fp__ev.is-dragging { opacity: 0.9; box-shadow: var(--shadow-3); z-index: 20; cursor: grabbing; }
body.fp-dragging { user-select: none; cursor: grabbing; }

.fp__ev--booked { --ev-c: hsl(210 60% 48%); }
.fp__ev--seated { --ev-c: var(--accent); }
.fp__ev--paid { --ev-c: hsl(152 44% 34%); }
.fp__ev--noshow { --ev-c: var(--bad); }
.fp__ev--noshow .fp__evn { text-decoration: line-through; }
.fp__ev--paid { opacity: 0.78; }

.fp__evp {
  flex: 0 0 auto;
  min-width: 19px; height: 19px;
  display: grid; place-items: center;
  border-radius: 5px;
  background: color-mix(in srgb, var(--ev-c) 72%, var(--surface));
  color: var(--surface);
  font: 700 11px var(--mono);
}
[data-theme="dark"] .fp__evp { color: hsl(222 20% 10%); }
.fp__evb { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 0; line-height: 1.2; }
.fp__evn { font: 600 11.5px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp__evm { font: 500 9.5px var(--mono); color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp__evd, .fp__eva { flex: 0 0 auto; display: grid; color: var(--ink-mute); }
.fp__eva { color: var(--bad); }

.fp__now {
  position: absolute; top: 0; bottom: 0; width: 0;
  border-left: 2px solid var(--bad);
  z-index: 6; pointer-events: none;
}
.fp__nowt {
  position: absolute; top: -1px; left: 3px;
  font: 700 9px var(--mono);
  background: var(--bad); color: #fff;
  padding: 1px 4px; border-radius: 3px;
  white-space: nowrap;
}

.fp__hint {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  font-size: 11.5px; color: var(--ink-mute);
}
.fp__hint .ic { flex: 0 0 auto; }

/* ------------------------------------------------------------- tonight */

.arr { display: flex; flex-direction: column; }
.arr__i { display: flex; align-items: center; border-bottom: 1px solid var(--line-2); }
.arr__i:last-child { border-bottom: 0; }
.arr__main {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 4px 9px 16px;
  border: 0; background: none; cursor: pointer; text-align: left; font: inherit;
}
.arr__main:hover { background: var(--accent-soft); }
.arr__time { flex: 0 0 62px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.arr__txt { flex: 1; min-width: 0; }
.arr__n {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.arr__s { display: block; font-size: 11.5px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arr__act { flex: 0 0 auto; display: flex; gap: 5px; padding: 0 14px 0 6px; }

.wl { display: flex; flex-direction: column; }
.wl__i { padding: 11px 16px; border-bottom: 1px solid var(--line-2); }
.wl__i:last-child { border-bottom: 0; }
.wl__i.is-done { opacity: 0.55; }
.wl__h { display: flex; align-items: center; gap: 9px; }
.wl__n { font-size: 13px; font-weight: 600; color: var(--ink); }
.wl__m { font-size: 10.5px; color: var(--ink-mute); }
.wl__note { font-size: 12px; color: var(--ink-2); margin: 7px 0 0 35px; }
.wl__a { display: flex; gap: 6px; margin: 9px 0 0 35px; }

.kit { padding: 0 0 4px; }
.kit__tally { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px 16px 4px; }
.kit__l { display: flex; flex-direction: column; }
.kit__i {
  display: flex; align-items: center; gap: 11px;
  width: 100%; padding: 8px 16px;
  border: 0; border-top: 1px solid var(--line-2);
  background: none; cursor: pointer; text-align: left; font: inherit;
}
.kit__i:hover { background: var(--surface-2); }
.kit__t { flex: 0 0 62px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.kit__b { min-width: 0; }
.kit__n { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.kit__x { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 11.5px; }
.kit__al { color: var(--bad); font-weight: 600; }
.kit__oc { color: var(--ink-mute); }

.dep { display: flex; flex-direction: column; }
.dep__i {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 16px;
  border: 0; border-bottom: 1px solid var(--line-2);
  background: none; cursor: pointer; text-align: left; font: inherit;
}
.dep li:last-child .dep__i { border-bottom: 0; }
.dep__i:hover { background: var(--surface-2); }
.dep__t { flex: 0 0 58px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.dep__n { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dep__p {
  flex: 0 0 auto; min-width: 20px; text-align: center;
  font: 600 11px var(--mono); color: var(--ink-mute);
  border: 1px solid var(--line); border-radius: 4px; padding: 0 4px;
}
.dep__v { flex: 0 0 auto; font-size: 12px; font-weight: 600; }

/* ---------------------------------------------------------- week strip */

.wk { display: flex; align-items: stretch; gap: 6px; }
.wk__d { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.wk__d::-webkit-scrollbar { display: none; }
.wk__i {
  flex: 1 1 0; min-width: 88px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 9px 9px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer; text-align: left; font: inherit;
  transition: border-color var(--t-fast) var(--ease);
}
.wk__i:hover { border-color: var(--ink-mute); }
.wk__i.is-on { border-color: var(--accent); background: var(--accent-soft); }
.wk__i.is-today .wk__n { color: var(--accent-ink); }
.wk__dow { font: 700 9.5px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-mute); }
.wk__n { font: 600 17px/1.1 var(--mono); color: var(--ink); }
.wk__c { font-size: 10.5px; color: var(--ink-mute); }
.wk__bar { display: block; height: 3px; border-radius: 2px; background: var(--line-2); margin-top: 4px; overflow: hidden; }
.wk__bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.wk__i.is-archived .wk__bar i { background: hsl(var(--accent-h) 22% 66%); }
.wk__i.is-archived .wk__c { font-style: normal; opacity: 0.75; }

/* ------------------------------------------------------------- details */

.detail { display: flex; flex-direction: column; gap: 18px; }
.detail__top { display: flex; align-items: flex-start; gap: 12px; }
.detail__v { font-size: 25px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-family: var(--display); }
.detail__vs { font-size: 12px; color: var(--ink-mute); margin-top: 3px; }
.detail__top .badge { margin-left: auto; }
.detail__bar { display: flex; flex-wrap: wrap; gap: 6px; }
.detail__sec { display: flex; flex-direction: column; }
.detail__sec .sec-head { margin-bottom: 8px; }
.detail__chips { gap: 6px; }

.kvs { display: flex; flex-direction: column; }
.kvs .kv { border-bottom: 1px solid var(--line-2); }
.kvs .kv:last-child { border-bottom: 0; }

.alrt {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bad-soft);
  color: var(--bad);
}
.alrt .ic { flex: 0 0 auto; margin-top: 1px; }
.alrt__t { font-size: 13px; font-weight: 700; }
.alrt__b { font-size: 12px; opacity: 0.85; margin-top: 2px; }

.depbox {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 9px;
}
.depbox__h { display: flex; align-items: center; gap: 10px; }
.depbox__v { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.depbox__h .badge { margin-left: auto; }
.depbox__m { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }

.smsbox {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px;
  background: var(--surface-2);
}
.smsbox__m {
  font-size: 12.5px; line-height: 1.5; color: var(--ink-2);
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 9px 11px; border-radius: 3px 11px 11px 11px;
}
.smsbox__t { font-size: 10.5px; color: var(--ink-mute); margin-top: 7px; }

.gtags { gap: 5px; margin-top: 10px; }

.stagebar { display: flex; gap: 2px; }
.stagebar__s {
  flex: 1 1 0; min-width: 0;
  padding: 6px 4px 7px;
  border: 0; border-top: 3px solid var(--line);
  background: none;
  font: 600 9.5px var(--sans);
  letter-spacing: 0.01em;
  color: var(--ink-mute);
  cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stagebar__s:hover { color: var(--ink); border-top-color: var(--ink-mute); }
.stagebar__s.is-done { border-top-color: var(--st-c); color: var(--ink-2); }
.stagebar__s.is-on { color: var(--ink); font-weight: 700; }

.lineswrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
.lines { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lines th {
  text-align: left; padding: 8px 10px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font: 700 10px var(--sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute); white-space: nowrap;
}
.lines th.ta-right { text-align: right; }
.lines td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; }
.lines tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.lines__k {
  display: inline-block; min-width: 54px;
  font: 700 9.5px var(--sans);
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-mute);
}
.lines tfoot td { padding: 7px 10px; border: 0; font-size: 12px; color: var(--ink-mute); }
.lines tfoot .lines__tot td { font-size: 13.5px; font-weight: 700; color: var(--ink); padding-top: 9px; }

.run { display: flex; flex-direction: column; counter-reset: run; }
.run__i {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 7px 0 7px 0;
  border-bottom: 1px dashed var(--line-2);
}
.run__i:last-child { border-bottom: 0; }
.run__t {
  flex: 0 0 52px;
  font: 700 11.5px var(--mono);
  color: var(--accent-ink);
  padding-top: 1px;
}
.run__w { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }

/* ----------------------------------------------------------- functions */

.funbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.funbar .tbl__search { max-width: 300px; background: var(--surface); }
.funbar__h { font-size: 11.5px; color: var(--ink-mute); }

.kbc__cust { font-size: 11.5px; color: var(--ink-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kbc__open {
  margin-left: auto; flex: 0 0 auto;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink-mute); cursor: pointer;
}
.kbc__open:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.fnc__f {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line-2);
}

.qb { display: flex; flex-direction: column; gap: 14px; }
.qb__ex { display: flex; flex-direction: column; gap: 2px; }
.qb__exi {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 2px;
  cursor: pointer;
  border-bottom: 1px solid var(--line-2);
}
.qb__exi:last-child { border-bottom: 0; }
.qb__exi .switch__i { position: absolute; opacity: 0; width: 38px; height: 22px; }
.qb__exi .switch__t {
  position: relative; display: block; flex: 0 0 auto;
  width: 38px; height: 22px;
}
.qb__exl { flex: 1; font-size: 13px; color: var(--ink-2); }
.qb__exv { font-size: 12px; color: var(--ink-mute); }
.qb__out {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--surface-2);
}
.qb__r { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; color: var(--ink-2); }
.qb__r--big {
  border-top: 1px solid var(--line);
  margin-top: 6px; padding-top: 9px;
  font-size: 15px; font-weight: 700; color: var(--ink);
}

/* ---------------------------------------------------------------- menu */

.pub {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.pub__l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pub__t { font: 700 10px var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-mute); }
.pub__c { display: flex; gap: 6px; flex-wrap: wrap; }
.pub__r { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pub__m { font-size: 11px; color: var(--ink-mute); }

.pubchip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: var(--surface);
}
.pubchip--live { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: var(--ok-soft); color: var(--ok); }
.pubchip--updating { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: var(--warn-soft); color: var(--warn); }
.pubchip__st { font: 500 10.5px var(--mono); opacity: 0.85; }
.pubchip__s {
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--warn) 35%, transparent);
  border-top-color: var(--warn);
  animation: pubspin 620ms linear infinite;
}
@keyframes pubspin { to { transform: rotate(360deg); } }

.eos { display: flex; flex-direction: column; }
.eos__i {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-bottom: 1px solid var(--line-2);
  color: var(--bad);
}
.eos__i:last-child { border-bottom: 0; }
.eos__n { font-size: 13px; font-weight: 600; color: var(--ink); }
.eos__s { font-size: 11.5px; color: var(--ink-mute); flex: 1; }

.mnu { display: flex; flex-direction: column; }
.mnu__i { display: flex; align-items: stretch; border-bottom: 1px solid var(--line-2); }
.mnu__i:last-child { border-bottom: 0; }
.mnu__i.is-off .mnu__n { text-decoration: line-through; color: var(--ink-mute); }
.mnu__i.is-off { background: var(--bad-soft); }
.mnu__main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 8px 11px 16px;
  border: 0; background: none; cursor: pointer; text-align: left; font: inherit;
}
.mnu__main:hover { background: var(--accent-soft); }
.mnu__h { display: flex; align-items: baseline; gap: 12px; }
.mnu__n { flex: 1; display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mnu__p { font: 600 13px var(--mono); color: var(--ink); white-space: nowrap; }
.mnu__d { font-size: 12px; color: var(--ink-mute); line-height: 1.45; max-width: 68ch; }
.mnu__tags { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.mnu__al { font-size: 11px; color: var(--ink-mute); font-style: normal; }
.mnu__a { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 4px; }
.mnu__sold { font-size: 10.5px; color: var(--ink-mute); white-space: nowrap; }

/* ------------------------------------------------------------ specials */

.spec {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  padding: 14px 16px 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.spec__h { display: flex; align-items: flex-start; gap: 10px; }
.spec__k { font: 500 11px var(--mono); color: var(--ink-mute); }
.spec__n { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-top: 2px; font-family: var(--display); }
.spec__d { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.spec__post {
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 10px 11px;
  display: flex; flex-direction: column; gap: 8px;
}
.spec__meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-mute); }
.spec__ta {
  width: 100%; resize: vertical;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  font: 400 13px/1.55 var(--sans);
  padding: 9px 10px;
}
.spec__ta:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.spec__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.spec__a { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.sched { display: flex; flex-direction: column; }
.sched__i { padding: 12px 16px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 5px; }
.sched__i:last-child { border-bottom: 0; }
.sched__h { display: flex; align-items: center; gap: 8px; }
.sched__d { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.sched__h .badge { margin-left: auto; }
.sched__n { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sched__c { font-size: 12px; color: var(--ink-mute); line-height: 1.45; }

/* ------------------------------------------------------------- reviews */

.rev {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.rev.is-done { box-shadow: none; background: var(--surface); }
.rev__h { display: flex; align-items: center; gap: 10px; }
.rev__n { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.rev__m { font-size: 11px; color: var(--ink-mute); margin-top: 1px; }
.rev__stars { display: flex; gap: 1px; color: var(--line); flex: 0 0 auto; }
.rev__stars .ic.is-on { color: hsl(38 90% 46%); fill: currentColor; }
.rev__q {
  font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
  border-left: 3px solid var(--accent-soft-2);
  padding-left: 12px;
  margin: 0;
}
.rev__tags { gap: 4px; }
.rev__reply {
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 10px 11px;
  display: flex; flex-direction: column; gap: 8px;
}
.rev__rl { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-mute); }
.rev__ta {
  width: 100%; resize: vertical;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  font: 400 13px/1.55 var(--sans);
  padding: 9px 10px;
}
.rev__ta:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.rev__a { display: flex; gap: 6px; justify-content: flex-end; }
.rev__done {
  border-left: 3px solid var(--ok);
  background: var(--ok-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 9px 12px;
}
.rev__dl { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--ok); }
.rev__dt { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin-top: 5px; }

.tags2 { display: flex; flex-direction: column; }
.tags2__i { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--line-2); }
.tags2__i:last-child { border-bottom: 0; }
.tags2__n { flex: 0 0 82px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.tags2__v { font-size: 11.5px; color: var(--ink-mute); flex: 0 0 auto; }

/* ------------------------------------------------------------- reports */

.perf { display: flex; flex-direction: column; }
.perf__i { display: flex; align-items: center; gap: 11px; padding: 8px 16px; border-bottom: 1px solid var(--line-2); }
.perf__i:last-child { border-bottom: 0; }
.perf__i .ttag { flex: 0 0 54px; }
.perf__n { font-size: 11px; color: var(--ink-mute); white-space: nowrap; }
.perf__v { font-size: 12px; font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------------------- mobile - */

@media (max-width: 900px) {
  /* A card head is a flex row, which squeezes the title into a thin column as
     soon as the actions grow. On a phone the actions get their own line. */
  .card__head { flex-wrap: wrap; }
  .card__titles { flex: 1 1 100%; }
  .card__actions { flex-wrap: wrap; }
  .eos__i { flex-wrap: wrap; }
  .eos__n { flex: 1 1 auto; }
  .eos__s { flex: 1 1 100%; order: 3; padding-left: 24px; }

  .fp__scroll { max-height: min(420px, calc(100vh - 300px)); }
  .fp__hint { padding: 8px 14px; }
  .wk__i { min-width: 74px; padding: 7px; }
  .wk__n { font-size: 15px; }
  .arr__main { padding-left: 12px; gap: 8px; }
  .arr__time { flex-basis: 54px; }
  .arr__act { padding-right: 10px; }
  .mnu__main { padding-left: 12px; }
  .mnu__a { padding-right: 12px; flex-direction: column; align-items: flex-end; gap: 4px; justify-content: center; }
  .pub__r { margin-left: 0; }
  .spec__a, .rev__a { justify-content: stretch; }
  .spec__a .btn, .rev__a .btn { flex: 1 1 auto; justify-content: center; }
  .stagebar__s { font-size: 8.5px; padding: 6px 2px 7px; }
  .detail__v { font-size: 22px; }
}

/* A closed off service, and the week strip caption that sits above it. */
.wkwrap { gap: 8px; }
.wkcap { font-size: 11.5px; color: var(--ink-mute); }

.closed { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.closed__h {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.5; color: var(--ink-2);
}
.closed__h .ic { flex: 0 0 auto; color: var(--ok); margin-top: 1px; }
.closed__a { display: flex; gap: 6px; flex-wrap: wrap; }

.fp__tick--first { transform: none; }

.morewrap { padding-top: 2px; }

.rev.is-focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
