:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --card: #fffdf8;
  --ink: #292c27;
  --muted: #62665d;
  --line: #d6d7cb;
  --accent: #b6472b;
  --green: #455745;
  --pale: #e6eadd;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
header {
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px max(5vw, 22px);
  background: var(--paper);
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 13px;
}
.brandmark {
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  font:
    italic bold 27px Georgia,
    serif;
}
.brand strong {
  display: block;
  letter-spacing: -0.04em;
  font-size: 24px;
}
.brand small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-actions a {
  font-size: 12px;
}
.tag {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 25px;
  white-space: nowrap;
}
.pilot-strip {
  padding: 10px 5vw;
  background: #ece3d5;
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
}
.shell {
  width: min(1270px, 90%);
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  padding: 52px 0 40px;
  gap: 40px;
  align-items: end;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 18px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.065em;
  line-height: 1.02;
  margin: 0;
}
.hero p {
  max-width: 460px;
  line-height: 1.7;
  color: var(--muted);
  margin: 20px 0 0;
}
.table-card {
  border: 1px solid var(--ink);
  padding: 25px;
  background: var(--pale);
}
.table-card h2 {
  font:
    36px Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}
.table-card p {
  font-size: 13px;
  margin: 0 0 17px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--card);
  padding: 12px 17px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  min-height: 42px;
}
.button:hover {
  background: var(--green);
}
.button.secondary {
  color: var(--ink);
  background: transparent;
}
.button.secondary:hover {
  background: var(--pale);
}
.button.accent {
  background: var(--accent);
  border-color: var(--accent);
}
.button.danger {
  background: transparent;
  color: #a12c20;
  border-color: #dba69b;
}
.button.small {
  padding: 8px 12px;
  min-height: 36px;
  font-size: 12px;
}
.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
  margin-bottom: 65px;
}
.menu-tools {
  border-top: 1px solid var(--ink);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.menu-tools h2,
.section-title {
  font:
    30px Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 0;
}
.search {
  width: 210px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  background: var(--card);
  color: var(--ink);
}
.menu-tools label {
  width: 210px;
  max-width: 50%;
}
.menu-tools label .search {
  width: 100%;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.pill {
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 30px;
  background: transparent;
  font-size: 12px;
}
.pill[aria-pressed="true"] {
  background: var(--ink);
  color: var(--card);
  border-color: var(--ink);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.dish {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 23px;
  display: flex;
  flex-direction: column;
  min-height: 195px;
  border-radius: 5px;
}
.dish-category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 15px;
}
.dish h3 {
  font:
    24px Georgia,
    serif;
  margin: 0 0 9px;
  letter-spacing: -0.025em;
}
.dish p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
  flex: 1;
}
.dish-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price {
  font-weight: 600;
  font-size: 15px;
}
.add {
  width: 66px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
}
.add:hover {
  background: var(--pale);
}
.add:disabled {
  cursor: default;
}
.add.needs-qr {
  width: auto;
  min-width: 76px;
  padding-inline: 9px;
}
.menu-access-note {
  margin: 14px 0 18px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  background: var(--card);
  line-height: 1.5;
  font-size: 13px;
}
.basket {
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--card);
  position: sticky;
  top: 24px;
  overflow: hidden;
}
.basket-head {
  border-bottom: 1px solid var(--ink);
  padding: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.basket-head h2 {
  font:
    26px Georgia,
    serif;
  margin: 0;
  letter-spacing: -0.04em;
}
.basket-content {
  padding: 21px;
}
.empty {
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
  padding: 16px 0;
}
.basket-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.basket-item strong {
  font-size: 13px;
}
.basket-item .item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 13px;
}
.quantity button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 3px;
}
.field {
  display: block;
  font-size: 12px;
  margin: 17px 0 7px;
  font-weight: 600;
}
textarea,
.input,
select {
  display: block;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  font-size: 13px;
  min-height: 72px;
}
.total {
  display: flex;
  justify-content: space-between;
  margin: 22px 0 16px;
  font-size: 17px;
}
.full {
  width: 100%;
}
.fine {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.orders-section {
  border-top: 1px solid var(--ink);
  padding: 28px 0 50px;
}
.order-mini {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.order-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.status {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 20px;
  background: var(--pale);
  color: var(--green);
  font-weight: bold;
  text-transform: capitalize;
}
.status.pending {
  background: #f7e1c4;
  color: #7a4510;
}
.status.cancelled {
  background: #f4d9d3;
  color: #9b3725;
}
.progress {
  display: flex;
  gap: 6px;
  margin: 16px 0 8px;
}
.progress span {
  height: 4px;
  background: var(--line);
  flex: 1;
}
.progress .done {
  background: var(--green);
}
footer {
  border-top: 1px solid var(--ink);
  padding: 25px 5vw;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.login {
  max-width: 450px;
  margin: 75px auto;
  padding: 38px;
  border: 1px solid var(--ink);
  background: var(--card);
}
.login h1 {
  font:
    38px Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
.login p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.login button {
  margin-top: 20px;
}
.ops-heading {
  padding: 35px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.ops-heading h1 {
  font:
    46px Georgia,
    serif;
  letter-spacing: -0.05em;
  margin: 0 0 10px;
}
.ops-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.live {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.live:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}
.live.offline:before {
  background: var(--accent);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 30px;
  background: var(--card);
}
.metric {
  padding: 20px;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.metric strong {
  font:
    32px Georgia,
    serif;
}
.tabs {
  display: flex;
  gap: 24px;
  overflow: auto;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 25px;
}
.tabs button {
  padding: 12px 0;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.toolbar h2 {
  font:
    27px Georgia,
    serif;
  margin: 0;
}
.order-grid,
.tables-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 40px;
}
.ticket,
.table-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 22px;
}
.ticket.pending {
  border-top: 3px solid var(--accent);
}
.ticket.linked-order {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.ticket h3,
.table-tile h3 {
  font:
    25px Georgia,
    serif;
  margin: 0;
}
.ticket .time {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 20px;
}
.ticket ul {
  list-style: none;
  padding: 0;
  line-height: 1.7;
  font-size: 14px;
}
.ticket .note {
  background: var(--pale);
  padding: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.ticket-total {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.table-tile p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.table-tile .bill {
  font:
    30px Georgia,
    serif;
  margin: 18px 0;
}
.menu-admin {
  width: 100%;
  min-width: 710px;
  border-collapse: collapse;
  background: var(--card);
  margin-bottom: 45px;
}
.menu-toolbar {
  align-items: center;
}
.menu-toolbar .fine {
  margin: 8px 0 0;
}
.menu-toolbar .button {
  flex-shrink: 0;
}
.menu-admin-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.menu-admin th,
.menu-admin td {
  text-align: left;
  padding: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.menu-admin th {
  font-size: 11px;
  color: var(--muted);
}
.guide {
  max-width: 850px;
  margin: 0 0 40px;
  line-height: 1.8;
}
.guide h2 {
  font:
    30px Georgia,
    serif;
}
.guide ol {
  padding-left: 22px;
}
.guide li {
  margin-bottom: 12px;
}
.guide .callout {
  background: var(--pale);
  padding: 22px;
}
.guide p {
  font-size: 14px;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  background: var(--ink);
  color: var(--card);
  border-radius: 5px;
  z-index: 50;
  max-width: 90%;
  font-size: 13px;
  box-shadow: 0 4px 20px #0002;
  display: none;
}
dialog {
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 30px;
  width: min(450px, 92vw);
  background: var(--card);
  color: var(--ink);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
dialog::backdrop {
  background: #141c1999;
}
dialog h2 {
  font:
    30px Georgia,
    serif;
  margin: 0 0 16px;
}
dialog p {
  font-size: 13px;
  line-height: 1.6;
}
dialog img {
  display: block;
  width: 240px;
  max-width: 100%;
  margin: 20px auto;
}
dialog .button {
  margin-top: 10px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  padding: 7px 0;
}
.error-panel {
  border: 1px solid var(--accent);
  background: #faeee3;
  padding: 18px;
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0;
}
.hidden {
  display: none !important;
}
.mobile-cart {
  display: none;
}
.table-selector-link {
  word-break: break-all;
  font-size: 11px;
}
.loading {
  padding: 80px 5vw;
  font:
    24px Georgia,
    serif;
}
@media (max-width: 1050px) {
  .menu-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
  }
  .dish {
    padding: 18px;
  }
  .order-grid,
  .tables-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  header {
    padding: 16px 5vw;
  }
  .brand strong {
    font-size: 20px;
  }
  .brandmark {
    width: 43px;
    height: 43px;
    font-size: 23px;
  }
  .brand small {
    font-size: 9px;
  }
  .header-actions {
    gap: 9px;
  }
  .header-actions a {
    font-size: 11px;
  }
  .header-actions .tag {
    display: none;
  }
  .hero {
    padding: 35px 0 28px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero p {
    font-size: 13px;
  }
  .table-card {
    padding: 20px;
  }
  .table-card h2 {
    font-size: 28px;
  }
  .table-card p {
    margin-bottom: 0;
  }
  .menu-layout {
    grid-template-columns: 1fr;
  }
  .basket {
    position: static;
    margin-top: 10px;
  }
  .menu-grid {
    gap: 11px;
  }
  .dish {
    min-height: 210px;
    padding: 16px;
  }
  .dish h3 {
    font-size: 22px;
  }
  .dish p {
    font-size: 12px;
  }
  .menu-tools {
    align-items: center;
  }
  .menu-tools h2 {
    font-size: 27px;
  }
  .search {
    width: 46%;
    font-size: 12px;
  }
  .menu-tools label {
    width: 46%;
    max-width: none;
  }
  .categories {
    gap: 6px;
  }
  .pill {
    font-size: 11px;
    padding: 9px 10px;
  }
  .ops-heading h1 {
    font-size: 36px;
  }
  .ops-heading {
    align-items: start;
  }
  .ops-heading .button {
    font-size: 11px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric {
    border-bottom: 1px solid var(--line);
    padding: 16px;
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(3) {
    border-bottom: 0;
  }
  .metric strong {
    font-size: 28px;
  }
  .tabs {
    gap: 23px;
  }
  .order-grid,
  .tables-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    align-items: start;
  }
  .menu-toolbar {
    align-items: start;
    flex-wrap: wrap;
  }
  .toolbar h2 {
    font-size: 24px;
  }
  .menu-admin th,
  .menu-admin td {
    padding: 12px 8px;
    font-size: 12px;
  }
  .login {
    width: 90%;
    padding: 25px;
    margin: 40px auto;
  }
  .header-actions .live {
    display: none;
  }
  footer {
    flex-direction: column;
  }
  .mobile-cart {
    display: flex;
    position: fixed;
    bottom: 16px;
    right: 5vw;
    z-index: 20;
    box-shadow: 0 5px 20px #0003;
  }
  .basket:target {
    scroll-margin-top: 20px;
  }
  .ops-heading p {
    font-size: 12px;
  }
  .table-selector-link {
    font-size: 10px;
  }
}
@media (pointer: coarse) {
  .add,
  .pill,
  .tabs button {
    min-height: 44px;
  }
  .quantity button {
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 380px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 49px;
  }
  .brandmark {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
.staff-alerts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  margin: 20px 0;
  border: 1px solid var(--line, #d9d4c9);
  border-radius: 12px;
  background: #fffdf7;
}
.staff-alerts > div:first-child {
  flex: 1 1 280px;
}
.staff-alerts p {
  margin: 6px 0 0;
}
.staff-alerts + .staff-alerts {
  margin-top: -10px;
}
@media print {
  .staff-alerts,
  header,
  .pilot-strip,
  footer,
  .tabs,
  .ops-heading,
  .metrics,
  .toolbar,
  #notice,
  .button {
    display: none !important;
  }
  body {
    background: white;
  }
  dialog[open] {
    position: static;
    width: 100%;
    border: 0;
  }
  dialog::backdrop {
    background: white;
  }
  body:has(dialog[open]) #app {
    display: none;
  }
  dialog img {
    width: 200px;
  }
}
