.pos-workspace-nav{display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;margin:12px 0 24px;padding:20px;background:#132d36;color:#fff;border-radius:18px}.pos-workspace-nav strong{display:block;font-size:22px}.pos-kicker{display:block;letter-spacing:.14em;font-size:11px;font-weight:750;color:#c58b3d;margin:0 0 6px}.pos-workspace-tabs{display:flex;gap:6px;flex-wrap:wrap}.pos-workspace-tabs button{background:#ffffff12!important;color:#e9eff3!important;min-height:48px;border:1px solid #ffffff25}.pos-workspace-tabs button[aria-pressed=true]{background:#e8ac55!important;color:#172d35!important}.pos-online{color:#8ce0bf;font-size:12px}.pos-offline{color:#ffc0b5;font-weight:700}.route-pos{background:#edf1f4}.route-pos #adminView{max-width:none;padding:20px 26px}.route-pos #adminView>.card:first-child{position:static;box-shadow:none;border-radius:18px;background:#fff;color:#172d35}.route-pos #adminView>.card:first-child h1,.route-pos #adminView>.card:first-child .muted{color:#172d35!important}.route-pos #adminView>.card:first-child #tabs{display:none}.route-pos .site-header{position:static}.route-pos #tab-restaurant{display:block}.pos-panel.hidden{display:none!important}#pos-panel-sale{display:grid;grid-template-columns:minmax(0,1fr) minmax(370px,440px);gap:24px;align-items:start}.pos-catalogue-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.pos-catalogue h2,.pos-page-head h2{font:600 30px/1.2 system-ui;margin:0 0 12px;color:#172d35}.pos-search{min-width:230px;margin:0}.pos-search input{border-radius:14px!important;min-height:52px}.pos-categories{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.pos-categories button{min-height:48px;border-radius:24px!important;background:#fff!important;border:1px solid #d9e0e4;color:#334a55!important;padding:10px 20px}.pos-categories button[aria-pressed=true]{background:#173c49!important;color:#fff!important;border-color:#173c49}.pos-menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.pos-menu-tile{min-height:156px;text-align:left!important;border-radius:18px!important;background:#fff!important;border:1px solid #dde4e9!important;color:#1a3540!important;padding:20px!important;box-shadow:0 5px 18px #152b3807;display:flex;flex-direction:column;justify-content:space-between;gap:14px;touch-action:manipulation}.pos-menu-tile:active{transform:scale(.98)}.pos-menu-tile strong{font-size:19px;line-height:1.3}.pos-item-category{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#71828b}.pos-item-price{display:flex;align-items:center;justify-content:space-between;font-weight:750;font-size:16px}.pos-item-price b{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#eef4f5;color:#275364;font-size:24px}.pos-cart{margin:0!important;border-radius:20px!important;padding:24px!important;box-shadow:0 8px 32px #17333c0d!important;position:sticky;top:12px}.pos-cart>.muted,.pos-cart>.eyebrow{display:none}.pos-cart h2{font:650 24px system-ui!important}.pos-cart input,.pos-cart select,.pos-cart textarea{min-height:48px;font-size:16px!important}.pos-cart label{font-size:12px}.pos-cart #restaurantOrderForm{display:block}.pos-cart #restaurantNotes{min-height:48px}.pos-cart #restaurantItemRows{max-height:340px;overflow:auto}.pos-cart .restaurant-item{display:grid!important;grid-template-columns:minmax(0,1fr) 132px;gap:10px;padding:14px 0;border:0;border-bottom:1px solid #e2e8ec;border-radius:0}.pos-cart .restaurant-item>div:nth-child(3),.pos-cart .restaurant-item>div:nth-child(4){display:none}.pos-cart .restaurant-item>button{grid-column:1/-1;background:#f8eeec!important;color:#9d4540!important}.pos-quantity{display:flex;align-items:center}.pos-quantity button{min-width:40px;min-height:48px;padding:4px!important;background:#edf2f4!important;color:#183e4b!important;font-size:20px}.pos-quantity input{width:52px;text-align:center;padding:8px 0!important;border-radius:0!important;-moz-appearance:textfield}.pos-quantity input::-webkit-inner-spin-button{appearance:none}.pos-cart #restaurantQuote{font-size:20px;font-weight:750;color:#183e4b;padding:18px;background:#edf3f4;border-radius:12px}.pos-cart #sendRestaurantOrder,.pos-primary{width:100%;min-height:58px;font-size:18px!important;background:#dc9637!important;color:#162e37!important;font-weight:750;border-radius:12px!important}.pos-cart #addRestaurantItem{min-height:48px;color:#173c49;border-color:#bdcbd3}.pos-stock-alert{background:#fff0d2;border:1px solid #efd59c;color:#725315;padding:14px 16px;border-radius:12px;margin:0 0 18px}.pos-empty{grid-column:1/-1;background:#fff;padding:35px;border-radius:18px;color:#647982}.pos-panel button{min-height:48px;touch-action:manipulation}.pos-panel .booking-actions{gap:10px}.pos-panel .booking-actions button{font-size:14px;padding:12px 16px}.pos-page-head{max-width:800px;margin-bottom:24px}.pos-report-form{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.pos-report-form label{flex:1;min-width:160px}.pos-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.pos-summary .card{display:flex;flex-direction:column;gap:8px}.pos-summary b{font-size:24px}.pos-payment-dialog{width:min(520px,calc(100vw - 28px));border:0;border-radius:22px;padding:28px;box-shadow:0 24px 90px #10273050;color:#173c49;max-height:94vh;overflow:auto}.pos-payment-dialog::backdrop{background:#102730aa}.pos-dialog-title{display:flex;justify-content:space-between;align-items:start}.pos-payment-dialog h2{margin:0;font:650 26px system-ui}.pos-payment-dialog input,.pos-payment-dialog select,.pos-payment-dialog button{min-height:52px;font-size:17px}.pos-change{font-size:22px;font-weight:750;color:#25664d}.pos-payment-dialog button.ghost{color:#173c49;border:1px solid #d8e0e5}.pos-report-form button.ghost{color:#173c49;border:1px solid #b9cbd2}.pos-panel table th,.pos-panel table td{padding:14px 10px}.pos-panel [hidden],.pos-workspace-nav [hidden]{display:none!important}@media(max-width:1100px){#pos-panel-sale{grid-template-columns:minmax(0,1fr) 360px}.pos-menu-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.pos-catalogue-head{align-items:stretch;flex-direction:column}.pos-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.route-pos #adminView{padding:12px}#pos-panel-sale{display:flex;flex-direction:column}.pos-catalogue,.pos-cart{width:100%}.pos-cart{position:static}.pos-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-workspace-nav{padding:16px}.pos-workspace-tabs{display:grid;grid-template-columns:repeat(2,1fr);width:100%}.pos-menu-tile{min-height:145px;padding:16px!important}.pos-summary b{font-size:20px}.pos-catalogue-head{width:100%}.pos-search{min-width:0}}@media print{.pos-workspace-nav{display:none}}
.pos-cart-basics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pos-order-extras{margin:14px 0;padding:12px 14px;background:#f3f6f7;border-radius:10px}.pos-order-extras summary{cursor:pointer;min-height:24px;font-weight:650;color:#45616c}.pos-cart #restaurantItemRows{max-height:260px}.pos-cart .pos-clear{margin-left:8px;color:#9d4540;border-color:#ecd4ce}.pos-cart #restaurantOrderForm>.span2:last-child{position:sticky;bottom:0;background:white;padding:8px 0}.pos-cart #restaurantQuote{font-size:18px;margin:12px 0}.pos-cart #restaurantItemRows .restaurant-item label{font-size:11px}.pos-cart #restaurantItemRows .restaurant-item>button{min-height:36px;padding:5px;font-size:12px}.pos-cart #restaurantOrderForm>.span2 h3{margin:16px 0 6px;font:600 17px system-ui}


/* Keep POS cart rows inside the cart instead of the wider PMS grid. */
.route-pos #pos-panel-sale > *{min-width:0}
.route-pos #tab-restaurant .pos-cart{min-width:0;max-width:100%}
.route-pos #tab-restaurant .pos-cart #restaurantOrderForm,
.route-pos #tab-restaurant .pos-cart .pos-cart-basics,
.route-pos #tab-restaurant .pos-cart .pos-cart-basics > div{min-width:0}
.route-pos #tab-restaurant .pos-cart #restaurantItemRows{overflow-x:hidden;overflow-y:auto;max-height:clamp(180px,34vh,340px)}
.route-pos #tab-restaurant .pos-cart #restaurantItemRows .restaurant-item{
 grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 12px;
 min-width:0;max-width:100%;margin:0;padding:10px 0;border:0;border-bottom:1px solid #e2e8ec;border-radius:0
}
.route-pos #tab-restaurant .pos-cart .restaurant-item > div{min-width:0}
.route-pos #tab-restaurant .pos-cart .restaurant-item > div:first-child{grid-column:1/-1}
.route-pos #tab-restaurant .pos-cart .restaurant-item > div:nth-child(2){grid-column:1;grid-row:2}
.route-pos #tab-restaurant .pos-cart .restaurant-item > div:nth-child(3),
.route-pos #tab-restaurant .pos-cart .restaurant-item > div:nth-child(4){display:none}
.route-pos #tab-restaurant .pos-cart #restaurantItemRows .restaurant-item > button{
 grid-column:2;grid-row:2;min-height:44px;padding:8px 12px;font-size:13px
}
.route-pos #tab-restaurant .pos-cart .restaurant-item select{width:100%;max-width:100%;min-width:0}
.route-pos #tab-restaurant .pos-cart .pos-quantity{width:132px;max-width:100%}
.route-pos #tab-restaurant .pos-cart .pos-quantity input{width:52px;min-width:0;flex:0 1 52px}
.route-pos #tab-restaurant .pos-cart .pos-quantity button{flex:0 0 40px}
.route-pos #tab-restaurant .pos-cart #restaurantOrderForm > .span2:last-child{z-index:1}
@media(max-height:800px) and (min-width:761px){
 .route-pos #tab-restaurant .pos-cart{padding:16px!important;top:6px}
 .route-pos #tab-restaurant .pos-cart h2{font-size:21px!important;margin-bottom:8px}
 .route-pos #tab-restaurant .pos-cart label{margin-top:6px}
 .route-pos #tab-restaurant .pos-cart .pos-order-extras{margin:8px 0;padding:8px 10px}
 .route-pos #tab-restaurant .pos-cart #restaurantQuote{margin:8px 0;padding:10px}
 .route-pos #tab-restaurant .pos-cart #sendRestaurantOrder{min-height:48px;font-size:16px!important}
}

/* Use a light workspace so labels remain readable outside white cards. */
body.route-pos #adminView > .card:first-child{
 background:#f3f5f0!important;color:#173d37!important;border-color:#d4ded5!important
}
body.route-pos #adminView > .card:first-child h1{color:#173d37!important}
body.route-pos #adminView > .card:first-child > .eyebrow{color:#76531b!important}
body.route-pos #adminView > .card:first-child #whoami{
 color:#40574e!important;font-size:14px;line-height:1.5;opacity:1
}
body.route-pos #adminView > .card:first-child .muted{color:#4c6259!important}
body.route-pos #adminView label{color:#304e43;font-size:13px;opacity:1}
body.route-pos #adminView .pos-catalogue h2{color:#173d37}
body.route-pos #adminView .pos-kicker{color:#76531b}
body.route-pos #adminView .pos-item-category{color:#4c6259;font-size:12px}
body.route-pos #adminView input::placeholder,
body.route-pos #adminView textarea::placeholder{color:#596a62;opacity:1}
body.route-pos #adminView .pos-workspace-nav{background:#132d36;color:#fff}
body.route-pos #adminView .pos-workspace-nav .pos-kicker{color:#f2c96a}

/* Cash checkout stays next to the order total. */
body.route-pos #tab-restaurant .pos-quick-cash{margin:6px 0 10px;padding:12px;background:#edf3ee;border:1px solid #cbd9cf;border-radius:12px}
body.route-pos #tab-restaurant .pos-quick-cash[hidden]{display:none!important}
body.route-pos #tab-restaurant .pos-quick-cash label{margin:0 0 5px;color:#173d37;font-size:13px}
body.route-pos #tab-restaurant .pos-quick-cash input{width:100%;min-width:0;font-size:17px!important}
body.route-pos #tab-restaurant #posQuickChange{margin:7px 0 0;color:#173d37;font-size:16px;font-weight:750}
body.route-pos #tab-restaurant #posSaveUnpaid{width:100%;margin-top:8px;min-height:44px;border:1px solid #b9cabe;color:#244c3f;background:#fff}

body.route-pos #tab-restaurant .pos-quick-cash [hidden]{display:none!important}
body.route-pos #tab-restaurant .pos-quick-cash select{width:100%;min-width:0;font-size:16px!important;margin-bottom:8px}
body.route-pos #tab-restaurant #posQuickExternal p{color:#40574e;margin:7px 0 0;line-height:1.4}

/* Villa 777 POS: warm, colorful sales workspace with strong contrast and familiar touch targets. */
body.route-pos{
  --pos-ink:#24231d;
  --pos-muted:#5d6258;
  --pos-gold:#d6a643;
  --pos-green:#1d5548;
  --pos-coral:#bd5f48;
  background:
    radial-gradient(ellipse at 8% 2%,#f6dfb36b,transparent 30%),
    radial-gradient(ellipse at 94% 28%,#d5eadb88,transparent 29%),
    linear-gradient(155deg,#faf7ef,#efe9d9 60%,#f8f4e9);
}
body.route-pos #adminView{
  color:var(--pos-ink);
}
body.route-pos #adminView>.card:first-child{
  border:1px solid #be9341!important;
  background:
    radial-gradient(ellipse at 94% 3%,#d9b46642,transparent 34%),
    linear-gradient(120deg,#1b1b17 0%,#30291e 62%,#654a24 100%)!important;
  color:#fffaf0!important;
  border-radius:24px!important;
  box-shadow:0 14px 32px #32261824!important;
}
body.route-pos #adminView>.card:first-child h1{
  color:#fffaf0!important;
}
body.route-pos #adminView>.card:first-child #whoami{
  color:#efe1bf!important;
}
body.route-pos #adminView>.card:first-child>.eyebrow{
  color:#e8c46f!important;
}
body.route-pos #adminView .pos-workspace-nav{
  border:1px solid #b58d3d;
  background:
    radial-gradient(ellipse at 91% 0%,#d6aa5240,transparent 36%),
    linear-gradient(112deg,#163f36,#1b5148 58%,#2d604f);
  box-shadow:0 12px 26px #173e3420;
}
body.route-pos #adminView .pos-kicker{
  color:#efc965;
}
body.route-pos #adminView .pos-workspace-tabs button{
  min-height:48px;
  border:1px solid #ffffff3d;
  border-radius:15px;
  background:#ffffff12!important;
  color:#fff9e9!important;
  transition:background .15s ease,transform .15s ease;
}
body.route-pos #adminView .pos-workspace-tabs button:hover{
  background:#ffffff22!important;
  transform:translateY(-1px);
}
body.route-pos #adminView .pos-workspace-tabs button[aria-pressed=true]{
  border-color:#f0cb73;
  background:linear-gradient(130deg,#f4d993,#d2a143)!important;
  color:#282014!important;
  box-shadow:0 4px 12px #121a1230;
}
body.route-pos #adminView .pos-catalogue,
body.route-pos #adminView .pos-page-head{
  border:1px solid #ded2b8;
  border-radius:22px;
  background:linear-gradient(145deg,#fffdf7,#f6f1e4);
  box-shadow:0 8px 22px #382d190c;
}
body.route-pos #adminView .pos-catalogue{padding:22px}
body.route-pos #adminView .pos-catalogue h2,
body.route-pos #adminView .pos-page-head h2{
  color:#243e35;
}
body.route-pos #adminView .pos-search input{
  border-color:#d7c9aa!important;
  background:#fffefa;
}
body.route-pos #adminView .pos-categories button{
  border-color:#ded2b8;
  background:#fffefa!important;
  color:#45463d!important;
  box-shadow:0 2px 6px #3527110b;
  transition:background .15s ease,transform .15s ease;
}
body.route-pos #adminView .pos-categories button:hover{
  transform:translateY(-1px);
  border-color:#c9a452;
}
body.route-pos #adminView .pos-categories button[aria-pressed=true]{
  border-color:#174c40;
  background:linear-gradient(135deg,#235c4d,#174638)!important;
  color:#fffaf0!important;
  box-shadow:0 5px 13px #17463830;
}
body.route-pos #adminView .pos-menu-grid{
  gap:15px;
}
body.route-pos #adminView .pos-menu-tile{
  position:relative;
  overflow:hidden;
  min-height:160px;
  border:1px solid var(--tile-border,#dfd4be)!important;
  background:linear-gradient(145deg,var(--tile-bg,#fffdf8),#fffefa 80%)!important;
  color:#2e332c!important;
  box-shadow:0 6px 16px #3328170c;
  transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease;
}
body.route-pos #adminView .pos-menu-tile:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:var(--tile-accent,#c99b3f);
}
body.route-pos #adminView .pos-menu-tile:hover{
  transform:translateY(-3px);
  border-color:var(--tile-accent,#c99b3f)!important;
  box-shadow:0 12px 22px #35291818;
}
body.route-pos #adminView .pos-menu-tile:active{
  transform:scale(.985);
}
body.route-pos #adminView .pos-menu-tile:nth-child(5n+1){--tile-bg:#f0f7f0;--tile-border:#d0e0d0;--tile-accent:#568454}
body.route-pos #adminView .pos-menu-tile:nth-child(5n+2){--tile-bg:#fff4ed;--tile-border:#ead1c5;--tile-accent:#bd6248}
body.route-pos #adminView .pos-menu-tile:nth-child(5n+3){--tile-bg:#fff8e9;--tile-border:#e7d8b5;--tile-accent:#bd8c2e}
body.route-pos #adminView .pos-menu-tile:nth-child(5n+4){--tile-bg:#eef6f6;--tile-border:#cddfdd;--tile-accent:#3f7f79}
body.route-pos #adminView .pos-menu-tile:nth-child(5n){--tile-bg:#f4f1f9;--tile-border:#ddd4e9;--tile-accent:#8370a1}
body.route-pos #adminView .pos-menu-tile strong{
  color:#292d27;
}
body.route-pos #adminView .pos-item-category{
  color:#5d675d;
}
body.route-pos #adminView .pos-item-price{
  color:#26483b;
}
body.route-pos #adminView .pos-item-price b{
  background:var(--tile-accent,#c99b3f);
  color:white;
}
body.route-pos #adminView .pos-cart{
  border:1px solid #d4bd86!important;
  border-radius:24px!important;
  background:
    radial-gradient(ellipse at 100% 0%,#f4e7c576,transparent 34%),
    linear-gradient(150deg,#fffefa,#f7f2e5)!important;
  box-shadow:0 12px 30px #32281816!important;
}
body.route-pos #adminView .pos-cart h2{
  color:#1f493e;
}
body.route-pos #adminView .pos-cart #restaurantQuote{
  border:1px solid #dfc782;
  background:linear-gradient(120deg,#fff2ce,#f5e6bd);
  color:#3d311c;
}
body.route-pos #adminView .pos-quantity button{
  border:1px solid #d9cdaF;
  background:#f6f0e2!important;
  color:#214c40!important;
}
body.route-pos #adminView .pos-quantity button:hover{
  background:#e6eddf!important;
}
body.route-pos #adminView .pos-cart #sendRestaurantOrder,
body.route-pos #adminView .pos-primary{
  border:1px solid #b58a32!important;
  background:linear-gradient(125deg,#f1ce79,#d6a643)!important;
  color:#282012!important;
  box-shadow:0 6px 15px #9b722826;
}
body.route-pos #adminView .pos-cart #sendRestaurantOrder:hover,
body.route-pos #adminView .pos-primary:hover{
  filter:brightness(1.04);
}
body.route-pos #adminView .pos-cart #addRestaurantItem{
  border-color:#b9cbbd;
  background:#f3f8f1;
  color:#285241;
}
body.route-pos #adminView .pos-order-extras{
  border:1px solid #d6dfd1;
  background:#eef5ed;
}
body.route-pos #adminView .pos-stock-alert{
  border-color:#e5c879;
  background:#fff4d9;
  color:#6b4e14;
}
body.route-pos #adminView .pos-summary .card{
  border:1px solid var(--summary-border,#ddd3be);
  border-radius:20px;
  background:linear-gradient(140deg,var(--summary-bg,#fffdf8),#fffefa);
  box-shadow:0 7px 20px #33281712;
}
body.route-pos #adminView .pos-summary .card:nth-child(4n+1){--summary-bg:#fff7e8;--summary-border:#ead8ad}
body.route-pos #adminView .pos-summary .card:nth-child(4n+2){--summary-bg:#eef7f1;--summary-border:#cfe0d3}
body.route-pos #adminView .pos-summary .card:nth-child(4n+3){--summary-bg:#f1f5fb;--summary-border:#d0dceb}
body.route-pos #adminView .pos-summary .card:nth-child(4n){--summary-bg:#fff1ed;--summary-border:#ecd3ca}
body.route-pos #adminView .pos-summary b{
  color:#225244;
}
body.route-pos #adminView .pos-panel .tablewrap{
  border:1px solid #e1d5bd;
  border-radius:16px;
  background:#fffefa;
  box-shadow:0 5px 16px #3328170b;
}
body.route-pos #adminView .pos-panel table th{
  background:linear-gradient(90deg,#f5ecd8,#edf4eb);
  color:#3f453b;
}
body.route-pos #adminView .pos-panel table td{
  color:#34372f;
}
body.route-pos #adminView .pos-payment-dialog{
  border:1px solid #cba14e;
  background:linear-gradient(155deg,#fffefa,#f5efdf);
  box-shadow:0 24px 90px #28211255;
}
body.route-pos #adminView .pos-change{
  color:#27724f;
}
body.route-pos #adminView .pos-dialog-title h2{
  color:#254d40;
}
@media(max-width:760px){
  body.route-pos #adminView .pos-catalogue{padding:16px}
  body.route-pos #adminView .pos-menu-tile{min-height:145px}
}
@media(prefers-reduced-motion:reduce){
  body.route-pos #adminView .pos-menu-tile,
  body.route-pos #adminView .pos-workspace-tabs button,
  body.route-pos #adminView .pos-categories button{transition:none}
  body.route-pos #adminView .pos-menu-tile:hover,
  body.route-pos #adminView .pos-workspace-tabs button:hover,
  body.route-pos #adminView .pos-categories button:hover{transform:none}
}

/* Premium Villa 777 POS presentation */
:root{--pos-bg:#071313;--pos-surface:#0d1d1f;--pos-surface-2:#122528;--pos-line:#21383a;--pos-text:#f4f6f2;--pos-muted:#9db2ae;--pos-green:#a7dfa9;--pos-green-deep:#3c744f;--pos-gold:#d6b46a;--pos-red:#e6887c;--pos-radius:18px}
body.route-pos{min-height:100vh;background:radial-gradient(ellipse at 56% -18%,#173a33 0,transparent 45%),var(--pos-bg);color:var(--pos-text);font-family:Manrope,Inter,system-ui,sans-serif}
.route-pos .site-header{position:relative;z-index:3;min-height:76px;padding:10px 24px;background:#081213;border-bottom:1px solid #203438;box-shadow:0 6px 24px #0004}
.route-pos .brand{display:flex;align-items:center;gap:12px;color:#f5f4ee;font-family:Manrope,Inter,system-ui,sans-serif;letter-spacing:.14em;font-size:16px}
.route-pos .brand .a-logo{width:48px;height:48px;object-fit:contain;border-radius:50%;background:#112426}
.route-pos .brand small{color:var(--pos-muted);font-size:9px}
.route-pos .staff-label{margin-left:auto;color:var(--pos-muted);font-size:11px;letter-spacing:.16em}
.route-pos .a-header-actions,.route-pos .a-menu{display:none!important}
.route-pos #adminView{max-width:none;padding:14px 16px 24px;margin:0}
.route-pos #adminView>.card:first-child{position:static;display:flex;align-items:center;min-height:60px;padding:10px 18px;margin:0 0 14px;background:linear-gradient(115deg,#102123,#0b191b);border:1px solid var(--pos-line);border-radius:16px;box-shadow:none}
.route-pos #adminView>.card:first-child .eyebrow{color:var(--pos-gold);font-size:9px}
.route-pos #adminView>.card:first-child h1{font:600 22px/1.1 Manrope,Inter,system-ui,sans-serif!important;color:var(--pos-text)!important;letter-spacing:-.03em}
.route-pos #adminView>.card:first-child .muted{color:var(--pos-muted)}
.route-pos #refreshButton{min-height:42px;background:#14282a;color:var(--pos-text)!important;border:1px solid var(--pos-line);border-radius:11px}
.route-pos #adminView>.card:first-child #tabs{display:none}
.route-pos #tab-restaurant{display:grid;grid-template-columns:206px minmax(0,1fr);gap:16px;align-items:start}
.route-pos .pos-workspace-nav{grid-column:1;grid-row:1/7;position:sticky;top:12px;display:flex;flex-direction:column;gap:0;height:calc(100dvh - 116px);min-height:500px;margin:0;padding:17px 13px;background:linear-gradient(180deg,#102124,#0a1719);border:1px solid #1f3537;border-radius:20px;box-shadow:0 18px 48px #0003}
.route-pos .pos-sidebar-brand{display:flex;align-items:center;gap:11px;padding:6px 5px 20px;border-bottom:1px solid var(--pos-line)}
.route-pos .pos-brand-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #c9ad6c;border-radius:50%;color:var(--pos-gold);font:700 12px Georgia,serif;letter-spacing:.04em}
.route-pos .pos-sidebar-brand .pos-kicker{margin:0 0 3px;color:var(--pos-gold);font-size:9px;letter-spacing:.15em}
.route-pos .pos-sidebar-brand strong{font-size:12px;letter-spacing:.12em}
.route-pos .pos-side-caption{padding:19px 9px 8px;color:#69817d;font-size:9px;font-weight:800;letter-spacing:.16em}
.route-pos .pos-workspace-tabs{display:flex;flex-direction:column;gap:5px}
.route-pos .pos-workspace-tabs button{display:flex;align-items:center;gap:12px;min-height:48px;padding:9px 11px;text-align:left;background:transparent!important;color:#b5c5c1!important;border:1px solid transparent!important;border-radius:12px;font:600 12px Manrope,Inter,system-ui,sans-serif;transition:background .16s ease,color .16s ease,transform .16s ease}
.route-pos .pos-workspace-tabs button:hover{background:#15292a!important;color:#fff!important;transform:translateX(2px)}
.route-pos .pos-workspace-tabs button[aria-pressed=true]{background:linear-gradient(100deg,#a7dfa9,#7fbd8a)!important;color:#10221c!important;box-shadow:0 7px 20px #72ba8030}
.route-pos .pos-nav-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#152729;color:var(--pos-green);font-size:17px}
.route-pos .pos-workspace-tabs button[aria-pressed=true] .pos-nav-icon{background:#ffffff88;color:#183222}
.route-pos .pos-sidebar-foot{display:grid;grid-template-columns:10px 1fr;align-items:center;gap:4px 9px;margin-top:auto;padding:13px 8px 3px;border-top:1px solid var(--pos-line);color:var(--pos-muted);font-size:11px}
.route-pos .pos-sidebar-foot small{grid-column:2;color:#68817c;font-size:9px;letter-spacing:.08em}
.route-pos .pos-live-dot{width:8px;height:8px;border-radius:50%;background:var(--pos-green);box-shadow:0 0 12px #9cdaa8}
.route-pos #posConnection{font-size:11px}
.route-pos .pos-online{color:var(--pos-green)}.route-pos .pos-offline{color:var(--pos-red)}
.route-pos .pos-panel{grid-column:2;min-width:0}
.route-pos .pos-panel.hidden{display:none!important}
.route-pos #pos-panel-sale{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,360px);gap:16px;align-items:start}
.route-pos .pos-catalogue{min-width:0;padding:18px 16px 20px;background:#0b191b;border:1px solid var(--pos-line);border-radius:20px}
.route-pos .pos-catalogue-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:13px}
.route-pos .pos-catalogue-head>div{flex:1}
.route-pos .pos-kicker{color:var(--pos-gold);font-size:9px;letter-spacing:.16em}
.route-pos .pos-catalogue h2,.route-pos .pos-page-head h2{margin:0;color:var(--pos-text);font:600 25px/1.18 Manrope,Inter,system-ui,sans-serif;letter-spacing:-.04em}
.route-pos .pos-search{min-width:min(270px,45%);margin:0;color:#9eb3af;font-size:10px}
.route-pos .pos-search input{height:44px;min-height:44px;margin-top:5px;padding:0 14px;background:#122326!important;color:#f7f9f6!important;border:1px solid #2a4143!important;border-radius:12px!important;font-size:13px!important}
.route-pos .pos-search input::placeholder{color:#78918c}
.route-pos .pos-categories{display:flex;gap:7px;overflow:auto;margin:14px 0 16px;padding:1px 0 5px;scrollbar-width:thin;scrollbar-color:#385652 transparent}
.route-pos .pos-categories button{flex:none;min-height:36px;padding:7px 13px;background:#102022!important;color:#afc0bc!important;border:1px solid #23383a!important;border-radius:10px!important;font-size:11px;font-weight:650}
.route-pos .pos-categories button[aria-pressed=true]{background:#19352a!important;color:#b8e8b8!important;border-color:#3d7551!important}
.route-pos .pos-menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.route-pos .pos-menu-tile{display:flex;flex-direction:column;min-width:0;min-height:190px;padding:0!important;overflow:hidden;text-align:left!important;background:#0f2022!important;color:var(--pos-text)!important;border:1px solid #263b3d!important;border-radius:15px!important;box-shadow:0 5px 16px #0002!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;touch-action:manipulation}
.route-pos .pos-menu-tile:hover{transform:translateY(-2px);border-color:#51795e!important;box-shadow:0 12px 26px #0004!important}
.route-pos .pos-menu-tile:active{transform:scale(.98)}
.route-pos .pos-menu-visual{position:relative;display:grid;place-items:center;height:112px;min-height:112px;overflow:hidden;background:radial-gradient(circle at 45% 40%,#42614a 0,#1b3b32 38%,#12272a 72%,#102023 100%)}
.route-pos .pos-menu-visual:before,.route-pos .pos-menu-visual:after{content:"";position:absolute;border:1px solid #d7d4bb35;border-radius:50%;width:112px;height:112px;box-shadow:0 0 0 8px #ffffff09,0 0 0 18px #ffffff06}
.route-pos .pos-menu-visual:after{width:68px;height:68px;border-color:#e3d8bd55;box-shadow:inset 0 0 0 6px #ffffff0b}
.route-pos .pos-menu-visual>span{position:relative;z-index:1;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;font-size:31px;background:#ffffff10;filter:drop-shadow(0 7px 6px #0008)}
.route-pos .pos-menu-visual small{position:absolute;right:8px;top:8px;padding:4px 7px;color:#e3d7b7;background:#061312aa;border:1px solid #ffffff20;border-radius:20px;font-size:8px;letter-spacing:.07em;text-transform:uppercase}
.route-pos .pos-menu-copy{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:12px;padding:10px 11px 11px}
.route-pos .pos-menu-copy strong{display:-webkit-box;overflow:hidden;color:#f1f5f0;font-size:12px;line-height:1.35;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.route-pos .pos-item-price{display:flex;align-items:center;justify-content:space-between;gap:5px;color:#a8dfa9;font-size:12px;font-weight:750}
.route-pos .pos-item-price b{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:linear-gradient(145deg,#9ad69c,#60a974);color:#11291b;font-size:19px}
.route-pos .pos-stock-alert{margin:0 0 14px;background:#352a14;color:#f2d68a;border:1px solid #6c5421;border-radius:11px}
.route-pos .pos-empty{background:#102022;color:var(--pos-muted);border:1px dashed #35504d}
.route-pos .pos-cart{position:sticky;top:12px;min-width:0;margin:0!important;padding:17px!important;background:linear-gradient(155deg,#0e1d1f,#091516)!important;color:var(--pos-text)!important;border:1px solid #263b3d!important;border-radius:20px!important;box-shadow:0 18px 44px #0004!important}
.route-pos .pos-cart>.muted,.route-pos .pos-cart>.eyebrow{display:none}
.route-pos .pos-cart h2{color:#f4f5f1!important;font:500 22px Georgia,serif!important}
.route-pos .pos-cart h3{color:#e6ede7}
.route-pos .pos-cart input,.route-pos .pos-cart select,.route-pos .pos-cart textarea{min-width:0;min-height:43px;padding:9px 10px!important;background:#102123!important;color:#f3f7f3!important;border:1px solid #2b4142!important;border-radius:10px!important;font:500 13px Manrope,Inter,system-ui,sans-serif!important}
.route-pos .pos-cart label{color:#a9bbb6;font-size:10px;font-weight:700}
.route-pos .pos-cart-basics{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.route-pos .pos-order-extras{background:#122426;border:1px solid #22383a;border-radius:11px}
.route-pos .pos-order-extras summary{color:#c3d1cd;font-size:11px}
.route-pos .pos-cart #restaurantItemRows{max-height:min(34vh,280px);overflow:auto;scrollbar-width:thin;scrollbar-color:#385651 transparent}
.route-pos .pos-cart .restaurant-item{display:grid!important;grid-template-columns:minmax(0,1fr) 120px;gap:6px;padding:12px 0;border:0;border-bottom:1px solid #233638;border-radius:0}
.route-pos .pos-cart .restaurant-item>div:nth-child(3),.route-pos .pos-cart .restaurant-item>div:nth-child(4){display:none}
.route-pos .pos-cart .restaurant-item>button{grid-column:1/-1;min-height:32px!important;padding:5px!important;background:#2a1b1b!important;color:#eda69b!important;border:1px solid #4b2a2a!important}
.route-pos .pos-quantity{display:flex;align-items:center;gap:4px}
.route-pos .pos-quantity button{min-width:36px;min-height:41px;padding:4px!important;background:#172a2b!important;color:#b8e6bc!important;border:1px solid #304345!important;border-radius:9px!important;font-size:18px}
.route-pos .pos-quantity input{width:40px;min-height:40px;text-align:center;padding:5px 0!important;border-radius:8px!important;-moz-appearance:textfield}
.route-pos .pos-quantity input::-webkit-inner-spin-button{appearance:none}
.route-pos .pos-cart #restaurantQuote{margin:12px 0;padding:13px;background:#132426;color:#cde6d0;border:1px solid #223a39;border-radius:12px;font-size:15px;font-weight:750}
.route-pos .pos-cart #sendRestaurantOrder,.route-pos .pos-primary{width:100%;min-height:52px;background:linear-gradient(135deg,#a9dfa8,#7abe88)!important;color:#0d2717!important;border:0!important;border-radius:12px!important;font-size:15px!important;font-weight:800;box-shadow:0 8px 22px #5baa712b}
.route-pos .pos-cart #posSaveUnpaid{width:100%;min-height:44px;margin-top:8px;background:#172729!important;color:#dce8e2!important;border:1px solid #34494a!important;border-radius:11px!important}
.route-pos .pos-cart #addRestaurantItem,.route-pos .pos-cart .pos-clear{min-height:42px!important;background:#142426!important;color:#cbd8d3!important;border:1px solid #2a4142!important;border-radius:10px!important}
.route-pos .pos-cart .span2:last-child{position:sticky;bottom:0;padding:8px 0 0;background:#0c191a}
.route-pos .pos-panel button{min-height:44px;touch-action:manipulation}
.route-pos .pos-page-head{max-width:100%;margin:0 0 16px;padding:16px 18px;background:#0f2022;border:1px solid var(--pos-line);border-radius:16px}
.route-pos .pos-page-head p{color:var(--pos-muted)}
.route-pos .pos-report-form,.route-pos .pos-summary .card,.route-pos .pos-panel .card{background:#0e1d1f;color:var(--pos-text);border:1px solid var(--pos-line);border-radius:16px;box-shadow:0 8px 25px #0002}
.route-pos .pos-panel input,.route-pos .pos-panel select,.route-pos .pos-panel textarea{background:#102123;color:var(--pos-text);border:1px solid #2b4142;border-radius:10px}
.route-pos .pos-panel .tablewrap{background:#0c191a;border-color:#263b3d}
.route-pos .pos-panel table th,.route-pos .pos-panel table td{color:#d8e3de;border-color:#263b3d}
.route-pos .pos-panel table th{background:#122426}
.route-pos .pos-payment-dialog{background:#0e1d1f;color:var(--pos-text);border:1px solid #2c4544}
.route-pos .pos-payment-dialog h2,.route-pos .pos-payment-dialog label{color:var(--pos-text)}
.route-pos .pos-payment-dialog input,.route-pos .pos-payment-dialog select{background:#122426;color:var(--pos-text);border:1px solid #35504d;border-radius:10px}
.route-pos .pos-payment-dialog button.ghost{background:#142426;color:#e6eee8;border-color:#304646}
.route-pos #loginModal{background:#071313ed}
.route-pos #loginModal>.card{background:#102123;color:var(--pos-text);border:1px solid #2a4142;border-radius:20px}
.route-pos #loginModal h2,.route-pos #loginModal label{color:var(--pos-text)}
.route-pos #loginModal input{background:#0b191b;color:var(--pos-text);border-color:#334a4b}
.route-pos .pos-panel [hidden],.route-pos .pos-workspace-nav [hidden]{display:none!important}
@media(max-width:1300px){.route-pos #pos-panel-sale{grid-template-columns:minmax(0,1fr) 320px}.route-pos .pos-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.route-pos .pos-workspace-nav{width:auto}}
@media(max-width:1050px){.route-pos #tab-restaurant{grid-template-columns:170px minmax(0,1fr);gap:11px}.route-pos .pos-workspace-nav{padding:12px 9px}.route-pos #pos-panel-sale{grid-template-columns:minmax(0,1fr) 300px;gap:10px}.route-pos .pos-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.route-pos .pos-catalogue{padding:13px}.route-pos .pos-cart{padding:13px!important}}
@media(max-width:760px){.route-pos .site-header{min-height:58px;padding:7px 12px}.route-pos .brand .a-logo{width:39px;height:39px}.route-pos .staff-label{font-size:8px}.route-pos #adminView{padding:9px}.route-pos #adminView>.card:first-child{min-height:50px;padding:8px 12px;margin-bottom:9px}.route-pos #adminView>.card:first-child h1{font-size:18px!important}.route-pos #adminView>.card:first-child .eyebrow{display:none}.route-pos #tab-restaurant{display:flex;flex-direction:column;gap:9px}.route-pos .pos-workspace-nav{position:static;width:100%;height:auto;min-height:0;padding:10px;border-radius:15px}.route-pos .pos-sidebar-brand{padding:2px 4px 9px}.route-pos .pos-brand-mark{width:34px;height:34px}.route-pos .pos-side-caption,.route-pos .pos-sidebar-foot{display:none}.route-pos .pos-workspace-tabs{display:flex;flex-direction:row;width:100%;overflow:auto;padding:7px 0 1px;scrollbar-width:thin}.route-pos .pos-workspace-tabs button{flex:0 0 auto;min-height:42px;padding:7px 10px;font-size:10px}.route-pos .pos-nav-icon{width:24px;height:24px}.route-pos .pos-panel{width:100%}.route-pos #pos-panel-sale{display:flex;flex-direction:column}.route-pos .pos-catalogue,.route-pos .pos-cart{width:100%}.route-pos .pos-cart{position:static}.route-pos .pos-catalogue-head{align-items:stretch;flex-direction:column;gap:10px}.route-pos .pos-search{min-width:0}.route-pos .pos-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.route-pos .pos-menu-tile{min-height:170px}.route-pos .pos-menu-visual{height:91px;min-height:91px}.route-pos .pos-cart #restaurantItemRows{max-height:260px}.route-pos .pos-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.route-pos .pos-report-form{display:grid;grid-template-columns:1fr 1fr}.route-pos .pos-report-form button{min-width:0}.route-pos .pos-payment-dialog{padding:20px}}
@media(max-width:380px){.route-pos .pos-menu-grid{gap:7px}.route-pos .pos-menu-copy{padding:8px}.route-pos .pos-menu-copy strong{font-size:11px}.route-pos .pos-menu-visual{height:80px;min-height:80px}}
@media(prefers-reduced-motion:reduce){.route-pos *,.route-pos *:before,.route-pos *:after{scroll-behavior:auto!important;transition:none!important}}
@media print{.route-pos .site-header,.route-pos #adminView>.card:first-child,.route-pos .pos-workspace-nav{display:none!important}}
.route-pos .pos-user-block{grid-column:1/-1;display:flex;flex-direction:column;gap:2px;margin-top:12px;padding:11px 0 6px;border-top:1px solid var(--pos-line);min-width:0}
.route-pos .pos-user-block span{overflow:hidden;color:#e5ece7;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.route-pos .pos-user-block small{color:#7f9691;font-size:9px;text-transform:capitalize}
.route-pos #posLogout{grid-column:1/-1;min-height:37px;margin-top:4px;background:#122224!important;color:#c3d0cb!important;border:1px solid #29403f!important;border-radius:9px!important;font-size:10px}
.route-pos #posLogout:hover{background:#1a2e2e!important;color:#fff!important}

.route-pos .pos-brand-mark{display:block;width:42px;height:42px;object-fit:contain;padding:2px;background:#fff;border:1px solid #c9ad6c;border-radius:50%}

.route-pos .pos-quick-cash{margin:8px 0 12px;padding:12px;background:#132426;border:1px solid #294143;border-radius:12px}
.route-pos .pos-quick-cash label{color:#afc0ba}
.route-pos .pos-quick-cash select,.route-pos .pos-quick-cash input{background:#102123!important;color:#f3f7f3!important;border-color:#2b4142!important}
.route-pos #posQuickChange{margin:6px 0 0;color:#a8dfa9;font-weight:700}
@media(max-width:760px){.route-pos .pos-brand-mark{width:34px;height:34px}}


/* Reference-matched restaurant POS: compact dark counter layout */
body.route-pos{background:#071113;color:#f4f6f3;font-family:Inter,system-ui,"Segoe UI",sans-serif}
.route-pos .site-header{display:none!important}
.route-pos #adminView{max-width:none;width:100%;margin:0;padding:0 10px 12px}
.route-pos #adminView>.card:first-child{display:none!important}
.route-pos #tab-restaurant{display:grid;grid-template-columns:138px minmax(0,1fr);grid-template-rows:68px minmax(0,1fr);gap:12px;align-items:start;min-height:calc(100dvh - 12px);width:100%}
.route-pos .pos-topbar{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:245px minmax(190px,1fr) auto auto;gap:24px;align-items:center;min-width:0;padding:8px 18px;background:linear-gradient(100deg,#080f11,#10191a);border:1px solid #263234;border-radius:18px;box-shadow:0 8px 28px #0005}
.route-pos .pos-topbar-brand{display:flex;align-items:center;gap:12px;min-width:0}
.route-pos .pos-topbar-brand img{width:48px;height:48px;object-fit:contain;padding:2px;background:#fff;border:1px solid #c6a85f;border-radius:50%}
.route-pos .pos-topbar-brand span{display:flex;flex-direction:column;gap:3px}
.route-pos .pos-topbar-brand strong{font:500 17px Georgia,serif;letter-spacing:.19em;color:#f5f2e9}
.route-pos .pos-topbar-brand small{font-size:9px;letter-spacing:.24em;color:#c7b37b}
.route-pos .pos-top-search{display:flex;align-items:center;gap:12px;width:min(100%,430px);height:46px;margin:0;padding:0 16px;background:#111e20;border:1px solid #344347;border-radius:25px;color:#c8d1d0}
.route-pos .pos-top-search>span{font-size:24px;line-height:1}
.route-pos .pos-top-search input{width:100%;min-width:0;height:42px;margin:0;padding:0;background:transparent!important;border:0!important;box-shadow:none!important;color:#f4f6f3!important;font-size:14px!important;outline:none}
.route-pos .pos-top-search input::placeholder{color:#9aacab}
.route-pos .pos-service-switch{display:flex;align-items:center;padding:3px;background:#0c1517;border:1px solid #354144;border-radius:17px}
.route-pos .pos-service-switch button{display:flex;align-items:center;gap:9px;min-height:43px;padding:8px 17px;background:transparent!important;border:0!important;border-radius:12px!important;color:#d6ddda!important;font-size:13px;font-weight:650;white-space:nowrap}
.route-pos .pos-service-switch button[aria-pressed=true]{background:linear-gradient(135deg,#477b4d,#65a05c)!important;color:#fff!important;box-shadow:0 3px 12px #0004}
.route-pos .pos-topbar-meta{display:flex;align-items:center;gap:17px;color:#d7dfdd;font-size:12px;white-space:nowrap}
.route-pos .pos-top-user{display:grid;grid-template-columns:36px auto;grid-template-rows:1fr 1fr;align-items:center;column-gap:9px}
.route-pos .pos-top-user b{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#33454a;color:#fff;font-size:21px}
.route-pos .pos-top-user span{max-width:155px;overflow:hidden;text-overflow:ellipsis;color:#f4f6f3;font-weight:700}
.route-pos .pos-top-user small{color:#9fb1af;font-size:10px;text-transform:capitalize}
.route-pos .pos-workspace-nav{grid-column:1;grid-row:2;position:sticky;top:10px;display:flex;flex-direction:column;height:calc(100dvh - 94px);min-height:520px;margin:0;padding:12px 9px;background:linear-gradient(180deg,#0c191b,#0a1517);border:1px solid #26383a;border-radius:20px;box-shadow:0 12px 35px #0004}
.route-pos .pos-sidebar-brand{display:none}
.route-pos .pos-side-caption{padding:5px 10px 10px;color:#738985;font-size:9px;letter-spacing:.16em}
.route-pos .pos-workspace-tabs{display:flex;flex-direction:column;gap:6px}
.route-pos .pos-workspace-tabs button{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 9px;background:transparent!important;border:1px solid transparent!important;border-radius:12px;color:#e0e6e3!important;text-align:left;font-size:12px;font-weight:600}
.route-pos .pos-workspace-tabs button:hover{background:#162628!important}
.route-pos .pos-workspace-tabs button[aria-pressed=true]{background:#a6d7a1!important;color:#12251a!important}
.route-pos .pos-nav-icon{width:28px;height:28px;background:#192a2b;color:#e7eee9;font-size:18px}
.route-pos .pos-workspace-tabs button[aria-pressed=true] .pos-nav-icon{background:#ffffff55;color:#1b3821}
.route-pos .pos-sidebar-foot{grid-template-columns:9px 1fr;gap:4px 8px;margin-top:auto;padding:11px 4px 2px;border-top:1px solid #27383a;font-size:10px}
.route-pos .pos-sidebar-foot small{font-size:9px}
.route-pos #posLogout{min-height:34px;font-size:10px}
.route-pos .pos-panel{grid-column:2;grid-row:2;min-width:0;width:100%}
.route-pos #pos-panel-sale{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,355px);gap:12px;align-items:start}
.route-pos .pos-catalogue{min-width:0;padding:10px 8px 18px;background:transparent;border:0;border-radius:0}
.route-pos .pos-catalogue-head{min-height:45px;margin:0 4px 12px}
.route-pos .pos-catalogue-head .pos-kicker{margin-bottom:3px}
.route-pos .pos-catalogue h2{color:#f1f4f1;font:600 27px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.02em}
.route-pos .pos-categories{display:grid;grid-auto-columns:minmax(94px,1fr);grid-auto-flow:column;grid-template-rows:1fr;gap:8px;overflow-x:auto;margin:0 0 14px;padding:2px 2px 8px;scrollbar-width:thin;scrollbar-color:#3b514b transparent}
.route-pos .pos-categories button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;min-width:94px;min-height:92px;padding:7px 6px 8px;overflow:hidden;background:linear-gradient(150deg,#1d3831,#0c1a1c 78%)!important;border:1px solid #2e4240!important;border-radius:14px!important;color:#f0f3ef!important;font-size:11px;white-space:nowrap}
.route-pos .pos-categories button:before{content:"";position:absolute;inset:0 0 29px;background:radial-gradient(ellipse at 48% 65%,#c49b4c88 0 12%,#467248 24%,#183b31 49%,#152425 78%);opacity:.85}
.route-pos .pos-categories button[aria-pressed=true]{background:#315e3c!important;border-color:#91ca8f!important;box-shadow:0 6px 18px #73b87930}
.route-pos .pos-category-art{position:relative;z-index:1;display:grid;place-items:center;width:100%;height:54px;font-size:35px;filter:drop-shadow(0 4px 4px #0008)}
.route-pos .pos-categories button b{position:relative;z-index:1;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:650}
.route-pos .pos-menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.route-pos .pos-menu-tile{display:flex;flex-direction:column;min-width:0;min-height:184px;padding:0!important;overflow:hidden;background:#0d1b1d!important;border:1px solid #2a3e3e!important;border-radius:14px!important;color:#f5f5f0!important;box-shadow:0 5px 16px #0003!important}
.route-pos .pos-menu-tile:hover{transform:translateY(-2px);border-color:#6e9c70!important;box-shadow:0 10px 25px #0005!important}
.route-pos .pos-menu-visual{position:relative;display:grid;place-items:center;height:112px;min-height:112px;overflow:hidden;background:radial-gradient(ellipse at 52% 55%,#e7ac56 0,#987047 14%,#476241 27%,#244032 47%,#0c1d1c 78%)}
.route-pos .pos-menu-visual:before{content:"";position:absolute;width:82%;height:85%;border:7px solid #e6e2cd;background:radial-gradient(circle at 50% 50%,#f0c879 0 15%,#497647 18% 34%,#d5aa66 36% 48%,#f7e8c7 50% 57%,#324935 60%);border-radius:50%;box-shadow:0 5px 13px #0008,inset 0 0 0 2px #ffffff7a}
.route-pos .pos-menu-visual:after{content:"";position:absolute;right:13%;bottom:18%;width:25%;height:17%;border-radius:50%;background:radial-gradient(ellipse,#f3e8cb 0 40%,#c37832 45% 65%,transparent 72%);filter:drop-shadow(0 2px 2px #0006)}
.route-pos .pos-menu-visual>span{z-index:1;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#111a1688;font-size:31px;filter:drop-shadow(0 3px 5px #0009)}
.route-pos .pos-menu-visual small{position:absolute;top:7px;right:7px;padding:4px 7px;background:#091312b8;border:1px solid #ffffff29;border-radius:12px;color:#f6e5c5;font-size:8px;letter-spacing:.08em;text-transform:uppercase}
.route-pos .pos-menu-copy{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:8px;padding:9px 10px 10px}
.route-pos .pos-menu-copy strong{font-size:13px;line-height:1.35}
.route-pos .pos-item-price{color:#a6dda4;font-size:14px}
.route-pos .pos-item-price b{width:30px;height:30px;border-radius:10px;background:#64a66b;color:#f6fff4;font-size:21px}
.route-pos .pos-cart{position:sticky;top:10px;max-height:calc(100dvh - 94px);overflow:auto;padding:16px!important;background:linear-gradient(160deg,#0d1b1d,#091416)!important;border:1px solid #293e3f!important;border-radius:20px!important;box-shadow:0 15px 35px #0005!important}
.route-pos .pos-cart h2{margin:0 0 12px;color:#f5f3ee!important;font:500 21px/1.3 Georgia,"Times New Roman",serif!important}
.route-pos .pos-cart-basics{grid-template-columns:1fr}
.route-pos .pos-cart-basics>div:first-child{display:none}
.route-pos .pos-cart-basics>div:nth-child(2){display:block}
.route-pos .pos-cart .span2:nth-of-type(1){display:block}
.route-pos .pos-order-extras summary{padding:8px 10px}
.route-pos .pos-cart #restaurantItemRows{max-height:34vh}
.route-pos .pos-cart .restaurant-item{grid-template-columns:minmax(0,1fr) 118px;padding:11px 0}
.route-pos .pos-cart #addRestaurantItem,.route-pos .pos-cart .pos-clear{width:auto;min-height:38px!important;padding:6px 12px!important}
.route-pos .pos-cart #restaurantQuote{font-size:18px}
.route-pos .pos-cart #sendRestaurantOrder{min-height:54px;font-size:16px!important}
.route-pos .pos-cart #posSaveUnpaid{min-height:40px}
@media(max-width:1280px){
 .route-pos .pos-topbar{grid-template-columns:200px minmax(160px,1fr) auto;gap:12px;padding:8px 12px}
 .route-pos .pos-topbar-meta{gap:8px}
 .route-pos #pos-panel-sale{grid-template-columns:minmax(0,1fr) 320px;gap:9px}
 .route-pos .pos-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
 .route-pos #tab-restaurant{grid-template-columns:1fr;grid-template-rows:auto auto 1fr}
 .route-pos .pos-topbar{grid-column:1;grid-row:1;grid-template-columns:1fr auto;gap:8px}
 .route-pos .pos-topbar-brand{grid-column:1}
 .route-pos .pos-top-search{grid-column:1/-1;grid-row:2;width:100%}
 .route-pos .pos-service-switch{grid-column:2;grid-row:1}
 .route-pos .pos-topbar-meta{display:none}
 .route-pos .pos-workspace-nav{grid-column:1;grid-row:2;position:static;width:100%;height:auto;min-height:0;padding:7px}
 .route-pos .pos-workspace-tabs{flex-direction:row;overflow:auto}
 .route-pos .pos-workspace-tabs button{flex:0 0 auto;min-height:40px}
 .route-pos .pos-side-caption,.route-pos .pos-sidebar-foot{display:none}
 .route-pos .pos-panel{grid-column:1;grid-row:3}
 .route-pos #pos-panel-sale{grid-template-columns:minmax(0,1fr) 320px}
 .route-pos .pos-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .route-pos #adminView{padding:0 6px 10px}
 .route-pos .pos-topbar{padding:8px;border-radius:14px}
 .route-pos .pos-topbar-brand img{width:38px;height:38px}
 .route-pos .pos-topbar-brand strong{font-size:14px}
 .route-pos .pos-service-switch button{gap:4px;min-height:37px;padding:6px 9px;font-size:11px}
 .route-pos .pos-workspace-nav{padding:6px}
 .route-pos .pos-workspace-tabs button{min-height:37px;padding:5px 8px;font-size:10px}
 .route-pos #pos-panel-sale{display:flex;flex-direction:column}
 .route-pos .pos-catalogue,.route-pos .pos-cart{width:100%}
 .route-pos .pos-catalogue{padding:4px 1px 10px}
 .route-pos .pos-catalogue h2{font-size:23px}
 .route-pos .pos-categories{grid-auto-columns:92px;gap:6px}
 .route-pos .pos-categories button{min-width:92px;min-height:85px}
 .route-pos .pos-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .route-pos .pos-menu-tile{min-height:154px}
 .route-pos .pos-menu-visual{height:88px;min-height:88px}
 .route-pos .pos-cart{position:static;max-height:none}
}

/* Override the shared authenticated-dashboard background on the POS route. */
body.route-pos:has(#adminView:not(.hidden)){background:#071113;color:#f4f6f3}

/* Keep legacy shared dashboard styles from recoloring the dark POS workspace. */
body.route-pos #adminView #tab-restaurant .pos-catalogue{background:transparent!important;border:0!important;box-shadow:none!important;padding:10px 8px 18px!important;border-radius:0!important}
body.route-pos #adminView #tab-restaurant .pos-catalogue h2,
body.route-pos #adminView #tab-restaurant .pos-cart h2{color:#f3f6f2!important}
body.route-pos #adminView #tab-restaurant .pos-kicker{color:#cfb470!important}
body.route-pos #adminView #tab-restaurant .pos-workspace-nav{background:linear-gradient(180deg,#0c191b,#0a1517)!important;border:1px solid #26383a!important;box-shadow:0 12px 35px #0004!important}
body.route-pos #adminView #tab-restaurant .pos-workspace-tabs button{background:transparent!important;color:#dce7e1!important;border-color:transparent!important}
body.route-pos #adminView #tab-restaurant .pos-workspace-tabs button[aria-pressed=true]{background:#a6d7a1!important;color:#12251a!important;box-shadow:none!important}
body.route-pos #adminView #tab-restaurant .pos-categories button{background:linear-gradient(150deg,#1d3831,#0c1a1c 78%)!important;color:#f0f3ef!important;border:1px solid #2e4240!important;box-shadow:none!important}
body.route-pos #adminView #tab-restaurant .pos-categories button[aria-pressed=true]{background:#315e3c!important;border-color:#91ca8f!important}
body.route-pos #adminView #tab-restaurant .pos-menu-tile{background:#0b191b!important;color:#f4f6f2!important;border:1px solid #29403e!important;box-shadow:0 6px 18px #0003!important}
body.route-pos #adminView #tab-restaurant .pos-menu-tile:before{display:none!important}
body.route-pos #adminView #tab-restaurant .pos-menu-copy strong{color:#f3f6f2!important}
body.route-pos #adminView #tab-restaurant .pos-item-price{color:#ace2a7!important}
body.route-pos #adminView #tab-restaurant .pos-item-price b{background:#659c63!important;color:#fff!important;border:1px solid #82b97c!important}
body.route-pos #adminView #tab-restaurant .pos-cart{background:linear-gradient(155deg,#0e1d1f,#091516)!important;color:#e5eee7!important;border:1px solid #29403e!important;box-shadow:0 12px 30px #0004!important}
body.route-pos #adminView #tab-restaurant .pos-cart label,
body.route-pos #adminView #tab-restaurant .pos-cart h3{color:#b6c9bf!important}
body.route-pos #adminView #tab-restaurant .pos-cart input,
body.route-pos #adminView #tab-restaurant .pos-cart select,
body.route-pos #adminView #tab-restaurant .pos-cart textarea{background:#102123!important;color:#f3f7f3!important;border-color:#314846!important}
body.route-pos #adminView #tab-restaurant .restaurant-item{background:transparent!important;border-color:#29403e!important}
body.route-pos #adminView #tab-restaurant .pos-order-extras,
body.route-pos #adminView #tab-restaurant .pos-quick-cash,
body.route-pos #adminView #tab-restaurant #restaurantQuote{background:#132426!important;color:#cde6d0!important;border-color:#294143!important}
body.route-pos #adminView #tab-restaurant .pos-order-extras summary{color:#c5d6cc!important}
body.route-pos #adminView #tab-restaurant .pos-cart .span2:last-child{background:#0c191a!important}
body.route-pos #adminView #tab-restaurant #sendRestaurantOrder{background:linear-gradient(135deg,#a9dfa8,#7abe88)!important;color:#0d2717!important;border:0!important}
body.route-pos #adminView #tab-restaurant #addRestaurantItem,
body.route-pos #adminView #tab-restaurant .pos-clear,
body.route-pos #adminView #tab-restaurant .pos-quantity button{background:#172a2b!important;color:#b8e6bc!important;border-color:#304345!important}
body.route-pos #adminView #tab-restaurant .pos-online{color:#8ce0bf!important}
body.route-pos #adminView #tab-restaurant .pos-sidebar-foot{color:#aec3b8!important}

/* Generated dish photographs replace the decorative plate illustrations. */
body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo{position:relative;height:145px;min-height:145px;background:#132123!important;overflow:hidden}
body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo:before,
body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo:after,
body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo>span{display:none!important}
body.route-pos #adminView #tab-restaurant .pos-food-photo{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border:0;border-radius:0}
body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo small{z-index:1;background:#071113a8;color:#f2f6ed;backdrop-filter:blur(4px)}
body.route-pos #adminView #tab-restaurant .pos-categories button.has-category-photo{isolation:isolate;min-height:100px}
body.route-pos #adminView #tab-restaurant .pos-categories button.has-category-photo:before,
body.route-pos #adminView #tab-restaurant .has-category-photo .pos-category-art{display:none!important}
body.route-pos #adminView #tab-restaurant .pos-category-photo{position:absolute;inset:0 0 auto;z-index:-1;display:block;width:100%;height:calc(100% - 29px);object-fit:cover;border:0;border-radius:0}
body.route-pos #adminView #tab-restaurant .has-category-photo b{position:relative;margin-top:auto;max-width:100%;overflow:hidden;text-overflow:ellipsis}
body.route-pos #adminView #tab-restaurant .pos-photo-note{display:block;margin-top:5px;color:#91a99d;font-size:10px;letter-spacing:.02em}
@media(max-width:1300px){body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo{height:125px;min-height:125px}}
@media(max-width:760px){body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo{height:110px;min-height:110px}}

/* pos-orders-history-theme-v1 */

/* Match the recent restaurant order history to the premium POS theme. */
body.route-pos #adminView #tab-restaurant .card:has(#restaurantOrderRows){margin-top:14px;padding:20px!important;background:linear-gradient(155deg,#101f20,#0b1718)!important;color:#eaf0e9!important;border:1px solid #2a403d!important;border-radius:18px!important;box-shadow:0 12px 32px #0004!important}
body.route-pos #adminView #tab-restaurant .card:has(#restaurantOrderRows)>h2{margin:0 0 6px;color:#f1f4ed!important;font:500 25px/1.25 Georgia,"Times New Roman",serif!important;letter-spacing:-.02em}
body.route-pos #adminView #tab-restaurant .card:has(#restaurantOrderRows)>p{margin:0 0 16px;color:#a8bdb2!important;font-size:12px;line-height:1.55}
body.route-pos #adminView #tab-restaurant .card:has(#restaurantOrderRows) .tablewrap{overflow:auto;max-width:100%;border:1px solid #2a403d;border-radius:14px;background:#0b1718;scrollbar-color:#465b52 #101d1d}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows{background:#0b1718}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows tr{background:#0d1b1c!important;color:#eaf0e9!important;transition:background .16s ease}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows tr:hover{background:#142624!important}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows td{padding:13px 11px;border-bottom:1px solid #293d39!important;color:#e6eee7!important;vertical-align:middle;font-size:12px;line-height:1.5}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows tr:last-child td{border-bottom:0!important}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows td b{color:#f6f5ed!important;font-weight:700}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows td small{color:#a9bcb1!important;font-size:10px}
body.route-pos #adminView #tab-restaurant .card:has(#restaurantOrderRows) table{min-width:980px;border-collapse:separate;border-spacing:0}
body.route-pos #adminView #tab-restaurant .card:has(#restaurantOrderRows) thead th{position:sticky;top:0;padding:11px;color:#e7d6a5;background:#172928!important;border-bottom:1px solid #526049!important;font-size:10px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .status{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border:1px solid #41564a;background:#1d3029;color:#c8e6c6;border-radius:999px;font-size:10px;font-weight:700}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .status.preparing{background:#392d1a;border-color:#755d32;color:#f2d48b}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .status.ready,
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .status.served{background:#17372c;border-color:#3d7656;color:#aee6b9}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .status.cancelled{background:#3a2220;border-color:#76433c;color:#ffb0a5}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .booking-actions{display:flex;flex-wrap:wrap;gap:7px;min-width:300px}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .booking-actions button{min-height:38px;padding:7px 12px!important;background:linear-gradient(135deg,#a9dfa8,#7abe88)!important;color:#102519!important;border:1px solid #a9dfa8!important;border-radius:10px!important;font-size:11px!important;font-weight:750!important;box-shadow:0 3px 10px #0002!important}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .booking-actions button:hover{filter:brightness(1.08);transform:translateY(-1px)}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .booking-actions button.ghost{background:#172a2b!important;color:#d6e5dc!important;border-color:#40524d!important}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows .booking-actions button.red{background:#3a2321!important;color:#ffc0b3!important;border-color:#72433b!important}
body.route-pos #adminView #tab-restaurant #restaurantOrderRows td[colspan]{padding:28px;text-align:center;color:#a9bcb1!important}
@media(max-width:700px){body.route-pos #adminView #tab-restaurant .card:has(#restaurantOrderRows){padding:14px!important}body.route-pos #adminView #tab-restaurant .card:has(#restaurantOrderRows)>h2{font-size:22px!important}}

/* Premium sales reports */
.pos-report-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;border:1px solid #24443e;border-radius:20px;background:radial-gradient(ellipse at 88% 15%,rgba(34,144,104,.2),transparent 37%),linear-gradient(135deg,#0b1b1f,#122c2b 68%,#123d34);color:#f5faf6;box-shadow:0 16px 38px rgba(0,0,0,.22)}
.pos-report-hero h2{margin:4px 0 7px;font-size:clamp(25px,3vw,34px);letter-spacing:-.03em;color:#fff}.pos-report-hero p:not(.pos-kicker){margin:0;max-width:950px;color:#b3c8c0;line-height:1.5}.pos-report-hero>span{flex:none;padding:9px 13px;border:1px solid #315c4f;border-radius:999px;color:#bcebc9;background:#102824}
.pos-report-hero .pos-kicker{margin:0;color:#e6bb65;font-size:10px;font-weight:800;letter-spacing:.17em}
.pos-report-filter{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:14px 0;padding:16px;border:1px solid #2b4744;border-radius:17px;background:linear-gradient(135deg,#0e2023,#132b2b);color:#edf4f0}
.pos-report-presets{display:flex;flex-wrap:wrap;gap:7px}.pos-report-presets button,.pos-report-form button{min-height:42px;padding:9px 14px;border:1px solid #38534d;border-radius:11px;background:#172a2d;color:#d5e3dc;font-weight:700;cursor:pointer}
.pos-report-presets button[aria-pressed=true]{border-color:#4bb77b;background:#17653f;color:#fff;box-shadow:0 5px 18px #0b472f88}
.pos-report-form{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.pos-report-form label,.pos-report-panel header label{display:grid;gap:5px;color:#9db6aa;font-size:12px;font-weight:700}.pos-report-form input,.pos-report-panel select{min-height:42px;min-width:145px;padding:8px 10px;border:1px solid #37534b;border-radius:10px;background:#0b191c;color:#f3f8f4;color-scheme:dark}
.pos-report-form .pos-report-run{border-color:#249965;background:linear-gradient(135deg,#16834c,#27aa70);color:white}.pos-report-form button:disabled{opacity:.5;cursor:wait}.pos-report-legend,.pos-chart-legend{display:flex;gap:18px;flex-wrap:wrap;padding:7px 3px 12px;color:#a9bdb5;font-size:12px}
.pos-dot{display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#27b879}.pos-dot-green{background:#27bd78}.pos-dot-blue{background:#58a6d5}.pos-dot-light{background:#8ce5ac}
.pos-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}
.pos-report-kpi{display:flex;align-items:center;gap:13px;min-width:0;min-height:102px;padding:16px;border:1px solid #294440;border-radius:17px;background:radial-gradient(ellipse at 90% 10%,rgba(42,133,97,.14),transparent 55%),linear-gradient(135deg,#102326,#10201f);box-shadow:0 9px 22px rgba(0,0,0,.18)}
.pos-report-kpi>i{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #267a55;border-radius:14px;background:#155b3d;color:#c5f3d0;font-size:22px;font-style:normal}
.pos-report-kpi>div{display:grid;gap:5px;min-width:0}.pos-report-kpi small{color:#adc2b8;font-size:12px}.pos-report-kpi b{overflow-wrap:anywhere;color:#f5faf6;font-size:clamp(17px,1.5vw,23px);letter-spacing:-.02em}.pos-report-kpi span{color:#819c90;font-size:11px}
.pos-report-kpi.gold>i{background:#664714;border-color:#a17827;color:#ffe2a0}.pos-report-kpi.rose>i{background:#612b39;border-color:#914257;color:#ffc2ce}.pos-report-kpi.blue>i{background:#204f66;border-color:#347694;color:#b7eaff}.pos-report-kpi.violet>i{background:#443b73;border-color:#6759aa;color:#d4caff}
.pos-report-content{color:#eef5f1}.pos-report-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:13px}.pos-report-panel{grid-column:span 6;min-width:0;padding:17px;border:1px solid #294340;border-radius:18px;background:linear-gradient(145deg,#102326,#0e1d1f);box-shadow:0 10px 24px rgba(0,0,0,.2)}.pos-report-panel.wide{grid-column:span 7}.pos-report-panel header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}.pos-report-panel h3{margin:2px 0 4px;color:#f2f8f4;font-size:17px}.pos-report-panel header p,.pos-report-panel header small{margin:0;color:#90a99e;font-size:11px;line-height:1.45}.pos-report-panel header label{flex:none}.pos-report-panel select{min-width:120px;min-height:36px}
.pos-report-subchart{margin-top:14px;padding-top:12px;border-top:1px solid #263d3a}.pos-report-subchart h4{margin:0 0 8px;color:#d7e7df;font-size:13px}
.pos-report-panel svg{display:block;max-width:100%;overflow:visible}.pos-report-panel #posSalesTrend,.pos-report-panel .pos-report-subchart{overflow-x:auto;overscroll-behavior-x:contain}
.pos-donut-layout{display:grid;grid-template-columns:minmax(145px,.85fr) minmax(150px,1.15fr);align-items:center;gap:14px;padding:8px 0}.pos-report-donut{display:grid;place-items:center;width:min(210px,100%);aspect-ratio:1;margin:auto;border-radius:50%;position:relative}.pos-report-donut:before{content:"";position:absolute;inset:20%;border-radius:50%;background:#102123;border:1px solid #243f3a}.pos-report-donut>div{z-index:1;display:grid;text-align:center;gap:4px}.pos-report-donut small{color:#9fb6ac;font-size:10px}.pos-report-donut b{color:#fff;font-size:15px}.pos-donut-legend{display:grid;gap:8px}.pos-donut-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center;color:#c4d3cc;font-size:12px}.pos-donut-legend i{width:9px;height:9px;border-radius:50%;background:var(--dot)}.pos-donut-legend b{color:#edf5ef;font-size:11px}.pos-report-empty{padding:18px;text-align:center;color:#99aea4}
.pos-table-scroll{overflow:auto;border:1px solid #29413e;border-radius:12px;overscroll-behavior-x:contain}.pos-report-table{width:100%;min-width:520px;border-collapse:collapse;color:#d7e4dd;font-size:12px}.pos-report-table th,.pos-report-table td{padding:10px 12px;border-bottom:1px solid #253b39;text-align:left;white-space:nowrap}.pos-report-table th{position:sticky;top:0;background:#172d2e;color:#c5d6cc;font-weight:700}.pos-report-table tbody tr:nth-child(even){background:#ffffff05}.pos-report-table tbody tr:hover{background:#1c624122}.pos-report-table th:not(:first-child),.pos-report-table td:not(:first-child){text-align:right}.pos-report-empty-cell{text-align:center!important;color:#92a99f;padding:24px!important}
.pos-hour-chart{display:grid;grid-template-columns:repeat(24,minmax(12px,1fr));align-items:end;gap:4px;min-height:150px;padding:12px 3px 0;border-bottom:1px solid #3a514b;overflow-x:auto}.pos-hour-bin{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px;height:140px;min-width:14px}.pos-hour-bin i{display:block;width:min(100%,20px);height:var(--bar-height);min-height:2px;border-radius:5px 5px 1px 1px;background:linear-gradient(#51d38b,#19764b)}.pos-hour-bin small{color:#91a89d;font-size:9px}
.pos-report-footnote{margin:13px 0 0;padding:12px 14px;border:1px solid #344d43;border-radius:12px;background:#152622;color:#b4c8bd;font-size:11px;line-height:1.5}.pos-report-message{margin:10px 0;color:#a9c8b9;font-size:12px}
@media(max-width:1000px){.pos-report-filter{align-items:stretch;flex-direction:column}.pos-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-report-panel,.pos-report-panel.wide{grid-column:span 12}}
@media(max-width:620px){.pos-report-hero{align-items:flex-start;flex-direction:column;padding:19px}.pos-report-presets{display:grid;grid-template-columns:repeat(2,1fr)}.pos-report-presets button{min-height:44px}.pos-report-form{display:grid;grid-template-columns:1fr 1fr}.pos-report-form label{min-width:0}.pos-report-form input{min-width:0;width:100%}.pos-report-form button{width:100%}.pos-report-kpis{gap:8px}.pos-report-kpi{align-items:flex-start;flex-direction:column;min-height:130px;padding:12px;gap:8px}.pos-report-kpi>i{width:38px;height:38px}.pos-report-kpi b{font-size:16px}.pos-report-panel{padding:13px}.pos-report-panel header{flex-wrap:wrap}.pos-donut-layout{grid-template-columns:minmax(110px,.75fr) minmax(135px,1.25fr);gap:9px}.pos-report-donut b{font-size:12px}.pos-report-donut small{font-size:9px}.pos-donut-legend{gap:6px}.pos-donut-legend>div{font-size:10px;gap:5px}.pos-report-table{min-width:480px}}

.pos-hourly-chart{display:grid;grid-template-columns:repeat(24,minmax(12px,1fr));align-items:end;gap:4px;min-height:150px;padding:12px 3px 0;border-bottom:1px solid #3a514b;overflow-x:auto;overscroll-behavior-x:contain}.pos-hourly-chart .pos-hour-bin{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px;height:140px;min-width:14px}.pos-hourly-chart .pos-hour-bin i{display:block;width:min(100%,20px);height:var(--bar-height);min-height:2px;border-radius:5px 5px 1px 1px;background:linear-gradient(#51d38b,#19764b)}.pos-hourly-chart .pos-hour-bin small{color:#91a89d;font-size:9px}
.pos-report-balance{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:13px;padding:15px 18px;border:1px solid #2d4a43;border-radius:14px;background:linear-gradient(100deg,#122a25,#122124);color:#eff8f2}.pos-report-balance span{display:grid;gap:4px;font-weight:700}.pos-report-balance small{color:#9eb4a9;font-size:11px;font-weight:400}.pos-report-balance>b{color:#a6ebba;font-size:20px}
@media(max-width:520px){.pos-report-balance{align-items:flex-start;flex-direction:column}.pos-report-balance>b{font-size:18px}}

/* Premium cashier shift and cash count */
body.route-pos #adminView #tab-restaurant #posShiftCurrent{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.route-pos #adminView #tab-restaurant #posShiftCurrent .pos-shift-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px;padding:23px 25px;border:1px solid #27423e;border-radius:20px;background:radial-gradient(ellipse at 88% 20%,rgba(44,148,97,.2),transparent 38%),linear-gradient(130deg,#0e2023,#102b28 75%,#12382f);color:#f4faf6}
.pos-shift-head h2{margin:3px 0 6px;color:#fff;font-size:clamp(25px,3vw,34px);letter-spacing:-.03em}.pos-shift-head p:not(.pos-kicker){margin:0;color:#abc0b5;line-height:1.5;font-size:13px}.pos-shift-head .pos-kicker{margin:0;color:#e8bd64;font-size:10px;font-weight:800;letter-spacing:.17em}
.pos-shift-pill{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:6px 12px;border:1px solid #385249;border-radius:999px;background:#1a3029;color:#cadbd1;font-size:12px;font-weight:700;white-space:nowrap}.pos-shift-pill.open{border-color:#287b51;background:#155a3a;color:#b9f1ca}.pos-shift-pill.open i{width:8px;height:8px;border-radius:50%;background:#52e08b;box-shadow:0 0 10px #53d787}.pos-shift-pill.closed{color:#b5c2ba;background:#273431}
.pos-shift-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.pos-shift-kpi{display:flex;align-items:center;gap:12px;min-width:0;min-height:103px;padding:15px;border:1px solid #2b4842;border-radius:17px;background:radial-gradient(ellipse at 95% 5%,rgba(42,127,94,.13),transparent 48%),linear-gradient(140deg,#122729,#0e1d20);box-shadow:0 10px 24px #0003;transition:transform .18s ease,border-color .18s ease}.pos-shift-kpi:hover{transform:translateY(-2px);border-color:#43715b}.pos-shift-kpi>div{display:grid;gap:4px;min-width:0}.pos-shift-kpi small{color:#a6bcb1;font-size:11px}.pos-shift-kpi b{overflow-wrap:anywhere;color:#f4faf6;font-size:clamp(17px,1.7vw,23px);letter-spacing:-.02em}.pos-shift-kpi span:not(.pos-shift-icon){color:#819b90;font-size:10px;line-height:1.4}
.pos-shift-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid #278351;border-radius:14px;background:linear-gradient(145deg,#167649,#20a45c);color:#e5fff0}.pos-shift-icon svg,.pos-summary-icon svg,.pos-shift-panel-head h3 svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pos-shift-icon.blue{border-color:#3478a5;background:linear-gradient(145deg,#204c70,#21688c);color:#d8f2ff}.pos-shift-icon.gold{border-color:#927032;background:linear-gradient(145deg,#684a14,#97701b);color:#ffebbc}.pos-shift-icon.violet{border-color:#7251b1;background:linear-gradient(145deg,#493171,#694bb4);color:#e9dcff}
.pos-shift-kpi.gold{border-color:#554526;background:linear-gradient(145deg,#2a2416,#151f1f)}.pos-shift-kpi.violet{border-color:#48315f;background:linear-gradient(145deg,#211b34,#111d20)}.pos-shift-kpi.balanced{border-color:#2d8656}.pos-shift-kpi.shortage{border-color:#a1494b}.pos-shift-kpi.over{border-color:#bb7a36}
.pos-shift-main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.9fr);gap:13px;align-items:start}
.pos-shift-panel{min-width:0;padding:18px;border:1px solid #2a4641;border-radius:18px;background:linear-gradient(145deg,#102326,#0c1b1d);box-shadow:0 12px 26px #0003;color:#edf6f0}
.pos-shift-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.pos-shift-panel-head .pos-kicker{margin:0 0 4px;color:#e4b95b;font-size:9px;font-weight:800;letter-spacing:.15em}.pos-shift-panel-head h3{display:flex;align-items:center;gap:9px;margin:0;color:#f5faf6;font-size:17px}.pos-shift-panel-head h3 svg{color:#56d18d;width:22px;height:22px}.pos-shift-panel-head p{margin:4px 0 0;color:#8fa99e;font-size:11px;line-height:1.45}.pos-shift-lock{color:#9db6a8;font-size:10px}
.pos-denom-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px}.pos-denom-group{overflow:hidden;border:1px solid #2a433f;border-radius:13px;background:#0b191b}.pos-denom-group h4{margin:0;padding:10px 13px;border-bottom:1px solid #29403b;background:#142726;color:#c9d9d0;font-size:11px}
.pos-cash-denom{display:grid;grid-template-columns:minmax(64px,1fr) auto minmax(72px,.8fr);align-items:center;gap:6px;padding:7px 9px;border-bottom:1px solid #223734}.pos-cash-denom:last-child{border-bottom:0}.pos-denom-value{color:#f0f5f0;font-size:12px}.pos-denom-total{color:#cbdacf;text-align:right;font-size:11px}
.pos-denom-stepper{display:grid;grid-template-columns:40px 48px 40px;gap:4px;align-items:center}.pos-denom-stepper button,.pos-denom-stepper input{height:40px;border:1px solid #365049;border-radius:9px;background:#142629;color:#f1f7f2;text-align:center}.pos-denom-stepper button{font-size:20px;font-weight:700;cursor:pointer}.pos-denom-stepper button:hover{border-color:#45a871;background:#194631}.pos-denom-stepper input{width:48px;padding:4px;font-size:14px}
.pos-count-total{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:13px;padding:13px 15px;border:1px solid #685a2c;border-radius:13px;background:linear-gradient(100deg,#222718,#11251e);color:#eaf3eb}.pos-count-total span{font-weight:700}.pos-count-total b{color:#a0f19f;font-size:clamp(20px,2vw,29px)}
.pos-count-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:9px}
.pos-shift-secondary,.pos-shift-primary,.pos-shift-close{min-height:48px;padding:10px 16px;border:1px solid #3a5550;border-radius:11px;background:linear-gradient(145deg,#182d30,#132326);color:#e5eee8;font-weight:750;cursor:pointer;transition:transform .16s ease,filter .16s ease}.pos-shift-secondary:hover,.pos-shift-primary:hover,.pos-shift-close:hover{transform:translateY(-1px);filter:brightness(1.12)}.pos-shift-primary,.pos-shift-close{border-color:#3aa86d;background:linear-gradient(135deg,#188550,#36ba71);color:#062214}.pos-shift-primary{min-width:170px}.pos-shift-primary:disabled,.pos-shift-secondary:disabled,.pos-shift-close:disabled{opacity:.55;cursor:wait}
.pos-manual-count{display:grid;gap:6px;margin-top:15px;padding-top:14px;border-top:1px solid #2c423e}.pos-manual-count>label,.pos-open-shift label,.pos-adjust-form label,.pos-close-shift>label{color:#d6e4dc;font-size:12px;font-weight:750}.pos-manual-count>input,.pos-open-shift input,.pos-adjust-form input,.pos-adjust-form select,.pos-close-shift textarea{width:100%;min-height:49px;padding:10px 12px;border:1px solid #3c5b51;border-radius:11px;background:#091719;color:#f4f9f5;font-size:17px;color-scheme:dark}.pos-manual-count>small{color:#89a297;font-size:10px}
.pos-cash-keypad{display:grid;grid-template-columns:repeat(3,minmax(56px,1fr));gap:6px;width:min(100%,330px);margin-top:5px}.pos-cash-keypad button{min-height:47px;border:1px solid #2e4943;border-radius:10px;background:#16282a;color:#f4f9f5;font-size:18px;font-weight:700;touch-action:manipulation}.pos-cash-keypad button:active{background:#1f6340;transform:scale(.97)}.pos-cash-keypad button.utility{color:#e5c979;font-size:12px}
.pos-shift-summary{position:sticky;top:14px}.pos-summary-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #8e6e24;border-radius:12px;background:#614917;color:#ffe5a5}.pos-shift-ledger{display:grid;gap:0;border:1px solid #2d4842;border-radius:13px;overflow:hidden;background:#0a191a}.pos-shift-ledger>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;border-bottom:1px solid #263d39;color:#b9cdc3;font-size:12px}.pos-shift-ledger>div:last-child{border-bottom:0}.pos-shift-ledger b{color:#ecf5ef;font-size:12px;text-align:right}.pos-shift-ledger b.positive{color:#75e49c}.pos-shift-ledger b.negative{color:#ff9294}.pos-shift-ledger>div.expected{background:linear-gradient(90deg,#19462e,#142920);color:#f1d170;font-weight:800}.pos-shift-ledger>div.expected b{color:#d9f3cf;font-size:16px}
.pos-shift-ledger .difference-row{font-weight:800;background:#152522}.pos-shift-ledger .difference-row.balanced{background:#123f2b;color:#a9edbe}.pos-shift-ledger .difference-row.shortage{background:#48252a;color:#ffb5b9}.pos-shift-ledger .difference-row.over{background:#49361d;color:#ffdfa0}
.pos-adjustment-box{margin-top:14px;padding:12px;border:1px solid #344b40;border-radius:13px;background:#111f1c}.pos-adjustment-box h4{margin:0 0 10px;color:#e7d39c;font-size:12px}.pos-adjust-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pos-adjust-form label{display:grid;gap:5px}.pos-adjust-form label:nth-child(3){grid-column:1/-1}.pos-adjust-form input,.pos-adjust-form select{min-height:42px;font-size:13px}.pos-adjust-form button{grid-column:1/-1;width:100%;min-height:44px}.pos-shift-permission{margin:7px 0 0;color:#92a89c;font-size:11px}
.pos-close-shift{display:grid;gap:8px;margin-top:14px;padding-top:13px;border-top:1px solid #30433c}.pos-close-shift>label span{color:#8ea69a;font-size:10px;font-weight:400}.pos-close-shift textarea{min-height:65px;resize:vertical;font-size:12px}.pos-shift-message{color:#96b0a4;font-size:10px;line-height:1.4}.pos-shift-close{width:100%;min-height:52px;font-size:14px}
.pos-open-shift{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:11px;margin-bottom:14px;padding:18px;border:1px solid #2a4641;border-radius:17px;background:#102124}.pos-open-shift label{display:grid;gap:6px}.pos-open-shift label span{color:#90aa9d;font-weight:400}.pos-open-shift button{min-width:190px;min-height:49px}
body.route-pos #adminView #tab-restaurant .card:has(#posShiftRows){margin-top:13px;padding:18px!important;border:1px solid #2a4641!important;border-radius:17px!important;background:linear-gradient(145deg,#102326,#0c1b1d)!important;color:#eaf4ed!important;box-shadow:0 10px 25px #0003!important}
body.route-pos #adminView #tab-restaurant .card:has(#posShiftRows)>h3{margin:0 0 13px;color:#f4faf6;font-size:16px}
body.route-pos #adminView #tab-restaurant .card:has(#posShiftRows) .tablewrap{overflow:auto;border:1px solid #29423d;border-radius:12px}
body.route-pos #adminView #tab-restaurant #posShiftRows tr{background:#0c1b1d!important;color:#e5efe8!important}
body.route-pos #adminView #tab-restaurant #posShiftRows td{padding:11px 10px;border-bottom:1px solid #263d39!important;color:#dbe9e0!important;white-space:nowrap;font-size:11px}
body.route-pos #adminView #tab-restaurant #posShiftRows tr:last-child td{border-bottom:0!important}
body.route-pos #adminView #tab-restaurant #posShiftRows td small{display:block;color:#8fa69a!important;margin-top:4px}
body.route-pos #adminView #tab-restaurant #posShiftRows .balanced{color:#7be5a1!important}body.route-pos #adminView #tab-restaurant #posShiftRows .shortage{color:#ff9294!important}body.route-pos #adminView #tab-restaurant #posShiftRows .over{color:#ffd27c!important}
.pos-shift-empty{text-align:center!important;padding:28px!important;color:#91aa9e!important}
.pos-open-shift input:focus,.pos-adjust-form input:focus,.pos-manual-count>input:focus,.pos-denom-stepper input:focus,.pos-close-shift textarea:focus{outline:2px solid #36ae6c;outline-offset:1px}
@keyframes posShiftRise{from{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.pos-shift-kpi,.pos-shift-panel{animation:posShiftRise .24s ease-out both}
@media(max-width:1120px){.pos-shift-main{grid-template-columns:minmax(0,1fr)}.pos-shift-summary{position:static}.pos-shift-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){body.route-pos #adminView #tab-restaurant #posShiftCurrent .pos-shift-head{flex-direction:column;padding:18px}.pos-shift-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-shift-kpi{align-items:flex-start;flex-direction:column;min-height:126px;padding:12px;gap:8px}.pos-shift-icon{width:39px;height:39px}.pos-shift-icon svg{width:21px;height:21px}.pos-shift-kpi b{font-size:16px}.pos-shift-kpi span:not(.pos-shift-icon){font-size:9px}.pos-denom-columns{grid-template-columns:1fr}.pos-shift-panel{padding:13px}.pos-cash-denom{grid-template-columns:minmax(72px,1fr) auto minmax(65px,.8fr)}.pos-denom-stepper{grid-template-columns:44px 54px 44px;gap:5px}.pos-denom-stepper button,.pos-denom-stepper input{height:44px}.pos-denom-stepper input{width:54px}.pos-cash-keypad{width:100%;grid-template-columns:repeat(3,minmax(65px,1fr))}.pos-cash-keypad button{min-height:52px}.pos-count-actions{display:grid;grid-template-columns:1fr 1fr}.pos-count-actions button{min-width:0}.pos-open-shift{grid-template-columns:1fr;padding:14px}.pos-open-shift button{width:100%}.pos-adjust-form{grid-template-columns:1fr 1fr}}
@media(max-width:390px){.pos-shift-kpis{grid-template-columns:1fr 1fr}.pos-cash-denom{grid-template-columns:minmax(59px,1fr) auto minmax(56px,.7fr);gap:4px;padding:7px 5px}.pos-denom-stepper{grid-template-columns:38px 44px 38px;gap:3px}.pos-denom-stepper button,.pos-denom-stepper input{height:40px}.pos-denom-stepper input{width:44px}.pos-denom-value,.pos-denom-total{font-size:10px}}
@media(prefers-reduced-motion:reduce){.pos-shift-kpi,.pos-shift-panel{animation:none!important;transition:none!important}}

.pos-adjustment-history{display:grid;gap:7px;margin-top:11px}.pos-adjustment-history h4{margin:0 0 2px;color:#c5d7cc;font-size:11px}.pos-adjustment-entry{display:grid;gap:3px;padding:8px 9px;border:1px solid #2d423d;border-radius:9px;background:#0b191a}.pos-adjustment-entry b{font-size:11px}.pos-adjustment-entry b.positive{color:#7ce2a0}.pos-adjustment-entry b.negative{color:#ff999d}.pos-adjustment-entry small{color:#8da69a;font-size:9px;line-height:1.4}

.pos-chart-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.pos-report-grid>.wide+section{grid-column:span 5}.pos-report-totalline{display:flex;justify-content:space-between;padding:10px 0;color:#b5cabc}.pos-report-totalline b{color:#ffb4b5}.pos-denom-stepper button{min-height:44px}.pos-denom-stepper input{height:44px}.pos-cash-keypad button:focus-visible,.pos-report-presets button:focus-visible{outline:2px solid #6be99d;outline-offset:2px}
@media(max-width:1000px){.pos-report-grid>.wide+section{grid-column:span 12}}

body.route-pos #adminView #tab-restaurant .pos-shift-panel label,body.route-pos #adminView #tab-restaurant .pos-manual-count>label,body.route-pos #adminView #tab-restaurant .pos-open-shift label{color:#d7e9df!important}
body.route-pos #adminView #tab-restaurant .card:has(#posShiftRows) table{width:100%;min-width:960px;border-collapse:collapse}
body.route-pos #adminView #tab-restaurant .card:has(#posShiftRows) thead th{padding:11px 10px;background:#17302d;color:#cce1d5;border-bottom:1px solid #365449;font-size:11px;text-align:left;white-space:nowrap}
@media(min-width:681px){.pos-manual-count{grid-template-columns:minmax(0,1fr) 240px;align-content:start;align-items:start;column-gap:20px}.pos-manual-count>label,.pos-manual-count>input,.pos-manual-count>small{grid-column:1}.pos-manual-count>.pos-cash-keypad{grid-column:2;grid-row:1/span 3;margin:0;width:100%}}

body.route-pos #adminView #tab-restaurant .pos-report-form label,body.route-pos #adminView #tab-restaurant .pos-report-panel header label{color:#bbd2c6!important}
body.route-pos #adminView #tab-restaurant #posReportExport{color:#e5f3eb!important;background:#1b3031!important;border-color:#426158!important}
body.route-pos #adminView #tab-restaurant #posReportMessage{margin-top:12px;color:#a5c9b4!important;font-size:12px}

/* Premium, data-backed menu catalogue and touchscreen editor. */
body.route-pos #adminView #tab-restaurant .pos-menu-manager-card{padding:0!important;overflow:hidden;border:1px solid #274541!important;border-radius:20px!important;background:#081719!important;color:#edf6f0!important;box-shadow:0 14px 36px #0004!important}
body.route-pos #adminView #tab-restaurant .pos-menu-manager{display:grid;gap:14px;padding:18px;background:radial-gradient(ellipse at 83% 0%,#12352f66,transparent 38%),linear-gradient(145deg,#071719,#0b1a1d 66%,#111c1b)}
.pos-menu-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:100px;padding:18px 22px;border:1px solid #29443c;border-radius:17px;background:linear-gradient(110deg,#0c2424,#102b2a 65%,#1b2a20);position:relative;overflow:hidden}
.pos-menu-hero:after{content:"";position:absolute;right:-34px;top:-78px;width:220px;height:220px;border:1px solid #c9a34a30;border-radius:50%;box-shadow:0 0 0 25px #c9a34a09,0 0 0 52px #c9a34a06;pointer-events:none}
.pos-menu-hero h2{margin:0;color:#f7faf6;font:650 clamp(23px,2.2vw,30px)/1.15 system-ui}.pos-menu-hero p:not(.pos-kicker){margin:7px 0 0;color:#9eb7aa;font-size:12px;line-height:1.5;max-width:720px}.pos-menu-hero .pos-kicker{color:#edc360;font-size:9px}.pos-menu-hero-mark{display:grid;place-items:center;width:56px;height:56px;border:1px solid #b98c36;border-radius:16px;background:linear-gradient(145deg,#67491b,#322b19);color:#ffe5a4;font-size:25px;box-shadow:0 8px 25px #0004}
.pos-menu-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pos-menu-stat{display:flex;align-items:center;gap:12px;min-width:0;min-height:86px;padding:13px;border:1px solid #253e3d;border-radius:15px;background:linear-gradient(145deg,#102326,#0c1a1e);box-shadow:0 8px 20px #0002}.pos-menu-stat>span{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;border-radius:13px;background:#164b50;color:#a3e8e2;font-size:21px;font-weight:800}.pos-menu-stat div{display:grid;gap:2px;min-width:0}.pos-menu-stat small{color:#b9ccc3;font-size:11px}.pos-menu-stat b{color:#f7faf7;font-size:21px;line-height:1.15}.pos-menu-stat em{font-style:normal;color:#829c90;font-size:9px}.pos-menu-stat.gold>span{background:#594319;color:#f5d77d}.pos-menu-stat.green>span{background:#135335;color:#8af0a3}.pos-menu-stat.rose>span{background:#56292e;color:#ffb3b3}.pos-menu-stat.blue>span{background:#174357;color:#a8daf5}
.pos-menu-toolbar{display:grid;grid-template-columns:minmax(200px,1.5fr) minmax(130px,.85fr) minmax(130px,.85fr) minmax(145px,.9fr) auto auto;gap:8px;align-items:end}.pos-menu-toolbar label{display:grid;gap:5px;margin:0;color:#a9beb3;font-size:10px;font-weight:700}.pos-menu-toolbar input,.pos-menu-toolbar select{width:100%;min-width:0;min-height:45px;padding:9px 11px;border:1px solid #344b47;border-radius:10px;background:#0b1b1e;color:#e8f1ec;color-scheme:dark;font-size:12px}.pos-menu-toolbar input::placeholder{color:#82968d}.pos-menu-search{position:relative}.pos-menu-search>span{position:absolute;left:12px;bottom:10px;color:#76d69c;font-size:21px;line-height:20px}.pos-menu-search input{padding-left:37px}.pos-menu-view-switch{display:flex;gap:3px;padding:3px;border:1px solid #2d4744;border-radius:11px;background:#0b191a}.pos-menu-view-switch button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:5px 10px;border:0;border-radius:8px;background:transparent!important;color:#aac0b5!important;font-size:12px}.pos-menu-view-switch button[aria-pressed=true]{background:linear-gradient(135deg,#147d4e,#37b876)!important;color:#051b13!important;box-shadow:0 3px 9px #0003}.pos-menu-add{display:flex;align-items:center;justify-content:center;gap:7px;min-height:45px;padding:9px 15px;border:1px solid #44c87a;border-radius:11px;background:linear-gradient(135deg,#38c978,#74e991)!important;color:#042316!important;font-weight:800;font-size:12px;white-space:nowrap}.pos-menu-add:hover{filter:brightness(1.08);transform:translateY(-1px)}
.pos-menu-category-tabs{display:flex;gap:7px;overflow:auto;padding:2px 1px 5px;scrollbar-width:thin;scrollbar-color:#34534a transparent}.pos-menu-category-tabs button{flex:0 0 auto;min-height:39px;padding:7px 13px;border:1px solid #2d4542;border-radius:22px;background:#101f21!important;color:#b9cdc3!important;font-size:11px}.pos-menu-category-tabs button[aria-pressed=true]{border-color:#46c977;background:linear-gradient(135deg,#167e4f,#3abd77)!important;color:#052116!important;font-weight:800}.pos-menu-category-tabs small{margin-left:4px;color:inherit;opacity:.72}.pos-menu-result-line{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8ca79a;font-size:11px}.pos-menu-clear{min-height:34px!important;padding:5px 10px;border:1px solid #344b47;border-radius:9px;background:#101f21!important;color:#d1e1d7!important;font-size:11px}
.pos-manager-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pos-manager-card{min-width:0;overflow:visible;border:1px solid #294440;border-radius:15px;background:linear-gradient(150deg,#112426,#0a191b);box-shadow:0 8px 20px #0003;animation:posMenuRise .2s ease-out both;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.pos-manager-card:hover{transform:translateY(-2px);border-color:#46765e;box-shadow:0 12px 25px #0004}.pos-manager-photo{position:relative;display:grid;place-items:center;height:118px;overflow:hidden;border-radius:14px 14px 0 0;background:radial-gradient(circle at 50% 40%,#37564a,#172a29 60%,#10191a);color:#e6c76d}.pos-manager-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.pos-manager-photo>span{position:relative;z-index:1;display:grid;place-items:center;width:46px;height:46px;border:1px solid #e6c76d40;border-radius:50%;background:#081615a8;font-size:25px;pointer-events:none}.pos-manager-photo.fallback>span{width:auto;height:auto;border:0;background:none;font-size:39px}.pos-manager-photo:not(.fallback) img:not([src])~span{display:grid}.pos-manager-card-body{display:grid;gap:7px;padding:11px}.pos-manager-meta{display:flex;justify-content:space-between;gap:6px;align-items:center}.pos-manager-meta>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d3b35a;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pos-manager-state{display:inline-flex;align-items:center;gap:5px;color:#b5c9be;font-size:9px;white-space:nowrap}.pos-manager-state i,.pos-manager-toggle i{width:8px;height:8px;border-radius:50%;background:#62d98a;box-shadow:0 0 10px #54db8460}.pos-manager-state.unavailable i{background:#f0837c;box-shadow:0 0 9px #f0837c60}.pos-manager-card h3{min-height:34px;margin:0;color:#f3f7f4;font-size:14px;line-height:1.2}.pos-manager-price{color:#9be6ad;font-size:16px}.pos-manager-card.is-unavailable{opacity:.74}.pos-manager-card.is-unavailable .pos-manager-photo{filter:saturate(.62)}.pos-manager-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:2px}.pos-manager-toggle{display:inline-flex;align-items:center;gap:6px;min-height:36px!important;padding:5px 9px;border:1px solid #286748;border-radius:20px;background:#113324!important;color:#95e7ad!important;font-size:10px;white-space:nowrap}.pos-manager-toggle i{width:15px;height:15px;border:2px solid #91ecaa;background:#2dbd70;box-shadow:none}.pos-manager-card.is-unavailable .pos-manager-toggle{border-color:#6a4240;background:#322120!important;color:#ffc0b9!important}.pos-manager-card.is-unavailable .pos-manager-toggle i{border-color:#ffb4aa;background:#a24b4b}.pos-manager-actions{display:flex;align-items:center;gap:5px}.pos-manager-edit,.pos-manager-more{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px!important;padding:5px 9px;border:1px solid #314a48;border-radius:9px;background:#16292b!important;color:#e1eee6!important;font-size:10px}.pos-manager-edit:hover,.pos-manager-more:hover{border-color:#55bf7a}.pos-manager-more-wrap{position:relative}.pos-manager-more{width:36px;padding:0;font-size:19px}.pos-manager-more-menu{position:absolute;z-index:5;right:0;top:calc(100% + 5px);min-width:155px;padding:5px;border:1px solid #35514a;border-radius:10px;background:#10201f;box-shadow:0 12px 26px #0008}.pos-manager-more-menu[hidden]{display:none}.pos-manager-more-menu button{width:100%;min-height:40px!important;padding:7px 10px;border:0;border-radius:7px;background:transparent!important;color:#e8f2ec!important;text-align:left;font-size:11px}.pos-manager-more-menu button:hover{background:#1c3830!important;color:#a6f0b9!important}
.pos-manager-table{overflow:hidden;border:1px solid #294440;border-radius:14px;background:#0b191b}.pos-manager-table[hidden]{display:none}.pos-manager-table-scroll{overflow:auto}.pos-manager-table table{width:100%;min-width:730px;margin:0;border-collapse:collapse;background:transparent;color:#e5efe8}.pos-manager-table th{padding:11px 12px;border-bottom:1px solid #34504a;background:#162c2c;color:#9fb8aa;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}.pos-manager-table td{padding:9px 12px;border-bottom:1px solid #243b37;background:#0b191b;color:#e2ede5;font-size:11px}.pos-manager-table tr:last-child td{border-bottom:0}.pos-manager-table-item{display:flex;align-items:center;gap:9px;min-width:180px}.pos-manager-table-item .pos-manager-photo{width:43px;height:38px;flex:0 0 43px;border-radius:7px}.pos-manager-table-item .pos-manager-photo>span{font-size:14px;width:23px;height:23px}.pos-manager-table-item b{color:#f0f6f1}.pos-manager-table .pos-manager-actions{min-width:115px}.pos-menu-empty{grid-column:1/-1;display:grid;justify-items:center;gap:6px;padding:38px 16px;border:1px dashed #34504a;border-radius:15px;color:#90a89c;text-align:center}.pos-menu-empty>span{font-size:28px;color:#70d99a}.pos-menu-empty h3{margin:0;color:#eaf4ed;font-size:17px}.pos-menu-empty p{margin:0;font-size:11px}.pos-menu-empty button{margin-top:6px;color:#9ae9af!important;border:1px solid #38684b!important;background:#12261d!important}
.pos-menu-storage-note{margin:0;padding:9px 11px;border:1px solid #594a2d;border-radius:9px;background:#262216;color:#c9b983;font-size:9px;line-height:1.5}
.pos-menu-editor{position:fixed;inset:0 0 0 auto;width:min(460px,100vw);max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-left:1px solid #36534a;background:#0a191b;color:#eaf4ed;box-shadow:-20px 0 60px #0008;overflow:auto;overscroll-behavior:contain}.pos-menu-editor[open]{display:flex;flex-direction:column;animation:posMenuDrawer .2s ease-out both}.pos-menu-editor::backdrop{background:#020c0ddd;backdrop-filter:blur(3px)}.pos-menu-drawer-head{position:sticky;z-index:2;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px 22px 16px;border-bottom:1px solid #29433d;background:#0b1b1d}.pos-menu-drawer-head .pos-kicker{color:#e7c25f;font-size:9px}.pos-menu-drawer-head h2{margin:0;color:#f4faf5;font-size:21px}.pos-menu-drawer-head p:not(.pos-kicker){margin:5px 0 0;color:#91aa9e;font-size:11px}.pos-menu-close{width:42px;min-height:42px!important;border:1px solid #37544c;border-radius:11px;background:#142522!important;color:#e8f4ec!important;font-size:24px}.pos-menu-drawer-body{display:grid;gap:11px;padding:20px 22px 26px}.pos-menu-drawer-body form{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;margin:0;padding:0;background:transparent}.pos-menu-drawer-body form>div{min-width:0}.pos-menu-drawer-body form label{color:#d2e1d7!important;font-size:11px}.pos-menu-drawer-body form input{width:100%;min-height:49px;border:1px solid #38534b;border-radius:10px;background:#0d1d1e;color:#f0f8f2;color-scheme:dark;font-size:15px}.pos-menu-drawer-body form input:focus,.pos-menu-toolbar input:focus,.pos-menu-toolbar select:focus{outline:2px solid #47ca7b;outline-offset:1px}.pos-menu-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}.pos-menu-form-actions label{display:none}.pos-menu-form-actions button{min-height:49px!important}.pos-menu-drawer-body .pos-menu-save{grid-column:2;grid-row:1;background:linear-gradient(135deg,#36c776,#71e38d)!important;color:#062115!important;font-weight:800}.pos-menu-form-actions #restaurantMenuCancel{grid-column:1;grid-row:1;border:1px solid #3b544d;background:#142425!important;color:#e8f2ec!important}.pos-menu-drawer-body #restaurantMenuMessage{color:#9ddcb1;font-size:11px}.pos-menu-drawer-body #restaurantMenuMessage.error,.pos-menu-drawer-body #restaurantMenuMessage[aria-invalid=true]{color:#ffaaa5}.pos-menu-drawer-body #restaurantMenuMessage:empty{display:none}
@keyframes posMenuRise{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes posMenuDrawer{from{opacity:.6;transform:translateX(16px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:1180px){.pos-menu-toolbar{grid-template-columns:minmax(190px,1.4fr) 1fr 1fr auto auto}.pos-menu-sort{display:none!important}.pos-manager-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-menu-stats{gap:8px}.pos-menu-stat{padding:10px;gap:9px}}
@media(max-width:760px){body.route-pos #adminView #tab-restaurant .pos-menu-manager{padding:11px;gap:11px}.pos-menu-hero{min-height:auto;padding:15px}.pos-menu-hero-mark{width:44px;height:44px;flex:0 0 44px}.pos-menu-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pos-menu-stat{min-height:74px;padding:9px;gap:8px}.pos-menu-stat>span{width:37px;height:37px;flex-basis:37px;font-size:18px}.pos-menu-stat small{font-size:9px}.pos-menu-stat b{font-size:18px}.pos-menu-stat em{font-size:8px}.pos-menu-toolbar{grid-template-columns:minmax(0,1fr) minmax(120px,1fr) auto;gap:7px}.pos-menu-search{grid-column:1/3}.pos-menu-toolbar label:not(.pos-menu-search){grid-column:span 1}.pos-menu-toolbar .pos-menu-sort{display:grid!important;grid-column:1/2}.pos-menu-view-switch{grid-column:2/3;grid-row:3;justify-self:start}.pos-menu-add{grid-column:3;grid-row:1/4;align-self:stretch;writing-mode:vertical-rl;flex-direction:row-reverse;padding:11px 9px}.pos-menu-add span{writing-mode:vertical-rl}.pos-menu-category-tabs{margin:0 -1px}.pos-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-manager-photo{height:95px}.pos-manager-card-body{padding:9px;gap:6px}.pos-manager-card h3{font-size:12px;min-height:30px}.pos-manager-price{font-size:14px}.pos-manager-toggle{min-height:34px!important;padding:4px 7px;font-size:9px}.pos-manager-edit{min-width:36px;padding:4px 7px}.pos-manager-edit span{display:none}.pos-manager-more{width:34px}.pos-menu-editor{width:100vw;border-left:0}.pos-menu-drawer-head{padding:18px}.pos-menu-drawer-body{padding:17px}.pos-menu-result-line{font-size:10px}}
@media(max-width:370px){.pos-menu-toolbar{grid-template-columns:minmax(0,1fr) auto}.pos-menu-search{grid-column:1/-1}.pos-menu-filter{grid-column:1/-1}.pos-menu-view-switch{grid-column:1;grid-row:auto}.pos-menu-add{grid-column:2;grid-row:2/5}.pos-manager-grid{grid-template-columns:1fr}.pos-manager-photo{height:145px}}
@media(prefers-reduced-motion:reduce){.pos-manager-card,.pos-menu-editor[open]{animation:none!important}.pos-manager-card,.pos-menu-add{transition:none!important}}
body.route-pos #adminView #tab-restaurant .pos-menu-toolbar label{color:#a9beb3!important}
@media(max-width:760px){.pos-menu-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;align-items:end}.pos-menu-search{grid-column:1/-1}.pos-menu-toolbar label:not(.pos-menu-search){grid-column:auto}.pos-menu-toolbar .pos-menu-sort{display:grid!important;grid-column:1/2}.pos-menu-view-switch{grid-column:2/3;grid-row:auto;justify-self:start}.pos-menu-add{grid-column:1/-1;grid-row:auto;align-self:auto;min-height:47px;writing-mode:horizontal-tb;flex-direction:row;padding:9px 15px}.pos-menu-add span{writing-mode:horizontal-tb}}

/* Premium stock and recipe management, backed by the existing inventory endpoints. */
body.route-pos #adminView #tab-restaurant .pos-inventory-manager-card{display:grid;gap:14px;padding:16px!important;overflow:hidden;border:1px solid #274541!important;border-radius:20px!important;background:radial-gradient(ellipse at 85% 0%,#12352f55,transparent 38%),linear-gradient(145deg,#071719,#0b1a1d 66%,#111c1b)!important;color:#edf6f0!important;box-shadow:0 14px 36px #0004!important}
.pos-inventory-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;padding:19px 21px;border:1px solid #29443c;border-radius:17px;background:linear-gradient(110deg,#0c2424,#102b2a 65%,#1b2a20);position:relative;overflow:hidden}
.pos-inventory-hero .eyebrow{color:#e6bd58!important;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.pos-inventory-hero h2{margin:0;color:#f5f8f5;font-size:clamp(22px,2.1vw,30px);letter-spacing:-.03em}
.pos-inventory-hero>p{margin:0;max-width:850px;color:#9fb7ab;font-size:12px;line-height:1.55}
.pos-inventory-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:5px}
.pos-inventory-stat{display:grid;gap:4px;min-height:78px;padding:12px 14px;border:1px solid #27413d;border-radius:13px;background:linear-gradient(135deg,#10272a,#0b1b1e)}
.pos-inventory-stat small{color:#a7bdb2;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.pos-inventory-stat b{color:#f3f7f4;font-size:23px;line-height:1.1}
.pos-inventory-stat span{color:#8ba59a;font-size:10px}
.pos-inventory-stat.gold{border-color:#5a4928;background:linear-gradient(135deg,#2b2618,#171d1b)}.pos-inventory-stat.gold b{color:#f2cf72}
.pos-inventory-stat.green{border-color:#225b43;background:linear-gradient(135deg,#103327,#0d1f1f)}.pos-inventory-stat.green b{color:#87e8a2}
.pos-inventory-stat.violet{border-color:#44335e;background:linear-gradient(135deg,#241b36,#111b20)}.pos-inventory-stat.violet b{color:#c0a2ff}
.pos-inventory-section{display:grid;gap:12px;min-width:0;padding:16px;border:1px solid #29443e;border-radius:16px;background:linear-gradient(145deg,#0c1d20,#0a1719)}
.pos-inventory-section-head{display:flex;align-items:center;gap:11px}.pos-inventory-section-head>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #38614b;border-radius:11px;background:#122b23;color:#9ce9ae;font-size:11px;font-weight:800}
.pos-inventory-section-head h3{margin:0;color:#f0f5f1;font-size:17px}.pos-inventory-section-head p{margin:4px 0 0;color:#91a99e;font-size:11px;line-height:1.5}
.pos-inventory-form{display:block!important;margin:0!important;padding:0!important;background:transparent!important}
.pos-inventory-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pos-inventory-fields>div{display:grid;align-content:start;gap:5px;min-width:0}
.pos-inventory-fields>div:last-child{align-content:end}
.pos-inventory-fields label{color:#cfddd4!important;font-size:11px;font-weight:700}
.pos-inventory-manager-card input,.pos-inventory-manager-card select{width:100%;min-width:0;min-height:44px;padding:9px 11px;border:1px solid #38534b;border-radius:10px;background:#0b1b1d;color:#eff7f1;color-scheme:dark;font-size:13px}
.pos-inventory-manager-card input:focus,.pos-inventory-manager-card select:focus{outline:2px solid #42c879;outline-offset:1px}
.pos-inventory-manager-card button{min-height:44px!important;border:1px solid #246443;border-radius:10px;background:linear-gradient(135deg,#15814d,#25a968)!important;color:#f4fff6!important;font-size:12px;font-weight:800}
.pos-inventory-manager-card button.ghost{border-color:#38534b;background:#142426!important;color:#dfebe3!important}
#restaurantInventorySummary{margin:0;padding:10px 12px;border:1px solid #305244;border-radius:10px;background:#10251f;color:#a9dfb7!important;font-size:11px}
#restaurantStockMessage,#restaurantRecipeMessage{margin:0;color:#9de0af!important;font-size:11px}#restaurantStockMessage:empty,#restaurantRecipeMessage:empty{display:none}
.pos-inventory-manager-card .tablewrap{overflow:auto;border:1px solid #29443e;border-radius:12px;background:#091719}
.pos-inventory-manager-card table{width:100%;min-width:600px;margin:0;border-collapse:collapse;background:transparent;color:#e6efe9}
.pos-inventory-manager-card th{padding:11px 12px;border-bottom:1px solid #36534a;background:#152b2b;color:#abc0b4;text-align:left;font-size:10px;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.pos-inventory-manager-card td{padding:11px 12px;border-bottom:1px solid #203834;background:#0b191b;color:#e3eee6;font-size:12px}
.pos-inventory-manager-card tr:last-child td{border-bottom:0}.pos-inventory-manager-card td small{color:#91a99e}
.pos-inventory-manager-card .booking-actions{display:flex;gap:6px;flex-wrap:wrap}.pos-inventory-manager-card .booking-actions button{min-height:36px!important;padding:6px 10px;font-size:10px}
.pos-inventory-manager-card .status{display:inline-flex;padding:5px 9px;border:1px solid #315d45;border-radius:20px;background:#123323;color:#a2edb5;font-size:10px;font-weight:800;white-space:nowrap}
.pos-inventory-manager-card .status.pending{border-color:#6b552d;background:#302818;color:#f2d27c}
@media(max-width:760px){body.route-pos #adminView #tab-restaurant .pos-inventory-manager-card{gap:10px;padding:10px!important;border-radius:15px!important}.pos-inventory-hero,.pos-inventory-section{padding:13px;border-radius:13px}.pos-inventory-stats{gap:7px}.pos-inventory-stat{min-height:70px;padding:9px}.pos-inventory-stat b{font-size:19px}.pos-inventory-stat small{font-size:9px}.pos-inventory-stat span{font-size:9px}.pos-inventory-fields{grid-template-columns:minmax(0,1fr)}.pos-inventory-fields>div:last-child{align-content:stretch}.pos-inventory-fields>div:last-child button{width:100%}.pos-inventory-section-head h3{font-size:15px}}
@media(max-width:390px){.pos-inventory-stats{grid-template-columns:1fr}.pos-inventory-stat{min-height:auto}.pos-inventory-stat b{font-size:18px}}

/* Fixed-screen POS workspace, including terminals that report a mouse pointer. */
@media (min-width:1024px) and (min-height:700px){
 body.route-pos:has(#pos-panel-sale:not(.hidden)){height:100dvh;overflow:hidden}
 body.route-pos #adminView{display:block;height:100dvh;min-height:0;padding:6px 10px;overflow:hidden}
 body.route-pos #tab-restaurant{height:100%;min-height:0;grid-template-columns:138px minmax(0,1fr);grid-template-rows:58px minmax(0,1fr);gap:8px}
 body.route-pos #tab-restaurant .pos-topbar{grid-column:1/-1;grid-row:1;height:58px;min-height:0;padding:4px 12px}
 body.route-pos #tab-restaurant .pos-topbar-brand img{width:40px;height:40px}
 body.route-pos #tab-restaurant .pos-workspace-nav{grid-row:2;height:100%;min-height:0;overflow:auto}
 body.route-pos #tab-restaurant .pos-panel{grid-column:2;grid-row:2;min-height:0;height:100%;overflow:auto}
 body.route-pos #tab-restaurant #pos-panel-sale{height:100%;min-height:0;overflow:hidden;align-items:stretch;gap:10px;grid-template-columns:minmax(0,1fr) minmax(350px,390px)}
 body.route-pos #adminView #tab-restaurant .pos-catalogue{display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden;padding:10px!important}
 body.route-pos #adminView #tab-restaurant .pos-catalogue-head{flex:none;margin:0 0 6px}
 body.route-pos #adminView #tab-restaurant .pos-categories{flex:none;flex-wrap:nowrap;overflow-x:auto;margin:5px 0 8px;gap:6px}
 body.route-pos #adminView #tab-restaurant .pos-categories button{min-height:44px;max-height:90px;flex-shrink:0}
 body.route-pos #adminView #tab-restaurant .pos-menu-grid{flex:1;min-height:0;overflow-y:auto;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:172px;align-content:start;gap:8px}
 body.route-pos #adminView #tab-restaurant .pos-menu-tile{min-height:0;height:172px;padding:0!important;gap:0}
 body.route-pos #adminView #tab-restaurant .pos-menu-visual{height:105px!important;min-height:105px!important}
 body.route-pos #adminView #tab-restaurant .pos-menu-copy{padding:6px 8px;gap:4px}
 body.route-pos #adminView #tab-restaurant .pos-menu-copy strong{font-size:13px;line-height:1.2}
 body.route-pos #adminView #tab-restaurant .pos-item-price{font-size:13px}
 body.route-pos #adminView #tab-restaurant .pos-cart{position:static;display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden;padding:10px!important}
 body.route-pos #adminView #tab-restaurant .pos-cart h2{flex:none;margin:0 0 4px;font-size:18px!important}
 body.route-pos #adminView #tab-restaurant #restaurantOrderForm{display:flex;flex-direction:column;flex:1;min-height:0;gap:4px}
 body.route-pos #adminView #tab-restaurant .pos-cart label{margin:0 0 3px;font-size:11px}
 body.route-pos #adminView #tab-restaurant .pos-cart input,body.route-pos #adminView #tab-restaurant .pos-cart select{min-height:44px;height:44px;padding:6px 8px;font-size:13px!important}
 body.route-pos #adminView #tab-restaurant .pos-order-extras{flex:none;margin:0;padding:9px 8px;min-height:44px}
 body.route-pos #adminView #tab-restaurant .pos-order-extras[open]{max-height:180px;overflow:auto}
 body.route-pos #adminView #tab-restaurant #restaurantOrderForm>.span2:has(#restaurantItemRows){flex:1;min-height:100px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px}
 body.route-pos #adminView #tab-restaurant #restaurantOrderForm>.span2 h3{width:100%;margin:0;font-size:13px}
 body.route-pos #adminView #tab-restaurant #restaurantItemRows{width:100%;max-height:calc(100% - 70px);min-height:44px;overflow:auto}
 body.route-pos #adminView #tab-restaurant .restaurant-item{padding:3px 0!important;gap:4px!important}
 body.route-pos #adminView #tab-restaurant #addRestaurantItem,body.route-pos #adminView #tab-restaurant .pos-clear{min-height:44px!important;margin:0;padding:5px 10px!important}
 body.route-pos #adminView #tab-restaurant #restaurantQuote{display:block!important;width:100%;margin:0;padding:4px 8px;font-size:12px;line-height:1.3}
 body.route-pos #adminView #tab-restaurant #restaurantOrderForm>.span2:last-child{flex:none;position:static;padding:0;background:#0c1b1d}
 body.route-pos #adminView #tab-restaurant .pos-sticky-total{margin:0 0 4px;padding:5px 8px}
 body.route-pos #adminView #tab-restaurant .pos-sticky-total strong{font-size:20px}
 body.route-pos #adminView #tab-restaurant .pos-quick-cash{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 4px;padding:6px}
 body.route-pos #adminView #tab-restaurant #posQuickExternal{grid-column:1/-1}
 body.route-pos #adminView #tab-restaurant #posQuickChange{margin:2px 0;font-size:11px;line-height:1.2}
 body.route-pos #adminView #tab-restaurant #sendRestaurantOrder,body.route-pos #adminView #tab-restaurant #posSaveUnpaid{min-height:44px;height:44px;margin:4px 0 0;font-size:14px!important}
}

/* Compact tender block leaves the order total visible above payment actions. */
body.route-pos #adminView #tab-restaurant .pos-quick-cash{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;
 margin:4px 0;padding:6px 8px;border-radius:10px;
}
body.route-pos #adminView #tab-restaurant .pos-quick-cash>div{min-width:0}
body.route-pos #adminView #tab-restaurant .pos-quick-cash label{margin:0 0 3px;font-size:11px!important;line-height:1.2}
body.route-pos #adminView #tab-restaurant .pos-quick-cash select,
body.route-pos #adminView #tab-restaurant .pos-quick-cash input{height:44px;min-height:44px;margin:0;padding:6px 8px!important;font-size:13px!important}
body.route-pos #adminView #tab-restaurant #posQuickChange{margin:3px 0 0;font-size:11px;line-height:1.2;color:#b4d4c1}
body.route-pos #adminView #tab-restaurant #posQuickExternal{grid-column:1/-1}
body.route-pos #adminView #tab-restaurant .pos-sticky-total{display:flex!important;justify-content:space-between;align-items:center;margin:0 0 4px;padding:6px 9px;min-height:38px}
body.route-pos #adminView #tab-restaurant .pos-sticky-total strong{font-size:21px;color:#b3edb3}
body.route-pos #adminView #tab-restaurant #sendRestaurantOrder,
body.route-pos #adminView #tab-restaurant #posSaveUnpaid{height:44px;min-height:44px;margin-top:4px;padding:6px 10px;font-size:14px!important}



/* Terminal display preferences. Only the item list and catalogue need scrolling. */
body.route-pos #tab-restaurant {
 --pos-control-height:44px;
 --pos-item-photo-height:112px;
 --pos-card-font:14px;
}
body.route-pos #tab-restaurant[data-pos-density="compact"] {
 --pos-control-height:40px;
 --pos-item-photo-height:90px;
 --pos-card-font:13px;
}
body.route-pos #tab-restaurant[data-pos-density="large"] {
 --pos-control-height:52px;
 --pos-item-photo-height:132px;
 --pos-card-font:16px;
}
body.route-pos #adminView #tab-restaurant .pos-display-size {
 display:grid;gap:3px;min-width:132px;margin:0;color:#c2d6ce;font-size:11px;
}
body.route-pos #adminView #tab-restaurant .pos-display-size select {
 height:40px;min-height:40px;padding:5px 9px;border:1px solid #35534b;
 border-radius:9px;background:#102323;color:#edf7f0;font-size:13px;
}
body.route-pos #adminView #tab-restaurant .pos-cart #restaurantOrderForm {
 display:grid;grid-template-rows:auto auto minmax(80px,1fr) auto;
 gap:6px;min-height:0;flex:1;
}
body.route-pos #adminView #tab-restaurant .pos-cart .pos-order-items {
 display:flex;flex-direction:column;gap:5px;min-height:0;overflow:hidden;
}
body.route-pos #adminView #tab-restaurant .pos-cart .pos-order-items h3 {
 margin:0;flex:none;font-size:14px;line-height:1.2;
}
body.route-pos #adminView #tab-restaurant .pos-cart #restaurantItemRows {
 flex:1;min-height:0;max-height:none;width:100%;overflow-y:auto;overflow-x:hidden;
}
body.route-pos #adminView #tab-restaurant .pos-cart .pos-item-actions {
 display:flex;flex:none;gap:6px;
}
body.route-pos #adminView #tab-restaurant .pos-cart .pos-checkout {
 position:static;display:grid;gap:5px;min-height:0;margin:0;padding:0;
 background:#0c1b1d;z-index:1;
}
body.route-pos #adminView #tab-restaurant .pos-cart .pos-sticky-total {
 display:block!important;position:static;margin:0;padding:6px 9px;
 border:1px solid #35544a;border-radius:10px;background:#122923;
}
body.route-pos #adminView #tab-restaurant .pos-cart #restaurantQuote {
 display:block!important;width:100%;margin:0;padding:0;border:0;background:none;
 color:#c2d7cb;font-size:11px;font-weight:600;line-height:1.35;
}
body.route-pos #adminView #tab-restaurant .pos-total-heading {
 display:flex;align-items:center;justify-content:space-between;gap:6px;color:#d0e3d6;
}
body.route-pos #adminView #tab-restaurant .pos-total-heading strong {
 color:#b9f2b4;font-size:22px;line-height:1.25;font-variant-numeric:tabular-nums;
}
body.route-pos #adminView #tab-restaurant .pos-quick-cash {
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:start;gap:6px;margin:0;padding:6px;border-radius:9px;
}
body.route-pos #adminView #tab-restaurant .pos-quick-cash>div {min-width:0}
body.route-pos #adminView #tab-restaurant .pos-quick-cash label {
 margin:0 0 3px;font-size:11px!important;line-height:1.2;
}
body.route-pos #adminView #tab-restaurant .pos-cart input,
body.route-pos #adminView #tab-restaurant .pos-cart select,
body.route-pos #adminView #tab-restaurant .pos-cart .pos-quantity button,
body.route-pos #adminView #tab-restaurant .pos-cart #addRestaurantItem,
body.route-pos #adminView #tab-restaurant .pos-cart .pos-clear,
body.route-pos #adminView #tab-restaurant .pos-cart #sendRestaurantOrder,
body.route-pos #adminView #tab-restaurant .pos-cart #posSaveUnpaid {
 height:var(--pos-control-height);min-height:var(--pos-control-height)!important;
 margin:0;padding:6px 8px!important;font-size:13px!important;
}
body.route-pos #adminView #tab-restaurant .pos-cart label {margin:0 0 3px;font-size:11px}
body.route-pos #adminView #tab-restaurant .pos-cart .pos-cart-basics {gap:6px}
body.route-pos #adminView #tab-restaurant .pos-cart .pos-order-extras {
 flex:none;min-height:36px;margin:0;padding:6px 8px;
}
body.route-pos #adminView #tab-restaurant .pos-cart .pos-order-extras[open] {
 max-height:150px;overflow:auto;
}
body.route-pos #adminView #tab-restaurant .pos-cart .restaurant-item {
 padding:4px 0!important;gap:4px!important;
}
body.route-pos #adminView #tab-restaurant .pos-cart #posQuickChange {
 margin:3px 0 0;color:#c0e1c9;font-size:11px;line-height:1.25;
}
body.route-pos #adminView #tab-restaurant .pos-cart #posQuickExternal {grid-column:1/-1}
body.route-pos #adminView #tab-restaurant #restaurantMessage:empty {display:none}
body.route-pos #adminView #tab-restaurant #restaurantMessage .flash {
 max-height:45px;overflow-y:auto;margin:0;padding:5px 8px;
 background:#173b2b;color:#c1f1cd;font-size:11px;line-height:1.35;
}
body.route-pos #adminView #tab-restaurant #restaurantMessage .flash.error {
 background:#462221;color:#ffceca;
}
body.route-pos #adminView #tab-restaurant .pos-menu-grid {
 grid-template-columns:repeat(auto-fill,minmax(145px,1fr));
}
body.route-pos #adminView #tab-restaurant .pos-menu-tile {
 min-height:0;height:calc(var(--pos-item-photo-height) + 68px);padding:0!important;
}
body.route-pos #adminView #tab-restaurant .pos-menu-visual,
body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo {
 height:var(--pos-item-photo-height)!important;min-height:var(--pos-item-photo-height)!important;
}
body.route-pos #adminView #tab-restaurant .pos-menu-copy strong {font-size:var(--pos-card-font)}
@media (min-width:900px) and (min-height:600px) {
 body.route-pos:has(#pos-panel-sale:not(.hidden)) {height:100dvh;overflow:hidden}
 body.route-pos #adminView {
  display:block;height:100dvh;min-height:0;padding:6px 10px;overflow:hidden;
 }
 body.route-pos #tab-restaurant {
  height:100%;min-height:0;grid-template-columns:120px minmax(0,1fr);
  grid-template-rows:58px minmax(0,1fr);gap:8px;
 }
 body.route-pos #tab-restaurant .pos-topbar {
  grid-column:1/-1;grid-row:1;height:58px;min-height:0;padding:4px 10px;
 }
 body.route-pos #tab-restaurant .pos-workspace-nav {
  grid-row:2;height:100%;min-height:0;overflow-y:auto;
 }
 body.route-pos #tab-restaurant .pos-panel {grid-row:2;min-height:0;height:100%}
 body.route-pos #tab-restaurant #pos-panel-sale {
  display:grid;grid-template-columns:minmax(0,1fr) clamp(320px,27vw,410px);
  align-items:stretch;height:100%;min-height:0;gap:10px;overflow:hidden;
 }
 body.route-pos #adminView #tab-restaurant .pos-cart {
  position:static;display:flex;flex-direction:column;gap:5px;
  height:100%;max-height:100%;min-height:0;overflow:hidden;padding:9px!important;
 }
 body.route-pos #adminView #tab-restaurant .pos-cart h2 {
  flex:none;margin:0;font-size:19px!important;line-height:1.15;
 }
 body.route-pos #adminView #tab-restaurant .pos-catalogue {
  display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden;padding:10px!important;
 }
 body.route-pos #adminView #tab-restaurant .pos-catalogue-head {
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;flex:none;
 }
 body.route-pos #adminView #tab-restaurant .pos-categories {flex:none;max-height:110px}
 body.route-pos #adminView #tab-restaurant .pos-menu-grid {
  display:grid;flex:1;min-height:0;overflow:auto;align-content:start;
  grid-template-columns:repeat(auto-fill,minmax(145px,1fr));
  grid-auto-rows:calc(var(--pos-item-photo-height) + 68px);gap:8px;
 }
}
@media (max-width:899px) {
 body.route-pos #adminView #tab-restaurant .pos-cart {
  display:flex;flex-direction:column;height:820px;max-height:95dvh;min-height:560px;overflow:hidden;
 }
}

/* Small landscape POS windows: keep the app fitted to its actual window size. */
@media (min-width:600px) and (max-width:899px) {
 body.route-pos:has(#pos-panel-sale:not(.hidden)) {height:100dvh;min-height:0;overflow:hidden}
 body.route-pos #adminView {display:block;height:100dvh;min-height:0;padding:4px;overflow:hidden}
 body.route-pos #tab-restaurant {height:100%;min-height:0;grid-template-columns:78px minmax(0,1fr);grid-template-rows:48px minmax(0,1fr);gap:5px}
 body.route-pos #tab-restaurant .pos-topbar {grid-column:1/-1;grid-row:1;height:48px;min-height:0;padding:3px 6px;gap:5px}
 body.route-pos #tab-restaurant .pos-workspace-nav {grid-row:2;height:100%;min-height:0;overflow-y:auto;padding:4px}
 body.route-pos #tab-restaurant .pos-panel {grid-row:2;min-height:0;height:100%}
 body.route-pos #tab-restaurant #pos-panel-sale {display:grid;grid-template-columns:minmax(0,1fr) clamp(290px,39vw,340px);height:100%;min-height:0;gap:6px;overflow:hidden}
 body.route-pos #adminView #tab-restaurant .pos-catalogue {display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden;padding:6px!important}
 body.route-pos #adminView #tab-restaurant .pos-catalogue-head {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;flex:none}
 body.route-pos #adminView #tab-restaurant .pos-display-size {gap:3px;font-size:10px}
 body.route-pos #adminView #tab-restaurant .pos-display-size select {height:32px;min-height:32px}
 body.route-pos #adminView #tab-restaurant .pos-categories {flex:none;max-height:82px}
 body.route-pos #adminView #tab-restaurant .pos-menu-grid {display:grid;flex:1;min-height:0;overflow:auto;align-content:start;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));grid-auto-rows:calc(var(--pos-item-photo-height) + 58px);gap:5px}
 body.route-pos #adminView #tab-restaurant .pos-menu-tile {height:calc(var(--pos-item-photo-height) + 58px)}
 body.route-pos #adminView #tab-restaurant .pos-cart {position:static;display:flex;flex-direction:column;gap:4px;width:100%;height:100%;max-height:100%;min-height:0;overflow:hidden;padding:6px!important}
 body.route-pos #adminView #tab-restaurant .pos-cart h2 {flex:none;margin:0;font-size:16px!important;line-height:1.1}
 body.route-pos #adminView #tab-restaurant .pos-cart #restaurantOrderForm {grid-template-rows:auto auto minmax(50px,1fr) auto;gap:4px}
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-total-heading strong {font-size:19px}
 body.route-pos #adminView #tab-restaurant .pos-cart #sendRestaurantOrder,
 body.route-pos #adminView #tab-restaurant .pos-cart #posSaveUnpaid {height:36px;min-height:36px!important}
}
@media (min-width:600px) and (max-width:899px) and (max-height:599px) {
 body.route-pos #tab-restaurant {grid-template-rows:40px minmax(0,1fr)}
 body.route-pos #tab-restaurant .pos-topbar {height:40px}
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-order-extras[open] {max-height:90px}
 body.route-pos #adminView #tab-restaurant .pos-quick-cash {gap:3px;padding:4px}
 body.route-pos #adminView #tab-restaurant .pos-cart #sendRestaurantOrder,
 body.route-pos #adminView #tab-restaurant .pos-cart #posSaveUnpaid {height:32px;min-height:32px!important}
}

/* Keep checkout beside the menu in compact landscape POS windows, including browser zoom. */
@media (min-width:460px) and (max-width:899px) and (orientation:landscape) {
 body.route-pos:has(#pos-panel-sale:not(.hidden)) {height:100dvh;min-height:0;overflow:hidden}
 body.route-pos #adminView {display:block;height:100dvh;min-height:0;padding:3px;overflow:hidden}
 body.route-pos #tab-restaurant {height:100%;min-height:0;grid-template-columns:58px minmax(0,1fr);grid-template-rows:42px minmax(0,1fr);gap:4px}
 body.route-pos #tab-restaurant .pos-topbar {grid-column:1/-1;grid-row:1;height:42px;min-height:0;padding:2px 5px;gap:4px}
 body.route-pos #tab-restaurant .pos-workspace-nav {grid-row:2;height:100%;min-height:0;overflow-y:auto;padding:3px}
 body.route-pos #tab-restaurant .pos-panel {grid-row:2;min-height:0;height:100%}
 body.route-pos #tab-restaurant #pos-panel-sale {display:grid;grid-template-columns:minmax(150px,1fr) minmax(230px,43vw);height:100%;min-height:0;gap:5px;overflow:hidden}
 body.route-pos #adminView #tab-restaurant .pos-catalogue {display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;padding:5px!important}
 body.route-pos #adminView #tab-restaurant .pos-catalogue-head {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:3px;flex:none}
 body.route-pos #adminView #tab-restaurant .pos-display-size {gap:2px;font-size:9px}
 body.route-pos #adminView #tab-restaurant .pos-display-size select {height:30px;min-height:30px;font-size:11px}
 body.route-pos #adminView #tab-restaurant .pos-categories {flex:none;max-height:68px}
 body.route-pos #adminView #tab-restaurant .pos-menu-grid {display:grid;flex:1;min-width:0;min-height:0;overflow:auto;align-content:start;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));grid-auto-rows:calc(var(--pos-item-photo-height) + 54px);gap:4px}
 body.route-pos #adminView #tab-restaurant .pos-menu-tile {height:calc(var(--pos-item-photo-height) + 54px)}
 body.route-pos #adminView #tab-restaurant .pos-cart {position:static;display:flex;flex-direction:column;gap:3px;width:100%;height:100%;max-height:100%;min-height:0;overflow:hidden;padding:5px!important}
 body.route-pos #adminView #tab-restaurant .pos-cart h2 {flex:none;margin:0;font-size:15px!important;line-height:1.05}
 body.route-pos #adminView #tab-restaurant .pos-cart #restaurantOrderForm {grid-template-rows:auto auto minmax(36px,1fr) auto;gap:3px}
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-order-items h3 {font-size:12px}
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-total-heading strong {font-size:17px}
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-quick-cash {gap:3px;padding:4px}
 body.route-pos #adminView #tab-restaurant .pos-cart #sendRestaurantOrder,
 body.route-pos #adminView #tab-restaurant .pos-cart #posSaveUnpaid {height:34px;min-height:34px!important}
}
@media (min-width:460px) and (max-width:899px) and (orientation:landscape) and (max-height:499px) {
 body.route-pos #tab-restaurant {grid-template-rows:36px minmax(0,1fr)}
 body.route-pos #tab-restaurant .pos-topbar {height:36px}
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-order-extras[open] {max-height:68px}
 body.route-pos #adminView #tab-restaurant .pos-cart #sendRestaurantOrder,
 body.route-pos #adminView #tab-restaurant .pos-cart #posSaveUnpaid {height:30px;min-height:30px!important}
}

/* Dedicated 1024×768 touchscreen tune; larger desktop layout remains unchanged. */
@media (min-width:900px) and (max-width:1100px) and (min-height:680px) and (max-height:850px) {
 body.route-pos:has(#pos-panel-sale:not(.hidden)) {height:100dvh;min-height:0;overflow:hidden}
 body.route-pos #adminView {display:block;height:100dvh;min-height:0;padding:5px 7px;overflow:hidden}
 body.route-pos #tab-restaurant {height:100%;min-height:0;grid-template-columns:84px minmax(0,1fr);grid-template-rows:68px minmax(0,1fr);gap:6px}
 body.route-pos #tab-restaurant .pos-topbar {grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:160px minmax(0,1fr) 180px 190px;height:68px;min-height:0;padding:4px 7px;gap:6px;position:static;overflow:hidden}
 body.route-pos #tab-restaurant .pos-workspace-nav {grid-row:2;width:100%;height:100%;min-height:0;overflow-y:auto;padding:4px}
 body.route-pos #tab-restaurant .pos-panel {grid-row:2;min-height:0;height:100%}
 body.route-pos #tab-restaurant #pos-panel-sale {display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,32vw,330px);height:100%;min-height:0;gap:7px;overflow:hidden}
 body.route-pos #adminView #tab-restaurant .pos-catalogue {display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;padding:7px!important}
 body.route-pos #adminView #tab-restaurant .pos-catalogue-head {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:5px;flex:none}
 body.route-pos #adminView #tab-restaurant .pos-display-size {gap:3px;font-size:10px}
 body.route-pos #adminView #tab-restaurant .pos-display-size select {height:36px;min-height:36px}
 body.route-pos #adminView #tab-restaurant .pos-categories {flex:none;max-height:76px}
 body.route-pos #adminView #tab-restaurant .pos-menu-grid {display:grid;flex:1;min-width:0;min-height:0;overflow:auto;align-content:start;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:156px;gap:7px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 body.route-pos #adminView #tab-restaurant .pos-menu-tile {display:grid;grid-template-rows:78px minmax(0,1fr);height:156px;min-width:0;padding:0!important;overflow:hidden}
 body.route-pos #adminView #tab-restaurant .pos-menu-visual,
 body.route-pos #adminView #tab-restaurant .pos-menu-visual.has-food-photo {height:78px!important;min-height:78px!important}
 body.route-pos #adminView #tab-restaurant .pos-menu-copy {display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;align-items:stretch;gap:2px 4px;min-width:0;padding:3px 4px}
 body.route-pos #adminView #tab-restaurant .pos-menu-copy strong {grid-column:1/-1;align-self:start;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.1}
 body.route-pos #adminView #tab-restaurant .pos-menu-copy .pos-item-price {grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:3px;min-width:0;white-space:nowrap;font-size:10px;line-height:1}
 body.route-pos #adminView #tab-restaurant .pos-menu-copy .pos-item-price b {display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;border-radius:9px}
 body.route-pos #adminView #tab-restaurant .pos-cart {position:static;display:flex;flex-direction:column;gap:4px;width:100%;height:100%;max-height:100%;min-height:0;overflow:hidden;padding:7px!important}
 body.route-pos #adminView #tab-restaurant .pos-cart h2 {flex:none;margin:0;font-size:17px!important;line-height:1.1}
 body.route-pos #adminView #tab-restaurant .pos-cart #restaurantOrderForm {grid-template-rows:auto auto minmax(48px,1fr) auto;gap:4px}
 body.route-pos #adminView #tab-restaurant .pos-cart input,
 body.route-pos #adminView #tab-restaurant .pos-cart select,
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-quantity button,
 body.route-pos #adminView #tab-restaurant .pos-cart #addRestaurantItem,
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-clear,
 body.route-pos #adminView #tab-restaurant .pos-cart #sendRestaurantOrder,
 body.route-pos #adminView #tab-restaurant .pos-cart #posSaveUnpaid {height:44px;min-height:44px!important}
 body.route-pos #adminView #tab-restaurant .pos-cart .pos-total-heading strong {font-size:20px}
 body.route-pos #adminView #tab-restaurant .pos-cart #restaurantItemRows {overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 body.route-pos #adminView #tab-restaurant .pos-workspace-tabs button {min-height:44px;justify-content:center;padding:5px 3px;position:relative}
 body.route-pos #adminView #tab-restaurant .pos-workspace-tabs button > span:not(.pos-nav-icon) {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 body.route-pos #adminView #tab-restaurant .pos-sidebar-brand > div, body.route-pos #adminView #tab-restaurant .pos-side-caption {display:none}
 body.route-pos #adminView #tab-restaurant .pos-sidebar-foot > span:not(.pos-live-dot), body.route-pos #adminView #tab-restaurant .pos-sidebar-foot small, body.route-pos #adminView #tab-restaurant .pos-user-block {display:none}
 body.route-pos #adminView #tab-restaurant .pos-sidebar-foot button {width:100%;font-size:10px}

 body.route-pos #tab-restaurant .pos-topbar > * {min-width:0;max-width:100%;position:static}
 body.route-pos #tab-restaurant .pos-top-search {width:100%;min-width:0;margin:0}
 body.route-pos #tab-restaurant .pos-top-search input {min-width:0;width:100%}
 body.route-pos #tab-restaurant .pos-service-switch {display:flex;min-width:0}
 body.route-pos #tab-restaurant .pos-service-switch button {min-width:0;flex:1;min-height:44px;padding:5px;font-size:11px}
 body.route-pos #tab-restaurant .pos-topbar-meta {display:grid;grid-template-columns:minmax(0,1fr);gap:2px;white-space:normal;min-width:0;font-size:10px;line-height:1.2}
 body.route-pos #tab-restaurant #posTopClock {position:static;display:block;white-space:normal;overflow-wrap:anywhere}
 body.route-pos #tab-restaurant .pos-top-user {position:static;display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:5px;min-width:0}
 body.route-pos #tab-restaurant .pos-top-user b {width:26px;height:26px;font-size:16px}
 body.route-pos #tab-restaurant .pos-top-user span {max-width:100%;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 body.route-pos #tab-restaurant .pos-sidebar-foot {position:static;min-width:0;width:100%;grid-template-columns:minmax(0,1fr)}
 body.route-pos #tab-restaurant .pos-sidebar-brand {min-width:0;max-width:100%;padding:4px}
 body.route-pos #tab-restaurant .pos-sidebar-brand > strong {display:none}
 body.route-pos #adminView #tab-restaurant .pos-catalogue-head > div {min-width:0}
 body.route-pos #adminView #tab-restaurant .pos-catalogue-head h2 {position:static;font-size:22px;line-height:1.2;margin:0 0 4px}
 body.route-pos #adminView #tab-restaurant .pos-categories {display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-width:0;height:68px;max-height:68px}
 body.route-pos #adminView #tab-restaurant .pos-categories button {flex:0 0 76px;width:76px;min-width:0;height:64px;min-height:44px;max-height:64px}
 body.route-pos #adminView #tab-restaurant .pos-categories img {height:38px;max-height:38px;object-fit:cover;width:100%}
}
