:root {
  color-scheme: light;
  --ink: #292623;
  --muted: #85817b;
  --line: #ece7de;
  --paper: #faf8f4;
  --white: #fff;
  --red: #bc110d;
  --red-dark: #960e0b;
  --red-soft: #fff0ed;
  --gold: #f4b413;
  --gold-light: #fff7de;
  --green: #27815e;
  --nav: #211d1b;
  --nav-muted: #afa9a0;
  --shadow: 0 16px 50px rgb(43 31 20 / 9%);
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgb(188 17 13 / 25%); outline-offset: 2px; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; width: 240px; padding: 24px 15px 15px; background: var(--nav); color: #fff; }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 0 4px 24px; }
.brand-logo { width: 190px; height: 70px; object-fit: contain; border-radius: 3px; }
.workspace-label { color: #a6a098; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.venue-switcher { display: flex; align-items: center; gap: 11px; padding: 12px 11px; border: 1px solid #38322d; border-radius: 10px; background: #292522; }
.venue-switcher > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.venue-switcher small { color: #aaa39a; font-size: 9px; letter-spacing: .12em; }
.venue-switcher strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.venue-dot, .status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #43ae78; box-shadow: 0 0 0 3px rgb(67 174 120 / 12%); }
.chevron { color: #99928a; }
.side-label { margin: 28px 10px 8px; color: #8b847d; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.main-nav { display: grid; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 43px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #c6c0b8; cursor: pointer; text-align: left; text-decoration: none; font-size: 12px; transition: background .16s, color .16s; }
.nav-item:hover { background: #302a26; color: #fff; }
.nav-item.active { background: #3a2c28; color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.nav-icon { display: grid; width: 18px; place-items: center; color: #bbb3ab; font-size: 18px; }
.nav-item.active .nav-icon { color: #ffc733; }
.nav-item kbd { margin-left: auto; color: #979088; font: inherit; font-size: 9px; }
.nav-count { display: inline-grid; min-width: 20px; height: 20px; margin-left: auto; place-items: center; border-radius: 20px; background: #6d2622; color: #ffd0c9; font-size: 10px; }
.website-link { margin-top: 14px; border-top: 1px solid #36312d; border-radius: 0; padding-top: 11px; }
.sidebar-bottom { margin-top: auto; }
.device-card { display: flex; align-items: center; gap: 10px; margin: 0 2px 14px; padding: 12px 10px; border: 1px solid #39332e; border-radius: 9px; background: #282421; }
.device-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #343a30; color: #86ca9d; font-size: 19px; }
.device-card > div:last-child, .staff-profile > span:nth-child(2) { display: grid; gap: 4px; }
.device-card strong, .staff-profile strong { font-size: 10px; font-weight: 600; }
.device-card small, .staff-profile small { color: #a9a198; font-size: 9px; }
.device-card .status-dot { width: 6px; height: 6px; margin-right: 4px; }
.staff-profile { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 6px; border: 0; border-top: 1px solid #38322d; background: none; color: #fff; text-align: left; cursor: pointer; }
.staff-profile > span:nth-child(2) { flex: 1; }
.avatar { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.avatar-gold { background: #f3c86e; color: #61420b; }
.avatar-blank { background: #f4efe7; color: #9e9181; }
.avatar-0 { background: #f3ddd6; color: #9f5949; }
.avatar-1 { background: #e1e1f4; color: #575c99; }
.avatar-2 { background: #e0efe4; color: #4b8062; }
.avatar-3 { background: #f4e9d5; color: #946d35; }
.main-area { min-height: 100vh; margin-left: 240px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; height: 62px; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 93%); backdrop-filter: blur(14px); }
.crumb { display: flex; align-items: center; gap: 10px; color: #8b867f; font-size: 11px; }
.crumb b { color: #d1cbc2; font-weight: 400; }
.crumb strong { color: #393532; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.service-status { display: flex; align-items: center; gap: 8px; color: #66615b; font-size: 10px; }
.icon-button { position: relative; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #625d57; cursor: pointer; font-size: 19px; }
.icon-button:hover { border-color: var(--line); background: white; }
.icon-button i { position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.top-divider { height: 25px; border-left: 1px solid var(--line); }
.clock { display: grid; gap: 3px; text-align: right; }
.clock strong { font-size: 12px; }
.clock span { color: var(--muted); font-size: 9px; }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 18px; }
.view { display: none; min-height: calc(100vh - 62px); }
.view.active { display: block; }
.pos-layout { display: grid; min-height: calc(100vh - 62px); grid-template-columns: minmax(0, 1fr) 340px; }
.catalog-pane { display: flex; min-width: 0; flex-direction: column; padding: 29px 26px 18px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.page-heading h1 { margin: 5px 0 4px; font-family: 'Manrope', sans-serif; font-size: 27px; font-weight: 700; letter-spacing: -.045em; line-height: 1.2; }
.heading-period { color: var(--red); }
.eyebrow { margin: 0; color: #a8a096; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.subheading { margin: 0; color: #8b857d; font-size: 11px; }
.heading-tools { display: flex; align-items: center; gap: 9px; }
.quiet-button, .primary-button, .filter-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 35px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #5b554f; cursor: pointer; font-size: 10px; font-weight: 600; transition: .15s; }
.quiet-button:hover, .filter-button:hover { border-color: #d7cfc4; background: #fcfaf7; }
.quiet-button > span:first-child { color: var(--red); font-size: 16px; }
.quiet-button b { display: inline-grid; min-width: 18px; height: 18px; place-items: center; border-radius: 15px; background: #f4ece0; color: #665444; font-size: 9px; }
.primary-button { border-color: var(--red); background: var(--red); color: #fff; }
.primary-button:hover { border-color: var(--red-dark); background: var(--red-dark); }
.icon-button.light { border-color: #ece7df; background: #fff; }
.pos-heading { margin-bottom: 23px; }
.order-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.order-type-tabs { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid #eee9e1; border-radius: 10px; background: #f1eee8; }
.order-type-tabs button { display: flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #827b73; cursor: pointer; font-size: 11px; }
.order-type-tabs button.selected { background: #fff; color: var(--red); box-shadow: 0 1px 4px rgb(39 28 20 / 9%); font-weight: 700; }
.order-type-tabs button span { color: var(--ink); }
.toolbar-meta { display: flex; align-items: center; gap: 12px; }
.open-orders { display: flex; align-items: center; gap: 6px; color: #77716b; font-size: 10px; white-space: nowrap; }
.open-orders b { color: var(--ink); }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #27a36a; box-shadow: 0 0 0 3px #e5f3eb; }
.toolbar-separator { height: 20px; border-left: 1px solid #e5dfd5; }
.due-button { display: flex; align-items: center; gap: 12px; min-height: 30px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: white; color: #66605a; cursor: pointer; font-size: 10px; font-weight: 700; }
.due-button span { color: #9b9389; }
.catalog-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.category-tabs { display: flex; flex: 1; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; min-height: 30px; padding: 0 9px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #827b73; cursor: pointer; font-size: 10px; white-space: nowrap; }
.category-tab span { color: #a29588; font-size: 13px; }
.category-tab small { color: #a6a096; font-size: 9px; }
.category-tab.selected { border-color: #edd9b6; background: var(--gold-light); color: #6f4d12; font-weight: 700; }
.category-tab.selected span { color: #c48706; }
.search-box { display: flex; width: 194px; height: 34px; flex: 0 0 auto; align-items: center; gap: 7px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: white; color: #a1998e; }
.search-box > span { font-size: 19px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: #3d3935; font-size: 10px; }
.search-box input::placeholder { color: #aaa39a; }
.search-box kbd { display: grid; width: 17px; height: 17px; flex: 0 0 17px; place-items: center; border: 1px solid #eee9e1; border-radius: 4px; color: #a39b90; font-size: 9px; }
.menu-grid { display: grid; align-content: start; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.menu-card { position: relative; display: flex; min-height: 88px; align-items: center; gap: 11px; padding: 11px; border: 1px solid #ede8e0; border-radius: 10px; background: #fff; cursor: pointer; text-align: left; transition: transform .16s, border .16s, box-shadow .16s; animation: rise .32s both; animation-delay: var(--item-delay); }
.menu-card:hover { z-index: 1; transform: translateY(-2px); border-color: #dbbb82; box-shadow: 0 7px 22px rgb(59 42 19 / 8%); }
.dish-icon { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border-radius: 8px; background: #f9eee0; font-size: 27px; }
.dish-curries, .dish-chef-specials { background: #ffefe3; }
.dish-tandoori { background: #fae9dc; }
.dish-side-dishes { background: #edf3e8; }
.dish-rice-bread, .dish-biryani { background: #f9f0d9; }
.dish-info { display: grid; min-width: 0; flex: 1; gap: 4px; }
.dish-info > strong { overflow: hidden; color: #393430; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.dish-info > small { display: -webkit-box; overflow: hidden; color: #938b80; font-size: 9px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dish-meta { display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.dish-meta b { color: var(--red); font-size: 11px; }
.dish-meta i { padding: 2px 5px; border-radius: 3px; background: #fff3d4; color: #a27000; font-size: 7px; font-style: normal; font-weight: 700; letter-spacing: .04em; }
.card-add { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border: 1px solid #eee4d5; border-radius: 7px; color: var(--red); font-size: 17px; }
.empty-state { display: grid; grid-column: 1 / -1; justify-items: center; gap: 5px; padding: 45px 10px; color: #8e877e; text-align: center; }
.empty-state > span { font-size: 26px; }
.empty-state strong { color: #49443e; font-size: 13px; }
.empty-state small { font-size: 10px; }
.catalog-footer { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 18px; color: #928b81; font-size: 9px; }
.catalog-footer > span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; }
.legend-dot.available { background: #38a46f; }
.legend-dot.popular { background: var(--gold); }
.footer-tip { margin-left: auto; }
.catalog-footer kbd { padding: 1px 5px; border: 1px solid #e5dfd5; border-radius: 4px; font-size: 8px; }
.ticket-pane { position: sticky; top: 62px; display: flex; height: calc(100vh - 62px); min-height: 580px; flex-direction: column; border-left: 1px solid var(--line); background: #fff; }
.ticket-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 19px 16px; border-bottom: 1px solid #f0ece6; }
.ticket-label { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: #aaa094; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.ticket-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ticket-title { display: flex; align-items: center; gap: 9px; }
.ticket-title h2 { margin: 0; font-family: 'Manrope', sans-serif; font-size: 16px; letter-spacing: -.03em; }
.order-number { color: #a39b91; font-size: 10px; }
.customer-strip { display: flex; align-items: center; gap: 10px; padding: 12px 17px; border-bottom: 1px solid #f0ece6; background: #fffcf8; }
.customer-strip .avatar { width: 31px; height: 31px; flex-basis: 31px; }
.customer-select { flex: 1; min-width: 0; }
.customer-select button { display: grid; width: 100%; gap: 3px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.customer-select strong { font-size: 10px; font-weight: 700; }
.customer-select small { overflow: hidden; color: #999187; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.add-customer { width: 27px; height: 27px; border: 1px solid #eae3d9; border-radius: 8px; background: #fff; color: var(--red); cursor: pointer; font-size: 17px; }
.ticket-scroll { overflow: auto; flex: 1; padding: 2px 17px; }
.ticket-empty { display: grid; height: 100%; min-height: 160px; align-content: center; justify-items: center; gap: 8px; color: #a29a90; text-align: center; }
.empty-bag { color: #e3d7c7; font-size: 36px; }
.ticket-empty strong { color: #686057; font-size: 11px; }
.ticket-empty small { font-size: 9px; }
.empty-help { margin-top: 19px; font-size: 9px; }
.empty-help b { color: var(--gold); }
.ticket-line { padding: 14px 0 10px; border-bottom: 1px solid #f2eee8; }
.line-main { display: flex; align-items: center; gap: 8px; }
.qty-control { display: flex; height: 23px; align-items: center; gap: 5px; padding: 0 3px; border: 1px solid #e9e2d8; border-radius: 6px; }
.qty-control button { width: 16px; padding: 0; border: 0; background: transparent; color: #7e756b; cursor: pointer; font-size: 14px; }
.qty-control span { min-width: 10px; color: #514a43; font-size: 9px; text-align: center; }
.line-copy { display: grid; flex: 1; gap: 4px; min-width: 0; }
.line-copy strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.line-copy small { overflow: hidden; color: #958b7f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.line-price { font-size: 10px; white-space: nowrap; }
.remove-line { margin: 5px 0 0 54px; padding: 0; border: 0; background: transparent; color: #aa9f91; cursor: pointer; font-size: 8px; }
.remove-line:hover { color: var(--red); }
.ticket-bottom { padding: 0 17px 12px; border-top: 1px solid #f0ece6; }
.add-note { display: flex; width: 100%; align-items: center; gap: 7px; padding: 11px 0; border: 0; border-bottom: 1px solid #f2eee8; background: transparent; color: #6f665b; cursor: pointer; font-size: 9px; text-align: left; }
.add-note > span { color: var(--red); font-size: 15px; }
.add-note small { margin-left: auto; color: #b2a99e; font-size: 8px; }
.add-note.has-note { color: #514b43; }
.totals { padding: 12px 0 10px; }
.totals > div { display: flex; align-items: center; justify-content: space-between; margin: 0 0 7px; color: #8d857b; font-size: 9px; }
.totals strong { color: #514a43; font-size: 10px; }
.totals .grand-total { margin: 11px 0 0; padding-top: 10px; border-top: 1px dashed #ded7cc; color: #48423d; font-size: 11px; font-weight: 700; }
.totals .grand-total strong { color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 18px; }
.ticket-actions { display: flex; gap: 7px; }
.park-button { width: 39px; flex: 0 0 39px; border: 1px solid #e9e2d9; border-radius: 8px; background: #fff; color: #897e72; cursor: pointer; font-size: 18px; }
.send-button { display: flex; min-height: 43px; flex: 1; align-items: center; justify-content: space-between; gap: 9px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--red); color: white; cursor: pointer; box-shadow: 0 5px 12px rgb(188 17 13 / 15%); }
.send-button:disabled { background: #c8c3bc; box-shadow: none; cursor: not-allowed; }
.send-button span { font-size: 10px; font-weight: 700; }
.send-button strong { margin-left: auto; font-size: 10px; }
.send-button b { font-size: 15px; }
.ticket-aux { display: flex; justify-content: space-between; padding: 9px 1px 1px; }
.ticket-aux button { padding: 3px 0; border: 0; background: transparent; color: #9b9389; cursor: pointer; font-size: 8px; }
.ticket-aux button:hover { color: var(--red); }
.content-view { max-width: 1360px; margin: 0 auto; padding: 31px 31px 45px; }
.content-view > .page-heading { margin-bottom: 24px; }
.metric-strip, .customer-stats, .menu-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.metric-strip > div, .customer-stats > div, .menu-summary > div { position: relative; display: grid; align-content: center; gap: 7px; min-height: 99px; padding: 17px 20px; }
.metric-strip > div + div, .customer-stats > div + div, .menu-summary > div + div { border-left: 1px solid #f0ece6; }
.metric-strip span, .customer-stats span, .menu-summary span { color: #958d83; font-size: 9px; }
.metric-strip strong, .customer-stats strong, .menu-summary strong { font-family: 'Manrope', sans-serif; font-size: 23px; font-weight: 700; letter-spacing: -.04em; }
.metric-strip em { color: #969087; font-family: 'DM Sans', sans-serif; font-size: 11px; font-style: normal; font-weight: 500; letter-spacing: 0; }
.metric-strip small { color: #938a81; font-size: 8px; }
.metric-up, .customer-stats small { color: #24936a; font-style: normal; }
.metric-warning { background: #fffdf8; }
.board-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.filter-tabs, .menu-filter-tabs { display: flex; gap: 4px; }
.filter-tabs button, .menu-filter-tabs button { display: flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: #857d73; cursor: pointer; font-size: 10px; }
.filter-tabs button.selected, .menu-filter-tabs button.selected { background: var(--gold-light); color: #765313; font-weight: 700; }
.filter-tabs b, .menu-filter-tabs b { display: inline-grid; min-width: 17px; height: 17px; place-items: center; border-radius: 15px; background: #eee6d8; color: #87775d; font-size: 8px; }
.sort-button { padding: 7px 0 7px 10px; border: 0; background: transparent; color: #8d857b; cursor: pointer; font-size: 9px; }
.orders-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 11px; }
.order-card { display: flex; flex-direction: column; padding: 14px; border: 1px solid #ece7df; border-radius: 10px; background: #fff; box-shadow: 0 3px 9px rgb(41 32 23 / 2%); }
.order-card-top, .order-id, .order-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-id { justify-content: flex-start; }
.order-id > strong { font-family: 'Manrope', sans-serif; font-size: 14px; }
.channel-pill { padding: 4px 7px; border-radius: 4px; background: #f0eaf8; color: #705397; font-size: 8px; font-weight: 700; }
.channel-pill.website { background: #fceee2; color: #a95c1e; }
.channel-pill.phone { background: #e8f0fa; color: #4f6f94; }
.channel-pill.counter { background: #e9f4e9; color: #4f8052; }
.order-age { color: #9c9489; font-size: 8px; }
.order-age.late { color: var(--red); }
.order-customer { display: grid; gap: 3px; margin: 13px 0 10px; }
.order-customer strong { font-size: 11px; }
.order-customer span { color: #90877c; font-size: 8px; }
.order-items { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid #f2eee8; border-bottom: 1px solid #f2eee8; }
.order-items > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; color: #5e574f; font-size: 9px; }
.order-items b { color: #5c544b; font-size: 9px; }
.order-items small { grid-column: 1 / -1; color: #a19380; font-size: 8px; }
.order-alert { margin-top: 8px; padding: 7px 8px; border-radius: 5px; background: #fff8e4; color: #81621e; font-size: 8px; }
.order-address { margin-top: 8px; color: #92897e; font-size: 8px; }
.order-card-discount { display: flex; justify-content: space-between; margin-top: 8px; color: #43805b; font-size: 8px; }
.order-card-discount b { font-size: 8px; }
.order-card-bottom { margin-top: 10px; }
.status-label { display: flex; align-items: center; gap: 5px; color: #837a70; font-size: 8px; }
.status-label i { width: 6px; height: 6px; border-radius: 50%; background: #e3a313; }
.status-preparing .status-label i { background: #e2a313; }
.status-ready .status-label i { background: #2c9a69; }
.status-out-for-delivery .status-label i { background: #6d83ca; }
.order-card-bottom > strong { font-family: 'Manrope', sans-serif; font-size: 12px; }
.order-next { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 12px; padding: 9px 10px; border: 1px solid #f0c3bb; border-radius: 7px; background: #fff9f7; color: var(--red); cursor: pointer; font-size: 9px; font-weight: 700; }
.order-next:hover { background: var(--red); color: white; }
.empty-board { display: grid; grid-column: 1 / -1; justify-items: center; gap: 8px; padding: 60px; border: 1px dashed #e3ddd4; border-radius: 10px; color: #928b82; font-size: 10px; }
.empty-board strong { color: #4c4741; font-size: 13px; }
.customer-stats { margin-bottom: 19px; }
.customer-stats > div { min-height: 79px; }
.customer-stats strong { font-size: 19px; }
.customer-stats small { font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0; }
.list-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.list-toolbar { display: flex; min-height: 58px; align-items: center; gap: 11px; padding: 10px 16px; border-bottom: 1px solid #f0ece6; }
.list-toolbar h2 { margin: 0 auto 0 0; font-family: 'Manrope', sans-serif; font-size: 12px; letter-spacing: -.02em; }
.list-toolbar h2 span { margin-left: 4px; color: #9c9389; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 400; }
.customer-search { width: 225px; }
.customer-table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.data-table th { height: 37px; padding: 0 15px; background: #fcfbf8; color: #9d9489; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.data-table td { height: 57px; padding: 7px 15px; border-top: 1px solid #f3efe9; color: #655e55; font-size: 9px; }
.data-table tbody tr { cursor: pointer; transition: background .13s; }
.data-table tbody tr:hover { background: #fffdf8; }
.table-person { display: flex; align-items: center; gap: 9px; }
.table-person > span:last-child { display: grid; gap: 3px; }
.table-person strong { color: #423d38; font-size: 9px; }
.table-person small { max-width: 230px; overflow: hidden; color: #9c9489; font-size: 8px; text-overflow: ellipsis; }
.table-person .avatar { width: 29px; height: 29px; flex-basis: 29px; font-size: 8px; }
.loyalty-tag { padding: 4px 7px; border-radius: 4px; background: #f4f0e8; color: #75634e; font-size: 8px; }
.loyalty-tag.gold { background: #fff4d9; color: #9d751c; }
.loyalty-tag.regular { background: #eaf3ed; color: #47765b; }
.loyalty-tag.new { background: #eef0f8; color: #6d7393; }
.row-more { padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: #aaa195; cursor: pointer; font-size: 16px; }
.row-more:hover { background: #f4f0ea; color: #5e554a; }
.table-empty { height: 95px !important; color: #978f85 !important; text-align: center; }
.menu-summary { margin-bottom: 18px; }
.menu-summary > div { min-height: 78px; }
.menu-summary strong { font-size: 20px; }
.menu-summary .out-count { color: var(--red); }
.menu-summary-note { display: flex !important; flex-direction: row; align-items: center; gap: 7px !important; color: #8d867c; font-size: 9px; }
.menu-summary-note strong { color: #504a44; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 600; }
.product-mini { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 7px; background: #fbf1e2; font-size: 17px; }
.allergen-tag { padding: 4px 6px; border-radius: 4px; background: #fff3e9; color: #a56b35; font-size: 8px; }
.muted-dash { color: #b1aaa1; }
.availability { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: #999086; cursor: pointer; font-size: 8px; }
.availability i { width: 7px; height: 7px; border: 1px solid #c6beb4; border-radius: 50%; }
.availability.is-available { color: #428263; }
.availability.is-available i { border-color: #44a171; background: #44a171; }
.menu-filter-tabs button { font-size: 9px; }
.report-summary { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 10px; margin-bottom: 13px; }
.report-card { position: relative; min-height: 145px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.report-card > span, .sales-card > div:first-child > span:first-child { color: #978f85; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.report-card strong { display: block; margin-top: 10px; font-family: 'Manrope', sans-serif; font-size: 25px; letter-spacing: -.06em; }
.report-card strong span { font-size: 16px; }
.report-card > small { color: #979085; font-size: 8px; }
.report-card > small.positive { color: #288a63; }
.report-card > small em { color: #9b9388; font-style: normal; }
.report-icon { position: absolute; top: 12px; right: 13px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; background: #fff0ed; color: var(--red); font-weight: 700; }
.report-icon.subtle { background: #faf5e9; color: #bd8a1c; font-size: 14px; }
.sales-card { min-height: 170px; }
.sales-card > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.sales-card > div:first-child small { margin-left: 6px; color: #b5aca0; font-size: 7px; }
.sales-card strong { margin-top: 7px; }
.sales-card .sparkline { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; height: 32px; align-items: flex-end; gap: 4px; }
.sparkline i { flex: 1; border-radius: 3px 3px 0 0; background: #f6d8cd; }
.sparkline i:nth-child(3n) { background: #e99a81; }
.sparkline i:last-child { background: var(--red); }
.report-lower { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; }
.report-panel { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.panel-title { display: flex; align-items: flex-start; justify-content: space-between; }
.panel-title h2 { margin: 0 0 5px; font-family: 'Manrope', sans-serif; font-size: 12px; }
.panel-title p { margin: 0; color: #969087; font-size: 8px; }
.panel-title .quiet-button { min-height: 27px; font-size: 8px; }
.chart-body { display: flex; height: 230px; gap: 9px; padding-top: 17px; }
.y-labels { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 26px; color: #aaa196; font-size: 7px; }
.bar-chart { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; }
.chart-grid { position: absolute; inset: 0 0 27px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid i { border-top: 1px dashed #eee9e2; }
.bars { position: relative; display: flex; height: calc(100% - 26px); align-items: flex-end; justify-content: space-around; gap: 6px; padding: 0 3px; }
.bars > div { position: relative; width: 5.5%; min-width: 7px; max-width: 20px; border-radius: 4px 4px 0 0; background: #f1d8ce; }
.bars > div:nth-child(even) { background: #ebc4b6; }
.bars > div.current { background: var(--red); }
.bars b { position: absolute; bottom: calc(100% + 4px); left: 50%; display: none; transform: translateX(-50%); color: #95897c; font-size: 6px; font-weight: 500; }
.bars .current b { display: block; color: var(--red); }
.x-labels { display: flex; justify-content: space-between; padding-top: 9px; color: #a59d91; font-size: 7px; }
.more-button { border: 0; background: transparent; color: #a0988e; cursor: pointer; font-size: 17px; }
.donut-wrap { display: grid; min-height: 151px; place-items: center; }
.donut { display: grid; width: 122px; height: 122px; place-items: center; border-radius: 50%; background: conic-gradient(var(--red) 0 50%, var(--gold) 50% 81%, #e9d7ba 81% 100%); }
.donut::before { position: absolute; width: 86px; height: 86px; border-radius: 50%; background: #fff; content: ''; }
.donut > div { z-index: 1; display: grid; gap: 4px; text-align: center; }
.donut strong { font-family: 'Manrope', sans-serif; font-size: 16px; letter-spacing: -.05em; }
.donut small { color: #9c9388; font-size: 7px; letter-spacing: .08em; }
.channel-legend { display: grid; gap: 8px; }
.channel-legend > div, .channel-legend span { display: flex; align-items: center; }
.channel-legend > div { justify-content: space-between; color: #6e665c; font-size: 8px; }
.channel-legend span { gap: 6px; }
.channel-legend strong { color: #514b44; font-size: 8px; }
.channel-legend strong small { margin-left: 5px; color: #9d958b; font-size: 7px; font-weight: 400; }
.channel-color { width: 7px; height: 7px; border-radius: 2px; }
.channel-color.dine { background: var(--red); }
.channel-color.phone { background: var(--gold); }
.channel-color.web { background: #e9d7ba; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; align-items: center; justify-items: center; padding: 20px; background: rgb(31 27 24 / 45%); opacity: 0; transition: opacity .18s; backdrop-filter: blur(3px); }
.modal-backdrop[hidden] { display: none; }
.modal-backdrop.visible { opacity: 1; }
.modal { overflow: auto; width: min(100%, 480px); max-height: min(92vh, 740px); padding: 20px; border: 1px solid #e6dfd5; border-radius: 13px; background: #fff; box-shadow: var(--shadow); transform: translateY(6px); animation: pop .2s forwards; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 17px; }
.modal-head h2 { margin: 5px 0 0; font-family: 'Manrope', sans-serif; font-size: 19px; letter-spacing: -.04em; }
.modal-close { width: 28px; height: 28px; border: 1px solid #eee8df; border-radius: 7px; background: white; color: #8f877d; cursor: pointer; font-size: 18px; }
.modal-body { display: grid; gap: 14px; }
.modal-intro { margin: 0; color: #766e65; font-size: 11px; line-height: 1.6; }
.customise-product { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #f1e9dd; border-radius: 9px; background: #fdfaf5; }
.customise-product .dish-icon { width: 46px; height: 46px; flex-basis: 46px; font-size: 24px; }
.customise-product > div { display: grid; gap: 4px; }
.customise-product strong { font-size: 12px; }
.customise-product small { color: #8e857a; font-size: 9px; }
.field-label { display: grid; gap: 7px; color: #635c53; font-size: 10px; font-weight: 700; }
.field-label > span { margin-left: 3px; color: #aaa197; font-size: 8px; font-weight: 400; }
.field-label:has(> span) { display: flex; flex-wrap: wrap; align-items: baseline; }
.field-label:has(> span) .form-control, .field-label:has(> span) textarea { flex: 1 0 100%; }
.form-control { width: 100%; min-height: 36px; padding: 8px 9px; border: 1px solid #e8e2d9; border-radius: 7px; background: #fff; color: #3f3933; font-size: 10px; }
.form-control::placeholder { color: #b0a79b; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.choice { display: flex; min-height: 37px; align-items: center; gap: 7px; padding: 7px 8px; border: 1px solid #e9e3d9; border-radius: 7px; color: #5e564c; cursor: pointer; font-size: 9px; }
.choice.selected { border-color: #d5b877; background: #fff9e8; }
.choice input { accent-color: var(--red); }
.choice b { margin-left: auto; color: #94897c; font-size: 8px; font-weight: 500; white-space: nowrap; }
.spice-options { display: flex; gap: 6px; }
.spice-options button { flex: 1; min-height: 30px; border: 1px solid #ebe5dc; border-radius: 6px; background: #fff; color: #6f665c; cursor: pointer; font-size: 9px; }
.spice-options button.selected { border-color: #d49e8e; background: #fff1ec; color: var(--red); font-weight: 700; }
.modal-primary { display: flex; width: 100%; min-height: 41px; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; padding: 0 13px; border: 0; border-radius: 8px; background: var(--red); color: white; cursor: pointer; font-size: 10px; font-weight: 700; }
.modal-primary:hover { background: var(--red-dark); }
.modal-primary.danger { background: #413a35; }
.modal-primary strong { margin-left: auto; }
.modal-secondary { min-height: 35px; border: 1px solid #e9e3d9; border-radius: 7px; background: #fff; color: #6d6257; cursor: pointer; font-size: 9px; }
.payment-amount { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-radius: 8px; background: #fcf7ed; color: #847a6d; font-size: 10px; }
.payment-amount strong { color: #34302c; font-family: 'Manrope', sans-serif; font-size: 23px; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.payment-method { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 0 8px; padding: 10px; border: 1px solid #e9e2d8; border-radius: 8px; background: white; cursor: pointer; text-align: left; }
.payment-method.selected { border-color: #d5ad54; background: #fffaf0; }
.payment-method > span { display: grid; grid-row: span 2; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #f3ebdc; color: #a97d21; font-weight: 700; }
.payment-method strong { font-size: 10px; }
.payment-method small { color: #9d9388; font-size: 8px; }
.money-input { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid #e8e2d9; border-radius: 7px; color: #8e857b; }
.money-input input { width: 100%; border: 0; outline: 0; color: #3d3832; font-size: 11px; }
.change-due { display: flex; justify-content: space-between; color: #82796e; font-size: 10px; }
.change-due strong { color: #35825b; }
.demo-note { margin: -3px 0 0; color: #a1988d; font-size: 8px; text-align: center; }
.modal-search { width: 100%; }
.picker-results { display: grid; max-height: 260px; overflow: auto; gap: 4px; }
.picker-row { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border: 0; border-radius: 7px; background: white; cursor: pointer; text-align: left; }
.picker-row:hover { background: #faf7f2; }
.picker-row > span:nth-child(2) { display: grid; flex: 1; gap: 3px; }
.picker-row strong { font-size: 10px; }
.picker-row small { color: #9d9488; font-size: 8px; }
.picker-row > b { color: #9c9287; }
.no-history { margin: 0; padding: 16px; color: #9b9287; font-size: 9px; text-align: center; }
.customer-profile { display: flex; align-items: center; gap: 11px; }
.customer-profile > div { display: grid; gap: 4px; }
.customer-profile strong { color: #48413b; font-size: 11px; }
.customer-profile small { color: #948b80; font-size: 9px; }
.profile-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profile-metrics > div { display: grid; gap: 5px; padding: 10px; border-radius: 7px; background: #faf7f1; }
.profile-metrics span { color: #92887d; font-size: 8px; }
.profile-metrics strong { color: #433e39; font-family: 'Manrope', sans-serif; font-size: 14px; }
.order-history { display: grid; gap: 2px; }
.history-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f2eee8; }
.history-row > div { display: grid; gap: 3px; }
.history-row strong { color: #514b44; font-size: 9px; }
.history-row small { color: #9b9388; font-size: 8px; }
.parked-row { display: flex; align-items: center; gap: 9px; padding: 10px 0; border: 0; border-bottom: 1px solid #f1ede6; background: white; cursor: pointer; text-align: left; }
.parked-row > span:nth-child(2) { display: grid; flex: 1; gap: 4px; min-width: 0; }
.parked-row strong, .parked-row > b { font-size: 9px; }
.parked-row small { overflow: hidden; color: #958b7e; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.parked-badge { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 7px; background: #f8efe0; color: #947242; }
.due-options { display: grid; gap: 6px; }
.due-options button { display: grid; position: relative; gap: 3px; padding: 10px; border: 1px solid #ece6dc; border-radius: 8px; background: white; cursor: pointer; text-align: left; }
.due-options button.selected { border-color: #dcbd78; background: #fffaf0; }
.due-options strong { font-size: 10px; }
.due-options small { color: #92897e; font-size: 8px; }
.due-options b { position: absolute; top: 12px; right: 12px; color: var(--red); }
.toast-region { position: fixed; right: 20px; bottom: 18px; z-index: 100; display: grid; gap: 8px; }
.toast { display: flex; min-width: 240px; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid #e7e0d4; border-radius: 9px; background: white; box-shadow: 0 8px 25px rgb(42 32 20 / 12%); animation: toast-in .2s ease-out; }
.toast > span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #e8f5ed; color: #37835c; font-size: 10px; font-weight: 700; }
.toast-error > span { background: #fff0ed; color: var(--red); }
.toast strong { font-size: 9px; font-weight: 600; }
.toast.leaving { opacity: 0; transform: translateY(5px); transition: .25s; }
.busy { border-color: #e1bf73; background: #fff8e6; color: #77561a; }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop { to { transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1160px) {
  .sidebar { width: 210px; }
  .main-area { margin-left: 210px; }
  .pos-layout { grid-template-columns: minmax(0, 1fr) 315px; }
  .catalog-pane { padding-right: 18px; padding-left: 18px; }
  .menu-card { min-height: 81px; padding: 9px; }
  .dish-icon { width: 47px; height: 47px; flex-basis: 47px; font-size: 23px; }
  .category-tab { padding: 0 7px; }
  .orders-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s; }
  .sidebar.mobile-open { transform: translateX(0); box-shadow: 8px 0 30px rgb(0 0 0 / 18%); }
  .main-area { margin-left: 0; }
  .mobile-menu { display: block; }
  .topbar { padding: 0 16px; }
  .pos-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .catalog-pane { padding: 22px 15px; }
  .page-heading h1 { font-size: 24px; }
  .catalog-controls { align-items: flex-start; flex-direction: column; }
  .category-tabs { width: 100%; }
  .search-box { width: 100%; }
  .ticket-pane { top: 62px; }
  .content-view { padding: 24px 18px 35px; }
  .report-lower { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .topbar { height: 55px; }
  .topbar-actions { gap: 9px; }
  .service-status, .top-divider, .clock span { display: none; }
  .clock strong { font-size: 10px; }
  .view { min-height: calc(100vh - 55px); }
  .pos-layout { display: flex; min-height: calc(100vh - 55px); flex-direction: column; }
  .catalog-pane { padding: 19px 13px 13px; }
  .pos-heading { align-items: flex-start; margin-bottom: 15px; }
  .page-heading h1 { font-size: 23px; }
  .subheading { max-width: 245px; font-size: 10px; }
  .heading-tools { gap: 5px; }
  .heading-tools .quiet-button { min-height: 32px; padding: 0 8px; font-size: 9px; }
  .heading-tools .icon-button { width: 32px; height: 32px; }
  .order-toolbar { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 13px; }
  .order-type-tabs { width: 100%; }
  .order-type-tabs button { flex: 1; justify-content: center; padding: 0 6px; font-size: 10px; }
  .toolbar-meta { align-self: flex-end; }
  .catalog-controls { gap: 9px; margin-bottom: 10px; }
  .category-tab { min-height: 29px; font-size: 9px; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .menu-card { min-height: 77px; gap: 8px; padding: 8px; }
  .dish-icon { width: 37px; height: 42px; flex-basis: 37px; border-radius: 7px; font-size: 20px; }
  .dish-info > strong { font-size: 9px; }
  .dish-info > small { font-size: 8px; }
  .dish-meta b { font-size: 9px; }
  .dish-meta i { display: none; }
  .card-add { display: none; }
  .catalog-footer { gap: 9px; padding-top: 14px; font-size: 8px; }
  .footer-tip { display: none !important; }
  .ticket-pane { position: static; height: auto; min-height: 370px; border-top: 1px solid var(--line); border-left: 0; }
  .ticket-header { padding: 14px 16px 11px; }
  .ticket-scroll { max-height: 230px; min-height: 90px; }
  .ticket-empty { min-height: 100px; }
  .empty-help { display: none; }
  .ticket-bottom { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .content-view { padding: 21px 13px 30px; }
  .content-view > .page-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 17px; }
  .content-view .heading-tools { align-self: flex-end; }
  .metric-strip, .customer-stats, .menu-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-strip > div, .customer-stats > div, .menu-summary > div { min-height: 75px; padding: 11px; }
  .metric-strip > div:nth-child(3), .customer-stats > div:nth-child(3), .menu-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid #f0ece6; }
  .metric-strip > div:nth-child(4), .customer-stats > div:nth-child(4), .menu-summary > div:nth-child(4) { border-top: 1px solid #f0ece6; }
  .metric-strip strong { font-size: 20px; }
  .orders-board { grid-template-columns: 1fr; }
  .board-toolbar { align-items: flex-start; flex-direction: column; gap: 5px; }
  .filter-tabs { max-width: 100%; overflow-x: auto; }
  .filter-tabs button { flex: 0 0 auto; padding: 0 7px; font-size: 9px; }
  .sort-button { align-self: flex-end; }
  .list-toolbar { flex-wrap: wrap; padding: 11px; }
  .list-toolbar h2 { flex: 1 0 100%; }
  .list-toolbar .search-box { flex: 1; width: auto; }
  .menu-filter-tabs { max-width: 100%; overflow-x: auto; }
  .menu-filter-tabs button { flex: 0 0 auto; font-size: 8px; }
  .data-table { min-width: 650px; }
  .report-summary { gap: 7px; }
  .report-card { min-height: 120px; padding: 12px; }
  .report-card strong { font-size: 21px; }
  .sales-card { min-height: 145px; }
  .chart-body { height: 185px; }
  .modal-backdrop { padding: 12px; }
  .modal { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
}
