:root{font-family:system-ui,sans-serif;color:#f9ede1;background:#20140f;color-scheme:dark}*{box-sizing:border-box}body{margin:0}header{padding:18px;display:flex;gap:20px;align-items:center;border-bottom:1px solid #6d5548}header img{width:85px}h1{margin:0;font-size:25px}header p{margin:4px 0}header a{margin-left:auto;color:#73efdf}main{max-width:1100px;margin:auto;padding:18px}h2{font-size:22px}h3{margin-top:0}p{line-height:1.5}button,input,select,textarea{font:inherit;padding:12px;border-radius:10px;border:1px solid #806656}button{background:#83eddf;color:#142623;cursor:pointer;font-weight:700;min-height:48px}button:disabled{opacity:.5;cursor:wait}input,textarea,select{width:100%;background:#34261f;color:white;margin:6px 0 14px}label{display:block}textarea{min-height:80px}a{color:#83eddf}.card{background:#35261f;border:1px solid #6f5141;border-radius:16px;padding:18px;margin-bottom:16px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.muted{color:#d0bcad}.danger{background:#f4b0ac;color:#45130e}.status{font-weight:700;color:#83eddf}.total{font-size:23px;font-weight:700}.toolbar{position:sticky;top:0;padding:12px;background:#20140f;z-index:2;display:flex;gap:12px;flex-wrap:wrap}.toolbar button{flex:1}#message:empty{display:none}#message{background:#522b20;padding:16px;border-radius:12px}ul{padding-left:20px}li{margin:10px 0}.code{font-family:monospace;font-size:30px;letter-spacing:3px}.badge{display:inline-block;padding:5px 8px;background:#564131;border-radius:8px}small{display:block;margin-top:7px}.form{max-width:540px}.row{display:flex;gap:14px;align-items:center;justify-content:space-between}button.secondary{background:#dfc8ae}button:focus-visible,a:focus-visible{outline:3px solid white;outline-offset:3px}



.product-photo{width:100%;max-height:260px;object-fit:cover;border-radius:10px}.card>button{margin:5px}html{scroll-padding-top:100px}#message{position:sticky;top:0;z-index:3}



header{flex-wrap:wrap}.language-choice{margin-left:auto;font-size:13px}.language-choice select{margin:4px 0;width:auto;display:block}header a{margin-left:0}



.row{flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #6f5141}.row strong{flex:1;min-width:160px}button:disabled{cursor:default}



.assistant summary{cursor:pointer;font-weight:700;padding:12px 0}.assistant button{margin:6px 6px 6px 0;white-space:normal}.assistant [role=log]{max-height:45vh;overflow:auto;overflow-wrap:anywhere}.assistant-question{font-weight:bold}.assistant textarea{width:100%;box-sizing:border-box}section.card{scroll-margin-top:90px}



input[type=checkbox]{width:auto;margin-right:12px}



.basket-feedback{color:#83eddf;font-weight:600;margin:8px 0 0;overflow-wrap:anywhere}.basket-feedback:empty{display:none}



.product-info{margin:14px 0;overflow-wrap:anywhere}.product-info summary{cursor:pointer;color:#83eddf;padding:12px 0;font-weight:600}.product-info p{white-space:pre-wrap}



.voice-controls{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.voice-controls button{min-height:48px;margin:0}.voice-controls [hidden]{display:none}



.work-timing{background:#241b16;padding:16px;border-radius:12px;margin:12px 0;border:1px solid #705643}.work-label{font-size:12px;letter-spacing:.08em;font-weight:700;color:#d0bcad}.work-clock{font-size:clamp(42px,5vw,68px);line-height:1.15;font-weight:850;font-variant-numeric:tabular-nums;color:#83eddf}.work-active{border:2px solid #83eddf}.work-active p{margin:7px 0}.work-active progress{width:100%;height:12px;accent-color:#83eddf}.work-late{border-color:#f7b597}.work-late .work-clock,.work-late .work-remaining{color:#ffbd9e}.work-late progress{accent-color:#ffbd9e}.work-remaining,.work-wait,.work-complete{font-weight:700}.work-points{color:#83eddf;font-size:24px}.order-estimate{font-size:18px;font-weight:700;color:#83eddf}.kitchen-score{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:linear-gradient(125deg,#233831,#35261f);border:1px solid #83eddf;border-radius:16px;padding:22px;margin-bottom:20px}.score-value{font-size:48px;line-height:1.3;font-variant-numeric:tabular-nums;color:#83eddf}.kitchen-score p{margin:6px 0}.score-rules{grid-column:1/-1}.score-rules summary,details>summary{cursor:pointer;padding:8px 0}.score-rules p{font-size:14px;color:#d0bcad}.grid .card{min-width:0}.work-timing small{overflow-wrap:anywhere}@media(max-width:480px){.kitchen-score{gap:12px;padding:16px}.score-value{font-size:36px}.work-clock{font-size:52px}.grid{grid-template-columns:1fr}}

.kitchen-score{gap:6px 18px;padding:16px}.kitchen-score .score-value{font-size:36px}.kitchen-score p{font-size:14px}.kitchen-score .badge{padding:3px 6px;font-size:12px}.score-rules summary{padding:4px 0;font-size:13px}



/* Large preparation details for the kitchen tablet. */

.kitchen-order ul{list-style:none;padding:0;margin:20px 0}

.kitchen-order li{padding:16px 0;border-bottom:1px solid #795c49;margin:0}

.kitchen-product{display:block;font-size:30px;line-height:1.2;font-weight:800;overflow-wrap:anywhere;color:#fff}

.kitchen-price{display:block;font-size:16px;color:#d8c4b5;margin-top:6px}

.kitchen-order li small{font-size:21px;line-height:1.4;font-weight:600;color:#ffe6b5;overflow-wrap:anywhere}

.kitchen-order .order-note:not(:empty){font-size:21px;line-height:1.4;font-weight:700;background:#55402c;padding:12px;border-radius:8px}



.kitchen-history>summary{font-size:24px;font-weight:750;cursor:pointer;padding:8px 0}.kitchen-history{margin-top:18px}



.customer-order{border-width:3px}

.customer-order .status{font-size:25px;font-weight:800;line-height:1.3;padding:12px 16px;border-radius:10px}

.customer-order[data-status="waiting"]{background:#3b3019;border-color:#edc665}

.customer-order[data-status="waiting"] .status{background:#edc665;color:#302300}

.customer-order[data-status="preparing"]{background:#193349;border-color:#78caff}

.customer-order[data-status="preparing"] .status{background:#78caff;color:#092d46}

.customer-order[data-status="ready"]{background:#173b2b;border-color:#7ce3a6}

.customer-order[data-status="ready"] .status{background:#7ce3a6;color:#103320}



.cash-photo{display:block;max-width:100%;max-height:400px;object-fit:contain;border-radius:12px;margin:14px 0}.cash-photo[hidden]{display:none}

.cash-warning{background:#5a4020;border:2px solid #edc665;padding:14px;border-radius:12px}.cash-feedback{font-size:19px;font-weight:650}

.cash-review{display:flex;align-items:flex-start;gap:12px;font-size:19px}.cash-review input{width:26px;height:26px;flex:0 0 26px;margin:0}

.cash-line{background:#281d17}.cashier-order h2{font-size:30px;color:#ffe6b5;overflow-wrap:anywhere}



.voice-indicator{padding:16px;border:2px solid #777;border-radius:12px;background:#292929;color:#fff;font-size:1.2rem;font-weight:800}

.voice-indicator[data-state="listening"]{background:#124a36;border-color:#65e6a3;color:#eafff1}

.voice-indicator[data-state="speaking"]{background:#163f65;border-color:#78c9ff;color:#eef8ff}

.voice-indicator[data-state="connecting"],.voice-indicator[data-state="thinking"]{background:#513e13;border-color:#ffd36c;color:#fff5da}

[data-voice-state="listening"]{outline:3px solid #65e6a3;outline-offset:2px}

[data-voice-state="speaking"]{outline:3px solid #78c9ff;outline-offset:2px}



.unit-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px;margin:8px 0;border:2px solid #8d805c;border-radius:10px;font-size:18px}.unit-progress button{min-height:52px;font-size:20px}.unit-progress[data-state="ready"]{background:#164831;border-color:#67dda1}.unit-progress[data-state="served"]{background:#233747;border-color:#87b8d3;color:#d9e9f0}



.cash-photo-button{display:block;width:100%;min-height:64px;font-size:22px;font-weight:800;margin:12px 0;padding:16px;}



.cash-feedback[data-state]{padding:22px;border:3px solid;border-radius:14px;font-size:clamp(20px,3vw,28px);font-weight:800;line-height:1.4;scroll-margin:90px}

.cash-feedback[data-state="reading"],.cash-feedback[data-state="error"]{background:#6b1720;color:#fff;border-color:#ff8290}

.cash-feedback[data-state="success"]{background:#164c32;color:#edfff3;border-color:#62e49b}

.cash-feedback[data-state="attention"]{background:#584015;color:#fff7dd;border-color:#ffd46e}

[data-scan-state="reading"]{outline:3px solid #ff8290}

[data-scan-state="success"]{outline:3px solid #62e49b}



.cash-summary-ticket{font-size:1.4rem;margin:10px 0}.cash-summary-list{margin:12px 0}.cash-summary-row{padding:10px 0;border-bottom:1px solid #ffffff30}.cash-summary-row strong{font-size:1.15rem}.cash-summary-row p{margin:4px 0 0;line-height:1.4}.cash-summary-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.cash-summary-actions button{flex:1;min-width:150px}



.cash-line.cash-line-needs-fix{background:#542b20;border:2px solid #ffad75}.cash-line-issues{color:#ffe0c4;font-weight:800;margin:0 0 12px}



.cash-line.cash-line-needs-fix,.cash-summary-row.cash-line-needs-fix{background:#713024;border:3px solid #ffb071;border-left:10px solid #ffb071;padding:16px;box-shadow:0 0 0 2px #ffb07130}.cash-line-needs-fix .cash-line-issues{color:#fff1cf;font-size:1.1rem}



.cash-ticket-needs-fix{display:block;background:#713024;border:3px solid #ffb071;border-left:10px solid #ffb071;padding:16px;border-radius:12px;color:#fff1cf}.cash-ticket-needs-fix .cash-line-issues{display:block;margin-top:8px}.cash-line,.cash-ticket-needs-fix{scroll-margin-top:100px}



#cash-editor{scroll-margin-top:100px}



.kitchen-cheer{position:fixed;z-index:9999;width:min(360px,100vw);text-align:center;pointer-events:none;font-size:clamp(30px,6vw,48px);font-weight:950;color:#8bf4d7;text-shadow:0 3px 0 #164c43,0 0 18px #17251e;animation:kitchen-cheer 1.2s ease-out both;}

@keyframes kitchen-cheer{0%{opacity:0;transform:translateY(12px) scale(.65)}18%{opacity:1;transform:translateY(-8px) scale(1.12)}35%{opacity:1;transform:translateY(-12px) scale(1)}65%{opacity:1}100%{opacity:0;transform:translateY(-65px) scale(1)}}

@media(prefers-reduced-motion:reduce){.kitchen-cheer{animation:kitchen-cheer-quiet 1.2s linear both}}

@keyframes kitchen-cheer-quiet{0%,75%{opacity:1}100%{opacity:0}}



#basket-shortcut{white-space:nowrap;border:2px solid #c3fff5;box-shadow:0 0 0 1px #285c51;font-variant-numeric:tabular-nums}.toolbar{top:env(safe-area-inset-top,0px)}



.prep-choices{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.prep-choice{background:#30231e;color:#fff;border:2px solid #806656;padding:8px 12px}.prep-choice[aria-pressed="true"]{background:#83eddf;color:#142623;border-color:#c3fff5}.prep-choice[data-prep="cashier"][aria-pressed="true"]{background:#ffe09b;border-color:#ffe09b}.prep-choice[data-prep="ready"][aria-pressed="true"]{background:#c9c2ed;border-color:#c9c2ed}.prep-item{padding:12px;border-left:6px solid #83eddf;background:#1e3530;border-radius:8px;list-style:none}.prep-item[data-prep="cashier"]{border-color:#ffe09b;background:#3c321c}.prep-item[data-prep="ready"]{border-color:#c9c2ed;background:#302c41}.prep-label{display:block;font-size:16px;color:#83eddf;margin:10px 0}.prep-item[data-prep="cashier"] .prep-label{color:#ffe09b}.prep-item[data-prep="ready"] .prep-label{color:#ded7ff}



.product-timing-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end;margin-top:12px}.product-timing-row label{min-width:0}.product-timing-row input,.product-timing-row select{margin-bottom:0}



.kitchen-order li.prep-item{padding:16px 18px;}



.cash-topbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:10;display:flex;flex-wrap:wrap;gap:8px;padding:10px;background:#20140f;border:1px solid #6f5141;border-radius:12px;margin-bottom:14px;box-shadow:0 5px 14px #0005}.cash-topbar>button{flex:1 1 150px;min-width:0;margin:0;padding:10px 12px;font-size:16px;min-height:48px}.cash-topbar .cash-photo-button{width:auto}.cash-photo-area:has(>img[hidden]):not(:has(>p:not([hidden]))){margin:0}



.kitchen-topbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:10;display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#20140f;padding:10px;border:1px solid #6f5141;border-radius:12px;box-shadow:0 5px 14px #0005;margin-bottom:16px}.kitchen-top-score{flex:1;min-width:190px}.kitchen-top-score>summary{font-size:20px;font-weight:800;color:#83eddf;cursor:pointer;padding:10px}.kitchen-top-score[open]{flex-basis:100%;max-height:55vh;overflow:auto}.kitchen-top-sound.card{margin:0;padding:0;border:0;background:none}.kitchen-top-sound h2,.kitchen-top-sound p{display:none}.kitchen-top-sound button{margin:3px;font-size:15px;padding:9px}



/* Compact kitchen cards retain large product names and touch targets. */

.kitchen-compact{padding:12px;margin-bottom:12px}

.kitchen-compact>h2{margin:0 0 6px}

.kitchen-compact>p{margin:6px 0}

.kitchen-compact ul{margin:10px 0}

.kitchen-compact li.prep-item{padding:10px 12px}

.kitchen-item-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}

.kitchen-item-heading .kitchen-product{flex:1;min-width:0;font-size:28px}

.kitchen-item-heading button{flex-shrink:0;font-size:14px;padding:8px 10px;min-height:44px}

.kitchen-compact li small{margin-top:4px;font-size:20px;line-height:1.3}

.kitchen-compact .prep-label{margin:5px 0;font-size:14px}

.kitchen-compact .unit-progress{padding:6px 10px;margin:5px 0 0;gap:8px}

.kitchen-compact .unit-progress button{min-height:48px;padding:8px 12px}

.kitchen-compact .order-note:empty{display:none}

.kitchen-compact .work-timing{padding:10px 12px;margin:8px 0}

@media(max-width:400px){.kitchen-item-heading{flex-wrap:wrap}.kitchen-item-heading .kitchen-product{flex-basis:100%}}



.kitchen-order-heading{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px}

.kitchen-order-heading h2{margin:0;font-size:22px}

.kitchen-order-heading .status{margin:0;font-size:16px}

.kitchen-order-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px;margin:6px 0;font-size:15px}

.kitchen-order-meta p{margin:0}

.kitchen-compact .work-timing.work-inline{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;padding:0;border:0;background:none;font-size:15px}



button.transfer-to-cashier{background:#ffe09b;color:#33270b;border-color:#ffe09b}

button.transfer-to-kitchen{background:#94bfff;color:#102b50;border-color:#94bfff}



/* Product progress colors are independent of preparation station. */

.unit-progress[data-state="waiting"]{background:#675019;border-color:#edc665;color:#fff4cf}

.unit-progress[data-state="preparing"]{background:#194c70;border-color:#78caff;color:#ecf7ff}

.unit-progress[data-state="ready"]{background:#195c38;border-color:#7ce3a6;color:#eafff0}

.unit-progress[data-state="served"]{background:#41454b;border-color:#9299a3;color:#f0f2f5}



.customer-categories{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;width:100%}

.customer-categories a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px 13px;border:1px solid #806656;border-radius:24px;text-decoration:none;font-size:14px;text-align:center;color:#f9ede1}

.customer-categories a:hover,.customer-categories a:focus-visible{background:#83eddf;color:#142623}

@media(max-width:650px){.customer-toolbar{gap:6px;padding:8px}.customer-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.customer-categories a{min-width:0;padding:6px;font-size:13px}.customer-toolbar>button{padding:8px;font-size:14px}}



.basket-editor{margin-top:12px;border-top:1px solid #806656}

.basket-editor summary{min-height:44px;padding:12px 0;color:#83eddf;font-weight:700;cursor:pointer}

.basket-editor button{margin:4px 8px 0 0}.basket-edit-error:empty{display:none}.basket-edit-error{color:#ffd2b0}



/* Customer checkout: visibly distinguish missing and selected tables. */

#cart .phone-table-choice{display:block;padding:16px;border:2px solid;border-radius:12px;margin:18px 0;color:#fff;transition:background-color .18s,border-color .18s}

#cart .phone-table-choice.is-missing{background:#572a2c;border-color:#ed8f92}

#cart .phone-table-choice.is-selected{background:#173f34;border-color:#72d6ac}

#cart .phone-table-choice select{background:#351b1e;color:#fff;border-color:#ed8f92;margin-top:8px}

#cart .phone-table-choice.is-selected select{background:#102f27;border-color:#72d6ac}

#cart .phone-table-state{display:block;margin-top:9px;font-size:.9rem;font-weight:700}

#cart .payment-test-notice{padding:12px 14px;border-left:4px solid #f4c36b;border-radius:7px;background:#493719;color:#ffe4ae}

#cart .total{padding:14px;border-radius:10px;background:#1c3933;border:1px solid #507c70}



/* Blue basket panels distinguish checkout from the warm product catalogue. */

#cart > .card{background:#193b4a;border:2px solid #77b8ca}

#cart > .card > .card{background:#244b5b;border-color:#648f9f}

#cart .total{background:#102e3b;border-color:#77b8ca}



#products .card.in-basket{background:#234038;border-color:#83cbbb;box-shadow:inset 4px 0 #83cbbb}

.product-cart-count{color:#b5f4dd;font-weight:750;margin:8px 0 14px}

#products h2.browse-highlight{background:#34584c;outline:2px solid #83eddf;border-radius:8px}



#products .basket-feedback.choice-error{position:static;background:#ffdb9d;color:#442600;border:2px solid #f2a942;border-radius:10px;padding:12px 14px;font-weight:750;margin:10px 0}

#products [aria-invalid="true"]{border:2px solid #ffbe63;background:#523720}



#cart .basket-quantity-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}

#cart .basket-quantity-row>p{margin:0 8px 0 0;white-space:nowrap}

#cart .basket-quantity-row>button{margin:0;min-width:44px;min-height:44px;padding:10px 12px}

#cart .card>p:empty{display:none}



.product-price{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0}

.product-price del{font-size:16px;font-weight:400;color:#d6c3b3;text-decoration-thickness:2px}

.product-price:has(.offer-badge)>strong{color:#ffe0a0;font-size:27px}

.offer-badge{display:inline-block;background:#f6ca78;color:#38220c;padding:5px 10px;border-radius:7px;font-size:14px;font-weight:800}

.offer-admin-row{padding:14px;border:1px solid #6f5141;border-radius:10px;margin:12px 0;display:flex;gap:14px;align-items:center;flex-wrap:wrap}

.offer-admin-row>strong{flex:1 1 190px}.offer-admin-row label{flex:0 1 170px}.offer-admin-row input{margin-bottom:0}



#basket-shortcut.has-items{background:#f6ca78;color:#38220c;border-color:#ffe3b1;box-shadow:0 0 0 1px #986b2c}

#tracking-shortcut.has-orders{background:#a6cfff;color:#142d4b;border:2px solid #d8eaff;box-shadow:0 0 0 1px #466d9a}



.idle-warning{max-width:min(480px,85vw);padding:28px;border:2px solid #f6ca78;border-radius:18px;background:#33251d;color:#fff}.idle-warning::backdrop{background:#000b}.idle-warning button{min-height:52px;width:100%}

.staff-product-info-button{font-size:.85rem;padding:8px 12px;margin:6px 0}

.staff-product-info-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:22px;background:#34241b;color:#fff;border:1px solid #a38a69;border-radius:16px}

.staff-product-info-dialog::backdrop{background:rgba(0,0,0,.7)}

.staff-product-info-dialog h2{margin:0 0 12px}.staff-product-info-dialog h3{color:#8ce9dc;margin-bottom:8px}.staff-product-info-dialog p{line-height:1.5;overflow-wrap:anywhere}



.dietary-labels{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.dietary-label{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid;border-radius:9px;font-size:14px;font-weight:700;line-height:1.4;max-width:100%;box-sizing:border-box}.dietary-label.gluten{background:#173e34;color:#b4f4d0;border-color:#63c793}.dietary-label.lactose{background:#193c53;color:#d0edff;border-color:#7dbadf}.dietary-label.modifiable,.dietary-label.conditional{background:#493c23;color:#ffe3a2;border-color:#ba9751}.ingredient-variant{border-top:1px solid #80634b;margin-top:16px;padding-top:8px}.ingredient-variant h4{color:#91eadb;font-size:18px;margin:8px 0 14px}



.required-choice{padding:10px 12px;border:1px solid;border-radius:10px;box-sizing:border-box}.required-choice.choice-missing{background:#512b2d;border-color:#ef9994}.required-choice.choice-complete{background:#1c4037;border-color:#75c9a7}.required-choice.choice-missing select,.required-choice.choice-missing input{background:#472426;color:#fff4ef;border-color:#ef9994}.required-choice.choice-complete select,.required-choice.choice-complete input{background:#18382f;color:#edfff5;border-color:#75c9a7}.required-choice-status{display:block;font-size:13px;font-weight:700;margin-top:6px;line-height:1.4}.choice-missing .required-choice-status{color:#ffc3be}.choice-complete .required-choice-status{color:#adf0d1}



.recipe-dialog{width:min(850px,calc(100vw - 24px));max-height:90dvh;overflow:auto;box-sizing:border-box;background:#302219;color:#fff0df;border:1px solid #a38260;border-radius:16px;padding:20px}.recipe-dialog::backdrop{background:#000b}.recipe-images{display:flex;gap:12px;overflow-x:auto;margin:12px 0}.recipe-images img{width:220px;max-width:100%;height:220px;object-fit:contain;border-radius:10px}.recipe-pre{white-space:pre-wrap}.recipe-context{background:#493a24;padding:12px;border-left:4px solid #efc978;border-radius:8px}.recipe-dialog ol{padding-left:26px}.recipe-dialog li{padding:8px 0;font-size:19px;line-height:1.5}.recipe-dialog li label{display:flex;align-items:flex-start;gap:12px;margin:0}.recipe-dialog input[type=checkbox]{width:24px;height:24px;flex-shrink:0;margin-top:3px}.recipe-step-done{opacity:.55}.recipe-chat{border-top:1px solid #9a795a;margin-top:20px;padding-top:16px}.recipe-dialog h2{margin-top:0}



.recipe-dialog{width:min(1050px,calc(100vw - 24px))}.recipe-overview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start;margin:16px 0}.recipe-overview .recipe-images{display:flex;flex-direction:column;margin:0;overflow:visible}.recipe-overview .recipe-images img{width:100%;height:auto;max-height:520px;object-fit:contain}.recipe-overview h3{margin-top:0}.recipe-overview .recipe-pre{font-size:18px;line-height:1.6}@media(max-width:540px){.recipe-overview{grid-template-columns:1fr;gap:16px}.recipe-overview .recipe-images img{max-height:400px}}



@media(min-width:481px){#products .product-photo{display:block;width:100%;max-width:560px;height:auto;max-height:none;aspect-ratio:1/1;object-fit:contain;margin:0 auto}}



.recipe-overview.recipe-photos-only{grid-template-columns:1fr}.recipe-photos-only .recipe-images img{width:100%;max-width:800px;max-height:none;margin:0 auto}



/* Keep kitchen orders legible on portrait tablets and wrap actions by card width. */

.grid:has(>.kitchen-compact){grid-template-columns:repeat(auto-fit,minmax(min(100%,500px),1fr))}.kitchen-item-heading{flex-wrap:wrap;justify-content:flex-start}.kitchen-item-heading .kitchen-product{flex:1 1 100%}.kitchen-item-heading button{max-width:100%;white-space:normal}



/* Cashier tablet: compact entry and independently scrollable tracking columns. */

main:has(#cash-editor){max-width:1440px}

.cash-entry{display:flex;align-items:center;flex-wrap:wrap;gap:14px}

.cash-entry h2{margin:0 12px 0 0;font-size:21px}

.cash-entry>label{width:160px;flex:0 0 160px;font-size:14px}

.cash-entry input{margin:4px 0 0}

.cash-entry>button{margin:0;align-self:center}

.cash-entry .cash-ticket-needs-fix{padding:8px;border-left-width:4px}

.cash-entry .cash-line-issues{font-size:12px;margin-bottom:0}

.cash-empty-editor{padding:12px 18px}

.cash-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}

.cash-column{min-width:0;padding:14px;background:#291c16}

.cash-column>h2{margin:0;font-size:22px}

.cash-column>.muted{font-size:13px;margin:6px 0 12px}

.cash-order-list{max-height:calc(100dvh - 350px);min-height:240px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}

.cash-order-list>.card{padding:14px;margin-bottom:12px;overflow-wrap:anywhere}

.cash-order-list .kitchen-product{display:block;font-size:18px}

.cash-order-list h2{font-size:21px}

#cash-delivered{scroll-margin-top:90px}

@media(max-width:760px){.cash-columns{grid-template-columns:minmax(0,1fr)}.cash-order-list{max-height:none;overflow:visible}.cash-entry h2{flex:1 1 100%}}

.cash-order-list .card>h2{margin:0 0 8px}.cash-order-list .card>p{margin:6px 0}

.cash-order-list ul{padding:0;margin:10px 0}.cash-order-list li.prep-item{padding:10px 12px}

.cash-order-list li small{font-size:15px;line-height:1.35;margin-top:4px}

.cash-order-list .prep-label{font-size:13px;margin:5px 0}

.cash-order-list .unit-progress{padding:6px 10px;font-size:15px;margin:6px 0;gap:8px}

.cash-order-list .unit-progress button,.cash-order-list .transfer-button{font-size:15px;min-height:44px;padding:8px 12px}

.cash-order-list .order-note:empty{display:none}



.cash-gelato-picker{grid-column:1/-1;padding:12px;border:1px solid #ac884f;border-radius:10px;min-width:0}.cash-gelato-picker p{margin:8px 0}.cash-gelato-chips{display:flex;flex-wrap:wrap;gap:6px}.cash-gelato-chips button{width:auto;min-height:30px;margin:0;padding:4px 8px;font-size:12px;line-height:1.25;border-radius:15px}.cash-gelato-chips button[aria-pressed="true"]{background:#80eadb;color:#16221f;border-color:#80eadb;font-weight:700}.cash-gelato-chips button[aria-pressed="true"]::before{content:"✓ ";}.cash-gelato-chips button:disabled{opacity:.45}



.cash-quantity{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.cash-quantity-buttons{display:flex;flex-wrap:wrap;gap:6px}.cash-quantity-buttons button{width:auto;min-height:40px;margin:0;padding:7px 12px;font-size:14px}.cash-quantity-buttons button[aria-pressed="true"]{background:#80eadb;color:#16221f;border-color:#80eadb;font-weight:700}.cash-quantity>label{width:170px;flex:0 0 170px;margin:0}.cash-quantity input{width:100%;box-sizing:border-box}



.cash-custom-flavour{margin-top:10px;max-width:320px}.cash-custom-flavour[hidden]{display:none}



.product-option-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0;grid-column:1/-1}.product-option-buttons button{width:auto;min-height:40px;margin:0;padding:8px 12px}.product-option-buttons button[aria-pressed="true"]{background:#80eadb;color:#16221f;border-color:#80eadb;font-weight:700}



.cash-product-entry{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.cash-product-entry>label{flex:0 1 300px;min-width:200px;margin:0}.cash-product-entry>label select{width:100%;box-sizing:border-box}.cash-product-entry .cash-quantity{flex:1;min-width:280px;margin:0;gap:8px;align-items:flex-end}.cash-product-entry .cash-quantity>strong{width:100%}.cash-product-entry .cash-quantity>label{flex:0 0 145px;width:145px;font-size:12px}.cash-product-entry .cash-quantity input{margin-bottom:0}@media(max-width:600px){.cash-product-entry>label{flex:1 1 100%}}



/* A contrasting inner border keeps selected buttons clear without changing their size. */

.cash-gelato-chips button[aria-pressed="true"],

.cash-quantity-buttons button[aria-pressed="true"],

.product-option-buttons button[aria-pressed="true"],

.prep-choice[aria-pressed="true"]{box-shadow:inset 0 0 0 3px #173e36,0 0 0 1px #eafff9}



.product-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.product-title-row h2,.product-title-row h3{margin:0;min-width:0}.product-title-row .dietary-badges{display:flex;flex-wrap:wrap;gap:4px}.staff-dietary-badges{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.dietary-status{display:inline-block;border:1px solid #aa927d;border-radius:18px;padding:7px 12px;font-size:14px}.dietary-status.active{background:#a9eedc;color:#102d27;border:2px solid #185c4c}



.diet-chip{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid;border-radius:9px;font-size:13px;font-weight:700;line-height:1.4}.diet-chip.lactoseFree,.dietary-status.active.lactoseFree{background:#193c53;color:#d0edff;border-color:#7dbadf}.diet-chip.glutenFree,.dietary-status.active.glutenFree{background:#173e34;color:#b4f4d0;border-color:#63c793}.diet-chip.vegan,.dietary-status.active.vegan{background:#433351;color:#f0d5ff;border-color:#be94d6}



.diet-chip.modifiable{background:#493c23;color:#ffe3a2;border-color:#ba9751}



.kitchen-order-heading .order-created{margin:0;font-size:16px;white-space:nowrap}.work-clock-row{display:flex;align-items:baseline;gap:10px;flex-wrap:nowrap;font-variant-numeric:tabular-nums}.work-clock-target{font-size:clamp(26px,3.5vw,44px);font-weight:700;white-space:nowrap}



/* Compact staff preparation cards. */

.kitchen-order .work-timing.work-active{padding:8px 12px;margin:8px 0}

.kitchen-order .work-clock{font-size:36px}.kitchen-order .work-clock-target{font-size:28px}

.kitchen-order .work-clock-row{gap:8px}.kitchen-order .work-active progress{height:8px}

.staff-item-title{display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;width:100%;min-width:0}

.kitchen-item-heading .staff-item-title .kitchen-product{flex:0 1 auto;min-width:0}

.kitchen-order .staff-item-title .prep-label{display:inline;margin:0;font-size:13px;white-space:nowrap}

.kitchen-order li small.item-request{font-size:23px;font-weight:700;line-height:1.4;margin:8px 0}

.cash-order-list li small.item-request{font-size:19px}

.kitchen-order .order-note:not(:empty){font-size:21px;font-weight:700}

.unit-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

.unit-actions button{width:auto;margin:0}

.kitchen-order .unit-progress .unit-actions button{font-size:15px;min-height:44px;padding:8px 10px}



.staff-info-actions{display:flex;align-items:stretch;gap:8px;width:100%;min-width:0}.kitchen-item-heading .staff-info-actions button{flex:1 1 0;min-width:0;width:auto;margin:0;font-size:14px;padding:8px 10px;min-height:44px;white-space:normal}



body.has-cash-music-bar{padding-bottom:48px}#cash-music-bar{position:fixed;bottom:0;left:0;right:0;z-index:100;height:42px;box-sizing:border-box;display:flex;align-items:center;gap:5px;padding:4px 8px;background:#19333f;border-top:1px solid #537380;flex-wrap:nowrap}#cash-music-bar[hidden]{display:none}#cash-music-bar button{flex:0 0 32px;width:32px;min-height:32px;height:32px;margin:0;padding:0;font-size:17px;border-radius:6px}#cash-music-bar strong{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}#cash-music-bar input{flex:0 0 70px;width:70px;min-height:24px;margin:0;padding:0}#cash-music-bar audio{display:none}



#cash-music-bar.is-playing{background:#245940;border-top-color:#83edb3;color:#fff}



#cashier-pages{display:flex;gap:10px;padding:8px 20px;border-bottom:1px solid #806656}#cashier-pages button{margin:0;min-height:42px}#cashier-pages button[aria-pressed="true"]{outline:2px solid #ffe2a3;outline-offset:2px}#cashier-pages button[data-page="pos"]{background:#284956;color:#fff}body.checkout-page{background:#10242d}body.checkout-page>header{display:none}body.checkout-page main{max-width:none;margin:0;padding:0}#pos-frame{width:100%;height:calc(100dvh - 106px);border:0;display:block}#pos-frame[hidden],#app[hidden]{display:none}



/* Compact shared cashier navigation and order tools. */

body.cashier-shell>header{display:none}

body.cashier-shell main{max-width:none;padding:10px}

body.cashier-shell.checkout-page main{padding:0}

body.cashier-shell #cashier-pages{position:sticky;top:0;z-index:12;align-items:center;flex-wrap:nowrap;gap:6px;padding:8px;overflow-x:auto;background:#20140f;min-height:60px}

body.cashier-shell #cashier-pages>button,body.cashier-shell .cash-topbar>button{flex:0 0 auto;white-space:nowrap;min-height:42px;font-size:13px;padding:8px 10px;margin:0}

body.cashier-shell #cashier-pages select{flex:0 0 auto;width:82px;margin:0;padding:8px 4px;min-height:42px;font-size:12px}

body.cashier-shell .cash-topbar{display:contents}

body.checkout-page #cashier-pages{background:#10242d}

body.checkout-page #cashier-pages .cash-topbar,body.checkout-page #cashier-pages select{display:none}

body.cashier-shell #cashier-pages>button,body.cashier-shell .cash-topbar>button{flex:0 1 auto;white-space:normal;min-width:72px;font-size:12px;padding:7px 8px;height:44px;line-height:1.15}body.cashier-shell #cashier-pages select{width:70px;min-height:44px}



body.checkout-page #cashier-pages select{display:block}

body.cashier-shell #cashier-pages>button{flex:0 0 112px}



#pos-shell-tools{display:none;gap:6px;align-items:center}body.checkout-page #pos-shell-tools{display:flex}body.cashier-shell #cashier-pages #language{margin-left:auto;order:10;flex-shrink:0}#pos-shell-tools button{font-size:12px;padding:7px 10px;height:44px;min-height:44px;white-space:nowrap}



#cash-music-bar input[type=range]{flex-basis:110px;width:110px;height:34px;touch-action:none;user-select:none;-webkit-user-select:none}#cash-music-bar{overscroll-behavior:contain}



#cash-music-bar .music-volume-buttons{display:flex;align-items:center;gap:3px;flex:0 0 auto;touch-action:manipulation}#cash-music-bar .music-volume-buttons button{flex-basis:38px;width:38px;height:34px;min-height:34px;font-size:24px;touch-action:manipulation}#cash-music-bar .music-volume-buttons output{width:42px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}



#cash-music-bar #music-mute{margin-left:33px;flex-basis:36px;width:36px;font-size:22px;touch-action:manipulation}#cash-music-bar #music-mute[aria-pressed=true]{background:#ffb7ae;color:#4a0d08;outline:2px solid #ff6256;outline-offset:-2px;box-shadow:0 0 0 2px #ff625644}

.customer-ready-notice{position:fixed;z-index:1000;left:50%;top:50%;transform:translate(-50%,-50%);width:min(600px,calc(100% - 28px));max-height:85dvh;overflow:auto;box-sizing:border-box;padding:26px;background:#e3fff1;color:#143b2b;border:5px solid #278755;border-radius:18px;box-shadow:0 0 0 100vmax #0009,0 8px 40px #0008}.customer-ready-notice h2{font-size:28px;margin:0 0 18px}.customer-ready-notice li{font-size:20px;margin:10px 0}.customer-ready-notice button{width:100%;min-height:56px;font-size:20px;background:#175c3c;color:white}.customer-buzzer-control{padding:12px;border:1px solid #77b8a6;border-radius:10px;margin:12px 0}.customer-buzzer-control p{margin-top:0}



.assistant-scroll{display:flex;gap:10px;align-items:stretch}.assistant-scroll [role=log]{flex:1;min-width:0;scrollbar-width:none;overscroll-behavior:contain}.assistant-scroll [role=log]::-webkit-scrollbar{display:none}.assistant-scroll-rail{position:relative;flex:0 0 44px;background:#183b46;border:1px solid #648f9f;border-radius:12px;touch-action:none;user-select:none;cursor:pointer}.assistant-scroll-rail[hidden]{display:none}.assistant-scroll-thumb{position:absolute;left:4px;right:4px;min-height:0;border-radius:9px;background:#83eddf;touch-action:none}.assistant-scroll-rail:focus-visible{outline:3px solid #f6ca78;outline-offset:2px}



.till-paid-dialog{font-size:21px}.till-paid-dialog .total{font-size:32px;font-weight:750}.till-paid-actions{display:flex;gap:12px;flex-wrap:wrap}.till-paid-actions button{font-size:20px;min-height:56px;flex:1}.recipe-library-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:16px}.recipe-library-list button{min-height:58px;font-size:19px;text-align:left}



#cash-music-bar{overflow-x:auto;overflow-y:hidden}



/* Let two-line counters grow with Safari text sizing and keep clear of the home indicator. */

#cash-music-bar{height:auto;min-height:52px;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));-webkit-text-size-adjust:100%;text-size-adjust:100%}

#cash-music-bar #music-shop-counts,#cash-music-bar #music-booking-counts{height:auto;min-height:40px;box-sizing:border-box;align-self:center;overflow:visible}

body.has-cash-music-bar{padding-bottom:calc(var(--cash-music-bar-height,52px) + 8px)}



/* Primary navigation stays left; management actions align right. */

body.cashier-shell #cashier-pages .cash-topbar{display:flex;align-items:center;gap:6px;margin-left:auto;flex:0 0 auto}

body.checkout-page #cashier-pages .cash-topbar{display:none}

body.checkout-page #pos-shell-tools{flex:1 0 auto}

#pos-shell-tools{justify-content:flex-end}

body.cashier-shell #cashier-pages #language{margin-left:0}



/* Use the same compact tools on the orders and checkout pages. */

body.cashier-shell #cashier-pages .cash-topbar{position:static;top:auto;z-index:auto;flex-wrap:nowrap;padding:0;margin-top:0;margin-bottom:0;border:0;border-radius:0;box-shadow:none;background:transparent}

body.cashier-shell #cashier-pages .cash-topbar>button,

body.cashier-shell #cashier-pages #pos-shell-tools>button{flex:0 0 auto;min-width:0;width:auto;height:44px;min-height:44px;margin:0;padding:7px 10px;font-size:12px;line-height:1.15;white-space:nowrap}



/* Keep sale on the left and checkout management actions on the right. */

body.cashier-shell #cashier-pages #pos-shell-tools>button{margin:0}



/* Compact preparation controls in the cashier order view. */

.cashier-compact .work-timing{box-sizing:border-box;min-height:76px;padding:8px 12px;margin:8px 0;display:flex;flex-direction:column;justify-content:center;gap:4px}

.cashier-compact .work-timing p{margin:0;font-size:14px;line-height:1.3}

.cashier-compact .work-timing .work-wait{font-size:16px}

.cashier-compact li.prep-item{padding:8px 10px}

.cashier-compact .kitchen-item-heading{margin-bottom:4px}

.cashier-compact .unit-progress{padding:6px 8px;margin:5px 0;gap:6px;font-size:14px}

.cashier-compact .unit-actions{gap:6px}

.kitchen-order.cashier-compact .unit-progress .unit-actions button,.cashier-compact .unit-actions button{font-size:14px;min-height:40px;padding:6px 9px;line-height:1.2}

.kitchen-order.cashier-compact .unit-actions button.staff-info-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;padding:8px;flex:0 0 40px}



/* Keep the empty order entry to one compact toolbar. */

#cash-editor .cash-empty-editor{padding:8px 12px;margin-bottom:8px}

#cash-editor .cash-empty-editor .cash-entry{gap:8px 12px}

#cash-editor .cash-empty-editor h2{font-size:17px;flex:0 0 auto;margin:0}

#cash-editor .cash-empty-editor .cash-entry>label{display:flex;align-items:center;gap:8px;width:auto;flex:0 1 auto;margin:0;font-size:13px}

#cash-editor .cash-empty-editor .cash-entry input{width:100px;min-height:40px;height:40px;padding:6px 8px;margin:0}

#cash-editor .cash-empty-editor .cash-entry>button{min-height:40px;padding:6px 12px;font-size:14px}

@media(min-width:761px){main:has(.cash-empty-editor) .cash-order-list{max-height:calc(100dvh - 290px)}}



/* Order entry is a modal; the main view is reserved for tracking. */

.cash-new-order-dialog{box-sizing:border-box;width:min(960px,96vw);max-width:96vw;max-height:90dvh;overflow-y:auto;padding:16px;border:1px solid #83eddf;border-radius:14px;background:#291c16;color:inherit}

.cash-new-order-dialog::backdrop{background:rgb(0 0 0 / 65%)}

.cash-new-order-head{display:flex;justify-content:flex-end;position:sticky;top:-16px;z-index:2;background:#291c16;padding:8px 0}

.cash-new-order-head button{width:auto;margin:0;min-height:44px}

.cash-new-order-dialog #cash-editor{scroll-margin-top:65px}

.cash-new-order-dialog #cash-editor>.card{margin-bottom:0}

@media(min-width:761px){main:has(#cash-new-order-dialog) .cash-order-list{max-height:calc(100dvh - 230px)}}



.kitchen-order-heading .order-table-button{width:auto;min-height:40px;padding:6px 10px;margin:0;font-size:14px}

#order-table-dialog{width:min(420px,90vw);box-sizing:border-box;max-height:90dvh;overflow:auto;border:1px solid #83eddf;border-radius:14px;padding:20px;background:#291c16;color:#fff}

#order-table-dialog::backdrop{background:rgb(0 0 0 / 65%)}

#order-table-dialog input{box-sizing:border-box;width:100%}



.oiva-reader{box-sizing:border-box;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:#f5f2ec;color:#241c17;overflow:hidden}

.oiva-reader[open]{display:flex;flex-direction:column}.oiva-reader-head{display:flex;align-items:center;gap:16px;flex-shrink:0;padding:12px;padding-top:max(12px,env(safe-area-inset-top));border-bottom:1px solid #b9afa5;background:#fff}.oiva-reader-head button{background:#253f45;color:#fff;min-height:48px;padding:10px 18px}.oiva-reader-pages{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.oiva-reader-pages canvas{display:block;width:100%;max-width:1100px;height:auto;margin:0 auto 16px;background:white}.oiva-reader::backdrop{background:#fff}



.order-choice-tags{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0}.order-choice-tag{display:inline-block;padding:4px 8px;border-radius:6px;font-size:14px;font-weight:700;background:#d9eef8;color:#123c55}.order-choice-tag.flavour{background:#e9ddff;color:#44216a}.order-choice-tag.lactose{background:#ffdf9d;color:#542f00}.prep-item .item-request,.order-note:not(:empty){display:block;background:#ffe1df;color:#641e19;border-left:4px solid #c35c4b;border-radius:5px;padding:6px 8px;margin:5px 0;font-weight:700}



.kitchen-order-heading .order-table-button{margin-left:auto;flex-shrink:0}

@media(min-width:761px){.cash-columns{grid-template-columns:minmax(0,1fr) minmax(220px,28%);gap:12px}}


.menu-product-details{display:contents}
@media(min-width:900px){#products .menu-product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}#products .menu-product-layout>.product-photo{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;aspect-ratio:1/1;object-fit:cover!important;object-position:center;margin:0;border-radius:12px}#products .menu-product-details{display:block;min-width:0}#products .menu-product-details>.product-title-row{margin-bottom:14px}#products .menu-product-details input,#products .menu-product-details select{max-width:100%;box-sizing:border-box}}

#products .choki-media-gallery{width:100%;aspect-ratio:1/1;max-height:none;border-radius:12px} .choki-media-gallery video::-webkit-media-controls{display:none!important}

.menu-preorder-card{border:3px solid #e9bd61!important}.menu-preorder-card>.kitchen-order-heading h2,.menu-preorder-card>h2{color:#ffe0a0}.menu-preorder-card .status{font-weight:700}

/* Dismissible customer action errors. */
.customer-notice{width:min(460px,calc(100vw - 32px));max-height:85dvh;overflow:auto;background:#1b3b48;color:#fff4e8;border:1px solid #83c3ce;border-radius:16px;padding:24px}.customer-notice::backdrop{background:rgb(0 0 0 / 65%)}.customer-notice h2{margin:0 0 16px}.customer-notice p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 20px}.customer-notice button{display:block;min-width:100px;margin-left:auto}

.reservation-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.reservation-toolbar button{min-height:48px;padding:12px 20px}.reservation-create{background:#91e8d5!important;color:#102b30!important;font-weight:750}.reservation-filters{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0 18px;border-bottom:1px solid #7a6555;margin-bottom:18px}.reservation-filters button{min-height:46px}.reservation-filters button[aria-pressed=true]{background:#f2c879;color:#292012;border-color:#f2c879;font-weight:750}.reservation-hours{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;padding:12px 0;border-bottom:1px solid #665446}.reservation-hours h4{grid-column:1/-1;margin:4px 0}.reservation-hours label{min-width:0;margin:4px 0}.reservation-hours input{width:100%;min-width:0;box-sizing:border-box}@media(max-width:420px){.reservation-hours{grid-template-columns:1fr}.reservation-hours h4{grid-column:1}.reservation-filters{display:grid;grid-template-columns:1fr 1fr}}

#services-dialog.reservation-workspace{background:#19333f;color:#eaf4f6;border:1px solid #6c929f;border-radius:18px;padding:24px}#services-dialog.reservation-workspace::backdrop{background:#0009}#services-dialog.reservation-workspace>button:first-child{float:right;min-width:92px}#services-dialog.reservation-workspace>h2{font-size:23px;margin:6px 110px 22px 0}#services-dialog.reservation-workspace button{background:#203d4a;color:#fff;border:1px solid #526e7a;border-radius:9px;min-height:44px;font-weight:500}#services-dialog.reservation-workspace button:hover{background:#315565}#services-dialog.reservation-workspace .reservation-create,#services-dialog.reservation-workspace .reservation-primary{background:#a9eedc!important;color:#102d27!important;border-color:#a9eedc;font-weight:750}#services-dialog.reservation-workspace .reservation-filters button[aria-pressed=true]{background:#f2c879;color:#292012;border-color:#f2c879;font-weight:750}#services-dialog.reservation-workspace .reservation-danger{background:#582f38;color:#ffd0cc;border-color:#bc7884}#services-dialog.reservation-workspace button[aria-pressed=true]:not(.reservation-danger){background:#f2c879;color:#292012;border-color:#f2c879}#services-dialog.reservation-workspace input,#services-dialog.reservation-workspace select{background:#10232d;color:#fff;border:1px solid #526e7a;border-radius:8px}#services-dialog.reservation-workspace .reservation-toolbar{clear:both}#services-dialog.reservation-workspace .reservation-filters,#services-dialog.reservation-workspace .reservation-hours{border-bottom-color:#526e7a}

/* Tablet reservation entry: no horizontal overflow, paired fields and touch guest picker. */
#services-dialog.reservation-workspace{max-width:calc(100vw - 24px)!important;width:min(900px,calc(100vw - 24px))!important;overflow-x:hidden;min-width:0}
#services-dialog.reservation-workspace *,#services-dialog.reservation-workspace *::before,#services-dialog.reservation-workspace *::after{box-sizing:border-box}
#services-dialog.reservation-workspace .reservation-body{clear:both;min-width:0}
#services-dialog.reservation-workspace .reservation-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 16px}
#services-dialog.reservation-workspace .reservation-form-grid label{min-width:0;margin:0;display:block}
#services-dialog.reservation-workspace input,#services-dialog.reservation-workspace select{width:100%;min-width:0;max-width:100%;min-height:48px}
#services-dialog.reservation-workspace input[type=checkbox]{width:22px;min-width:22px;min-height:22px;height:22px;flex-shrink:0}
#services-dialog.reservation-workspace fieldset{min-width:0;max-width:100%}
#services-dialog.reservation-form-open .reservation-toolbar{display:none}
#services-dialog.reservation-form-open .reservation-form-grid{margin-bottom:14px}
@media(max-width:520px){#services-dialog.reservation-workspace{padding:16px}#services-dialog.reservation-workspace .reservation-form-grid{grid-template-columns:minmax(0,1fr)}#services-dialog.reservation-workspace>h2{font-size:21px}}

/* Safari tablet intrinsic date control sizing and separate form footer. */
#services-dialog.reservation-form-open .reservation-form-grid{align-items:start;gap:16px;isolation:isolate}
#services-dialog.reservation-form-open .reservation-form-grid>label{width:100%;max-width:100%;min-width:0;overflow:hidden}
#services-dialog.reservation-form-open input:not([type=checkbox]),#services-dialog.reservation-form-open select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:50px;margin:6px 0 0;line-height:1.25;font-size:16px}
#services-dialog.reservation-form-open input[type=datetime-local]{appearance:none;-webkit-appearance:none;min-inline-size:0;overflow:hidden;padding:10px 8px}
#services-dialog.reservation-form-open input[type=datetime-local]::-webkit-date-and-time-value{min-width:0;text-align:left}
#services-dialog.reservation-form-open .reservation-body>label{display:block;clear:both;margin:16px 0}
#services-dialog.reservation-form-open fieldset{display:block;float:none;clear:both;position:static;width:100%;margin:18px 0 0;padding:12px;min-inline-size:0}
#services-dialog.reservation-form-open fieldset label{margin:0;min-height:48px}
#services-dialog.reservation-form-open .reservation-form-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;clear:both;position:static;margin:24px 0 4px;padding:0;width:100%}
#services-dialog.reservation-form-open .reservation-form-actions>button{display:block;position:static;float:none;transform:none;width:100%;min-width:0;max-width:100%;height:auto;min-height:56px;margin:0;white-space:normal;line-height:1.3}
@media(max-width:600px){#services-dialog.reservation-form-open .reservation-form-grid,#services-dialog.reservation-form-open .reservation-form-actions{grid-template-columns:minmax(0,1fr)}}

#services-dialog.reservation-form-open textarea.reservation-note{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;height:70px;min-height:70px;line-height:22px;padding:12px;margin:6px 0 0;resize:vertical;background:#10232d;color:#fff;border:1px solid #526e7a;border-radius:8px;font-size:16px}

#services-dialog.reservation-form-open label.reservation-confirmation{display:flex;align-items:center;gap:12px;min-height:52px;margin:16px 0;padding:10px;border:1px solid #526e7a;border-radius:8px}#services-dialog.reservation-form-open .reservation-confirmation input{margin:0;flex:0 0 24px;width:24px;height:24px;min-height:24px}

#services-dialog.reservation-form-open .reservation-email-field{min-width:0;max-width:100%}#services-dialog.reservation-form-open .reservation-email-field .reservation-confirmation{margin:8px 0 0;font-size:15px;line-height:1.3;min-height:48px}#services-dialog.reservation-form-open .reservation-email-field>label{min-width:0;max-width:100%}

.reservation-error-popup{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:24px;background:#19333f;color:#eaf4f6;border:1px solid #6c929f;border-radius:18px}.reservation-error-popup::backdrop{background:#0009}.reservation-error-popup h2{margin:0 0 16px}.reservation-error-popup p{margin:0 0 24px;overflow-wrap:anywhere}.reservation-error-popup button{display:block;width:100%;min-height:52px;margin:0}

/* Separate reservation card actions for touch use, including wrapped rows. */
#services-dialog.reservation-workspace .reservation-body>section>button{margin:6px 12px 6px 0;min-height:48px}
#services-dialog.reservation-workspace .reservation-body>section>section>button{margin:6px 12px 6px 0;min-height:48px}

#services-dialog.reservation-workspace .reservation-edit-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;clear:both}#services-dialog.reservation-workspace .reservation-edit-actions>button{flex:1 1 180px;min-width:0;min-height:56px;margin:0}

#services-dialog.reservation-workspace .reservation-edit-tables{clear:both;display:block;width:100%;min-inline-size:0;margin:20px 0 0;padding:12px}#services-dialog.reservation-workspace .reservation-edit-tables label{display:flex;align-items:center;gap:12px;min-height:48px;margin:0;padding:8px}#services-dialog.reservation-workspace .reservation-edit-tables input[type=checkbox]{margin:0;width:24px;min-width:24px;height:24px;min-height:24px;flex:0 0 24px}

#services-dialog .reservation-order-item{border:1px solid #526e7a;border-radius:10px;margin:12px 0;padding:12px}#services-dialog .reservation-order-item-head{display:flex;align-items:center;gap:16px}#services-dialog .reservation-order-item-head>span{flex:1;min-width:0;overflow-wrap:anywhere}#services-dialog .reservation-order-item-head>button{flex:0 0 auto;margin:0;min-height:48px}#services-dialog .reservation-order-item-editor{border-top:1px solid #526e7a;margin-top:12px;padding-top:12px}

#services-dialog .reservation-order-line-price{white-space:nowrap;flex:0 0 auto}#services-dialog .reservation-order-total{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #6c929f;padding:16px 0;margin-top:16px;font-size:21px;font-weight:700}#services-dialog .reservation-order-total>strong{white-space:nowrap}@media(max-width:520px){#services-dialog .reservation-order-item-head{flex-wrap:wrap}#services-dialog .reservation-order-item-head>span{flex-basis:100%}}

#services-dialog.reservation-workspace .reservation-filters{gap:10px;width:100%}#services-dialog.reservation-workspace .reservation-filters .reservation-archive-start{margin-left:auto}#services-dialog.reservation-workspace .reservation-filters .reservation-archive-filter{background:#394451;border-color:#75808d;color:#e9e5f4}#services-dialog.reservation-workspace .reservation-filters .reservation-archive-filter:hover{background:#4a5463}#services-dialog.reservation-workspace .reservation-filters .reservation-archive-filter[aria-pressed=true]{background:#c5bbdb;border-color:#c5bbdb;color:#282035}@media(max-width:760px){#services-dialog.reservation-workspace .reservation-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}#services-dialog.reservation-workspace .reservation-filters>button{grid-column:span 2;min-width:0;white-space:normal}#services-dialog.reservation-workspace .reservation-filters .reservation-archive-filter{grid-column:span 3;margin-top:10px}#services-dialog.reservation-workspace .reservation-filters .reservation-archive-start{margin-left:0}}

.reservation-cancel-popup{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:24px;background:#19333f;color:#eaf4f6;border:1px solid #6c929f;border-radius:18px}.reservation-cancel-popup::backdrop{background:#0009}.reservation-cancel-popup h2{margin:0 0 18px}.reservation-cancel-popup p{overflow-wrap:anywhere}.reservation-cancel-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:24px}.reservation-cancel-actions>button{width:100%;min-width:0;min-height:52px;margin:0;white-space:normal;line-height:1.3;border-radius:9px}.reservation-cancel-actions>button:first-child{background:#a9eedc;color:#102d27;border-color:#a9eedc}.reservation-cancel-actions>button:last-child{background:#582f38!important;color:#ffd0cc!important;border-color:#bc7884}@media(max-width:420px){.reservation-cancel-actions{grid-template-columns:minmax(0,1fr)}}

#services-dialog.reservation-workspace .reservation-no-show-status{display:inline-block;background:#582f38;color:#ffd0cc;border:1px solid #bc7884;border-radius:8px;padding:8px 12px;margin:0 0 8px;font-weight:750}

.reservation-table-summary{margin:12px 0;padding:14px;border:2px solid #7bcfc3;border-radius:12px;background:#102a35}.reservation-table-summary>strong{font-size:16px}.reservation-table-chips{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.reservation-table-chips>strong{display:inline-block;padding:10px 15px;border-radius:8px;background:#a9ecdf;color:#10242d;font-size:21px}.reservation-table-summary p{margin:8px 0 0;color:#d4e4eb}.reservation-alert-row{padding:12px 0;border-bottom:1px solid #638692}.reservation-new-popup>button{min-height:52px;min-width:180px;margin-top:20px}

/* Compact weekly opening times: day and both times on one touch-friendly row. */
#services-dialog.reservation-workspace .reservation-hours{grid-template-columns:120px minmax(0,1fr) minmax(0,1fr);gap:12px;padding:6px 0;align-items:center}
#services-dialog.reservation-workspace .reservation-hours h4{grid-column:auto;margin:0;font-size:15px}
#services-dialog.reservation-workspace .reservation-hours label{margin:0;font-size:12px;line-height:1.25}
#services-dialog.reservation-workspace .reservation-hours input{min-height:42px;height:42px;margin:3px 0 0;padding:7px 10px;font-size:15px}
@media(max-width:480px){#services-dialog.reservation-workspace .reservation-hours{grid-template-columns:76px minmax(0,1fr) minmax(0,1fr);gap:6px}#services-dialog.reservation-workspace .reservation-hours h4{font-size:12px;overflow-wrap:anywhere}#services-dialog.reservation-workspace .reservation-hours input{padding:6px 3px;font-size:13px}}

.reservation-compact-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 18px;margin:10px 0}.reservation-compact-settings>div{min-width:0}.reservation-compact-settings label{display:block;margin:0!important;font-size:14px}.reservation-compact-settings input{width:100%;box-sizing:border-box;min-width:0;min-height:42px;height:42px;margin:5px 0 0;padding:8px 10px}.reservation-compact-settings p{font-size:12px;line-height:1.35;margin:6px 0 0!important}.reservation-compact-email{grid-column:1/-1}.reservation-compact-email input{max-width:480px}@media(max-width:560px){.reservation-compact-settings{grid-template-columns:minmax(0,1fr)}.reservation-compact-email{grid-column:auto}}

.reservation-combination-picker{margin:14px 0;padding:14px;border:1px solid #638692;border-radius:10px}.reservation-combination-picker legend{font-weight:750}.reservation-combination-choice{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:170px;max-width:100%;margin:5px!important;padding:12px!important;text-align:left}.reservation-combination-choice strong{font-size:17px}.reservation-combination-choice small{max-width:230px;font-size:12px;white-space:normal}.reservation-combination-choice[aria-pressed=true]{outline:2px solid #f2c879;outline-offset:2px}.reservation-combination-preview{padding:12px;border-radius:8px;background:#102a35;font-weight:750}.reservation-table-admin-row{padding:14px 0;border-bottom:1px solid #526e7a}.reservation-table-admin-row p{margin:7px 0}

/* Compact table list, with actions beside the table details. */
.reservation-table-admin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:4px;padding:10px 0;align-items:center}
.reservation-table-admin-row>strong{grid-column:1;grid-row:1;font-size:15px}
.reservation-table-admin-row>p{grid-column:1;grid-row:2;margin:0!important;font-size:13px;line-height:1.35}
#services-dialog.reservation-workspace .reservation-table-admin-row>.reservation-edit-actions{grid-column:2;grid-row:1/3;display:flex;gap:8px;margin:0;padding:0}
#services-dialog.reservation-workspace .reservation-table-admin-row>.reservation-edit-actions>button{flex:0 0 auto;width:auto;min-width:78px;min-height:42px;padding:8px 12px;font-size:14px}
@media(max-width:480px){.reservation-table-admin-row{column-gap:8px}#services-dialog.reservation-workspace .reservation-table-admin-row>.reservation-edit-actions{gap:5px}#services-dialog.reservation-workspace .reservation-table-admin-row>.reservation-edit-actions>button{min-width:62px;padding:8px;font-size:12px}}

.reservation-capacity-wrap{overflow-x:auto;margin-top:12px}.reservation-capacity-table{border-collapse:collapse;width:100%;min-width:650px;font-size:13px}.reservation-capacity-table th,.reservation-capacity-table td{padding:10px 8px;border-bottom:1px solid #526e7a;text-align:left;vertical-align:middle}.reservation-capacity-table thead th{font-size:12px;color:#b9cdd5;font-weight:600}.reservation-capacity-table tbody th{font-size:14px;min-width:110px}.reservation-capacity-table .reservation-capacity-number{text-align:center;font-weight:750;font-size:17px;width:90px}.reservation-capacity-table thead th:nth-child(2),.reservation-capacity-table thead th:nth-child(4){text-align:center}.reservation-capacity-actions{display:flex;gap:6px;justify-content:flex-end}.reservation-capacity-actions button{width:auto!important;min-height:40px!important;padding:8px 10px!important;font-size:13px!important;margin:0!important}.reservation-capacity-table th:last-child{text-align:right}

.reservation-capacity-actions button:disabled{opacity:.3;cursor:default}

.reservation-table-moves{display:inline-flex;gap:4px;margin-right:10px;vertical-align:middle}.reservation-table-moves button{margin:0!important;padding:6px 8px!important;min-height:36px!important;width:28px!important;font-size:13px!important}.reservation-table-moves button:disabled{opacity:.3}.reservation-capacity-table tbody th{white-space:nowrap}

.reservation-capacity-table .reservation-table-moved>*{background:#2c4954}.reservation-capacity-table .reservation-table-moved>th{box-shadow:inset 4px 0 #f2c879;color:#ffe0a0}
