:root {
  --ink: #101322;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --subtle: #9aa3b2;
  --line: #e7ebf2;
  --panel: #ffffff;
  --surface: #f6f7fb;
  --surface-2: #eef2ff;
  --navy: #07111f;
  --navy-2: #111827;
  --gold: #c8922b;
  --green: #12b76a;
  --green-soft: #dcfce7;
  --orange: #f97316;
  --orange-soft: #ffedd5;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --violet: #7c3aed;
  --violet-soft: #ede9fe;
  --shadow: 0 22px 70px rgba(15, 23, 42, .10);
  --shadow-soft: 0 14px 38px rgba(15, 23, 42, .07);
}

:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(124, 44, 255, .38);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, .13), transparent 32rem),
    radial-gradient(circle at bottom left, rgba(18, 183, 106, .12), transparent 28rem),
    var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a, button {
  border: 0;
  border-radius: 14px;
  padding: 13px 16px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
a:hover, button:hover { transform: translateY(-1px); }
button { color: white; background: var(--navy); }
button { min-height: 44px; }

.dashboard-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}
.dashboard-shell > aside {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px;
  color: white;
  background:
    radial-gradient(circle at 82% 8%, rgba(124, 58, 237, .42), transparent 9rem),
    radial-gradient(circle at 12% 86%, rgba(18, 183, 106, .22), transparent 11rem),
    linear-gradient(180deg, #06101d, #111827);
  overflow-y: auto;
}
.dashboard-shell > aside h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}
.dashboard-shell > aside h1::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border-radius: 14px;
  vertical-align: middle;
  background: linear-gradient(135deg, var(--gold), var(--green));
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.dashboard-shell > aside p {
  margin: 12px 0 24px;
  color: rgba(255,255,255,.68);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.dashboard-shell > aside nav { display: grid; gap: 9px; }
.dashboard-shell > aside nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  padding: 12px 14px;
}
.dashboard-shell > aside nav a:hover {
  color: white;
  background: rgba(255,255,255,.16);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.dashboard-shell > aside nav a.active {
  color: #07111f;
  background: linear-gradient(135deg, #ffffff, #dbeafe);
  border-color: rgba(255,255,255,.64);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.dashboard-shell > aside nav:has(.admin-nav-groups) { gap: 12px; }
.admin-nav-search { display: flex; align-items: center; gap: 8px; min-height: 43px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; color: rgba(255,255,255,.6); background: rgba(3,7,18,.32); }
.admin-nav-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: white; background: transparent; font: inherit; font-size: 13px; }
.admin-nav-search input::placeholder { color: rgba(255,255,255,.46); }
.admin-nav-groups { display: grid; gap: 7px; }
.admin-nav-group { border-radius: 13px; }
.admin-nav-group summary { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 37px; padding: 0 10px; border-radius: 11px; color: rgba(255,255,255,.56); cursor: pointer; list-style: none; font-size: 12px; font-weight: 950; letter-spacing: .72px; text-transform: uppercase; }
.admin-nav-group summary::-webkit-details-marker { display: none; }
.admin-nav-group summary:hover { color: white; background: rgba(255,255,255,.06); }
.admin-nav-group summary b { min-width: 21px; padding: 3px 6px; border-radius: 9px; color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); font-size: 11px; text-align: center; }
.admin-nav-group > div { display: grid; gap: 5px; padding: 5px 0 5px 7px; border-left: 1px solid rgba(255,255,255,.12); }
.dashboard-shell > aside nav .admin-nav-group a { padding: 10px 12px; border-radius: 10px; font-size: 12px; }
.admin-nav-group[hidden], .admin-nav-group a[hidden] { display: none !important; }
.nav-logout-form button { width: 100%; color: #fecaca; background: rgba(220,38,38,.14); border: 1px solid rgba(248,113,113,.2); }
.kitchen-main-nav { position: relative; }
.kitchen-main-nav > summary { padding: 12px 15px; border-radius: 13px; color: white; background: var(--violet); cursor: pointer; font-weight: 900; list-style: none; }
.kitchen-main-nav > nav { position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; width: min(320px, calc(100vw - 24px)); max-height: 72vh; overflow-y: auto; padding: 14px; border: 1px solid #28324b; border-radius: 18px; background: #0b1324; box-shadow: 0 25px 70px rgba(0,0,0,.4); }
.kitchen-main-nav .admin-nav-group > div { display: grid; gap: 5px; }
.kitchen-main-nav .admin-nav-group a { padding: 10px 12px; color: #dbe4f5; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 12px; text-decoration: none; }
.dashboard-shell main {
  min-width: 0;
  padding: 30px;
  display: grid;
  gap: 22px;
}
.admin-menu-toggle,
.admin-menu-close,
.admin-menu-backdrop { display: none; }

.page-header {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 26px;
  border-radius: 28px;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 146, 43, .32), transparent 12rem),
    radial-gradient(circle at 68% 90%, rgba(18, 183, 106, .22), transparent 14rem),
    linear-gradient(135deg, #07111f, #172033);
  box-shadow: var(--shadow);
}
.page-header p { margin: 0; color: #fbbf24; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.page-header h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: 0; }
.page-header span { max-width: 760px; color: rgba(255,255,255,.72); font-weight: 800; line-height: 1.55; }

.module-view {
  display: none;
  gap: 22px;
}
.module-view.active { display: grid; }
.module-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}
.module-header p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.module-header h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0;
}
.module-header span {
  display: block;
  max-width: 760px;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}
.module-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.quick-card {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  text-align: left;
  background:
    radial-gradient(circle at 92% 12%, rgba(18, 183, 106, .18), transparent 4.8rem),
    #ffffff;
  box-shadow: var(--shadow-soft);
}
.quick-card:nth-child(2n) { background: radial-gradient(circle at 92% 12%, rgba(37, 99, 235, .18), transparent 4.8rem), #ffffff; }
.quick-card:nth-child(3n) { background: radial-gradient(circle at 92% 12%, rgba(249, 115, 22, .18), transparent 4.8rem), #ffffff; }
.quick-card b { font-size: 18px; }
.quick-card span { color: var(--muted); font-weight: 800; line-height: 1.45; }
.small-action.ghost {
  color: var(--navy);
  background: var(--surface-2);
  box-shadow: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #166534;
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 950;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
}
.stats article {
  position: relative;
  overflow: hidden;
  min-height: 130px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}
.stats article::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -44px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: var(--surface-2);
}
.stats article:nth-child(2n)::after { background: var(--green-soft); }
.stats article:nth-child(3n)::after { background: var(--orange-soft); }
.stats > a:nth-child(2n) article::after { background: var(--green-soft); }
.stats > a:nth-child(3n) article::after { background: var(--orange-soft); }
.stats span { color: var(--muted); font-weight: 900; }
.stats strong { display: block; margin-top: 12px; font-size: 36px; letter-spacing: 0; }
.stats > a { color: inherit; text-decoration: none; }
.stats > a article { height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.stats > a:hover article { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(15, 23, 42, .11); }
.dashboard-order-products { display: flex; flex-wrap: wrap; gap: 7px; margin: 7px 0; }
.dashboard-order-products > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 7px; min-width: min(230px, 100%); padding: 6px 8px; border-radius: 11px; background: #f8fafc; }
.dashboard-order-thumb { display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 9px; color: #5b21b6; background: var(--violet-soft); font-weight: 950; }
.dashboard-order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-order-products p { display: grid; gap: 1px; margin: 0; }
.dashboard-order-products small { color: var(--muted); font-size: 11px; }
.dashboard-order-products small.note { color: #b45309; font-weight: 800; }

.panel, .order-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-soft);
}
.panel h3 {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: 0;
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.revenue-summary-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.revenue-summary-card {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 9px 24px rgba(15, 23, 42, .05);
}
.revenue-summary-card.pending { border-color: #f5c37e; background: #fff8e9; }
.revenue-summary-card.received { border-color: #a8e5c1; background: #f0fcf5; }
.revenue-summary-card span { color: var(--muted); font-size: 12px; font-weight: 900; }
.revenue-summary-card strong { overflow: hidden; font-size: 22px; text-overflow: ellipsis; white-space: nowrap; }
.revenue-summary-card small { color: var(--violet); font-size: 12px; font-weight: 900; }
.panel-grid.single { grid-template-columns: 1fr; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-title h3 { margin: 0; }
.small-action, .table-list a {
  color: white;
  background: linear-gradient(135deg, var(--navy), #22304a);
  box-shadow: 0 12px 24px rgba(15,23,42,.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-grid.compact { grid-template-columns: 1fr; }
.form-grid p { margin: 0; display: grid; gap: 7px; }
.form-grid label {
  color: #354155;
  font-size: 13px;
  font-weight: 950;
}
.form-grid input,
.form-grid textarea,
.form-grid select,
.auth-panel input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fbfcff;
  font: inherit;
  font-weight: 750;
  outline: none;
}
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus,
.auth-panel input:focus {
  border-color: rgba(37, 99, 235, .45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .09);
}
.form-grid textarea { min-height: 104px; resize: vertical; }
.form-grid input[type="checkbox"] { width: 20px; min-height: 20px; justify-self: start; }
.upload-preview {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
}
.upload-preview img {
  width: 100%;
  max-height: 150px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface);
}
.upload-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.form-grid button {
  grid-column: 1 / -1;
  color: white;
  background: linear-gradient(135deg, var(--navy), #27324a);
  box-shadow: 0 14px 28px rgba(15,23,42,.16);
}
.form-grid .errorlist {
  grid-column: 1 / -1;
  margin: 0;
  padding: 11px 13px;
  border-radius: 14px;
  color: #991b1b;
  background: var(--red-soft);
}

.table-list { display: grid; gap: 10px; }
.table-list.compact-list > div {
  grid-template-columns: 1fr;
}
.table-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) minmax(180px, 2fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
}
.table-list strong { font-size: 15px; }
.table-list span, .table-list small { color: var(--muted); font-weight: 800; overflow-wrap: anywhere; }
.table-list form { justify-self: end; }
.table-list form button { padding: 10px 13px; color: white; background: var(--green); }

.restaurant-preview {
  overflow: hidden;
  padding: 0;
}
.restaurant-cover {
  min-height: 180px;
  background:
    radial-gradient(circle at 80% 15%, rgba(200, 146, 43, .28), transparent 10rem),
    linear-gradient(135deg, #07111f, #24324a);
}
.restaurant-cover img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
}
.restaurant-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 22px 10px;
}
.restaurant-identity img,
.restaurant-identity > span {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  object-fit: cover;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  font-size: 30px;
  font-weight: 950;
  box-shadow: 0 15px 28px rgba(15,23,42,.16);
}
.restaurant-identity h3 { margin: 0 0 5px; }
.restaurant-identity p { margin: 0; color: var(--muted); font-weight: 800; line-height: 1.5; }
.profile-facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px 22px 22px;
}
.profile-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fbfcff;
  border: 1px solid var(--line);
}
.profile-facts dt { color: var(--muted); font-weight: 950; }
.profile-facts dd { margin: 0; font-weight: 900; overflow-wrap: anywhere; }

.floor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}
.table-filter-toolbar { display: grid; gap: 12px; margin: 14px 0 18px; }
.table-bulk-form { display: grid; }
.table-bulk-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, .45fr) auto;
  align-items: end;
  gap: 10px;
  padding: 13px;
  border: 1px solid #c7d2fe;
  border-radius: 18px;
  background: #eef2ff;
}
.table-bulk-toolbar > span { display: grid; gap: 3px; }
.table-bulk-toolbar small { color: var(--muted); font-weight: 800; }
.table-tile { position: relative; }
.table-select { position: absolute; top: 9px; left: 9px; display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 900; }
.table-select input { width: 16px; height: 16px; margin: 0; }
.account-transfer-panel { border-color: #bfdbfe; background: linear-gradient(135deg, #eff6ff, #ffffff); }
.account-transfer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
}
.account-transfer-grid label { display: grid; gap: 7px; color: var(--ink-2); font-weight: 900; }
.transfer-arrow { padding-bottom: 13px; color: var(--blue); font-size: 26px; font-weight: 950; }
.table-filter-toolbar input { width: 100%; }
.area-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.area-filter-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  color: var(--ink-2);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
}
.area-filter-tabs button span { min-width: 22px; padding: 3px 6px; border-radius: 999px; background: var(--surface); font-size: 12.5px; }
.area-filter-tabs button.active { color: white; background: var(--navy); border-color: var(--navy); }
.area-filter-tabs button.active span { color: var(--navy); background: white; }
.area-filter-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  color: var(--ink-2);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.area-filter-tabs a.active { color: white; background: var(--navy); border-color: var(--navy); }
.operation-filter-bar { display: grid; gap: 10px; padding: 14px 22px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.cashier-area-tabs { margin-bottom: 14px; }
.floor-area-groups { display: grid; gap: 18px; }
.floor-area-group { display: grid; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 22px; background: #fbfcff; }
.floor-area-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.floor-area-heading small { color: var(--muted); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.floor-area-heading h4 { margin: 2px 0 0; font-size: 19px; }
.floor-area-heading > span { padding: 7px 10px; border-radius: 999px; color: #1d4ed8; background: var(--blue-soft); font-size: 12px; font-weight: 950; }
@media (max-width: 760px) {
  .table-bulk-toolbar { grid-template-columns: 1fr; }
  .account-transfer-grid { grid-template-columns: 1fr; }
  .transfer-arrow { display: none; }
}
.live-ops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 2px 2px;
}
.live-ops-header > div:first-child { display: grid; gap: 4px; }
.live-ops-header p { margin: 0; color: var(--violet); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.live-ops-header h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); }
.live-ops-header > div:first-child > span { color: var(--muted); font-size: 14px; font-weight: 750; }
.live-color-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.live-color-legend span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.live-color-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.live-color-legend .closed { color: #086c39; background: #d8f8e5; box-shadow: inset 0 0 0 1px #72d69c; }
.live-color-legend .closed::before { background: #079447; box-shadow: 0 0 0 3px #b8f1d0; }
.live-color-legend .open { color: #174dab; background: #dceaff; box-shadow: inset 0 0 0 1px #7aa8f8; }
.live-color-legend .open::before { background: #1769e0; box-shadow: 0 0 0 3px #bed5ff; }
.live-color-legend .request { color: #9a4d06; background: #fff0d7; box-shadow: inset 0 0 0 1px #f4b561; }
.live-color-legend .request::before { background: #e58a17; box-shadow: 0 0 0 3px #ffe0ae; }
.live-color-legend .bill { color: #a20f23; background: #ffe0e4; box-shadow: inset 0 0 0 1px #f48a98; }
.live-color-legend .bill::before { background: #dc263b; box-shadow: 0 0 0 3px #ffc2ca; }
.live-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.live-summary-grid article {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 8px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(15, 23, 42, .05);
}
.live-summary-grid article::before { content: ""; grid-row: 1 / 3; width: 8px; height: 38px; border-radius: 999px; background: var(--violet); }
.live-summary-grid article.closed::before { background: #16a766; }
.live-summary-grid article.open::before { background: #3478f6; }
.live-summary-grid article.request::before { background: #e58a17; }
.live-summary-grid article.bill::before { background: #e6535e; }
.live-summary-grid article.closed { background: #f0fcf5; border-color: #a8e5c1; }
.live-summary-grid article.open { background: #f0f6ff; border-color: #b4cffc; }
.live-summary-grid article.request { background: #fff8e9; border-color: #f5c37e; }
.live-summary-grid article.bill { background: #fff0f2; border-color: #f4a4ae; }
.live-summary-grid span { grid-column: 2; color: var(--muted); font-size: 12px; font-weight: 850; }
.live-summary-grid strong { grid-column: 3; grid-row: 1 / 3; font-size: 28px; }
.live-summary-grid small { grid-column: 2; color: var(--subtle); font-size: 12.5px; font-weight: 800; }
.live-table-toolbar {
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 20px;
}
.live-table-toolbar > input { width: 100%; min-width: 0; padding: 11px 13px; border-radius: 13px; }
.live-status-tabs { justify-content: flex-end; }
.live-status-tabs i { width: 8px; height: 8px; border-radius: 50%; }
.live-status-tabs i.closed { background: #16a766; }
.live-status-tabs i.open { background: #3478f6; }
.live-status-tabs i.request { background: #e58a17; }
.live-status-tabs i.bill { background: #e6535e; }
.live-area-block { display: grid; gap: 12px; padding-top: 3px; }
.live-area-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 0 2px; }
.live-area-heading small { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.live-area-heading h3 { margin: 2px 0 0; font-size: 21px; }
.live-area-heading > span { padding: 7px 10px; border-radius: 999px; color: #4f46e5; background: #eef2ff; font-size: 12.5px; font-weight: 900; }
.live-table-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.live-table-card {
  min-width: 0;
  min-height: 248px;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  align-content: stretch;
  gap: 4px;
  overflow: hidden;
  padding: 0 13px 13px;
  border: 2px solid;
  border-left-width: 6px;
  border-radius: 17px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 7px 20px rgba(15, 23, 42, .04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.live-table-card:hover { transform: translateY(-3px); box-shadow: 0 18px 35px #0f172a1a; }
.live-table-card.is-empty { background: #edfdf4; border-color: #2fbd72; box-shadow: 0 8px 22px rgba(18, 138, 78, .10); }
.live-table-card.is-open { background: #eaf2ff; border-color: #397cf2; box-shadow: 0 9px 24px rgba(37, 99, 235, .13); }
.live-table-card.is-request { background: #fff2dc; border-color: #ed941f; box-shadow: 0 11px 27px rgba(229, 138, 23, .20); }
.live-table-card.is-bill { background: #ffedef; border-color: #ec3d50; box-shadow: 0 11px 28px rgba(220, 38, 59, .18); }
.live-table-card.is-printed {
  background: linear-gradient(145deg, #ffe4e8 0%, #ffc7d0 100%);
  border-color: #c9152b;
  border-left-width: 7px;
  box-shadow: 0 13px 32px rgba(185, 28, 28, .28);
}
.live-table-card.is-empty .live-table-name { color: #075f32; }
.live-table-card.is-open .live-table-name { color: #174da8; }
.live-table-card.is-request .live-table-name { color: #944a06; }
.live-table-card.is-bill .live-table-name { color: #a20f23; }
.live-table-card.is-printed .live-table-name { color: #8f1021; }
.live-table-photo { position: relative; display: block; height: 112px; margin: 0 -13px 8px; overflow: hidden; background: #17110d; }
.live-table-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.live-table-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; }
.is-empty .live-table-photo::after { background: #16a766; }
.is-open .live-table-photo::after { background: #3478f6; }
.is-request .live-table-photo::after { background: #e58a17; }
.is-bill .live-table-photo::after,
.is-printed .live-table-photo::after { background: #e6535e; }
.live-table-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }
.live-table-name { min-width: 0; overflow: hidden; color: var(--ink); font-size: 23px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; }
.live-table-status { flex: 0 0 auto; max-width: 82px; padding: 5px 7px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 950; text-align: center; }
.is-empty .live-table-status { color: #075f32; background: #c8f2d9; box-shadow: inset 0 0 0 1px #75d39c; }
.is-open .live-table-status { color: #174da8; background: #cbdfff; box-shadow: inset 0 0 0 1px #82acf5; }
.is-request .live-table-status { color: #944a06; background: #ffe1b3; box-shadow: inset 0 0 0 1px #efa64b; }
.is-bill .live-table-status { color: #a20f23; background: #ffcbd2; box-shadow: inset 0 0 0 1px #f47e8d; }
.is-printed .live-table-status {
  color: #fff;
  background: #c9152b;
  box-shadow: 0 5px 12px rgba(185, 28, 28, .24);
}
.live-table-meta { color: var(--ink-2); font-size: 12px; font-weight: 850; }
.live-table-card small { color: var(--muted); font-weight: 800; }
.live-table-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 9px; border-top: 1px solid rgba(148, 163, 184, .24); }
.live-table-card-footer strong,
.live-table-card-footer em { font-size: 12.5px; font-style: normal; font-weight: 950; }
.is-empty .live-table-card-footer { color: #138a4e; }
.is-open .live-table-card-footer { color: #2563eb; }
.is-request .live-table-card-footer { color: #c56a0b; }
.is-bill .live-table-card-footer { color: #dc3545; }
.is-printed .live-table-card-footer { color: #a20f23; border-top-color: rgba(162, 15, 35, .22); }
.is-filtered-out,
[data-table-card][hidden],
[data-area-group][hidden],
[data-qr-card][hidden] { display: none !important; }
.live-filter-empty { gap: 5px; text-align: center; }
.live-filter-empty strong { font-size: 17px; }
.live-filter-empty span { color: var(--muted); font-weight: 750; }

@media (max-width: 1500px) {
  .live-table-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .live-table-toolbar { grid-template-columns: 1fr minmax(180px, .8fr); }
  .live-status-tabs { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 1220px) {
  .live-table-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.setup-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.setup-table-list { display: grid; gap: 10px; }
.setup-table-list > article { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.setup-table-list article > div:first-child { display: grid; gap: 4px; }
.setup-table-list span { color: var(--muted); font-size: 13px; font-weight: 800; }
.table-category-grid,
.qr-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.table-category-card,
.qr-card { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.table-category-card.is-passive { opacity: .65; background: #f8fafc; }
.table-category-card header,
.qr-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.table-category-card h3,
.qr-card h3 { margin: 0; font-size: 18px; }
.table-category-card p,
.qr-card p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; }
.category-card-actions { display: flex; gap: 7px; }
.category-card-actions form { flex: 1; }
.category-card-actions button { width: 100%; padding: 10px; }
.category-card-actions .danger { color: #991b1b; background: var(--red-soft); }
.qr-url { min-width: 0; padding: 10px; border-radius: 12px; color: var(--muted); background: #f8fafc; overflow-wrap: anywhere; font-size: 12px; font-weight: 750; }
.qr-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.qr-card-actions a { padding: 10px; text-align: center; }
.qr-export-toolbar { display: grid; gap: 14px; padding: 16px 18px; border-radius: 22px; }
.qr-export-heading,
.qr-filter-row,
.qr-context-actions,
.qr-context-actions > div,
.qr-export-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.qr-export-heading { justify-content: space-between; }
.qr-export-heading h3 { margin: 0; font-size: 21px; }
.qr-export-heading p { margin: 3px 0 0; }
.qr-filter-row > input { flex: 1 1 280px; min-width: 180px; padding: 12px 14px; border-radius: 14px; }
.qr-filter-row button,
.qr-context-actions button { padding: 11px 14px; }
.qr-context-actions { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.qr-context-actions > div { padding: 10px; border-radius: 15px; background: #f8fafc; }
.qr-context-actions strong { color: var(--ink-2); font-size: 12px; }
.qr-card { position: relative; border-width: 2px; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.qr-card.is-selected { border-color: var(--violet); box-shadow: 0 12px 28px rgba(109, 40, 217, .16); transform: translateY(-2px); }
.qr-card-select { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 999px; color: #3730a3; background: #eef2ff; font-size: 12.5px; font-weight: 900; cursor: pointer; }
.qr-card-select input { width: 16px; height: 16px; accent-color: var(--violet); }
.qr-card-identity { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 12px; padding-right: 48px; }
.qr-card-identity img { width: 82px; height: 102px; object-fit: cover; border: 1px solid #ddd6fe; border-radius: 12px; background: white; }
.qr-card-identity > div { min-width: 0; display: grid; gap: 2px; }
.qr-card-identity span { color: var(--violet); font-size: 12.5px; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; }
.qr-card-identity h3 { overflow: hidden; font-size: 24px; text-overflow: ellipsis; white-space: nowrap; }
.qr-table-label { display: grid; gap: 3px; padding: 10px 12px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #111827, #312e81); }
.qr-table-label span { color: #c4b5fd; font-size: 11px; font-weight: 950; letter-spacing: .09em; }
.qr-table-label strong { font-size: 15px; }
.qr-card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.setup-flow { display: grid; grid-template-columns: minmax(280px, 560px) minmax(240px, 1fr); gap: 18px; align-items: start; }
.setup-flow-steps { display: grid; gap: 10px; }
.setup-flow-step { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 13px; border-radius: 17px; background: #f8fafc; border: 1px solid var(--line); }
.setup-flow-step > b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--blue)); }
.setup-flow-step span { display: grid; gap: 2px; font-weight: 900; }
.setup-flow-step small { color: var(--muted); font-weight: 750; }
.row-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.row-actions a, .button-link { display: inline-flex; justify-content: center; padding: 11px 15px; border-radius: 13px; color: #fff; background: var(--navy); text-decoration: none; font-weight: 900; }
.button-link.secondary, button.secondary { background: #eef2ff; color: #3730a3; }
.table-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.table-order-list { display: grid; gap: 14px; }
.table-order-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.table-order-card > header { display: flex; justify-content: space-between; gap: 10px; padding: 14px; background: #f8fafc; }
.table-order-card > header span { color: var(--muted); font-size: 13px; font-weight: 800; }
.transfer-item-row { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto 72px; align-items: center; gap: 12px; padding: 13px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.transfer-item-row > input[type="checkbox"] { width: 20px; height: 20px; }
.transfer-item-row > span { display: grid; gap: 3px; }
.transfer-item-row small { color: var(--muted); }
.transfer-item-row em { font-style: normal; font-weight: 900; }
.transfer-item-row > input[type="number"] { min-width: 0; padding: 9px; }
.transfer-item-row.disabled { opacity: .55; cursor: not-allowed; }
.transfer-control-box { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 12px; align-items: end; margin-top: 18px; padding: 16px; border-radius: 20px; background: #eff6ff; border: 1px solid #bfdbfe; }
.transfer-control-box label { display: grid; gap: 7px; font-weight: 900; }
.transfer-control-box > div { display: flex; flex-wrap: wrap; gap: 8px; }
.transfer-control-box .order-status { grid-column: 1 / -1; }
.product-order-catalog, .catalog-category { display: grid; gap: 16px; }
.catalog-category > h4 { margin: 4px 0 0; font-size: 20px; }
.catalog-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.catalog-product-card { display: block; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.catalog-product-card:hover { border-color: #c4b5fd; box-shadow: 0 12px 24px rgba(76, 29, 149, .09); transform: translateY(-1px); }
.catalog-product-summary { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px; }
.catalog-product-thumb { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 15px; color: #5b21b6; background: var(--violet-soft); font-size: 19px; font-weight: 950; }
.catalog-product-thumb.large { width: 64px; height: 64px; border-radius: 17px; }
.catalog-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-product-copy { display: grid; gap: 3px; min-width: 0; }
.catalog-product-copy strong { font-size: 15px; }
.catalog-product-copy span { overflow: hidden; color: var(--muted); font-size: 12.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.catalog-product-copy b { color: var(--violet); font-size: 14px; }
.catalog-config-button { padding: 9px 11px; border-radius: 12px; white-space: nowrap; }
.option-checkboxes { display: grid; gap: 6px; padding: 9px; border-radius: 12px; background: #f8fafc; }
.option-checkboxes label { display: flex; gap: 7px; align-items: center; font-weight: 700; }
.option-checkboxes label span { flex: 1; }
.option-checkboxes label b { color: var(--violet); font-size: 12.5px; }
@media (max-width: 760px) {
  .setup-two-column, .transfer-control-box { grid-template-columns: 1fr; }
  .transfer-item-row { grid-template-columns: auto 1fr 66px; }
  .transfer-item-row > em { grid-column: 2; }
}
.table-tile {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 150px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 75% 12%, rgba(18, 183, 106, .18), transparent 4rem),
    #fbfcff;
}
.table-status-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.table-status-dot { padding: 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 950; border: 1px solid; }
.table-status-dot.empty { color: #166534; background: #dcfce7; border-color: #22c55e; }
.table-status-dot.open { color: #1d4ed8; background: #dbeafe; border-color: #3b82f6; }
.table-status-dot.bill { color: #b91c1c; background: #fee2e2; border-color: #ef4444; }
.table-tile.is-empty { border: 2px solid #22c55e; background: #f0fdf4; }
.table-tile.is-open { border: 2px solid #3b82f6; background: #eff6ff; }
.table-tile.is-bill { border: 2px solid #ef4444; background: #fef2f2; box-shadow: 0 12px 28px rgba(239, 68, 68, .16); }
.table-tile.is-empty b { background: #16a34a; }
.table-tile.is-open b { background: #2563eb; }
.table-tile.is-bill b { background: #dc2626; }
.table-tile em { padding: 5px 8px; border-radius: 999px; font-size: 12.5px; font-style: normal; font-weight: 950; }
.table-tile.is-empty em { color: #166534; background: #dcfce7; }
.table-tile.is-open em { color: #1d4ed8; background: #dbeafe; }
.table-tile.is-bill em { color: #b91c1c; background: #fee2e2; }
.table-tile b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: white;
  background: var(--navy);
  font-size: 20px;
}
.table-tile span { color: var(--ink); font-weight: 950; }
.table-tile small { color: var(--muted); font-weight: 850; }
.table-tile a {
  padding: 8px 10px;
  color: #166534;
  background: var(--green-soft);
  font-size: 12px;
}

.menu-catalog {
  display: grid;
  gap: 12px;
}
.menu-catalog details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fbfcff;
  overflow: hidden;
}
.menu-catalog summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 950;
}
.menu-catalog summary::-webkit-details-marker { display: none; }
.menu-catalog summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--surface-2);
}
.menu-catalog details[open] summary::after { content: "-"; }
.menu-catalog summary b {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
}
.product-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 13px;
  min-height: 118px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.product-card img {
  width: 86px;
  height: 94px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--surface);
}
.product-card h4 { margin: 0 0 5px; }
.product-card p { margin: 0 0 8px; color: var(--muted); font-weight: 750; line-height: 1.35; }
.product-card strong { display: block; color: #047857; font-size: 18px; }
.product-card small { color: var(--muted); font-weight: 900; }
.option-preview {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}
.option-preview span {
  padding: 7px 9px;
  border-radius: 12px;
  color: #334155;
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.cashier-search input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
  color: var(--ink);
  background: #fbfcff;
  font: inherit;
  font-weight: 900;
  outline: none;
}
.cashier-search input:focus {
  border-color: rgba(37, 99, 235, .45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .09);
}
.cashier-table-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.cashier-table-pills button {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.cashier-table {
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 4%, rgba(18, 183, 106, .13), transparent 9rem),
    radial-gradient(circle at 8% 100%, rgba(37, 99, 235, .09), transparent 11rem),
    #ffffff;
}
.stats.mini {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 16px;
}
.stats.mini article {
  min-height: 92px;
  padding: 16px;
}
.stats.mini strong { font-size: 26px; }
.payment-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fbfcff;
}
.payment-toolbar label {
  display: grid;
  gap: 7px;
  color: #354155;
  font-size: 12px;
  font-weight: 950;
}
.payment-toolbar [hidden],
.correction-dialog [hidden] { display: none !important; }
.payment-toolbar input,
.payment-toolbar select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 850;
}
.report-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 16px;
  align-items: stretch;
}
.report-filter-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}
.report-filter-form button {
  min-height: 46px;
}
.report-range-card {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 20px;
  color: white;
  background:
    radial-gradient(circle at 90% 8%, rgba(200, 146, 43, .38), transparent 6rem),
    linear-gradient(135deg, #07111f, #22304a);
}
.report-range-card span {
  color: #fbbf24;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.report-range-card strong { font-size: 20px; }
.report-range-card small {
  color: rgba(255,255,255,.72);
  font-weight: 800;
  line-height: 1.45;
}
.order-item-payments > div {
  grid-template-columns: minmax(170px, 1fr) minmax(180px, 1fr) auto;
}
.payment-selection-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 0 9px; }
.payment-selection-head > div { display: grid; gap: 3px; }
.payment-selection-head > div:last-child { display: flex; grid-auto-flow: column; gap: 7px; }
.payment-selection-head small { color: var(--muted); font-size: 12.5px; font-weight: 750; }
.payment-selection-head button { padding: 8px 10px; font-size: 12px; }
.order-item-payments [data-pay-line] { border: 1px solid transparent; border-radius: 15px; transition: border-color .16s ease, background .16s ease, opacity .16s ease; }
.order-item-payments [data-pay-line].is-selected { border-color: rgba(18, 183, 106, .4); background: rgba(18, 183, 106, .065); }
.order-item-payments [data-pay-line]:not(.is-selected) { opacity: .66; }
.order-item-payments [data-selection-label] { color: var(--muted); font-size: 12.5px; font-weight: 900; }
.order-item-payments .is-selected [data-selection-label] { color: #047857; }
.cashier-product { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 9px; }
.cashier-product-thumb { display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 11px; color: #5b21b6; background: var(--violet-soft); font-weight: 950; }
.cashier-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cashier-product > div:last-child { display: grid; gap: 2px; min-width: 0; }
.cashier-product small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cashier-product .cashier-item-note { color: #b45309; font-weight: 850; }
.payment-history { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.payment-history h4 { margin: 0 0 2px; }
.payment-history article { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 14px; background: #f8fafc; }
.payment-history article > div { display: grid; gap: 3px; }
.payment-history small { color: var(--muted); font-size: 12px; font-weight: 750; }
.payment-history .correction-summary { color: var(--violet); }
.payment-history button { padding: 8px 10px; font-size: 12.5px; }
.payment-provider-settings { margin-bottom: 18px; }
.provider-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 9px; margin-top: 14px; }
.provider-admin-grid article { display: grid; grid-template-columns: 38px minmax(0, 1fr) 60px auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.provider-logo { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 11px; color: #5b21b6; background: var(--violet-soft); font-weight: 950; }
.provider-logo img { width: 100%; height: 100%; object-fit: contain; }
.provider-admin-grid article > div:nth-child(2) { display: grid; gap: 2px; }
.provider-admin-grid small { color: var(--muted); font-size: 12px; font-weight: 750; }
.provider-admin-grid input { min-width: 0; padding: 8px; text-align: center; }
.provider-admin-grid button { padding: 8px 9px; font-size: 12px; }
.correction-dialog { width: min(520px, calc(100% - 24px)); }
.payment-confirm-dialog { width: min(520px, calc(100% - 24px)); }
.payment-confirm-body { display: grid; justify-items: center; gap: 14px; padding: 22px; text-align: center; }
.payment-confirm-body > p { margin: 0; color: var(--muted); font-weight: 800; line-height: 1.55; }
.payment-confirm-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: white; background: linear-gradient(135deg, var(--green), #047857); box-shadow: 0 14px 30px rgba(18,183,106,.25); font-size: 30px; font-weight: 950; }
.payment-confirm-body .correction-dialog-actions { width: 100%; }
.correction-dialog-body { display: grid; gap: 13px; padding: 18px 20px 20px; }
.correction-dialog-body > label { display: grid; gap: 6px; color: var(--ink-2); font-size: 12px; font-weight: 900; }
.correction-dialog-body textarea { min-height: 92px; resize: vertical; }
.correction-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.revenue-filter-panel { display: grid; gap: 14px; margin-bottom: 16px; }
.revenue-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.revenue-presets a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); background: #fff; text-decoration: none; font-size: 12px; font-weight: 900; }
.revenue-presets a.active { border-color: var(--violet); color: #fff; background: var(--violet); }
.revenue-custom-range { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) auto; align-items: end; gap: 10px; }
.revenue-custom-range label { display: grid; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 900; }
.revenue-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 16px; }
.revenue-summary-grid article { display: grid; gap: 7px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.revenue-summary-grid article.total { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--navy), var(--violet)); }
.revenue-summary-grid span, .revenue-summary-grid small { color: var(--muted); font-weight: 800; }
.revenue-summary-grid article.total span, .revenue-summary-grid article.total small { color: rgba(255,255,255,.72); }
.revenue-summary-grid strong { font-size: 23px; }
.revenue-table-wrap { overflow-x: auto; margin-top: 14px; }
.revenue-table-wrap table { width: 100%; border-collapse: collapse; }
.revenue-table-wrap th, .revenue-table-wrap td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.revenue-table-wrap th { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.revenue-table-wrap td { font-size: 12px; }
.revenue-table-wrap td small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.revenue-table-wrap .revenue-correction { margin-top: 7px; padding: 7px 8px; border-left: 3px solid var(--violet); border-radius: 7px; color: #5b21b6; background: var(--violet-soft); line-height: 1.45; }
.legacy-payment-note { padding: 10px 12px; border-radius: 12px; color: #92400e; background: #fff7ed; font-size: 12.5px; }
@media (max-width: 760px) { .revenue-custom-range { grid-template-columns: 1fr; } }
.qty-control {
  display: inline-grid;
  grid-template-columns: 38px 42px 38px;
  gap: 7px;
  align-items: center;
  justify-self: end;
}
.qty-control button {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 12px;
  color: white;
  background: var(--navy);
}
.qty-control output {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 12px;
  background: var(--surface-2);
  font-weight: 950;
}
.order-status {
  min-height: 20px;
  margin: 12px 0 0;
  font-weight: 950;
}
.order-status.success { color: #166534; }
.order-status.error { color: #991b1b; }

.chart-list { display: grid; gap: 13px; }
.chart-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.chart-row span, .chart-row b { font-weight: 950; }
.chart-row b { color: var(--muted); }
.chart-row i {
  grid-column: 1 / -1;
  display: block;
  height: 11px;
  min-width: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.message-stack { display: grid; gap: 8px; }
.message {
  margin: 0;
  padding: 13px 15px;
  border-radius: 16px;
  font-weight: 900;
  background: var(--green-soft);
  color: #166534;
}
.message.error { background: var(--red-soft); color: #991b1b; }

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.auth-panel {
  position: relative;
  width: min(480px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.auth-panel::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -52px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: var(--violet-soft);
}
.auth-panel h1 { position: relative; margin: 0 0 8px; font-size: 36px; }
.auth-panel p { position: relative; color: var(--muted); font-weight: 800; }
.auth-panel .form-grid { position: relative; grid-template-columns: 1fr; }

.kitchen-board {
  min-height: 100vh;
  padding: 28px;
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(249, 115, 22, .25), transparent 18rem),
    radial-gradient(circle at 8% 100%, rgba(18, 183, 106, .18), transparent 18rem),
    #07111f;
}
.kitchen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 26px;
  background: rgba(255,255,255,.06);
}
.kitchen-header h1 { margin: 0; font-size: 42px; }
.kitchen-header p { margin: 0 0 5px; color: #fbbf24; font-weight: 950; }
.kitchen-header a { color: var(--navy); background: white; }
.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 16px;
  align-items: start;
}
.kanban section {
  min-height: 150px;
  padding: 16px;
  display: grid;
  gap: 12px;
  border-radius: 24px;
  background: #f3f5f9;
  color: var(--ink);
}
.kanban section h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}
.kanban section h2 span {
  padding: 5px 10px;
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 14px;
}
.order-card { display: grid; gap: 11px; }
.order-card-top { display: flex; justify-content: space-between; gap: 12px; }
.muted { color: var(--muted); margin: 0; font-weight: 800; }
.order-note { margin: 0; padding: 10px; border-radius: 14px; background: #fff7ed; color: #9a3412; font-weight: 900; }
.kitchen-items { display: grid; gap: 5px; }
.kitchen-selection-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; color: #475569; background: #e9edf5; font-size: 12.5px; font-weight: 900; }
.kitchen-selection-head > div { display: flex; gap: 5px; }
.kitchen-selection-head button { padding: 6px 7px; border-radius: 8px; color: #334155; background: #fff; font-size: 11px; }
.kitchen-items p { margin: 0; }
.kitchen-items small { color: var(--muted); }
.kitchen-item { display: grid; gap: 7px; padding: 10px; border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 13px; opacity: .56; transition: opacity .16s ease, border-color .16s ease, background .16s ease; }
.kitchen-item.is-selected { border-color: rgba(18, 183, 106, .38); background: rgba(18, 183, 106, .07); opacity: 1; }
.kitchen-item:last-child { border-bottom: 0; }
.kitchen-item-main { display: grid; grid-template-columns: 44px minmax(0, 1fr) 34px; align-items: center; gap: 10px; }
.kitchen-item-check { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 10px; color: #64748b; background: #e2e8f0; }
.kitchen-item.is-selected .kitchen-item-check { color: white; background: var(--green); }
.kitchen-product-thumb { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 12px; color: #5b21b6; background: var(--violet-soft); font-weight: 950; }
.kitchen-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kitchen-item-main > div:last-child { display: grid; gap: 3px; min-width: 0; }
.kitchen-item-options { display: block; overflow: hidden; font-size: 12.5px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.kitchen-item-note {
  padding: 9px 10px;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  color: #9a3412;
  background: #fff7ed;
  font-size: 13px;
  font-weight: 850;
}
.kitchen-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.kitchen-actions button { padding: 10px; color: white; background: var(--navy); }
.kitchen-actions button:disabled { cursor: not-allowed; opacity: .45; }
.kitchen-actions .danger { background: var(--red); }
.empty-column { margin: 0; color: var(--muted); font-weight: 900; }

@media (max-width: 980px) {
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-shell > aside {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1001;
    width: min(86vw, 350px);
    height: 100dvh;
    padding: 68px 22px 24px;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 24px 0 70px rgba(15, 23, 42, .28);
  }
  .dashboard-shell.nav-open > aside { transform: translateX(0); }
  .dashboard-shell main { padding: 72px 14px 18px; }
  .dashboard-shell > aside nav { grid-template-columns: 1fr; }
  .admin-menu-toggle {
    position: fixed;
    z-index: 1002;
    top: max(12px, env(safe-area-inset-top));
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--violet), var(--blue));
    box-shadow: 0 12px 28px rgba(37, 99, 235, .28);
  }
  .admin-menu-toggle span { font-size: 20px; line-height: 1; }
  .admin-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    font-size: 29px;
    line-height: 1;
  }
  .admin-menu-backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    background: rgba(15, 23, 42, .54);
    backdrop-filter: blur(3px);
  }
  .dashboard-shell.nav-open > .admin-menu-backdrop { display: block; }
  body.admin-menu-locked { overflow: hidden; }
  .module-header { align-items: flex-start; flex-direction: column; }
  .module-actions { justify-content: flex-start; }
  .panel-grid, .form-grid { grid-template-columns: 1fr; }
  .report-toolbar, .report-filter-form { grid-template-columns: 1fr; }
  .table-list > div, .order-item-payments > div { grid-template-columns: 1fr; }
  .table-list a, .table-list form { justify-self: start; }
  .qty-control { justify-self: start; }
  .profile-facts div { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; }
  .product-card img { width: 100%; height: 150px; }
  .kanban { grid-template-columns: 1fr; }
  .kitchen-board { padding: 16px; }
  .kitchen-header { align-items: flex-start; flex-direction: column; }
  .setup-flow { grid-template-columns: 1fr; }
  .live-table-toolbar { grid-template-columns: 1fr minmax(180px, .75fr); }
  .live-table-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .page-header { padding: 20px; border-radius: 22px; }
  .page-header h2 { font-size: 30px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .revenue-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .revenue-summary-card { min-height: 94px; padding: 12px; }
  .revenue-summary-card strong { font-size: 18px; }
  .live-ops-header { align-items: flex-start; padding: 0; }
  .live-ops-header p,
  .live-ops-header > div:first-child > span,
  .live-color-legend { display: none; }
  .live-ops-header h2 { font-size: 27px; }
  .live-summary-grid { display: none; }
  .live-table-toolbar { grid-template-columns: 1fr; gap: 9px; padding: 11px; }
  .live-status-tabs { grid-column: auto; }
  .live-area-tabs,
  .live-status-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .live-area-tabs::-webkit-scrollbar,
  .live-status-tabs::-webkit-scrollbar { display: none; }
  .live-table-toolbar > input { order: -1; }
  .live-table-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .live-table-card { min-height: 224px; gap: 3px; padding: 0 9px 9px; border-left-width: 3px; border-radius: 16px; }
  .live-table-photo { height: 104px; margin: 0 -9px 7px; }
  .live-table-name { font-size: 18px; }
  .live-table-status { max-width: 60px; padding: 4px 5px; font-size: 11px; }
  .live-table-meta,
  .live-table-card small { font-size: 12px; }
  .live-table-card-footer { margin-top: 5px; padding-top: 7px; }
  .live-table-card-footer strong,
  .live-table-card-footer em { font-size: 12px; }
  .live-area-block { padding: 0; }
  .live-area-heading h3 { font-size: 18px; }
  .table-category-grid,
  .qr-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .table-category-card,
  .qr-card { padding: 11px; border-radius: 16px; }
  .qr-card-actions { grid-template-columns: 1fr; }
  .qr-card .qr-url { display: none; }
  .qr-export-toolbar { padding: 12px; }
  .qr-export-heading,
  .qr-context-actions { align-items: stretch; flex-direction: column; }
  .qr-export-actions,
  .qr-context-actions > div { width: 100%; }
  .qr-export-actions > *,
  .qr-context-actions a,
  .qr-context-actions button { flex: 1 1 145px; }
  .qr-filter-row > input { flex-basis: 100%; }
  .qr-card-identity { grid-template-columns: 58px minmax(0, 1fr); gap: 7px; padding-top: 28px; padding-right: 0; }
  .qr-card-identity img { width: 58px; height: 72px; border-radius: 9px; }
  .qr-card-identity h3 { font-size: 18px; }
  .qr-card-identity span { font-size: 11px; }
  .qr-card-identity p { font-size: 12px; }
  .qr-card-select { top: 8px; right: 8px; }
  .qr-table-label { padding: 8px; }
  .qr-table-label strong { font-size: 12px; }
}


.menu-workflow {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(420px, 1.25fr);
  gap: 18px;
  align-items: start;
}
.menu-step-card { display: grid; gap: 18px; }
.step-heading { display: flex; align-items: flex-start; gap: 12px; }
.step-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  font-size: 18px;
  font-weight: 950;
}
.step-heading h3 { margin-bottom: 4px; }
.step-heading p { margin: 0; }
.category-chip-list, .option-draft-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-chip-list > span, .option-token {
  padding: 9px 11px;
  border: 1px solid #c4b5fd;
  border-radius: 999px;
  color: #5b21b6;
  background: var(--violet-soft);
  font-size: 12px;
  font-weight: 900;
}
.option-builder {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  background: #f8fafc;
}
.option-builder .section-title { align-items: flex-start; }
.option-builder .section-title h3 { margin: 0 0 4px; font-size: 18px; }
.option-builder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.option-builder-grid p, .option-value-editor p { margin: 0; display: grid; gap: 7px; }
.option-builder-grid label, .option-value-editor label { color: #354155; font-size: 13px; font-weight: 950; }
.option-builder-grid input, .option-builder-grid select,
.option-value-editor input, .option-value-editor select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: white;
  font: inherit;
  font-weight: 750;
}
.option-builder-grid .checkbox-row { grid-column: 1 / -1; }
.option-builder-grid .checkbox-row label { display: flex; align-items: center; gap: 8px; }
.option-builder-grid .checkbox-row input { width: 20px; min-height: 20px; }
.option-value-editor {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 13px;
  border-radius: 16px;
  background: white;
}
.option-value-editor[hidden], [data-price-field][hidden] { display: none !important; }
.option-group-list { display: grid; gap: 8px; }
.option-group-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}
.option-group-card div { flex: 1; display: grid; gap: 3px; }
.option-group-card span { color: var(--muted); font-size: 12px; font-weight: 800; }
.option-group-card button {
  padding: 8px 10px;
  color: var(--red);
  background: var(--red-soft);
  box-shadow: none;
}
.empty-notice {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: var(--surface);
}
.empty-notice span { color: var(--muted); font-weight: 800; }
.product-image-frame {
  width: 86px;
  height: 94px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--surface);
}
.product-image-frame img { width: 100%; height: 100%; border-radius: 0; }
.product-image-frame span { padding: 8px; color: var(--muted); text-align: center; font-size: 12.5px; font-weight: 900; }

@media (max-width: 1050px) {
  .menu-workflow { grid-template-columns: 1fr; }
  .option-value-editor { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .option-builder-grid, .option-value-editor { grid-template-columns: 1fr; }
  .product-image-frame { width: 100%; height: 160px; }
}


.audit-filter-form { grid-template-columns: repeat(4, minmax(150px, 1fr)); align-items: end; }
.audit-filter-form .audit-search { grid-column: span 2; }
.audit-filter-form button { align-self: end; }
.audit-stats .audit-range { font-size: 25px; }
.audit-log-list { display: grid; gap: 9px; }
.audit-log-row {
  display: grid;
  grid-template-columns: 46px minmax(210px, 1.2fr) minmax(180px, .8fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
}
.audit-log-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #5b21b6;
  background: var(--violet-soft);
  font-size: 18px;
  font-weight: 950;
}
.audit-log-main, .audit-log-table { display: grid; gap: 4px; }
.audit-log-main strong { font-size: 15px; }
.audit-log-main span, .audit-log-table span { color: var(--muted); font-size: 12px; font-weight: 800; }
.audit-log-main small { color: var(--ink-2); font-weight: 900; }
.audit-log-table b { font-size: 14px; }
.audit-log-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.audit-log-meta span {
  padding: 6px 8px;
  border-radius: 999px;
  color: #1e40af;
  background: var(--blue-soft);
  font-size: 12.5px;
  font-weight: 900;
}

@media (max-width: 1050px) {
  .audit-filter-form { grid-template-columns: 1fr 1fr; }
  .audit-filter-form .audit-search { grid-column: span 2; }
  .audit-log-row { grid-template-columns: 46px 1fr; }
  .audit-log-table, .audit-log-meta { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 680px) {
  .audit-filter-form { grid-template-columns: 1fr; }
  .audit-filter-form .audit-search { grid-column: auto; }
}

.nav-logout-form { margin: 0; }
.nav-logout-form button {
  width: 100%;
  padding: 12px 14px;
  color: #fecaca;
  text-align: left;
  background: rgba(220, 38, 38, .14);
  border: 1px solid rgba(248, 113, 113, .18);
  box-shadow: none;
}
.nav-logout-form button:hover { color: white; background: rgba(220, 38, 38, .28); }
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue));
}
.compact-stats article { min-height: 104px; }
.compact-stats strong { font-size: 28px; }
.menu-page-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(480px, 1.28fr);
  gap: 18px;
  align-items: start;
}
.menu-create-panel { display: grid; gap: 18px; position: sticky; top: 20px; }
.management-list { display: grid; gap: 10px; }
.management-row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
}
.category-management-row { grid-template-columns: 54px 64px minmax(180px, 1fr) auto; }
.category-order-controls {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 7px 6px;
  border: 1px solid #ddd6fe;
  border-radius: 15px;
  background: #f5f3ff;
}
.category-order-controls > strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: white;
  background: var(--violet);
  font-size: 13px;
}
.category-order-controls > small { color: #6d28d9; font-size: 11px; font-weight: 950; white-space: nowrap; }
.category-order-controls > div { display: flex; gap: 4px; }
.category-order-controls form { margin: 0; }
.category-order-button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  min-height: 0;
  padding: 0;
  border: 1px solid #ddd6fe;
  border-radius: 9px;
  color: var(--violet);
  background: white;
  box-shadow: none;
  font-size: 15px;
}
.category-order-button:hover:not(:disabled) { color: white; background: var(--violet); }
.category-order-button:disabled { cursor: not-allowed; opacity: .32; }
.management-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 16px;
  color: #5b21b6;
  background: var(--violet-soft);
  font-size: 20px;
  font-weight: 950;
}
.management-thumb img { width: 100%; height: 100%; object-fit: cover; }
.management-copy { display: grid; gap: 4px; }
.management-copy strong { font-size: 16px; }
.management-copy span, .management-copy small { color: var(--muted); font-weight: 800; }
.management-copy small { color: #334155; }
.management-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.management-actions form { margin: 0; }
.management-actions .category-station-form { display: flex; align-items: flex-end; gap: 7px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.category-station-form label { display: grid; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 850; }
.category-station-form select { min-width: 112px; min-height: 34px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); font-weight: 800; }
.small-action.danger { color: var(--red); background: var(--red-soft); box-shadow: none; }
.product-create-panel { display: grid; gap: 18px; }
.product-management-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.product-management-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
}
.product-management-image { display: grid; place-items: center; height: 190px; color: var(--muted); background: var(--surface); font-weight: 900; }
.product-management-image img { width: 100%; height: 100%; object-fit: cover; }
.product-management-body { display: grid; gap: 8px; padding: 16px; }
.product-management-body h3 { margin: 0; font-size: 19px; }
.product-management-body p { min-height: 40px; margin: 0; color: var(--muted); line-height: 1.4; }
.product-management-body > small { color: var(--violet); font-weight: 950; }
.product-management-body > strong { font-size: 20px; }
.product-management-body > span { color: #334155; font-size: 12px; font-weight: 900; }
.product-edit-panel { border-top: 1px solid var(--line); padding-top: 10px; }
.product-edit-panel summary { cursor: pointer; color: var(--violet); font-weight: 950; }
.product-edit-panel .form-grid { margin-top: 12px; }
.price-history { display: grid; gap: 5px; margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--line); }
.price-history > strong { font-size: 13px; }
.price-history > span { color: var(--muted); font-size: 12.5px; font-weight: 800; line-height: 1.45; }

@media (max-width: 1100px) {
  .menu-page-grid { grid-template-columns: 1fr; }
  .menu-create-panel { position: static; }
}
@media (max-width: 680px) {
  .management-row { grid-template-columns: 56px 1fr; }
  .category-management-row { grid-template-columns: 54px 56px minmax(0, 1fr); }
  .category-management-row .management-actions { grid-column: 1 / -1; }
  .management-thumb { width: 56px; height: 56px; }
  .management-actions { grid-column: 1 / -1; }
  .management-actions form { flex: 1; }
  .management-actions .category-station-form { flex-basis: 100%; }
  .management-actions button { width: 100%; }
  .product-management-grid { grid-template-columns: 1fr; }
}

/* Masa detayı v6 */
.table-detail-page { background: #f5f6fa; }
.table-detail-main { align-content: start; gap: 16px !important; }
.table-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px 2px;
}
.table-detail-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.table-detail-back {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
}
.table-detail-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.table-detail-eyebrow { color: var(--violet); font-size: 12px; font-weight: 950; letter-spacing: .1em; }
.table-detail-title-line h2 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); }
.table-detail-identity p { margin: 5px 0 0; color: var(--muted); font-weight: 800; }
.table-detail-identity p i { padding: 0 6px; color: #cbd5e1; font-style: normal; }
.detail-status { padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 950; }
.detail-status.is-open { color: #137a45; background: #dcfce7; }
.detail-status.is-empty { color: #166534; background: #f0fdf4; border: 1px solid #86efac; }
.detail-status.is-bill { color: #a20f23; background: #ffcbd2; border: 1px solid #f47e8d; }
.detail-refresh { padding: 10px 13px; color: var(--violet); background: transparent; }

.detail-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.detail-summary-grid article {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 102px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(15,23,42,.045);
}
.detail-summary-grid span { color: var(--muted); font-size: 12px; font-weight: 900; }
.detail-summary-grid strong { font-size: clamp(20px, 2vw, 27px); }
.detail-summary-grid i {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-style: normal;
}
.detail-summary-grid i.violet { color: var(--violet); background: var(--violet-soft); }
.detail-summary-grid i.green { color: var(--green); background: var(--green-soft); }
.detail-summary-grid i.orange { color: var(--orange); background: var(--orange-soft); }
.detail-summary-grid i.blue { color: var(--blue); background: var(--blue-soft); }

.detail-actionbar { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-inline-print-form { display: flex; margin: 0; }
.detail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,23,42,.035);
}
.detail-action.primary { color: #fff; background: linear-gradient(135deg, #6d28d9, #7c3aed); border-color: transparent; }
.detail-action.danger { color: var(--red); background: #fff; border-color: #fecaca; }
.detail-action:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.detail-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 340px); gap: 14px; align-items: start; }
.detail-content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.detail-tabs {
  display: flex;
  gap: 4px;
  padding: 7px 14px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
.detail-tabs button {
  flex: 0 0 auto;
  padding: 13px 14px 12px;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
}
.detail-tabs button.active { color: var(--violet); border-bottom-color: var(--violet); }
.detail-tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; color: #b91c1c; background: #fee2e2; font-size: 12px; font-weight: 950; }
.detail-tab-panel { display: none; padding: 18px; }
.detail-tab-panel.active { display: block; }
.detail-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.detail-panel-heading h3 { margin: 0; font-size: 20px; }
.detail-panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 750; }
.soft-button { flex: 0 0 auto; padding: 10px 12px; color: var(--violet); background: var(--violet-soft); }

.detail-order-list { display: grid; gap: 12px; }
.detail-order-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.detail-order-card.is-cancelled { opacity: .68; }
.detail-order-card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: #fafbfe;
  border-bottom: 1px solid var(--line);
}
.detail-order-card > header > div:first-child { display: grid; gap: 3px; }
.detail-order-card > header span { color: var(--muted); font-size: 12.5px; font-weight: 800; }
.order-head-actions { display: flex; align-items: center; gap: 6px; }
.order-state { padding: 6px 9px; border-radius: 999px; color: #a16207; background: #fef3c7; font-size: 12px; font-style: normal; font-weight: 950; }
.order-state.state-ready, .order-state.state-served, .order-state.state-completed { color: #137a45; background: #dcfce7; }
.order-state.state-cancelled { color: #b91c1c; background: #fee2e2; }
.order-state.state-paid { color: #1d4ed8; background: #dbeafe; }
.icon-danger { width: 34px; height: 34px; padding: 0; color: var(--red); background: var(--red-soft); }
.detail-order-items { display: grid; }
.detail-order-item {
  display: grid;
  grid-template-columns: auto 42px minmax(150px, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-top: 1px solid var(--line);
}
.detail-order-item:first-child { border-top: 0; }
.detail-order-item.is-cancelled { opacity: .58; background: #fafafa; }
.detail-order-item > input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--violet); }
.detail-product-thumb {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 11px;
  color: #5b21b6;
  background: var(--violet-soft);
  font-weight: 950;
}
.detail-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-product-info { display: grid; gap: 3px; min-width: 0; }
.detail-product-info span { overflow: hidden; color: var(--muted); font-size: 12.5px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.detail-product-info .detail-item-note { color: #b45309; font-weight: 850; }
.detail-product-info small { color: var(--red); font-size: 12px; font-weight: 800; }
.detail-order-item > b { white-space: nowrap; font-size: 13px; }
.detail-qty { display: grid; grid-template-columns: 30px 42px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.detail-qty button { padding: 7px 4px; border-radius: 0; color: var(--violet); background: #f8fafc; }
.detail-qty input { width: 42px; min-width: 0; padding: 7px 2px; border: 0; border-right: 1px solid var(--line); border-left: 1px solid var(--line); text-align: center; font-weight: 900; }
.item-cancel-button { padding: 8px 9px; color: var(--red); background: transparent; font-size: 12px; white-space: nowrap; }

.dashboard-shell .detail-account-card {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 13px;
  height: auto;
  padding: 18px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.detail-account-card h3 { margin: 0 0 4px; }
.detail-account-card > div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 800; }
.detail-account-card > div b { color: var(--ink); }
.detail-account-card .green { color: var(--green); }
.detail-account-card hr { width: 100%; margin: 2px 0; border: 0; border-top: 1px solid var(--line); }
.detail-account-card p { margin: 0 !important; color: var(--muted) !important; font-size: 12.5px; }
.detail-account-card > strong { font-size: 24px; }
.detail-account-card a { padding: 11px; color: var(--violet); background: #fff; border: 1px solid var(--violet); text-align: center; }
.detail-account-card a.primary { color: #fff; background: linear-gradient(135deg, #6d28d9, #7c3aed); }
.detail-account-card > form { display: grid; margin: 0; }
.detail-account-card > form button.primary { padding: 11px; color: #fff; background: linear-gradient(135deg, #6d28d9, #7c3aed); }
.detail-account-card .detail-direct-payment { gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); }
.detail-direct-payment label { display: grid; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 900; }
.detail-direct-payment select { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; }
.detail-direct-payment button { min-height: 46px; padding: 10px 12px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#6d28d9,#7c3aed); font-weight: 950; }
.detail-direct-payment .table-cash-shift-state { display: grid; gap: 9px; padding: 11px; border: 1px solid #fed7aa; border-radius: 12px; background: #fff7ed; }
.detail-direct-payment .table-cash-shift-state.is-ready { border-color: #bbf7d0; background: #f0fdf4; }
.detail-direct-payment .table-cash-shift-state strong,.detail-direct-payment .table-cash-shift-state span { display: block; }
.detail-direct-payment .table-cash-shift-state strong { color: var(--ink); font-size: 12px; }
.detail-direct-payment .table-cash-shift-state span { margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.detail-direct-payment .table-cash-shift-state > a { width: fit-content; color: var(--violet); font-size: 12px; font-weight: 900; }

.detail-payment-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.detail-payment-panel > div:not(.detail-payment-actions) { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fafbfe; }
.detail-payment-panel span { color: var(--muted); font-size: 12px; font-weight: 850; }
.detail-payment-panel strong { font-size: 20px; }
.detail-payment-panel .remaining { color: #b45309; background: #fffbeb !important; border-color: #fde68a !important; }
.detail-payment-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.detail-payment-actions a { color: var(--violet); border: 1px solid var(--violet); }
.detail-payment-actions form button { height: 100%; color: #fff; background: var(--violet); border: 1px solid var(--violet); }
.detail-payment-actions a.primary { color: #fff; background: var(--violet); }
.detail-payment-actions a.success { color: #fff; background: var(--green); border-color: var(--green); }

.detail-transfer-panel { display: grid; gap: 13px; max-width: 800px; }
.detail-transfer-panel > label { display: grid; gap: 7px; font-weight: 900; }
.detail-transfer-panel select { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.transfer-selection-summary { display: grid; gap: 3px; padding: 13px; border-radius: 14px; color: #3730a3; background: #eef2ff; }
.transfer-selection-summary span { color: var(--muted); font-size: 12.5px; font-weight: 750; }
.detail-transfer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cancelled-product-list { display: grid; gap: 10px; }
.cancelled-product-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 13px; border: 1px solid #fecaca; border-radius: 16px; background: #fffafa; }
.cancelled-product-thumb { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 14px; color: #b91c1c; background: #fee2e2; font-size: 18px; font-weight: 950; }
.cancelled-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cancelled-product-main { display: grid; gap: 8px; min-width: 0; }
.cancelled-product-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cancelled-product-title > div { display: grid; gap: 3px; }
.cancelled-product-title small { color: var(--muted); font-size: 12px; font-weight: 800; }
.cancelled-product-title strong { color: var(--ink); font-size: 14px; }
.cancelled-product-title > span { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #b91c1c; background: #fee2e2; font-size: 12px; font-weight: 950; }
.cancelled-product-main > p { margin: 0; color: #7f1d1d; font-size: 12px; font-weight: 750; }
.cancelled-product-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cancelled-product-meta span { display: grid; gap: 2px; color: var(--ink); font-size: 12.5px; font-weight: 800; }
.cancelled-product-meta b { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.detail-history-list { display: grid; gap: 8px; }
.detail-history-list article { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.history-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #137a45; background: #dcfce7; font-weight: 950; }
.detail-history-list article > div { display: grid; gap: 2px; }
.detail-history-list p, .detail-history-list small { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 750; }
.detail-history-list time { color: var(--muted); font-size: 12px; font-weight: 800; text-align: right; }
.detail-empty-state { display: grid; justify-items: center; gap: 8px; padding: 34px 16px; color: var(--muted); text-align: center; }
.detail-empty-state b { color: var(--ink); font-size: 18px; }
.detail-empty-state button { margin-top: 4px; }

.detail-dialog {
  width: min(1040px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 100px rgba(15,23,42,.32);
}
.detail-dialog::backdrop { background: rgba(7,17,31,.62); backdrop-filter: blur(4px); }
.dialog-heading { display: flex; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dialog-heading small { color: var(--violet); font-weight: 950; letter-spacing: .1em; }
.dialog-heading h3 { margin: 4px 0; font-size: 24px; }
.dialog-heading p { margin: 0; color: var(--muted); font-weight: 750; }
.dialog-heading > button { width: 38px; height: 38px; padding: 0; color: var(--ink); background: #f1f5f9; font-size: 24px; }
.order-dialog { overflow-y: auto; }
.catalog-toolbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.catalog-toolbar input { flex: 1; padding: 12px 13px; border: 1px solid var(--line); border-radius: 13px; }
.catalog-toolbar span { color: var(--muted); font-size: 12px; font-weight: 850; }
.order-dialog .product-order-catalog { padding: 18px 20px 24px; }
.catalog-form-row { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.catalog-form-row label { display: grid; gap: 5px; }
.product-config-sheet { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 18px; }
.product-config-sheet[hidden] { display: none; }
.product-config-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border-radius: 0; background: rgba(11, 16, 34, .62); backdrop-filter: blur(3px); }
.product-config-panel { position: relative; z-index: 1; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(560px, 100%); max-height: min(760px, calc(100vh - 36px)); overflow: hidden; border: 1px solid #ddd6fe; border-radius: 24px; background: #fff; box-shadow: 0 28px 70px rgba(11, 16, 34, .28); }
.product-config-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.product-config-heading small { color: var(--violet); font-size: 12px; font-weight: 950; letter-spacing: .1em; }
.product-config-heading h4 { margin: 3px 0; font-size: 20px; }
.product-config-heading p { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 750; }
.product-config-heading > button { width: 36px; height: 36px; padding: 0; color: var(--ink); background: #f1f5f9; font-size: 22px; }
.product-config-body { display: grid; align-content: start; gap: 13px; overflow-y: auto; padding: 17px 18px; }
.product-option-group { display: grid; gap: 7px; color: var(--ink-2); font-size: 13px; font-weight: 900; }
.product-option-group > em { justify-self: start; padding: 3px 7px; border-radius: 999px; color: #6d28d9; background: #ede9fe; font-size: 11px; font-style: normal; }
.product-config-empty { margin: 0; padding: 11px; border-radius: 12px; color: var(--muted); background: #f8fafc; font-size: 12px; font-weight: 800; }
.product-config-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); background: #fafafa; }
.product-config-footer > div { display: grid; gap: 2px; }
.product-config-footer small { color: var(--muted); font-size: 11px; font-weight: 950; letter-spacing: .08em; }
.product-config-footer strong { color: var(--navy); font-size: 20px; }
.product-config-footer > button { min-width: 150px; }
.web-order-cart { position: sticky; z-index: 5; bottom: 0; border-top: 1px solid #c4b5fd; background: #fff; box-shadow: 0 -14px 35px rgba(11, 16, 34, .13); }
.web-order-cart > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: linear-gradient(90deg, #faf5ff, #f5f3ff); }
.web-order-cart > header > div { display: grid; gap: 2px; }
.web-order-cart > header small { color: var(--violet); font-size: 11px; font-weight: 950; letter-spacing: .1em; }
.web-order-cart > header strong { font-size: 15px; }
.web-order-cart > header button { padding: 8px 10px; font-size: 12.5px; }
.web-order-cart-body { display: grid; gap: 10px; max-height: 42vh; overflow-y: auto; padding: 12px 20px 16px; }
.web-order-cart-body[hidden] { display: none; }
.web-order-cart-lines { display: grid; gap: 7px; }
.web-order-cart-lines article { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; }
.web-cart-thumb { display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; border-radius: 11px; color: #5b21b6; background: var(--violet-soft); font-weight: 950; }
.web-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.web-order-cart-lines article > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.web-order-cart-lines small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.web-order-cart-lines small.note { color: #b45309; font-weight: 850; }
.web-order-cart-lines article > b { font-size: 12px; white-space: nowrap; }
.web-cart-actions { display: flex; gap: 4px; }
.web-cart-actions button { padding: 6px 7px; border-radius: 8px; font-size: 12px; }
.web-order-cart-body > label { display: grid; gap: 5px; color: var(--muted); font-size: 12.5px; font-weight: 900; }

.cancel-dialog { width: min(510px, calc(100% - 24px)); }
.cancel-dialog-form {
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 20px;
}
.cancel-dialog-form .dialog-heading {
  position: sticky;
  z-index: 3;
  top: 0;
  margin: 0 -20px;
  background: #fff;
}
.cancel-warning { padding: 11px 12px; border: 1px solid #fed7aa; border-radius: 12px; color: #b45309; background: #fff7ed; font-size: 12px; font-weight: 850; }
.cancel-dialog fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.cancel-dialog legend { width: 100%; margin-bottom: 6px; color: var(--ink-2); font-size: 12px; font-weight: 950; }
.cancel-dialog fieldset label { padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-2); background: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.cancel-dialog input[type="radio"] { accent-color: var(--violet); }
.cancel-field { display: grid; gap: 6px; color: var(--ink-2); font-size: 12px; font-weight: 950; }
.cancel-field select, .cancel-field textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.cancel-field textarea { min-height: 88px; resize: vertical; }
.cancel-item-summary { padding: 10px 12px; border-radius: 11px; color: #3730a3; background: #eef2ff; font-size: 12px; font-weight: 900; }
.cancel-audit-note { margin: 0; padding: 10px 12px; border-radius: 11px; color: #1d4ed8; background: #eff6ff; font-size: 12.5px; font-weight: 800; }
.cancel-footer {
  position: sticky;
  z-index: 3;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 0 -20px;
  padding: 12px 20px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -12px 28px rgba(15, 23, 42, .08);
}
.cancel-footer .danger { background: var(--red); }
.cancel-footer button:disabled { cursor: wait; opacity: .72; }

@media (max-width: 1180px) {
  .detail-workspace { grid-template-columns: 1fr; }
  .dashboard-shell .detail-account-card { position: static; grid-template-columns: repeat(3, 1fr); }
  .detail-account-card h3, .detail-account-card hr, .detail-account-card > p, .detail-account-card > strong { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .detail-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-order-item { grid-template-columns: auto 38px minmax(130px, 1fr) auto; }
  .detail-order-item > b { grid-column: 4; grid-row: 1; }
  .detail-qty { grid-column: 3; }
  .item-cancel-button { grid-column: 4; }
}
@media (max-width: 760px) {
  .table-detail-main { padding: 14px !important; }
  .table-detail-topbar { align-items: flex-start; }
  .detail-refresh { display: none; }
  .table-detail-identity p { font-size: 12.5px; }
  .detail-summary-grid { gap: 7px; }
  .detail-summary-grid article { min-height: 82px; padding: 12px; }
  .detail-summary-grid strong { font-size: 17px; }
  .detail-summary-grid i { top: 9px; right: 9px; width: 28px; height: 28px; }
  .detail-actionbar { display: grid; grid-template-columns: 1fr 1fr; }
  .detail-action { padding: 9px 8px; font-size: 12.5px; }
  .detail-action.danger { grid-column: 1 / -1; }
  .detail-tab-panel { padding: 13px; }
  .detail-panel-heading { align-items: flex-start; }
  .detail-panel-heading p { font-size: 12.5px; }
  .cancelled-product-card { grid-template-columns: 42px minmax(0, 1fr); padding: 11px; }
  .cancelled-product-thumb { width: 42px; height: 42px; border-radius: 12px; }
  .cancelled-product-title { display: grid; }
  .cancelled-product-title > span { justify-self: start; }
  .detail-order-card > header { padding: 11px; }
  .detail-order-item { grid-template-columns: auto 36px minmax(0, 1fr) auto; gap: 7px; padding: 11px; }
  .detail-product-thumb { width: 36px; height: 36px; }
  .detail-order-item > b { font-size: 12.5px; }
  .detail-qty { grid-column: 3; }
  .item-cancel-button { grid-column: 4; padding: 7px 2px; font-size: 11px; }
  .detail-payment-panel { grid-template-columns: 1fr; }
  .detail-payment-actions, .detail-payment-panel .remaining { grid-column: 1; }
  .dashboard-shell .detail-account-card { grid-template-columns: 1fr 1fr; padding: 14px; }
  .detail-account-card h3, .detail-account-card hr, .detail-account-card > p, .detail-account-card > strong { grid-column: 1 / -1; }
  .catalog-products { grid-template-columns: 1fr; }
  .catalog-product-summary { grid-template-columns: 52px minmax(0, 1fr) auto; padding: 10px; }
  .catalog-product-thumb { width: 52px; height: 52px; border-radius: 14px; }
  .catalog-product-copy span { max-width: 42vw; }
  .product-config-sheet { place-items: end center; padding: 0; }
  .product-config-panel { width: 100%; max-height: 88vh; border-width: 1px 0 0; border-radius: 24px 24px 0 0; }
  .product-config-heading { padding: 14px; }
  .product-config-body { padding: 14px; }
  .product-config-footer { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  .web-order-cart > header { padding: 10px 14px; }
  .web-order-cart-body { padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); }
  .web-order-cart-lines article { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .web-cart-thumb { width: 38px; height: 38px; }
  .web-cart-actions { grid-column: 2 / -1; }
  .catalog-form-row { grid-template-columns: 80px 1fr; }
}
.waiter-ready-toast {
  position: fixed;
  z-index: 1200;
  top: 22px;
  right: 22px;
  width: min(390px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: #f8fafc;
  background: linear-gradient(135deg, #064e3b, #047857);
  border: 1px solid rgba(167, 243, 208, .5);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(6, 78, 59, .34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px) scale(.97);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.waiter-ready-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.waiter-ready-toast.is-actionable {
  cursor: pointer;
}

.waiter-ready-toast-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #065f46;
  background: #d1fae5;
  border-radius: 14px;
  font-size: 25px;
  font-weight: 900;
}

.waiter-ready-toast-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.waiter-ready-toast-copy strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.waiter-ready-toast-copy small {
  color: #d1fae5;
  font-size: 13px;
  line-height: 1.35;
}

.waiter-ready-toast > button {
  align-self: start;
  padding: 0;
  color: #d1fae5;
  background: transparent;
  border: 0;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px) {
  .waiter-ready-toast {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
  }
}
.date-period-filter{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(150px,220px));gap:10px;align-items:end}.date-period-filter label{display:grid;gap:5px;min-width:0}.date-period-filter label>span{color:var(--muted);font-size: 12px;font-weight:900;letter-spacing:.04em}.date-period-filter input,.date-period-filter select{box-sizing:border-box;width:100%;height:44px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#fff;font:inherit;font-weight:750}@media(max-width:700px){.date-period-filter{grid-template-columns:1fr}}

/* Professional cashier console: bounded account browser + focused checkout. */
.cashier-console-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px;padding:20px 22px;border:1px solid #292750;border-radius:22px;color:#fff;background:linear-gradient(135deg,#10142c 0%,#171334 62%,#27105a 100%);box-shadow:0 18px 50px rgba(20,13,53,.22)}
.cashier-console-head p,.cashier-account-browser .section-title small,.cashier-table>.section-title small{margin:0 0 5px;color:#a98bff;font-size: 12px;font-weight:950;letter-spacing:.12em}.cashier-console-head h2{margin:0;font-size:30px}.cashier-console-head span{display:block;margin-top:5px;color:#c3bfd8;font-weight:700}.admin-work-modes{display:flex;gap:6px;padding:5px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(7,9,25,.42)}.admin-work-modes a{padding:10px 15px;border-radius:10px;color:#bdb8d3;text-decoration:none;font-size:12px;font-weight:900}.admin-work-modes a.active{color:#fff;background:#7c2cff;box-shadow:0 7px 20px rgba(124,44,255,.3)}
.cashier-console-grid{display:grid;grid-template-columns:minmax(320px,390px) minmax(560px,1fr);gap:16px;align-items:start}.cashier-account-browser{position:sticky;top:16px;overflow:hidden;padding:16px;background:linear-gradient(180deg,#12162e,#101327);border-color:#292f52}.cashier-account-browser .section-title h3,.cashier-table>.section-title h3{margin:0}.cashier-account-search{display:grid;grid-template-columns:1fr auto;gap:7px;margin:12px 0 10px}.cashier-account-search input{min-width:0;height:44px;padding:0 13px;border:1px solid #30385e;border-radius:12px;color:#fff;background:#0b0f22;font:inherit;font-weight:750}.cashier-account-search input:focus{outline:2px solid rgba(124,44,255,.32);border-color:#7c2cff}.cashier-account-search button{padding:0 15px;border:0;border-radius:12px;color:#fff;background:#6d35d5;font-weight:900}.cashier-account-browser .cashier-area-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;margin-bottom:10px;padding-bottom:2px}.cashier-account-browser .cashier-area-tabs a{flex:0 0 auto;color:#aaa5c2;background:#181c36;border-color:#2d3457}.cashier-account-browser .cashier-area-tabs a.active{color:#fff;background:#6d35d5;border-color:#7c2cff}
.cashier-account-list{display:grid;grid-template-rows:repeat(8,minmax(58px,1fr));gap:6px;min-height:506px}.cashier-account-list>a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:8px 10px;border:1px solid #29304f;border-radius:12px;color:#fff;background:#171b34;text-decoration:none;transition:.15s ease}.cashier-account-list>a:hover{border-color:#58428d;transform:translateY(-1px)}.cashier-account-list>a.active{border-color:#8247ff;background:linear-gradient(90deg,rgba(124,44,255,.24),rgba(124,44,255,.08));box-shadow:inset 3px 0 #8b50ff}.cashier-account-index{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;color:#bda6ff;background:#28204c;font-size: 12px;font-weight:950}.cashier-account-list strong,.cashier-account-list small{display:block}.cashier-account-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.cashier-account-list small{margin-top:3px;color:#87839d;font-size: 11px}.cashier-account-list>a>b{font-size: 12.5px;white-space:nowrap}.cashier-browser-empty{display:grid;place-items:center;min-height:160px;padding:22px;color:#9994ae;text-align:center}.cashier-pagination{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:6px;margin-top:10px}.cashier-pagination a,.cashier-pagination span{display:grid;place-items:center;height:36px;border:1px solid #30375a;border-radius:10px;color:#fff;background:#191d38;text-decoration:none;font-size:19px}.cashier-pagination span{opacity:.35}.cashier-pagination b{text-align:center;color:#aaa5c1;font-size: 12.5px}.cashier-checkout-column{min-width:0}.cashier-checkout-column>.cashier-table{background:#11152c;border-color:#292f52}.cashier-checkout-column .stats.mini>article{background:#181d38;border-color:#2c3458}.cashier-checkout-column .stats.mini span{color:#8f8aa6}.cashier-checkout-column .stats.mini strong{color:#fff}.cashier-checkout-column .payment-toolbar{border-color:#30245b;background:rgba(124,44,255,.08)}
@media(max-width:1050px){.cashier-console-grid{grid-template-columns:1fr}.cashier-account-browser{position:static}.cashier-account-list{grid-template-rows:repeat(8,minmax(58px,1fr));min-height:506px}}
@media(max-width:700px){.cashier-console-head{align-items:flex-start;flex-direction:column;padding:17px}.admin-work-modes{width:100%}.admin-work-modes a{flex:1;text-align:center}.cashier-console-grid{gap:12px}.cashier-account-browser{padding:12px}.cashier-account-list{grid-template-rows:none;min-height:0;max-height:420px;overflow-y:auto}.cashier-account-list>a{grid-template-columns:30px minmax(0,1fr) auto}.cashier-checkout-column .payment-toolbar{grid-template-columns:1fr}.cashier-checkout-column .section-title{align-items:flex-start}}

/* Closed table ledger: historical sessions remain bounded, searchable and auditable. */
.cashier-ledger-tabs{display:flex;gap:5px;margin:-6px 0 18px;padding:5px;border:1px solid #dcd8eb;border-radius:15px;background:#fff;box-shadow:var(--shadow-soft)}
.cashier-ledger-tabs a{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:11px;color:#747084;font-size:12px}.cashier-ledger-tabs a.active{color:#fff;background:#6f2fe0;box-shadow:0 8px 20px rgba(111,47,224,.22)}.cashier-ledger-tabs span{display:grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;color:inherit;background:rgba(255,255,255,.16);font-size: 11px}
.closed-cashier-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.closed-cashier-heading h2{margin:0;font-size:27px}.closed-cashier-heading p{max-width:720px;margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.closed-cashier-heading .button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:#fff;background:#6f2fe0;box-shadow:0 10px 24px rgba(111,47,224,.2)}
.closed-date-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:11px;padding:9px;border:1px solid #292f4d;border-radius:15px;background:#111529}.closed-date-toolbar nav{display:flex;gap:5px}.closed-date-toolbar nav a{padding:10px 12px;border:1px solid transparent;border-radius:10px;color:#a4a1b3;font-size: 12.5px}.closed-date-toolbar nav a.active{border-color:#7244bf;color:#fff;background:#2b1d56}.closed-date-toolbar form{display:flex;align-items:flex-end;gap:7px;margin-left:auto}.closed-date-toolbar label{display:grid;gap:4px;color:#8d89a2;font-size: 11px;font-weight:900}.closed-date-toolbar input{height:36px;padding:0 9px;border:1px solid #303655;border-radius:9px;color:#fff;background:#0b0f20;color-scheme:dark;font:inherit;font-size: 12.5px}.closed-date-toolbar button{height:36px;padding:0 12px;border-radius:9px;background:#6730ce;font-size: 12px}
.closed-cashier-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:11px}.closed-cashier-stats article{display:flex;align-items:center;gap:11px;padding:12px 13px;border:1px solid #292f4d;border-radius:14px;color:#fff;background:#111529}.closed-stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#d1bdff;background:#2b2051;font-weight:950}.closed-cashier-stats small,.closed-cashier-stats strong{display:block}.closed-cashier-stats small{color:#89859f;font-size: 11px}.closed-cashier-stats strong{margin-top:3px;font-size:14px}
.closed-cashier-layout{display:grid;grid-template-columns:minmax(390px,.9fr) minmax(520px,1.25fr);align-items:start;gap:11px}.dashboard-shell .closed-session-browser{position:sticky;top:16px;height:auto;min-height:0;padding:0;color:#fff;background:#101427;border-color:#292f4d;overflow:hidden}.closed-session-browser>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px;border-bottom:1px solid #282e4a}.closed-session-browser>header h3{margin:0;font-size:14px}.closed-session-browser>header p{margin:4px 0 0;color:#868197;font-size: 12px}.closed-session-browser>header>span{padding:6px 9px;border-radius:999px;color:#bba1f0;background:#251a47;font-size: 11px;font-weight:900}.closed-session-search{display:grid;grid-template-columns:1fr auto;gap:7px;padding:11px 14px}.closed-session-search input{min-width:0;height:39px;padding:0 11px;border:1px solid #303655;border-radius:10px;outline:0;color:#fff;background:#0b0f20;font:inherit;font-size: 12.5px}.closed-session-search button{height:39px;padding:0 13px;border-radius:10px;background:#6730ce;font-size: 12px}.closed-session-list-head,.closed-session-list>a{display:grid;grid-template-columns:minmax(112px,1.15fr) minmax(90px,.9fr) 63px 66px 76px;align-items:center;gap:7px}.closed-session-list-head{padding:9px 13px;color:#716c85;background:#0c1020;font-size: 11px;text-transform:uppercase}.closed-session-list>a{position:relative;padding:10px 13px;border-top:1px solid #242a44;border-radius:0;color:#d9d6e3;background:#101427;text-decoration:none}.closed-session-list>a:hover{transform:none;background:#151a31}.closed-session-list>a.active{background:linear-gradient(90deg,rgba(124,44,255,.2),rgba(124,44,255,.05))}.closed-session-list>a.active:before{position:absolute;top:8px;bottom:8px;left:0;width:3px;border-radius:0 3px 3px 0;background:#8a3dff;content:""}.closed-table-label{display:flex;align-items:center;gap:8px;min-width:0}.closed-table-label i{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:9px;color:#cdbaff;background:#292049;font-style:normal}.closed-table-label strong,.closed-table-label small,.closed-time strong,.closed-time small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.closed-table-label strong{font-size: 12px}.closed-table-label small,.closed-time small{margin-top:3px;color:#817c92;font-size: 11px}.closed-time strong{font-size: 11px}.closed-duration{color:#aaa5b8;font-size: 11px}.closed-method{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 6px;border-radius:7px;color:#a6d9ff;background:rgba(61,155,222,.13);font-size: 11px}.closed-method-cash{color:#9ce0bc;background:rgba(36,175,102,.13)}.closed-method-mixed{color:#dfbaff;background:rgba(153,76,226,.15)}.closed-session-list>a>b{font-size: 11px;text-align:right;white-space:nowrap}.closed-pagination{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;gap:6px;padding:10px 13px;border-top:1px solid #282e4a}.closed-pagination a,.closed-pagination span{display:grid;place-items:center;height:32px;padding:0;border:1px solid #303655;border-radius:8px;color:#fff;background:#161a31}.closed-pagination span{opacity:.35}.closed-pagination b{text-align:center;color:#8e899e;font-size: 11px}
.closed-session-detail{overflow:hidden;padding:0;border-color:#292f4d;color:#fff;background:#101427}.closed-detail-head{padding:14px;background:linear-gradient(110deg,#13182d,#17112e 70%,#25104e)}.closed-detail-title{display:flex;align-items:flex-start;gap:10px}.closed-receipt-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;color:#d3c0ff;background:#2c2055;font-size:18px;font-weight:950}.closed-detail-title>div:nth-child(2){flex:1;min-width:0}.closed-detail-title h3{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0;font-size:15px}.closed-detail-title h3 small{padding:4px 7px;border-radius:999px;color:#93dfb4;background:rgba(35,175,103,.14);font-size: 11px}.closed-detail-title p{margin:4px 0 0;color:#918ca5;font-size: 11px}.closed-detail-title>div:last-child{text-align:right}.closed-detail-title>div:last-child small,.closed-detail-title>div:last-child strong{display:block}.closed-detail-title>div:last-child small{color:#9994a9;font-size: 11px}.closed-detail-title>div:last-child strong{margin-top:3px;font-size:18px}.closed-detail-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px}.closed-detail-facts>span{padding:9px;border:1px solid rgba(75,82,122,.55);border-radius:10px;background:rgba(11,15,32,.48)}.closed-detail-facts small,.closed-detail-facts strong{display:block}.closed-detail-facts small{color:#858097;font-size: 11px}.closed-detail-facts strong{margin-top:4px;overflow:hidden;font-size: 12px;text-overflow:ellipsis;white-space:nowrap}.closed-detail-tabs{display:flex;gap:3px;padding:7px;border-top:1px solid #282e4a;border-bottom:1px solid #282e4a;background:#0c1020}.closed-detail-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 10px;border-radius:8px;color:#8d889e;background:transparent;font-size: 11px}.closed-detail-tabs button.active{color:#fff;background:#2b1e52}.closed-detail-tabs button span{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;color:#c0a9f5;background:#382666;font-size: 11px}.closed-detail-panels>section{padding:14px}.closed-panel-title{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:9px}.closed-panel-title h4{margin:0;font-size:12px}.closed-panel-title small{color:#827d92;font-size: 11px}.closed-order-products{overflow:hidden;border:1px solid #292f4d;border-radius:11px}.closed-order-products article{display:grid;grid-template-columns:33px minmax(0,1fr) 54px 76px;align-items:center;gap:8px;padding:9px 10px;border-bottom:1px solid #252b46;background:#111529}.closed-order-products article:last-child{border-bottom:0}.closed-order-products i,.closed-payment-list i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;color:#c7b2f7;background:#292047;font-size: 11px;font-style:normal;font-weight:950}.closed-order-products strong,.closed-order-products small,.closed-order-products em{display:block}.closed-order-products strong{font-size: 12px}.closed-order-products small{margin-top:3px;color:#868196;font-size: 11px}.closed-order-products em{margin-top:3px;color:#bca2f4;font-size: 11px;font-style:normal}.closed-order-products>article>span:nth-last-child(2){color:#aaa5b7;font-size: 11px;text-align:center}.closed-order-products>article>b{font-size: 11px;text-align:right}.closed-account-totals{display:grid;grid-template-columns:1fr auto;gap:6px 16px;margin:10px 0 0;padding:11px;border:1px solid #292f4d;border-radius:10px;background:#0c1020;font-size: 12px}.closed-account-totals dt{color:#858096}.closed-account-totals dd{margin:0;text-align:right;font-weight:900}.closed-account-totals dt:last-of-type,.closed-account-totals dd:last-of-type{padding-top:7px;border-top:1px solid #292f4d;color:#fff;font-size: 12.5px}.closed-payment-list{display:grid;gap:7px}.closed-payment-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #292f4d;border-radius:11px;background:#111529}.closed-payment-list strong,.closed-payment-list small{display:block}.closed-payment-list strong{font-size: 12px}.closed-payment-list small{margin-top:4px;color:#858096;font-size: 11px}.closed-payment-list>article>b{text-align:right;font-size: 12.5px}.closed-payment-list>article>b small{color:#8dd7b0}.closed-timeline{position:relative;margin-left:8px;padding-left:20px}.closed-timeline:before{position:absolute;top:8px;bottom:8px;left:5px;width:1px;background:#353a5c;content:""}.closed-timeline article{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:0 0 14px}.closed-timeline article:last-child{padding-bottom:0}.closed-timeline article>i{position:absolute;top:4px;left:-19px;width:9px;height:9px;border:2px solid #0f1326;border-radius:50%;background:#7650c2;box-shadow:0 0 0 2px #3a3156}.closed-timeline article:last-child>i{background:#2dbc72}.closed-timeline strong,.closed-timeline small{display:block}.closed-timeline strong{font-size: 12px}.closed-timeline small{margin-top:4px;color:#858096;font-size: 11px;line-height:1.45}.closed-timeline time{color:#b7a1e7;font-size: 11px}.closed-audit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.closed-audit-grid article{padding:11px;border:1px solid #292f4d;border-radius:10px;background:#111529}.closed-audit-grid small,.closed-audit-grid strong,.closed-audit-grid span{display:block}.closed-audit-grid small{color:#7f7a90;font-size: 11px}.closed-audit-grid strong{margin-top:5px;font-size: 12px}.closed-audit-grid span{margin-top:4px;color:#9b96aa;font-size: 11px}
@media(max-width:1250px){.closed-cashier-layout{grid-template-columns:1fr}.dashboard-shell .closed-session-browser{position:static}.closed-session-list-head,.closed-session-list>a{grid-template-columns:minmax(160px,1.3fr) minmax(110px,1fr) 80px 80px 90px}}
@media(max-width:760px){.cashier-ledger-tabs{overflow-x:auto}.cashier-ledger-tabs a{flex:0 0 auto}.closed-cashier-heading{align-items:stretch;flex-direction:column}.closed-cashier-heading .button{align-self:flex-start}.closed-date-toolbar{align-items:stretch;flex-direction:column}.closed-date-toolbar nav{overflow-x:auto}.closed-date-toolbar form{display:grid;grid-template-columns:1fr 1fr auto;width:100%;margin:0}.closed-date-toolbar input{width:100%}.closed-cashier-stats{grid-template-columns:1fr}.closed-session-list-head{display:none}.closed-session-list>a{grid-template-columns:minmax(0,1fr) auto auto}.closed-time{grid-column:1;margin-left:39px}.closed-duration{grid-column:2}.closed-method{grid-column:3;grid-row:1}.closed-session-list>a>b{grid-column:3;grid-row:2}.closed-detail-title{flex-wrap:wrap}.closed-detail-title>div:last-child{width:100%;padding-left:52px;text-align:left}.closed-detail-facts{grid-template-columns:1fr 1fr}.closed-detail-tabs{overflow-x:auto}.closed-detail-tabs button{flex:0 0 auto}.closed-order-products article{grid-template-columns:32px minmax(0,1fr) auto}.closed-order-products>article>span:nth-last-child(2){grid-column:2;text-align:left}.closed-order-products>article>b{grid-column:3;grid-row:1/3}.closed-audit-grid{grid-template-columns:1fr}}
@media(max-width:460px){.closed-date-toolbar form{grid-template-columns:1fr 1fr}.closed-date-toolbar form button{grid-column:1/-1}.closed-detail-facts{grid-template-columns:1fr}.closed-session-search{grid-template-columns:1fr}.closed-session-search button{display:none}}
.closed-session-list{max-height:512px;overflow-y:auto}
.closed-order-products article.cancelled{border-color:#713344;opacity:.72}.closed-order-products>article>span:nth-last-child(2) small,.closed-order-products>article>b small{display:block;margin-top:2px;color:#858096;font-size: 11px}.closed-payment-list em{display:block;margin-top:4px;color:#bca2f4;font-size: 11px;font-style:normal}.closed-payment-list article.refund{border-color:#713344;background:#241422}.closed-payment-list article.refund>b,.closed-payment-list article.refund>b small{color:#ff8da7}.closed-date-toolbar form>small{align-self:center;color:#817c90;font-size: 11px;white-space:nowrap}
.report-export-panel { display: grid; gap: 14px; }
.report-export-controls { display: grid; grid-template-columns: auto auto minmax(130px, 180px) auto; gap: 10px; align-items: end; }
.report-export-controls label { display: grid; gap: 6px; color: var(--muted, #798299); font-size: 12px; font-weight: 800; }
.report-export-controls input, .report-export-controls select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line, #dfe3ec); border-radius: 12px; color: var(--ink, #111827); background: var(--panel, #fff); }
.report-download-button, .report-export-controls button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 0; border-radius: 12px; color: #fff; font-weight: 900; text-decoration: none; cursor: pointer; }
.report-download-button.excel { background: #15803d; }
.report-download-button.pdf { background: #b42318; }
.report-export-controls button { background: #128c5b; }
.report-export-controls button:disabled { opacity: .6; cursor: wait; }
.report-secure-note { margin: 0; color: var(--muted, #798299); font-size: 12px; }
.report-share-feedback { min-height: 18px; margin: 0; font-weight: 800; }
.report-share-feedback[data-tone="success"] { color: #15803d; }
.report-share-feedback[data-tone="error"] { color: #b42318; }
@media (max-width: 980px) { .report-export-controls { grid-template-columns: 1fr 1fr; } .report-export-controls label:first-of-type { grid-column: 1 / -1; } }
@media (max-width: 560px) { .report-export-controls { grid-template-columns: 1fr; } .report-export-controls label:first-of-type { grid-column: auto; } }
.cash-shift-payment-state{display:grid;grid-template-columns:minmax(240px,1fr) minmax(190px,280px) auto;align-items:center;gap:10px;margin:12px 0;padding:13px;border:1px solid rgba(255,139,66,.34);border-radius:14px;background:rgba(255,139,66,.08)}
.cash-shift-payment-state[hidden]{display:none}.cash-shift-payment-state strong,.cash-shift-payment-state small{display:block}.cash-shift-payment-state small{margin-top:4px;color:#aaa6bd;line-height:1.45}.cash-shift-payment-state select{min-height:42px;padding:0 10px;border:1px solid #343b60;border-radius:11px;color:#fff;background:#171b34}.cash-shift-payment-state a{padding:11px 13px;border-radius:11px;color:#fff;background:#6d35d5;text-decoration:none;font-weight:900;text-align:center}
@media(max-width:900px){.cash-shift-payment-state{grid-template-columns:1fr}}
/* Kesinleştirilmiş kasa gün sonu */
.web-eod-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;padding:22px;border:1px solid #463778;border-radius:20px;background:linear-gradient(135deg,#17132d,#161c35 70%,#202844)}
.web-eod-hero.finalized{border-color:rgba(41,196,126,.45);background:linear-gradient(135deg,#112620,#151c32 68%,#202844)}.web-eod-hero small{color:#ad99ff;font-weight:900;letter-spacing:1px}.web-eod-hero h2{margin:5px 0 3px}.web-eod-hero p{margin:0;color:var(--muted)}.web-eod-hero label{display:grid;gap:5px;color:var(--muted);font-size:.74rem;font-weight:900}.web-eod-hero input{min-height:40px;border:1px solid #3c4767;border-radius:10px;color:#fff;background:#11172b;padding:0 10px;color-scheme:dark}
.web-eod-business-status{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:12px 15px;border:1px solid #3c4767;border-radius:14px;background:#151b31}.web-eod-business-status strong{color:#c8b9ff}.web-eod-business-status p{margin:0;color:var(--muted);font-size:.75rem}.web-eod-business-status.carried{border-color:rgba(245,158,11,.5);background:rgba(245,158,11,.08)}.web-eod-business-status.carried strong{color:#ffd28a}.web-eod-business-status.ready{border-color:rgba(41,196,126,.45);background:rgba(41,196,126,.08)}.web-eod-business-status.ready strong{color:#67e6aa}
.web-eod-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.web-eod-metrics article{display:grid;gap:6px;min-height:96px;padding:15px;border:1px solid #2d3857;border-radius:16px;background:#141a30}.web-eod-metrics small,.web-eod-metrics span{color:var(--muted);font-size:.72rem}.web-eod-metrics strong{font-size:1.25rem}
.web-eod-blocker{margin-bottom:14px;padding:14px 16px;border:1px solid rgba(245,158,11,.45);border-radius:15px;color:#ffd28a;background:rgba(245,158,11,.08)}.web-eod-blocker p{color:#d2b989}.web-eod-blocker div{display:flex;flex-wrap:wrap;gap:6px}.web-eod-blocker span{padding:5px 8px;border-radius:999px;background:rgba(245,158,11,.14);font-size:.7rem;font-weight:900}
.web-eod-blocker .web-eod-blocker-actions{margin-top:10px;gap:8px}
.web-eod-panel{margin-bottom:14px}.web-eod-table{display:grid}.web-eod-table>div{display:grid;grid-template-columns:1.45fr repeat(3,minmax(110px,.7fr));align-items:center;gap:10px;min-height:54px;padding:8px 10px;border-bottom:1px solid #293351}.web-eod-table>div.head{min-height:35px;color:var(--muted);background:#11172a;font-size:.67rem;font-weight:900;text-transform:uppercase}.web-eod-table span{display:grid;gap:3px}.web-eod-table small{color:var(--muted);font-size:.65rem}.web-eod-table input{min-height:38px;padding:0 9px;border:1px solid #465171;border-radius:9px;color:#fff;background:#10162a;font-weight:900}.positive{color:#45d798!important}.negative{color:#ff8a83!important}.web-eod-notes{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.web-eod-notes label,.web-eod-actions form label{display:grid;gap:6px;color:var(--muted);font-size:.72rem;font-weight:900}.web-eod-notes textarea{min-height:80px;padding:10px;border:1px solid #35405f;border-radius:11px;color:#fff;background:#10162a}.web-eod-finalize{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:13px;padding-top:13px;border-top:1px solid #2d3653}.web-eod-finalize span{max-width:680px;color:var(--muted);font-size:.74rem}.web-eod-actions form{display:grid;grid-template-columns:minmax(140px,220px) auto;align-items:end;gap:8px;margin-top:12px}.web-eod-actions input,.web-eod-actions select{min-height:40px;border:1px solid #3c4767;border-radius:10px;color:#fff;background:#11172b;padding:0 10px}.web-eod-actions>small{display:block;margin-top:9px;color:var(--muted)}.web-eod-history{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.web-eod-history a{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #303a59;border-radius:12px;color:#fff;background:#11172a;text-decoration:none}.web-eod-history a span{display:grid;gap:3px;flex:1}.web-eod-history a small{color:var(--muted);font-size:.68rem}.web-eod-history a b{font-size:.76rem}
@media(max-width:1000px){.web-eod-metrics{grid-template-columns:repeat(2,1fr)}.web-eod-history{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.web-eod-hero,.web-eod-finalize{align-items:stretch;flex-direction:column}.web-eod-metrics,.web-eod-notes,.web-eod-history{grid-template-columns:1fr}.web-eod-table{overflow-x:auto}.web-eod-table>div{min-width:650px}.web-eod-actions form{grid-template-columns:1fr}}

.cash-movement-entry{display:grid;grid-template-columns:minmax(320px,1fr) minmax(230px,310px) auto;align-items:end;gap:12px;margin-bottom:14px;padding:14px 16px;border:1px solid #3d3565;border-radius:15px;background:linear-gradient(120deg,#17152c,#11172a)}
.cash-movement-entry>div{display:grid;gap:3px}.cash-movement-entry>div>small{color:#a98bff;font-size:.62rem;font-weight:950;letter-spacing:.1em}.cash-movement-entry>div>strong{font-size:1rem}.cash-movement-entry>div>span{color:var(--muted);font-size:.7rem;line-height:1.5}.cash-movement-entry label{display:grid;gap:5px;color:var(--muted);font-size:.66rem;font-weight:900}.cash-movement-entry select{min-height:42px;padding:0 10px;border:1px solid #3b4567;border-radius:11px;color:#fff;background:#10162a}.cash-movement-entry button,.cash-movement-entry a{display:grid;place-items:center;min-height:42px;padding:0 14px;border:0;border-radius:11px;color:#fff;background:#7131dc;text-decoration:none;font-size:.7rem;font-weight:950;cursor:pointer}.cash-movement-entry-warning{color:#ffb568;font-weight:850}
.cash-movement-dialog{width:min(560px,calc(100vw - 28px))}.cash-movement-dialog-body{display:grid;gap:12px;padding:16px}.cash-movement-dialog-body>label{display:grid;gap:6px;color:#c8c7d4;font-size:.7rem;font-weight:900}.cash-movement-dialog-body input,.cash-movement-dialog-body select,.cash-movement-dialog-body textarea{min-height:43px;padding:8px 11px;border:1px solid #3a4464;border-radius:10px;color:#fff;background:#10162a}.cash-movement-dialog-body textarea{min-height:82px;resize:vertical}.cash-movement-type{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cash-movement-type button{min-height:43px;border:1px solid #36405f;border-radius:11px;color:var(--muted);background:#11172b;font-weight:950;cursor:pointer}.cash-movement-type button.active[data-movement-type="cash_out"]{border-color:#9d4a5a;color:#ff9ca6;background:#2b1721}.cash-movement-type button.active[data-movement-type="cash_in"]{border-color:#34785c;color:#6edca9;background:#14291f}.cash-movement-preview-web{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:12px;border:1px solid #3b4566;border-radius:12px;background:#11172a}.cash-movement-preview-web span{display:grid;gap:3px}.cash-movement-preview-web span:last-child{text-align:right}.cash-movement-preview-web small{color:var(--muted);font-size:.58rem}.cash-movement-preview-web b{font-size:.9rem}.cash-movement-preview-web>strong{color:#b89cff;font-size:.75rem}
.web-eod-table.five>div{grid-template-columns:1.35fr repeat(4,minmax(105px,.72fr))}.web-eod-cash-formula{display:grid;grid-template-columns:repeat(6,minmax(92px,1fr) auto) minmax(120px,1.15fr);align-items:center;gap:7px;padding:12px;border:1px solid #303a59;border-radius:13px;background:#10162a}.web-eod-cash-formula span{display:grid;gap:4px}.web-eod-cash-formula small{color:var(--muted);font-size:.6rem}.web-eod-cash-formula strong{font-size:.82rem}.web-eod-cash-formula>b{color:#8666c4}.web-eod-cash-formula .result{padding:9px;border-radius:9px;background:#261b48}.web-eod-cash-formula .result strong{color:#c2aaff;font-size:1rem}.web-eod-movement-list{display:grid;gap:6px;margin-top:10px}.web-eod-movement-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid #2c3552;border-radius:11px;background:#11172a}.web-eod-movement-list article>span{display:grid;gap:3px}.web-eod-movement-list small,.web-eod-movement-list em{color:var(--muted);font-size:.62rem;font-style:normal}.web-eod-movement-list article>b{white-space:nowrap}.web-eod-movement-list>p{color:var(--muted);text-align:center}
@media(max-width:1100px){.cash-movement-entry{grid-template-columns:1fr 1fr}.cash-movement-entry>div{grid-column:1/-1}.web-eod-cash-formula{grid-template-columns:repeat(4,minmax(90px,1fr) auto) minmax(120px,1.15fr)}}
@media(max-width:680px){.cash-movement-entry{grid-template-columns:1fr}.cash-movement-entry>div{grid-column:auto}.cash-movement-preview-web{grid-template-columns:1fr}.cash-movement-preview-web span:last-child{text-align:left}.web-eod-cash-formula{display:flex;overflow-x:auto}.web-eod-cash-formula span{min-width:100px}.web-eod-table.five>div{min-width:760px}}

/* Shared production status and personalized navigation. */
.operations-status-bar{position:sticky;top:0;z-index:80;display:flex;align-items:center;gap:13px;min-height:42px;margin:-2px -2px 16px;padding:8px 12px;border:1px solid #b7ead2;border-radius:13px;color:#0b6643;background:#edfff6;box-shadow:0 8px 24px rgba(24,34,54,.08);font-size:12px;font-weight:800}.operations-status-bar.warning{border-color:#f5d38a;color:#805500;background:#fff9e9}.operations-status-bar.critical{border-color:#f2b7b3;color:#9d2923;background:#fff1f0}.operations-status-bar.loading{opacity:.72}.operations-status-bar.dismissed{width:max-content;min-height:34px;margin-left:auto;padding:4px 7px;border-color:#d9dfeb;color:#646c7e;background:#fff}.operations-status-bar.dismissed>:not([data-status-show]){display:none}.operations-status-bar [hidden]{display:none!important}.operations-status-bar [data-status-show]{width:auto;padding:0 9px;border:0}.operations-status-main{display:inline-flex;align-items:center;gap:7px;margin-right:auto}.operations-status-main i{width:9px;height:9px;border-radius:999px;background:#1da86d;box-shadow:0 0 0 4px rgba(29,168,109,.13)}.operations-status-bar.warning .operations-status-main i{background:#d39213}.operations-status-bar.critical .operations-status-main i{background:#d33b32}.operations-status-bar a{color:inherit;text-decoration:none}.operations-status-bar button{display:grid;place-items:center;width:30px;height:28px;padding:0;border:1px solid currentColor;border-radius:9px;color:inherit;background:transparent;cursor:pointer}.admin-nav-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center}.admin-nav-row>a{min-width:0}.admin-nav-favorite{display:grid;place-items:center;width:27px;height:27px;padding:0;border:0;border-radius:8px;color:#77728a;background:transparent;cursor:pointer}.admin-nav-favorite:hover,.admin-nav-favorite.active{color:#ffbf2f;background:rgba(255,191,47,.12)}.admin-nav-personal{display:grid;gap:8px;margin:8px 0 12px;padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.1)}.admin-nav-personal>div{display:grid;gap:6px}.admin-nav-personal strong{color:#aaa3bd;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.admin-nav-personal>div>div{display:flex;gap:5px;overflow-x:auto;padding-bottom:2px}.admin-nav-personal a{flex:0 0 auto;padding:6px 8px;border-radius:8px;color:#ded9ec;background:rgba(255,255,255,.06);font-size:10px;text-decoration:none}.admin-notification-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:7px;padding:0 5px;border-radius:999px;color:#fff;background:#df3a38;font-size:10px}.admin-notification-badge[hidden]{display:none}@media(max-width:900px){.operations-status-bar{position:relative;top:auto;flex-wrap:wrap}.operations-status-main{width:100%}.operations-status-bar span:not(.operations-status-main),.operations-status-bar a{font-size:10px}.operations-status-bar.dismissed{margin-right:0}.operations-status-bar.dismissed [data-status-show]{font-size:10px}}

/* Visual restaurant plan. */
.floor-plan-panel{margin-bottom:16px}.floor-plan-heading{align-items:end}.floor-area-filter{display:grid;gap:5px;color:var(--muted);font-size:11px;font-weight:900}.floor-area-filter select{min-width:170px;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:#fff}.floor-plan-canvas{position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;min-height:420px;border:1px solid #d9ddea;border-radius:18px;background:linear-gradient(135deg,#fafbfe,#f2f4f9)}.floor-plan-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(98,84,151,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(98,84,151,.07) 1px,transparent 1px);background-size:5% 8.888%}.floor-table{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;overflow:hidden;min-width:55px;min-height:48px;padding:7px;border:2px solid #9ca8ba;border-radius:14px;color:#23304a;background:#fff;box-shadow:0 8px 18px rgba(26,34,57,.12);text-decoration:none;touch-action:none;cursor:pointer}.floor-table-round{border-radius:999px}.floor-table-square{border-radius:10px}.floor-table strong{font-size:12px}.floor-table small{font-size:9px}.floor-table em{overflow:hidden;max-width:100%;color:#68748a;font-size:8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.floor-table.is-open{border-color:#3689dc;background:#ebf5ff}.floor-table.is-request{border-color:#f09b35;background:#fff5e8}.floor-table.is-bill{border-color:#e1514b;background:#fff0ef}.floor-table.is-empty{border-color:#43a977;background:#effcf5}.floor-table.dragging{z-index:6;box-shadow:0 16px 36px rgba(64,34,145,.28);cursor:grabbing}.floor-plan-save{margin:9px 2px 0;color:#277650;font-size:11px;font-weight:800}.floor-plan-save.error{color:#b42318}.floor-plan-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted)}@media(max-width:700px){.floor-plan-heading{align-items:stretch;flex-direction:column}.floor-area-filter select{width:100%}.floor-plan-canvas{min-height:350px;aspect-ratio:4/5}.floor-table em{display:none}}

/* Kitchen SLA and display controls. */
.kitchen-display-controls{display:flex;gap:7px;margin-left:auto}.kitchen-display-controls button{min-height:40px;padding:0 12px;border:1px solid rgba(255,255,255,.2);border-radius:11px;color:#fff;background:rgba(255,255,255,.08);font-weight:900;cursor:pointer}.kitchen-card-timer{display:grid;text-align:right}.kitchen-card-timer b{font-size:15px}.kitchen-card-timer small{color:var(--muted);font-size:9px}.order-card.is-near-sla{border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.14)}.order-card.is-late{border-color:#ef4444;background:linear-gradient(155deg,#fff,#fff2f2);box-shadow:0 0 0 3px rgba(239,68,68,.13)}.order-card.is-late .kitchen-card-timer b{color:#dc2626}@media(max-width:720px){.kitchen-display-controls{order:4;width:100%}.kitchen-display-controls button{flex:1}}
