:root {
  --bg: #eef0eb;
  --surface: #fffefd;
  --paper: #fbfaf6;
  --paper-deep: #f2eee4;
  --ink: #17191a;
  --muted: #67645d;
  --faint: #9a9488;
  --border: #ded8cc;
  --line: rgba(67, 57, 44, 0.18);
  --tomato: #b61119;
  --tomato-soft: #f9eceb;
  --green: #176c36;
  --green-soft: #edf6ee;
  --gold: #bd8732;
  --gold-soft: #fbf4e9;
  --shadow: 0 18px 48px rgba(24, 22, 18, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 108, 54, 0.07), transparent 23%, transparent 77%, rgba(182, 17, 25, 0.06)),
    var(--bg);
  font-family: var(--sans);
  letter-spacing: 0;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
}

button,
input,
textarea,
select,
a,
label {
  font: inherit;
  touch-action: manipulation;
}

button {
  border: 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(189, 135, 50, 0.08) 0 1px, transparent 1px calc(100% - 1px), rgba(189, 135, 50, 0.08) calc(100% - 1px)),
    repeating-linear-gradient(0deg, rgba(73, 57, 40, 0.018) 0 1px, transparent 1px 7px),
    var(--paper);
  box-shadow: 0 0 70px rgba(24, 22, 18, 0.16);
}

.restaurant-hero {
  position: relative;
  height: clamp(226px, 48vw, 244px);
  overflow: hidden;
  background: #171713;
}

.restaurant-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 49%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.7), rgba(10, 9, 8, 0.13) 46%, rgba(10, 9, 8, 0) 67%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.42), transparent 38%);
  pointer-events: none;
}

.hero-brand {
  position: absolute;
  inset: 48px 24px auto;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero-brand p {
  margin: 0 0 2px;
  color: #e2be72;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.restaurant-name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 14vw, 72px);
  font-weight: 500;
  line-height: 0.92;
  color: currentColor;
}

.restaurant-name span {
  color: #fff;
}

.hero-ornament {
  width: min(240px, 58vw);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: #d5a450;
}

.hero-ornament::before,
.hero-ornament::after {
  content: "";
  height: 1px;
  background: currentColor;
  opacity: 0.88;
}

.hero-ornament svg {
  width: 28px;
  height: 12px;
}

.status-band {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  padding: 0 26px;
  background: rgba(255, 254, 253, 0.96);
  border-bottom: 1px solid var(--border);
}

.status-band-single {
  grid-template-columns: minmax(0, 1fr);
}

.status-band-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.status-band-item svg {
  width: 21px;
  height: 21px;
  color: var(--ink);
}

.status-band-divider {
  height: 34px;
  background: var(--line);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(23, 108, 54, 0.11);
}

.menu-head {
  position: relative;
  padding: 22px 28px 12px;
  text-align: center;
  color: var(--ink);
}

.menu-language-button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-height: 42px;
  padding: 0 10px;
  display: inline-grid;
  grid-template-columns: 24px auto auto;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 254, 253, 0.92);
  box-shadow: 0 8px 20px rgba(31, 28, 22, 0.08);
  font-size: 12px;
  font-weight: 760;
}

.menu-language-button img {
  width: 24px;
  height: 16px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.menu-language-button strong {
  font-size: 12px;
  line-height: 1;
}

.menu-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 9.4vw, 52px);
  font-weight: 500;
  line-height: 0.98;
}

.rule {
  width: min(292px, 72vw);
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--gold);
}

.rule::before,
.rule::after {
  content: "";
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.rule svg {
  width: 31px;
  height: 14px;
}

.category-tabs {
  position: sticky;
  top: 0;
  z-index: 18;
  display: flex;
  gap: 0;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(189, 135, 50, 0.08) 0 1px, transparent 1px calc(100% - 1px), rgba(189, 135, 50, 0.08) calc(100% - 1px)),
    rgba(251, 250, 246, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(31, 28, 22, 0.08);
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-button {
  flex: 1 0 25%;
  min-width: 84px;
  position: relative;
  min-height: 56px;
  padding: 0 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(18px, 4.6vw, 24px);
  line-height: 1;
}

.tab-button::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 7px;
  height: 2px;
  background: transparent;
}

.tab-button[aria-selected="true"] {
  color: var(--tomato);
}

.tab-button[aria-selected="true"]::after {
  background: var(--tomato);
}

.tab-button:focus-visible,
.icon-button:focus-visible,
.utility-button:focus-visible,
.menu-language-button:focus-visible,
.filter-chip:focus-visible,
.dish-card:focus-visible,
.featured-dish:focus-visible,
.close-button:focus-visible,
.language-button:focus-visible,
.more-row:focus-visible {
  outline: 3px solid rgba(189, 135, 50, 0.38);
  outline-offset: 3px;
}

.featured-dish {
  width: 100%;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 24px 19px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.featured-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background-image: var(--dish-image);
  background-size: 430px auto;
  background-position: 40% 57%;
  background-repeat: no-repeat;
  box-shadow: 0 16px 30px rgba(32, 27, 21, 0.16);
}

.featured-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.featured-copy p:first-child {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(16px, 4.2vw, 20px);
  line-height: 1;
}

.featured-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 6.8vw, 38px);
  font-weight: 500;
  line-height: 1;
}

.featured-rule {
  display: none;
}

.featured-description {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-copy strong {
  justify-self: start;
  color: var(--tomato);
  font-size: 21px;
  line-height: 1;
}

.toolbar {
  padding: 8px 16px 10px;
  display: grid;
}

.search-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.search-wrap > svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 24px;
  height: 24px;
  color: var(--ink);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 56px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.92);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(31, 28, 22, 0.08);
}

.search-input::placeholder {
  color: #807b72;
}

.search-filter-button {
  min-width: 0;
  height: 62px;
  padding: 0 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 254, 253, 0.92);
  font-weight: 620;
}

.search-filter-button svg {
  width: 23px;
  height: 23px;
}

.filter-strip {
  padding: 13px 24px 15px;
  border-bottom: 1px solid var(--line);
}

.filter-row {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(23, 108, 54, 0.18);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 254, 253, 0.78);
  font-size: 14px;
  white-space: nowrap;
}

.filter-chip svg {
  width: 17px;
  height: 17px;
}

.filter-chip[aria-pressed="true"] {
  border-color: rgba(23, 108, 54, 0.36);
  background: var(--green-soft);
}

.filter-chip.allergen-chip {
  color: #875208;
  border-color: rgba(189, 135, 50, 0.26);
}

.filter-chip.allergen-chip[aria-pressed="true"] {
  border-color: rgba(189, 135, 50, 0.45);
  background: var(--gold-soft);
}

.content-area {
  padding: 0 24px 110px;
}

.section-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin: 0;
  padding: 14px 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.section-meta strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.dish-list {
  display: grid;
}

.dish-card {
  width: 100%;
  min-height: 118px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
}

.dish-image {
  width: 112px;
  height: 92px;
  align-self: center;
  border-radius: 8px;
  background-image: var(--dish-image);
  background-size: 380px auto;
  background-repeat: no-repeat;
  box-shadow: 0 10px 24px rgba(31, 28, 22, 0.1);
}

.dish-image.burrata {
  background-position: 39% 59%;
}

.dish-image.bruschetta {
  background-position: 46% 19%;
}

.dish-image.pasta {
  background-position: 78% 17%;
}

.dish-image.pizza {
  background-position: 94% 70%;
}

.dish-image.default {
  background-position: 50% 50%;
}

.dish-body {
  min-width: 0;
  display: block;
}

.dish-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.dish-title {
  margin: 0;
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 5.7vw, 30px);
  font-weight: 500;
  line-height: 1.04;
}

.dish-price {
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  white-space: nowrap;
}

.dish-description {
  display: block;
  margin: 5px 0 9px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.dish-tag {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  background: transparent;
  font-size: 14px;
  line-height: 1;
}

.dish-tag.amber {
  color: #83500b;
}

.dish-tag svg {
  width: 16px;
  height: 16px;
}

.empty-state {
  padding: 28px 18px;
  color: var(--muted);
  background: rgba(255, 254, 253, 0.7);
  text-align: center;
  line-height: 1.45;
}

.utility-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(100%, 520px);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 254, 253, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 -14px 36px rgba(31, 28, 22, 0.11);
}

.guest-service-card {
  margin: 0 16px;
  padding: 15px 12px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(189, 135, 50, 0.28);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.92);
  box-shadow: 0 12px 28px rgba(31, 28, 22, 0.08);
}

.guest-table-state {
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.guest-table-state > svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-soft);
  flex: 0 0 auto;
}

.service-status,
.service-helper-text,
.service-hours-line,
.guest-service-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.guest-table-state strong {
  display: block;
  margin-top: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
}

.guest-service-card > p,
.service-status,
.service-helper-text,
.service-hours-line {
  margin: 0;
}

.service-helper-text {
  font-weight: 600;
  text-align: center;
}

.guest-service-card .service-hours-line {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: hidden;
  color: #575149;
  text-align: left;
}

.guest-service-card .service-status {
  text-align: center;
}

.service-hours-column {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(189, 135, 50, 0.2);
  border-radius: 8px;
  background: rgba(251, 244, 233, 0.52);
}

.service-hours-column span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.service-hours-column strong {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.guest-service-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-call-button,
.service-pay-button {
  min-width: 0;
  min-height: 54px;
  padding: 0 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.05;
  text-align: center;
}

.service-call-button span,
.service-pay-button span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.service-call-button {
  background: linear-gradient(180deg, #c51a22, var(--tomato));
  box-shadow: 0 12px 24px rgba(182, 17, 25, 0.18);
}

.service-pay-button {
  background: linear-gradient(180deg, #1c7a40, var(--green));
  box-shadow: 0 12px 24px rgba(23, 108, 54, 0.18);
}

.service-call-button svg,
.service-pay-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.service-call-button:disabled,
.service-pay-button:disabled {
  cursor: wait;
  opacity: 0.55;
  box-shadow: none;
}

.service-sheet-panel {
  display: grid;
  gap: 14px;
}

.utility-button {
  position: relative;
  min-width: 0;
  min-height: 58px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0 3px;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  overflow: hidden;
  font-size: clamp(8px, 2.2vw, 12px);
  font-weight: 700;
  line-height: 1;
}

.utility-button span {
  max-width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: center;
  line-height: 1.06;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.utility-button + .utility-button {
  border-left: 1px solid var(--line);
  border-radius: 0;
}

.utility-button.active,
.utility-button:hover {
  color: var(--tomato);
}

.utility-button svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.selection-count {
  position: absolute;
  top: 5px;
  right: 18%;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--tomato);
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(182, 17, 25, 0.24);
}

.info-card-list {
  display: grid;
  gap: 12px;
}

.info-card,
.legal-panel,
.more-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.9);
}

.info-card {
  min-height: 92px;
  padding: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.info-card.subtle {
  background: var(--paper);
}

.info-card svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.info-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.info-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.opening-hours-card strong {
  white-space: nowrap;
  font-size: clamp(21px, 5.2vw, 28px);
}

.info-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.more-list {
  display: grid;
  gap: 10px;
}

.more-row {
  min-height: 62px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 720;
  text-align: left;
  text-decoration: none;
}

.more-row svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.legal-panel {
  padding: 16px;
}

.legal-panel strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.legal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.feedback-panel,
.google-review-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.88);
}

.feedback-panel {
  padding: 10px 14px;
}

.feedback-label {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

.feedback-form {
  display: grid;
  gap: 8px;
}

.rating-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-field legend,
.feedback-field span {
  margin-bottom: 6px;
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.star-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}

.star-option {
  container-type: inline-size;
  min-height: 35px;
  min-width: 0;
  padding: 0 2px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gold);
  background: #fff;
  overflow: hidden;
}

.star-option span {
  max-width: 100%;
  display: block;
  color: currentColor;
  font-family: Arial, "Segoe UI Symbol", sans-serif;
  font-size: clamp(6px, 18cqi, 10px);
  line-height: 1;
  overflow: visible;
  text-align: center;
  white-space: nowrap;
}

.star-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-option:has(input:checked) {
  border-color: rgba(189, 135, 50, 0.45);
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(189, 135, 50, 0.08);
}

.star-option:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.feedback-field input,
.feedback-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.feedback-field input {
  height: 40px;
  padding: 0 12px;
}

.feedback-field textarea {
  resize: vertical;
  min-height: 58px;
  padding: 10px 12px;
  line-height: 1.38;
}

.feedback-submit {
  margin-top: 2px;
}

.google-review-panel {
  margin-top: 8px;
  padding: 11px 14px;
  display: grid;
  gap: 8px;
}

.google-review-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.08;
}

.google-review-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.google-review-button {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 720;
}

.google-review-button svg {
  width: 20px;
  height: 20px;
}

.feedback-thanks {
  min-height: 240px;
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
}

.feedback-thanks > svg {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
}

.feedback-thanks strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(23, 25, 26, 0.38);
}

.sheet {
  width: min(100%, 488px);
  max-height: min(90vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(73, 57, 40, 0.018) 0 1px, transparent 1px 7px),
    var(--surface);
  box-shadow: var(--shadow);
}

.sheet-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
  padding: 19px 18px 12px;
  background: rgba(255, 254, 253, 0.96);
  border-bottom: 1px solid var(--border);
}

.sheet-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.04;
}

.sheet-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.close-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

.close-button svg {
  width: 22px;
  height: 22px;
}

.sheet-content {
  padding: 16px 18px 22px;
  overflow: auto;
}

.confirm-backdrop {
  place-items: center;
}

.confirm-sheet {
  width: min(100%, 430px);
  max-height: none;
}

.staff-table-confirm {
  padding: 20px;
  display: grid;
  gap: 16px;
  overflow: visible;
  text-align: center;
}

.staff-table-confirm-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
}

.staff-table-confirm-icon svg {
  width: 28px;
  height: 28px;
}

.staff-table-confirm-icon-clear {
  background: #fff0cf;
  color: #a76300;
}

.staff-table-confirm-icon-occupy {
  background: #dff2e7;
  color: #176f3d;
}

.staff-table-confirm-table {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 58px;
}

.staff-table-confirm-table strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(36px, 8vw, 42px);
  font-weight: 500;
  line-height: 0.95;
}

.staff-table-confirm p {
  max-width: 32ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.staff-table-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.staff-table-confirm-actions .owner-action,
.staff-table-confirm-actions .owner-secondary-action {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.staff-table-confirm-clear {
  background: linear-gradient(180deg, #f2a51f, #c87400);
}

.staff-table-confirm-occupy {
  background: linear-gradient(180deg, #21a160, #13733e);
}

.staff-detail-sheet {
  height: min(92dvh, 720px);
  max-height: min(92dvh, 720px);
  overflow: hidden;
}

.staff-detail-header {
  padding-bottom: 12px;
}

.staff-table-detail {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 18px 18px;
  display: grid;
  grid-template-rows: max-content minmax(118px, 1fr) max-content;
  gap: 12px;
  overflow: hidden;
  overscroll-behavior: contain;
}

.staff-detail-top {
  min-width: 0;
  min-height: 0;
  display: grid;
  gap: 10px;
  overflow: visible;
}

.staff-table-detail-hero {
  padding: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(40, 31, 24, 0.1);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.92);
  box-shadow: 0 10px 26px rgba(24, 20, 18, 0.07);
}

.staff-table-detail-title {
  min-width: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.staff-table-detail-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #e5f3ea;
  color: #315f4d;
  flex: 0 0 auto;
}

.staff-table-detail-icon svg {
  width: 25px;
  height: 25px;
}

.staff-table-detail-title strong {
  min-width: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 8.5vw, 42px);
  font-weight: 500;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.staff-table-detail-status {
  min-width: 92px;
  max-width: 45%;
  min-height: 34px;
  padding: 7px 11px;
  display: inline-flex;
  justify-content: center;
  gap: 7px;
  align-items: center;
  border-radius: 999px;
  color: #315f4d;
  background: #dff2e7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
}

.staff-table-detail-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.staff-table-detail-occupied .staff-table-detail-icon,
.staff-table-detail-occupied .staff-table-detail-status {
  background: #ffe3a3;
  color: #a76300;
}

.staff-table-detail-service .staff-table-detail-icon,
.staff-table-detail-service .staff-table-detail-status {
  background: #e0001b;
  color: #fff;
}

.staff-table-detail-payment .staff-table-detail-icon,
.staff-table-detail-payment .staff-table-detail-status {
  background: #1262d6;
  color: #fff;
}

.staff-detail-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.staff-detail-metrics > div {
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(40, 31, 24, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(40, 31, 24, 0.035);
}

.staff-detail-metrics span,
.staff-detail-section-head span,
.staff-detail-empty,
.staff-detail-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
}

.staff-detail-metrics strong {
  min-width: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 6vw, 33px);
  font-weight: 500;
  line-height: 1;
  overflow-wrap: anywhere;
}

.staff-detail-request {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
}

.staff-detail-request strong {
  display: block;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.staff-detail-section {
  min-height: 0;
  padding: 13px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 11px;
  border: 1px solid rgba(40, 31, 24, 0.09);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.92);
  overflow: hidden;
}

.staff-detail-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.staff-detail-section-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 860;
  line-height: 1.15;
}

.staff-detail-section-head span {
  flex: 0 0 auto;
  text-align: right;
}

.staff-detail-items {
  min-height: 0;
  margin: 0;
  padding: 0 4px 0 0;
  display: grid;
  align-content: start;
  gap: 8px;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.staff-detail-item {
  min-width: 0;
  padding: 10px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(40, 31, 24, 0.08);
}

.staff-detail-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.staff-detail-item:last-child {
  padding-bottom: 0;
}

.staff-detail-item-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.staff-detail-item-copy span {
  min-width: 0;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.staff-detail-item-copy em {
  color: var(--gold);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.staff-detail-item-copy strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 840;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.staff-detail-item-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 660;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.staff-detail-item-price {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.staff-detail-empty,
.staff-detail-note {
  margin: 0;
  align-self: start;
  overflow-wrap: anywhere;
}

.staff-detail-note {
  padding: 0 2px;
}

.staff-detail-actions {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  overflow: visible;
}

.staff-detail-actions-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-detail-actions-single {
  grid-template-columns: 1fr;
}

.staff-detail-actions .owner-action,
.staff-detail-actions .owner-secondary-action {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  padding-inline: 10px;
}

.staff-detail-actions .owner-action span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-detail-complete {
  background: linear-gradient(180deg, #21a160, #13733e);
}

.staff-detail-clear {
  background: linear-gradient(180deg, #e0001b, #aa0014);
}

.staff-detail-close {
  min-height: 48px;
}

.dish-detail-content {
  padding-bottom: 18px;
}

.detail-image {
  height: 196px;
  margin-bottom: 18px;
  border-radius: 8px;
  background-image: var(--dish-image);
  background-size: 610px auto;
  background-repeat: no-repeat;
  box-shadow: 0 14px 30px rgba(31, 28, 22, 0.11);
}

.detail-image.burrata {
  background-position: 41% 58%;
}

.detail-image.bruschetta {
  background-position: 45% 17%;
}

.detail-image.pasta {
  background-position: 78% 16%;
}

.detail-image.pizza {
  background-position: 94% 69%;
}

.detail-price {
  margin: 8px 0 0;
  color: var(--tomato);
  font-size: 25px;
  font-weight: 680;
}

.detail-list {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.detail-list strong {
  color: var(--ink);
}

.modifier-area {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.modifier-area h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.modifier-group {
  margin: 0 0 17px;
  padding: 0;
  border: 0;
}

.modifier-group legend {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.modifier-options {
  display: grid;
  gap: 8px;
}

.modifier-option {
  min-height: 50px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.86);
  color: var(--ink);
}

.modifier-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modifier-check {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(23, 108, 54, 0.42);
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}

.modifier-option input[type="checkbox"] + .modifier-check {
  border-radius: 5px;
}

.modifier-option:has(input:checked) {
  border-color: rgba(23, 108, 54, 0.42);
  background: var(--green-soft);
}

.modifier-option:has(input:checked) .modifier-check {
  background: var(--green);
}

.modifier-label {
  min-width: 0;
  font-size: 15px;
  line-height: 1.25;
}

.modifier-price {
  color: var(--tomato);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.selection-actions {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--border);
  background: rgba(255, 254, 253, 0.96);
  backdrop-filter: blur(14px);
}

.quantity-control,
.compact-quantity {
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.quantity-control button,
.compact-quantity button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
}

.quantity-control svg,
.compact-quantity svg {
  width: 20px;
  height: 20px;
}

.quantity-control strong,
.compact-quantity span {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.add-selection-button,
.taken-button {
  min-width: 0;
  min-height: 54px;
  padding: 0 14px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #c51a22, var(--tomato));
  box-shadow: 0 12px 24px rgba(182, 17, 25, 0.2);
  font-weight: 760;
}

.add-selection-button span,
.taken-button span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.add-selection-button strong {
  white-space: nowrap;
}

.selection-list {
  display: grid;
  gap: 12px;
}

.selection-item {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.9);
}

.selection-item-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.selection-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.07;
}

.selection-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}

.selection-item-top strong {
  color: var(--tomato);
  font-size: 18px;
  white-space: nowrap;
}

.selection-item-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 13px;
}

.compact-quantity {
  width: 128px;
  min-height: 44px;
  grid-template-columns: 36px 1fr 36px;
}

.compact-quantity button {
  width: 36px;
  height: 36px;
}

.remove-selection {
  min-height: 42px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.remove-selection svg {
  width: 18px;
  height: 18px;
}

.selection-summary {
  margin-top: 16px;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
}

.selection-summary strong {
  color: var(--tomato);
  font-size: 24px;
}

.taken-button {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.taken-button svg {
  width: 22px;
  height: 22px;
}

.language-grid {
  display: grid;
  gap: 10px;
}

.language-button {
  min-height: 58px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 254, 253, 0.88);
  font-weight: 650;
  text-align: start;
}

.language-flag {
  width: 38px;
  height: 26px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.flag-de {
  background: linear-gradient(#111 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666%);
}

.flag-sq {
  background: radial-gradient(circle at 50% 50%, #141414 0 14%, transparent 15%), #e41e20;
}

.flag-ar {
  background: linear-gradient(#0a7b39, #0a7b39);
}

.flag-ar::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.94);
}

.flag-bg {
  background: linear-gradient(#fff 0 33.333%, #15966f 33.333% 66.666%, #d62612 66.666%);
}

.flag-zh {
  background:
    radial-gradient(circle at 11px 9px, #ffde00 0 3px, transparent 3.4px),
    radial-gradient(circle at 20px 5px, #ffde00 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 23px 10px, #ffde00 0 1.2px, transparent 1.6px),
    #de2910;
}

.flag-en {
  background:
    linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(transparent 36%, #fff 36% 64%, transparent 64%),
    linear-gradient(90deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(transparent 43%, #c8102e 43% 57%, transparent 57%),
    #012169;
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.333%, #fff 33.333% 66.666%, #ef4135 66.666%);
}

.flag-el {
  background: repeating-linear-gradient(#0d5eaf 0 3px, #fff 3px 6px);
}

.flag-el::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 14px;
  left: 0;
  top: 0;
  background:
    linear-gradient(90deg, transparent 36%, #fff 36% 64%, transparent 64%),
    linear-gradient(transparent 36%, #fff 36% 64%, transparent 64%),
    #0d5eaf;
}

.flag-hi,
.flag-mr,
.flag-te {
  background: linear-gradient(#ff9933 0 33.333%, #fff 33.333% 66.666%, #128807 66.666%);
}

.flag-hi::after,
.flag-mr::after,
.flag-te::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 9px;
  width: 7px;
  height: 7px;
  border: 1px solid #000088;
  border-radius: 999px;
}

.flag-it {
  background: linear-gradient(90deg, #009246 0 33.333%, #fff 33.333% 66.666%, #ce2b37 66.666%);
}

.flag-ja {
  background: radial-gradient(circle at 50% 50%, #bc002d 0 6px, transparent 6.5px), #fff;
}

.flag-ko {
  background:
    radial-gradient(circle at 50% 50%, #cd2e3a 0 5px, transparent 5.5px),
    radial-gradient(circle at 50% 58%, #0047a0 0 5px, transparent 5.5px),
    #fff;
}

.flag-hr {
  background: linear-gradient(#ff0000 0 33.333%, #fff 33.333% 66.666%, #171796 66.666%);
}

.flag-hr::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  width: 7px;
  height: 9px;
  background: #d00000;
  box-shadow: inset 0 -3px 0 #fff, inset 0 -6px 0 #171796;
}

.flag-nl {
  background: linear-gradient(#ae1c28 0 33.333%, #fff 33.333% 66.666%, #21468b 66.666%);
}

.flag-pl {
  background: linear-gradient(#fff 0 50%, #dc143c 50%);
}

.flag-pt {
  background: linear-gradient(90deg, #006600 0 40%, #ff0000 40%);
}

.flag-pt::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffcc00;
}

.flag-ro {
  background: linear-gradient(90deg, #002b7f 0 33.333%, #fcd116 33.333% 66.666%, #ce1126 66.666%);
}

.flag-ru {
  background: linear-gradient(#fff 0 33.333%, #0039a6 33.333% 66.666%, #d52b1e 66.666%);
}

.flag-sr {
  background: linear-gradient(#c6363c 0 33.333%, #0c4076 33.333% 66.666%, #fff 66.666%);
}

.flag-es {
  background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.flag-es::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  width: 5px;
  height: 7px;
  background: #aa151b;
  border-radius: 1px;
}

.flag-cs {
  background: linear-gradient(#fff 0 50%, #d7141a 50%);
}

.flag-cs::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #11457e;
}

.flag-tr {
  background: #e30a17;
}

.flag-tr::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
}

.flag-tr::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #e30a17;
}

.flag-uk {
  background: linear-gradient(#0057b7 0 50%, #ffd700 50%);
}

.flag-vi {
  background:
    radial-gradient(circle at 50% 50%, #ffde00 0 5px, transparent 5.5px),
    #da251d;
}

.language-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  justify-items: start;
  text-align: left;
}

.language-copy strong,
.language-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-button small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
}

.language-code {
  min-width: 22px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
}

.language-button[aria-pressed="true"] .language-code {
  color: var(--green);
}

.language-button[aria-pressed="true"] {
  border-color: rgba(23, 108, 54, 0.38);
  background: var(--green-soft);
  color: var(--green);
}

.owner-shell {
  width: min(100%, 1060px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(189, 135, 50, 0.08) 0 1px, transparent 1px calc(100% - 1px), rgba(189, 135, 50, 0.08) calc(100% - 1px)),
    repeating-linear-gradient(0deg, rgba(73, 57, 40, 0.018) 0 1px, transparent 1px 7px),
    var(--paper);
  box-shadow: 0 0 70px rgba(24, 22, 18, 0.13);
}

.owner-hero {
  min-height: 278px;
  padding: 22px;
  display: grid;
  align-content: end;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.22), rgba(10, 9, 8, 0.82)),
    var(--dish-image);
  background-size: cover;
  background-position: 50% 47%;
  box-shadow: var(--shadow);
}

.owner-back {
  width: fit-content;
  min-height: 42px;
  margin-bottom: 52px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  text-decoration: none;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.owner-back svg,
.owner-action svg,
.owner-secondary-action svg {
  width: 20px;
  height: 20px;
}

.owner-hero p,
.owner-email-card p,
.owner-panel-head p {
  margin: 0;
  color: #e2be72;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.1;
}

.owner-hero h1 {
  margin: 7px 0 8px;
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(46px, 8vw, 76px);
  font-weight: 500;
  line-height: 0.94;
}

.owner-hero > span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.owner-email-card,
.owner-metric,
.owner-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.86);
}

.owner-email-card {
  margin-top: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.owner-email-card h2 {
  margin: 5px 0 5px;
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 500;
  line-height: 1.05;
}

.owner-email-card span {
  color: var(--muted);
  line-height: 1.45;
}

.owner-card-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.owner-action,
.owner-secondary-action {
  min-height: 50px;
  padding: 0 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 760;
  text-align: center;
}

.owner-action {
  color: #fff;
  background: linear-gradient(180deg, #c51a22, var(--tomato));
  box-shadow: 0 12px 24px rgba(182, 17, 25, 0.18);
}

.staff-start-action {
  color: #fff;
  background: linear-gradient(180deg, #1f8f4e, var(--green));
  box-shadow: 0 12px 24px rgba(23, 108, 54, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.staff-end-action {
  color: #fff;
  background: linear-gradient(180deg, #c51a22, var(--tomato));
  box-shadow: 0 12px 24px rgba(182, 17, 25, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.staff-start-action:disabled {
  background: linear-gradient(180deg, #1f8f4e, var(--green));
}

.staff-end-action:disabled {
  background: linear-gradient(180deg, #c51a22, var(--tomato));
}

.owner-secondary-action {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border);
}

.owner-action:disabled,
.owner-secondary-action:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
}

.owner-action.staff-start-action:disabled,
.owner-action.staff-end-action:disabled {
  opacity: 1;
  color: #fff;
}

.admin-hero {
  min-height: 246px;
}

.admin-shell {
  padding: 0 24px 24px;
}

.admin-platform-hero {
  margin: 0 -24px 20px;
  height: clamp(226px, 48vw, 244px);
}

.admin-platform-hero .hero-brand {
  inset: 52px 22px auto;
}

.admin-platform-hero .hero-brand p {
  margin-bottom: 4px;
  font-size: clamp(21px, 5vw, 24px);
}

.admin-platform-hero .restaurant-name {
  font-size: clamp(38px, 9vw, 54px);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.admin-platform-hero .hero-ornament {
  margin-top: 15px;
}

.admin-care-card h2 {
  max-width: 720px;
}

.admin-overview-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-overview-toolbar {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-overview-toolbar > span {
  min-height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.9);
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.admin-overview-toolbar strong {
  color: var(--ink);
}

.admin-search-control {
  min-height: 52px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.93);
  box-shadow: 0 10px 26px rgba(24, 20, 18, 0.05);
}

.admin-search-control svg {
  width: 23px;
  height: 23px;
  color: var(--muted);
}

.admin-search-control input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.admin-search-control input::placeholder {
  color: var(--faint);
}

.admin-restaurant-list {
  display: grid;
  gap: 12px;
}

.admin-restaurant-row {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.9fr);
  gap: 15px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.9);
}

.admin-restaurant-main p {
  margin: 0 0 5px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.1;
}

.admin-restaurant-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 670;
  line-height: 1.35;
}

.admin-restaurant-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-restaurant-meta strong {
  color: var(--ink);
  font-weight: 860;
}

.admin-restaurant-main h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  line-height: 1;
}

.admin-restaurant-main span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.admin-row-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-row-metrics span {
  min-height: 70px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.admin-row-metrics strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.admin-row-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.platform-restaurant-list,
.staff-request-list,
.staff-selection-list {
  display: grid;
  gap: 12px;
}

.platform-restaurant-card,
.staff-shift-card,
.staff-request-card,
.staff-selection-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.9);
}

.platform-restaurant-card {
  padding: 16px;
}

.admin-restaurant-card {
  display: grid;
  gap: 13px;
}

.platform-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  gap: 14px;
  align-items: start;
}

.admin-platform-card-head {
  align-items: center;
}

.platform-card-head span,
.staff-shift-card span,
.staff-selection-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.platform-card-head h3 {
  margin: 4px 0 5px;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  line-height: 1;
}

.platform-card-head p,
.staff-status-note,
.staff-selection-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.platform-metric-strip,
.admin-live-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.platform-metric-strip span,
.admin-live-metrics span {
  min-width: 0;
  min-height: 72px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
}

.platform-metric-strip strong,
.admin-live-metrics strong {
  min-width: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(21px, 4.2vw, 28px);
  font-weight: 500;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-metric-strip small,
.admin-live-metrics small {
  min-width: 0;
  display: block;
  overflow: hidden;
  color: var(--faint);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-card-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
}

.platform-card-actions .owner-action,
.platform-card-actions .owner-secondary-action {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  padding-inline: 10px;
}

.platform-card-actions span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-count-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: end;
}

.table-count-form label {
  display: grid;
  gap: 6px;
}

.table-stepper {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 44px minmax(62px, 1fr) 44px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.table-stepper button {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.table-stepper button:first-child {
  border-right: 1px solid var(--border);
}

.table-stepper button:last-child {
  border-left: 1px solid var(--border);
}

.table-stepper button svg {
  width: 18px;
  height: 18px;
}

.table-stepper input,
.table-count-form input {
  width: 100%;
  height: 48px;
  padding: 0 8px;
  border: 0;
  background: #fff;
  color: var(--ink);
  text-align: center;
  font-weight: 850;
}

.table-count-form > button.admin-save-success,
.admin-settings-footer .admin-save-success {
  background: linear-gradient(180deg, #1f8f4e, var(--green));
  box-shadow: 0 12px 24px rgba(23, 108, 54, 0.18);
}

.platform-url-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.platform-url-grid > div {
  min-width: 0;
  padding: 13px;
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background: var(--paper);
}

.platform-url-card-head,
.platform-table-url-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.platform-table-url-row {
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.78);
}

.platform-table-url-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.platform-url-grid strong {
  color: var(--ink);
}

.platform-url-grid code {
  min-width: 0;
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-url-grid a {
  color: var(--tomato);
  font-weight: 760;
  text-decoration: none;
}

.copy-url-button {
  min-height: 34px;
  padding: 0 9px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(189, 135, 50, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 830;
}

.copy-url-button svg {
  width: 16px;
  height: 16px;
}

.copy-url-button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.admin-detail-console,
.admin-detail-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 14px;
}

.admin-detail-secondary-grid {
  margin-top: 14px;
}

.admin-detail-hero {
  position: relative;
}

.admin-detail-back {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  margin: 0;
}

.admin-workspace-nav {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
}

.admin-workspace-nav .owner-action,
.admin-workspace-nav .owner-secondary-action {
  width: 100%;
  min-height: 48px;
}

.admin-workspace-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-settings-form {
  display: grid;
  gap: 12px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-form-grid-compact {
  grid-template-columns: minmax(130px, 0.55fr) minmax(170px, 1fr);
  align-items: end;
}

.admin-form-grid-address {
  grid-template-columns: minmax(105px, 0.42fr) minmax(150px, 0.72fr) minmax(150px, 0.76fr);
  align-items: end;
}

.admin-form-field {
  display: grid;
  gap: 6px;
}

.admin-form-field span,
.admin-status-toggle span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.25;
}

.admin-form-field input {
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  outline: 0;
}

.admin-form-field .table-stepper input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-form-field select,
.admin-form-field textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  outline: 0;
}

.admin-form-field select {
  height: 48px;
  padding: 0 12px;
}

.admin-form-field textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

.admin-form-field input:focus {
  border-color: rgba(189, 135, 50, 0.62);
  box-shadow: 0 0 0 3px rgba(189, 135, 50, 0.14);
}

.admin-form-field select:focus,
.admin-form-field textarea:focus {
  border-color: rgba(189, 135, 50, 0.62);
  box-shadow: 0 0 0 3px rgba(189, 135, 50, 0.14);
}

.admin-status-toggle {
  min-height: 48px;
  padding: 0 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.admin-status-toggle input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.admin-settings-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-settings-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.35;
}

.admin-settings-status-success {
  color: var(--green);
}

.admin-settings-status-error {
  color: var(--tomato);
}

.admin-live-panel .owner-panel-head,
.admin-readiness-panel .owner-panel-head,
.admin-activity-panel .owner-panel-head,
.admin-nfc-panel .owner-panel-head {
  margin-bottom: 12px;
}

.admin-live-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-live-list,
.admin-check-list,
.admin-activity-list,
.admin-table-url-list {
  display: grid;
  gap: 8px;
}

.admin-live-list {
  margin-top: 12px;
}

.admin-live-list > strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.admin-live-row {
  min-height: 44px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: minmax(68px, auto) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  background: var(--paper);
}

.admin-live-row span,
.admin-live-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.admin-live-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-check-row,
.admin-activity-row {
  min-width: 0;
  min-height: 48px;
  padding: 10px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  background: var(--paper);
}

.admin-check-row > span,
.admin-activity-row > span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
}

.admin-check-row svg {
  width: 17px;
  height: 17px;
}

.admin-check-row-ok > span {
  background: var(--green-soft);
  color: var(--green);
}

.admin-check-row-open > span {
  background: var(--tomato-soft);
  color: var(--tomato);
}

.admin-check-row strong,
.admin-activity-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-check-row small,
.admin-activity-row small {
  display: block;
  min-width: 0;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-activity-row > span {
  background: linear-gradient(180deg, var(--gold), #8f5d1d);
}

.admin-detail-url-grid {
  margin-top: 0;
}

.admin-report-status,
.admin-menu-status {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.admin-report-status-success,
.admin-menu-status-success {
  background: var(--green-soft);
  color: var(--green);
}

.admin-report-status-info,
.admin-menu-status-info {
  background: #eef6ff;
  color: #0f5ac6;
}

.admin-report-status-error,
.admin-menu-status-error {
  background: var(--tomato-soft);
  color: var(--tomato);
}

.admin-report-target {
  margin-top: 12px;
  padding: 12px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.admin-report-target span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.admin-report-target strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
  font-weight: 860;
}

.admin-report-facts {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-report-facts span {
  min-height: 70px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 4px;
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.86);
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.15;
}

.admin-report-facts strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-report-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.admin-menu-panel {
  display: grid;
  gap: 14px;
}

.admin-create-panel {
  margin: 0 0 14px;
  display: grid;
  gap: 14px;
}

.admin-create-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.admin-create-panel-head .owner-panel-head {
  margin-bottom: 0;
}

.admin-create-toggle {
  min-width: 190px;
}

.admin-nfc-panel {
  display: grid;
  gap: 12px;
}

.admin-nfc-access-card {
  padding: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.admin-nfc-access-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 840;
}

.admin-nfc-access-card code,
.admin-nfc-url-row code {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-nfc-access-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-nfc-access-actions .owner-secondary-action {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.admin-nfc-access-actions .owner-secondary-action svg {
  width: 16px;
  height: 16px;
}

.admin-nfc-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.admin-nfc-details summary {
  min-height: 58px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.admin-nfc-details summary::-webkit-details-marker {
  display: none;
}

.admin-nfc-details summary::after {
  content: "↓";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(189, 135, 50, 0.13);
  color: var(--gold);
  font-weight: 900;
}

.admin-nfc-details[open] summary::after {
  content: "↑";
}

.admin-nfc-details summary strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 880;
}

.admin-nfc-details summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.admin-table-url-list {
  padding: 0 12px 12px;
  display: grid;
  gap: 8px;
}

.admin-nfc-url-row {
  min-width: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.88);
}

.admin-nfc-url-row > strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 870;
  white-space: nowrap;
}

.admin-menu-panel-head,
.admin-menu-block-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.admin-menu-panel-head .owner-panel-head {
  margin-bottom: 0;
}

.admin-menu-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-menu-summary span {
  min-height: 44px;
  padding: 8px 11px;
  display: inline-grid;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.1;
}

.admin-menu-summary strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.admin-menu-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}

.admin-menu-editor-card {
  min-width: 0;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.admin-menu-editor-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 500;
  line-height: 1.06;
}

.admin-menu-form {
  display: grid;
  gap: 11px;
}

.admin-menu-form-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 9px;
}

.admin-menu-list,
.admin-menu-items-list {
  display: grid;
  gap: 8px;
}

.admin-menu-row,
.admin-menu-item-row {
  min-width: 0;
  padding: 11px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.9);
}

.admin-menu-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.admin-menu-item-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(130px, 0.42fr) auto;
  align-items: center;
}

.admin-menu-row-inactive {
  opacity: 0.62;
}

.admin-menu-row strong,
.admin-menu-item-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-menu-row small,
.admin-menu-item-row small,
.admin-menu-item-meta span {
  display: block;
  min-width: 0;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-menu-item-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-menu-row > div:last-child,
.admin-menu-item-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.admin-menu-row button,
.admin-menu-item-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.admin-menu-row button:last-child,
.admin-menu-item-actions button:last-child {
  color: var(--tomato);
  border-color: rgba(182, 17, 25, 0.2);
  background: var(--tomato-soft);
}

.admin-menu-row-inactive button:last-child,
.admin-menu-item-row.admin-menu-row-inactive .admin-menu-item-actions button:last-child {
  color: var(--green);
  border-color: rgba(23, 108, 54, 0.22);
  background: var(--green-soft);
}

.admin-menu-item-meta {
  min-width: 0;
  text-align: right;
}

.admin-menu-items-block {
  display: grid;
  gap: 10px;
}

.admin-menu-block-head > strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 880;
}

.staff-shell {
  width: min(100%, 520px);
  max-width: 520px;
  padding: 0 0 28px;
  position: relative;
  overflow: visible;
}

.staff-hero {
  height: clamp(226px, 48vw, 244px);
  min-height: 0;
  padding: 48px 24px 24px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.2), rgba(10, 9, 8, 0.78)),
    var(--dish-image);
  background-size: cover;
  background-position: 50% 48%;
  box-shadow: var(--shadow);
}

.staff-shell .staff-shift-card,
.staff-shell [data-staff-dashboard] {
  margin-left: 16px;
  margin-right: 16px;
}

.staff-shell .staff-shift-card {
  margin-top: 18px;
}

.staff-shell [data-staff-dashboard] {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.staff-shell .staff-kpi-grid {
  margin-top: 0;
}

.staff-hero p {
  margin: 0;
  color: #e2be72;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.1;
}

.staff-hero h1 {
  max-width: min(100%, 680px);
  margin: 6px 0 8px;
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 500;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.staff-hero > span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
  line-height: 1.35;
}

.staff-hero.restaurant-hero {
  display: block;
  padding: 0;
  background: #171713;
  box-shadow: none;
}

.staff-hero.restaurant-hero .hero-brand {
  inset: 48px 24px auto;
}

.staff-hero.restaurant-hero .hero-brand p {
  margin: 0 0 2px;
  color: #e2be72;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.staff-hero.restaurant-hero .restaurant-name {
  max-width: none;
  margin: 0;
  font-size: clamp(52px, 14vw, 72px);
  line-height: 0.92;
  overflow-wrap: normal;
}

.staff-hero.restaurant-hero .hero-ornament {
  margin-top: 14px;
}

.staff-shift-card {
  margin-top: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.staff-shift-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.staff-shift-actions .owner-action {
  position: relative;
  min-height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  overflow: hidden;
}

.staff-shift-actions .owner-action span {
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.26);
}

.staff-shift-actions .owner-action svg {
  color: #fff;
  stroke: currentColor;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.staff-push-action {
  min-height: 70px;
  justify-content: center;
}

.staff-push-action[data-push-active="true"] {
  border-color: rgba(18, 98, 214, 0.3);
  background: #eef6ff;
  color: #0f5ac6;
  box-shadow: inset 0 0 0 1px rgba(18, 98, 214, 0.08);
}

.staff-push-action[data-push-active="true"] svg {
  color: #0f5ac6;
}

.staff-shift-actions .owner-action[data-current-label]:not([data-current-label=""]) {
  transform: translateY(-1px);
  box-shadow:
    0 16px 30px rgba(14, 29, 22, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.staff-shift-actions .owner-action[data-current-label]:not([data-current-label=""])::after {
  content: attr(data-current-label);
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.staff-shift-card[data-shift-mode="active"] .staff-shift-actions .staff-start-action[data-current-label]:not([data-current-label=""]) {
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 0 0 3px rgba(31, 143, 78, 0.26),
    0 17px 34px rgba(23, 108, 54, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.staff-shift-card[data-shift-mode="inactive"] .staff-shift-actions .staff-end-action[data-current-label]:not([data-current-label=""]) {
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 0 0 3px rgba(198, 26, 34, 0.24),
    0 17px 34px rgba(182, 17, 25, 0.23),
    inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.staff-status-note {
  grid-column: 1 / -1;
}

.staff-table-overview {
  display: grid;
  gap: 13px;
}

.staff-table-overview-head {
  padding: 0 2px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.staff-table-overview-head p {
  margin: 0 0 3px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.1;
}

.staff-table-overview-head h2 {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
}

.staff-table-overview-head > span {
  min-width: 60px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 254, 253, 0.88);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.staff-table-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.staff-table-card {
  min-width: 0;
  min-height: 164px;
  padding: 11px;
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.94);
  box-shadow: 0 10px 24px rgba(24, 20, 18, 0.06);
  overflow: hidden;
}

.staff-table-card-actionable {
  cursor: pointer;
  border-width: 2px;
  touch-action: manipulation;
}

.staff-table-card-actionable:active {
  transform: translateY(1px);
}

.staff-table-card-actionable:focus-visible {
  outline: 3px solid rgba(16, 94, 205, 0.28);
  outline-offset: 3px;
}

.staff-table-main {
  min-width: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.staff-table-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  flex: 0 0 auto;
}

.staff-table-icon svg {
  width: 20px;
  height: 20px;
}

.staff-table-main small,
.staff-table-amount span,
.staff-table-amount small,
.staff-table-alert small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  line-height: 1.2;
}

.staff-table-main strong {
  display: block;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 34px;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 780;
  line-height: 0.92;
}

.staff-table-state {
  min-height: 30px;
  padding: 6px 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  border-radius: 999px;
  background: var(--paper);
}

.staff-table-state span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.staff-table-state strong {
  min-width: 0;
  color: currentColor;
  font-size: 10px;
  font-weight: 880;
  line-height: 1.1;
  text-align: center;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}

.staff-table-amount {
  min-width: 0;
  padding: 9px;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(40, 31, 24, 0.06);
}

.staff-table-amount strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(19px, 4.4vw, 25px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.staff-table-card-free {
  border-color: rgba(74, 101, 88, 0.18);
  color: #315f4d;
}

.staff-table-card-free .staff-table-icon {
  background: #e5f3ea;
  color: #315f4d;
}

.staff-table-card-free .staff-table-state {
  background: #dff2e7;
  color: #315f4d;
}

.staff-table-card-occupied {
  border-color: #f2a51f;
  background: linear-gradient(180deg, #fffaf0, #fff1cf);
  color: #b66b00;
  box-shadow: 0 12px 28px rgba(221, 135, 8, 0.13);
}

.staff-table-card-occupied .staff-table-icon,
.staff-table-card-occupied .staff-table-state {
  background: #ffe3a3;
  color: #a76300;
}

.staff-table-card-service {
  border-color: #e0001b;
  background: linear-gradient(180deg, #fff5f6, #ffdce0);
  color: #cf0018;
  box-shadow: 0 14px 32px rgba(224, 0, 27, 0.18);
}

.staff-table-card-service .staff-table-icon,
.staff-table-card-service .staff-table-state {
  background: #e0001b;
  color: #fff;
}

.staff-table-card-payment {
  border-color: #1262d6;
  background: linear-gradient(180deg, #f3f8ff, #d9e9ff);
  color: #0f5ac6;
  box-shadow: 0 14px 32px rgba(18, 98, 214, 0.18);
}

.staff-table-card-payment .staff-table-icon,
.staff-table-card-payment .staff-table-state {
  background: #1262d6;
  color: #fff;
}

.staff-table-card-mixed {
  border-color: #8a2be2;
  background: linear-gradient(135deg, #fff0f4, #eee3ff);
  color: #7818cf;
  box-shadow: 0 14px 32px rgba(138, 43, 226, 0.17);
}

.staff-table-card-mixed .staff-table-icon,
.staff-table-card-mixed .staff-table-state {
  background: #8a2be2;
  color: #fff;
}

.staff-table-alerts {
  display: grid;
  gap: 6px;
}

.staff-table-alert {
  min-width: 0;
  width: 100%;
  min-height: 36px;
  padding: 0 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 4px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.staff-table-alert-label,
.staff-table-alert-age,
.staff-table-alert strong {
  min-width: 0;
  display: block;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}

.staff-table-alert-label {
  color: var(--ink);
  font-size: 10px;
  font-weight: 880;
  line-height: 1.1;
}

.staff-table-alert-age {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.staff-table-alert strong {
  padding: 5px 6px;
  border-radius: 7px;
  color: #fff;
  background: var(--green);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.staff-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.staff-request-card {
  min-height: 92px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.staff-request-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.staff-request-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.staff-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.staff-card-actions .owner-action,
.staff-card-actions .owner-secondary-action {
  min-height: 44px;
}

.staff-selection-card {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.staff-selection-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.staff-selection-head strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.staff-selection-head small {
  color: var(--muted);
  font-size: 13px;
}

.staff-selection-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.staff-selection-card li {
  min-height: 38px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.order-warning {
  color: var(--tomato);
  font-weight: 720;
}

.owner-kpi-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.owner-metric {
  min-width: 0;
  min-height: 148px;
  padding: 16px 18px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  overflow: hidden;
}

.owner-metric span,
.owner-metric small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.owner-metric strong {
  max-width: 100%;
  display: block;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.02;
  text-overflow: clip;
  white-space: nowrap;
}

.owner-metric.green strong {
  color: var(--green);
}

.owner-metric.gold strong {
  color: var(--gold);
}

.owner-metric.tomato strong {
  color: var(--tomato);
}

.owner-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.owner-panel {
  min-width: 0;
  padding: 18px;
  overflow: hidden;
}

.owner-wide-panel {
  margin-top: 12px;
}

.owner-panel-head {
  margin-bottom: 14px;
}

.owner-panel-head h2 {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.04;
}

.owner-bar-list {
  display: grid;
  gap: 13px;
}

.owner-bar-row {
  display: grid;
  gap: 7px;
}

.owner-bar-row > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(82px, auto);
  gap: 12px;
  align-items: start;
}

.owner-bar-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.owner-bar-row span {
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.owner-bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-deep);
}

.owner-bar-track span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.google-owner-summary {
  min-height: 156px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  background: var(--gold-soft);
  border-radius: 8px;
}

.google-owner-summary strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.9;
}

.google-owner-summary span,
.google-owner-summary small,
.owner-empty {
  color: var(--muted);
  line-height: 1.45;
}

.owner-comment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.owner-comment {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.owner-comment div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.owner-comment strong {
  color: var(--gold);
  letter-spacing: 1px;
}

.owner-comment span {
  color: var(--muted);
  font-size: 13px;
}

.owner-comment p {
  margin: 12px 0 0;
  color: var(--ink);
  line-height: 1.45;
}

.owner-recommendations {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  color: var(--ink);
  line-height: 1.45;
}

.email-preview {
  display: grid;
  gap: 12px;
}

.email-preview > strong {
  padding: 13px 14px;
  border-radius: 8px;
  background: var(--paper);
}

.email-preview pre {
  max-height: 360px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.owner-actions-row {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 430px) {
  .owner-shell {
    padding: 14px;
  }

  .admin-shell {
    padding: 0 14px 14px;
  }

  .admin-platform-hero {
    margin: 0 -14px 18px;
  }

  .staff-shell {
    padding: 0 0 28px;
  }

  .staff-hero {
    height: 252px;
    padding: 54px 18px 22px;
  }

  .owner-hero {
    min-height: 238px;
    padding: 18px;
  }

  .owner-back {
    margin-bottom: 36px;
  }

  .owner-email-card,
  .owner-kpi-grid,
  .owner-grid,
  .platform-card-head,
  .platform-url-grid,
  .admin-detail-console,
  .admin-form-grid,
  .admin-form-grid-address,
  .admin-report-actions,
  .admin-nfc-access-card,
  .staff-shift-card,
  .staff-kpi-grid,
  .staff-request-card {
    grid-template-columns: 1fr;
  }

  .admin-restaurant-row,
  .admin-row-metrics,
  .platform-metric-strip,
  .platform-card-actions,
  .admin-report-facts,
  .admin-restaurant-meta,
  .admin-workspace-nav {
    grid-template-columns: 1fr;
  }

  .owner-card-actions {
    width: 100%;
  }

  .owner-action,
  .owner-secondary-action {
    width: 100%;
  }

  .table-count-form {
    grid-template-columns: 1fr;
  }

  .admin-nfc-access-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-nfc-url-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .admin-nfc-url-row .copy-url-button {
    width: 100%;
  }

  .staff-shift-actions,
  .staff-card-actions {
    justify-content: stretch;
  }

  .owner-comment-list {
    grid-template-columns: 1fr;
  }

  .owner-actions-row {
    justify-content: stretch;
  }

  .language-button {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
  }

  .restaurant-hero {
    height: 252px;
  }

  .hero-brand {
    top: 54px;
  }

  .status-band {
    padding: 0 16px;
  }

  .status-band-item {
    gap: 8px;
    font-size: 15px;
  }

  .menu-head,
  .filter-strip,
  .content-area,
  .featured-dish,
  .category-tabs {
    padding-left: 18px;
    padding-right: 18px;
  }

  .guest-service-card {
    margin-left: 12px;
    margin-right: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .toolbar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .menu-language-button {
    right: 14px;
    grid-template-columns: 24px auto;
  }

  .menu-language-button span {
    display: none;
  }

  .featured-dish {
    gap: 16px;
  }

  .featured-copy p:first-child {
    font-size: 18px;
  }

  .featured-copy h3 {
    font-size: 34px;
  }

  .featured-description {
    font-size: 15px;
  }

  .utility-bar {
    padding-left: 6px;
    padding-right: 6px;
  }

  .search-wrap {
    grid-template-columns: 1fr;
  }

  .search-filter-button {
    padding: 0 10px;
  }

  .dish-card {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
  }

  .dish-image {
    width: 110px;
    height: 96px;
    background-size: 375px auto;
  }

  .dish-description {
    font-size: 15px;
  }

  .selection-actions {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .add-selection-button {
    font-size: 14px;
  }

  .utility-button {
    font-size: 10px;
    min-height: 60px;
  }

  .selection-count {
    right: 7%;
  }
}

@media (max-width: 760px) {
  .owner-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-card-head,
  .platform-url-grid,
  .platform-card-actions,
  .admin-detail-console,
  .admin-form-grid,
  .admin-form-grid-address,
  .admin-report-actions,
  .admin-nfc-access-card,
  .admin-nfc-url-row,
  .staff-shift-card,
  .staff-kpi-grid,
  .staff-request-card {
    grid-template-columns: 1fr;
  }

  .admin-restaurant-meta,
  .admin-report-facts,
  .admin-workspace-nav {
    grid-template-columns: 1fr;
  }

  .table-count-form {
    grid-template-columns: 1fr;
  }

  .admin-create-panel-head,
  .admin-menu-panel-head,
  .admin-menu-block-head {
    display: grid;
    align-items: start;
  }

  .staff-shift-actions,
  .staff-card-actions {
    justify-content: stretch;
  }

  .staff-shift-actions .owner-action,
  .staff-shift-actions .owner-secondary-action,
  .staff-card-actions .owner-action,
  .staff-card-actions .owner-secondary-action {
    width: 100%;
  }
}

@media (max-width: 350px) {
  .utility-button {
    font-size: 9px;
  }

  .featured-dish,
  .dish-card {
    grid-template-columns: 1fr;
  }

  .featured-image {
    aspect-ratio: 16 / 10;
  }

  .dish-image {
    width: 100%;
    height: 132px;
    background-size: 430px auto;
  }

  .search-wrap {
    grid-template-columns: 1fr;
  }

  .search-filter-button {
    justify-content: center;
  }

  .selection-actions,
  .selection-item-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .quantity-control,
  .compact-quantity {
    width: 100%;
  }
}

@media (min-width: 760px) {
  body {
    padding: 24px 0;
  }

  .app-shell {
    min-height: calc(100vh - 48px);
    border-radius: 8px;
  }

  .restaurant-hero {
    border-radius: 8px 8px 0 0;
  }

  .utility-bar {
    bottom: 24px;
    border-radius: 0 0 8px 8px;
  }

  .owner-shell {
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dish-card,
  .filter-chip,
  .utility-button,
  .language-button,
  .featured-dish,
  .tab-button {
    transition:
      transform 150ms ease,
      background 150ms ease,
      border-color 150ms ease,
      color 150ms ease;
  }

  .dish-card:hover,
  .featured-dish:hover,
  .language-button:hover {
    transform: translateY(-1px);
  }
}

.wishlist-sheet {
  max-height: min(92dvh, 740px);
}

.wishlist-sheet .sheet-header,
.wishlist-footer {
  flex: 0 0 auto;
}

.wishlist-sheet .sheet-header > div {
  min-width: 0;
}

.wishlist-sheet .close-button {
  flex: 0 0 40px;
}

.wishlist-sheet .sheet-title {
  font-size: 28px;
  overflow-wrap: anywhere;
}

.wishlist-sheet .sheet-content {
  min-height: 0;
  padding-bottom: 16px;
}

.wishlist-footer {
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  background: #fffefd;
  border-top: 1px solid var(--border);
}

.wishlist-footer .selection-summary {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.wishlist-footer .taken-button {
  margin: 0;
  padding: 10px 14px;
}

@media (max-width: 430px) {
  .staff-table-detail-hero {
    flex-wrap: wrap;
    padding: 10px;
    gap: 8px;
  }

  .staff-table-detail-title {
    flex: 1 1 160px;
  }

  .staff-table-detail-title strong {
    font-size: 28px;
    line-height: 1.1;
    overflow-wrap: normal;
  }

  .staff-table-detail-icon {
    width: 38px;
    height: 38px;
  }

  .staff-table-detail-status {
    max-width: 100%;
  }
}

.staff-table-amount > span {
  white-space: normal;
  overflow-wrap: anywhere;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .search-wrap > svg {
  right: 18px;
  left: auto;
}

html[dir="rtl"] .search-input {
  padding: 0 56px 0 16px;
}

html[dir="rtl"] .featured-copy,
html[dir="rtl"] .dish-card,
html[dir="rtl"] .sheet-content,
html[dir="rtl"] .selection-item {
  text-align: right;
}

html[dir="rtl"] .featured-rule {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .dish-topline,
html[dir="rtl"] .selection-item-top {
  grid-template-columns: auto minmax(0, 1fr);
}

html[dir="rtl"] .dish-title,
html[dir="rtl"] .selection-item h3 {
  grid-column: 2;
  grid-row: 1;
}

html[dir="rtl"] .dish-price,
html[dir="rtl"] .selection-item-top strong {
  grid-column: 1;
  grid-row: 1;
}
