/* Product screens drawn in code (scenes.js). A scene is drawn at the pixel size of the screen it shows and scaled to the
   width of its frame: tan(atan2(…)) turns the frame's width over the drawing's width into a plain number. Inside a
   scene every size is a pixel of the real screen. The till's own colours are below, apart from the site's. */
.scene { position: relative; display: block; width: 100%; overflow: hidden; container-type: inline-size; background: var(--sc-bg, #fff); }
.scene > .sc-cv { position: absolute; top: 0; left: 0; transform-origin: 0 0; transform: scale(tan(atan2(100cqw, var(--sc-w)))); }

.sc-cv {
  --sc-ink: #111827; --sc-text: #1f2937; --sc-muted: #6b7280; --sc-faint: #9ca3af;
  --sc-line: #e3e7ec; --sc-line-strong: #cfd6de; --sc-panel: #fff; --sc-rail-bg: #f7f8fa; --sc-soft: #f3f5f8;
  --sc-accent: #0b63c5; --sc-accent-soft: #eaf3fd; --sc-accent-line: #9cc3ec;
  --sc-hold: #0b63c5; --sc-clear: #b91c1c; --sc-pay: #1d7a3a; --sc-danger: #b91c1c; --sc-danger-soft: #fdecec;
  --sc-ok: #15803d; --sc-ok-soft: #e7f5ec; --sc-warn: #a15c07; --sc-warn-soft: #fff6e0; --sc-warn-line: #e8b65a;
  --sc-total: var(--sc-ink); --sc-price: var(--sc-accent); --sc-num: inherit;
  --sc-radius: 8px; --sc-tile-align: start;
  position: relative; display: block; overflow: hidden; background: var(--sc-panel); color: var(--sc-text);
  font: 400 15px/1.3 "Segoe UI", "Segoe UI Variable Text", system-ui, -apple-system, Roboto, Arial, sans-serif; text-align: left; letter-spacing: 0;
}
.sc-cv *, .sc-cv *::before, .sc-cv *::after { box-sizing: border-box; }
.sc-cv h4, .sc-cv h5, .sc-cv p, .sc-cv ol, .sc-cv ul { margin: 0; padding: 0; list-style: none; }
.sc-cv b { font-weight: 600; }
.sc-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Shared pieces: chips, buttons, badges. */
.sc-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border: 1px solid var(--sc-line); border-radius: 999px; background: var(--sc-soft); color: var(--sc-text); font-size: 13px; }
.sc-chip .sc-i { width: 15px; height: 15px; }
.sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--sc-line-strong); border-radius: var(--sc-radius); background: var(--sc-panel); color: var(--sc-text); font-weight: 500; }
.sc-btn.is-primary { border-color: var(--sc-accent); background: var(--sc-accent); color: #fff; }
.sc-btn.is-soft { border-color: var(--sc-accent-line); background: var(--sc-accent-soft); color: var(--sc-accent); }
.sc-badge { position: absolute; top: -6px; right: -9px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--sc-accent); color: #fff; font: 600 11px/1 inherit; font-style: normal; }

/* The till's rail. */
.sc-rail { position: absolute; top: 0; bottom: 0; left: 0; width: 104px; display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--sc-line); background: var(--sc-rail-bg); }
.sc-rail-brand { display: grid; justify-items: center; padding: 8px 0 6px; width: 86px; border-bottom: 1px solid var(--sc-line); }
.sc-rail-brand img { width: 30px; height: 30px; max-width: none; margin-bottom: 4px; border-radius: 50%; background: none; }
.sc-rail-brand b { font-size: 12px; font-weight: 700; color: var(--sc-ink); }
.sc-rail-brand b span { font-weight: 400; }
.sc-rail-brand small { font-size: 11px; color: var(--sc-muted); line-height: 1.1; }
.sc-rail nav { display: grid; gap: 4px; margin-top: 6px; }
.sc-rail-item { position: relative; display: grid; justify-items: center; gap: 3px; width: 86px; padding: 7px 0 6px; border: 1px solid transparent; border-radius: 8px; color: var(--sc-text); font-size: 12px; }
.sc-rail-item > .sc-i { width: 19px; height: 19px; }
.sc-rail-item .sc-badge { top: 3px; right: 22px; }
.sc-rail-item.is-on { border-color: var(--sc-accent-line); background: var(--sc-accent-soft); color: var(--sc-accent); font-weight: 600; box-shadow: inset 3px 0 0 var(--sc-accent); }
.sc-rail-foot { display: grid; justify-items: center; margin-top: auto; padding-bottom: 6px; font-size: 11px; }
.sc-rail-foot b { font-size: 11px; }
.sc-rail-foot small { color: var(--sc-muted); margin-bottom: 4px; }

/* The till's order panel. */
.sc-order { position: absolute; top: 0; bottom: 0; left: 104px; width: 432px; display: flex; flex-direction: column; border-right: 1px solid var(--sc-line); }
.sc-order-head { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 14px; }
.sc-order-head small { display: block; color: var(--sc-muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sc-order-head h4 { font-size: 20px; font-weight: 700; color: var(--sc-ink); }
.sc-selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 6px 7px; border-bottom: 1px solid var(--sc-line); }
.sc-selects > span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); font-size: 13px; }
.sc-selects .sc-i { width: 15px; height: 15px; }
.sc-lines-wrap { flex: 1; display: grid; grid-template-columns: 1fr 76px; min-height: 0; }
.sc-lines { border-right: 1px solid var(--sc-line); }
.sc-line { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 6px; min-height: 64px; padding: 14px 12px 0 12px; border-bottom: 1px solid var(--sc-line); font-size: 16px; }
.sc-line b { font-weight: 500; color: var(--sc-ink); }
.sc-line .sc-q { color: var(--sc-muted); }
.sc-line .sc-price { color: var(--sc-ink); font-variant-numeric: tabular-nums; font-family: var(--sc-num); }
.sc-line small { grid-column: 1 / -1; color: var(--sc-muted); font-size: 13px; }
.sc-line.is-on { background: var(--sc-soft); box-shadow: inset 3px 0 0 var(--sc-accent); }
.sc-line-tools { display: grid; align-content: start; gap: 6px; padding: 6px; }
.sc-line-tools > span { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 47px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); font-size: 11px; line-height: 1.15; text-align: center; color: var(--sc-text); }
.sc-line-tools .sc-i { width: 15px; height: 15px; }
.sc-line-tools .is-danger { border-color: #f1b8b8; background: var(--sc-danger-soft); color: var(--sc-danger); }
.sc-total { display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 12px; border-top: 1px solid var(--sc-line); }
.sc-total span { display: inline-flex; align-items: center; gap: 6px; font-size: 21px; font-weight: 500; color: var(--sc-ink); }
.sc-total b { font-size: 29px; font-weight: 700; color: var(--sc-total); font-variant-numeric: tabular-nums; font-family: var(--sc-num); }
.sc-tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px 6px; border-top: 1px solid var(--sc-line); }
.sc-tools > span { display: grid; justify-items: center; align-content: center; gap: 2px; height: 58px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); font-size: 11.5px; line-height: 1.15; text-align: center; }
.sc-tools .sc-i { width: 15px; height: 15px; }
.sc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 9px 9px 10px; border-top: 1px solid var(--sc-line); }
.sc-actions > span { display: flex; align-items: center; justify-content: center; gap: 9px; height: 57px; border-radius: var(--sc-radius); color: #fff; font-size: 17px; font-weight: 600; }
.sc-actions .sc-i { width: 19px; height: 19px; }
.sc-hold { background: var(--sc-hold); }
.sc-clear { background: var(--sc-clear); }
.sc-pay { background: var(--sc-pay); }

/* The till's menu: tabs, product tiles and categories. */
.sc-menu { position: absolute; top: 0; right: 0; bottom: 0; left: 536px; }
.sc-menu-tabs { display: flex; gap: 8px; height: 72px; padding: 13px 12px; border-bottom: 1px solid var(--sc-line); }
.sc-menu-tabs > span { display: grid; place-items: center; width: 112px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); font-size: 16px; color: var(--sc-text); }
.sc-menu-tabs > .is-on { border-color: var(--sc-accent); background: var(--sc-accent-soft); color: var(--sc-accent); }
.sc-tiles { position: absolute; top: 86px; left: 14px; width: 634px; display: grid; grid-template-columns: repeat(3, 204px); grid-auto-rows: 99px; gap: 11px; }
.sc-tile { position: relative; display: grid; align-content: space-between; justify-items: var(--sc-tile-align); padding: 13px 13px 14px; border: 1px solid var(--sc-line-strong); border-top: 4px solid #e8eef5; border-radius: var(--sc-radius); background: var(--sc-panel); text-align: var(--sc-tile-align); box-shadow: 0 1px 2px rgb(17 24 39 / .05); }
.sc-tile b { font-size: 16px; font-weight: 500; color: var(--sc-ink); }
.sc-tile em { font-style: normal; font-size: 14px; color: var(--sc-price); font-family: var(--sc-num); }
.sc-tile .sc-i { position: absolute; right: 12px; bottom: 15px; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--sc-soft); color: var(--sc-accent); stroke-width: 2; }
.sc-cats { position: absolute; top: 72px; right: 0; bottom: 0; width: 168px; border-left: 1px solid var(--sc-line); }
.sc-cats h5 { height: 66px; padding: 22px 13px 0; border-bottom: 1px solid var(--sc-line); font-size: 16px; font-weight: 600; color: var(--sc-ink); }
.sc-cats > span { position: relative; display: flex; align-items: center; height: 52px; margin: 8px 9px 0; padding-left: 26px; border: 1px solid transparent; border-radius: var(--sc-radius); font-size: 16px; color: var(--sc-text); }
.sc-cats > span::before { content: ""; position: absolute; left: 10px; top: 14px; width: 5px; height: 22px; border-radius: 3px; background: var(--tint); }
.sc-cats > .is-on { border-color: var(--sc-accent-line); background: var(--sc-accent-soft); color: var(--sc-accent); }

/* The interface styles: the same till, its colours and shapes set by the chosen style. */
.sc-skin-service { --sc-accent: #8f3150; --sc-accent-soft: #fbf1f4; --sc-accent-line: #d9a9b8; --sc-hold: #1c1f26; --sc-total: #8f3150; --sc-radius: 14px; }
.sc-skin-service .sc-badge { background: #8f3150; }
.sc-skin-blueprint { --sc-accent: #0b63c5; }
.sc-skin-utilitarian { --sc-accent: #1d6b3a; --sc-accent-soft: #eef6f0; --sc-accent-line: #8cbf9c; --sc-hold: #24603a; --sc-price: #2b3138; --sc-rail-bg: #eef1f4; --sc-soft: #eef1f4; --sc-radius: 4px; --sc-num: "Consolas", "SFMono-Regular", ui-monospace, monospace; }
.sc-skin-utilitarian .sc-line b, .sc-skin-utilitarian .sc-tile b { font-weight: 600; }
.sc-skin-utilitarian .sc-menu { background: #f3f5f7; }
.sc-skin-utilitarian .sc-cats > span { border-color: var(--sc-line-strong); background: #fff; }
.sc-skin-utilitarian .sc-tile .sc-i { border-radius: 4px; color: var(--sc-text); }
.sc-skin-classic { --sc-accent: #0f6aa6; --sc-accent-soft: #e1f0fb; --sc-accent-line: #93c4e6; --sc-hold: #0f5f97; --sc-price: #0f5f97; --sc-tile-align: center; --sc-soft: #f2f6f9; }
.sc-skin-classic .sc-tile { align-content: center; gap: 6px; }
.sc-skin-classic .sc-tile .sc-i { display: none; }
.sc-skin-classic .sc-line.is-on { background: #dcecf9; }
.sc-skin-classic .sc-order-head small { color: #0f6aa6; }
.sc-skin-precision { --sc-accent: #18181b; --sc-accent-soft: #f4f4f5; --sc-accent-line: #18181b; --sc-hold: #18181b; --sc-price: #18181b; --sc-radius: 6px; }
.sc-skin-precision .sc-rail-item.is-on { background: #18181b; color: #fff; }
.sc-skin-precision .sc-badge { background: #18181b; }
.sc-skin-precision .sc-tile { border-top-width: 1px; border-left: 4px solid #e4e4e7; }

/* Motion, only while a scene is on screen (.is-live). Every animation starts from the finished screen and comes back
   to it, so a scene that never plays still shows everything. */
@keyframes sc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sc-pop { 0%, 100% { transform: none; } 40% { transform: scale(.96); } }

/* Till: the order goes on line by line, each dish lit on the menu as it is added, then starts again. */
@keyframes sc-till-line { 0%, 4% { opacity: 0; transform: translateX(-14px); } 9%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes sc-till-hit { 0%, 2%, 9%, 100% { border-color: var(--sc-line-strong); background: var(--sc-panel); } 4%, 7% { border-color: var(--sc-accent); background: var(--sc-accent-soft); } }
@keyframes sc-till-total { 0%, 40% { opacity: 0; } 46%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.scene.is-live .sc-till .sc-line { animation: sc-till-line 12s calc(var(--i) * .7s) infinite both; }
.scene.is-live .sc-till .sc-tile { animation: sc-till-hit 12s calc((var(--i) - 6) * .7s) infinite both; }
.scene.is-live .sc-till .sc-tile:not(.is-hit) { animation: none; }
.scene.is-live .sc-till .sc-total b { animation: sc-till-total 12s infinite both; }
.scene.is-live .sc-till .sc-pay { animation: sc-pop 12s 5.2s infinite; }

/* ——— Kitchen screens, station settings and print design ——— */
/* Kitchen and printing screens (scenes-parts/kitchen.js): the kitchen screen in two looks, the Back Office kitchen
   station settings and the print designer. Sizes are pixels of the 1366 × 768 screen. */

/* ——— The kitchen screen ——————————————————————————————————————————————————————————————————————————————————— */
/* The kitchen screen's own colours: the standard look (kitchen) and the plain white one the allergy screenshot uses. */
.sc-kitchen {
  --k-bg: #eaf4f8; --k-head-line: #c7dce5; --k-title: #102a37; --k-btn-line: #c7dce5; --k-btn-ink: #075985; --k-zoom: #f7fafb;
  --k-tab-ink: #075985; --k-tab-on: #dff3fb; --k-tab-on-line: #0369a1; --k-ink: #173f52; --k-deep: #294d5d; --k-muted: #5b7280;
  --k-age: #eef4f7; --k-course-line: #87bfd6; --k-row-line: #d7e3e8; --k-check: #607985; --k-ack: #fff1d2; --k-done: #3a8048;
  --k-ok: #166534; --k-button-weight: 400;
}
.sc-kitchen-allergy {
  --k-bg: #fff; --k-head-line: #2f2f2f; --k-title: #111827; --k-btn-line: #e1e3e6; --k-btn-ink: #1f2937; --k-zoom: #f6f7f8;
  --k-tab-ink: #1f2937; --k-tab-on: #ececec; --k-tab-on-line: #2f2f2f; --k-ink: #111827; --k-deep: #2b3340; --k-muted: #6b7280;
  --k-age: #f1f2f4; --k-course-line: #9a9a9a; --k-row-line: #ececec; --k-check: #6b7280; --k-ack: #fff4cc; --k-done: #15803d;
  --k-ok: #166534; --k-button-weight: 600;
}
:is(.sc-kitchen, .sc-kitchen-allergy) { --k-warn: #b45309; --k-warn-ink: #92400e; --k-warn-bg: #fff8e8; --k-warn-ring: #fff5d6; --k-red: #b91c1c; background: var(--k-bg); color: var(--k-ink); }

:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-head { position: absolute; top: 0; left: 0; right: 0; height: 57px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--k-head-line); background: #fff; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-head h4 { flex: 1; margin-left: 1px; font-size: 23px; font-weight: 700; color: var(--k-title); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--k-btn-line); border-radius: 7px; background: #fff; color: var(--k-btn-ink); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-btn .sc-i { width: 22px; height: 22px; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-conn { display: inline-flex; align-items: center; gap: 6px; margin-right: 1px; color: var(--k-ok); font-size: 14px; white-space: nowrap; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-conn .sc-i { width: 17px; height: 17px; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-sound { display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 10px; border: 1px solid #e8c884; border-radius: 7px; background: var(--k-warn-bg); color: var(--k-warn-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-sound .sc-i { width: 18px; height: 18px; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-zoom { display: inline-flex; align-items: center; justify-content: space-between; width: 120px; height: 46px; padding: 0 12px 0 11px; border: 1px solid var(--k-btn-line); border-radius: 7px; background: var(--k-zoom); color: var(--k-btn-ink); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-zoom b { font-size: 12.5px; font-weight: 600; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-zoom .sc-i { width: 17px; height: 17px; }

:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-filters { position: absolute; top: 57px; left: 0; right: 0; height: 61px; display: flex; gap: 6px; padding: 8px 14px; border-bottom: 1px solid var(--k-head-line); background: #fff; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-filters > span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--k-btn-line); border-radius: 4px; color: var(--k-tab-ink); font-size: 16px; font-weight: 600; white-space: nowrap; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-filters em { min-width: 24px; font-style: normal; text-align: center; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-k-filters > .is-on { border-color: var(--k-tab-on-line); background: var(--k-tab-on); }
.sc-kitchen .kx-k-filters > .is-on { border-color: #9cc9de; }

/* Tickets: four columns across the screen, three in use. */
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-tickets { position: absolute; top: 128px; left: 14px; right: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-ticket { position: relative; display: flex; flex-direction: column; border: 1px solid var(--k-warn); border-top-width: 4px; border-bottom-width: 0; border-radius: 6px; background: #fff; box-shadow: 0 0 0 2px var(--k-warn-ring); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-ticket > header { display: grid; grid-template-columns: 1fr auto; align-items: start; row-gap: 2px; padding: 10px 12px 6px; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-ticket > header strong { font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--k-title); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-ticket > header small { grid-column: 1 / -1; font-size: 14px; line-height: 1.4; color: var(--k-muted); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-age { margin-top: 1px; padding: 4px 10px; border-radius: 999px; background: var(--k-age); color: var(--k-deep); font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-marker { display: flex; align-items: center; gap: 6px; height: 30px; margin: 0 12px 6px; padding: 0 8px; border-radius: 4px; background: var(--k-warn-bg); color: var(--k-warn-ink); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-marker .sc-i { width: 16px; height: 16px; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-body { padding: 0 8px 4px; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-allergy { display: flex; align-items: center; gap: 8px; height: 41px; margin: 6px 0 4px; padding: 0 10px; border-radius: 5px; background: var(--k-red); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-allergy .sc-i { width: 24px; height: 24px; stroke-width: 2; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-seat { height: 35px; margin: 10px 0 4px; padding: 0 8px; border-radius: 4px; background: #dff3fb; color: var(--k-title); font-size: 18px; font-weight: 700; line-height: 35px; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-course { margin: 8px 0 4px; padding: 3px 4px 2px; border-bottom: 1px solid var(--k-course-line); color: var(--k-deep); font-size: 15px; font-weight: 700; line-height: 1.4; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-line { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 8px; min-height: 48px; margin-bottom: 3px; padding: 8px 4px; border-bottom: 1px solid var(--k-row-line); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-line > span:last-child { display: grid; justify-items: start; gap: 3px; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-line b { position: relative; font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--k-ink); white-space: nowrap; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-line small { font-size: 15px; color: var(--k-deep); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-line em { margin-top: 1px; padding: 2px 8px 3px; border-radius: 4px; background: var(--k-red); color: #fff; font-size: 15px; font-style: normal; font-weight: 700; letter-spacing: .04em; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-check { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border: 2px solid var(--k-check); border-radius: 5px; color: transparent; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-check .sc-i { width: 18px; height: 18px; stroke-width: 3; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-ticket > footer { display: grid; gap: 6px; padding: 8px; border-top: 1px solid var(--k-row-line); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-ack, :is(.sc-kitchen, .sc-kitchen-allergy) .kx-done { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-size: 20px; font-weight: var(--k-button-weight); }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-ack { height: 56px; border: 1px solid var(--k-warn); background: var(--k-ack); color: var(--k-warn-ink); }
/* Done waits for Acknowledge, so it is drawn greyed out (half strength), as on the real screen. */
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-done { height: 52px; background: var(--k-done); color: #fff; opacity: .5; }
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-done .sc-i { width: 20px; height: 20px; stroke-width: 2.2; }
/* The card's bottom edge, drawn apart so it can follow Done up once a ticket is acknowledged. */
:is(.sc-kitchen, .sc-kitchen-allergy) .kx-cap { position: absolute; left: -1px; right: -1px; bottom: 0; height: 8px; border: 1px solid var(--k-warn); border-top: 0; border-radius: 0 0 6px 6px; }

/* ——— Back Office ———————————————————————————————————————————————————————————————————————————————————————————— */
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) {
  --a-bg: #f3f7f9; --a-line: #d7e3e8; --a-navy: #102a37; --a-text: #173f52; --a-muted: #5b7280; --a-label: #294d5d;
  --a-primary: #1f6a9e; --a-outline: #24557a; --a-on: #e0f3fb; --a-on-line: #a8d5e7; --a-input: #f6f9fb; --a-input-line: #c9d8df;
  --a-danger: #ad2e1f;
  background: var(--a-bg); color: var(--a-text);
}
/* Sidebar. */
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-side { position: absolute; top: 0; bottom: 0; left: 0; width: 192px; padding: 0 8px; border-right: 1px solid var(--a-line); background: #fff; box-shadow: 2px 0 10px rgb(16 42 55 / .04); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-brand { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; height: 66px; padding: 0 7px; border-bottom: 1px solid var(--a-line); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-brand img { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-brand b { align-self: end; font-size: 14px; font-weight: 700; line-height: 1.1; color: var(--a-navy); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-brand small { align-self: start; font-size: 11.5px; line-height: 1.2; color: var(--a-muted); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-side nav { display: grid; padding-top: 6px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-side h5 { height: 22px; padding: 1px 0 0 9px; color: #4f6874; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-side nav span { display: flex; align-items: center; gap: 9px; height: 44px; padding-left: 12px; border: 1px solid transparent; border-radius: 6px; color: var(--a-text); font-size: 14px; font-weight: 500; white-space: nowrap; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-side nav span .sc-i { width: 17px; height: 17px; stroke-width: 1.7; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-side nav span.is-on { border-color: var(--a-on-line); background: var(--a-on); box-shadow: inset 3px 0 0 var(--a-primary); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-side h5 + span { margin-top: -1px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-side.has-scroll nav { margin-right: 10px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-scroll { position: absolute; top: 70px; right: 11px; height: 636px; width: 6px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-scroll::before { content: ""; position: absolute; top: 135px; bottom: 12px; left: 0; right: 0; border-radius: 3px; background: #a3aab1; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-scroll::after { content: "▲"; position: absolute; top: 0; left: -1px; color: #a3aab1; font-size: 7px; line-height: 1; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-signout { position: absolute; left: 8px; right: 8px; bottom: 0; height: 56px; padding-top: 7px; border-top: 1px solid var(--a-line); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-signout span { display: flex; align-items: center; gap: 10px; height: 41px; padding-left: 12px; border: 1px solid #edf1f3; border-radius: 6px; font-size: 14.5px; font-weight: 500; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-signout .sc-i { width: 18px; height: 18px; }

/* Main column: page header, tab strip and panels. */
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-main { position: absolute; top: 0; right: 0; bottom: 0; left: 192px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-panel,
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-pagehead,
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-tabs { position: absolute; border: 1px solid var(--a-line); border-radius: 6px; background: #fff; box-shadow: 0 2px 8px rgb(16 42 55 / .05); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-pagehead { top: 17px; left: 16px; width: 1132px; height: 71px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 17px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-pagehead small { display: block; margin-top: 2px; color: var(--a-label); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-pagehead h4 { font-size: 23px; font-weight: 700; line-height: 1.3; color: var(--a-navy); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-pagehead-actions { display: flex; align-items: center; gap: 9px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-obtn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 16px; border: 1px solid var(--a-outline); border-radius: 4px; background: #fff; color: var(--a-navy); font-size: 14px; font-weight: 500; white-space: nowrap; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-obtn .sc-i { width: 18px; height: 18px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-obtn.is-primary { border-color: var(--a-primary); background: var(--a-primary); color: #fff; font-weight: 600; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-pbtn,
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-dbtn { display: flex; align-items: center; justify-content: center; gap: 9px; height: 44px; border-radius: 4px; background: var(--a-primary); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-dbtn { background: var(--a-danger); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) :is(.kx-pbtn, .kx-dbtn) .sc-i { width: 18px; height: 18px; stroke-width: 2; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-tabs { top: 100px; left: 16px; width: 1132px; height: 58px; display: flex; align-items: center; padding: 0 6px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-tabs span { display: grid; place-items: center; height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: 4px; color: var(--a-text); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-tabs span + span { margin-left: 8px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-tabs span.is-on { border-color: var(--a-on-line); background: var(--a-on); box-shadow: inset 3px 0 0 var(--a-primary); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-pagescroll { position: absolute; top: 0; right: 2px; width: 7px; height: 260px; border-radius: 4px; background: #c4cbd0; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-pagescroll.is-end { top: auto; bottom: 8px; height: 258px; }

/* List panel (stations, templates) with its selected item. */
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-list { top: 171px; left: 16px; width: 272px; height: 240px; padding: 13px 13px 0; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-list h5 { display: flex; align-items: center; gap: 10px; height: 28px; font-size: 17.5px; font-weight: 700; color: var(--a-navy); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-list h5 em { display: grid; place-items: center; min-width: 34px; height: 28px; margin-left: 4px; border-radius: 4px; background: #eef4f7; color: var(--a-label); font-size: 13px; font-style: normal; font-weight: 500; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-list .kx-pbtn { margin-top: 8px; padding-bottom: 1px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-item { display: flex; flex-wrap: wrap; align-items: center; gap: 0 9px; margin-top: 12px; padding: 10px 11px 9px; border: 1px solid #3e78a0; border-radius: 5px; background: #eef6fd; box-shadow: inset 3px 0 0 var(--a-primary); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-rule { height: 0; margin: 11px 0 0; border: 0; border-top: 1px solid var(--a-line); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-item b { flex-basis: 100%; font-size: 16px; font-weight: 700; color: var(--a-navy); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-item small { flex-basis: 100%; margin: 2px 0 6px; color: var(--a-muted); font-size: 12.5px; line-height: 1.45; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-tag { padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-tag.is-warn { background: #fde8d0; color: #9a3412; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-tag.is-ok { background: #dcf7e6; color: #166534; }

/* Editor panel and form pieces. */
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-edit { top: 171px; left: 300px; width: 848px; height: 640px; padding: 0 13px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-edit h5 { height: 57px; padding-top: 19px; border-bottom: 1px solid var(--a-line); font-size: 16.5px; font-weight: 700; color: var(--a-navy); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-edit h6 { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--a-navy); }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-row { display: flex; align-items: flex-end; gap: 13px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-field { display: grid; gap: 6px; min-width: 0; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-field small,
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-label { display: block; color: var(--a-label); font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-input { display: flex; align-items: center; height: 44px; padding-left: 13px; border: 1px solid var(--a-input-line); border-radius: 4px; background: var(--a-input); color: var(--a-navy); font-size: 14px; white-space: nowrap; overflow: hidden; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-input > span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-input.is-select { padding-left: 17px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-input .sc-i { width: 14px; height: 14px; margin-right: 10px; stroke-width: 3; color: #1f2937; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-input em { align-self: stretch; display: grid; place-items: center; width: 52px; border-left: 1px solid var(--a-input-line); background: #edf1f4; color: #6b7a84; font-size: 15px; font-style: normal; font-weight: 700; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-half { width: 403px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-full { width: 819px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-help { margin: 0; color: var(--a-muted); font-size: 12.5px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-help.is-lg { font-size: 15px; }
/* Checkboxes: the browser's own, tinted to the Back Office blue. */
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-cb { display: grid; place-items: center; width: 19px; height: 19px; flex: none; border: 1.5px solid #767676; border-radius: 3px; background: #fff; color: transparent; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-cb .sc-i { width: 15px; height: 15px; stroke-width: 3.2; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-cb.is-on { border-color: var(--a-primary); background: var(--a-primary); color: #fff; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-cb.is-dim { width: 13px; height: 13px; border-color: #c9c9c9; border-radius: 2px; background: #dcdcdc; color: #fff; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-cb.is-dim .sc-i { width: 10px; height: 10px; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-check-inline,
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-check-line { display: flex; align-items: center; gap: 12px; color: var(--a-text); font-size: 15.5px; white-space: nowrap; }
/* The browser's own select box, as the printer picker and the sound rows show it. */
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-native { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid #3b3b3b; border-radius: 3px; background: #fff; color: #111; font-size: 14.5px; white-space: nowrap; }
:is(.sc-kitchen-station, .sc-kitchen-ticket-settings, .sc-print-design) .kx-native .sc-i { width: 14px; height: 14px; stroke-width: 3; }

/* Kitchen station: the editor's rows. */
.sc-kitchen-station .kx-w386 { width: 386px; }
.sc-kitchen-station .kx-w242 { width: 242px; }
.sc-kitchen-station .kx-edit > .kx-row:first-of-type { margin-top: 13px; }
.sc-kitchen-station .kx-check-inline { height: 44px; gap: 11px; margin-left: 3px; font-size: 16px; }
.sc-kitchen-station .kx-check-inline + .kx-check-inline { margin-left: 2px; }
.sc-kitchen-station .kx-help { height: 29px; padding-top: 10px; border-bottom: 1px solid var(--a-line); }
.sc-kitchen-station .kx-edit h6 { margin: 14px 0 12px; }
.sc-kitchen-station .kx-printers { display: grid; gap: 0; height: 165px; padding: 5px 15px; border: 1px solid var(--a-input-line); border-radius: 4px; background: #f3f7f9; }
.sc-kitchen-station .kx-printers > span { display: flex; align-items: center; gap: 12px; height: 51px; color: var(--a-navy); font-size: 15px; white-space: nowrap; }
.sc-kitchen-station .kx-printers + h6 { margin: 11px 0 12px; }
.sc-kitchen-station .kx-printers + h6 + .kx-row + .kx-row { margin-top: 13px; }
.sc-kitchen-station .kx-edit > .kx-check-line { margin: 22px 0 0 4px; }

/* Ticket settings: the station editor scrolled down to its sound and paper ticket options. */
.sc-kitchen-ticket-settings .kx-edit { top: -60px; height: 811px; padding-top: 59px; }
.sc-kitchen-ticket-settings .kx-sound { display: grid; grid-template-columns: 1fr 62px 127px 58px; align-items: center; column-gap: 8px; height: 58px; padding: 0 8px; border-bottom: 1px solid var(--a-line); }
.sc-kitchen-ticket-settings .kx-sound:nth-child(3) { height: 54px; }
.sc-kitchen-ticket-settings .kx-sound.is-cut { height: 17px; align-items: start; }
.sc-kitchen-ticket-settings .kx-sound.is-cut .kx-native { grid-column: 3; height: 8px; border-top: 0; border-radius: 0 0 3px 3px; }
.sc-kitchen-ticket-settings .kx-sound.is-cut .kx-test { height: 8px; border-top: 0; border-radius: 0 0 4px 4px; }
.sc-kitchen-ticket-settings .kx-sound b { font-size: 14.5px; font-weight: 700; color: #111; }
.sc-kitchen-ticket-settings .kx-sound .kx-native { height: 43px; padding: 0 7px 0 5px; }
.sc-kitchen-ticket-settings .kx-test { display: grid; place-items: center; height: 43px; border: 1px solid var(--a-outline); border-radius: 4px; color: var(--a-primary); font-size: 14.5px; font-weight: 500; }
.sc-kitchen-ticket-settings .kx-edit h6 { margin: 15px 0 13px; }
.sc-kitchen-ticket-settings .kx-checks { display: grid; grid-template-columns: 416px 1fr; row-gap: 0; margin: 4px 0 7px 4px; }
.sc-kitchen-ticket-settings .kx-checks .kx-check-line { height: 56px; gap: 12px; }
.sc-kitchen-ticket-settings .kx-checks .kx-cb { width: 18px; height: 18px; }
.sc-kitchen-ticket-settings .kx-checks.is-off { margin: 13px 0 16px 4px; }
.sc-kitchen-ticket-settings .kx-checks.is-off .kx-check-line { height: 40px; }
.sc-kitchen-ticket-settings .kx-edit > .kx-row + .kx-row { margin-top: 14px; }
.sc-kitchen-ticket-settings .kx-edit > .kx-help { margin-top: 13px; }
.sc-kitchen-ticket-settings .kx-save { position: absolute; right: 13px; bottom: 12px; display: flex; gap: 8px; }
.sc-kitchen-ticket-settings .kx-save .kx-dbtn { width: 74px; }
.sc-kitchen-ticket-settings .kx-save .kx-pbtn { width: 161px; }

/* Print design: templates, designer and block settings. */
.sc-print-design .kx-printer-pick { width: 298px; height: 21px; margin-right: 1px; padding: 0 4px 0 5px; }
.sc-print-design .kx-pagehead-actions .kx-obtn { padding: 0 15px; }
.sc-print-design .kx-templates { width: 192px; height: 570px; padding: 0; }
.sc-print-design .kx-templates h5 { padding: 13px 13px 0; height: auto; gap: 8px; }
.sc-print-design .kx-templates .kx-pbtn { width: 149px; margin: 11px 0 0 14px; }
.sc-print-design .kx-templates .kx-rule { margin: 12px 0 0; }
.sc-print-design .kx-templates .kx-item { margin: 8px 9px 0; padding: 10px 9px 9px; }
.sc-print-design .kx-templates .kx-item small { margin-bottom: 0; }
.sc-print-design .kx-templates footer { position: absolute; left: 0; right: 0; bottom: 0; height: 69px; padding: 13px 9px 0; border-top: 1px solid var(--a-line); }
.sc-print-design .kx-designer { top: 171px; left: 220px; width: 596px; height: 570px; overflow: hidden; }
.sc-print-design .kx-design-form { height: 161px; padding: 12px 13px 0; border-bottom: 1px solid var(--a-line); background: #f7fafb; }
.sc-print-design .kx-design-form .kx-row { gap: 8px; }
.sc-print-design .kx-design-form .kx-row + .kx-row { margin-top: 11px; }
.sc-print-design .kx-design-form .kx-field { gap: 6px; }
.sc-print-design .kx-design-form .kx-input { background: #f6f9fb; }
.sc-print-design .kx-w281 { width: 281px; }
.sc-print-design .kx-w186 { width: 186px; }
.sc-print-design .kx-w184 { width: 184px; }
.sc-print-design .kx-w183 { width: 183px; }
.sc-print-design .kx-add { width: 86px; height: 44px; padding: 0; color: var(--a-primary); font-size: 15px; }
.sc-print-design .kx-add .sc-i { color: var(--a-navy); }
.sc-print-design .kx-preview { position: absolute; top: 161px; left: 0; right: 0; bottom: 0; overflow: hidden; background-color: #edf2f5; background-image: linear-gradient(#dde6eb 1px, transparent 1px), linear-gradient(90deg, #dde6eb 1px, transparent 1px); background-size: 16px 16px; background-position: -2px 4px; }
.sc-print-design .kx-vscroll { position: absolute; top: 14px; bottom: 14px; right: 3px; width: 8px; }
.sc-print-design .kx-vscroll::before { content: ""; position: absolute; top: 4px; height: 240px; left: 0; right: 0; border-radius: 4px; background: #b4c5cc; }
.sc-print-design .kx-vscroll::after { content: "▲"; position: absolute; top: -11px; left: 0; color: #b4c5cc; font-size: 8px; }
.sc-print-design .kx-paper { position: absolute; top: 20px; left: 138px; width: 304px; height: 430px; padding: 8px 34px 0 8px; background: #fff; box-shadow: 0 0 0 1px #d4dde2, 0 4px 14px rgb(16 42 55 / .12); color: #000; font-family: "Segoe UI", system-ui, sans-serif; text-align: center; }
.sc-print-design .kx-paper p { margin: 0; font-size: 10.5px; line-height: 15.5px; white-space: nowrap; }
.sc-print-design .kx-paper hr { height: 0; margin: 5px 0; border: 0; border-top: 1.5px solid #111; }
.sc-print-design .kx-r-shop { margin: 0 -2px; height: 30px; border: 1px solid #a8d5e7; background: #e0f3fb; font-size: 19px; font-weight: 700; line-height: 28px; }
.sc-print-design .kx-paper .kx-r-big { margin-top: 2px; font-size: 19.5px; font-weight: 700; line-height: 26px; }
.sc-print-design .kx-paper .kx-r-mid { font-size: 12px; line-height: 17px; }
.sc-print-design .kx-paper .kx-r-b { font-size: 13.5px; font-weight: 700; line-height: 20px; }
.sc-print-design .kx-paper .kx-r-sm { font-size: 10.5px; line-height: 16px; }
.sc-print-design .kx-paper .kx-r-paid { font-size: 15.5px; font-weight: 700; line-height: 20px; }
.sc-print-design .kx-paper .kx-r-left { padding-left: 2px; text-align: left; font-size: 12px; line-height: 18px; }
.sc-print-design .kx-paper .kx-r-left.kx-r-sm { font-size: 10.5px; line-height: 15px; }
.sc-print-design .kx-paper .kx-r-left.kx-r-paid { font-size: 15.5px; line-height: 21px; }
.sc-print-design .kx-r-item { display: grid; grid-template-columns: 26px 1fr auto; margin: 0 2px; font-size: 11.5px; line-height: 15px; text-align: left; }
.sc-print-design .kx-r-item.is-disc { font-style: italic; font-size: 10.5px; line-height: 14px; }
.sc-print-design .kx-r-sub { padding-left: 37px; font-size: 10.5px; line-height: 15px; text-align: left; }
.sc-print-design .kx-r-total { display: flex; justify-content: flex-end; gap: 46px; margin: 0 2px; font-size: 11.5px; }
.sc-print-design .kx-block { top: 171px; left: 828px; width: 320px; height: 570px; overflow: hidden; }
.sc-print-design .kx-block h5 { height: 45px; padding: 12px 13px 0; border-bottom: 1px solid var(--a-line); background: #f7fafb; font-size: 18px; font-weight: 700; color: var(--a-navy); }
.sc-print-design .kx-block-body { position: relative; height: 448px; padding: 13px 28px 0 12px; }
.sc-print-design .kx-block-body > .kx-field { margin-bottom: 11px; }
.sc-print-design .kx-block-body > .kx-field .kx-input { width: 279px; }
.sc-print-design .kx-block-body .kx-row { gap: 11px; margin-bottom: 11px; }
.sc-print-design .kx-block-body .kx-row .kx-w184 { width: 185px; } /* the font size field is a pixel wider than the paper width one */
.sc-print-design .kx-block-body .kx-row .kx-input em { width: 29px; font-size: 14px; }
.sc-print-design .kx-bold { display: flex; align-items: center; gap: 13px; width: 83px; height: 44px; padding-left: 13px; border: 1px solid var(--a-input-line); border-radius: 4px; font-size: 15.5px; }
.sc-print-design .kx-align, .sc-print-design .kx-order { display: grid; gap: 7px; margin: 6px 0 12px; }
.sc-print-design .kx-align { grid-template-columns: repeat(3, 1fr); }
.sc-print-design .kx-order { grid-template-columns: repeat(2, 1fr); margin-bottom: 12px; }
.sc-print-design .kx-align span, .sc-print-design .kx-order span { display: flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border: 1px solid var(--a-input-line); border-radius: 4px; color: var(--a-label); font-size: 12px; }
.sc-print-design .kx-align .sc-i { width: 14px; height: 14px; }
.sc-print-design .kx-align span.is-on { border-color: var(--a-outline); background: #e8f4fb; }
.sc-print-design .kx-order span { gap: 12px; border-color: var(--a-outline); color: var(--a-navy); font-size: 14.5px; font-weight: 500; }
.sc-print-design .kx-order span.is-off { border-color: #c5d0d6; color: #a7b2b9; }
.sc-print-design .kx-order .sc-i { width: 18px; height: 18px; }
.sc-print-design .kx-remove { width: 148px; }
.sc-print-design .kx-block-body .kx-vscroll { top: 18px; bottom: 6px; right: 5px; }
.sc-print-design .kx-block-body .kx-vscroll::before { height: 400px; }
.sc-print-design .kx-block footer { height: 77px; padding-top: 14px; border-top: 1px solid var(--a-line); background: #f7fafb; text-align: center; }
.sc-print-design .kx-block footer p { margin: 0 0 13px; color: var(--a-muted); font-size: 12.5px; }

/* ——— Motion ———————————————————————————————————————————————————————————————————————————————————————————————— */
/* Allergy: the tickets come in one by one, each red banner gives one pulse, the first ticket's dishes are ticked off,
   and the screen clears before it starts again. */
@keyframes kx-a-card { 0% { opacity: 0; transform: translateY(14px); } 4%, 86% { opacity: 1; transform: none; } 89%, 100% { opacity: 0; transform: none; } }
@keyframes kx-a-banner { 0%, 14%, 22%, 100% { transform: none; box-shadow: 0 0 0 0 rgb(185 28 28 / 0); } 17% { transform: scale(1.025); box-shadow: 0 0 0 5px rgb(185 28 28 / .2); } }
@keyframes kx-a-box { 0%, 30% { border-color: var(--k-check); background: transparent; color: transparent; transform: none; } 32% { transform: scale(.88); } 34%, 90% { border-color: var(--k-done); background: var(--k-done); color: #fff; transform: none; } 91%, 100% { border-color: var(--k-check); background: transparent; color: transparent; } }
@keyframes kx-a-name { 0%, 31% { color: var(--k-ink); } 34%, 90% { color: #8a929e; } 91%, 100% { color: var(--k-ink); } }
@keyframes kx-a-strike { 0%, 31% { transform: scaleX(0); } 35%, 90% { transform: scaleX(1); } 91%, 100% { transform: scaleX(0); } }
.sc-kitchen-allergy .kx-cap { display: none; }
.sc-kitchen-allergy .kx-ticket { border-bottom-width: 1px; }
.sc-kitchen-allergy .kx-ticket:first-child .kx-line b::after { content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; }
.scene.is-live .sc-kitchen-allergy .kx-ticket { animation: kx-a-card 12s calc(var(--i) * .4s) infinite both; }
.scene.is-live .sc-kitchen-allergy .kx-allergy { animation: kx-a-banner 12s calc(var(--i) * .4s) infinite both; }
.scene.is-live .sc-kitchen-allergy .kx-ticket:first-child .kx-check { animation: kx-a-box 12s calc(var(--n) * .6s) infinite both; }
.scene.is-live .sc-kitchen-allergy .kx-ticket:first-child .kx-line b { animation: kx-a-name 12s calc(var(--n) * .6s) infinite both; }
.scene.is-live .sc-kitchen-allergy .kx-ticket:first-child .kx-line b::after { animation: kx-a-strike 12s calc(var(--n) * .6s) infinite both; }

/* Kitchen: the tickets come in one by one with the screen's own attention glow; then each Acknowledge is tapped in
   turn: the warning clears, the card closes up and Done turns green. The card's bottom edge (.kx-cap) and its clip
   follow Done up by the marker (36 px) and the Acknowledge button (62 px). */
@keyframes kx-k-card {
  0% { opacity: 0; transform: translateY(14px); clip-path: inset(-12px -12px -12px -12px); border-color: var(--k-warn); box-shadow: 0 0 0 2px var(--k-warn-ring); }
  4% { opacity: 1; transform: none; }
  8%, 16% { box-shadow: 0 0 0 2px var(--k-warn-ring); } 12% { box-shadow: 0 0 0 6px var(--k-warn-ring); }
  27% { clip-path: inset(-12px -12px -12px -12px); border-color: var(--k-warn); border-top-color: var(--k-warn); box-shadow: 0 0 0 2px var(--k-warn-ring); }
  31%, 94% { opacity: 1; clip-path: inset(-12px -12px 98px -12px); border-color: #c7dce5; border-top-color: #0369a1; box-shadow: 0 0 0 0 transparent; }
  97% { opacity: 0; clip-path: inset(-12px -12px 98px -12px); border-color: #c7dce5; border-top-color: #0369a1; }
  98%, 100% { opacity: 0; clip-path: inset(-12px -12px -12px -12px); border-color: var(--k-warn); box-shadow: 0 0 0 2px var(--k-warn-ring); }
}
@keyframes kx-k-fade { 0%, 26% { opacity: 1; } 28%, 97% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes kx-k-ack { 0%, 23% { opacity: 1; transform: none; } 25% { opacity: 1; transform: scale(.95); background: #ffe7ad; } 28%, 97% { opacity: 0; transform: none; } 98%, 100% { opacity: 1; } }
@keyframes kx-k-up { 0%, 27% { transform: none; } 31%, 97% { transform: translateY(-36px); } 98%, 100% { transform: none; } }
@keyframes kx-k-done { 0%, 27% { transform: none; opacity: .5; } 31%, 97% { transform: translateY(-62px); opacity: 1; } 98%, 100% { transform: none; opacity: .5; } }
@keyframes kx-k-cap { 0%, 27% { transform: none; border-color: var(--k-warn); } 31%, 97% { transform: translateY(-98px); border-color: #c7dce5; } 98%, 100% { transform: none; border-color: var(--k-warn); } }
.scene.is-live .sc-kitchen .kx-ticket { animation: kx-k-card 12s calc(var(--i) * 1.2s) infinite both; }
.scene.is-live .sc-kitchen .kx-marker { animation: kx-k-fade 12s calc(var(--i) * 1.2s) infinite both; }
.scene.is-live .sc-kitchen :is(.kx-body, .kx-ticket > footer) { animation: kx-k-up 12s calc(var(--i) * 1.2s) cubic-bezier(.3, .7, .3, 1) infinite both; }
.scene.is-live .sc-kitchen .kx-ack { animation: kx-k-ack 12s calc(var(--i) * 1.2s) infinite both; }
.scene.is-live .sc-kitchen .kx-done { animation: kx-k-done 12s calc(var(--i) * 1.2s) cubic-bezier(.3, .7, .3, 1) infinite both; }
.scene.is-live .sc-kitchen .kx-cap { animation: kx-k-cap 12s calc(var(--i) * 1.2s) cubic-bezier(.3, .7, .3, 1) infinite both; }

/* Kitchen station: the third printer is unticked, then ticked again, and the station's card picks it up. */
@keyframes kx-s-box { 0%, 30% { border-color: var(--a-primary); background: var(--a-primary); color: #fff; transform: none; } 33%, 52% { border-color: #767676; background: #fff; color: transparent; transform: none; } 55% { transform: scale(.82); } 58%, 100% { border-color: var(--a-primary); background: var(--a-primary); color: #fff; transform: none; } }
@keyframes kx-s-row { 0%, 54%, 76%, 100% { background: transparent; } 58%, 66% { background: #e0f3fb; } }
@keyframes kx-s-name { 0%, 31% { opacity: 1; } 34%, 58% { opacity: 0; } 63%, 100% { opacity: 1; } }
@keyframes kx-s-card { 0%, 58%, 76%, 100% { background: #eef6fd; } 63%, 68% { background: #d9ecfa; } }
.sc-kitchen-station .kx-printers > span:last-child { margin: 0 -8px; padding: 0 8px; border-radius: 4px; }
.scene.is-live .sc-kitchen-station .kx-pick { animation: kx-s-box 10s infinite both; }
.scene.is-live .sc-kitchen-station .kx-printers > span:last-child { animation: kx-s-row 10s infinite both; }
.scene.is-live .sc-kitchen-station .kx-printer-name { animation: kx-s-name 10s infinite both; }
.scene.is-live .sc-kitchen-station .kx-item { animation: kx-s-card 10s infinite both; }

/* Ticket settings: Group by course, then Group by seat, are switched off and on again; then the station is saved. */
@keyframes kx-t-box { 0%, 15% { border-color: var(--a-primary); background: var(--a-primary); color: #fff; transform: none; } 18%, 33% { border-color: #767676; background: #fff; color: transparent; transform: none; } 36% { transform: scale(.82); } 39%, 100% { border-color: var(--a-primary); background: var(--a-primary); color: #fff; transform: none; } }
@keyframes kx-t-save { 0%, 62%, 68%, 100% { transform: none; filter: none; } 65% { transform: scale(.95); filter: brightness(1.15); } }
.scene.is-live .sc-kitchen-ticket-settings .kx-checks .kx-check-line:nth-child(-n + 2) .kx-pick { animation: kx-t-box 10s calc(var(--n) * 1s) infinite both; }
.scene.is-live .sc-kitchen-ticket-settings .kx-save .kx-pbtn { animation: kx-t-save 10s infinite both; }

/* Print design: the receipt prints out line by line, then the selected Shop Name block lights up. */
@keyframes kx-p-paper { 0%, 3% { clip-path: inset(0 -20px 100% -20px); opacity: 1; } 28%, 93% { clip-path: inset(0 -20px -20px -20px); opacity: 1; } 97% { clip-path: inset(0 -20px -20px -20px); opacity: 0; } 100% { clip-path: inset(0 -20px 100% -20px); opacity: 0; } }
@keyframes kx-p-shop { 0%, 33%, 47%, 100% { box-shadow: 0 0 0 0 rgb(31 106 158 / 0); } 38%, 42% { box-shadow: 0 0 0 4px rgb(31 106 158 / .25); } }
@keyframes kx-p-block { 0%, 33%, 47%, 100% { background: #f7fafb; } 38%, 42% { background: #e0f3fb; } }
.scene.is-live .sc-print-design .kx-paper { animation: kx-p-paper 12s linear infinite both; }
.scene.is-live .sc-print-design .kx-r-shop { animation: kx-p-shop 12s infinite both; }
.scene.is-live .sc-print-design .kx-block h5 { animation: kx-p-block 12s infinite both; }

/* ——— Payment, seats and courses, host stand and platforms ——— */
/* Front-of-house screens (front.js): payment, seats and courses, the host stand and the platforms workspace. Every
   size is a pixel of the 1366 × 768 screen. The first three wear the till's deep blue; Platforms is in the black style. */
.sc-payment, .sc-seats-courses, .sc-host-stand {
  --sc-ink: #0f2430; --sc-text: #1d2b33; --sc-muted: #5f6b70; --sc-line: #dde6ea; --sc-line-strong: #c9d6dc;
  --sc-accent: #1d6797; --sc-accent-soft: #dff1fa; --sc-accent-line: #8dbfd8; --sc-rail-bg: #fff; --sc-soft: #f4f8fa;
  --fr-blue: #1f6a9e; --fr-deep: #1d4f6e; --fr-page: #f6fafb;
}
/* The rail as these screenshots show it: items a little closer, badges beside the icon. */
.sc-payment .sc-rail nav, .sc-platforms .sc-rail nav { gap: 3.5px; margin-top: 5px; }
.sc-payment .sc-rail-item, .sc-platforms .sc-rail-item { padding: 4px 0 3px; }
.sc-payment .sc-rail-item .sc-badge, .sc-platforms .sc-rail-item .sc-badge { top: 6px; right: auto; left: 56px; }
.sc-payment .sc-rail-item.is-on { color: #1f4a5e; }
.sc-payment .sc-rail nav > :nth-child(2) .sc-badge { background: #b42318; }

/* ——— Payment ——————————————————————————————————————————————————————————————————————————————————————————————— */
.sc-payment { background: var(--fr-page); }
.sc-payment .sc-order { background: #fff; }
.sc-payment .sc-order-head { position: relative; display: block; height: 116px; padding: 0; background: var(--fr-page); border-bottom: 1px solid var(--sc-line); }
.sc-payment .sc-order-head > div:first-child { position: absolute; top: 9px; left: 14px; }
.sc-payment .sc-order-head small { color: #3b6274; font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.sc-payment .sc-order-head h4 { font-size: 21px; line-height: 1.3; }
.pay-print { position: absolute; top: 11px; left: 373px; display: grid; place-items: center; width: 44px; height: 43px; border: 1px solid #2b5a78; border-radius: 6px; background: #fff; color: var(--fr-deep); }
.pay-head-btns { position: absolute; top: 62px; left: 14px; right: 15px; display: grid; grid-template-columns: 197px 1fr; gap: 9px; }
.pay-head-btns > span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 1px solid #c9d3d8; border-radius: 5px; background: #fff; font-size: 13px; color: #233b3e; }
.pay-head-btns .sc-i { width: 16px; height: 16px; }
.pay-head-btns em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e0eff7; color: #2b5a78; font: 500 12px/1 inherit; font-style: normal; }
.pay-head-btns .is-strong { border-color: #2b5a78; color: var(--fr-deep); font-size: 16px; font-weight: 500; }
.sc-payment .sc-selects { grid-template-columns: 127px 1fr 127px; padding: 7px 6px 6px; }
.sc-payment .sc-selects > span { border-color: #d9e2e6; background: #eff4f6; font-size: 13px; color: #233b3e; }
.sc-payment .sc-selects > .is-off { background: #f9fbfc; color: #8a8e91; }
.sc-payment .sc-lines-wrap { grid-template-columns: 1fr 77px; }
.pay-lines-col { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--sc-line); }
.sc-payment .sc-lines { flex: 1; border-right: 0; }
.sc-payment .sc-line { min-height: 72px; padding: 11px 11px 0 14px; column-gap: 5px; font-size: 16px; }
.sc-payment .sc-line .sc-q, .sc-payment .sc-line b { color: var(--sc-ink); font-weight: 500; }
.sc-payment .sc-line .sc-price { font-weight: 500; }
.pay-course { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 8px; border: 1px solid #2b5a78; border-radius: 4px; color: #1d3a4a; font-size: 13px; font-style: normal; line-height: 1; }
.pay-course::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #175d87; }
.sc-payment .sc-total { height: 52px; padding: 0 11px; }
.sc-payment .sc-total span { font-size: 20px; }
.sc-payment .sc-total span .sc-i { width: 15px; height: 15px; color: #2b5a78; }
.sc-payment .sc-total b { font-size: 20px; }
.sc-payment .sc-line-tools > span { min-height: 47px; border-color: #e2e8ea; background: #f8fafa; color: #8e9394; font-size: 12px; }
.sc-payment .sc-line-tools .is-fire { border-color: #f2e2c4; background: #fffaf0; color: #c4a985; }
.sc-payment .sc-line-tools .is-danger { border-color: #f1d9d5; background: #fdf7f6; color: #cf9f97; }
.sc-payment .sc-tools { grid-template-columns: repeat(4, 1fr); padding: 8px 6px; }
.sc-payment .sc-tools > span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-color: #d9e2e6; background: var(--fr-page); font-size: 12.5px; color: #161f1c; }
.sc-payment .sc-actions { padding: 9px 9px 9px; }
.sc-payment .sc-actions > span { height: 62px; border-radius: 4px; font-size: 17px; }
.sc-payment .sc-actions > .pay-send { display: grid; grid-template-columns: auto 1fr; padding: 0 16px; background: #1d6fa0; }
.pay-send b { font-weight: 600; line-height: 1.4; text-align: center; }
.pay-fire { background: #c9a690; }
.sc-payment .sc-pay { background: #3a7a41; }

.pay-split, .pay-take { position: absolute; top: 10px; height: 676px; border: 1px solid #e1e8eb; border-radius: 6px; }
.pay-split > *, .pay-take > * { position: absolute; }
.pay-split { left: 548px; width: 338px; background: #fff; }
.pay-split h5, .pay-take h5 { top: 10px; left: 10px; font-size: 15px; font-weight: 600; line-height: 20px; color: #101720; }
.pay-modes { top: 40px; left: 10px; display: grid; grid-template-columns: 147px 147px; gap: 7px; }
.pay-modes > span { display: grid; place-items: center; height: 43px; border: 1px solid #d6dee2; border-radius: 5px; font-size: 16px; font-weight: 500; color: #151714; }
.pay-modes > .is-on { border-color: #5d8aa6; background: #dff0fa; color: #2b5f80; }
.pay-label { top: 93px; left: 10px; color: #616664; font-size: 12px; text-transform: uppercase; }
.pay-big { top: 116px; left: 10px; font-size: 32px; font-weight: 700; line-height: 40px; color: #11171c; }
.pay-sums { top: 163px; left: 10px; width: 302px; display: grid; grid-template-columns: 1fr auto; margin: 0; padding-bottom: 6px; border-bottom: 1px solid #dfe5e8; font-size: 15px; line-height: 29.5px; color: #131321; }
.pay-sums dd { margin: 0; text-align: right; }
.pay-split .pay-offers { top: 266px; }
.pay-code { top: 295px; left: 10px; display: grid; grid-template-columns: 198px 95px; gap: 8px; }
.pay-code > span { display: flex; align-items: center; height: 47px; padding: 0 9px; border: 1px solid #d6dee2; border-radius: 4px; color: #616d69; font-size: 12.5px; }
.pay-code .pay-apply { justify-content: center; gap: 10px; border-color: #2b5a78; color: #2b425a; font-size: 17px; font-weight: 500; }

.pay-take { left: 897px; width: 458px; background: #eef5f9; }
.pay-summary { top: 37px; left: 10px; width: 435px; height: 58px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d6e2e8; border-radius: 4px; overflow: hidden; }
.pay-summary > div { display: grid; align-content: center; gap: 2px; padding: 0 9px; background: #e2ecf2; border-right: 1px solid #d6e2e8; }
.pay-summary > .is-left { background: #fff; border-right: 0; }
.pay-summary small { color: #5e696d; font-size: 11px; }
.pay-summary b { font-size: 18px; font-weight: 600; color: #2c2827; }
.pay-summary .is-left b { color: #2e4755; }
.pay-swap { display: inline-grid; }
.pay-swap > span { grid-area: 1 / 1; }
.pay-mid, .pay-after { opacity: 0; }
.pay-list { top: 107px; left: 10px; width: 435px; height: 196px; border: 1px solid #d6e2e8; border-radius: 5px; background: var(--fr-page); }
.pay-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #656c6c; font-size: 12px; }
.pay-entry { position: absolute; top: 8px; left: 8px; right: 8px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; height: 56px; padding: 0 10px; border: 1px solid #cfe0d4; border-radius: 5px; background: #fff; opacity: 0; }
.pay-entry > .sc-i { color: #31703f; }
.pay-entry span { display: grid; }
.pay-entry span b { font-size: 14px; color: var(--sc-ink); }
.pay-entry small { color: var(--sc-muted); font-size: 12px; }
.pay-entry strong { font-size: 16px; color: var(--sc-ink); }
.pay-entry em { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 9px; border: 1px solid #d6dee2; border-radius: 4px; font-size: 12px; font-style: normal; color: var(--sc-text); }
.pay-entry em .sc-i { width: 14px; height: 14px; }
.pay-amount { top: 311px; left: 10px; width: 435px; height: 47px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; border: 1px solid #d6e2e8; border-radius: 4px; background: #fff; }
.pay-amount > span { color: #656768; font-size: 12px; }
.pay-amount b { justify-items: end; font-size: 22px; font-weight: 500; color: #234a60; }
.pay-keys { top: 365px; left: 10px; display: grid; grid-template-columns: repeat(3, 110px); grid-auto-rows: 43px; gap: 6px; }
.pay-keys > span { display: grid; place-items: center; border: 1px solid #d6e2e8; border-radius: 4px; background: #fff; font-size: 17px; font-weight: 500; color: #262626; }
.pay-keys > .is-soft { background: #eaf3fa; color: #174367; }
.pay-keys > .is-wide { grid-column: span 2; }
.pay-quick { top: 365px; left: 358px; display: grid; grid-template-columns: 87px; grid-auto-rows: 56px; gap: 5px; }
.pay-quick > span { display: grid; place-items: center; border-radius: 4px; background: var(--fr-blue); color: #fff; font-size: 16px; font-weight: 600; }
.pay-tender { top: 613px; left: 10px; display: grid; grid-template-columns: 167px 125px 125px; gap: 9px; }
.pay-tender > span { display: flex; align-items: center; justify-content: center; gap: 9px; height: 52px; border-radius: 4px; color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 1px 2px rgb(17 24 39 / .18); }
.pay-tender .pay-cnp { justify-content: flex-start; gap: 11px; padding: 0 11px; border: 1px solid #d6e2e8; background: var(--fr-page); color: #112026; font-size: 12.5px; font-weight: 500; box-shadow: none; }
.pay-cnp i { width: 22px; height: 22px; border: 1px solid #55595c; border-radius: 3px; background: #fff; }
.pay-cash { background: #31703f; }
.pay-card { background: #267392; }
.pay-foot > span { position: absolute; top: 702px; display: flex; align-items: center; justify-content: center; gap: 12px; height: 56px; border-radius: 4px; font-size: 17px; font-weight: 500; }
.pay-cancel { left: 1040px; width: 110px; border: 1px solid #d5dde1; background: #fff; color: #13171c; }
.pay-foot > .pay-record { left: 1157px; width: 197px; background: #9dbfa6; color: #e9f3ec; font-weight: 600; }

/* ——— Seats & Courses —————————————————————————————————————————————————————————————————————————————————————— */
.sc-seats-courses { background: #eaf3f7; }
.seat-card { position: absolute; top: 9px; left: 9px; width: 1348px; height: 750px; overflow: hidden; border: 1px solid #d3e1e7; border-radius: 6px; background: var(--fr-page); }
.seat-head { position: relative; height: 70px; background: #fff; border-bottom: 1px solid #d6e3e8; }
.seat-head > div { position: absolute; top: 12px; left: 15px; }
.seat-head small { display: block; color: #3d6475; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.seat-head h4 { margin-top: 3px; font-size: 19px; font-weight: 700; color: #051b1f; }
.seat-head > span { position: absolute; top: 12px; display: grid; place-items: center; height: 44px; border-radius: 4px; font-size: 16px; font-weight: 600; }
.seat-cancel { left: 1073px; width: 81px; border: 1px solid #42636a; color: #2c4b5a; }
.seat-save { left: 1163px; width: 168px; background: #1f669c; color: #fff; }
.sc-seats-courses .seat-hint { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 15px; border-bottom: 1px solid #d6e3e8; color: #5f6165; font-size: 13px; white-space: nowrap; }
.seat-grid { display: grid; grid-template-columns: 222px 375px 375px 1fr; grid-template-rows: 77px 147px 227px; background: #fff; border-bottom: 1px solid #d6e3e8; }
.seat-grid > div { border-right: 1px solid #dfe5e8; border-bottom: 1px solid #dfe5e8; }
.seat-grid > div:nth-child(4n) { border-right: 0; }
.seat-grid > .seat-th { display: flex; align-items: center; gap: 9px; padding: 0 12px; background: #f0f4f7; border-bottom-color: #a9c4c9; font-size: 14px; font-weight: 600; color: #0f2430; }
.seat-th .sc-i { width: 17px; height: 17px; }
.seat-grid > .seat-th.is-shared { align-items: flex-start; padding: 18px 14px 0; background: #e1f2f6; color: #2c4c4a; }
.seat-th.is-shared span { display: grid; gap: 7px; }
.seat-th small { color: #304c4a; font-size: 12px; font-weight: 400; }
.seat-course { padding: 13px 10px; background: #f0f4f7; font-size: 14px; font-weight: 600; color: #0f2430; }
.seat-course.is-now { display: flex; align-items: flex-start; gap: 8px; padding-left: 12px; background: #fff0d1; box-shadow: inset 4px 0 0 #caa24b; color: #6b4422; }
.seat-course .sc-i { width: 17px; height: 17px; margin-top: -1px; }
.seat-cell { display: grid; align-content: start; gap: 11px; padding: 10px; }
.seat-grid > :nth-child(6) { background: #f5f6ea; }
.seat-grid > :nth-child(7), .seat-grid > :nth-child(8) { background: #fffcf5; }
.seat-grid > :nth-child(10) { background: #f0f9fb; }
.seat-cell.is-shared, .seat-th.is-shared { border-right-color: #b9d3d8; }
.seat-slot { display: grid; place-items: center; height: 43px; border: 1px dashed #cfd6da; border-radius: 4px; color: #8a9296; font-size: 12px; }
.seat-grid > :nth-child(7) .seat-slot, .seat-grid > :nth-child(8) .seat-slot { background: #fffaf0; }
.seat-dish { display: grid; grid-template-columns: 1fr 44px; height: 70px; border: 1px solid #cbd5da; border-left: 3px solid #cfd9de; border-radius: 5px; background: #fff; }
.seat-dish > span { display: grid; align-content: start; gap: 7px; padding: 10px 10px 0 9px; }
.seat-dish b { font-size: 14px; font-weight: 700; color: #091c18; white-space: nowrap; }
.seat-dish small { height: 21px; padding: 0 6px; border-radius: 4px; background: #eef3f5; color: #5e6768; font-size: 12px; line-height: 21px; }
.seat-dish em { display: grid; place-items: center; padding-right: 10px; border-left: 1px solid #d6dee2; color: #244c57; }
.seat-dish em .sc-i { width: 18px; height: 18px; }
.sc-seats-courses .seat-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 75px; padding: 30px 15px 0; border-top: 1px solid #d6e3e8; color: #0d2622; font-size: 13px; }

/* ——— Host stand ———————————————————————————————————————————————————————————————————————————————————————————— */
.sc-host-stand { --host-min: 3.2733px; background: #fff; }
.host-top { position: absolute; top: 0; left: 0; right: 0; height: 69px; border-bottom: 1px solid #dce5ea; }
.host-brand img { position: absolute; top: 14px; left: 16px; width: 40px; height: 40px; border-radius: 50%; }
.host-brand b { position: absolute; top: 18px; left: 65px; display: grid; font-size: 14px; font-weight: 600; line-height: 1.15; color: #0f2430; }
.host-brand small { color: var(--sc-muted); font-size: 12px; font-weight: 400; }
.host-views { position: absolute; top: 8px; left: 211px; width: 313px; height: 52px; display: grid; grid-template-columns: 120px 1fr 1fr; padding: 3px; border: 1px solid #c7d6dd; border-radius: 8px; background: #ecf4f8; }
.host-views > span { display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 6px; font-size: 16px; font-weight: 500; color: #3b524d; }
.host-views > .is-on { border: 1px solid #c5d3da; background: #fff; color: #264a59; }
.host-views > .is-off { color: #9ca2a5; }
.host-top > .host-btn, .host-top > .host-sync, .host-top > .host-user { position: absolute; top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.host-btn { border: 1px solid #cfdbe0; border-radius: 6px; background: #fff; color: #264d59; }
.host-btn.is-off { border-color: #e1e8eb; color: #9aa9ad; }
.host-top > :nth-child(3) { left: 545px; width: 98px; }
.host-top > :nth-child(4) { left: 651px; width: 135px; }
.host-top > :nth-child(5) { left: 794px; width: 129px; }
.host-top > .host-sync { left: 932px; gap: 6px; color: #646b6b; font-size: 14px; font-weight: 400; }
.host-sync .sc-i { width: 16px; height: 16px; color: #306843; }
.host-top > .host-user { left: 1058px; width: 95px; border-radius: 22px; background: #dcf5e6; color: #1a5c3d; font-size: 15px; }
.host-top > :nth-child(8) { left: 1163px; width: 78px; }
.host-top > :nth-child(9) { left: 1249px; width: 44px; }
.host-top > :nth-child(10) { left: 1304px; width: 47px; }

.host-side { position: absolute; top: 69px; left: 0; bottom: 0; width: 304px; padding: 14px 15px 0 14px; border-right: 1px solid #dce5ea; background: #f8fafb; overflow: hidden; }
.host-date { display: grid; grid-template-columns: 43px 1fr 42px; gap: 5px; height: 44px; }
.host-date > span { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d6dee2; border-radius: 6px; background: #fff; color: #1d2b33; }
.host-date > .is-date { border-color: #e8cf98; background: #fef8e8; color: #6f4a22; font-size: 16px; font-weight: 500; }
.host-date .is-date .sc-i { width: 15px; height: 15px; }
.host-today { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-top: 4px; border: 1px solid #ecd29a; border-radius: 6px; background: #fef8e6; color: #823d07; font-size: 16px; font-weight: 700; }
.host-stats { display: grid; grid-template-columns: repeat(3, 1fr); height: 83px; margin-top: 15px; border: 1px solid #dfe6ea; border-radius: 6px; background: #fff; }
.host-stats > span { display: grid; align-content: center; padding: 0 12px; border-right: 1px solid #e6ecef; }
.host-stats > span:last-child { border-right: 0; }
.host-stats small { color: #616c6d; font-size: 12px; }
.host-stats b { font-size: 22px; font-weight: 700; line-height: 1.2; color: #0e242c; }
.host-side h5 { display: flex; align-items: center; gap: 10px; margin-top: 17px; font-size: 15px; font-weight: 700; color: #0f2430; }
.host-side h5 em { padding: 1px 7px; border-radius: 10px; background: #e6f1f7; color: #1d5f86; font-size: 12px; font-style: normal; }
.host-list { display: grid; gap: 7px; margin-top: 9px; }
.host-list li { display: grid; grid-template-columns: 61px 1fr auto; align-items: center; height: 57px; padding: 0 12px 0 13px; border: 1px solid #dde5e9; border-left: 3px solid #166593; border-radius: 5px; background: #fff; }
.host-list li > b { font-size: 17px; font-weight: 700; color: #251f1b; }
.host-list li > span { display: grid; gap: 1px; }
.host-list strong { font-size: 15px; font-weight: 700; color: #141e26; white-space: nowrap; }
.host-list small { display: flex; align-items: center; gap: 12px; color: #464d4d; font-size: 13px; }
.host-list small em { display: inline-flex; align-items: center; gap: 4px; color: #703f1b; font-weight: 700; font-style: normal; }
.host-list .sc-i { width: 15px; height: 15px; }
.host-list i { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700; font-style: normal; color: #141e26; }
.host-list i .sc-i { width: 18px; height: 18px; }

.host-board { position: absolute; top: 69px; left: 304px; right: 0; bottom: 0; }
.host-areas { position: relative; display: flex; gap: 7px; height: 57px; padding: 6px 14px 0; border-bottom: 1px solid #dce5ea; }
.host-areas > span { display: flex; align-items: center; height: 44px; padding: 0 15px; border: 1px solid #d8dbda; border-radius: 22px; color: #3e514d; font-size: 15px; white-space: nowrap; }
.host-areas > .is-on { border-color: #3a566d; background: #e0f3fd; color: #214c5f; }
.host-areas > .host-search, .host-areas > .host-print { position: absolute; top: 6px; gap: 10px; border-color: #cdd9d7; border-radius: 5px; }
.host-areas > .host-search { left: 712px; width: 239px; padding: 0 12px; color: #736e72; }
.host-areas > .host-print { left: 961px; width: 87px; justify-content: center; color: #2c494d; font-size: 16px; font-weight: 500; }
.host-scale { position: relative; height: 57px; border-bottom: 1px solid #d9e3e8; }
.host-scale::before { content: ""; position: absolute; top: 0; bottom: 0; left: 80px; border-left: 1px solid #d5dcdf; }
.host-scale > small { position: absolute; left: 12px; top: 33px; color: #6c6a64; font-size: 12.5px; }
.host-scale > span { position: absolute; top: 7px; left: calc(80px + var(--m) * var(--host-min)); height: 18px; padding-left: 5px; border-left: 1px solid #dfe3e4; color: #6c6a64; font-size: 12.5px; line-height: 18px; }
.host-scale > .is-hour { border-left: 2px solid #3a4248; color: #282114; font-weight: 700; }
.host-scale > em { position: absolute; top: 35px; left: calc(80px + var(--m) * var(--host-min) + 2px); display: flex; align-items: center; gap: 3px; height: 18px; padding: 0 6px; border-radius: 3px; background: #e6f3f8; color: #1b4e63; font-size: 12px; font-weight: 700; font-style: normal; }
.host-scale > em .sc-i { width: 12px; height: 12px; }
.host-rows { position: absolute; top: 115px; left: 0; right: 0; bottom: 44px; overflow: hidden; }
.host-rows h6 { height: 32px; margin: 0; padding: 0 12px; background: #edf4f6; border-bottom: 1px solid #e3eaec; font-size: 13px; font-weight: 700; line-height: 32px; color: #0e2823; }
.host-row { position: relative; height: 54px; border-bottom: 1px solid #e5eaec;
  background: linear-gradient(90deg, #e6eaeb 1px, transparent 1px) 80px 0 / calc(60 * var(--host-min)) 100% repeat-x, linear-gradient(90deg, #f1f3f3 1px, transparent 1px) 80px 0 / calc(15 * var(--host-min)) 100% repeat-x, #fff; }
.host-row::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 80px; border-right: 1px solid #d5dcdf; background: #fff; }
.host-row.is-room::before { box-shadow: inset 3px 0 0 #a6d1b9; }
.host-row b { position: absolute; top: 15px; left: 12px; font-size: 16px; font-weight: 700; color: #222310; }
.host-row small { position: absolute; top: 17px; left: 63px; color: #6c6b60; font-size: 12.5px; }
.host-bar { position: absolute; top: calc(36px + var(--r) * 54px + min(var(--r), 1) * 32px); left: calc(80px + var(--m) * var(--host-min)); width: calc(var(--len) * var(--host-min)); height: 43px; padding: 0 9px 0 7px; border: 1px solid #2c4f63; border-left: 3px solid #006597; border-radius: 4px; background: #def1fa; transform-origin: 0 50%; }
.host-bar > span { display: flex; align-items: center; gap: 8px; height: 100%; }
.host-bar .sc-i { width: 16px; height: 16px; color: #1d3a4a; }
.host-bar b { font-size: 14px; font-weight: 500; color: #1a2325; white-space: nowrap; }
.host-bar b + .sc-i, .host-bar strong { margin-left: auto; }
.host-bar .sc-i + strong { margin-left: 0; }
.host-bar strong { font-size: 14px; font-weight: 700; color: #022539; }
.host-legend { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 17px; height: 44px; padding: 0 14px; border-top: 1px solid #dce5ea; color: #44504a; font-size: 13px; }
.host-legend > span { display: flex; align-items: center; gap: 7px; }
.host-legend i { width: 16px; height: 12px; border: 1.5px solid; border-radius: 2px; }
.host-legend .is-booked i { border-color: #1d6797; background: #def1fa; }
.host-legend .is-late i { border-color: #c0392b; background: #fde8e8; }
.host-legend .is-arrived i { border-color: #d9a520; background: #fff4d6; }
.host-legend .is-request i { border-style: dashed; border-color: #9aa8ae; background: #fafbfb; }
.host-legend .is-seated i { border-color: #2f8a46; background: #e3f4e6; }
.host-legend .is-cleaning i { border-color: #c9701a; background: #fff0dd; }
.host-legend .is-finished i { border-color: #c4ced3; background: #eef2f4; }
.host-legend .host-hide { margin-left: auto; gap: 9px; color: #122727; font-size: 14px; font-weight: 500; }
.host-hide i { display: grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 3px; background: #0b5884; color: #fff; }
.host-hide i .sc-i { width: 14px; height: 14px; stroke-width: 3; }

/* ——— Platforms (the black style) ——————————————————————————————————————————————————————————————————————————— */
.sc-platforms { --sc-ink: #18181b; --sc-text: #222; --sc-muted: #646464; --sc-line: #e5e5e5; --sc-rail-bg: #fff; --plat-line: #e5e5e5; background: #fff; }
.sc-platforms .sc-rail-item.is-on { border-color: #18181b; background: #18181b; color: #fff; font-weight: 700; box-shadow: none; }
.sc-platforms .sc-badge { background: #18181b; }
.sc-platforms .sc-rail nav > :nth-child(2) .sc-badge { background: #b01810; }
.plat-head { position: absolute; top: 0; left: 104px; right: 0; height: 72px; border-bottom: 1px solid var(--plat-line); }
.plat-head > div { position: absolute; top: 14px; left: 15px; }
.plat-head small, .plat-lead header small, .plat-hours header small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #191610; }
.plat-head h4 { font-size: 20px; font-weight: 700; color: #18181b; line-height: 1.3; }
.plat-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 47px; padding: 0 16px; border: 1px solid #151515; border-radius: 4px; background: #fff; color: #18181b; font-size: 13px; font-weight: 600; white-space: nowrap; }
.plat-btn .sc-i { width: 17px; height: 17px; }
.plat-btn.is-dark { background: #18181b; color: #fff; }
.plat-head .plat-btn { position: absolute; top: 14px; right: 15px; width: 92px; height: 43px; padding: 0; }
.plat-bar { position: absolute; top: 84px; left: 116px; width: 1237px; height: 67px; display: flex; gap: 10px; padding: 9px; border: 1px solid var(--plat-line); border-radius: 4px; }
.plat-bar > :nth-child(1) { width: 115px; }
.plat-bar > :nth-child(2) { width: 166px; }
.plat-bar > :nth-child(3) { width: 174px; }
.plat-col { position: absolute; top: 162px; left: 116px; width: 504px; bottom: 12px; display: grid; align-content: start; gap: 14px; overflow: hidden; }
.plat-col article { position: relative; border: 1px solid var(--plat-line); border-radius: 5px; }
.plat-col header { position: relative; height: 65px; }
.plat-lead { height: 154px; padding: 0 13px; background: #fff; }
.plat-lead header > div, .plat-hours header > div { position: absolute; top: 19px; left: 0; }
.plat-lead h5, .plat-hours h5 { font-size: 15px; font-weight: 700; color: #18181b; line-height: 1.2; }
.plat-lead header, .plat-hours header { border-bottom: 1px solid var(--plat-line); }
.plat-save { display: grid; place-items: center; height: 43px; border-radius: 4px; background: #959595; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.plat-lead header .plat-save { position: absolute; top: 12px; right: 0; width: 116px; }
.plat-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 11px; }
.plat-lead-grid label { display: grid; gap: 6px; color: #18181b; font-size: 12.5px; }
.plat-lead-grid label > span, .plat-radius > div { display: grid; grid-template-columns: 43px 1fr 22px 43px; align-items: center; column-gap: 7px; }
.plat-step { display: grid; place-items: center; height: 43px; border: 1px solid #e2e2e2; border-radius: 4px; background: #f6f6f6; color: #373737; font-size: 13px; }
.plat-field { display: grid; place-items: center; height: 43px; border: 1px solid #e2e2e2; border-radius: 4px; background: #fff; color: #1d171e; font-size: 18px; font-weight: 700; }
.plat-lead-grid small, .plat-radius small { color: #777; font-size: 11.5px; text-align: center; }
.plat-col .plat-card { padding: 0 13px 0 12px; border-left: 3px solid #6a6a77; background: #fafafa; }
.plat-card header > div { position: absolute; top: 14px; left: 0; display: grid; gap: 2px; }
.plat-card h5 { font-size: 16px; font-weight: 700; color: #3a3f45; }
.plat-card header small { color: #666; font-size: 12px; }
.plat-pill { position: absolute; top: 20px; right: 0; height: 26px; padding: 0 7px; border-radius: 4px; background: #eceeef; color: #5b4f45; font-size: 11.5px; font-weight: 700; line-height: 26px; }
.plat-polling { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border: 1px dashed #d9d9d9; border-radius: 4px; background: #fff; color: #555; font-size: 13px; }
.plat-polling .sc-i { width: 16px; height: 16px; }
.plat-polling small { margin-left: auto; color: #444; font-size: 11.5px; }
.plat-polling b { padding: 2px 7px; border-radius: 3px; background: #eceeef; color: #3a3a3a; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.plat-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.plat-toggle { display: flex; align-items: center; gap: 9px; height: 57px; padding: 0 11px 0 10px; border: 1px solid #b1d9bf; border-radius: 4px; background: #effcf3; color: #2c5a2b; font-size: 13.5px; }
.plat-toggle b { position: relative; margin-left: auto; padding: 3px 7px; border-radius: 3px; background: #d6f3dc; color: #115634; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plat-closed { position: absolute; top: 0; right: 0; bottom: 0; display: grid; place-items: center; padding: 0 7px; border-radius: 3px; background: #f9d7d7; color: #9b1c1c; opacity: 0; }
.plat-radius { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--plat-line); font-size: 13px; color: #18181b; }
.plat-radius > div { grid-template-columns: 44px 1fr auto 44px 91px; margin-top: 9px; }
.plat-radius > div .plat-field { border: 0; background: none; font-weight: 400; }
.plat-radius > div .plat-save { margin-left: 2px; }
.sc-platforms .plat-note { margin-top: 10px; padding: 9px 0 13px; border-top: 1px solid var(--plat-line); color: #646464; font-size: 12px; }
.plat-scroll { position: absolute; top: 165px; left: 624px; width: 10px; height: 590px; }
.plat-scroll::before, .plat-scroll::after { content: ""; position: absolute; left: 1px; border: 4px solid transparent; }
.plat-scroll::before { top: 1px; border-bottom: 6px solid #8b8b8b; border-top: 0; }
.plat-scroll::after { bottom: 1px; border-top: 6px solid #8b8b8b; border-bottom: 0; }
.plat-scroll i { position: absolute; top: 15px; left: 1px; width: 8px; height: 245px; border-radius: 4px; background: #8b8b8b; }
.plat-hours { position: absolute; top: 162px; left: 650px; width: 686px; height: 506px; padding: 0 12px; border: 1px solid var(--plat-line); border-radius: 5px; }
.plat-hours header { position: relative; height: 71px; }
.plat-hours header .plat-btn { position: absolute; top: 18px; right: 1px; width: 83px; height: 43px; padding: 0; font-size: 12.5px; }
.plat-hours table { width: 100%; border-collapse: collapse; }
.plat-hours thead th { height: 34px; padding: 0; color: #63645d; font-size: 11px; font-weight: 600; text-align: left; text-transform: uppercase; }
.plat-hours tbody tr { height: 57px; border-top: 1px solid #ececec; }
.plat-hours tbody th { width: 56px; padding: 0; color: #2e291b; font-size: 12.5px; font-weight: 600; text-align: left; }
.plat-hours td { width: 306px; padding: 0; color: #222; font-size: 13px; }
.plat-hours td:last-child { width: auto; }

/* ——— Motion ——————————————————————————————————————————————————————————————————————————————————————————————— */
/* Payment: the £20 key enters £20.00, Add Cash takes it, Paid and Remaining move on, then the screen resets. */
@keyframes sc-pay-first { 0%, 16% { opacity: 1; } 18%, 91% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes sc-pay-mid { 0%, 16% { opacity: 0; } 18%, 32% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes sc-pay-before { 0%, 32% { opacity: 1; } 34%, 91% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes sc-pay-after { 0%, 32% { opacity: 0; } 34%, 91% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes sc-pay-entry { 0%, 32% { opacity: 0; transform: translateY(-8px); } 35%, 91% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes sc-pay-k20 { 0%, 13%, 19%, 100% { background: var(--fr-blue); transform: none; } 16% { background: #4a93c6; transform: scale(.93); } }
@keyframes sc-pay-cash { 0%, 27%, 33%, 100% { background: #31703f; transform: none; } 30% { background: #4f9a5e; transform: scale(.95); } }
.scene.is-live .sc-payment .pay-first { animation: sc-pay-first 12s infinite both; }
.scene.is-live .sc-payment .pay-mid { animation: sc-pay-mid 12s infinite both; }
.scene.is-live .sc-payment .pay-before, .scene.is-live .sc-payment .pay-empty { animation: sc-pay-before 12s infinite both; }
.scene.is-live .sc-payment .pay-after { animation: sc-pay-after 12s infinite both; }
.scene.is-live .sc-payment .pay-entry { animation: sc-pay-entry 12s infinite both; }
.scene.is-live .sc-payment .pay-k20 { animation: sc-pay-k20 12s infinite both; }
.scene.is-live .sc-payment .pay-cash { animation: sc-pay-cash 12s infinite both; }

/* Seats & Courses: the dishes drop into their seat and course one by one. */
@keyframes sc-seat-drop { 0%, 3% { opacity: 0; transform: translateY(-18px); } 8%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
.scene.is-live .sc-seats-courses .seat-dish { animation: sc-seat-drop 11s calc(var(--i) * .7s) infinite both; }

/* Host stand: each booking is drawn along the timeline from its start, one after another. */
@keyframes sc-host-bar { 0%, 2% { opacity: 0; transform: scaleX(0); } 3% { opacity: 1; } 8%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sc-host-label { 0%, 6% { opacity: 0; } 10%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.scene.is-live .sc-host-stand .host-bar { animation: sc-host-bar 13s calc(var(--i) * .5s) infinite both; }
.scene.is-live .sc-host-stand .host-bar > span { animation: sc-host-label 13s calc(var(--i) * .5s) infinite both; }

/* Platforms: Just Eat's Delivery switch is pressed and turns Closed, then is pressed again and opens. */
@keyframes sc-plat-switch {
  0%, 22%, 78%, 100% { border-color: #b1d9bf; background: #effcf3; color: #2c5a2b; transform: none; }
  24% { border-color: #b1d9bf; background: #effcf3; color: #2c5a2b; transform: scale(.97); }
  27%, 73% { border-color: #eab3b3; background: #fdf0f0; color: #9b1c1c; transform: none; }
  75% { border-color: #eab3b3; background: #fdf0f0; color: #9b1c1c; transform: scale(.97); }
}
@keyframes sc-plat-closed { 0%, 25% { opacity: 0; } 27%, 76% { opacity: 1; } 78%, 100% { opacity: 0; } }
.scene.is-live .sc-platforms .plat-toggle.is-flip { animation: sc-plat-switch 10s infinite both; }
.scene.is-live .sc-platforms .plat-closed { animation: sc-plat-closed 10s infinite both; }

/* ——— Calls, customer display and the staff phone ——— */
/* Calls, the customer display and the staff phone (calls.js). */

/* Calls: the call dialog over the dimmed till (incoming-call and call-connected). */
:is(.sc-incoming-call, .sc-call-connected) { --sc-call: #287aa5; --sc-call-ink: #1f2f3a; --sc-call-muted: #66737d; --sc-call-teal: #2e7090; --sc-call-card: #d5dadb; }
.sc-call-connected { --sc-call: #31734d; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-dim { position: absolute; inset: 0; background: rgb(12 30 38 / .66); }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-box { position: absolute; top: 35px; left: 40px; width: 1286px; height: 699px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #a5c9da; border-radius: 6px; background: #fff; color: var(--sc-call-ink); box-shadow: 0 0 0 2px rgb(40 122 165 / .5), 0 20px 50px rgb(0 0 0 / .35); }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-head { display: flex; align-items: center; gap: 13px; height: 92px; flex: none; padding: 0 16px; background: var(--sc-call); color: #fff; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-ring { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgb(255 255 255 / .5); border-radius: 50%; background: rgb(255 255 255 / .14); }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-ring .sc-i { width: 27px; height: 27px; stroke-width: 1.6; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-state { display: grid; font-size: 13px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .92); }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-state span { grid-area: 1 / 1; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-head h4 { margin-top: 4px; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: .01em; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-close { display: grid; place-items: center; width: 76px; height: 43px; margin-left: auto; border: 1px solid rgb(255 255 255 / .55); border-radius: 4px; background: rgb(255 255 255 / .12); font-size: 17px; font-weight: 700; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-who { flex: none; height: 82px; padding: 14px 16px 0; border-bottom: 1px solid #d8dadc; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-who small { display: block; font-size: 15px; line-height: 20px; color: var(--sc-call-muted); }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-who b { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-body { flex: 1; display: grid; grid-template-columns: 931px 1fr; min-height: 0; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-main { padding: 13px 13px 0 15px; border-right: 1px solid #d4d9d9; background: #f6fafb; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-stats > span { height: 68px; padding: 10px 11px; border: 1px solid var(--sc-call-card); border-radius: 4px; background: #fff; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-stats small { display: block; font-size: 12px; line-height: 16px; text-transform: uppercase; color: #56636c; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-stats b { display: block; margin-top: 6px; font-size: 18px; font-weight: 500; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-next { display: grid; margin-top: 10px; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-next > div { grid-area: 1 / 1; border: 1px solid var(--sc-call-card); border-radius: 4px; background: #fff; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-wait { display: flex; align-items: center; gap: 13px; height: 97px; padding: 0 11px; color: var(--sc-call-teal); }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-wait > .sc-i { width: 26px; height: 26px; stroke-width: 1.6; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-wait b { display: block; font-size: 16px; font-weight: 600; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-wait small { display: block; margin-top: 1px; font-size: 13px; color: var(--sc-call-muted); }
.sc-call-connected .sc-call-start { display: grid; grid-template-columns: 1fr 254px 254px; align-items: stretch; gap: 10px; height: 98px; padding: 10px; }
.sc-call-connected .sc-call-start b { align-self: center; font-size: 15px; font-weight: 700; }
.sc-call-connected .sc-call-start span { display: flex; align-items: center; gap: 11px; padding: 0 13px; border: 1px solid #a4b6c2; border-radius: 4px; background: #edf5fc; color: #27505a; font-size: 16px; font-weight: 500; }
.sc-call-connected .sc-call-start .is-deliver { border-color: #a3b8aa; background: #effaf2; }
.sc-call-connected .sc-call-start .sc-i { width: 22px; height: 22px; stroke-width: 1.7; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-history h5 { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 10px 0 11px; border-bottom: 1px solid #e3e3e3; font-size: 15px; font-weight: 700; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-history h5 em { padding: 2px 6px; border-radius: 3px; background: #dff4fb; color: #4a7080; font-size: 12px; font-style: normal; font-weight: 400; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-row { display: flex; align-items: center; gap: 8px; height: 59px; padding: 0 10px; border-bottom: 1px solid #ebebeb; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #dff2f7; color: #3d6577; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-dot .sc-i { width: 17px; height: 17px; stroke-width: 1.6; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-row b { display: block; font-size: 16px; font-weight: 500; }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-row small { display: block; font-size: 13px; color: var(--sc-call-muted); }
:is(.sc-incoming-call, .sc-call-connected) .sc-call-row em { margin-left: auto; padding: 1px 6px 2px; border: 1px solid #9fc6d6; border-radius: 3px; background: #eaf6fb; color: #2a5063; font-size: 12px; font-style: normal; font-weight: 700; }
/* Answered: the ringing state stays underneath for the animation. */
.sc-call-connected .sc-call-state span:first-child, .sc-call-connected .sc-call-wait { opacity: 0; }

/* The customer display: a welcome on the brand gradient and the order beside it. */
.sc-customer-display .sc-cd-welcome { position: absolute; top: 0; bottom: 0; left: 0; width: 902px; background: linear-gradient(150deg, #029bd0 0%, #0b8dbd 50%, #0c6d90 100%); color: #fff; }
.sc-customer-display .sc-cd-welcome img { position: absolute; top: 249px; left: 640px; width: 86px; height: 86px; border-radius: 50%; box-shadow: 0 6px 16px rgb(0 0 0 / .18); }
.sc-customer-display .sc-cd-welcome b { position: absolute; top: 361px; left: 683px; transform: translateX(-50%); font-size: 94px; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; white-space: nowrap; }
.sc-customer-display .sc-cd-welcome span { position: absolute; top: 478px; left: 683px; transform: translateX(-50%); font-size: 29px; line-height: 1.3; color: rgb(255 255 255 / .86); white-space: nowrap; }
.sc-customer-display .sc-cd-order { position: absolute; top: 0; right: 0; bottom: 0; width: 464px; display: flex; flex-direction: column; border-left: 1px solid #cee5f0; background: #fff; color: #1f2937; }
.sc-customer-display .sc-cd-order header { flex: none; height: 92px; padding: 21px 22px 0; border-bottom: 1px solid #dfe3e4; }
.sc-customer-display .sc-cd-order header small { display: block; color: #1874a5; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.sc-customer-display .sc-cd-order h4 { margin-top: 4px; font-size: 22px; font-weight: 700; }
.sc-customer-display .sc-cd-order h4 span { margin-left: 12px; color: var(--sc-muted); font-size: 14px; font-weight: 400; }
.sc-customer-display .sc-cd-order ol { flex: 1; padding: 7px 21px 0 22px; background: #f6fafb; }
.sc-customer-display .sc-cd-order li { display: flex; align-items: center; justify-content: space-between; height: 55px; padding-left: 38px; border-bottom: 1px solid #e6ebec; font-size: 16px; font-weight: 500; white-space: nowrap; }
.sc-customer-display .sc-cd-order li:last-child { border-bottom: 0; }
.sc-customer-display .sc-cd-order li b { font-size: 17px; font-weight: 700; }
.sc-customer-display .sc-cd-sums { position: relative; padding: 0 21px 0 22px; border-top: 1px solid #dae4e3; background: #fff; box-shadow: 0 -10px 14px -10px rgb(15 40 50 / .1); }
.sc-customer-display .sc-cd-sums p { display: flex; align-items: center; justify-content: space-between; }
.sc-customer-display .sc-cd-items { height: 51px; padding-top: 11px; border-bottom: 1px solid #dae4e3; color: var(--sc-muted); font-size: 13px; }
.sc-customer-display .sc-cd-total { height: 63px; padding-bottom: 6px; font-size: 19px; font-weight: 700; }
.sc-customer-display .sc-cd-due { display: flex; align-items: center; justify-content: space-between; height: 67px; padding: 0 21px 0 22px; background: #006b97; color: #fff; font-size: 15px; font-weight: 700; }
.sc-customer-display .sc-cd-due .sc-cd-amt { font-size: 32px; }
.sc-customer-display .sc-cd-amt { display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.sc-customer-display .sc-cd-amt i { grid-area: 1 / 1; font-style: normal; }
.sc-customer-display .sc-cd-amt i:not(.sc-cd-v3) { opacity: 0; }

/* The staff phone: header, tabs, the screen and the order bar. Each screen keeps its own colours. */
:is(.sc-mobile-menu, .sc-mobile-basket) { --ph-text: #0b5a96; --ph-title: #111827; --ph-line: #d9dee5; --ph-soft: #e8f0f9; --ph-on-line: #3f7fb6; --ph-badge: #0a5fa4; --ph-send: #0562ad; --ph-bg: #f3f5f7; }
.sc-mobile-basket { --ph-text: #2c4a5b; --ph-title: #1d3a4a; --ph-line: #d3dbe0; --ph-soft: #e0f3fa; --ph-on-line: #6aa7c4; --ph-badge: #1d4f73; --ph-send: #1f6a9e; --ph-bg: #f2f7fa; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-head { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 12px; border-bottom: 1px solid #e5e7eb; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-back { display: grid; place-items: center; width: 52px; height: 48px; border: 1px solid var(--ph-line); border-radius: 6px; color: var(--ph-text); }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-head small { display: block; color: #4b5563; font-size: 13px; line-height: 15px; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-head small b { color: #374151; font-weight: 700; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-head h4 { margin-top: 5px; color: var(--ph-title); font-size: 19px; font-weight: 700; line-height: 25px; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; height: 61px; padding: 5px 12px 8px; border-bottom: 1px solid #e5e7eb; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-tabs > span { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ph-line); border-radius: 5px; color: var(--ph-text); font-size: 16px; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-tabs > .is-on { border-color: var(--ph-on-line); background: var(--ph-soft); }
.sc-mobile-menu .sc-ph-tabs > .is-on { font-weight: 600; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-tabs em { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ph-badge); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-body { position: absolute; top: 123px; right: 0; bottom: 74px; left: 0; overflow: hidden; padding: 11px 12px 0; background: var(--ph-bg); }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-foot { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 117px 1fr 117px; gap: 8px; height: 74px; padding: 6px 12px 7px; border-top: 1px solid #e3e3e3; background: #fff; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-foot > span { display: grid; place-content: center; justify-items: center; border: 1px solid var(--ph-line); border-radius: 5px; color: var(--ph-text); font-size: 16px; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-foot .sc-ph-sum { font-size: 14px; line-height: 21px; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-sum b { font-size: 15px; font-weight: 700; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-foot .sc-ph-send { border-color: var(--ph-send); background: var(--ph-send); color: #fff; font-weight: 700; white-space: nowrap; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-swap { display: inline-grid; justify-items: center; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-swap i { grid-area: 1 / 1; font-style: normal; }
:is(.sc-mobile-menu, .sc-mobile-basket) .sc-ph-swap i:first-child { opacity: 0; }

/* The phone menu: search, menus, categories and the dishes. */
.sc-mobile-menu .sc-ph-search { display: flex; align-items: center; height: 47px; padding-left: 13px; border: 1px solid #dde1e6; border-radius: 5px; background: #fff; color: #6b7280; font-size: 16px; }
.sc-mobile-menu .sc-ph-pills { display: flex; gap: 9px; height: 47px; margin-top: 11px; overflow: hidden; }
.sc-mobile-menu .sc-ph-pills.is-cats { margin-top: 13px; }
.sc-mobile-menu .sc-ph-pills > span { display: flex; flex: none; align-items: center; padding: 0 14px; border: 1px solid var(--ph-line); border-radius: 5px; background: #fff; color: var(--ph-text); font-size: 16px; font-weight: 600; }
.sc-mobile-menu .sc-ph-pills.is-cats > span:not(.is-on) { font-weight: 400; }
.sc-mobile-menu .sc-ph-pills > .is-on { border-color: var(--ph-on-line); background: var(--ph-soft); }
.sc-mobile-menu .sc-ph-dishes { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 94px; gap: 8px 9px; margin-top: 7px; }
.sc-mobile-menu .sc-ph-dishes > span { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 9px 12px 12px; border: 1px solid #dde1e6; border-radius: 4px; background: #fff; }
.sc-mobile-menu .sc-ph-dishes b { color: var(--ph-text); font-size: 16px; font-weight: 700; line-height: 21px; }
.sc-mobile-menu .sc-ph-dishes small { color: #4b5563; font-size: 14px; }
.sc-mobile-menu .sc-ph-dishes .sc-i { position: absolute; right: 12px; bottom: 12px; width: 20px; height: 20px; color: var(--ph-text); }

/* The phone basket: one card per item, with the short bar the phone shows at each card's right edge. */
.sc-mobile-basket .sc-ph-lines { display: grid; gap: 9px; }
.sc-mobile-basket .sc-ph-lines li { display: flex; align-items: center; height: 49px; padding-left: 12px; border: 1px solid #d6dde1; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px rgb(15 40 50 / .06); color: #1f2f3a; font-size: 16px; white-space: nowrap; }
.sc-mobile-basket .sc-ph-lines b { font-weight: 700; }
.sc-mobile-basket .sc-ph-lines b:first-child { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.sc-mobile-basket .sc-ph-lines i { width: 3px; height: 19px; margin: 0 22px 0 28px; border-radius: 1px; background: #6f7a7d; }

/* Motion. */
/* Incoming call: the dialog arrives over the till, the caller's details fill in and the phone keeps ringing. */
@keyframes sc-call-in { 0%, 3% { opacity: 0; transform: translateY(18px) scale(.985); } 8%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes sc-call-dim { 0%, 3% { opacity: 0; } 8%, 94% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes sc-call-match { 0%, 15% { opacity: 0; transform: translateY(6px); } 20%, 100% { opacity: 1; transform: none; } }
@keyframes sc-call-wiggle { 0%, 40%, 100% { transform: none; } 5%, 15%, 25% { transform: rotate(-13deg); } 10%, 20%, 30% { transform: rotate(13deg); } }
.scene.is-live .sc-incoming-call .sc-call-box { animation: sc-call-in 12s infinite both; }
.scene.is-live .sc-incoming-call .sc-call-dim { animation: sc-call-dim 12s infinite both; }
.scene.is-live .sc-incoming-call .sc-call-who b { animation: sc-call-match 12s infinite both; }
.scene.is-live .sc-incoming-call .sc-call-stats > span { animation: sc-call-match 12s calc(.1s + var(--i) * .1s) infinite both; }
.scene.is-live .sc-incoming-call .sc-call-ring .sc-i { animation: sc-call-wiggle 1.6s infinite; }

/* Call connected: the ringing header turns green, the order options replace the wait and Collection is pressed. */
@keyframes sc-call-answer { 0%, 14%, 100% { background: #287aa5; } 18%, 95% { background: #31734d; } }
@keyframes sc-call-was { 0%, 14%, 100% { opacity: 1; } 18%, 95% { opacity: 0; } }
@keyframes sc-call-now { 0%, 15%, 100% { opacity: 0; transform: translateY(6px); } 20%, 95% { opacity: 1; transform: none; } }
@keyframes sc-call-press { 0%, 50%, 60%, 100% { transform: none; background: #edf5fc; } 53%, 55% { transform: scale(.97); background: #d6e8f8; } }
@keyframes sc-call-ringing { 0%, 2%, 14%, 100% { transform: none; } 4%, 8%, 12% { transform: rotate(-13deg); } 6%, 10% { transform: rotate(13deg); } }
.scene.is-live .sc-call-connected .sc-call-head { animation: sc-call-answer 12s infinite both; }
.scene.is-live .sc-call-connected :is(.sc-call-state span:first-child, .sc-call-wait) { animation: sc-call-was 12s infinite both; }
.scene.is-live .sc-call-connected .sc-call-state span:last-child { animation: sc-call-now 12s infinite both; }
.scene.is-live .sc-call-connected .sc-call-start { animation: sc-call-now 12s .2s infinite both; }
.scene.is-live .sc-call-connected .sc-call-start .is-collect { animation: sc-call-press 12s infinite both; }
.scene.is-live .sc-call-connected .sc-call-ring .sc-i { animation: sc-call-ringing 12s infinite both; }

/* Customer display: each line arrives as it is rung up and the amounts step up with it. */
@keyframes sc-cd-l0 { 0%, 3% { opacity: 0; transform: translateX(16px); } 6%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes sc-cd-l1 { 0%, 11% { opacity: 0; transform: translateX(16px); } 14%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes sc-cd-l2 { 0%, 19% { opacity: 0; transform: translateX(16px); } 22%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes sc-cd-l3 { 0%, 27% { opacity: 0; transform: translateX(16px); } 30%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes sc-cd-v0 { 0%, 3%, 14%, 100% { opacity: 0; } 6%, 11% { opacity: 1; } }
@keyframes sc-cd-v1 { 0%, 11%, 22%, 100% { opacity: 0; } 14%, 19% { opacity: 1; } }
@keyframes sc-cd-v2 { 0%, 19%, 30%, 100% { opacity: 0; } 22%, 27% { opacity: 1; } }
.scene.is-live .sc-customer-display .sc-cd-l0 { animation: sc-cd-l0 12s infinite both; }
.scene.is-live .sc-customer-display .sc-cd-l1 { animation: sc-cd-l1 12s infinite both; }
.scene.is-live .sc-customer-display .sc-cd-l2 { animation: sc-cd-l2 12s infinite both; }
.scene.is-live .sc-customer-display :is(.sc-cd-l3, .sc-cd-v3) { animation: sc-cd-l3 12s infinite both; }
.scene.is-live .sc-customer-display .sc-cd-v0 { animation: sc-cd-v0 12s infinite both; }
.scene.is-live .sc-customer-display .sc-cd-v1 { animation: sc-cd-v1 12s infinite both; }
.scene.is-live .sc-customer-display .sc-cd-v2 { animation: sc-cd-v2 12s infinite both; }

/* Phone menu: Classic Burger is tapped and the basket count goes from three to four. */
@keyframes sc-ph-tap { 0%, 28%, 42%, 100% { transform: none; border-color: #dde1e6; background: #fff; } 31%, 35% { transform: scale(.96); border-color: var(--ph-on-line); background: var(--ph-soft); } }
@keyframes sc-ph-was { 0%, 34% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes sc-ph-now { 0%, 34% { opacity: 0; } 38%, 100% { opacity: 1; } }
@keyframes sc-ph-bump { 0%, 34%, 46%, 100% { transform: none; } 39% { transform: scale(1.3); } }
.scene.is-live .sc-mobile-menu .sc-ph-dishes > .is-hit { animation: sc-ph-tap 10s infinite both; }
.scene.is-live .sc-mobile-menu .sc-ph-swap i:first-child { animation: sc-ph-was 10s infinite both; }
.scene.is-live .sc-mobile-menu .sc-ph-swap i:last-child { animation: sc-ph-now 10s infinite both; }
.scene.is-live .sc-mobile-menu .sc-ph-tabs em { animation: sc-ph-bump 10s infinite both; }

/* Phone basket: the three items arrive, then Send Kitchen is pressed. */
@keyframes sc-ph-line { 0%, 4% { opacity: 0; transform: translateY(10px); } 9%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes sc-ph-send { 0%, 50%, 60%, 100% { transform: none; background: var(--ph-send); } 53%, 55% { transform: scale(.95); background: #154d75; } }
.scene.is-live .sc-mobile-basket .sc-ph-lines li { animation: sc-ph-line 12s calc(var(--i) * .35s) infinite both; }
.scene.is-live .sc-mobile-basket .sc-ph-send { animation: sc-ph-send 12s infinite both; }
