@import url('/catering/privacy-statement.css');
:root{font-family:Arial,sans-serif;color:#242a30;background:#f4f6f7;font-size:16px;--red:#c8102e;--green:#11735c;--line:#d8dfe3;--muted:#66727b}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}input,select,textarea{max-width:100%;min-width:0;padding:10px;border:1px solid #adb9c1;border-radius:5px;background:white}input[type=checkbox]{width:20px;height:20px}button{padding:10px 14px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#242a30;font-weight:600;min-height:42px}button.primary{background:var(--red);color:white;border-color:var(--red)}button.danger{color:var(--red)}button.active{border-color:var(--red);color:var(--red);background:#fff1f3}a{color:#a40d27}.shell{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:100vh}.sidebar{background:#242a30;color:white;padding:24px 14px;display:flex;flex-direction:column;gap:20px}.brand{font-size:21px;font-weight:700;display:flex;align-items:center;gap:10px}.brand img{width:42px;height:42px;object-fit:contain;background:white;border-radius:50%}.sidebar nav{display:grid;gap:6px}.sidebar nav button{text-align:left;background:transparent;color:#e1e5e8;border-color:transparent}.sidebar nav button.active{background:#fff;color:var(--red)}.sidebar a{color:#e1e5e8;font-size:14px}.scope{margin-top:auto;font-size:14px;line-height:1.6}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 28px;background:#fff;border-bottom:1px solid var(--line)}.top small{display:block;color:var(--muted);margin-top:5px}.content{padding:26px;max-width:1500px;margin:auto}h1{font-size:26px;margin:0 0 20px}h2{font-size:18px;margin:20px 0 14px}p{line-height:1.5}.bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.bar h1{margin:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:white;margin-bottom:24px}.stats>div{padding:18px;border-right:1px solid var(--line)}.stats span{display:block;color:var(--muted);font-size:14px;margin-bottom:8px}.stats strong{font-size:22px;overflow-wrap:anywhere}.table-wrap{overflow:auto;border-top:1px solid var(--line);background:white}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#edf1f3;color:#58646c;white-space:nowrap;font-size:13px}td .actions{display:flex;gap:5px}td button{font-size:13px;min-height:36px;padding:6px 9px}.badge{display:inline-block;font-size:13px;padding:5px 8px;background:#e4f1ec;color:#11694f;border-radius:4px}.muted{color:var(--muted);font-size:14px}.empty{padding:32px;color:var(--muted);background:white;border-bottom:1px solid var(--line)}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:850px}.fields label{display:grid;gap:6px;font-size:14px;font-weight:600}.fields .check{display:flex;align-items:center;gap:10px;min-height:44px}.wide{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.settings{padding:24px 0;border-top:1px solid var(--line)}.settings h2{margin-top:0}.login{max-width:550px;margin:8vh auto;padding:28px;background:white;border:1px solid var(--line);border-radius:8px}.login .brand{margin-bottom:30px}.login .fields{grid-template-columns:1fr}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.meal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}.meal{padding:18px;background:white;border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;gap:12px}.meal h2{margin:0}.meal button{margin-top:auto}.pos{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:20px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.product{min-height:125px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.product strong{font-size:17px}.cart{padding:18px;background:white;border:1px solid var(--line);border-radius:6px;align-self:start}.cart h2{margin-top:0}.cart-item{display:flex;justify-content:space-between;gap:8px;padding:14px 0;border-bottom:1px solid var(--line)}.cart-item button{padding:4px 9px;min-height:32px}.totals{display:grid;grid-template-columns:1fr auto;gap:10px;margin:18px 0}.cart label{display:grid;gap:6px;margin:12px 0;font-size:14px}.cart label.check{display:flex;align-items:center}.cart button.primary{width:100%;margin-top:10px}dialog{border:1px solid var(--line);border-radius:8px;width:min(700px,calc(100% - 24px));max-height:90vh;padding:24px;color:#242a30}dialog::backdrop{background:#18202788}dialog h2{margin-top:0}.report{max-width:650px}.report .totals{padding:14px;background:#f4f6f7}.receipt{font-family:monospace;max-width:300px;font-size:13px}.receipt h2{font-size:17px}.receipt table{font-family:monospace;font-size:12px}.receipt th,.receipt td{padding:8px 3px}#message{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#242a30;color:white;max-width:calc(100% - 32px);padding:13px 18px;border-radius:6px;z-index:10;display:none}.loading{padding:40px}.error{color:#ad1830}.note{padding:12px 0;border-left:3px solid #b97608;padding-left:14px;font-size:14px}.menu-date{display:flex;align-items:center;gap:12px}.print-only{display:none}@media(max-width:1000px){.shell{grid-template-columns:1fr}.sidebar{padding:14px}.sidebar nav{display:flex;overflow:auto}.sidebar nav button{white-space:nowrap}.scope{display:none}.pos{grid-template-columns:1fr 330px}.stats{grid-template-columns:1fr 1fr}}@media(max-width:700px){.content{padding:18px}.top{padding:14px;flex-wrap:wrap}.fields{grid-template-columns:1fr}.wide{grid-column:auto}.pos{grid-template-columns:1fr}.stats strong{font-size:19px}.login{margin:24px 12px}.bar>*{max-width:100%}.sidebar nav{gap:2px}h1{font-size:23px}}@media print{@page{size:letter;margin:15mm}body>*{display:none!important}body>#print-area{display:block!important;background:white}body{background:white}#print-area.receipt{width:72mm}body.receipt-print{width:80mm}.receipt-print #print-area{max-width:72mm}.receipt-print table{min-width:0}button{display:none!important}}
.shell>section,.sidebar,.sidebar nav{min-width:0}.sidebar nav{max-width:100%}.table-wrap{max-width:100%}.receipt-print #print-area .totals{font-size:12px}.receipt-print #print-area h2{font-size:16px}.button-icon{width:16px;height:16px;flex:none;vertical-align:middle;margin-right:6px}
.cashier-shell{display:block;background:#edf3f5;min-height:100vh}.cashier-shell>.sidebar{display:none}.register-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 18px;background:#243c40;color:#fff}.register-toolbar .brand{font-size:17px}.register-toolbar nav{display:flex;gap:8px;flex-wrap:wrap}.register-toolbar nav button{background:#365357;color:white;border-color:#4c696d;font-size:13px}.register-toolbar nav button.active{background:#fff;color:#116b70}.cashier-shell .top{padding:9px 18px}.cashier-shell .top strong{font-size:14px}.cashier-shell .top small{font-size:12px}.cashier-shell .content{max-width:none;padding:0}.cashier-shell .content>.bar{padding:10px 18px;margin:0;border-bottom:1px solid #d8dfe3}.cashier-shell .bar h1{font-size:17px}.cashier-shell .pos{grid-template-columns:280px minmax(0,1fr) 200px;gap:0;min-height:calc(100vh - 155px)}.cashier-shell .cart{border:0;border-right:1px solid #d8dfe3;border-radius:0;align-self:stretch;padding:16px;background:#fff}.cashier-shell .cart h2{font-size:17px}.cashier-shell .cart label{font-size:12px}.cashier-shell .cart input{width:100%;padding:8px}.cashier-shell .cart button{font-size:12px}.cashier-shell .cart .primary{background:#11735c;border-color:#11735c}.register-catalog{padding:14px;min-width:0}.catalog-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.catalog-bar h1{font-size:18px;margin:0}.catalog-bar input{width:230px;font-size:13px}.cashier-shell .product-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:8px}.cashier-shell .product{height:110px;min-height:110px;border-radius:8px;padding:12px;box-shadow:0 1px 2px #25374015;gap:8px}.cashier-shell .product strong{font-size:14px}.cashier-shell .product span{font-size:14px;color:#117b80}.cashier-shell .product small{font-size:11px}.cashier-shell .product[hidden]{display:none}.register-categories{background:white;padding:12px;border-left:1px solid #d8dfe3}.register-categories h2{font-size:12px;color:#66727b;margin:0 0 12px;text-transform:uppercase}.register-categories .tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.register-categories button{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;min-height:78px;width:100%;font-size:12px;padding:10px;border-radius:8px;background:#e9fbfb;border-color:#56c3ca;color:#205157;overflow-wrap:anywhere}.register-categories button:nth-child(3n+2){background:#edf2ff;border-color:#81aaf0;color:#304569}.register-categories button:nth-child(3n){background:#fff0f3;border-color:#e793a8;color:#743747}.register-categories button.active{background:#137b80;color:white;border-color:#137b80}.register-categories small{font-size:11px;font-weight:400}.cashier-shell .content>.table-wrap,.cashier-shell .content>h1{margin:18px}.cashier-shell .cart-item{font-size:13px}.cashier-shell .totals{font-size:13px}
.cashier-shell{background:#f3f3f3;color:#161616;--line:#ddd;--muted:#666}.cashier-shell .register-toolbar{background:#111;color:#fff}.cashier-shell .register-toolbar nav button{background:#252525;border-color:#555;color:#fff}.cashier-shell .register-toolbar nav button.active{background:#c8102e;border-color:#c8102e;color:#fff}.cashier-shell .top,.cashier-shell .cart,.cashier-shell .register-categories{background:#fff;border-color:#ddd}.cashier-shell .top small,.cashier-shell .muted,.cashier-shell .register-categories h2{color:#666}.cashier-shell .content>.bar{background:#fff;border-color:#ddd}.cashier-shell .product{background:#fff;color:#161616;border-color:#ddd;box-shadow:0 1px 2px #00000014}.cashier-shell .product:hover{border-color:#c8102e;background:#fff7f8}.cashier-shell .product span{color:#b20e29}.cashier-shell .cart .primary{background:#c8102e;border-color:#c8102e;color:#fff}.cashier-shell .register-categories button:nth-child(n){background:#fff;color:#161616;border-color:#ccc}.cashier-shell .register-categories button:hover{border-color:#c8102e;background:#fff7f8}.cashier-shell .register-categories button.active{background:#c8102e;color:#fff;border-color:#c8102e}.cashier-shell .badge{background:#f3f3f3;color:#161616}.cashier-shell input:focus-visible,.cashier-shell button:focus-visible{outline:2px solid #c8102e;outline-offset:2px}
#refund-other[hidden]{display:none}
.cashier-shell .add-staff-order{width:100%;margin-bottom:14px;background:#222;color:#fff;border-color:#222}.staff-search-results{display:grid;gap:6px;margin:12px 0;max-height:220px;overflow-y:auto;font-size:14px}.staff-search-result{display:grid;grid-template-columns:1fr auto;gap:5px;text-align:left;padding:10px}.staff-search-result strong{overflow-wrap:anywhere}.staff-search-result small{grid-column:1/-1;font-weight:400;font-size:12px;color:#666}
.lunch-week{margin:24px 0}.lunch-week>h2{font-size:17px}.lunch-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #d8dfe3;border-left:1px solid #d8dfe3;background:#fff}.calendar-day{min-width:0;min-height:180px;padding:8px;border-right:1px solid #d8dfe3;border-bottom:1px solid #d8dfe3}.calendar-day>header{display:flex;flex-direction:column;gap:4px;padding:5px 2px 12px;font-size:13px}.calendar-day>header span{color:#666;font-size:12px}.calendar-day.today>header strong{color:#c8102e}.calendar-day.past{background:#f5f5f5}.calendar-day .meal{margin-bottom:8px;padding:10px;gap:10px;overflow-wrap:anywhere}.calendar-day .meal h3{font-size:14px;margin:0;line-height:1.4}.calendar-day .meal>strong{font-size:13px}.calendar-day .meal button{font-size:12px;padding:8px 5px;width:100%}.calendar-day .ordered-meal{border-color:#11735c;background:#f0f8f4}.calendar-empty{font-size:12px;color:#777;margin:12px 2px}.calendar-day .badge{font-size:12px}@media(max-width:1200px) and (min-width:701px){.lunch-week{overflow-x:auto}.lunch-calendar{min-width:910px}}@media(max-width:700px){.lunch-calendar{grid-template-columns:1fr}.calendar-day{min-height:0}.calendar-day>header{flex-direction:row;justify-content:space-between}.calendar-day .meal{display:grid;grid-template-columns:1fr auto}.calendar-day .meal button,.calendar-day .meal .badge{grid-column:1/-1}}
.lunch-week{margin:16px 0}.lunch-week>h2{font-size:14px;margin:0 0 8px}.calendar-day{height:260px;min-height:0;overflow-y:auto;padding:6px}.calendar-day>header{position:sticky;top:-6px;z-index:1;background:#fff;padding:4px 2px 8px;gap:3px;font-size:12px}.calendar-day.past>header{background:#f5f5f5}.calendar-day .meal{padding:8px;gap:6px;margin-bottom:6px;border-radius:4px}.calendar-day .meal h3{font-size:12px;line-height:1.3}.calendar-day .meal>strong{font-size:12px}.calendar-day .meal button{min-height:30px;padding:5px 4px;font-size:11px}.calendar-day .badge{padding:4px 6px;font-size:11px}.calendar-empty{font-size:11px;margin:6px 2px}@media(max-width:700px){.calendar-day{height:auto;max-height:300px}.calendar-day>header{position:static}.calendar-day .meal{gap:6px}}
.staff-dashboard{margin:18px 0 24px;padding:16px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.staff-dashboard h2{margin:0 0 14px}.staff-dashboard dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0}.staff-dashboard dt{font-size:12px;color:#666;margin-bottom:6px}.staff-dashboard dd{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}@media(max-width:700px){.staff-dashboard dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
.brand img.catering-logo{width:110px;height:68px;max-width:100%;object-fit:contain;border-radius:0;background:#fff;padding:4px;flex-shrink:0}.brand{flex-wrap:wrap}.login .brand img.catering-logo{width:155px;height:96px;background:transparent}.catering-print-brand{text-align:center;margin:0 0 12px}.catering-print-brand img{display:inline-block;width:190px;height:auto;max-width:100%;object-fit:contain}.receipt .catering-print-brand img{width:180px}@media print{.catering-print-brand{break-inside:avoid;page-break-inside:avoid}.catering-print-brand img{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.quantity-controls{display:flex;align-items:center;gap:6px;margin-top:8px}.quantity-controls span{min-width:28px;text-align:center;font-weight:600}.cashier-shell .quantity-controls button{width:36px;height:36px;min-height:36px;padding:0;font-size:20px;color:#111;border-color:#ccc}
.staff-management-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.order-search{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:18px 0}.order-search label{display:grid;gap:6px;font-size:14px;min-width:0;max-width:100%}.order-search select{max-width:280px}@media(max-width:700px){.order-search{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.order-search input,.order-search select{width:100%}}
.staff-order-day{padding:12px 0 20px;border-bottom:1px solid var(--line)}.staff-order-day h2{margin:8px 0 12px}.daily-order-totals{display:flex;justify-content:flex-end;gap:28px;flex-wrap:wrap;margin:16px 0 0}.daily-order-totals dt{font-size:13px;color:var(--muted);margin-bottom:6px}.daily-order-totals dd{margin:0;font-weight:700;font-size:16px}
.cart-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.cashier-shell .cart-header h2{margin:0}.cashier-shell .cart-header button{font-size:12px;min-height:36px;padding:6px 10px;flex-shrink:0}
.cashier-shell .register-categories button.category-colored:nth-child(n){background:var(--category-tint);border-color:var(--category-accent);color:#161616;border-top:4px solid var(--category-accent)}.cashier-shell .register-categories button.category-colored.active{background:var(--category-accent);color:white}.cashier-shell .product.category-colored{background:var(--category-tint);border-color:#ddd;border-left:5px solid var(--category-accent)}.cashier-shell .product.category-colored span{color:var(--category-accent)}.cashier-shell .product.category-colored:hover{border-color:var(--category-accent);box-shadow:0 0 0 1px var(--category-accent)}
.benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.benefit-grid .benefit{min-height:52px;padding:8px;font-size:12px;white-space:normal}.benefit-grid .allowance-benefit{background:#c8102e;border-color:#c8102e;color:white}.benefit-grid .staffFree{background:#222;border-color:#222;color:white}.benefit-grid .staffPurchase{background:#fff0f3;border-color:#c8102e;color:#a10c25}.benefit-grid .complimentary{background:white;border-color:#333;color:#111}.benefit-grid .benefit.active{outline:2px solid #111;outline-offset:2px}
.touch-keypad{margin-top:18px;padding-top:14px;border-top:1px solid #ddd}.touch-keypad>strong{display:block;font-size:14px;margin-bottom:8px}.touch-keypad output{display:block;min-height:46px;padding:12px;background:#f3f3f3;border:1px solid #ddd;border-radius:5px;overflow-wrap:anywhere;margin-bottom:10px;font-size:20px;color:#111}.keypad-keys{display:grid;gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}.alpha-keypad .keypad-keys{grid-template-columns:repeat(10,minmax(0,1fr))}.keypad-keys button{padding:8px 3px;min-height:48px;background:white;color:#111;font-size:16px}.keypad-keys button:last-child{background:#c8102e;color:white;border-color:#c8102e}.alpha-keypad .keypad-keys button:nth-last-child(-n+4){grid-column:span 2;font-size:13px}@media(max-width:550px){.alpha-keypad .keypad-keys{grid-template-columns:repeat(6,minmax(0,1fr))}.alpha-keypad .keypad-keys button:nth-last-child(-n+4){grid-column:span 2}}
@media(max-width:1100px){.cashier-shell .pos{grid-template-columns:250px minmax(0,1fr) 165px}.register-toolbar{flex-wrap:wrap}.cashier-shell .product-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.catalog-bar{flex-wrap:wrap}.catalog-bar input{width:100%}}
@media(max-width:760px){.cashier-shell .pos{display:flex;flex-direction:column}.register-categories{order:0;border-left:0;border-bottom:1px solid #d8dfe3}.register-categories .tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.register-categories button{min-height:64px}.register-catalog{order:1}.cashier-shell .cart{order:2;border-right:0;border-top:1px solid #d8dfe3}.register-toolbar nav{gap:5px}.register-toolbar nav button{padding:8px;font-size:12px}.cashier-shell .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.receipt-ticket-prefix,.receipt-ticket-sequence{font-weight:400}
@media print{.receipt-ticket-prefix{font-weight:400}.receipt-ticket-sequence{font-weight:700}}
.cart-ticket{font-size:13px;font-weight:400;padding:8px 0;border-bottom:1px solid #ddd;overflow-wrap:anywhere}
.held-ticket-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}
.held-ticket-controls button{min-width:0;font-size:12px}
.cashier-shell .cart .benefit-grid .complimentary{background:#7754a8;border-color:#7754a8;color:#fff}
.cashier-shell .cart .held-ticket-controls [data-action="hold-ticket"]{background:#f0bd4c;border-color:#f0bd4c;color:#211a08}
.cashier-shell .cart .held-ticket-controls [data-action="held-tickets"]{background:#2463a5;border-color:#2463a5;color:#fff}
.cashier-shell .cart .held-ticket-controls button:disabled{background:#f1f3f5;border-color:#d9dfe3;color:#747d85;opacity:1;cursor:not-allowed}
.cashier-shell .cart .held-ticket-controls button:not(:disabled):hover,.cashier-shell .cart .benefit-grid .complimentary:not(:disabled):hover{filter:brightness(1.1)}
.staff-order-toolbar-group{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;flex-shrink:0}
.cashier-shell .register-toolbar nav .add-staff-order{width:auto;margin:0;background:#087f8c;border-color:#087f8c;color:#fff;white-space:nowrap}
.cashier-shell .register-toolbar nav .add-staff-order:hover{background:#066874;border-color:#066874}
.cashier-shell .register-toolbar{position:sticky;top:0;z-index:20}
.pos-account-controls{display:flex;gap:6px;flex-wrap:wrap}.pos-account-controls button{display:flex;align-items:center;gap:6px;background:#252525;color:#fff;border-color:#555;font-size:12px}.pos-account-controls svg{width:16px;height:16px}.cashier-shell .register-toolbar{flex-wrap:wrap}
.receipt .receipt-reprint{margin:1em 0!important}
.cart .cart-remove{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;color:var(--red)}
.cart .cart-remove .button-icon{width:18px;height:18px;margin:0}
.compact-cart-items{max-height:400px;overflow-y:auto;overscroll-behavior:contain}
.compact-cart-items .cart-item{height:80px;min-height:80px;padding:5px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin:0}
.compact-cart-items .cart-item>div:first-child{min-width:0;font-size:13px;line-height:18px}
.compact-cart-items .cart-item>div:last-child{text-align:right;font-size:12px;padding-top:4px}
.cashier-shell .cart .cart-quantity{min-height:28px;height:28px;padding:2px 8px;margin-left:6px;font-size:12px}
.compact-cart-items .cart-remove{width:32px;height:32px;min-height:32px}
.cart-item-name{font-weight:600;overflow-wrap:anywhere;line-height:18px;margin-bottom:4px}
@media(min-width:761px){.cashier-shell .pos{grid-template-columns:360px minmax(0,1fr) 200px}}
.lunch-choice-group{min-width:0;border:0;padding:0;margin:0}
.lunch-choice-group legend{font-size:14px;font-weight:600;margin-bottom:8px}
.lunch-choice-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lunch-choice{position:relative;cursor:pointer}
.lunch-choice input{position:absolute;opacity:0;width:1px;height:1px;padding:0}
.lunch-choice span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fff;font-size:14px;text-align:center;overflow-wrap:anywhere}
.lunch-choice input:checked+span{background:#e7f5ef;border-color:var(--green);color:var(--green);font-weight:600}
.lunch-choice input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}
.cart-item-addons{font-size:11px;line-height:14px;font-weight:400;color:var(--muted);overflow-wrap:anywhere;margin-bottom:4px}
dialog.tender-dialog{background:#f4faf8;border:1px solid #8fbdb3;border-top:5px solid #087f8c}
.tender-dialog h2{color:#075c65}
.tender-dialog .tender-summary{background:#e2f1ed;padding:14px;border-bottom:1px solid #b6d8ce}
.tender-dialog .tabs button.active{background:#087f8c;border-color:#087f8c;color:#fff}
.tender-dialog input:focus{outline:2px solid #087f8c;outline-offset:1px}
.tender-dialog .form-actions{flex-wrap:wrap;gap:8px}
.tender-dialog .form-actions .exact-payment{background:#e2f1ed;border-color:#8fbdb3;color:#145e4b;width:auto}
.tender-dialog .form-actions button.primary{background:#11735c;border-color:#11735c;color:#fff}
.numeric-keypad{margin-top:10px;padding-top:10px}
.numeric-keypad output{min-height:36px;padding:6px 10px;font-size:18px;margin-bottom:6px}
.numeric-keypad .keypad-keys{gap:5px}
.numeric-keypad .keypad-keys button{min-height:36px;height:36px;padding:4px;font-size:14px}
.cash-keypad-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:12px}
.cash-denominations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;align-content:start}
.cash-denominations button{min-height:36px;height:36px;padding:4px;font-size:13px;background:#e2f1ed;border-color:#8fbdb3;color:#145e4b;white-space:nowrap}
.tender-dialog .change-amount,.tender-dialog #tender-change{color:var(--red);font-weight:700}
.tender-dialog .change-amount{background:#f6f6f6;cursor:default}
.tender-dialog input:disabled{background:#e8edeb;color:#75817c;border-color:#ccd5d0;cursor:not-allowed}
.cashier-shell .cart .cart-header h2{margin:0}
.cashier-shell .cart .cart-header{margin:4px 0 8px}
.cashier-shell .cart .totals{padding:8px 0;margin:0;gap:5px}
.cashier-shell .cart .benefit-grid{gap:5px;margin:6px 0}
.cashier-shell .cart .benefit-grid button{min-height:36px;padding:6px}
.cashier-shell .cart .held-ticket-controls{margin:5px 0;gap:5px}
.cashier-shell .cart .held-ticket-controls button{min-height:34px;padding:5px}
.cashier-shell .cart #checkout-form{margin:0;flex-shrink:0}
.cashier-shell .cart #checkout-form>.primary{min-height:40px;margin-top:5px}
@media(min-width:761px){
  .cashier-shell .pos{height:calc(100dvh - var(--pos-top,145px));min-height:0;overflow:hidden;align-items:stretch}
  .cashier-shell .register-catalog{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .cashier-shell .register-categories{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .cashier-shell .cart{position:static;display:flex;flex-direction:column;height:100%;min-height:0;align-self:stretch;padding:10px 12px;overflow:hidden}
  .cashier-shell .cart>*{flex-shrink:0}
  .cashier-shell .compact-cart-items{flex:1 1 auto;min-height:0;max-height:400px}
  .cashier-shell .cart>p{margin:4px 0;font-size:12px}
}
.receipt.receipt-paper{width:80mm;max-width:80mm;padding:0 4mm 3mm;display:flow-root}.receipt-paper .catering-print-brand{display:block;height:auto;min-height:0;margin:0 0 2mm;padding:0;line-height:0;break-inside:avoid}.receipt-paper .catering-print-brand img{display:block;width:32mm;height:auto;margin:0 auto}.receipt-paper .totals{font-size:12px}.receipt-paper h2{font-size:16px;margin-top:0}.receipt-paper table{min-width:0}.receipt-paper>:last-child,.receipt-paper>.receipt>:last-child{margin-bottom:0}
@media print{#print-area.receipt>:last-child{margin-bottom:0}}
@media screen{#print-area{display:none!important}}
.receipt-paper .catering-print-brand img{width:108px}.receipt-paper>.receipt>h2:first-child{text-align:center}
.receipt-corporate{text-align:center;margin:0 0 32px}.receipt-paper>.receipt>h2:first-child{margin-bottom:4px}
.receipt .receipt-items thead th{border-top:1px solid #111;border-bottom:1px solid #111}.receipt .receipt-items tbody td{border-bottom:0}.receipt .receipt-items tbody tr:last-child td{border-bottom:1px solid #111}
.receipt-paper .receipt{font-size:12px}.receipt-paper .receipt h2{font-size:15px}.receipt-paper .receipt table,.receipt-paper .receipt table th,.receipt-paper .receipt .totals{font-size:12px}.receipt-print #print-area .totals{font-size:12px}.receipt-print #print-area h2{font-size:15px}
.receipt .receipt-items th,.receipt .receipt-items td{border-left:0;border-right:0}
.register-toolbar nav button.corporate-payment-cash{background:#11735c;border-color:#11735c;color:#fff}.register-toolbar nav button.corporate-payment-credit{background:#2463a5;border-color:#2463a5;color:#fff}.register-toolbar nav button.corporate-payment-cash:hover{background:#0c5947}.register-toolbar nav button.corporate-payment-credit:hover{background:#184b82}.register-toolbar nav button.corporate-payment-cash.active,.register-toolbar nav button.corporate-payment-credit.active{outline:2px solid #fff;outline-offset:2px}
.corporate-price-row{display:grid;grid-template-columns:minmax(0,1fr) 180px 42px;gap:10px;align-items:end;margin:10px 0}.corporate-price-row label{display:grid;gap:5px;font-size:14px}.corporate-price-row button{height:42px;padding:8px}.corporate-cart-customer{font-size:13px;font-weight:600;margin:8px 0}.staff-order-toolbar-group{flex-wrap:wrap}@media(max-width:700px){.corporate-price-row{grid-template-columns:minmax(0,1fr) 42px}.corporate-price-row label:first-child{grid-column:1/-1}}
.receipt-items{table-layout:fixed}.receipt-items th,.receipt-items td{border-bottom:3px double #111}.receipt-items thead th{border-top:3px double #111}.receipt-items th:nth-child(1),.receipt-items td:nth-child(1){width:12%;text-align:center}.receipt-items th:nth-child(2),.receipt-items td:nth-child(2){width:53%;overflow-wrap:anywhere;border-left:1px solid #111;border-right:1px solid #111}.receipt-items th:nth-child(3),.receipt-items td:nth-child(3){width:35%;text-align:right;overflow-wrap:anywhere}
dialog.count-sheet-dialog{width:calc(100vw - 32px);max-width:1450px}
.count-sheet-dialog th{white-space:normal;font-size:12px}
.count-sheet-dialog td{padding:8px 5px;font-size:13px}
.count-sheet-dialog td:first-child{min-width:160px}
.count-sheet-dialog input[name=closing]{width:80px;padding:6px}
dialog.count-sheet-dialog{max-height:calc(100dvh - 20px);padding:12px;overflow:hidden}
.count-sheet-dialog>h2{margin:0 0 8px;font-size:18px}
.count-sheet-dialog .form-actions{margin:0 0 8px;flex-wrap:wrap}
.count-sheet-dialog .fields{gap:8px;margin-bottom:8px}
.count-sheet-dialog .fields input,.count-sheet-dialog .fields select{padding:6px;height:34px}
.count-sheet-tools{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin-bottom:8px}
.count-sheet-tools label{font-size:12px;display:grid;gap:3px}
.count-sheet-tools button,.count-sheet-tools select{min-height:32px;height:32px;padding:4px 8px;font-size:13px}
.count-sheet-dialog #count-lines table{table-layout:fixed}
.count-sheet-dialog #count-lines th,.count-sheet-dialog #count-lines td{padding:5px 3px;font-size:11px;overflow-wrap:anywhere}
.count-sheet-dialog #count-lines td:first-child{min-width:0;width:18%}
.count-sheet-dialog #count-lines input{width:100%;min-width:0;height:28px;padding:3px;font-size:12px}
.count-sheet-dialog #count-lines .table-wrap{overflow:visible}
.count-sheet-dialog #count-lines p{margin:6px 0;font-size:13px}
.reporting-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end;margin-bottom:20px}
.reporting-filters label{display:grid;gap:5px;font-size:13px}
.reporting-filters input,.reporting-filters select{width:100%}
.reporting-filters button{height:42px}
.staff-calendar table{table-layout:fixed;width:100%}
.staff-calendar th{text-align:center;white-space:normal}
.staff-calendar td{padding:8px;overflow-wrap:anywhere;vertical-align:top}
.calendar-date{display:block;font-size:13px;padding-bottom:8px}
.calendar-entry{padding:8px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.4}
.calendar-entry strong,.calendar-entry span,.calendar-entry b{display:block}
.clocking-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.clocking-form label{display:grid;gap:6px;font-size:14px;font-weight:600}
.clocking-form input,.clocking-form select{min-width:200px}
.clocking-location{align-self:center;font-size:14px}
@media print{.staff-calendar table{table-layout:fixed}.staff-calendar td{vertical-align:top}.staff-calendar .calendar-entry{font-size:9px;line-height:1.3}.staff-calendar tr{break-inside:avoid}}
dialog.z-read-dialog{width:min(1100px,calc(100vw - 24px));max-width:1100px;padding:16px;max-height:calc(100dvh - 24px)}
dialog.customer-id-dialog{width:min(410px,calc(100vw - 24px));max-width:410px;padding:16px}
#dialog .break-report-print{background:#2364a8;border-color:#2364a8;color:#fff}
#dialog .break-report-approve{background:#11735c;border-color:#11735c;color:#fff}
#dialog .break-report-reprint{background:#7552a2;border-color:#7552a2;color:#fff}
#dialog .break-report-print:hover{background:#194e86}
#dialog .break-report-approve:hover{background:#095b47}
#dialog .break-report-reprint:hover{background:#5e4085}
#dialog .break-report-history{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-top:12px}
#dialog .break-report-history label{flex:1 1 220px;min-width:0}
#dialog .break-report-history select{width:100%}
#dialog.cashier-assignment-dialog{width:560px;max-width:calc(100vw - 24px)}
#dialog.cashier-assignment-dialog .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#dialog .current-register-assignments{margin-top:16px;overflow-x:auto}
#dialog .current-register-assignments h3{font-size:14px;margin:0 0 8px}
.utility-reads{padding:20px;max-width:1100px;margin:auto;overflow-x:auto}
.utility-reads>h1{display:none}
#dialog .current-register-assignments :is(th,td){padding:8px;font-size:12px}
@media(max-width:480px){#dialog.cashier-assignment-dialog .fields{grid-template-columns:minmax(0,1fr)}}
#dialog :is(.break-report-print,.break-report-approve,.break-report-reprint):focus-visible{outline:3px solid #c8102e;outline-offset:2px}
.customer-id-dialog>h2{margin:0 0 12px;font-size:18px}
.customer-id-options{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px}
.customer-id-options button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;padding:9px;font-size:14px;white-space:normal;overflow-wrap:anywhere}
.customer-id-options svg{width:17px;height:17px;flex-shrink:0}
.customer-id-options #customer-pre-order{background:#2364a8;border-color:#2364a8;color:white}
.customer-id-options #customer-walkin{background:#11735c;border-color:#11735c;color:white}
.customer-id-options #customer-pre-order:hover{background:#194e86}
.customer-id-options #customer-walkin:hover{background:#095b47}
.customer-id-options button:focus-visible{outline:3px solid #c8102e;outline-offset:3px}
.customer-id-dialog .form-actions{margin-top:12px}
.customer-id-dialog .form-actions button{min-height:36px;padding:6px 12px;font-size:14px}
.z-read-dialog label[hidden]{display:none}
.z-read-dialog>h2{margin:0 0 10px}
.z-read-dialog form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px 20px}
.z-read-breakdown h2,.z-read-entry h2{font-size:15px;margin:6px 0 8px}
.z-read-breakdown th,.z-read-breakdown td{padding:7px 6px;font-size:12px;white-space:normal}
.z-read-entry .fields{gap:8px}
.z-read-entry .fields label{font-size:12px;gap:3px}
.z-read-entry input,.z-read-entry select{padding:6px;height:34px;font-size:13px;width:100%}
.z-read-dialog .touch-keypad{grid-column:2;margin:0;padding-top:6px}
.z-read-dialog .touch-keypad>strong,.z-read-dialog .touch-keypad>output{display:none}
.z-read-dialog .keypad-keys{gap:4px}
.z-read-dialog .keypad-keys button{height:32px;min-height:32px;padding:3px;font-size:13px}
.z-read-dialog .form-actions{grid-column:1/-1;margin:0}
.z-read-dialog .modal-error{grid-column:1/-1;margin:0;font-size:13px}
@media(max-width:700px){.z-read-dialog form{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.z-read-breakdown th,.z-read-breakdown td{padding:5px 3px;font-size:11px}.z-read-entry .fields{grid-template-columns:1fr;gap:4px}.z-read-dialog .touch-keypad{grid-column:1/-1}.z-read-dialog .alpha-keypad .keypad-keys{grid-template-columns:repeat(10,minmax(0,1fr))}}
.sidebar nav button{display:flex;align-items:center;gap:8px;padding-left:8px;padding-right:8px;font-family:Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.35;letter-spacing:0}
.sidebar nav button .button-icon{width:18px;height:18px;flex:0 0 18px}
.sidebar nav button .menu-label{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.read-report tbody td{padding-top:10px;padding-bottom:10px}
.corporate-user-filters{justify-content:flex-start;align-items:end}
.corporate-user-filters label{display:grid;gap:6px;font-size:14px;flex:1 1 200px;min-width:0}
.corporate-user-filters select{width:100%}
.content:has(.menu-calendar){max-width:none;width:100%}
.lunch-week:has(.menu-calendar){overflow:visible}
.menu-calendar{min-width:0;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.menu-calendar .calendar-day{height:auto;max-height:none;overflow:visible}
.menu-calendar .calendar-day>header{position:static}
.menu-calendar .meal{padding:6px;gap:4px}
.menu-calendar .meal h3{font-size:12px;line-height:1.35}
.scheduled-sizes>div{display:flex;align-items:center;justify-content:space-between;gap:4px;padding-top:3px}
.scheduled-sizes span{font-size:11px;min-width:0;overflow-wrap:anywhere}
.scheduled-sizes small{display:block;color:#66727b;font-size:10px}
.menu-calendar .scheduled-sizes button{width:26px;height:26px;min-height:26px;padding:4px;flex:none;margin:0}
.scheduled-sizes .button-icon{width:14px;height:14px;margin:0}
.shell:has(.menu-calendar){grid-template-columns:64px minmax(0,1fr)}
.shell:has(.menu-calendar) .sidebar{padding:12px 6px;gap:10px}
.shell:has(.menu-calendar) .sidebar .menu-label,.shell:has(.menu-calendar) .sidebar>.scope,.shell:has(.menu-calendar) .sidebar>label,.shell:has(.menu-calendar) .sidebar>a{display:none}
.sidebar .brand img.catering-logo{mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(transparent,#000 15%,#000 85%,transparent);mask-composite:intersect}
.shell:has(.menu-calendar) .sidebar .brand{font-size:0;gap:0}
.shell:has(.menu-calendar) .sidebar .brand img{width:42px!important;height:36px!important}
.shell:has(.menu-calendar) .sidebar nav button{justify-content:center;min-height:32px;height:32px;padding:6px}
.shell:has(.menu-calendar) .content{padding:14px}
.shell:has(.menu-calendar) .bar{gap:8px;margin-bottom:10px}
.shell:has(.menu-calendar) .bar h1{font-size:20px}
.menu-calendar .scheduled-meal{padding:4px;margin-bottom:4px;gap:2px}
.scheduled-meal>small{font-size:10px;line-height:12px}
.scheduled-sizes>div{padding-top:1px}
.menu-calendar .scheduled-sizes button{width:20px;height:20px;min-height:20px;padding:2px}
.shell:has(.menu-calendar) .top{padding:8px 20px}
.shell:has(.menu-calendar) .content>.bar{display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto}
.shell:has(.menu-calendar) .content>.bar>label{display:grid;gap:2px;font-size:12px}
.shell:has(.menu-calendar) .content>.bar>label select{width:100%;font-size:12px;padding:8px}
.menu-calendar .scheduled-sizes button{width:18px;height:18px;min-height:18px;padding:1px}
@media(max-width:1100px){.shell:has(.menu-calendar) .content>.bar{display:flex}}
@media(max-width:700px){.shell:has(.menu-calendar){grid-template-columns:1fr}.shell:has(.menu-calendar) .sidebar{display:block}.shell:has(.menu-calendar) .sidebar nav{display:flex;flex-wrap:wrap}.shell:has(.menu-calendar) .sidebar .brand{display:none}.shell:has(.menu-calendar) .sidebar nav button{width:32px}}
.attendance-clock{font-size:18px;font-weight:600;color:#11735c;font-variant-numeric:tabular-nums}
.cashier-shell .register-toolbar nav button[data-view="sales"]{background:#087f8c;border-color:#087f8c;color:#fff}
.cashier-shell .register-toolbar nav button[data-view="reads"]{background:#2463a5;border-color:#2463a5;color:#fff}
.cashier-shell .register-toolbar nav button[data-view="timeAttendance"]{background:#496a35;border-color:#496a35;color:#fff}
.pos-account-controls button[data-pos-account="register-break"]{background:#f0bd4c;border-color:#f0bd4c;color:#211a08}
.pos-account-controls button[data-pos-account="register-cash-pull"]{background:#11735c;border-color:#11735c;color:#fff}
.pos-account-controls button[data-pos-account="pos-password-reset"]{background:#7754a8;border-color:#7754a8;color:#fff}
.pos-account-controls button[data-pos-account="logout"]{background:#b62039;border-color:#b62039;color:#fff}
.cashier-shell .register-toolbar nav button.active{outline:2px solid #fff;outline-offset:2px}
.register-toolbar button:not(:disabled):hover{filter:brightness(1.12)}
.register-toolbar button:disabled{opacity:.45;cursor:not-allowed}
#staff-lunch-status{min-height:20px;margin:12px 0}
.allowance-notice{padding:10px 12px;margin:12px 0;border-left:4px solid #b7790b;background:#fff4d6;color:#59400d;font-size:13px;line-height:1.45}
.register-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.register-toolbar button .button-icon{width:16px;height:16px;flex-shrink:0;margin:0}
.cashier-shell{--pos-action-height:42px}
.cashier-shell .register-toolbar button,.cashier-shell .cart .benefit-grid .benefit,.cashier-shell .cart .held-ticket-controls button,.cashier-shell .cart #checkout-form button{height:var(--pos-action-height);min-height:var(--pos-action-height);display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1000px){.menu-calendar{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.menu-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}}
.invoice-status.is-partial{background:#fff1cf;color:#795000}.invoice-status.is-unbilled{background:#edf1f3;color:#58646c}
.weekly-lunch-schedule h1{font-size:20px;margin-bottom:10px}.weekly-lunch-schedule>.muted{margin:8px 0;font-size:12px}.weekly-lunch-schedule .lunch-week{margin:10px 0;overflow:visible}.weekly-lunch-schedule .lunch-calendar{min-width:0;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.weekly-lunch-schedule .calendar-day{height:auto;max-height:none;overflow:visible;padding:5px}.weekly-lunch-schedule .calendar-day>header{position:static;padding-bottom:5px}.weekly-lunch-schedule .lunch-scheduled-meal{padding:4px;gap:3px;margin-bottom:4px}.weekly-lunch-schedule .lunch-scheduled-meal h3{font-size:12px;line-height:1.25}.lunch-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.lunch-variant{display:flex;align-items:center;justify-content:space-between;gap:3px;min-width:0;font-size:11px}.lunch-variant>span{min-width:0;overflow-wrap:anywhere}.lunch-variant strong{display:block;font-size:11px}.weekly-lunch-schedule .lunch-variant button{width:26px;height:26px;min-height:26px;padding:4px;flex:none;margin:0}.lunch-variant button svg{width:16px;height:16px}.lunch-variant .badge{font-size:10px;padding:3px}.weekly-lunch-schedule .calendar-day .lunch-scheduled-meal{display:flex}.content:has(.weekly-lunch-schedule){max-width:none;padding:14px}@media(max-width:700px){.weekly-lunch-schedule .lunch-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.lunch-variants{grid-template-columns:1fr}}
.lunch-scheduled-meal{--meal-bg:#58646c;--meal-ink:#fff;--meal-border:#42515b}.lunch-scheduled-meal[data-lunch-tone=chicken]{--meal-bg:#e7b61f;--meal-ink:#272000;--meal-border:#b68b09}.lunch-scheduled-meal[data-lunch-tone=meat]{--meal-bg:#b92d46;--meal-ink:#fff;--meal-border:#922237}.lunch-scheduled-meal[data-lunch-tone=pork]{--meal-bg:#7445a5;--meal-ink:#fff;--meal-border:#58327f}.lunch-scheduled-meal[data-lunch-tone=fish]{--meal-bg:#126f91;--meal-ink:#fff;--meal-border:#0d526d}.lunch-scheduled-meal[data-lunch-tone=vegetarian]{--meal-bg:#237846;--meal-ink:#fff;--meal-border:#185a33}.lunch-scheduled-meal[data-lunch-tone=soup]{--meal-bg:#ba5718;--meal-ink:#fff;--meal-border:#91420f}.weekly-lunch-schedule .lunch-meal-choice{display:flex;align-items:center;gap:4px;width:100%;min-height:30px;margin:0;padding:5px;text-align:left;white-space:normal;overflow-wrap:anywhere;background:var(--meal-bg);color:var(--meal-ink);border-color:var(--meal-border);font-size:12px;line-height:1.25}.lunch-meal-choice>svg{width:14px;height:14px;flex:none}.lunch-meal-choice:hover:not(:disabled){filter:brightness(.96)}.lunch-meal-choice:focus-visible{outline:2px solid #2463a5;outline-offset:2px}.lunch-meal-choice.is-selected{box-shadow:inset 0 0 0 2px #fff;outline:2px solid #172333}.weekly-lunch-schedule .lunch-scheduled-meal .lunch-variant button.primary{background:var(--meal-bg);color:var(--meal-ink);border-color:var(--meal-border)}
.order-quantity-control{display:grid;grid-template-columns:42px minmax(64px,1fr) 42px;align-items:center;gap:6px;max-width:220px}.order-quantity-control button{height:42px;padding:8px;display:grid;place-items:center}.order-quantity-control input{text-align:center;width:100%;height:42px}.order-quantity-control svg{width:18px;height:18px}.order-quantity-total{font-weight:600;padding:10px 0;border-top:1px solid var(--line)}
.lunch-matrix-wrap{width:100%;overflow:visible}.weekly-lunch-schedule .lunch-menu-matrix{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:2px 1px;margin:0}.lunch-menu-matrix th,.lunch-menu-matrix td{white-space:normal;overflow-wrap:anywhere}.lunch-menu-matrix thead th{background:#c8102e;color:#fff;text-align:center;padding:8px 4px;border:0;border-radius:4px;font-size:14px}.lunch-menu-matrix thead strong{display:block;text-transform:uppercase}.lunch-menu-matrix thead small{display:block;font-size:11px;margin-top:3px;font-weight:400}.lunch-menu-matrix thead .today{box-shadow:inset 0 -3px #f1c641}.lunch-menu-matrix thead .lunch-matrix-corner{width:136px;background:transparent}.lunch-menu-matrix .lunch-matrix-category{width:136px;background:#202020;color:#fff;text-align:center;vertical-align:middle;padding:8px;font-size:13px;border-radius:4px;text-transform:uppercase;border-bottom:2px solid #c8102e}.lunch-matrix-category svg{display:block;width:28px;height:28px;margin:0 auto 6px;color:#e71935}.lunch-matrix-category span{display:block}.lunch-menu-matrix tbody td{background:#fff;padding:7px;border:1px solid #d8dfe3;vertical-align:top}.lunch-description-list{list-style:none;margin:0;padding:0}.lunch-description-list li{display:flex;align-items:baseline;gap:5px;margin:1px 0}.lunch-description-list li:before{content:"";width:5px;height:5px;background:#c8102e;border-radius:50%;flex:none}.weekly-lunch-schedule .lunch-description-link{display:block;width:auto;max-width:100%;min-height:24px;height:auto;margin:0;padding:2px 0;border:0;border-radius:0;background:transparent;color:#242a30;text-align:left;font-size:12px;font-weight:400;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.lunch-description-link:hover:not(:disabled){color:#b20d29;text-decoration:underline}.lunch-description-link:focus-visible{outline:2px solid #2463a5;outline-offset:2px}.lunch-description-link.is-selected{font-weight:700;color:#11735c}.weekly-lunch-schedule .lunch-week>h2{margin-bottom:6px}@media(max-width:700px){.lunch-matrix-wrap{overflow-x:auto}.weekly-lunch-schedule .lunch-menu-matrix{min-width:720px}.lunch-menu-matrix thead .lunch-matrix-corner,.lunch-menu-matrix .lunch-matrix-category{width:115px}}
.lunch-description-list .lunch-ordered-note{margin-left:auto;flex:0 0 auto;white-space:nowrap;color:#11735c;font-size:11px;font-weight:600}.lunch-description-list li:has(.lunch-ordered-note) .lunch-description-link{flex:1;min-width:0}
[data-portion-choices]{display:grid;gap:12px}.meal-portion-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--line);border-radius:4px;padding:12px;min-width:0}.meal-portion-choices legend{padding:0 5px;font-weight:600;font-size:13px}@media(max-width:600px){.meal-portion-choices{grid-template-columns:1fr}}
.corporate-order-summary-day{margin-bottom:28px}
.corporate-order-summary-day h2{font-size:17px;margin:18px 0 10px}
.corporate-order-summary-day tbody tr:last-child{font-weight:700;background:#eaf0f3}
.badge.ship-time-overdue{color:#b31531;background:#ffe8ed}

/* Keep register controls reachable as the toolbar wraps or the viewport changes. */
.cashier-shell,.cashier-shell .content,.cashier-shell .pos>*{min-width:0;max-width:100%}
.cashier-shell .content{width:100%}
.cashier-shell .register-toolbar{gap:10px;padding:10px 12px}
.cashier-shell .register-toolbar .brand{flex-shrink:0;gap:8px}
.cashier-shell .register-toolbar .brand img{width:64px;height:42px;object-fit:contain}
.cashier-shell .register-toolbar nav{flex:1 1 600px}
.cashier-shell .register-categories button{padding:6px;word-break:normal}
.cashier-shell .register-toolbar nav,.cashier-shell .staff-order-toolbar-group,.cashier-shell .pos-account-controls{min-width:0;max-width:100%;flex-shrink:1;flex-wrap:wrap}
.cashier-shell .register-toolbar button{height:auto;white-space:normal;overflow-wrap:anywhere}
.cashier-shell .catalog-bar input{max-width:100%}
.cashier-shell .product{height:auto;min-height:110px;overflow-wrap:anywhere}
.cashier-shell .compact-cart-items .cart-item{height:auto;min-height:80px}
.cashier-shell .compact-cart-items .cart-item>div:first-child{font-size:11px;line-height:15px}
.cashier-shell .compact-cart-items .cart-item>div:last-child{font-size:11px}
.cashier-shell .cart-item-name{font-size:11px;line-height:15px;margin-bottom:3px}
.cashier-shell .cart-item .muted{font-size:11px;line-height:15px}
.cashier-shell .cart-item-addons{font-size:10px;line-height:13px}
.cashier-shell .cart .cart-quantity{font-size:10px;min-height:26px;height:26px;padding:2px 6px}
.cashier-shell .cart .cart-header h2{font-size:14px}
.cashier-shell .cart .cart-header button{font-size:11px}
.cashier-shell .pos-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.cashier-shell .pos-heading .cart-ticket{padding:0;border:0;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.cashier-shell .cart .cart-header{flex-wrap:wrap}
@media(min-width:761px){
  .cashier-shell .pos{grid-template-columns:minmax(280px,340px) minmax(0,1fr) minmax(140px,180px);height:max(360px,calc(100dvh - var(--pos-top,145px)));min-height:0}
  .cashier-shell .cart{overflow-y:auto;overscroll-behavior:contain}
  .cashier-shell .compact-cart-items{flex:1 0 100px;max-height:none}
  .cashier-shell .product-grid{grid-template-columns:repeat(auto-fill,minmax(min(145px,100%),1fr))}
}
@media(min-width:761px) and (max-width:1100px){
  .cashier-shell .pos{grid-template-columns:290px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
  .cashier-shell .cart{grid-column:1;grid-row:1/3}
  .cashier-shell .register-categories{grid-column:2;grid-row:1;height:auto;max-height:150px;border-bottom:1px solid var(--line);padding:8px}
  .cashier-shell .register-categories h2{display:none}
  .cashier-shell .register-categories .tabs{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));margin:0}
  .cashier-shell .register-categories button{min-height:54px;padding:6px}
  .cashier-shell .register-catalog{grid-column:2;grid-row:2;padding:10px}
}
@media(max-width:760px){
  .cashier-shell .register-toolbar{position:static}
  .cashier-shell .register-toolbar .brand{font-size:15px}
  .cashier-shell .register-toolbar nav,.cashier-shell .pos-account-controls{width:100%;gap:5px}
  .cashier-shell .register-toolbar button{padding:7px 9px}
  .cashier-shell .pos{height:auto;min-height:0;overflow:visible}
  .cashier-shell .register-categories{height:auto;padding:8px}
  .cashier-shell .register-categories .tabs{grid-template-columns:repeat(auto-fit,minmax(85px,1fr));margin:0}
  .cashier-shell .register-categories button{min-height:54px;padding:6px}
  .cashier-shell .register-catalog{height:auto;max-height:50dvh;min-height:180px;overflow-y:auto;padding:10px;overscroll-behavior:contain}
  .cashier-shell .cart{height:auto;overflow:visible;padding:12px}
  .cashier-shell .compact-cart-items{max-height:40dvh;min-height:0}
  .cashier-shell .content>.bar{padding:10px}
}
@media screen{
  body:has(.cashier-shell) dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;overflow-wrap:anywhere}
  body:has(.cashier-shell) dialog .form-actions{flex-wrap:wrap}
}
@media(max-height:650px){.cashier-shell .register-toolbar{position:static}}
@media(max-width:600px){
  body:has(.cashier-shell) dialog{padding:14px}
  body:has(.cashier-shell) dialog .fields,body:has(.cashier-shell) .z-read-dialog form,body:has(.cashier-shell) .cash-keypad-layout{grid-template-columns:minmax(0,1fr)}
  body:has(.cashier-shell) .z-read-dialog .alpha-keypad .keypad-keys{grid-template-columns:repeat(6,minmax(0,1fr))}
  body:has(.cashier-shell) dialog .wide{grid-column:1/-1}
}

/* Compact laptop registers without shrinking the whole application. */
.station-login{max-width:420px;margin:20px auto;padding:20px}
html:has(.station-login),body:has(.station-login){background:#fff}
.station-login.manager-login{width:100%;max-width:460px;margin:0 auto;border:0;border-radius:0;padding:18px}
.login .tabs[hidden]{display:none}
.login.pos-login{max-width:350px;margin:16px auto;padding:16px}
.login.pos-login .brand{font-size:16px;gap:8px;margin-bottom:10px}
.login.pos-login .brand img{width:48px;height:32px;object-fit:contain}
.login.pos-login h1{font-size:18px;margin-bottom:12px}
.login.pos-login .fields{grid-template-columns:minmax(0,1fr) 70px;gap:10px}
.login.pos-login .fields label{grid-column:1/-1;font-size:12px;gap:4px}
.login.pos-login label:has([name=location_id]){grid-column:1;grid-row:1}
.login.pos-login label:has([name=station_register]){grid-column:2;grid-row:1}
.login.pos-login input,.login.pos-login select{height:34px;padding:6px 8px;font-size:13px;width:100%}
.login.pos-login label[hidden]{display:none}
.login.pos-login .form-actions{margin-top:12px}
.login.pos-login button{min-height:36px;padding:6px 12px;font-size:13px}
.login.pos-login #login-error:empty{display:none}
.login.pos-login>a{display:inline-block;margin-top:12px;font-size:12px}
@media(max-width:380px){.login.pos-login{margin:12px;max-width:calc(100% - 24px);padding:14px}}
.station-login .brand{margin-bottom:14px;font-size:18px}
.station-login h1{font-size:22px;margin-bottom:8px}
.station-login-location{font-size:14px;color:var(--muted);margin:0 0 12px}
.station-login .fields{gap:10px}
.station-login input[name=credential]{text-align:center;font-size:20px}
.station-pin-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0}
.station-pin-keypad button{height:46px;font-size:20px;background:#edf3f6;border-color:#c4d0d8}
.station-pin-keypad button[data-pin-key=Clear],.station-pin-keypad button[data-pin-key=Backspace]{font-size:14px;background:#fff1f3;color:#a40d27}
.station-login .station-sign-in{width:100%;background:#11735c;border-color:#11735c}
.station-login [data-management-login]{width:100%;font-size:13px}
@media(max-width:450px){.station-login{margin:12px;max-width:calc(100% - 24px);padding:16px}}
@media(min-width:761px) and (max-width:1400px), (min-width:761px) and (max-height:800px){
  .cashier-shell{--pos-action-height:36px}
  .cashier-shell .register-toolbar{display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px 12px;padding:8px 12px}
  .cashier-shell .register-toolbar .brand{grid-column:1;grid-row:1/3;font-size:0}
  .cashier-shell .register-toolbar .brand img{width:64px;height:42px}
  .cashier-shell .register-toolbar nav{grid-column:2;grid-row:1;gap:5px}
  .cashier-shell .staff-order-toolbar-group{gap:5px}
  .cashier-shell .pos-account-controls{grid-column:2;grid-row:2;gap:5px}
  .cashier-shell .register-toolbar button{font-size:12px;padding:6px 9px;min-height:36px}
  .cashier-shell .top{padding:5px 12px;gap:8px}
  .cashier-shell .top small{margin-top:2px}
  .cashier-shell .top button{font-size:12px;min-height:32px;padding:5px 9px}
  .cashier-shell .content>.bar{padding:6px 12px;font-size:13px;gap:6px}
  .cashier-shell .bar h1{font-size:15px}
  .cashier-shell .catalog-bar{flex-wrap:nowrap;gap:8px;margin-bottom:8px}
  .cashier-shell .catalog-bar h1{font-size:16px}
  .cashier-shell .catalog-bar input{width:230px;flex:1;max-width:280px;padding:8px}
  .cashier-shell .register-catalog{padding:10px}
  .cashier-shell .product-grid{grid-template-columns:repeat(auto-fill,minmax(min(135px,100%),1fr));gap:7px}
  .cashier-shell .product{min-height:104px;padding:9px;gap:6px}
  .cashier-shell .cart{padding:8px 10px}
  .cashier-shell .cart-ticket{padding:5px 0;font-size:12px}
  .cashier-shell .compact-cart-items{flex-basis:80px}
  .cashier-shell .cart .benefit-grid,.cashier-shell .cart .held-ticket-controls{margin:4px 0}
}
@media(min-width:761px) and (max-width:1100px){
  .cashier-shell .pos{grid-template-columns:250px minmax(0,1fr) 180px;grid-template-rows:minmax(0,1fr)}
  .cashier-shell .cart{grid-column:1;grid-row:1}
  .cashier-shell .register-catalog{grid-column:2;grid-row:1}
  .cashier-shell .register-categories{grid-column:3;grid-row:1;height:100%;max-height:none;border-bottom:0}
}
@media(min-width:761px){
  .cashier-shell .register-categories{padding:8px}
  .cashier-shell .register-categories .tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .cashier-shell .register-categories button{min-height:64px;padding:6px;font-size:11px}
  .cashier-shell .product-grid{grid-template-columns:repeat(auto-fill,minmax(min(108px,100%),1fr));gap:5px}
  .cashier-shell .product{min-height:74px;padding:6px;gap:4px}
  .cashier-shell .product strong{font-size:11px;line-height:1.3}
  .cashier-shell .product span{font-size:11px}
  .cashier-shell .product small{font-size:10px}
  .cashier-shell .catalog-bar h1{font-size:14px}
}

.cashier-shell .compact-cart-items{flex:0 0 auto;max-height:var(--cart-items-max-height,260px);min-height:0;overflow-y:auto}
.cashier-shell .compact-cart-items .cart-item{min-height:48px;padding:3px 0;gap:5px}
.cashier-shell .cart .cart-quantity{height:24px;min-height:24px;padding:1px 5px}
.cashier-shell .compact-cart-items .cart-remove{width:28px;height:28px;min-height:28px}
.cashier-shell .cart-item-name{margin-bottom:2px}
.cashier-shell .cart .cart-header button{min-height:30px;height:30px;padding:4px 8px}
.cashier-shell .cart [data-action="clear-cart"]{background:#c8102e;border-color:#c8102e;color:#fff}
.cashier-shell .cart [data-action="clear-cart"]:hover{background:#a40d26;border-color:#a40d26}
.cashier-shell .cart [data-action="clear-cart"]:focus-visible{outline:3px solid #2364a8;outline-offset:2px}
.cashier-shell .pos-register-context{font-size:11px;line-height:1.4;overflow-wrap:anywhere;min-width:0}
.cashier-shell .pos-account-controls .pos-refresh{width:36px;height:36px;padding:8px;flex:none;display:inline-flex;align-items:center;justify-content:center}
.cashier-shell .pos-refresh svg{margin:0;width:16px;height:16px}

/* Station entry stays tight to its controls, including on narrow app windows. */
.station-login.login{width:100%;max-width:420px;margin:0 auto;padding:12px}
.station-login .brand{font-size:16px;gap:8px;margin-bottom:8px}
.station-login .brand img{width:32px;height:32px}
.station-login h1{font-size:20px;margin:0 0 6px}
.station-login .station-login-location{margin:0 0 8px;font-size:13px}
.station-login .fields{gap:8px}
.station-login .fields label{gap:4px;font-size:13px}
.station-login input,.station-login select{width:100%;height:36px;padding:6px 8px}
.station-login .station-pin-keypad{gap:5px;margin:10px 0}
.station-login .station-pin-keypad button{height:40px;min-height:40px;padding:4px 10px;font-size:18px}
.station-login .station-sign-in{min-height:36px;padding:7px 12px}
.station-login #login-error:empty{display:none}
.station-login #login-error{margin:8px 0 0}

/* The launcher's assignment form is the window content, without a dimmed stage. */
html:has(.assignment-window),body:has(.assignment-window){background:#fff}
.assignment-window.login{width:100%;max-width:560px;margin:0 auto;padding:14px;border:0;border-radius:0}
.assignment-window .brand{font-size:18px;gap:8px;margin-bottom:10px}
.assignment-window .brand img{width:40px;height:40px;object-fit:contain}
.assignment-window p{margin:8px 0;font-size:14px}
body:has(.assignment-window):has(.cashier-assignment-dialog[open]) #app{display:none}
body:has(.assignment-window) #dialog.cashier-assignment-dialog{position:absolute;inset:0 auto auto 0;margin:0;width:100%;max-width:100%;max-height:100vh;padding:14px;border:0;border-radius:0}
body:has(.assignment-window) #dialog.cashier-assignment-dialog::backdrop{background:#fff}
#dialog.cashier-assignment-dialog h2{font-size:18px;margin:0 0 12px}
#dialog.cashier-assignment-dialog .fields{gap:10px 12px}
#dialog.cashier-assignment-dialog .fields label{gap:4px;font-size:13px}
#dialog.cashier-assignment-dialog input,#dialog.cashier-assignment-dialog select{width:100%;height:36px;padding:6px 8px}
#dialog.cashier-assignment-dialog .current-register-assignments{margin-top:12px}
#dialog.cashier-assignment-dialog .current-register-assignments p{font-size:13px;margin:8px 0}
#dialog.cashier-assignment-dialog .form-actions{margin-top:14px}
#dialog.cashier-assignment-dialog .form-actions button{min-height:36px;padding:7px 12px;font-size:14px}

.station-login.login{border:0;border-radius:0}
.station-login [data-management-login]{margin-top:8px;min-height:34px;padding:6px 10px;font-size:13px}

/* Portal submenu colours repeat consistently within each tab group. */
.shell:not(.cashier-shell) .content .tabs>button{--tab-colour:#1d4e89;--tab-tint:#eaf2fc;background:var(--tab-tint);color:var(--tab-colour);border:1px solid var(--tab-colour);border-top-width:4px;transition:background-color .15s,color .15s,box-shadow .15s}
.shell:not(.cashier-shell) .content .tabs>button:nth-child(8n+2){--tab-colour:#11634f;--tab-tint:#e5f4ec}
.shell:not(.cashier-shell) .content .tabs>button:nth-child(8n+3){--tab-colour:#663b91;--tab-tint:#f2ebfa}
.shell:not(.cashier-shell) .content .tabs>button:nth-child(8n+4){--tab-colour:#8b480e;--tab-tint:#fff1df}
.shell:not(.cashier-shell) .content .tabs>button:nth-child(8n+5){--tab-colour:#136575;--tab-tint:#e4f4f6}
.shell:not(.cashier-shell) .content .tabs>button:nth-child(8n+6){--tab-colour:#9a284e;--tab-tint:#fceaf0}
.shell:not(.cashier-shell) .content .tabs>button:nth-child(8n+7){--tab-colour:#565e17;--tab-tint:#f3f4df}
.shell:not(.cashier-shell) .content .tabs>button:nth-child(8n+8){--tab-colour:#484f64;--tab-tint:#eceef4}
.shell:not(.cashier-shell) .content .tabs>button:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--tab-colour)}
.shell:not(.cashier-shell) .content .tabs>button:is(.active,[aria-selected=true]){background:var(--tab-colour);color:#fff;border-color:var(--tab-colour);box-shadow:inset 0 -3px 0 #ffffff80}
.shell:not(.cashier-shell) .content .tabs>button:focus-visible{outline:3px solid #242a30;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.shell:not(.cashier-shell) .content .tabs>button{transition:none}}

#dialog.inventory-document-dialog{width:1000px;max-width:calc(100vw - 24px)}
.inventory-document-dialog .fields{max-width:none}
.inventory-document-lines{min-width:650px}
.inventory-document-lines td{vertical-align:middle;padding:8px}
.inventory-document-lines td:first-child{width:42%}
.inventory-document-lines select{width:100%}
.inventory-document-lines input{width:110px}
.inventory-document-total{margin:14px 0 0}

.bar.inventory-movement-actions{justify-content:flex-start;gap:8px}

/* Keep the shift controls grouped instead of spreading across the page. */
.bar.staff-schedule-toolbar{justify-content:flex-start;gap:8px;margin-bottom:12px}
.staff-schedule-toolbar h1{margin-right:12px;font-size:24px}
.staff-schedule-toolbar button,.staff-schedule-tabs button,#staff-schedule-filter button{min-height:36px;padding:7px 10px;font-size:14px}
.tabs.staff-schedule-tabs{gap:6px;margin-bottom:12px}
#staff-schedule-filter{justify-content:flex-start;align-items:flex-end;gap:10px;margin-bottom:14px}
#staff-schedule-filter label{display:flex;flex-direction:column;gap:4px;font-size:13px;flex:0 1 auto;min-width:0}
#staff-schedule-filter input,#staff-schedule-filter select{height:36px;padding:6px 8px;font-size:14px;width:160px;max-width:100%}
#staff-schedule-filter input[type=date]{width:145px}
#staff-schedule-filter select[name=location_id]{width:205px}
#staff-schedule-filter select[name=shift_name]{width:140px}
@media(max-width:600px){
 .staff-schedule-toolbar h1{flex-basis:100%;margin-right:0}
 #staff-schedule-filter label{flex:1 1 140px}
 #staff-schedule-filter input,#staff-schedule-filter select{width:100%}
}

.ground-provision-details{display:grid;gap:10px;background:#f4f6f7;border:1px solid var(--line);border-radius:5px;padding:12px;grid-column:1/-1}
.ground-provision-details[hidden],.ground-provision-details [hidden]{display:none!important}
.ground-provision-pieces{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ground-provision-pieces input{width:100%}
.ground-provision-details p{margin:0;font-size:13px}
@media(max-width:600px){.ground-provision-pieces{grid-template-columns:repeat(2,minmax(0,1fr))}}

.kitchen-report-toolbar{justify-content:flex-start;gap:12px}
.kitchen-report-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.kitchen-report-filters label{display:flex;flex-direction:column;gap:4px;font-size:13px;min-width:140px;max-width:260px;flex:0 1 auto}
.kitchen-report-filters input,.kitchen-report-filters select{height:36px;padding:6px 8px;font-size:14px;max-width:100%;width:100%}
.kitchen-report-filters button,.kitchen-report-toolbar button{min-height:36px;padding:7px 10px;font-size:14px}
.kitchen-report-totals{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:12px}
.kitchen-report-totals>div{background:#fff;border:1px solid var(--line);padding:12px;border-radius:4px}
.kitchen-report-totals span{display:block;color:var(--muted);font-size:13px;margin-bottom:6px}.kitchen-report-totals strong{font-size:24px}
.kitchen-report-warning{padding:10px;background:#fff4dc;border:1px solid #e6cb8c;border-radius:4px;font-size:14px}
@media(max-width:900px){.kitchen-report-totals{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.kitchen-report-filters label{flex:1 1 140px;max-width:none}.kitchen-report-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}

.additional-soups{margin:12px 0;display:grid;gap:10px}.additional-soup-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:end;padding:10px 0;border-top:1px solid var(--line)}
.additional-soup-row label{display:grid;gap:5px;font-size:14px;font-weight:600}.additional-soups>[data-add-soup]{justify-self:start}.additional-soup-row select{width:100%}
@media(max-width:600px){.additional-soup-row{grid-template-columns:1fr}.additional-soup-row button[data-remove-soup]{justify-self:start}}

dialog{height:fit-content}dialog>.dialog-close{position:absolute;top:12px;right:12px;min-height:30px;padding:4px 10px;font-size:13px;z-index:2}dialog:has(>.dialog-close)>h2{padding-right:72px;min-height:30px}
dialog.product-editor-dialog{width:min(820px,calc(100vw - 24px));max-width:820px;height:fit-content;min-height:0;padding:16px;max-height:calc(100dvh - 24px)}.product-editor-dialog>h2{margin:0 0 10px}.product-editor-dialog form>.fields{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.product-editor-dialog .fields label{gap:4px;font-size:13px}.product-editor-dialog .fields .check{min-height:36px;gap:7px}.product-editor-dialog input:not([type=checkbox]),.product-editor-dialog select{width:100%;max-width:100%;min-height:36px;padding:7px 8px;font-size:14px}.product-editor-dialog fieldset{margin:12px 0 0;padding:10px;border:1px solid var(--line);border-radius:6px;min-width:0}.product-editor-dialog fieldset p{margin:0 0 8px;font-size:12px;line-height:1.35}.product-location-mappings{display:grid;gap:8px}.product-location-mappings .fields{max-width:none;grid-template-columns:1fr 1fr;gap:10px;align-items:center}.product-editor-dialog .form-actions{margin-top:12px;gap:6px}.product-editor-dialog .form-actions button{min-height:36px;padding:7px 12px;font-size:14px}@media(max-width:700px){.product-editor-dialog form>.fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.product-editor-dialog form>.fields,.product-location-mappings .fields{grid-template-columns:1fr}}

.kds-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.kds-ticket{background:white;border:2px solid #d8dfe3;border-radius:8px;padding:14px}.kds-ticket header{display:flex;justify-content:space-between;gap:8px}.kds-ticket ul{padding-left:22px;line-height:1.6}.kds-ticket .actions{display:flex;flex-wrap:wrap;gap:6px}.kds-ticket.status-preparing{border-color:#c78b22}.kds-ticket.status-ready{border-color:#11735c}.kds-ticket p{font-size:12px;color:#66727b}.kds-board:fullscreen,#kds-root:fullscreen{padding:20px;background:#f4f6f7;overflow:auto}

.offline-register-status{padding:10px 16px;background:#e4f1ec;color:#145e4b;font-size:13px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.offline-register-status.is-offline{background:#fff0c4;color:#734c00}.offline-register-status button{min-height:30px;padding:4px 8px;font-size:12px}.product-editor-dialog [data-route-location]{padding:8px 0;border-top:1px solid var(--line)}

/* Compact register surfaces; keep touch targets and scrolling available. */
.station-login.login{padding:8px;max-width:420px}
.station-login .brand{margin-bottom:6px;gap:6px}
.station-login .station-pin-keypad{margin:6px 0;gap:4px}
.station-login .fields{gap:6px}
.station-login [data-management-login]{margin-top:6px}
.cashier-shell .content{padding:4px;margin:0}
.cashier-shell .register-toolbar{padding:4px 6px;gap:6px}
.cashier-shell .register-toolbar nav{gap:4px}
.cashier-shell .register-toolbar button{padding:6px 8px;min-height:36px}
.cashier-shell .pos{gap:0;margin:0}
.cashier-shell :is(.cart,.register-catalog,.register-categories){padding:6px}
.cashier-shell .product-grid{gap:6px}
.cashier-shell .product{padding:8px;min-height:76px}
.cashier-shell .cart-header{margin-bottom:6px;gap:6px}
.cashier-shell .cart-item{padding:6px 0;margin:0;gap:6px}
.cashier-shell .totals{gap:4px;margin:6px 0;padding:6px 0}
.cashier-shell :is(.benefit-grid,.held-ticket-controls,.pos-account-controls){gap:4px}
.cashier-shell :is(h1,h2,h3){margin-top:0;margin-bottom:6px}
.cashier-shell :is(.bar,.fields,.actions){gap:6px;margin-bottom:6px}
.cashier-shell :is(td,th){padding:6px 8px}
body:has(.cashier-shell) #dialog{padding:12px;max-height:calc(100dvh - 16px)}
body:has(.cashier-shell) #dialog h2{margin:0 0 8px}
body:has(.cashier-shell) #dialog .fields{gap:8px}
body:has(.cashier-shell) #dialog label{gap:4px}
body:has(.cashier-shell) #dialog :is(input,select){padding:7px 8px}
body:has(.cashier-shell) #dialog .form-actions{margin-top:8px;gap:6px}
body:has(.cashier-shell) #dialog .touch-keypad{margin:8px 0;padding:8px}
body:has(.cashier-shell) #dialog .keypad-keys{gap:5px}

/* Offline unlock is a content-sized station screen with its keypad always visible. */
.offline-lock.login{margin:0 auto;padding:10px;border:0;border-radius:0;max-width:420px}
.offline-lock .fields{grid-template-columns:1fr}
.offline-lock p{font-size:13px;line-height:1.4;margin:6px 0 10px}
.offline-lock input[name=pin]{text-align:center;font-size:20px;letter-spacing:3px}
.offline-lock #unlock-error:empty{display:none}
.offline-lock #unlock-error{margin:8px 0 0;overflow-wrap:anywhere}

.recipe-component{display:grid;grid-template-columns:minmax(180px,1fr) minmax(100px,160px) auto;gap:8px;align-items:end;margin:6px 0}.recipe-component label{min-width:0}.recipe-component button{white-space:nowrap}.recipe-component select,.recipe-component input{width:100%}@media(max-width:600px){.recipe-component{grid-template-columns:1fr 100px}.recipe-component button{grid-column:1/-1;justify-self:start}}

.receipt-messages{margin-top:12px}.receipt-footer{text-align:center;overflow-wrap:anywhere;white-space:normal}
.client-document-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 20px}.client-document-body{max-width:980px;font-size:16px;line-height:1.7;background:#fff;padding:24px;border:1px solid #d8dfe3}.client-document-body img{max-width:100%;height:auto}.client-document-body figure{margin:20px 0 28px}.client-document-body figcaption{font-size:14px;color:#58616b;margin:8px 0}.client-document-body h1{font-size:25px;margin:24px 0 16px}.client-document-body h2{font-size:20px;color:#a80e27;margin:24px 0 12px}.manual-page-break{margin-top:32px;border-top:1px solid #ddd;padding-top:12px}.client-document-pdf{width:100%;height:75vh;border:1px solid #ccc}.client-document-pdf[hidden]{display:none}.preorder-edit{background:#245eab!important;color:#fff!important;border-color:#245eab!important;padding:4px 7px!important;font-size:10px!important;margin:4px 5px 4px 0}

.cart .cart-item-tools{display:inline-flex;gap:4px;align-items:center;justify-content:flex-end;white-space:nowrap}
.cart .preorder-edit{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:28px;padding:0!important;margin:0;border-radius:4px}
.cart .preorder-edit .button-icon{width:16px;height:16px;margin:0}

/* Corporate staff management: teal sections, blue imports, green exports. */
.staff-management-screen>.bar:first-child{background:linear-gradient(120deg,#e6f4f3,#f1f5fc);padding:18px;border:1px solid #c8e1df;border-radius:10px;gap:12px;flex-wrap:wrap;justify-content:flex-start}
.staff-management-screen>.bar:first-child h1{color:#164e55;margin-right:auto}
.staff-management-screen .staff-management-actions{gap:8px}
.staff-management-screen [data-action="staff-import"],.staff-management-screen [data-action="department-import"]{background:#245eab;color:white;border-color:#245eab}
.staff-management-screen [data-action="staff-export"],.staff-management-screen [data-action="department-export"]{background:#117561;color:white;border-color:#117561}
.staff-management-screen [data-action="staff-template"]{background:#7352a1;color:white;border-color:#7352a1}
.staff-management-screen .staff-management-actions>button:not([data-action]){background:#e3f0f0;color:#12545a;border-color:#a9cdce}
.staff-management-screen .corporate-user-filters{background:#edf4fb;padding:14px;border:1px solid #cfdeed;border-radius:8px}
.staff-management-screen table th{background:#dfeeed;color:#184d52}
.staff-management-screen table tbody tr:nth-child(even){background:#f5f9fc}
.staff-management-screen [data-action^="edit-user:"]{background:#eaf1fc;color:#245eab;border-color:#bdd0ec}
.staff-management-screen button:hover{filter:brightness(.96)}

.staff-management-screen>.bar:first-child{display:block}
.staff-management-screen>.bar:first-child h1{margin:0 0 16px}
.staff-management-toolbar{display:flex;align-items:center;gap:18px;overflow-x:auto;padding:2px 0 6px}
.staff-management-staff-actions,.staff-management-screen .staff-management-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;flex:0 0 auto}
.staff-management-screen .staff-management-actions{border-left:2px solid #a9cdce;padding-left:18px}
.staff-management-toolbar button{white-space:nowrap;min-height:42px;padding:10px 12px;font-size:13px;margin:0;flex:0 0 auto}

.register-order-notice{margin-top:9px;padding:10px 12px;border-left:4px solid #245eab;border-radius:5px;background:#eaf2fc;color:#153e67;line-height:1.5;max-width:580px;white-space:normal}.register-order-notice>strong{display:block;margin-bottom:5px}.register-order-time{font-size:12px;color:#52657b;margin-top:5px}

.station-login.login{width:100%;max-width:420px;min-height:0;margin:0 auto;padding:10px;box-sizing:border-box}.station-login form{margin:0}.station-login h1{margin:8px 0}.station-login .station-login-location{margin:6px 0 10px}

.station-attendance.login{max-width:440px;padding:12px}.attendance-clock-actions{display:flex;gap:8px;margin:12px 0}.attendance-clock-actions button{flex:1;min-height:44px;font-weight:700;color:white}.attendance-clock-actions [data-clock-action="in"]{background:#117561;border-color:#117561}.attendance-clock-actions [data-clock-action="out"]{background:#b21d3a;border-color:#b21d3a}.station-attendance [data-clock-status]:not(:empty){margin-top:12px;background:#eaf2fc;border-left:4px solid #245eab;padding:10px;line-height:1.6}.station-attendance [data-clock-status] h2{font-size:17px;margin:0 0 6px}.station-attendance [data-clock-feedback]{color:#09684e;font-weight:700}.station-attendance [data-clock-clear]{width:100%}.station-attendance [data-clock-letters]{margin:0 0 6px;width:100%}

.station-attendance [hidden]{display:none!important}

.attendance-confirmation{box-sizing:border-box;width:calc(100% - 24px);max-width:360px;border:0;border-top:6px solid #117561;border-radius:10px;padding:22px;background:#fff;color:#263238}.attendance-confirmation::backdrop{background:rgba(0,0,0,.45)}.attendance-confirmation h2{font-size:21px;margin:0 0 12px}.attendance-confirmation p{line-height:1.6;overflow-wrap:anywhere}.attendance-confirmation button{width:100%;min-height:44px;margin-top:12px;background:#117561;border-color:#117561;color:white;font-weight:bold}.attendance-confirmation.failure{border-color:#b21d3a}.attendance-confirmation.failure h2{color:#b21d3a}.attendance-confirmation.failure button{background:#b21d3a;border-color:#b21d3a}.attendance-confirmation.warning{border-color:#a96800}.attendance-confirmation.warning h2{color:#8a5800}.attendance-confirmation.warning button{background:#8a5800;border-color:#8a5800}

.attendance-sync-status{padding:8px 10px;background:#fff3d6;color:#79520b;border-radius:5px;font-size:13px}.attendance-sync-status:empty{display:none}.station-attendance [data-clock-feedback].attendance-pending{color:#8a5800}.station-attendance [data-pending-details]{padding:8px 0;color:#79520b;font-size:13px}.station-attendance [data-pending-list] p{border-bottom:1px solid #ddd;padding-bottom:8px}

.station-attendance .attendance-input-actions{display:flex;gap:6px;margin:6px 0}.station-attendance .attendance-input-actions button{flex:1;min-width:0}.station-attendance [data-clock-input-clear]{background:#fff0f2;color:#bb1233;border-color:#edb9c4}.station-attendance [data-clock-backspace]{background:#edf4fa;color:#24547a;border-color:#bdcfdf}

.lunch-menu-matrix .lunch-matrix-category,.lunch-menu-matrix thead .lunch-matrix-corner{width:140px}.lunch-menu-matrix .lunch-matrix-category{padding:8px 4px}.lunch-matrix-category span{font-size:11px;line-height:1.3;white-space:nowrap;overflow-wrap:normal;word-break:normal;letter-spacing:0}

.invoice-reference-document{background:#fff;width:100%;color:#000}.invoice-reference-page{display:block;width:100%;height:auto;background:white}.invoice-reference-page text{fill:#000}dialog:has(.invoice-reference-document){width:min(880px,calc(100% - 24px))}@media print{.invoice-reference-document{width:612pt}.invoice-reference-page{width:612pt;height:792pt;break-inside:avoid;break-after:page}.invoice-reference-page:last-child{break-after:auto}}

.sidebar nav button{text-transform:capitalize}

/* Shared default for every cashier and manager PIN sign-in entry point. */
#app:has(> .station-login:not(.station-attendance)){min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box}
.login.station-login:not(.station-attendance){width:100%;max-width:380px;margin:0;padding:12px;min-height:0;box-sizing:border-box}
.station-login:not(.station-attendance) .brand{margin:0 0 6px;font-size:16px;gap:7px}
.station-login:not(.station-attendance) .brand img{width:30px;height:30px}
.station-login:not(.station-attendance) h1{font-size:19px;line-height:1.2;margin:4px 0}
.station-login:not(.station-attendance) .station-login-location{margin:4px 0 8px;font-size:12px}
.station-login:not(.station-attendance) .fields{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.station-login:not(.station-attendance) label{font-size:12px;gap:3px}
.station-login:not(.station-attendance) input,.station-login:not(.station-attendance) select{height:34px;min-height:34px;padding:5px 8px}
.station-login:not(.station-attendance) .station-pin-keypad{gap:4px;margin:6px 0}
.station-login:not(.station-attendance) .station-pin-keypad button{height:40px;min-height:40px;font-size:18px;padding:4px 8px}
.station-login:not(.station-attendance) .station-sign-in{min-height:36px;padding:6px 10px}
.station-login:not(.station-attendance) [data-management-login]{margin-top:6px;min-height:34px}
.station-login:not(.station-attendance) [hidden]{display:none!important}
@media(max-width:380px){.login.station-login:not(.station-attendance){max-width:100%;padding:8px}}

/* Spacious touch targets in every station sign-in and management sign-in. */
.station-login:not(.station-attendance) .fields{gap:8px}
.station-login:not(.station-attendance) input,.station-login:not(.station-attendance) select{height:48px;min-height:48px;font-size:16px;padding:10px}
.station-login:not(.station-attendance) select option{font-size:16px;padding:10px}
.station-login:not(.station-attendance) .station-pin-keypad{gap:8px;margin:8px 0}
.station-login:not(.station-attendance) .station-pin-keypad button{height:52px;min-height:52px;font-size:20px;touch-action:manipulation}
.station-login:not(.station-attendance) .station-sign-in,.station-login:not(.station-attendance) [data-management-login]{height:48px;min-height:48px;padding:10px;margin-top:8px;touch-action:manipulation}

.station-login:not(.station-attendance) [data-management-login]{background:#285fa4;border-color:#285fa4;color:#fff;font-weight:700}
.station-login:not(.station-attendance) [data-management-login]:hover{background:#204d85;border-color:#204d85}

.refund-receipt-select{max-width:520px;margin:12px auto;border:1px dashed #aab4bb;background:#fff;padding:16px;color:#20252a}
.refund-receipt-select h3,.refund-receipt-select>p{text-align:center;margin:4px 0 12px}
.refund-receipt-select .refund-select-all{display:flex;align-items:center;gap:12px;min-height:48px;font-weight:700;padding:8px;background:#edf5f4}
.refund-receipt-select input[type=checkbox]{appearance:auto;width:26px;height:26px;min-height:26px;flex:0 0 26px;accent-color:#11735c}
.refund-receipt-select input[type=number]{width:78px;min-height:48px;padding:8px}
.refund-receipt-select th,.refund-receipt-select td{padding:10px 6px;white-space:normal;border-bottom:1px dashed #ccd2d6}
.refund-receipt-select small{color:#5b6670}.refund-receipt-select .refund-exhausted{opacity:.6}

#configuration-keyboard .configuration-keyboard-keys{display:grid;gap:5px;margin-top:8px}#configuration-keyboard .configuration-keyboard-row{display:flex;gap:5px;justify-content:center}#configuration-keyboard .configuration-keyboard-row button{flex:0 1 calc((100% - 45px)/10);min-width:0;min-height:46px;padding:4px 0;background:#edf3f6;font-size:17px;color:#202b35}#configuration-keyboard .configuration-keyboard-controls{display:flex;flex-wrap:wrap;gap:5px}#configuration-keyboard .configuration-keyboard-controls button{flex:1 1 28%;min-height:44px;background:#285fa4;color:#fff;font-size:13px}

.refund-authorization-dialog{max-width:420px}.refund-authorization-dialog .fields{grid-template-columns:minmax(0,1fr)}.refund-authorization-dialog input,.refund-authorization-dialog select{min-height:44px}.refund-authorization-dialog .numeric-keypad .keypad-keys button{min-height:48px;height:48px;font-size:18px}

.refund-pin-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.refund-pin-keypad button{height:52px;min-height:52px;padding:6px;background:#edf3f6;border-color:#c4d0d8;font-size:20px;touch-action:manipulation}.refund-pin-keypad button[data-pin-key=Clear],.refund-pin-keypad button[data-pin-key=Backspace]{background:#fff1f3;color:#a40d27;font-size:14px}

.accounting-row-consolidation{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.accounting-row-consolidation button{background:#e7f2ef;border-color:#11735c;color:#0d6050;font-weight:700}

.accounting-customer-search{display:flex;gap:8px;align-items:end;margin:12px 0}.accounting-customer-search label{display:grid;gap:4px;min-width:240px;max-width:460px;flex:1}.accounting-customer-search input{width:100%}
.billing-profile-window{margin:0;padding:14px;background:#edf4f6;color:#23333b}.billing-profile-window #billing-profile-editor-host{max-width:900px;margin:0 auto}.accounting-profile{background:white;border:1px solid #c5dce0;border-radius:10px;overflow:hidden}.accounting-profile .billing-profile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:linear-gradient(120deg,#145b64,#24798a);color:white}.billing-profile-header small{font-size:10px;letter-spacing:1px}.billing-profile-header h2{font-size:20px;margin:3px 0}.billing-profile-header button{background:#fff;color:#145b64;min-height:34px}.accounting-profile>form,.accounting-profile>.corporate-price-editor{padding:14px;margin:0}.accounting-profile .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.accounting-profile label{display:grid;gap:4px;font-size:13px}.accounting-profile label.check{display:flex;align-items:center;gap:8px;min-height:34px}.accounting-profile .wide{grid-column:1/-1}.accounting-profile input:not([type=checkbox]),.accounting-profile select{min-height:36px;padding:6px 8px;width:100%}.accounting-profile textarea{width:100%;min-height:48px;padding:6px 8px}.accounting-profile small,.accounting-profile .muted{font-size:11px;line-height:1.35}.accounting-profile .form-actions{margin-top:12px;gap:7px}.accounting-profile .primary{background:#176b65;border-color:#176b65}.accounting-profile .corporate-price-editor{border-top:1px solid #c5dce0;background:#f3f8fb}.accounting-profile .corporate-price-editor h2{font-size:16px;margin:0 0 10px}.accounting-profile .corporate-price-row{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:8px;align-items:end;margin:8px 0}.accounting-profile button[data-add-price]{color:#235b96;border-color:#235b96}@media(max-width:580px){.accounting-profile .fields{grid-template-columns:1fr}.accounting-profile .wide{grid-column:auto}.accounting-profile .corporate-price-row{grid-template-columns:minmax(0,1fr) 100px}.billing-profile-window{padding:8px}}

.consolidation-summary{margin:14px 0;padding:14px;background:#f0f7f8;border:1px solid #c4dde1;border-radius:8px}.consolidation-summary h2{margin:0 0 6px;color:#145b64}.consolidation-summary>p{margin:4px 0 12px}.consolidation-summary .bar{margin-top:12px}

.invoice-reference-page text[data-invoice-watermark=paid]{fill:#19705a;pointer-events:none;user-select:none}

.consolidation-summary .consolidation-checkbox{appearance:auto;width:22px;height:22px;min-height:22px;accent-color:#176b65;cursor:pointer}.consolidation-summary .consolidation-checkbox:disabled{cursor:not-allowed;opacity:.45}
