:root{color-scheme:light;--ink:#19383e;--muted:#5f7475;--accent:#ba4c2f;--paper:#fffcf6}*{box-sizing:border-box}body{margin:0;background:#f2efe7;color:var(--ink);font:16px/1.5 system-ui,sans-serif}button,input,select{font:inherit}button,#restaurant-actions a{border:0;border-radius:12px;background:var(--ink);color:white;padding:12px 18px;cursor:pointer;font-weight:700}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #da8a24;outline-offset:3px}a{color:inherit}.restaurant-header{display:flex;justify-content:space-between;align-items:center;padding:18px 5vw;border-bottom:1px solid #d9d5c9}.restaurant-header>a{font-weight:800;text-decoration:none}main{max-width:1120px;margin:auto;padding:32px 24px 60px}.restaurant-intro h1{font:700 clamp(30px,4vw,52px)/1.15 Georgia,serif;margin:10px 0}.restaurant-eyebrow{letter-spacing:.16em;font-size:12px;font-weight:800;color:var(--accent)}#restaurant-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}#restaurant-content{display:grid;gap:20px}.restaurant-section{padding:26px;background:var(--paper);border:1px solid #ddd7c9;border-radius:20px}.restaurant-section h2{margin:0 0 20px;color:var(--accent);font-family:Georgia,serif}.restaurant-dish{display:grid;grid-template-columns:90px 1fr auto;gap:18px;padding:18px 0;border-top:1px solid #e4ded2;align-items:center}.restaurant-dish img{width:90px;height:90px;object-fit:cover;border-radius:14px}.restaurant-dish:not(:has(img)){grid-template-columns:1fr auto}.restaurant-dish h3{margin:0}.restaurant-dish p{margin:5px 0;color:var(--muted)}.restaurant-dish small{display:block;color:var(--muted)}.restaurant-dish strong{display:block;text-align:right;margin-bottom:8px}.restaurant-dish button{padding:8px 16px;background:var(--accent)}#restaurant-basket,#restaurant-ticket{margin:24px 0;padding:26px;background:#dfebe3;border:1px solid #c2d5c7;border-radius:20px}#restaurant-basket label{display:block;margin-top:20px}input{padding:10px 12px;border:1px solid #93a8a4;border-radius:8px;max-width:100%}.restaurant-cart-line{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #bdd0c3}.restaurant-cart-line input{width:76px}.restaurant-order{padding:22px;border-radius:18px;background:white;border-left:6px solid #d28b24}.restaurant-order[data-status=preparing]{border-color:#3b8192}.restaurant-order[data-status=ready]{border-color:#3d815c}.restaurant-order[data-status=completed],.restaurant-order[data-status=canceled]{opacity:.65}.restaurant-order h2{margin:0}.restaurant-order button{margin:5px;padding:9px 14px;font-size:14px}.restaurant-order time{color:var(--muted)}.restaurant-board{display:grid;grid-template-columns:1fr 1fr;gap:24px}.restaurant-board section{padding:24px;border-radius:24px;background:#e2e7e7}.restaurant-board section:last-child{background:#dbeade}.restaurant-board h2{font-size:clamp(24px,4vw,56px)}.restaurant-board-numbers{display:flex;flex-wrap:wrap;gap:18px;font:800 clamp(44px,8vw,100px)/1.3 system-ui}.restaurant-board-numbers span{padding:16px;background:white;border-radius:18px}.restaurant-qr-sign{text-align:center;background:white;padding:36px;border-radius:20px}.restaurant-qr-sign img{width:min(70vw,320px)}body[data-mode=board]{background:#132f35;color:#fff}body[data-mode=board] .restaurant-board{color:var(--ink)}body[data-mode=board] main{max-width:none}body[data-mode=board] .restaurant-intro h1{display:none}@media(max-width:600px){main{padding:24px 16px}.restaurant-section{padding:18px}.restaurant-dish{grid-template-columns:60px 1fr auto;gap:10px}.restaurant-dish img{width:60px;height:70px}.restaurant-dish h3{font-size:17px}.restaurant-dish p{font-size:14px}.restaurant-board{gap:10px}.restaurant-board section{padding:12px}}@media print{body{background:white}.restaurant-header,#restaurant-actions,#restaurant-basket,button{display:none!important}main{padding:0}.restaurant-section,.restaurant-dish{break-inside:avoid}.restaurant-section{border:0}.restaurant-intro{margin-bottom:20px}}
.language-picker{display:flex;align-items:center;gap:8px;font-size:12px}.language-picker select{border:1px solid #c8cfca;border-radius:9px;padding:8px;background:white;color:#19383e}.restaurant-order-settings{background:#e8f3ed}[hidden]{display:none!important}.restaurant-header .headerlinks{display:flex;align-items:center}body[data-mode=board] .restaurant-header{border-color:#ffffff30}body[data-mode=board] .language-picker{color:white}

/* Phone ordering: generous hit targets and a persistent basket summary. */
body[data-mode=customer] .restaurant-dish button{min-height:46px;min-width:86px;transition:background .15s,transform .15s;touch-action:manipulation}body[data-mode=customer] .restaurant-dish button:active{transform:scale(.94)}body[data-mode=customer] .restaurant-dish button.restaurant-added{background:#287257;color:white}.restaurant-basket-bar{position:fixed;inset:auto 0 0;z-index:50;background:#173c38;color:#fff;border-top:1px solid #80a398;box-shadow:0 -8px 36px #122e3626;padding:12px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));}.restaurant-basket-bar-inner{display:flex;align-items:center;gap:14px;max-width:1072px;margin:auto}.restaurant-basket-count{display:grid;place-items:center;min-width:42px;height:42px;border:1px solid #739c8e;border-radius:13px;background:#315b4f;font-weight:900;font-size:20px}.restaurant-basket-bar-info{flex:1;min-width:0}.restaurant-basket-bar-info p{margin:0;font-size:12px;color:#bee7d4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restaurant-basket-bar-info strong{display:block;font-size:16px}.restaurant-basket-bar button{background:#e0f5a8;color:#20382b;min-height:48px;white-space:nowrap;padding:12px 18px}.restaurant-has-basket main{padding-bottom:160px}#restaurant-basket{scroll-margin-top:20px}.restaurant-basket-pop .restaurant-basket-count{animation:basket-confirm .35s ease}@keyframes basket-confirm{50%{transform:scale(1.18);background:#47866a}}@media(max-width:600px){body[data-mode=customer] .restaurant-dish{grid-template-columns:64px minmax(0,1fr);align-items:start}body[data-mode=customer] .restaurant-dish:not(:has(img)){grid-template-columns:minmax(0,1fr)}body[data-mode=customer] .restaurant-dish>div:last-child{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px}body[data-mode=customer] .restaurant-dish strong{margin:0;text-align:left;font-size:18px}.restaurant-basket-bar-inner{gap:10px}.restaurant-basket-bar button{padding:12px;font-size:14px}.restaurant-basket-bar-info strong{font-size:14px}.restaurant-cart-line>span{flex:1;min-width:0}.restaurant-cart-line input{flex-shrink:0}}
/* Simple collection display: white, orange, green and red. */
body[data-mode=board]{background:#fff;color:#111;min-height:100dvh}body[data-mode=board] .restaurant-header{padding:12px 3vw;border-color:#ddd}body[data-mode=board] .language-picker{color:#111}body[data-mode=board] main{padding:22px 3vw 28px;max-width:none}body[data-mode=board] .restaurant-intro{margin:0 0 20px}body[data-mode=board] .restaurant-eyebrow{color:#111;font-size:16px;letter-spacing:.08em}body[data-mode=board] #restaurant-message{color:#b42318}body[data-mode=board] #restaurant-message:empty{display:none}body[data-mode=board] #restaurant-actions{position:absolute;top:10px;left:165px;margin:0}body[data-mode=board] #restaurant-actions button{background:#fff;color:#111;border:1px solid #999;border-radius:4px;padding:8px 12px;font-size:12px;min-height:38px}.restaurant-board{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}.restaurant-board .restaurant-board-column{background:#fff;color:#111;border:1px solid #ddd;border-top:8px solid #c56500;border-radius:0;padding:22px;min-height:48dvh;box-shadow:none}.restaurant-board .restaurant-board-ready{background:#fff;border-top-color:#228448}.restaurant-board h2{margin:0 0 22px;font:800 clamp(28px,3vw,52px)/1.2 system-ui;overflow-wrap:anywhere;color:#9b4b00}.restaurant-board-ready h2{color:#176b35}.restaurant-board-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px;font:inherit}.restaurant-board-number{display:block;padding:12px 8px;background:#fff5e8;border:1px solid #e7bc83;border-radius:4px;color:#9b4b00;text-align:center;font:850 clamp(48px,5.5vw,100px)/1.2 system-ui;overflow-wrap:anywhere;box-shadow:none}.restaurant-board-ready .restaurant-board-number{background:#edf8ef;border-color:#9ac7a6;color:#176b35}.restaurant-board-empty{grid-column:1/-1;padding:16px 0;margin:0;font-size:18px;color:#555;font-weight:400}.restaurant-board-received{width:100%;padding:20px 24px;background:#fff0ed;border-top:5px solid #b42318;color:#111}.restaurant-board-received h2{margin:0 0 4px;color:#b42318;font-size:26px}.restaurant-board-received>p{margin:0 0 18px;font-size:16px;color:#333}.restaurant-board-received-numbers{display:flex;flex-wrap:wrap;gap:12px}.restaurant-board-received-numbers strong{display:block;padding:6px 14px;background:#fff;border:1px solid #dbaba5;color:#b42318;font:800 clamp(28px,3vw,44px)/1.2 system-ui;border-radius:3px;overflow-wrap:anywhere}.restaurant-board-received-numbers p{margin:0;color:#555;font-size:16px}html:fullscreen body[data-mode=board] .restaurant-header,.restaurant-board-expanded .restaurant-header{display:none}@media(max-width:650px){.restaurant-board{grid-template-columns:1fr;gap:18px}.restaurant-board .restaurant-board-column{min-height:220px;padding:18px}.restaurant-board-numbers{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px}.restaurant-board h2{font-size:30px}.restaurant-board-number{font-size:58px}.restaurant-board-received{padding:18px}.restaurant-board-received-numbers strong{font-size:30px}body[data-mode=board] #restaurant-actions{position:static;margin:0 0 20px}}@media(prefers-reduced-motion:reduce){.restaurant-basket-pop .restaurant-basket-count{animation:none}.restaurant-dish button{transition:none}}@media print{.restaurant-basket-bar{display:none!important}}

.restaurant-board section.restaurant-board-column{background:#fff}

.restaurant-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.restaurant-receipt-head p{margin:0;font-weight:700}.restaurant-receipt-head h2{margin:0;font:850 clamp(56px,8vw,90px)/1.2 system-ui}.restaurant-receipt-status{background:#fff;padding:10px 16px;border-radius:8px;color:#245641}.restaurant-receipt-items{border-top:1px solid #a8c1af;border-bottom:1px solid #a8c1af;padding:12px 0}.restaurant-receipt-items>div{display:flex;justify-content:space-between;gap:16px;margin:8px 0}.restaurant-receipt-items strong{white-space:nowrap}.restaurant-receipt-total{font-weight:800;font-size:20px}.restaurant-receipt-actions{display:flex;gap:12px;flex-wrap:wrap}.restaurant-receipt-actions button{min-height:48px}.restaurant-saved-receipts{background:#fff;padding:20px;border:1px solid #d7dcd6;border-radius:12px;margin:24px 0}.restaurant-saved-receipts h2{font-size:20px;margin:0 0 14px}.restaurant-saved-receipts>div{display:flex;gap:10px;flex-wrap:wrap}.restaurant-saved-receipts a{display:block;padding:10px 14px;background:#edf4ee;border:1px solid #c8d8cc;border-radius:7px;font-weight:700;text-decoration:none}@media(max-width:600px){.restaurant-receipt-head{gap:10px;align-items:flex-start}.restaurant-receipt-status{padding:8px 10px;font-size:14px}.restaurant-receipt-actions{display:grid;grid-template-columns:1fr}.restaurant-receipt-items{font-size:14px}}

/* Clear browsing and kitchen workflow, with stable controls between refreshes. */
.restaurant-category-nav{display:flex;gap:10px;overflow-x:auto;padding:12px 0;position:sticky;top:0;background:#f2efe7;z-index:10;scrollbar-width:thin}.restaurant-category-nav a{flex-shrink:0;text-decoration:none;border:1px solid #c8d2c9;background:white;border-radius:24px;padding:10px 18px;font-weight:700;min-height:44px}.restaurant-section{scroll-margin-top:80px}.restaurant-cart-info{flex:1;min-width:0}.restaurant-cart-info strong,.restaurant-cart-info small{display:block}.restaurant-quantity{display:flex;align-items:center;gap:6px;flex-shrink:0}.restaurant-quantity button{min-width:44px;min-height:44px;padding:8px;background:white;color:var(--ink);border:1px solid #93a8a4}.restaurant-quantity input{width:52px;padding:10px 4px;text-align:center;appearance:textfield}.restaurant-quantity input::-webkit-inner-spin-button{appearance:none}button:disabled{cursor:not-allowed}.restaurant-staff-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.restaurant-staff-filters button{background:white;color:var(--ink);border:1px solid #bbc9c2;min-height:46px}.restaurant-staff-filters button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.restaurant-staff-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.restaurant-staff-status{border-radius:6px;padding:6px 12px;background:#fff0dd;color:#874700}.restaurant-order[data-status=preparing]{border-color:#c56500}.restaurant-order[data-status=ready] .restaurant-staff-status{background:#edf8ef;color:#176b35}.restaurant-order[data-status=canceled]{border-color:#b42318}.restaurant-order[data-status=canceled] .restaurant-staff-status{background:#fff0ed;color:#b42318}.restaurant-staff-controls{display:flex;gap:12px;align-items:start;margin-top:18px}.restaurant-staff-controls button{margin:0;min-height:48px;font-size:16px}.restaurant-next-action{background:#228448}.restaurant-order[data-status=received] .restaurant-next-action{background:#9b4b00}.restaurant-order-options{flex:1;display:flex;flex-wrap:wrap;gap:8px}.restaurant-staff-controls .restaurant-cancel-action{color:#b42318;border-color:#d9aaa5;background:#fff7f5}.restaurant-staff-controls .restaurant-secondary-action{background:#fff;color:var(--ink);border:1px solid #b8c7bf;font-size:14px}.restaurant-order[data-status=completed],.restaurant-order[data-status=canceled]{opacity:1}.restaurant-empty{padding:28px;background:white;border:1px dashed #bbc9c2;border-radius:16px;text-align:center}#restaurant-message:not(:empty){background:#fff8e9;border:1px solid #e5d8b4;padding:14px 18px;border-radius:12px}@media(max-width:600px){.restaurant-staff-head{align-items:start;flex-direction:column;gap:8px}.restaurant-staff-controls{flex-direction:column}.restaurant-next-action{width:100%}.restaurant-order-options{width:100%}.restaurant-cart-line{gap:8px}.restaurant-cart-info{font-size:14px}.restaurant-category-nav{margin-inline:-16px;padding-inline:16px}.restaurant-staff-filters button{flex:1 1 auto;padding:10px 12px}}

@media print{.restaurant-category-nav{display:none!important}}

.restaurant-alpha{display:inline-block;margin-inline-start:7px;padding:2px 7px;border:1px solid #9b5800;border-radius:6px;background:#fff0c2;color:#663d00;font-size:11px;line-height:1.5;font-weight:800;vertical-align:middle}.restaurant-header{gap:12px;flex-wrap:wrap}

.restaurant-quantity button,.restaurant-staff-filters button{background:#d4ecdf;color:#184a34;border-color:#70a78b;box-shadow:0 2px 0 #afcfbc}
.restaurant-quantity button:hover:not(:disabled),.restaurant-staff-filters button:hover:not(:disabled){background:#bde0cd;border-color:#287257}
.restaurant-staff-filters button[aria-pressed=true]{background:#287257;color:#fff;border-color:#287257}
body[data-mode=board] #restaurant-actions button{background:#d4ecdf;color:#184a34;border-color:#70a78b}
.restaurant-quantity button:disabled,.restaurant-staff-filters button:disabled{background:#e2e7ee;color:#66758b;border-color:#b8c3d1;box-shadow:none;opacity:1}

button{box-shadow:none!important;border-width:1px!important}

@media(max-width:600px){.restaurant-category-nav{margin-inline:0;padding-inline:0;max-width:100%;min-width:0}}

.restaurant-payment-state{display:block;margin:12px 0;padding:8px 12px;background:#fff3d4;border:1px solid #dfcb94;border-radius:8px}#restaurant-payment-choice{display:block;width:100%;margin:8px 0 14px}

/* Keep the current order within reach while receipt utilities stay below the menu. */
.restaurant-order-summary{display:flex;align-items:center;gap:16px;min-height:68px;margin:0 0 16px;padding:10px 16px;background:#dfebe3;border:1px solid #aac8b5;border-radius:12px;text-decoration:none;z-index:20}.restaurant-order-summary-number{display:flex;align-items:center;gap:12px;flex:1}.restaurant-order-summary-number strong{font-size:30px;line-height:1.2}.restaurant-order-summary small{display:block;font-size:12px}.restaurant-order-summary-state{text-align:right}.restaurant-order-summary-arrow{font-size:24px}.restaurant-has-active-order .restaurant-order-summary{position:sticky;top:8px;box-shadow:0 3px 12px #19383e15}.restaurant-has-active-order .restaurant-category-nav{top:84px}.restaurant-has-active-order .restaurant-section,#restaurant-ticket{scroll-margin-top:160px}.restaurant-order-summary[data-status=ready]{background:#d4efdc;border-color:#479568}@media(max-width:600px){.restaurant-order-summary{gap:10px;padding:10px 12px}.restaurant-order-summary-number{gap:8px}.restaurant-order-summary-number small{max-width:100px;line-height:1.25}.restaurant-order-summary-state strong{font-size:14px}}@media print{.restaurant-order-summary{display:none!important}}

/* Navigation links and refresh actions share one aligned toolbar. */
#restaurant-actions{align-items:center}#restaurant-actions>a,#restaurant-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 18px;border:1px solid #19383e;border-radius:10px;font:700 16px/1.4 system-ui,sans-serif;text-decoration:none;text-align:center}body[data-mode=staff] #restaurant-actions>a{background:#d4ecdf;color:#19383e;border-color:#8db39f}#restaurant-actions>a:hover{background:#315b4f;color:#fff}body[data-mode=staff] #restaurant-actions>button:hover:not(:disabled){background:#315b4f}@media(max-width:600px){body[data-mode=staff] #restaurant-actions{display:grid;grid-template-columns:1fr}body[data-mode=staff] #restaurant-actions>a,body[data-mode=staff] #restaurant-actions>button{width:100%}}

/* Tap a dish photo to inspect it without losing the basket. */
.restaurant-dish .restaurant-photo-button{padding:0;border:0;background:transparent;border-radius:12px;overflow:hidden;cursor:zoom-in;align-self:start;line-height:0}
.restaurant-photo-button img{width:100%;height:100%;object-fit:cover;display:block}
.restaurant-photo-button:focus-visible{outline:3px solid #ee592f;outline-offset:4px}
.restaurant-photo-dialog{max-width:min(94vw,900px);max-height:94vh;padding:16px;border:0;border-radius:18px;background:#fff;color:#19383e;box-shadow:0 20px 70px #0005}
.restaurant-photo-dialog::backdrop{background:#102b36c9}
.restaurant-photo-dialog img{display:block;max-width:100%;max-height:72vh;object-fit:contain;margin:12px auto}
.restaurant-photo-dialog button{display:block;margin-left:auto}
.restaurant-photo-dialog p{margin:12px 0 0;font-weight:700;text-align:center}
.restaurant-stats-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.restaurant-stats-cards>div{padding:18px;border:1px solid #d8e4e0;border-radius:14px;background:#edf6f2}
.restaurant-stats-cards span{display:block;font-size:13px;color:#46615a}
.restaurant-stats-cards strong{display:block;font-size:32px;margin-top:8px}
.restaurant-stats-note{font-size:13px;line-height:1.6;color:#536963}
.restaurant-stats-section{margin:32px 0;padding:22px;border:1px solid #d8e4e0;border-radius:16px;background:white;min-width:0}
.restaurant-stats-section h2{font-size:21px;margin:0 0 16px}
.restaurant-stats-table-wrap{overflow:auto;max-height:420px}
.restaurant-stats-section table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}
.restaurant-stats-section th,.restaurant-stats-section td{padding:12px;border-bottom:1px solid #e5ece8;vertical-align:top}
.restaurant-stats-section th{position:sticky;top:0;background:#edf6f2;white-space:nowrap}
.restaurant-stats-bar{display:grid;grid-template-columns:100px minmax(0,1fr) 45px;gap:12px;align-items:center;margin:10px 0;font-size:13px}
.restaurant-stats-bar>span{display:block;min-width:2px;height:18px;background:#26745c;border-radius:5px}
.restaurant-stats-payment{display:grid;gap:8px;min-width:180px}
body[data-mode=stats] #restaurant-actions label{display:flex;align-items:center;gap:8px}
body[data-mode=stats] #restaurant-actions select{width:auto}
@media(max-width:600px){.restaurant-stats-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.restaurant-stats-section{padding:14px}.restaurant-stats-cards>div{padding:14px}.restaurant-stats-bar{grid-template-columns:85px minmax(0,1fr) 35px}}

body[data-mode=customer] .restaurant-dish .restaurant-photo-button{min-width:0;min-height:0;width:90px;height:90px;padding:0;background:transparent}
@media(max-width:600px){body[data-mode=customer] .restaurant-dish .restaurant-photo-button{width:64px;height:70px}}

/* Keep the selected dish quantity beside its Add action. */
body[data-mode=customer] .restaurant-add-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:100px;white-space:nowrap}
.restaurant-dish-quantity{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:8px;background:#ffffffeb;color:#173c38;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1}
.restaurant-dish-quantity[hidden]{display:none}
#restaurant-actions>a.button{line-height:1.4;text-align:center}
body[data-mode=customer] .restaurant-add-button.restaurant-added{--action-bg:#287257;--action-fg:#fff;--action-line:#287257}

.restaurant-dish-actions{display:flex;align-items:center;gap:8px;flex:none}
body[data-mode=customer] .restaurant-dish button.restaurant-remove-button{min-width:44px;width:44px;height:46px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:#f9ece6;color:#7a3c25;border:1px solid #dbb6a5;border-radius:10px}
body[data-mode=customer] .restaurant-dish button.restaurant-remove-button[hidden]{display:none}
.restaurant-instructions-field{display:grid;gap:8px;margin:22px 0;padding:18px;border:1px solid #b9d1c4;border-radius:14px;background:#f6fbf8}
.restaurant-instructions-field label{margin:0;font-weight:750}.restaurant-instructions-field textarea{display:block;width:100%;min-height:110px;resize:vertical;padding:12px 14px;border:1px solid #94b5a5;border-radius:10px;background:#fff;color:#19383e;font:400 16px/1.5 system-ui,sans-serif}
.restaurant-instructions-field textarea:focus-visible{outline:3px solid #287257;outline-offset:2px}.restaurant-instructions-field small{color:#51685d;font-size:12px}
.restaurant-order-instructions{display:block!important;margin:16px 0;padding:14px 16px;background:#fff6e5;border:1px solid #dfc79b;border-radius:12px}.restaurant-order-instructions strong{display:block;margin:0;font-size:14px}.restaurant-order-instructions p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#493d2a;line-height:1.5}

.restaurant-receipt-payment{margin:12px 0;padding:12px 14px;border:1px solid #d8c29b;border-radius:10px;background:#faf3e5;color:#634b23;font-weight:750}.restaurant-receipt-payment[data-payment=paid]{background:#e6f3eb;border-color:#b5d5c2;color:#20573e}.restaurant-receipt-payment[data-payment=refunded]{background:#f8eaea;border-color:#dfbebe;color:#743636}

/* Keep the routine kitchen action prominent; corrections and cancellation stay together. */
.restaurant-staff-controls{flex-wrap:wrap}.restaurant-order-options{display:block;flex:1 1 100%;margin-top:8px;border-top:1px solid #d8e4df;padding-top:8px}.restaurant-order-options>summary{display:list-item;cursor:pointer;min-height:44px;padding:10px 4px;font-size:14px;font-weight:700}.restaurant-order-options>button{margin-block:4px;margin-inline-end:8px}.restaurant-order-options:not([open])>button{display:none}.restaurant-receipt-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid #8aa899;border-radius:10px;text-align:center;overflow-wrap:anywhere}

/* Recovery belongs with the menu; it never covers food or the review action. */
.restaurant-basket-recovery{margin:16px 0;padding:14px 18px;border:1px solid #9cbead;border-radius:12px;background:#e2f0e8;color:#204d3f;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.restaurant-basket-recovery[hidden]{display:none}

.restaurant-basket-recovery[data-state=review]{background:#fff3d7;border-color:#d8bd83;color:#694b18}
/* Keep the order number, status and receipt link inside narrow embedded phones. */
@media(max-width:360px){.restaurant-order-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}.restaurant-order-summary-number{min-width:0}.restaurant-order-summary-number small{min-width:0;overflow-wrap:anywhere}.restaurant-order-summary-state{grid-column:1;grid-row:2;min-width:0;text-align:start;overflow-wrap:anywhere}.restaurant-order-summary-arrow{grid-column:2;grid-row:1 / span 2;align-self:center}}

/* Shared customer/staff status colours follow the same traffic lights as the board. */
.restaurant-order[data-status=received]{border-color:#b42318}
.restaurant-order[data-status=received] .restaurant-staff-status,.restaurant-order-summary[data-status=received]{background:#fff0ed;color:#862d36;border-color:#d9a5ab}
.restaurant-order[data-status=preparing]{border-color:#c56500}
.restaurant-order[data-status=preparing] .restaurant-staff-status,.restaurant-order-summary[data-status=preparing]{background:#fff0dc;color:#864300;border-color:#d9a35d}
.restaurant-order:is([data-status=ready],[data-status=completed]){border-color:#228448}
.restaurant-order:is([data-status=ready],[data-status=completed]) .restaurant-staff-status,.restaurant-order-summary:is([data-status=ready],[data-status=completed]){background:#e3f3e7;color:#185b32;border-color:#8ebc9b}
.restaurant-order[data-status=canceled] .restaurant-staff-status,.restaurant-order-summary[data-status=canceled]{background:#fff0ed;color:#862d36;border-color:#d9a5ab}

/* Public ordering uses the same language-selector spacing as booking pages. */
.language-picker select{appearance:none;-webkit-appearance:none;padding-inline:13px 44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23465e52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;background-size:12px 8px;min-height:44px;max-width:100%}
[dir=rtl] .language-picker select{background-position:left 15px center}

body[data-mode=customer] .restaurant-basket-bar[data-feedback-state=error] .restaurant-basket-bar-info p{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4;color:#ffd7d4}
body[data-mode=customer] .restaurant-basket-bar[data-feedback-state=error] button{flex-shrink:0}
