.order-page{max-width:980px;margin:0 auto;padding:40px 24px}.order-page h1{margin:24px 0;font-size:40px}.order-page p{line-height:1.6}.order-page a{color:inherit}.admin-nav,.order-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin:24px 0}.order-settings,.order-card{border:1px solid #504638;padding:24px;margin:24px 0;border-radius:12px;background:#181816}.order-settings summary{font-size:22px;font-weight:bold;cursor:pointer}.order-settings label,.order-customer label{display:flex;flex-direction:column;gap:8px;margin:16px 0}.order-settings input,.order-customer input,.order-customer textarea{font:inherit;padding:12px;color:#f6f1e7;background:#222;border:1px solid #665d50;border-radius:6px;max-width:100%;box-sizing:border-box}.order-settings .check-label{flex-direction:row;align-items:center}.order-actions .button{font:inherit;cursor:pointer}.order-customer textarea{resize:vertical;width:100%}#checkout{width:100%;margin:12px 0}#checkout:disabled{opacity:.5;cursor:not-allowed}#checkout-status{line-height:1.5}.last-payment{display:block;margin:15px 0;color:#c9aa66}
.order-sound{border:1px solid #504638;border-radius:12px;padding:18px;margin:24px 0}.order-sound .button{font:inherit;cursor:pointer}.order-sound .button:disabled{opacity:.5;cursor:not-allowed}.order-sound p{margin-bottom:0}

.receipt-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:24px 0}.receipt-actions .button{font:inherit;cursor:pointer}.receipt-stack{max-width:360px;margin:24px auto}.receipt{box-sizing:border-box;background:#fff;color:#000;padding:18px;font:14px/1.35 Arial,sans-serif;overflow-wrap:anywhere;margin-bottom:28px}.receipt p{line-height:1.35;margin:10px 0}.receipt-brand{text-align:center}.order-page .receipt h1{font-size:25px;line-height:1.1;margin:0 0 8px}.receipt h2.receipt-bar{font-size:15px;text-align:center;background:#000;color:#fff;padding:7px 4px;margin:16px 0 10px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.receipt-order-number{font-size:27px;font-weight:800;text-align:center;margin:12px 0 4px}.receipt-fulfilment{text-align:center;font-size:20px;font-weight:800;letter-spacing:1px}.receipt-info,.receipt-totals{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;row-gap:6px;margin:12px 0}.receipt-info dt,.receipt-info dd,.receipt-totals dt,.receipt-totals dd{margin:0}.receipt-totals dd{text-align:right;white-space:nowrap}.receipt-total{font-size:21px;font-weight:800;border-top:2px solid #000;padding-top:10px;margin-top:6px!important}.receipt-category{font-size:15px;margin:13px 0 4px}.receipt ul{padding:0;list-style:none;margin:0}.receipt li{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid #777;align-items:flex-start}.receipt-quantity{flex:0 0 28px;font-size:16px}.receipt-item-name{flex:1;min-width:0}.receipt-price{white-space:nowrap}.receipt-notes{border:2px solid #000;padding:8px;margin:12px 0;break-inside:avoid}.receipt-notes h2{font-size:16px;margin:0}.receipt-notes p{white-space:pre-wrap;margin:4px 0;font-weight:bold}.receipt-warning,.receipt-unpaid{font-weight:800}.receipt-warning{border:3px solid #000;padding:8px;text-align:center}.receipt-route{text-align:center;margin:18px 0}.receipt-route svg{width:120px;max-width:100%;height:auto}.receipt-route p{font-size:12px}.receipt-footer{text-align:center;border-top:1px dashed #000;margin-top:18px;padding-top:14px}.receipt-kitchen{font-size:17px}.receipt-kitchen .receipt-category{font-size:17px}.receipt-kitchen .receipt-quantity{font-size:21px;flex-basis:32px}.receipt-kitchen li{padding:10px 0}.receipt-kitchen .receipt-item-name{font-weight:600}.receipt-item-count{text-align:right;font-size:13px}
@media print{@page{margin:4mm}body{background:white!important;color:black!important}main.order-page{padding:0;margin:0;width:100%}.back-link,.receipt-actions{display:none!important}.receipt-stack{width:100%;max-width:72mm;margin:0}.receipt{width:100%;padding:0;margin:0;font-size:12px}.receipt+.receipt{break-before:page}.order-page .receipt h1{font-size:22px}.receipt-kitchen{font-size:15px}.receipt li,.receipt-info,.receipt-totals,.receipt-customer-info,.receipt-route{break-inside:avoid}.receipt h2,.receipt-category{break-after:avoid}.receipt-route svg{max-width:30mm}}

.receipt-brand-details{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;break-inside:avoid}.receipt p.receipt-contact{flex:1;text-align:left;margin:0;line-height:1.5}.receipt-logo{display:block;width:138px;height:138px;object-fit:contain;flex:0 0 auto}.receipt-brand h1{white-space:nowrap}
@media print{.receipt-brand-details{gap:3mm;margin:3mm 0}.receipt-logo{width:34.5mm;height:34.5mm}.receipt p.receipt-contact{font-size:12px;line-height:1.5}}

body.orders-dashboard{background:#eef0f3;color:#20232b;margin:0;font-family:Arial,sans-serif}.orders-dashboard main.order-page{max-width:none;padding:0;margin:0}.orders-dashboard .back-link{display:none}.dashboard-layout{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:100vh}.dashboard-sidebar{background:#fff;border-right:1px solid #dde0e5;padding:26px 14px;display:flex;flex-direction:column;gap:28px}.dashboard-brand{font-weight:900;text-decoration:none;font-size:23px;line-height:1.05;padding:0 14px;letter-spacing:1px}.dashboard-brand span{display:block;font-size:10px;letter-spacing:2px;margin-top:10px;color:#6b717b}.dashboard-sidebar nav{display:flex;flex-direction:column;gap:7px}.dashboard-nav{border:0;background:transparent;color:#5b636f;text-decoration:none;font:inherit;font-size:14px;text-align:left;padding:14px 12px;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:6px}.dashboard-nav:hover,.dashboard-nav.active{background:#f0ece2;color:#66511e}.dashboard-nav.active{font-weight:bold}.dashboard-nav span{background:#c9aa66;color:#171717;border-radius:20px;padding:3px 7px;min-width:14px;text-align:center}.dashboard-signout{margin-top:auto;font-size:13px;color:#5b636f;padding:12px;text-decoration:none}.dashboard-main{padding:28px 32px;min-width:0}.dashboard-header{display:flex;justify-content:space-between;gap:20px;align-items:center}.order-page .dashboard-header h1{font-size:28px;margin:0 0 8px}.dashboard-header p{font-size:14px;color:#6b717b;margin:0}.orders-dashboard .button{font:inherit;border:1px solid #d3d6dc;border-radius:7px;padding:10px 14px;color:#333;background:#fff;cursor:pointer;text-decoration:none;box-shadow:none}.orders-dashboard .button:hover{border-color:#9b813f}.orders-dashboard .button:disabled{opacity:.45;cursor:not-allowed}.dashboard-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:24px 0 8px}.dashboard-controls p{color:#6b717b;font-size:12px;margin:0}.dashboard-update{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px;color:#6b717b;border-bottom:1px solid #d9dde3;padding-bottom:8px;margin-bottom:20px}.dashboard-update p{margin:8px 0}.dashboard-orders{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:18px;align-items:start}.orders-dashboard .order-card{margin:0;border:1px solid #dde0e5;border-left:5px solid #bca16a;background:#fff;border-radius:10px;padding:20px;color:#20232b}.orders-dashboard .order-card h2{font-size:20px;margin:0 0 12px}.orders-dashboard .order-card p{font-size:14px;line-height:1.5}.orders-dashboard .order-card ul{padding-left:20px;font-size:15px;line-height:1.7}.orders-dashboard .order-actions{gap:8px;margin-bottom:0}.orders-dashboard .order-actions .button{font-size:13px;padding:9px 11px}.orders-dashboard .order-status-preparing{border-left-color:#5493c4}.orders-dashboard .order-status-ready{border-left-color:#488568}.orders-dashboard .order-status-completed{border-left-color:#a8adb5}.dashboard-empty{grid-column:1/-1;min-height:50vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#68707c}.dashboard-empty h2{font-size:18px;color:#20232b;margin-bottom:4px}.dashboard-empty p{font-size:14px;max-width:480px}.dashboard-nav:focus-visible,.orders-dashboard .button:focus-visible{outline:3px solid #bca16a;outline-offset:2px}
@media(max-width:700px){.dashboard-layout{grid-template-columns:1fr}.dashboard-sidebar{padding:16px;border-right:0;border-bottom:1px solid #dde0e5;gap:16px}.dashboard-brand br{display:none}.dashboard-brand{font-size:19px}.dashboard-brand span{margin-top:5px}.dashboard-sidebar nav{flex-direction:row;flex-wrap:wrap;gap:5px}.dashboard-nav{padding:10px;font-size:13px}.dashboard-signout{display:none}.dashboard-main{padding:22px 16px}.dashboard-header{align-items:flex-start}.order-page .dashboard-header h1{font-size:25px}.dashboard-update{gap:4px}.dashboard-orders{grid-template-columns:1fr}}

.printer-settings{background:#fff;border:1px solid #dde0e5;border-radius:8px;padding:16px;margin:16px 0;font-size:14px}.printer-settings summary{font-size:16px;font-weight:600;cursor:pointer}.printer-auto{display:flex;gap:10px;align-items:center;margin-top:16px}.printer-settings .button{font-size:14px}.printer-auto input{width:20px;height:20px}#printer-state{overflow-wrap:anywhere}.printer-result{padding:8px;border-top:1px solid #ddd}

/* Medium receipt text; the order number keeps its original size. */
.receipt{font-size:21px}.order-page .receipt h1{font-size:37.5px;white-space:normal}.receipt h2.receipt-bar{font-size:22.5px}.receipt-fulfilment{font-size:30px}.receipt-total{font-size:31.5px}.receipt-category{font-size:22.5px}.receipt-quantity{font-size:24px;flex-basis:56px}.receipt-notes h2{font-size:24px}.receipt-route p{font-size:18px}.receipt-kitchen{font-size:25.5px}.receipt-kitchen .receipt-category{font-size:25.5px}.receipt-kitchen .receipt-quantity{font-size:31.5px;flex-basis:64px}.receipt-item-count{font-size:19.5px}.receipt-info{grid-template-columns:1fr;row-gap:4px}.receipt-info dt{font-weight:bold;margin-top:6px}.receipt-totals{grid-template-columns:1fr}.receipt-totals dd{text-align:left}.receipt-brand-details{align-items:center}.receipt-brand-details .receipt-contact{min-width:0;overflow-wrap:anywhere}
@media print{.receipt{font-size:18px}.order-page .receipt h1{font-size:33px}.receipt-kitchen{font-size:22.5px}.receipt p.receipt-contact{font-size:18px}}

.orders-dashboard .order-actions .receipt-button{background:#eaf2fb;color:#24466b;border:1px solid #cbdcf0}.orders-dashboard .order-actions .receipt-button:hover{background:#dbe9f8;border-color:#a8c4e5}.orders-dashboard .order-actions .receipt-button:disabled{opacity:.55;cursor:wait}

.order-schedule{margin:24px 0;padding-top:16px;border-top:1px solid #ddd}.order-schedule label{display:block;margin:12px 0}.order-schedule select{display:block;width:100%;padding:12px;font:inherit;border:1px solid #ccc;border-radius:8px;background:white;color:#222}.order-schedule p{font-size:14px;line-height:1.5}.order-scheduled-time{font-weight:700;font-size:20px}

.order-promotion{margin:20px 0}.order-promotion label{display:block;font-size:16px;font-weight:700;margin-bottom:8px}.discount-controls{display:flex;gap:8px;flex-wrap:wrap}.discount-controls input{flex:1;min-width:120px;width:100%;padding:12px;font:inherit;border:1px solid #ccc;border-radius:8px}.discount-controls button{padding:12px;font:inherit;border:1px solid #ccc;border-radius:8px;background:#f4f4f4;color:#222;cursor:pointer}.order-promotion p{font-size:14px;line-height:1.5}.discount-total{display:flex;justify-content:space-between;gap:12px;color:#166534;margin:12px 0}.discount-total[hidden]{display:none}

.dashboard-orders[hidden],.dashboard-update[hidden]{display:none}
#counter-fields{border:0;padding:0;min-width:0}#counter-fields label{display:block;margin:16px 0}#counter-fields input:not([type=checkbox]),#counter-fields textarea,#counter-fields select{display:block;width:100%;padding:12px;font:inherit;box-sizing:border-box}#counter-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;margin:16px 0}#counter-menu button,#counter-cart button{font:inherit;padding:12px;cursor:pointer}#counter-menu button:disabled{opacity:.45}#counter-total{font-size:24px;font-weight:700}#counter-result .button{margin:5px}@media(max-width:550px){#counter-menu{grid-template-columns:1fr}}
