.dish-offer {
  display: block;
  flex-basis: 100%;
  color: var(--navy);
  font-weight: 550;
  overflow-wrap: anywhere;
}
.prep-target {
  border-inline-start: 4px solid var(--navy);
  background: var(--fog);
  padding: 8px 10px;
  font-weight: 650;
}
.prep-target[data-prep-state="soon"] {
  border-color: #866000;
  background: #fff3cf;
  color: #604600;
}
.prep-target[data-prep-state="late"] {
  border-color: #a33139;
  background: #fff0f0;
  color: #862831;
}
.kitchen-tools {
  margin-block: 0 18px;
  border: 1px solid var(--fog);
  border-radius: 8px;
  background: white;
}
.kitchen-tools summary {
  padding: 12px 14px;
  min-height: 44px;
  box-sizing: border-box;
  color: var(--navy);
  font-weight: 750;
  cursor: pointer;
}
.kitchen-tools-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 14px 14px;
}
.card[data-kitchen-rush] {
  border-inline-start: 5px solid var(--navy);
}
.rush-status {
  background: var(--fog);
  border-radius: 6px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
}
.rush-status strong {
  letter-spacing: 0.05em;
}
.balance-mobile-label {
  display: none;
}
button.issues-present {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
  font-weight: 750;
}
.service-issue + .service-issue {
  margin-top: 12px;
}
.service-issue h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}
@media (max-width: 600px) {
  .supplier-balance-orders .table-wrap {
    border: 0;
    overflow: visible;
    background: transparent;
  }
  .supplier-balance-orders table,
  .supplier-balance-orders tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .supplier-balance-orders thead {
    display: none;
  }
  .supplier-balance-orders tr {
    display: block;
    border: 1px solid var(--fog);
    border-radius: 12px;
    padding: 12px;
    margin-block: 12px;
    background: var(--paper);
  }
  .supplier-balance-orders td {
    display: block;
    width: auto;
    border: 0;
    padding: 4px 0;
    white-space: normal;
  }
  .supplier-balance-orders td:first-child {
    font-weight: 700;
  }
  .supplier-balance-orders td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }
  .supplier-balance-orders .balance-mobile-label {
    display: inline;
    font-weight: 600;
  }
}
.time-off-requests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
  margin-block: 12px;
}
.time-off-card {
  border: 1px solid var(--fog);
  border-radius: 12px;
  padding: 16px;
}
.time-off-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.time-off-card dl {
  margin: 12px 0;
}
.time-off-card dt {
  font-weight: 600;
}
.time-off-card dd {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.dish-photo-preview {
  display: block;
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/instrument-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/instrument-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/instrument-sans-latin-700-normal.woff2") format("woff2");
}
/* Shared-payment desk: keep the existing Instrument Sans and navy counter UI.
   A large balance, collected/total columns and a progress rule form one readable
   payment ledger. Existing paper, line and warning colors carry their roles.
   Use static, tabular amounts; keyboard focus and busy/error states stay explicit. */
:root {
  --bill-gap: 16px;
  --bill-amount-size: clamp(1.5rem, 5vw, 2.2rem);
  --bill-radius: 10px;
  --navy: #243a75;
  --ink: #162642;
  --muted: #52637b;
  --paper: #fafbfe;
  --fog: #edf1f8;
  --line: #ced6e4;
  --sun: #ffdf71;
  --white: white;
  --green: #11684b;
  --alert: #923f27;
  font:
    16px/1.5 "Instrument Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
.bill-balance {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--bill-gap);
  padding: 16px;
  margin-block: 16px;
  background: var(--fog);
  border-inline-start: 4px solid var(--navy);
  border-radius: var(--bill-radius);
  font-variant-numeric: tabular-nums;
}
.bill-balance strong { display: block; font-size: var(--bill-amount-size); line-height: 1.1; margin-block: 6px; overflow-wrap: anywhere; }
.bill-balance progress { grid-column: 1 / -1; width: 100%; height: 12px; accent-color: var(--navy); }
.bill-payment-entry { border-block-start: 1px solid var(--line); padding-block: 16px; overflow-wrap: anywhere; }
.bill-payment-entry h4, .bill-payment-entry p { margin-block: 6px; }
.bill-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-block: 12px; }
.bill-actions button { min-height: 44px; }
[data-move-picker] [hidden], [data-move-history] [hidden] { display: none !important; }
.bill-ledger-detail { font-variant-numeric: tabular-nums; }
.bill-receipt-payments { margin-block: 20px; }
.bill-receipt-payments > article { display: block; border-block-start: 1px solid var(--line); padding-block: 12px; }
.bill-receipt-payments h4 { margin-block: 6px; overflow-wrap: anywhere; }
.bill-receipt-payments p { margin-block: 8px; overflow-wrap: anywhere; }
.bill-receipt-payments .pair { gap: 16px; }
.bill-receipt-payments .pair > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .bill-balance { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bill-balance > :first-child { grid-column: 1 / -1; }
  .bill-actions > button { flex: 1 1 150px; }
}
@media (min-width: 900px) {
  .bill-balance { padding: 20px; gap: 20px; }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: var(--navy);
  text-underline-offset: 0.23em;
}
button,
a.button,
a.soft {
  cursor: pointer;
}
button,
.button,
.soft {
  font-weight: 650;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.64rem 0.95rem;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}
button:hover,
.soft:hover {
  background: var(--fog);
}
button:disabled {
  opacity: 0.52;
  cursor: wait;
}
.button,
button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.button:hover,
button.primary:hover {
  background: #354e91;
}
.button span,
.soft span {
  font-size: 1.2em;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #637fca;
  outline-offset: 2px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 790;
  font-size: 1.42rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.065em;
}
.brand img {
  width: 33px;
  height: 33px;
}
.top,
.foot,
.home {
  max-width: 1320px;
  margin: auto;
}
.top,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 76px);
}
.top nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.top nav a:not(.button) {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}
.home {
  padding: 0 clamp(20px, 5vw, 76px);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 5.5%;
  align-items: center;
  min-height: 620px;
  padding: 48px 0 86px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 750;
}
.line {
  width: 28px;
  border-top: 2px solid var(--navy);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.07;
  letter-spacing: -0.055em;
}
.hero h1 {
  font-size: clamp(3.55rem, 6vw, 5.85rem);
  margin: 20px 0;
}
.hero h1 em {
  font:
    italic 1em Georgia,
    serif;
  letter-spacing: -0.08em;
  color: var(--navy);
}
.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
}
.actions,
.row,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.actions {
  margin: 26px 0 0;
}
.scene {
  position: relative;
  margin: 0 0 24px 16px;
}
.food {
  display: block;
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: 18px;
}
.slip {
  position: absolute;
  bottom: -31px;
  left: -22px;
  width: 218px;
  background: #fff8d7;
  box-shadow: 0 12px 30px #171c3325;
  padding: 20px 20px 24px;
  transform: rotate(-4deg);
  font-family: ui-monospace, monospace;
  color: #282b31;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 98%,
    95% 100%,
    90% 98%,
    85% 100%,
    80% 98%,
    75% 100%,
    70% 98%,
    65% 100%,
    60% 98%,
    55% 100%,
    50% 98%,
    45% 100%,
    40% 98%,
    35% 100%,
    30% 98%,
    25% 100%,
    20% 98%,
    15% 100%,
    10% 98%,
    5% 100%,
    0 98%
  );
}
.slip small {
  font-size: 9px;
}
.slip b {
  display: block;
  font-size: 23px;
  margin: 5px 0 10px;
}
.slip div {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 2px 0;
}
.slip .total {
  border-top: 1px dashed #888;
  margin-top: 8px;
  padding-top: 6px;
}
.how,
#pricing {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
}
.home h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin: 12px 0 26px;
}
.how ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.how li {
  position: relative;
  padding: 0 0 20px 42px;
}
.how li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-align: center;
  font-size: 0.85rem;
  line-height: 25px;
}
.how p,
.plans p,
.muted {
  color: var(--muted);
}
.plans,
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.plans article,
.panel,
.card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 22px;
}
.plans article:nth-child(2) {
  background: #edf1fb;
}
.plans strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.045em;
  margin-top: 18px;
}
.plans small {
  font-size: 1rem;
}
.plans p {
  margin: 8px 0 20px;
}
.foot {
  flex-wrap: wrap;
  gap: 16px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.auth {
  max-width: 460px;
  margin: 5vh auto;
  padding: 28px;
}
.auth h1 {
  font-size: 2.2rem;
  margin: 24px 0;
}
.form,
.stack {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 650;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  background: white;
  border: 1px solid #b6c1d2;
  border-radius: 7px;
  padding: 0.6rem 0.7rem;
  color: var(--ink);
}
input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
}
textarea {
  min-height: 74px;
  resize: vertical;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hint,
small,
.empty {
  font-size: 0.84rem;
  color: var(--muted);
}
.empty {
  padding: 20px 0;
}
.auth .hint {
  margin-top: 12px;
}
.shell {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  background: #192c57;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 24px 15px;
  gap: 20px;
}
.rail .brand {
  color: #fff;
  padding-left: 6px;
}
.rail nav {
  display: grid;
  gap: 3px;
}
.rail nav a {
  color: #dce5fa;
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 0.92rem;
}
.rail nav a:hover,
.rail nav a.on {
  background: #344c7f;
  color: white;
}
.rail nav a.on {
  box-shadow: inset 3px 0 var(--sun);
}
.rail .out {
  margin-top: auto;
}
.app {
  min-width: 0;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px clamp(14px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  background: white;
}
.bar select {
  width: auto;
  font-size: 0.83rem;
}
.area {
  padding: clamp(16px, 3vw, 40px);
  max-width: 1600px;
  margin: auto;
}
.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.heading h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}
.heading .kicker {
  margin-bottom: 8px;
}
.register {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(275px, 0.55fr);
  align-items: start;
  gap: 20px;
}
.ticket {
  position: sticky;
  top: 12px;
  border-top: 5px solid var(--sun);
}
.pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 15px;
}
.pills button {
  font-size: 0.78rem;
  border-radius: 20px;
  padding: 0.4rem 0.75rem;
}
.pills button.on {
  background: var(--navy);
  color: white;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 9px;
}
.tile {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  font-weight: 700;
  gap: 8px;
  border-top: 3px solid var(--tint, #cad7f2);
  padding: 13px;
}
.tile small {
  font-size: 0.7rem;
  font-weight: 500;
}
.tile strong {
  font-size: 0.88rem;
  color: var(--navy);
}
.ticket h2,
.panel h2 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.ticket-line,
.pair,
.entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.ticket-line {
  flex-wrap: wrap;
}
.ticket-line > div {
  flex: 1;
  min-width: 0;
}
.ticket-line button,
.mini {
  font-size: 0.78rem;
  padding: 0.3rem 0.5rem;
}
.ticket-line .muted {
  font-size: 0.8rem;
}
.total-row {
  margin: 15px 0;
  font-size: 1.08rem;
}
.ticket .primary {
  width: 100%;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 12px;
}
.card h3 {
  margin: 6px 0 12px;
}
.card p {
  margin: 6px 0;
}
.printer-history {
  grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
  margin-bottom: 16px;
}
.printer-history .card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.printer-history .card button {
  margin-top: 10px;
}
.printer-helper-card,
.printer-workspace {
  overflow-wrap: anywhere;
  min-width: 0;
}
.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
  text-align: left;
}
th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--fog);
  color: var(--muted);
  font-size: 0.76rem;
}
tr:last-child td {
  border: 0;
}
.toolbar {
  margin-bottom: 14px;
}
.toolbar input,
.toolbar select {
  max-width: 290px;
}
.toolbar button {
  font-size: 0.86rem;
}
.section {
  margin-top: 24px;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stat {
  padding: 15px 20px;
  background: var(--fog);
  border-radius: 9px;
}
.stat b {
  display: block;
  font-size: 1.45rem;
}
.notice,
.warn {
  padding: 10px 14px;
  background: #fff5cf;
  border-radius: 7px;
  color: #5b440f;
  font-size: 0.86rem;
}
.notice {
  margin-bottom: 16px;
}
.chip {
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 15px;
  background: var(--fog);
  color: var(--navy);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px;
  width: min(520px, 94vw);
  max-height: 89vh;
  color: var(--ink);
}
dialog.wide {
  width: min(930px, 96vw);
}
dialog::backdrop {
  background: #0f1d3e80;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.modal-head button {
  line-height: 1;
  padding: 0.4rem 0.6rem;
}
.error {
  color: var(--alert);
  font-size: 0.9rem;
}
.danger {
  color: var(--alert);
}
#notice {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 370px;
  background: var(--ink);
  color: #fff;
  border-radius: 9px;
  z-index: 10;
}
#notice:not(:empty) {
  padding: 12px 16px;
}
.guest {
  max-width: 760px;
  margin: auto;
  padding: 60px 22px;
}
.guest h1 {
  font: normal 4rem/1 Georgia;
  margin: 15px 0;
}
.guest section {
  margin: 32px 0;
}
.guest h2 {
  font-size: 1.5rem;
}
.guest article {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.guest footer {
  margin-top: 38px;
}
/* Customer display: a quiet bill ledger. Instrument Sans pairs compact item
   labels with large tabular amounts. Navy marks the unpaid balance; the progress
   rule shows meal payments only. Flat paper and a single inset rail match the
   register. Updates stay still, including when reduced motion is requested. */
.customer-display { --display-space: 24px; --display-amount: clamp(2.75rem, 8vw, 5rem); max-width: 980px; padding: 32px 22px; font-variant-numeric: tabular-nums; }
.customer-display h1 { font: 650 clamp(1.6rem, 4vw, 2.4rem)/1.15 "Instrument Sans", sans-serif; letter-spacing: -0.035em; margin-block: 0 10px; overflow-wrap: anywhere; }
.customer-display > p { margin-block: 8px 24px; }
.customer-display article { gap: 20px; align-items: baseline; }
.customer-display article span { min-width: 0; overflow-wrap: anywhere; }
.customer-display article strong { white-space: nowrap; }
.customer-display .display-total { font: 650 1.5rem/1.3 "Instrument Sans", sans-serif; margin-block: 18px; }
.customer-display .display-balance { margin-block: var(--display-space); padding: var(--display-space); background: var(--fog); border-inline-start: 4px solid var(--navy); }
.customer-display .display-balance h2 { margin: 0; font: inherit; }
.display-balance h2 span { font-size: 0.875rem; font-weight: 650; letter-spacing: 0.02em; }
.display-balance h2 strong { display: block; font-size: var(--display-amount); line-height: 1.1; margin-block: 8px 14px; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.display-balance p { margin-block: 12px; }
.display-balance progress { display: block; width: 100%; height: 12px; accent-color: var(--navy); }
.display-balance [data-balance-status] { font-weight: 650; }
.display-balance[data-unconfirmed="true"] { border-color: #866000; background: #fff3cf; color: #604600; }
@media (max-width: 480px) { .customer-display { --display-space: 18px; padding: 24px 16px; } }
@media (min-width: 900px) { .customer-display .display-balance { margin-inline-start: 22%; } }
.review-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 0.8fr auto;
  gap: 6px;
  align-items: center;
}
.review-grid input {
  padding: 0.4rem;
}
.receipt {
  font:
    14px/1.5 ui-monospace,
    monospace;
}
.navtoggle {
  display: none;
}
.offline {
  background: #fff1cd;
  padding: 8px 15px;
}
.dark {
  filter: invert(0.91) hue-rotate(177deg);
}
.dark img {
  filter: invert(1) hue-rotate(183deg);
}
@media (max-width: 980px) {
  .shell {
    grid-template-columns: 154px minmax(0, 1fr);
  }
  .rail {
    padding: 18px 8px;
  }
  .register {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 10px;
  }
  .ticket,
  .panel {
    padding: 15px;
  }
  .hero {
    min-height: 510px;
  }
  .top nav {
    gap: 18px;
  }
  .tiles {
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  }
}
@media (max-width: 710px) {
  .top,
  .foot {
    padding: 16px 20px;
  }
  .top nav {
    gap: 13px;
  }
  .top a[href="#features"],
  .top a[href="#pricing"] {
    display: none;
  }
  .hero,
  .how,
  .plans,
  .cols {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 36px 0 55px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 3.7rem;
  }
  .scene {
    margin: 0 0 16px 12px;
  }
  .food {
    aspect-ratio: 1.65;
  }
  .slip {
    width: 174px;
    padding: 11px 14px 16px;
    left: -11px;
    bottom: -20px;
  }
  .hero .lede {
    font-size: 1.03rem;
  }
  .how,
  #pricing {
    padding: 32px 0;
  }
  .shell {
    display: block;
  }
  .rail {
    display: none;
  }
  .shell.show .rail {
    display: flex;
  }
  .rail nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .navtoggle {
    display: inline-flex;
  }
  .bar {
    padding: 9px 12px;
    flex-wrap: wrap;
  }
  .bar select {
    max-width: 130px;
  }
  .register {
    grid-template-columns: 1fr;
  }
  .ticket {
    position: static;
  }
  .tiles {
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  }
  .tile {
    min-height: 89px;
  }
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .review-grid input:first-child {
    grid-column: 1/-1;
  }
  .review-grid {
    border-bottom: 1px solid var(--line);
    padding: 6px 0;
  }
  .area {
    padding: 15px;
  }
  .entry {
    flex-wrap: wrap;
  }
  .plans article {
    padding: 20px;
  }
}
@media print {
  body:has(dialog[open]) > *:not(dialog) {
    display: none !important;
  }
  dialog[open] {
    display: block;
    position: static;
    border: none;
    max-height: none;
    width: 100%;
    overflow: visible;
  }
  dialog .modal-head button,
  dialog button {
    display: none !important;
  }
  dialog::backdrop {
    background: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.rail .brand {
  font-size: 1.07rem;
  letter-spacing: -0.055em;
  line-height: 1.05;
}
.rail .brand img {
  flex-shrink: 0;
}
.hero h1 em {
  white-space: nowrap;
}
.receipt small {
  font-size: 0.8rem;
}
.guest.theme-garden {
  --navy: #245844;
  background: #f2f8f1;
}
.guest.theme-night {
  --ink: #f0f5ff;
  --navy: #bbccff;
  background: #202b40;
  color: var(--ink);
}

.site-cover {
  width: 100%;
  aspect-ratio: 2.5;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 24px;
}
.guest.theme-night a.button {
  color: #162642;
}

.source-photos figure {
  margin: 12px 0;
}
.source-photos img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}
.source-photos figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.form [data-undo-scan][hidden],
.form [data-install][hidden],
.form [data-preview][hidden],
[data-hours-review] [hidden],
.auth button[hidden],
#customer-retry[hidden],
#menu-import [hidden],
#catalog-comparison [hidden] {
  display: none;
}
.import-dish {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.import-dish small:empty,
.row-match:empty {
  display: none;
}
.row-match {
  margin-top: 0.35rem;
  font-size: 0.88rem;
}
.row-match label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.row-match input {
  width: auto;
}
.purchase-line,
.purchase-receive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  padding: 0.8rem;
  margin: 0 0 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.purchase-line label:first-child,
.purchase-receive label {
  grid-column: 1 / -1;
}
.purchase-line button {
  justify-self: start;
}
.website-sections {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
}
.website-sections ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.website-sections li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.4rem 0;
}
.website-sections li label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}
.website-sections input {
  width: auto;
}
.dish-choices {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0.5rem 0;
  padding: 0.65rem 0.85rem;
}
.dish-choices legend {
  font-weight: 650;
}
.dish-choices .hint {
  margin: 0 0 0.3rem;
}

.floor-room {
  margin-block: 1rem 1.5rem;
}
.floor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  background: var(--paper, #f3f3ed);
  border: 1px solid #d1d6ce;
  border-radius: 0.6rem;
  padding: 0.55rem;
}
.floor-table,
.floor-editor button {
  min-width: 0;
  min-height: 3.5rem;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.floor-table {
  display: grid;
  align-content: center;
  justify-items: start;
  text-align: left;
  gap: 0.2rem;
  background: white;
  border-left: 4px solid #53886a;
}
.floor-table.occupied {
  border-left-color: #b25a41;
  background: #fff5ed;
}
.floor-table.reserved {
  border-left-color: #aa8521;
  background: #fffae9;
}
.floor-table small,
.floor-table span {
  font-size: 0.8rem;
}
.floor-editor .empty-slot {
  background: transparent;
  border: 1px dashed #89968d;
}
.floor-editor .selected {
  outline: 2px solid #315b43;
  background: #e0f2e3;
}
.floor-section .toolbar h2 {
  margin: 0 auto 0 0;
}
@media (max-width: 540px) {
  .floor-grid {
    padding: 0.25rem;
    gap: 0.25rem;
  }
  .floor-table,
  .floor-editor button {
    padding: 0.35rem;
  }
  .floor-table small,
  .floor-table span {
    font-size: 0.72rem;
  }
}

.menu-qr {
  text-align: center;
}

.receipt-review {
  display: grid;
  justify-items: center;
  margin-top: 1rem;
  text-align: center;
  break-inside: avoid;
}
.receipt-review svg {
  width: 36mm;
  height: 36mm;
  background: white;
}
.review-card svg {
  width: min(60mm, 100%);
  height: auto;
  background: white;
}
@media print {
  dialog .receipt-actions,
  dialog:has(.review-card) .modal-head {
    display: none;
  }
}

.illustrated-reader .mark-photo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 66vh;
  touch-action: none;
  cursor: crosshair;
}
.illustrated-reader .area-buttons [aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--fog);
}
.illustrated-reader fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.illustrated-reader fieldset canvas {
  display: block;
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  margin-block: 4px;
}

.hour-period {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
[data-schedule] [data-weekday],
[data-schedule] [data-exception] {
  margin-block: 0.75rem;
}

.stock-print {
  overflow-x: auto;
  padding: 0.5rem 0;
}
.stock-print-page {
  --sticker-w: 60mm;
  --sticker-h: 30mm;
  background: white;
  color: #111;
  display: grid;
  align-content: start;
  justify-content: center;
  grid-template-columns: repeat(3, var(--sticker-w));
  grid-template-rows: repeat(8, var(--sticker-h));
  gap: 2mm;
  width: max-content;
  margin: 0 auto 10px;
  padding: 5mm;
}
.stock-print-page.roll58,
.stock-print-page.roll80 {
  grid-template: var(--sticker-h) / var(--sticker-w);
  padding: 1mm;
  gap: 0;
}
.stock-print-page.roll58 {
  --sticker-w: 56mm;
  --sticker-h: 38mm;
}
.stock-print-page.roll80 {
  --sticker-w: 78mm;
  --sticker-h: 48mm;
}
.stock-sticker {
  box-sizing: border-box;
  width: var(--sticker-w);
  height: var(--sticker-h);
  overflow: hidden;
  border: 0.2mm dashed #bdc2c7;
  padding: 1mm 2mm;
  display: grid;
  align-items: center;
  grid-template-rows: minmax(0, 1.5fr) minmax(0, 2.8fr) minmax(
      0,
      0.85fr
    ) minmax(0, 1fr);
  font:
    8pt/1.05 Arial,
    sans-serif;
  text-align: center;
}
.stock-sticker strong,
.stock-sticker b,
.stock-sticker small {
  color: #111;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  line-height: 1.05;
}
.stock-sticker strong {
  font-size: 9pt;
  max-height: 2.1em;
}
.stock-sticker b {
  font-size: 8pt;
}
.stock-sticker small {
  font-size: 6.5pt;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sticker-symbol,
.sticker-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.stock-sticker.qr {
  grid-template-columns: 22mm minmax(0, 1fr);
  grid-template-rows: 1fr 1fr 1fr;
  column-gap: 1mm;
  text-align: left;
}
.stock-sticker.qr .sticker-symbol {
  grid-column: 1;
  grid-row: 1/4;
  width: 22mm;
  height: 22mm;
}
.stock-sticker.qr strong,
.stock-sticker.qr small,
.stock-sticker.qr b {
  grid-column: 2;
}
@media print {
  html:has(dialog[open] .stock-print),
  body:has(dialog[open] .stock-print),
  dialog[open]:has(.stock-print) {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    max-width: none !important;
    max-height: none !important;
    width: 100%;
    overflow: visible;
    background: white;
  }
  dialog:has(.stock-print) .modal-head,
  .stock-print-controls {
    display: none !important;
  }
  .stock-print {
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .stock-print-page {
    margin: 0;
    padding: 10mm 0;
    break-after: page;
    break-inside: avoid;
  }
  .stock-print-page:last-child {
    break-after: auto;
  }
  .stock-print-page.a4 {
    width: 210mm;
  }
  .stock-print-page.letter {
    width: 215.9mm;
  }
  .stock-print-page.roll58 {
    width: 58mm;
  }
  .stock-print-page.roll80 {
    width: 80mm;
  }
  .stock-sticker {
    border-color: transparent;
  }
}

.slip-controls {
  margin: 1rem 0;
}
.slip-controls label {
  max-width: 14rem;
}
.slip-controls small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}
.slip-controls :empty {
  display: none;
}

@page thermal-slip {
  margin: 2mm;
}
@media print {
  dialog[open]:has(.receipt[data-paper]) > :not(.receipt, .modal-head),
  dialog[open]:has(.receipt[data-paper]) .modal-head button {
    display: none !important;
  }
  html:has(dialog[open] .receipt[data-paper]),
  body:has(dialog[open] .receipt[data-paper]) {
    background: white;
    filter: none;
  }
  dialog[open]:has(.receipt[data-paper]) {
    margin: 0;
    padding: 0;
    inset: auto;
    border: 0;
    border-radius: 0;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    overflow: visible;
    color: black;
    background: white;
  }
  body:has(dialog[open] .receipt:is([data-paper="58"], [data-paper="80"])) {
    page: thermal-slip;
  }
  dialog[open]:has(.receipt[data-paper="58"]) {
    width: 48mm;
    max-width: 100%;
  }
  dialog[open]:has(.receipt[data-paper="80"]) {
    width: 72mm;
    max-width: 100%;
  }
  dialog:has(.receipt[data-paper]) .modal-head {
    display: block;
    margin: 0 0 2mm;
  }
  dialog:has(.receipt[data-paper]) .modal-head h2 {
    margin: 0;
    font: bold 13pt/1.2 sans-serif;
  }
  .receipt[data-paper] {
    color: black;
    overflow-wrap: anywhere;
  }
  .receipt:is([data-paper="58"], [data-paper="80"]) {
    font: 10pt/1.3 monospace;
  }
  .receipt[data-paper] :is(h2, h3, p) {
    margin: 1.5mm 0;
  }
  .receipt[data-paper] .pair {
    align-items: baseline;
    gap: 2mm;
    padding: 1mm 0;
    break-inside: avoid;
  }
  .receipt[data-paper] .pair span {
    flex: 1;
    min-width: 0;
  }
  .receipt[data-paper] .pair b {
    flex-shrink: 0;
  }
  .receipt[data-paper] p {
    break-inside: avoid;
  }
  .prep-list[data-paper] ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .prep-list[data-paper] li {
    padding: 1.5mm 0;
    border-top: 0.2mm solid black;
    break-inside: avoid;
  }
  .receipt[data-paper] .receipt-review a {
    color: black;
  }
}

.label-scanner video {
  display: block;
  width: 100%;
  max-height: 42vh;
  object-fit: contain;
  background: #111;
}
.label-scanner [hidden] {
  display: none;
}
.label-scanner .row {
  align-items: end;
  margin: 0.6rem 0;
}
.label-scanner input {
  max-width: 100%;
}

.change-value {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 28rem;
  min-width: 6rem;
}

.setup-cards {
  align-items: stretch;
}
.setup-cards .panel {
  display: flex;
  flex-direction: column;
}
.setup-cards .actions {
  margin-top: auto;
  flex-wrap: wrap;
}
.setup-cards .setup-status {
  font-weight: 600;
  margin: 0;
}

.station-print-desk [hidden] { display: none; }

[data-station-print-host] > .station-print-desk { border: 1px solid var(--line, #ccc); border-radius: 8px; padding: 12px; margin-block: 12px; }

@media screen {
  [data-kitchen-size="large"] { --ticket-text: 1.3rem; --ticket-width: 19rem; }
  [data-kitchen-size="extra"] { --ticket-text: 1.65rem; --ticket-width: 23rem; }
  [data-kitchen-size]:is([data-kitchen-size="large"], [data-kitchen-size="extra"]) .cards {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ticket-width)), 1fr));
  }
  [data-kitchen-size] :is(.card, [aria-label="Prep summary"]) {
    font-size: var(--ticket-text);
    overflow-wrap: anywhere;
  }
  [data-kitchen-size]:is([data-kitchen-size="large"], [data-kitchen-size="extra"]) .card :is(button, small) {
    font-size: 0.9em;
    line-height: 1.35;
  }
}

.menu-photo-frame {
  max-height: 55vh;
  max-width: 100%;
  overflow: auto;
}
.menu-photo-frame img {
  display: block;
  max-width: 100%;
  height: auto;
}
.menu-photo-frame.full-size img {
  max-width: none;
  width: auto;
}
.menu-source-page { min-width: 0; }

.receipt-email-body { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 20rem; overflow: auto; font: inherit; background: var(--paper, #f5f5f5); color: #172033; padding: 16px; border-radius: 8px; }
.receipt-email-address { overflow-wrap: anywhere; }
.receipt-email-card { margin-block: 12px; }
