@import "tailwindcss";

:root {
  --ink: #1f2a27;
  --muted: #71807b;
  --line: #e8ebe7;
  --paper: #f4f6f3;
  --white: #ffffff;
  --green: #174d40;
  --green-2: #246756;
  --coral: #d66f53;
  --gold: #d9a342;
  --shadow: 0 16px 42px rgba(31, 46, 41, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-accent, #d66f53) 38%, transparent);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.restaurant-demo {
  min-height: 100vh;
}

.restaurant-demo.font-classic .guest-page,
.restaurant-demo.font-classic .language-screen,
.restaurant-demo.font-classic .brand-preview {
  font-family: Georgia, "Times New Roman", serif;
}

.restaurant-demo.font-soft .guest-page,
.restaurant-demo.font-soft .language-screen,
.restaurant-demo.font-soft .brand-preview {
  font-family: "Trebuchet MS", var(--font-geist-sans), sans-serif;
}

.prototype-bar {
  align-items: center;
  background: #132f29;
  color: #fff;
  display: flex;
  height: 46px;
  justify-content: space-between;
  left: 0;
  padding: 0 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 80;
}

.prototype-label {
  align-items: center;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.02em;
}

.prototype-dot,
.live-dot {
  background: #5cd6a9;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(92, 214, 169, 0.14);
  display: inline-block;
  height: 7px;
  width: 7px;
}

.surface-switcher {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  padding: 3px;
}

.surface-switcher button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
  min-height: 30px;
  padding: 0 13px;
}

.surface-switcher button.active {
  background: #fff;
  color: #173f35;
}

.count-pill {
  align-items: center;
  background: var(--coral);
  border-radius: 20px;
  color: #fff;
  display: inline-flex;
  font-size: 9px;
  height: 17px;
  justify-content: center;
  margin-left: 4px;
  min-width: 17px;
}

.eyebrow {
  color: var(--green-2);
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.primary-button,
.secondary-button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  gap: 9px;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
}

.primary-button {
  background: var(--green);
  border: 1px solid var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 77, 64, 0.17);
}

.primary-button:hover {
  background: #103f34;
}

.secondary-button {
  background: #fff;
  border: 1px solid #dfe5e1;
  color: #33413d;
}

.secondary-button:hover {
  border-color: #bfcac5;
  background: #fbfcfb;
}

a.secondary-button {
  text-decoration: none;
}

.primary-button.wide,
.secondary-button.wide {
  width: 100%;
}

.button-group {
  display: flex;
  gap: 9px;
}

.global-toast {
  align-items: center;
  animation: toast-in 0.25s ease-out;
  background: #173f35;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  bottom: 24px;
  box-shadow: 0 18px 48px rgba(17, 40, 34, 0.28);
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 650;
  gap: 9px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 13px 17px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 200;
}

.global-toast span {
  align-items: center;
  background: #5cd6a9;
  border-radius: 50%;
  color: #173f35;
  display: inline-flex;
  height: 20px;
  justify-content: center;
  width: 20px;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Login */

.login-screen {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
}

.login-story {
  background:
    radial-gradient(circle at 75% 22%, rgba(221, 169, 79, 0.18), transparent 27%),
    radial-gradient(circle at 14% 84%, rgba(215, 122, 91, 0.17), transparent 30%),
    #174d40;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(48px, 8vw, 120px);
  position: relative;
}

.login-story::after {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  height: 540px;
  position: absolute;
  right: -320px;
  top: -180px;
  width: 540px;
}

.platform-mark {
  align-items: center;
  background: var(--green);
  border-radius: 12px 12px 12px 3px;
  color: #fff;
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
  height: 42px;
  justify-content: center;
  margin-bottom: 26px;
  width: 42px;
}

.platform-mark.light {
  background: #fff;
  color: var(--green);
}

.light-text {
  color: #dbb96e;
}

.login-story h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 10px 0 22px;
}

.login-lead {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.65;
  max-width: 490px;
}

.login-proof {
  display: grid;
  gap: 18px;
  margin-top: 55px;
  max-width: 470px;
}

.login-proof > span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #dbb96e;
  display: flex;
  font-size: 9px;
  height: 34px;
  justify-content: center;
  position: absolute;
  width: 34px;
}

.login-proof p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 0 50px;
}

.login-proof strong {
  color: #fff;
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.login-form-wrap {
  align-items: center;
  background: #f8faf7;
  display: flex;
  justify-content: center;
  padding: 40px;
}

.login-card {
  max-width: 410px;
  width: 100%;
}

.login-card h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 9px;
}

.login-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 30px;
}

.login-card > label,
.form-grid label,
.style-options label {
  color: #37433f;
  display: grid;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 17px;
}

.login-card input,
.form-grid input,
.form-grid select,
.form-grid textarea,
.style-options select {
  background: #fff;
  border: 1px solid #dfe5e1;
  border-radius: 10px;
  min-height: 46px;
  padding: 0 13px;
}

.form-grid textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.form-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 2px 0 20px;
}

.checkbox-label {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 8px;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
}

.demo-note {
  align-items: center;
  background: #edf5f0;
  border-radius: 10px;
  color: #53645e;
  display: flex;
  font-size: 10px;
  gap: 9px;
  line-height: 1.4;
  margin-top: 18px;
  padding: 11px 13px;
}

.demo-note span {
  background: var(--green);
  border-radius: 20px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  text-transform: uppercase;
}

/* Admin shell */

.admin-shell {
  background: #f3f5f2;
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  min-height: calc(100vh - 46px);
  padding-top: 46px;
}

.admin-sidebar {
  background: #153e35;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 46px);
  padding: 22px 16px 16px;
  position: sticky;
  top: 46px;
}

.admin-logo {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 0 8px 24px;
}

.admin-logo > span,
.mobile-brand > span {
  align-items: center;
  background: #fff;
  border-radius: 10px 10px 10px 3px;
  color: var(--green);
  display: flex;
  font-family: Georgia, serif;
  font-style: italic;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.admin-logo strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 16px;
}

.admin-logo small {
  color: rgba(255, 255, 255, 0.46);
  display: block;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.15em;
  margin-top: 2px;
  text-transform: uppercase;
}

.restaurant-switch-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 9px 7px;
  text-transform: uppercase;
}

.restaurant-switch {
  align-items: center;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  display: flex;
  gap: 10px;
  margin-bottom: 21px;
  padding: 10px;
}

.restaurant-avatar {
  align-items: center;
  background: #d5a65b;
  border-radius: 9px;
  color: #173f35;
  display: flex;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.restaurant-switch label {
  min-width: 0;
  position: relative;
}

.restaurant-switch label > span,
.restaurant-switch small {
  display: block;
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-switch label > span {
  font-size: 11px;
  font-weight: 750;
}

.restaurant-switch small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  margin-top: 3px;
}

.restaurant-switch select {
  cursor: pointer;
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.admin-nav {
  display: grid;
  gap: 4px;
}

.admin-nav button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  font-size: 11px;
  font-weight: 650;
  gap: 11px;
  min-height: 41px;
  padding: 0 11px;
  text-align: left;
  width: 100%;
}

.admin-nav button:hover,
.admin-nav button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-nav button > span {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.admin-nav button b {
  align-items: center;
  background: var(--coral);
  border-radius: 20px;
  display: flex;
  font-size: 8px;
  height: 18px;
  justify-content: center;
  margin-left: auto;
  min-width: 18px;
}

.admin-nav button i {
  background: rgba(92, 214, 169, 0.14);
  border-radius: 20px;
  color: #7ee7c0;
  font-size: 7px;
  font-style: normal;
  margin-left: auto;
  padding: 4px 7px;
  text-transform: uppercase;
}

.sidebar-promo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-top: auto;
  padding: 13px;
}

.sidebar-promo > span {
  color: #e2b765;
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.sidebar-promo strong {
  font-size: 10px;
}

.sidebar-promo p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  line-height: 1.45;
  margin: 4px 0 10px;
}

.sidebar-promo button {
  background: transparent;
  border: 0;
  color: #ddbb75;
  font-size: 8px;
  font-weight: 750;
  padding: 0;
}

.user-card {
  align-items: center;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  gap: 9px;
  margin-top: 16px;
  padding: 15px 6px 0;
  text-align: left;
  width: 100%;
}

.user-card > span {
  align-items: center;
  background: #e6c186;
  border-radius: 50%;
  color: #173f35;
  display: flex;
  font-size: 9px;
  font-weight: 800;
  height: 31px;
  justify-content: center;
  width: 31px;
}

.user-card p {
  margin: 0;
}

.user-card strong,
.user-card small {
  display: block;
}

.user-card strong {
  font-size: 9px;
}

.user-card small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
  margin-top: 2px;
}

.user-card i {
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
  font-style: normal;
  margin-left: auto;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 62px;
  justify-content: flex-end;
  padding: 0 clamp(20px, 3.2vw, 48px);
  position: sticky;
  top: 46px;
  z-index: 30;
}

.mobile-brand {
  align-items: center;
  display: none;
  font-family: Georgia, serif;
  font-weight: 700;
  gap: 9px;
}

.mobile-brand > span {
  background: var(--green);
  color: #fff;
  height: 30px;
  width: 30px;
}

.topbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.icon-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 17px;
  height: 39px;
  position: relative;
  width: 39px;
}

.icon-button i {
  background: var(--coral);
  border: 2px solid #fff;
  border-radius: 50%;
  height: 7px;
  position: absolute;
  right: 7px;
  top: 7px;
  width: 7px;
}

.admin-content {
  margin: 0 auto;
  max-width: 1480px;
  padding: 32px clamp(20px, 3.2vw, 48px) 54px;
}

.page-heading {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 27px;
}

.page-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}

.page-heading > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 11px;
  margin: 8px 0 0;
}

.metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 19px;
}

.metric-grid article {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  gap: 12px;
  min-height: 112px;
  padding: 16px;
  position: relative;
}

.metric-icon {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 16px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.metric-icon.green { background: #e9f3ef; color: var(--green); }
.metric-icon.coral { background: #fff0eb; color: var(--coral); }
.metric-icon.gold { background: #fbf3de; color: #a87921; }
.metric-icon.blue { background: #eaf1f6; color: #477493; }

.metric-grid small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 650;
  margin-bottom: 4px;
}

.metric-grid strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.metric-grid p {
  color: #8a9692;
  font-size: 8px;
  margin: 5px 0 0;
}

.metric-grid p b {
  color: #4b5f58;
}

.metric-trend,
.metric-grid article > button {
  background: transparent;
  border: 0;
  bottom: 14px;
  color: var(--green-2);
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
  padding: 0;
  position: absolute;
  right: 14px;
}

.metric-trend {
  background: #eaf5f1;
  border-radius: 20px;
  padding: 4px 7px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.overview-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.35fr 0.85fr;
}

.panel-heading {
  align-items: flex-start;
  border-bottom: 1px solid #edf0ed;
  display: flex;
  justify-content: space-between;
  padding: 17px 20px;
}

.panel-heading h2 {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.panel-heading p {
  color: var(--muted);
  font-size: 8px;
  margin: 4px 0 0;
}

.panel-heading > button {
  background: transparent;
  border: 0;
  color: var(--green);
  font-size: 9px;
  font-weight: 750;
}

.request-list {
  display: grid;
}

.request-row {
  align-items: center;
  border-bottom: 1px solid #f0f2f0;
  display: flex;
  gap: 12px;
  min-height: 64px;
  padding: 10px 20px;
}

.request-row:last-child { border-bottom: 0; }

.request-type {
  align-items: center;
  background: #eef5f2;
  border-radius: 9px;
  color: var(--green);
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.request-type.call { background: #fff0eb; color: var(--coral); }

.request-main strong {
  display: block;
  font-size: 11px;
}

.request-main p {
  color: var(--muted);
  font-size: 8px;
  margin: 4px 0 0;
}

.age {
  background: #f2f4f2;
  border-radius: 20px;
  color: #77827e;
  font-size: 8px;
  margin-left: auto;
  padding: 5px 8px;
}

.age.urgent {
  background: #fff0eb;
  color: #bc523b;
  font-weight: 750;
}

.empty-small {
  color: var(--muted);
  font-size: 11px;
  padding: 34px;
  text-align: center;
}

.status-chip {
  background: #f3f5f3;
  border-radius: 20px;
  color: var(--muted);
  font-size: 8px;
  padding: 5px 9px;
}

.rhythm-total {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 18px 20px 5px;
}

.rhythm-total > strong {
  font-size: 32px;
  letter-spacing: -0.05em;
}

.rhythm-total span {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.rhythm-total b { color: var(--green-2); }

.mini-chart {
  align-items: flex-end;
  border-bottom: 1px solid #e7ebe8;
  display: flex;
  gap: 6px;
  height: 105px;
  margin: 5px 20px 0;
  padding-top: 10px;
}

.mini-chart span {
  background: #cfe0da;
  border-radius: 3px 3px 0 0;
  flex: 1;
  min-height: 10px;
}

.mini-chart span.current { background: var(--green); }

.chart-labels {
  color: #909b97;
  display: flex;
  font-size: 7px;
  justify-content: space-between;
  padding: 7px 20px 15px;
}

.quick-actions {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.quick-actions button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  min-height: 72px;
  padding: 13px;
  text-align: left;
}

.quick-actions button > span {
  align-items: center;
  background: #edf4f1;
  border-radius: 9px;
  color: var(--green);
  display: flex;
  font-size: 16px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.quick-actions p { margin: 0 0 0 11px; }
.quick-actions strong { display: block; font-size: 10px; }
.quick-actions small { color: var(--muted); display: block; font-size: 8px; margin-top: 3px; }
.quick-actions i { color: var(--green); font-style: normal; margin-left: auto; }

/* Menu admin */

.menu-toolbar {
  display: flex;
  gap: 9px;
  margin-bottom: 16px;
}

.search-box {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex: 1;
  max-width: 420px;
  min-height: 42px;
  padding: 0 12px;
}

.search-box span { color: #89958f; font-size: 18px; }
.search-box input { background: transparent; border: 0; font-size: 11px; min-width: 0; padding: 0 9px; width: 100%; }
.search-box input:focus { outline: 0; }

.category-tabs {
  border-bottom: 1px solid #dfe4e0;
  display: flex;
  gap: 22px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.category-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #77837f;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 650;
  padding: 0 0 11px;
}

.category-tabs button.active {
  border-color: var(--green);
  color: var(--green);
}

.category-tabs button span {
  background: #e9efec;
  border-radius: 20px;
  font-size: 7px;
  margin-left: 5px;
  padding: 3px 5px;
}

.menu-panel { overflow: hidden; }

.menu-table-head,
.menu-row {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(290px, 2fr) minmax(105px, 0.8fr) 88px 100px 70px 95px;
}

.menu-table-head {
  background: #f8faf8;
  border-bottom: 1px solid var(--line);
  color: #8a9692;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.07em;
  min-height: 38px;
  padding: 0 16px;
  text-transform: uppercase;
}

.menu-row {
  border-bottom: 1px solid #edf0ed;
  min-height: 92px;
  padding: 12px 16px;
}

.menu-row.unavailable { background: #fbfcfb; }
.menu-row.unavailable .food-thumb,
.menu-row.unavailable .menu-item-info > div:not(.food-thumb) { opacity: 0.55; }

.menu-item-info {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.food-thumb {
  align-items: center;
  background: linear-gradient(135deg, #e9eee9, #dce4df);
  border-radius: 9px;
  color: var(--green);
  display: flex;
  flex: 0 0 auto;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  height: 54px;
  justify-content: center;
  overflow: hidden;
  width: 62px;
}

.food-thumb.large {
  border-radius: var(--brand-radius, 18px);
  height: 170px;
  width: 100%;
}

.food-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.menu-item-info strong { display: block; font-size: 10px; }
.menu-item-info p { color: var(--muted); font-size: 8px; line-height: 1.35; margin: 4px 0; max-width: 310px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-row { align-items: center; display: flex; flex-wrap: wrap; gap: 4px; }
.tag-row span { background: #eef4f1; border-radius: 20px; color: var(--green); font-size: 6px; font-weight: 750; padding: 3px 6px; }
.tag-row em { align-items: center; border: 1px solid #cfd7d3; border-radius: 50%; color: #74807b; display: flex; font-size: 6px; height: 13px; justify-content: center; width: 13px; }
.table-category { color: #5d6a65; font-size: 9px; }
.menu-row > span:not(.table-category) { color: #74807b; font-size: 9px; }
.table-price { font-size: 10px; }

.toggle {
  background: #cdd5d1;
  border: 0;
  border-radius: 20px;
  height: 22px;
  padding: 3px;
  transition: background 0.2s;
  width: 39px;
}

.toggle span {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  display: block;
  height: 16px;
  transition: transform 0.2s;
  width: 16px;
}

.toggle.on { background: var(--green); }
.toggle.on span { transform: translateX(17px); }

.row-actions { display: flex; gap: 3px; justify-content: flex-end; }
.row-actions button { background: transparent; border: 0; color: var(--green); font-size: 8px; font-weight: 700; padding: 6px; }
.row-actions button:last-child { color: #87918e; }

.table-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 8px;
  justify-content: space-between;
  min-height: 45px;
  padding: 0 16px;
}

.table-footer span { align-items: center; display: flex; gap: 4px; }
.table-footer button,
.table-footer b { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; display: flex; font-size: 8px; height: 25px; justify-content: center; width: 25px; }
.table-footer b { background: var(--green); color: #fff; }

/* Modals and forms */

.modal-backdrop {
  align-items: center;
  background: rgba(18, 36, 31, 0.54);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 150;
}

.side-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 90px rgba(18, 36, 31, 0.26);
  max-height: calc(100vh - 44px);
  max-width: 720px;
  overflow: auto;
  padding: 25px;
  width: 100%;
}

.modal-heading {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 23px;
}

.modal-heading h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.modal-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 10px;
  margin: 6px 0 0;
}

.modal-heading > button,
.sheet-close {
  align-items: center;
  background: #f1f4f2;
  border: 0;
  border-radius: 50%;
  display: flex;
  font-size: 20px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.form-grid {
  display: grid;
  gap: 0 14px;
  grid-template-columns: 1fr 1fr;
}

.form-grid .full { grid-column: 1 / -1; }

.upload-zone {
  align-items: center;
  border: 1px dashed #bdc9c4;
  border-radius: 12px;
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  gap: 4px !important;
  justify-content: center;
  min-height: 105px;
  position: relative;
  text-align: center;
}

.upload-zone input { inset: 0; opacity: 0; position: absolute; }
.upload-zone > span { color: var(--green); font-size: 20px; }
.upload-zone strong { color: var(--green); font-size: 10px; }
.upload-zone small { color: var(--muted); font-size: 8px; font-weight: 400; }

.form-toggles {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 8px;
}

.form-toggles label {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 13px 15px;
}

.form-toggles label:last-child { border-bottom: 0; }
.form-toggles strong,
.form-toggles small { display: block; }
.form-toggles strong { font-size: 10px; }
.form-toggles small { color: var(--muted); font-size: 8px; margin-top: 3px; }

.form-toggles input,
.setting-row input {
  appearance: none;
  background: #cdd5d1;
  border-radius: 20px;
  cursor: pointer;
  flex: 0 0 auto;
  height: 23px;
  margin: 0;
  padding: 3px;
  position: relative;
  width: 41px;
}

.form-toggles input::after,
.setting-row input::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  content: "";
  display: block;
  height: 17px;
  transition: transform 0.2s;
  width: 17px;
}

.form-toggles input:checked,
.setting-row input:checked { background: var(--green); }
.form-toggles input:checked::after,
.setting-row input:checked::after { transform: translateX(18px); }

.item-form > footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 22px -25px -25px;
  padding: 17px 25px;
}

.compact-modal,
.confirm-modal,
.success-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(18, 36, 31, 0.28);
  max-width: 460px;
  padding: 24px;
  width: 100%;
}

.zone-choice {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.zone-choice button {
  align-items: center;
  background: #fafbf9;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  font-size: 11px;
  font-weight: 750;
  gap: 5px;
  min-height: 105px;
}

.zone-choice button:hover { border-color: var(--green); }
.zone-choice span { color: var(--green); font-size: 24px; }
.zone-choice small { color: var(--muted); font-size: 8px; font-weight: 400; }

/* Tables */

.table-stats {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  padding: 12px 18px;
}

.table-stats span {
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  padding: 0 22px;
}

.table-stats span:first-child { padding-left: 0; }
.table-stats span:last-child { border: 0; }
.table-stats b { color: var(--ink); font-size: 12px; margin-right: 3px; }

.tables-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 310px;
}

.small-search {
  align-items: center;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  height: 34px;
  padding: 0 9px;
}

.small-search input { background: transparent; border: 0; font-size: 9px; width: 90px; }
.small-search input:focus { outline: 0; }

.tables-list { padding-bottom: 19px; }

.zone-label {
  align-items: center;
  color: #6f7d78;
  display: flex;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 17px 18px 9px;
  text-transform: uppercase;
}

.zone-label span {
  align-items: center;
  background: #eef1ef;
  border-radius: 50%;
  display: flex;
  font-size: 7px;
  height: 17px;
  justify-content: center;
  margin-left: 6px;
  width: 17px;
}

.table-card-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 18px;
}

.table-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  gap: 9px;
  min-height: 66px;
  padding: 9px;
  text-align: left;
}

.table-card:hover,
.table-card.selected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }

.table-number {
  align-items: center;
  background: #eef4f1;
  border-radius: 8px;
  color: var(--green);
  display: flex;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.table-card > span:nth-child(2) { min-width: 0; }
.table-card strong { display: block; font-size: 9px; }
.table-card small { color: var(--muted); display: flex; font-size: 7px; gap: 4px; margin-top: 4px; white-space: nowrap; }
.table-card small i { background: #bbb; border-radius: 50%; height: 5px; margin-top: 2px; width: 5px; }
.table-card small i.active { background: #42b88a; }
.table-card > b { color: #8c9793; margin-left: auto; }

.qr-preview {
  padding-bottom: 17px;
  position: sticky;
  top: 126px;
}

.qr-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 9px;
  font-weight: 750;
  justify-content: space-between;
  padding: 13px 15px;
}

.qr-header button { background: transparent; border: 0; color: var(--muted); }

.print-card {
  align-items: center;
  background: var(--brand-bg);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, transparent);
  border-radius: var(--brand-radius);
  color: var(--brand-text);
  display: flex;
  flex-direction: column;
  margin: 17px auto;
  min-height: 390px;
  padding: 25px 22px 18px;
  text-align: center;
  width: 220px;
}

.mini-logo {
  align-items: center;
  background: var(--brand-primary);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: Georgia, serif;
  font-size: 10px;
  height: 32px;
  justify-content: center;
  margin-bottom: 8px;
  width: 32px;
}

.print-card h3 { font-family: Georgia, serif; font-size: 17px; font-weight: 600; margin: 0; }
.print-card p { font-size: 9px; line-height: 1.5; margin: 8px 0 12px; opacity: .7; }

.qr-image {
  background: #fff;
  border-radius: 10px;
  height: 142px;
  padding: 7px;
  width: 142px;
}

.qr-image img { height: 100%; image-rendering: pixelated; width: 100%; }
.print-card > small { font-size: 7px; font-weight: 800; letter-spacing: .14em; margin-top: 10px; opacity: .55; }
.print-card > strong { color: var(--brand-primary); font-family: Georgia, serif; font-size: 30px; margin-top: 1px; }
.print-card > em { background: color-mix(in srgb, var(--brand-primary) 10%, transparent); border-radius: 20px; color: var(--brand-primary); font-size: 7px; font-style: normal; font-weight: 750; padding: 4px 8px; }

.qr-actions { display: grid; gap: 7px; padding: 0 17px; }
.secure-note { align-items: flex-start; color: var(--muted); display: flex; font-size: 7px; gap: 6px; line-height: 1.45; margin: 11px 19px 0; }
.secure-note span { align-items: center; background: #e8f4ef; border-radius: 50%; color: var(--green); display: flex; flex: 0 0 auto; height: 14px; justify-content: center; width: 14px; }

/* Branding */

.branding-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.brand-controls { overflow: hidden; }

.brand-section {
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.brand-section:last-child { border-bottom: 0; }
.brand-section h2 { font-family: Georgia, serif; font-size: 16px; font-weight: 600; margin: 0; }
.brand-section > p { color: var(--muted); font-size: 9px; margin: 5px 0 16px; }

.logo-upload { align-items: center; display: flex; gap: 9px; }
.logo-upload > span { align-items: center; background: var(--brand-primary); border-radius: 12px; color: #fff; display: flex; font-family: Georgia, serif; font-size: 14px; height: 54px; justify-content: center; margin-right: 5px; width: 54px; }
.text-danger { background: transparent; border: 0; color: #bd5b45; font-size: 9px; font-weight: 700; }

.color-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: 1fr 1fr;
}

.color-grid > label { color: #52615c; display: grid; font-size: 9px; font-weight: 700; gap: 6px; }
.color-input { align-items: center; border: 1px solid var(--line); border-radius: 9px; display: flex; height: 40px; overflow: hidden; padding: 5px; }
.color-input input[type="color"] { border: 0; border-radius: 6px; height: 28px; overflow: hidden; padding: 0; width: 33px; }
.color-input input:not([type="color"]) { border: 0; font-size: 9px; font-weight: 650; padding: 0 9px; width: 100%; }
.color-input input:focus { outline: 0; }

.contrast-ok {
  align-items: center;
  background: #edf6f1;
  border-radius: 9px;
  color: var(--green);
  display: flex;
  gap: 9px;
  margin-top: 13px;
  padding: 10px;
}

.contrast-ok > span { align-items: center; background: var(--green); border-radius: 50%; color: #fff; display: flex; height: 20px; justify-content: center; width: 20px; }
.contrast-ok p { font-size: 8px; line-height: 1.35; margin: 0; }
.contrast-ok strong { display: block; font-size: 9px; }

.style-options { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.style-options label { margin: 0; }
.style-options input[type="range"] { accent-color: var(--green); }
.style-options label:last-child { grid-template-columns: 1fr auto; }
.style-options label:last-child input { grid-column: 1 / -1; width: 100%; }
.style-options label:last-child span { color: var(--muted); font-size: 8px; grid-column: 2; grid-row: 1; }

.brand-preview {
  background: #e7ebe7;
  border-radius: 16px;
  padding: 16px 25px 22px;
  position: sticky;
  top: 126px;
}

.preview-label { align-items: center; display: flex; font-size: 9px; font-weight: 750; justify-content: space-between; margin-bottom: 13px; }
.preview-label em { color: var(--muted); font-size: 7px; font-style: normal; font-weight: 500; }

.phone-frame {
  background: #17201e;
  border-radius: 34px;
  box-shadow: 0 22px 40px rgba(28, 44, 38, .17);
  margin: 0 auto;
  max-width: 280px;
  padding: 8px;
  position: relative;
}

.phone-speaker { background: #17201e; border-radius: 0 0 12px 12px; height: 17px; left: 50%; position: absolute; top: 8px; transform: translateX(-50%); width: 83px; z-index: 2; }
.preview-app { background: var(--brand-bg); border-radius: 27px; color: var(--brand-text); min-height: 510px; overflow: hidden; padding-bottom: 12px; }
.preview-app header { align-items: center; background: color-mix(in srgb, var(--brand-bg) 95%, #fff); display: flex; gap: 7px; padding: 22px 12px 10px; }
.preview-app header > span { align-items: center; background: var(--brand-primary); border-radius: 50%; color: #fff; display: flex; font-size: 7px; height: 25px; justify-content: center; width: 25px; }
.preview-app header strong { display: block; font-size: 8px; }
.preview-app header small { display: block; font-size: 6px; opacity: .6; }
.preview-app header button { background: transparent; border: 0; margin-left: auto; }
.preview-hero { background: var(--brand-primary); color: #fff; padding: 17px 13px 15px; }
.preview-hero p { font-size: 6px; margin: 0 0 4px; opacity: .7; }
.preview-hero h3 { font-family: Georgia, serif; font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.preview-hero label { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; display: block; font-size: 6px; padding: 8px; }
.preview-pills { display: flex; gap: 6px; overflow: hidden; padding: 11px 11px 8px; }
.preview-pills > * { border: 1px solid color-mix(in srgb, var(--brand-primary) 15%, transparent); border-radius: 20px; flex: 0 0 auto; font-size: 6px; font-style: normal; font-weight: 500; padding: 5px 7px; }
.preview-pills b { background: var(--brand-primary); color: #fff; }
.preview-food-grid { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; padding: 0 11px; }
.preview-food-grid > div { background: #fff; border-radius: calc(var(--brand-radius) * .55); box-shadow: 0 5px 16px rgba(0,0,0,.05); overflow: hidden; padding: 6px; position: relative; }
.preview-food-grid .food-thumb.large { border-radius: calc(var(--brand-radius) * .4); height: 82px; }
.preview-food-grid strong { display: block; font-size: 7px; margin-top: 6px; }
.preview-food-grid p { font-size: 5px; margin: 2px 0 5px; opacity: .5; }
.preview-food-grid > div > span { color: var(--brand-primary); font-size: 6px; font-weight: 800; }
.preview-food-grid button { align-items: center; background: var(--brand-primary); border: 0; border-radius: 50%; bottom: 6px; color: #fff; display: flex; height: 19px; justify-content: center; position: absolute; right: 6px; width: 19px; }
.preview-cart { align-items: center; background: var(--brand-primary); border: 0; border-radius: 9px; color: #fff; display: flex; font-size: 7px; justify-content: space-between; margin: 11px; min-height: 33px; padding: 0 10px; width: calc(100% - 22px); }
.brand-preview > p { color: var(--muted); font-size: 7px; line-height: 1.5; margin: 13px auto 0; max-width: 260px; text-align: center; }

/* Settings */

.settings-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: 180px minmax(0, 1fr);
}

.settings-nav { display: grid; gap: 3px; position: sticky; top: 126px; }
.settings-nav button { background: transparent; border: 0; border-radius: 8px; color: var(--muted); font-size: 9px; font-weight: 650; min-height: 36px; padding: 0 11px; text-align: left; }
.settings-nav button.active { background: #e3ece7; color: var(--green); }
.settings-sections { display: grid; gap: 15px; }
.settings-card { overflow: hidden; }
.settings-card > header { border-bottom: 1px solid var(--line); padding: 18px; }
.settings-card h2 { font-family: Georgia, serif; font-size: 16px; font-weight: 600; margin: 0; }
.settings-card header p { color: var(--muted); font-size: 9px; margin: 4px 0 0; }
.setting-row { align-items: center; border-bottom: 1px solid #edf0ed; display: flex; justify-content: space-between; min-height: 67px; padding: 13px 18px; }
.setting-row:last-child { border-bottom: 0; }
.setting-row.featured { background: #f4f8f6; }
.setting-row strong { display: flex; font-size: 10px; gap: 7px; }
.setting-row strong em { background: #fff0eb; border-radius: 20px; color: #b6543f; font-size: 6px; font-style: normal; padding: 3px 6px; }
.setting-row small { color: var(--muted); display: block; font-size: 8px; margin-top: 4px; }

.hours-row { align-items: center; border-bottom: 1px solid #edf0ed; display: grid; gap: 10px; grid-template-columns: 100px 85px 12px 85px 1fr; min-height: 57px; padding: 10px 18px; }
.hours-row:last-child { border-bottom: 0; }
.hours-row span { font-size: 9px; font-weight: 700; }
.hours-row input { border: 1px solid var(--line); border-radius: 8px; font-size: 9px; height: 34px; padding: 0 9px; }
.hours-row i { color: var(--muted); font-style: normal; }
.hours-row button { background: transparent; border: 0; color: var(--muted); justify-self: end; }

/* Guest flow */

.language-screen {
  background: var(--brand-bg);
  color: var(--brand-text);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 46px);
  padding-top: 46px;
}

.language-art {
  align-items: center;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.language-orb { border: 1px solid rgba(255,255,255,.1); border-radius: 50%; position: absolute; }
.language-orb.one { height: 480px; right: -260px; top: -230px; width: 480px; }
.language-orb.two { bottom: -240px; height: 420px; left: -180px; width: 420px; }
.language-logo { align-items: center; background: #fff; border-radius: 50%; color: var(--brand-primary); display: flex; font-family: Georgia, serif; font-size: 18px; font-weight: 800; height: 66px; justify-content: center; margin-bottom: 24px; width: 66px; }
.language-art p { font-size: 12px; margin: 0; opacity: .67; }
.language-art h1 { font-family: Georgia, serif; font-size: clamp(36px, 5vw, 62px); font-weight: 500; letter-spacing: -.04em; margin: 6px 0 19px; }
.language-art > span { border: 1px solid rgba(255,255,255,.25); border-radius: 20px; font-size: 10px; font-weight: 750; padding: 7px 14px; }

.language-card {
  align-self: center;
  justify-self: center;
  max-width: 430px;
  padding: 45px;
  width: 100%;
}

.language-card h2 { font-family: Georgia, serif; font-size: 34px; font-weight: 500; letter-spacing: -.03em; margin: 0; }
.language-card > p:not(.eyebrow) { color: color-mix(in srgb, var(--brand-text) 55%, transparent); font-size: 10px; margin: 8px 0 25px; }
.language-list { display: grid; gap: 9px; }
.language-list button { align-items: center; background: color-mix(in srgb, var(--brand-bg) 93%, #fff); border: 1px solid color-mix(in srgb, var(--brand-primary) 15%, transparent); border-radius: calc(var(--brand-radius) * .65); display: flex; min-height: 66px; padding: 10px; text-align: left; }
.language-list button:hover { border-color: var(--brand-primary); transform: translateX(2px); }
.language-list button > span { align-items: center; background: color-mix(in srgb, var(--brand-primary) 10%, transparent); border-radius: 50%; color: var(--brand-primary); display: flex; font-size: 9px; font-weight: 800; height: 40px; justify-content: center; width: 40px; }
.language-list p { margin: 0 0 0 12px; }
.language-list strong { display: block; font-size: 11px; }
.language-list small { color: color-mix(in srgb, var(--brand-text) 52%, transparent); display: block; font-size: 8px; margin-top: 3px; }
.language-list b { color: var(--brand-primary); margin-left: auto; }
.language-footnote { color: color-mix(in srgb, var(--brand-text) 50%, transparent); display: block; font-size: 8px; margin-top: 18px; text-align: center; }

.guest-page {
  background: var(--brand-bg);
  color: var(--brand-text);
  min-height: calc(100vh - 46px);
  padding-top: 46px;
}

.guest-header {
  align-items: center;
  background: color-mix(in srgb, var(--brand-bg) 95%, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-text) 8%, transparent);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1150px) / 2));
  position: sticky;
  top: 46px;
  z-index: 35;
}

.guest-brand { align-items: center; display: flex; gap: 10px; }
.guest-brand > span { align-items: center; background: var(--brand-primary); border-radius: 50%; color: #fff; display: flex; font-family: Georgia, serif; font-size: 10px; font-weight: 800; height: 38px; justify-content: center; width: 38px; }
.guest-brand strong { display: block; font-family: Georgia, serif; font-size: 15px; }
.guest-brand small { display: block; font-size: 7px; margin-top: 3px; opacity: .5; }
.guest-header-actions { align-items: center; display: flex; gap: 10px; }
.guest-header-actions > button { background: transparent; border: 0; font-size: 9px; font-weight: 700; }
.guest-table { border-left: 1px solid color-mix(in srgb, var(--brand-text) 12%, transparent); font-size: 9px; padding-left: 12px; }
.guest-table b { background: var(--brand-primary); border-radius: 6px; color: #fff; margin-left: 4px; padding: 6px 8px; }

.guest-main { margin: 0 auto; max-width: 1150px; min-height: 800px; padding: 43px 24px 130px; }
.guest-intro { align-items: flex-end; display: flex; justify-content: space-between; }
.guest-intro p { color: var(--brand-primary); font-size: 11px; font-weight: 700; margin: 0 0 7px; }
.guest-intro h1 { font-family: Georgia, serif; font-size: clamp(35px, 5vw, 54px); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin: 0 0 11px; }
.guest-intro div > span { font-size: 9px; opacity: .54; }

.call-waiter {
  align-items: center;
  background: color-mix(in srgb, var(--brand-accent) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 25%, transparent);
  border-radius: var(--brand-radius);
  display: grid;
  grid-template-columns: 40px auto;
  padding: 11px 15px 11px 10px;
  text-align: left;
}

.call-waiter > span { align-items: center; background: var(--brand-accent); border-radius: 50%; color: #fff; display: flex; grid-row: 1 / 3; height: 34px; justify-content: center; margin-right: 9px; width: 34px; }
.call-waiter strong { font-size: 9px; }
.call-waiter small { font-size: 7px; opacity: .55; }

.guest-pause { align-items: center; background: #fff1dd; border: 1px solid #edcf9c; border-radius: 12px; color: #795a25; display: flex; gap: 10px; margin-top: 23px; padding: 12px; }
.guest-pause > span { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: flex; height: 22px; justify-content: center; width: 22px; }
.guest-pause p { font-size: 9px; line-height: 1.4; margin: 0; }
.guest-pause strong { display: block; }

.guest-search {
  align-items: center;
  background: color-mix(in srgb, var(--brand-bg) 75%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-text) 10%, transparent);
  border-radius: calc(var(--brand-radius) * .7);
  display: flex;
  margin-top: 30px;
  max-width: 560px;
  min-height: 49px;
  padding: 0 14px;
}

.guest-search > span { color: var(--brand-primary); font-size: 20px; }
.guest-search input { background: transparent; border: 0; font-size: 11px; padding: 0 10px; width: 100%; }
.guest-search input:focus { outline: 0; }

.guest-categories { display: flex; gap: 8px; margin: 25px 0 31px; overflow-x: auto; padding-bottom: 3px; }
.guest-categories button { background: color-mix(in srgb, var(--brand-bg) 70%, #fff); border: 1px solid color-mix(in srgb, var(--brand-text) 10%, transparent); border-radius: 30px; flex: 0 0 auto; font-size: 9px; font-weight: 700; min-height: 36px; padding: 0 15px; }
.guest-categories button.active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

.guest-section-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 17px; }
.guest-section-heading h2 { font-family: Georgia, serif; font-size: 28px; font-weight: 500; letter-spacing: -.025em; margin: 0; }
.guest-section-heading > span { font-size: 8px; opacity: .5; }
.guest-food-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }

.guest-food-card {
  background: color-mix(in srgb, var(--brand-bg) 55%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-text) 8%, transparent);
  border-radius: var(--brand-radius);
  box-shadow: 0 11px 34px color-mix(in srgb, var(--brand-primary) 8%, transparent);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.guest-food-card:hover { box-shadow: 0 16px 40px color-mix(in srgb, var(--brand-primary) 13%, transparent); transform: translateY(-3px); }
.guest-food-card > .food-thumb { border-radius: 0; height: 180px; }
.guest-food-copy { padding: 15px; }
.guest-food-copy h3 { font-family: Georgia, serif; font-size: 17px; font-weight: 600; line-height: 1.15; margin: 9px 0 7px; }
.guest-food-copy > p { font-size: 8px; line-height: 1.5; margin: 0 0 8px; min-height: 36px; opacity: .58; }
.guest-food-copy > small { display: block; font-size: 7px; opacity: .5; }
.guest-food-copy > div:last-child { align-items: center; display: flex; justify-content: space-between; margin-top: 14px; }
.guest-food-copy > div:last-child strong { color: var(--brand-primary); font-size: 11px; }
.guest-food-copy > div:last-child button { align-items: center; background: var(--brand-primary); border: 0; border-radius: 50%; color: #fff; display: flex; font-size: 16px; height: 33px; justify-content: center; width: 33px; }
.guest-empty { border: 1px dashed color-mix(in srgb, var(--brand-text) 20%, transparent); border-radius: var(--brand-radius); font-size: 11px; opacity: .55; padding: 45px; text-align: center; }

.guest-cart-bar {
  align-items: center;
  background: var(--brand-primary);
  border: 0;
  border-radius: 15px;
  bottom: 22px;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--brand-primary) 36%, transparent);
  color: #fff;
  display: flex;
  left: 50%;
  min-height: 64px;
  padding: 9px 15px;
  position: fixed;
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 30px));
  z-index: 40;
}

.cart-count { align-items: center; background: rgba(255,255,255,.16); border-radius: 9px; display: flex; font-size: 11px; font-weight: 800; height: 40px; justify-content: center; margin-right: 11px; width: 40px; }
.guest-cart-bar > span:nth-child(2) { text-align: left; }
.guest-cart-bar small { display: block; font-size: 7px; opacity: .6; }
.guest-cart-bar strong { display: block; font-size: 10px; margin-top: 2px; }
.guest-cart-bar > b { font-size: 11px; margin-left: auto; }
.guest-cart-bar i { font-style: normal; margin-left: 8px; }

.guest-footer { align-items: center; border-top: 1px solid color-mix(in srgb, var(--brand-text) 9%, transparent); display: flex; justify-content: space-between; margin: 0 auto; max-width: 1150px; padding: 24px; }
.guest-footer .guest-brand > span { height: 28px; width: 28px; }
.guest-footer .guest-brand strong { font-size: 11px; }
.guest-footer p { font-size: 7px; opacity: .45; }

.sheet-backdrop { align-items: flex-end; padding: 0; }
.guest-sheet { background: var(--brand-bg); border-radius: var(--brand-radius) var(--brand-radius) 0 0; color: var(--brand-text); max-height: calc(100vh - 50px); overflow: auto; padding: 25px; width: min(560px, 100%); }
.product-sheet { overflow: visible; padding: 0; position: relative; }
.product-sheet > .food-thumb.large { border-radius: var(--brand-radius) var(--brand-radius) 0 0; height: 250px; }
.sheet-close { position: absolute; right: 14px; top: 14px; z-index: 2; }
.product-copy { padding: 24px; }
.product-copy h2 { font-family: Georgia, serif; font-size: 28px; font-weight: 500; margin: 10px 0 8px; }
.product-copy > p { font-size: 10px; line-height: 1.55; opacity: .6; }
.product-meta { align-items: center; border-bottom: 1px solid color-mix(in srgb, var(--brand-text) 10%, transparent); display: flex; justify-content: space-between; margin: 18px 0 12px; padding-bottom: 13px; }
.product-meta span { font-size: 9px; opacity: .55; }
.product-meta strong { color: var(--brand-primary); font-size: 15px; }
.product-copy > small { font-size: 8px; opacity: .55; }
.product-copy > label { display: grid; font-size: 9px; font-weight: 700; gap: 7px; margin-top: 17px; }
.product-copy textarea { background: color-mix(in srgb, var(--brand-bg) 78%, #fff); border: 1px solid color-mix(in srgb, var(--brand-text) 12%, transparent); border-radius: 10px; padding: 10px; resize: none; }
.product-add { display: flex; gap: 11px; margin-top: 18px; }
.product-add .primary-button { flex: 1; }
.quantity-control { align-items: center; background: color-mix(in srgb, var(--brand-primary) 8%, #fff); border: 1px solid color-mix(in srgb, var(--brand-primary) 14%, transparent); border-radius: 11px; display: flex; min-height: 44px; padding: 4px; }
.quantity-control button { background: transparent; border: 0; color: var(--brand-primary); font-size: 15px; height: 34px; width: 34px; }
.quantity-control b { font-size: 10px; min-width: 20px; text-align: center; }

.cart-sheet .modal-heading,
.waiter-sheet .modal-heading { border-bottom: 1px solid color-mix(in srgb, var(--brand-text) 10%, transparent); padding-bottom: 18px; }
.cart-lines { display: grid; gap: 13px; }
.cart-line { align-items: center; display: flex; gap: 11px; }
.cart-line .food-thumb { height: 55px; width: 60px; }
.cart-line > div:nth-child(2) { flex: 1; }
.cart-line strong { display: block; font-size: 10px; }
.cart-line p { font-size: 7px; margin: 4px 0; opacity: .5; }
.cart-line > div:nth-child(2) span { color: var(--brand-primary); font-size: 9px; font-weight: 750; }
.quantity-control.small { min-height: 34px; }
.quantity-control.small button { height: 26px; width: 25px; }
.cart-summary { border-bottom: 1px solid color-mix(in srgb, var(--brand-text) 10%, transparent); border-top: 1px solid color-mix(in srgb, var(--brand-text) 10%, transparent); display: grid; gap: 9px; margin: 20px 0; padding: 15px 0; }
.cart-summary > span,
.cart-summary > strong { display: flex; font-size: 9px; justify-content: space-between; }
.cart-summary > span { opacity: .6; }
.cart-summary > strong { font-family: Georgia, serif; font-size: 15px; padding-top: 4px; }
.pay-note { align-items: center; background: color-mix(in srgb, var(--brand-primary) 8%, #fff); border-radius: 10px; display: flex; gap: 9px; padding: 10px; }
.pay-note > span { align-items: center; border: 1px solid var(--brand-primary); border-radius: 50%; color: var(--brand-primary); display: flex; font-size: 8px; height: 20px; justify-content: center; width: 20px; }
.pay-note p { font-size: 7px; line-height: 1.35; margin: 0; opacity: .7; }
.pay-note strong { display: block; font-size: 8px; opacity: 1; }
.send-order { background: var(--brand-primary); border-color: var(--brand-primary); margin-top: 17px; }

.reason-list { display: grid; gap: 8px; }
.reason-list button { align-items: center; background: color-mix(in srgb, var(--brand-bg) 75%, #fff); border: 1px solid color-mix(in srgb, var(--brand-text) 10%, transparent); border-radius: 11px; display: flex; font-size: 10px; font-weight: 650; min-height: 50px; padding: 0 12px; text-align: left; }
.reason-list button.selected { border-color: var(--brand-primary); box-shadow: 0 0 0 1px var(--brand-primary); }
.reason-list button > span { align-items: center; background: color-mix(in srgb, var(--brand-primary) 10%, transparent); border-radius: 8px; color: var(--brand-primary); display: flex; height: 31px; justify-content: center; margin-right: 10px; width: 31px; }
.reason-list button b { align-items: center; background: var(--brand-primary); border-radius: 50%; color: #fff; display: none; height: 18px; justify-content: center; margin-left: auto; width: 18px; }
.reason-list button.selected b { display: flex; }
.payment-choice { background: color-mix(in srgb, var(--brand-primary) 6%, #fff); border-radius: 11px; display: grid; gap: 7px; grid-template-columns: 1fr 1fr; margin: 12px 0; padding: 10px; }
.payment-choice p { font-size: 8px; grid-column: 1 / -1; margin: 0 0 2px; opacity: .6; }
.payment-choice button { background: transparent; border: 1px solid color-mix(in srgb, var(--brand-text) 12%, transparent); border-radius: 8px; font-size: 9px; min-height: 34px; }
.payment-choice button.active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.waiter-sheet > .primary-button { background: var(--brand-primary); border-color: var(--brand-primary); margin-top: 14px; }

.success-modal { max-width: 390px; text-align: center; }
.success-modal > span { align-items: center; background: #e7f4ee; border-radius: 50%; color: var(--green); display: flex; font-size: 24px; height: 64px; justify-content: center; margin: 0 auto 17px; width: 64px; }
.success-modal h2 { font-family: Georgia, serif; font-size: 27px; font-weight: 500; margin: 0; }
.success-modal > p:not(.eyebrow) { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 9px auto 17px; max-width: 250px; }
.prep-time { background: #f2f6f3; border-radius: 11px; display: grid; margin-bottom: 16px; padding: 12px; }
.prep-time b { color: var(--green); font-size: 16px; }
.prep-time small { color: var(--muted); font-size: 7px; margin-top: 3px; }

/* Staff queue */

.staff-page {
  background: #eef1ee;
  min-height: calc(100vh - 46px);
  padding-top: 46px;
}

.staff-header {
  align-items: center;
  background: #143f35;
  color: #fff;
  display: flex;
  height: 66px;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 58px);
}

.staff-brand { align-items: center; display: flex; gap: 10px; }
.staff-brand > span { align-items: center; background: #fff; border-radius: 9px 9px 9px 3px; color: var(--green); display: flex; font-family: Georgia, serif; font-style: italic; height: 34px; justify-content: center; width: 34px; }
.staff-brand strong { display: block; font-family: Georgia, serif; font-size: 14px; }
.staff-brand small { color: rgba(255,255,255,.48); display: block; font-size: 7px; margin-top: 2px; }
.staff-status { align-items: center; display: flex; gap: 8px; }
.staff-status > span { align-items: center; background: rgba(92,214,169,.1); border-radius: 20px; color: #80e4c0; display: flex; font-size: 8px; font-weight: 700; gap: 5px; padding: 7px 10px; }
.staff-status > span i { background: #62dbae; border-radius: 50%; height: 6px; width: 6px; }
.staff-status button { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: rgba(255,255,255,.6); font-size: 8px; min-height: 32px; padding: 0 10px; }
.staff-status button.active { color: #fff; }
.staff-status button:last-child { background: #e5bd79; border: 0; border-radius: 50%; color: #173f35; font-weight: 800; padding: 0; width: 32px; }

.staff-main { margin: 0 auto; max-width: 1420px; padding: 32px clamp(20px, 4vw, 58px) 80px; }
.staff-heading { align-items: flex-end; display: flex; justify-content: space-between; }
.staff-heading h1 { font-family: Georgia, serif; font-size: 36px; font-weight: 500; letter-spacing: -.035em; margin: 0 0 7px; }
.staff-heading > div > p:not(.eyebrow) { color: var(--muted); font-size: 10px; margin: 0; }
.clock { text-align: right; }
.clock strong { display: block; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.clock span { color: var(--muted); display: block; font-size: 8px; margin-top: 2px; }

.staff-toolbar { align-items: center; border-bottom: 1px solid #d9dfdb; display: flex; justify-content: space-between; margin: 27px 0 20px; }
.staff-tabs { display: flex; gap: 20px; }
.staff-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 10px; font-weight: 700; min-height: 43px; padding: 0 2px; }
.staff-tabs button.active { border-color: var(--green); color: var(--green); }
.staff-tabs span { align-items: center; background: #dfe5e1; border-radius: 20px; display: inline-flex; font-size: 7px; height: 18px; justify-content: center; margin-left: 4px; min-width: 18px; }
.staff-tabs .active span { background: var(--green); color: #fff; }
.staff-filters { display: flex; gap: 5px; padding-bottom: 7px; }
.staff-filters button,
.staff-filters select { background: #fff; border: 1px solid #dce2de; border-radius: 8px; color: #63716c; font-size: 8px; min-height: 32px; padding: 0 10px; }
.staff-filters button.active { background: var(--green); border-color: var(--green); color: #fff; }

.ticket-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ticket-card { background: #fff; border: 1px solid #dfe4e1; border-radius: 14px; box-shadow: 0 8px 22px rgba(29, 48, 41, .045); overflow: hidden; }
.ticket-card.urgent { border-color: #e0a28e; box-shadow: 0 0 0 1px #e0a28e; }
.ticket-card.done { opacity: .75; }
.ticket-card > header { align-items: flex-start; border-bottom: 1px solid #edf0ed; display: flex; justify-content: space-between; padding: 15px; }
.ticket-label { align-items: center; display: flex; gap: 10px; }
.ticket-label > span { align-items: center; background: #e9f3ef; border-radius: 9px; color: var(--green); display: flex; font-size: 16px; height: 37px; justify-content: center; width: 37px; }
.ticket-card.call .ticket-label > span { background: #fff0eb; color: var(--coral); }
.ticket-label small { color: var(--green); display: block; font-size: 7px; font-weight: 800; letter-spacing: .09em; margin-bottom: 3px; text-transform: uppercase; }
.ticket-card.call .ticket-label small { color: var(--coral); }
.ticket-label strong { display: block; font-family: Georgia, serif; font-size: 17px; }
.ticket-age { text-align: right; }
.ticket-age span { background: #f0f3f1; border-radius: 20px; color: #6e7a76; display: block; font-size: 7px; font-weight: 700; padding: 5px 7px; }
.ticket-age span.urgent { background: #fff0eb; color: #bd563f; }
.ticket-age small { color: var(--muted); display: block; font-size: 7px; margin-top: 5px; }

.ticket-items { display: grid; gap: 11px; min-height: 150px; padding: 15px; }
.ticket-items > div { align-items: flex-start; display: flex; gap: 8px; }
.ticket-items > div > b { align-items: center; background: #edf3f0; border-radius: 6px; color: var(--green); display: flex; flex: 0 0 auto; font-size: 8px; height: 22px; justify-content: center; width: 25px; }
.ticket-items span { min-width: 0; }
.ticket-items strong { display: block; font-size: 9px; line-height: 1.4; }
.ticket-items small { color: var(--coral); display: block; font-size: 7px; margin-top: 3px; }
.ticket-items em { color: var(--muted); font-size: 8px; font-style: normal; margin-left: auto; white-space: nowrap; }

.call-reason { align-items: center; display: flex; min-height: 150px; padding: 22px; }
.call-reason > span { align-items: center; background: #fff0eb; border-radius: 50%; color: var(--coral); display: flex; font-size: 24px; height: 58px; justify-content: center; margin-right: 14px; width: 58px; }
.call-reason small { color: var(--muted); display: block; font-size: 7px; margin-bottom: 4px; }
.call-reason strong { display: block; font-family: Georgia, serif; font-size: 18px; }
.call-reason em { color: #7b6a63; display: block; font-size: 8px; font-style: normal; margin-top: 6px; }

.ticket-total { align-items: center; background: #f8faf8; border-top: 1px solid #edf0ed; display: flex; font-size: 9px; justify-content: space-between; padding: 11px 15px; }
.ticket-total strong { font-size: 12px; }
.ticket-card > footer { align-items: center; border-top: 1px solid #edf0ed; display: flex; gap: 8px; min-height: 58px; padding: 10px 12px; }
.ticket-card > footer > button:first-child { align-items: center; background: var(--green); border: 0; border-radius: 9px; color: #fff; display: flex; flex: 1; font-size: 8px; font-weight: 750; gap: 7px; justify-content: center; min-height: 37px; }
.ticket-card.call > footer > button:first-child { background: var(--coral); }
.more-button { background: #f3f5f3 !important; border: 1px solid #e2e6e3 !important; color: var(--muted) !important; flex: 0 0 38px !important; }
.done-label { color: var(--green); flex: 1; font-size: 8px; font-weight: 700; padding-left: 8px; }

.empty-queue { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 15px; display: flex; flex-direction: column; min-height: 320px; justify-content: center; text-align: center; }
.empty-queue > span { align-items: center; background: #e7f4ee; border-radius: 50%; color: var(--green); display: flex; font-size: 24px; height: 65px; justify-content: center; width: 65px; }
.empty-queue h2 { font-family: Georgia, serif; font-size: 25px; font-weight: 500; margin: 16px 0 6px; }
.empty-queue p { color: var(--muted); font-size: 9px; }

.undo-bar { align-items: center; background: #173f35; border-radius: 11px; bottom: 21px; box-shadow: 0 18px 45px rgba(20,49,41,.25); color: #fff; display: flex; font-size: 9px; gap: 20px; left: 50%; padding: 12px 14px; position: fixed; transform: translateX(-50%); z-index: 70; }
.undo-bar button { background: transparent; border: 0; color: #e4bd76; font-size: 9px; font-weight: 800; text-transform: uppercase; }

.confirm-modal { max-width: 390px; text-align: center; }
.confirm-modal > span { align-items: center; background: #fff0eb; border-radius: 50%; color: var(--coral); display: flex; font-family: Georgia, serif; font-size: 26px; height: 58px; justify-content: center; margin: 0 auto 15px; width: 58px; }
.confirm-modal h2 { font-family: Georgia, serif; font-size: 25px; font-weight: 500; margin: 0; }
.confirm-modal > p:not(.eyebrow) { color: var(--muted); font-size: 9px; line-height: 1.5; margin: 9px auto 20px; max-width: 280px; }
.confirm-modal > div { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }

/* Responsive */

@media (max-width: 1120px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .guest-food-grid { grid-template-columns: repeat(3, 1fr); }
  .ticket-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-table-head,
  .menu-row { grid-template-columns: minmax(260px, 2fr) 110px 85px 70px 85px; }
  .menu-table-head > span:nth-child(3),
  .menu-row > span:nth-child(3) { display: none; }
  .table-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-topbar { justify-content: space-between; }
  .mobile-brand { display: flex; }
  .overview-grid,
  .branding-layout { grid-template-columns: 1fr; }
  .brand-preview { position: static; }
  .brand-preview .phone-frame { max-width: 310px; }
  .tables-layout { grid-template-columns: 1fr; }
  .qr-preview { position: static; }
  .guest-food-grid { grid-template-columns: repeat(2, 1fr); }
  .login-screen { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .language-screen { grid-template-columns: 1fr; }
  .language-art { min-height: 42vh; }
  .language-card { padding: 35px 24px 55px; }
}

@media (max-width: 720px) {
  .prototype-bar { height: 48px; padding: 0 8px; }
  .prototype-label { display: none; }
  .surface-switcher { justify-content: center; width: 100%; }
  .surface-switcher button { flex: 1; padding: 0 5px; }
  .admin-shell,
  .guest-page,
  .staff-page,
  .language-screen { padding-top: 48px; }
  .admin-topbar,
  .guest-header { top: 48px; }
  .admin-topbar { height: 58px; padding: 0 13px; }
  .topbar-actions .secondary-button { display: none; }
  .admin-content { padding: 22px 14px 40px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading > button,
  .page-heading > .button-group { width: 100%; }
  .page-heading .button-group > * { flex: 1; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid article { min-height: 120px; }
  .overview-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr; }
  .menu-toolbar { flex-wrap: wrap; }
  .search-box { flex-basis: 100%; max-width: none; }
  .menu-panel { background: transparent; border: 0; overflow: visible; }
  .menu-table-head { display: none; }
  .menu-rows { display: grid; gap: 10px; }
  .menu-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 1fr auto; min-height: 0; padding: 12px; }
  .menu-item-info { grid-column: 1 / -1; }
  .menu-row .table-category,
  .menu-row > span,
  .menu-row > .table-price { display: none !important; }
  .menu-row > .toggle { margin: 12px 0 0 74px; }
  .menu-row .row-actions { margin-top: 7px; }
  .table-footer { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .side-modal { border-radius: 16px 16px 0 0; margin-top: auto; max-height: calc(100vh - 35px); padding: 20px; }
  .item-form > footer { margin: 20px -20px -20px; padding: 15px 20px; }
  .table-stats { align-items: stretch; padding: 10px; }
  .table-stats span { padding: 0 10px; text-align: center; }
  .table-stats b { display: block; }
  .table-card-grid { grid-template-columns: 1fr 1fr; padding: 0 12px; }
  .panel-heading { padding: 14px; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { display: flex; overflow-x: auto; position: static; }
  .settings-nav button { flex: 0 0 auto; }
  .color-grid,
  .style-options { grid-template-columns: 1fr; }
  .guest-header { height: 63px; padding: 0 13px; }
  .guest-brand strong { font-size: 12px; }
  .guest-brand small { display: none; }
  .guest-main { padding: 28px 14px 115px; }
  .guest-intro { align-items: flex-start; }
  .guest-intro div > span { display: block; max-width: 190px; }
  .call-waiter { border-radius: 50%; display: flex; height: 48px; padding: 7px; width: 48px; }
  .call-waiter > span { height: 34px; margin: 0; width: 34px; }
  .call-waiter strong,
  .call-waiter small { display: none; }
  .guest-search { max-width: none; }
  .guest-categories { margin-bottom: 24px; }
  .guest-food-grid { gap: 11px; grid-template-columns: 1fr 1fr; }
  .guest-food-card > .food-thumb { height: 126px; }
  .guest-food-copy { padding: 11px; }
  .guest-food-copy h3 { font-size: 14px; }
  .guest-food-copy > p { display: -webkit-box; min-height: 33px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .guest-food-copy > small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .guest-footer { padding: 18px 14px; }
  .staff-header { height: 60px; padding: 0 13px; }
  .staff-status > span,
  .staff-status button:first-of-type { display: none; }
  .staff-main { padding: 23px 13px 80px; }
  .staff-heading .clock { display: none; }
  .staff-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .staff-tabs { width: 100%; }
  .staff-tabs button { flex: 1; }
  .staff-filters { max-width: 100%; overflow-x: auto; padding-bottom: 10px; width: 100%; }
  .staff-filters > * { flex: 0 0 auto; }
  .ticket-grid { grid-template-columns: 1fr; }
  .undo-bar { bottom: 12px; max-width: calc(100% - 24px); white-space: nowrap; }
}

@media (max-width: 440px) {
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid article { min-height: 104px; }
  .guest-food-grid { grid-template-columns: 1fr; }
  .guest-food-card { display: grid; grid-template-columns: 120px 1fr; }
  .guest-food-card > .food-thumb { height: 100%; min-height: 170px; }
  .guest-food-copy h3 { margin-top: 7px; }
  .guest-food-copy > p { min-height: 30px; }
  .guest-section-heading h2 { font-size: 24px; }
  .language-art { min-height: 38vh; }
  .language-art h1 { font-size: 36px; }
  .table-card-grid { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 1fr 70px 8px 70px; }
  .hours-row button { display: none; }
}

@media print {
  .prototype-bar,
  .admin-sidebar,
  .admin-topbar,
  .page-heading,
  .tables-list,
  .qr-header,
  .qr-actions,
  .secure-note { display: none !important; }
  .admin-shell,
  .admin-main,
  .admin-content,
  .tables-layout,
  .qr-preview { background: #fff; display: block; margin: 0; padding: 0; }
  .qr-preview { border: 0; }
  .print-card { margin: 20mm auto; }
}
