:root{
    --orange:#f2682a;--orange-dark:#da4f17;--orange-soft:#fff0e8;--red:#d74242;--green:#19b978;--blue:#2874d0;
    --navy:#242a43;--navy-2:#171b2c;--ink:#1c2236;--muted:#737a8b;--paper:#f4f5f7;--panel:#fff;
    --line:#dfe2e8;--line-dark:#c9ced8;--shadow:0 14px 38px rgba(26,31,51,.10);--radius:16px;--small-radius:10px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}.hidden{display:none!important}svg{width:1.3em;height:1.3em;fill:currentColor;display:block}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.08;letter-spacing:-.035em;margin-bottom:.45rem}h2{font-size:1.35rem;letter-spacing:-.02em;margin-bottom:.35rem}h3{font-size:1rem;margin-bottom:.3rem}.overline{display:block;font-size:.72rem;letter-spacing:.13em;font-weight:900;color:var(--orange);margin-bottom:.35rem}.muted,.form-hint,.fine-print{color:var(--muted)}.text-warning{color:#b45309!important}.top-space{margin-top:1rem}.grow{flex:1}.center{text-align:center}.full{width:100%}

.button{border:0;border-radius:11px;min-height:46px;padding:.72rem 1rem;font-weight:850;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;transition:.15s ease}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--navy);color:#fff}.button.primary:hover{background:var(--navy-2)}.button.secondary{background:#fff;border:1px solid var(--line-dark);color:var(--ink)}.button.ghost{background:transparent;color:var(--muted)}.button.large{min-height:54px;padding:.9rem 1.25rem}.icon-close{width:43px;height:43px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-size:1.7rem;display:grid;place-items:center;line-height:1}.text-link{display:inline-block;color:var(--orange-dark);font-weight:800;text-decoration:none;margin-top:1rem}.alert{border-radius:10px;padding:.85rem 1rem;margin-bottom:1rem}.alert.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.alert.warning{background:#fff3cd;color:#7c5a00;border:1px solid #ffe69c}.notice-box{padding:1rem;background:#f8fafc;border:1px solid var(--line);border-radius:12px}.notice-box p{margin:.25rem 0 0;color:var(--muted)}

label{font-weight:800;display:grid;gap:.38rem}label small{font-weight:500;color:var(--muted)}input,select,textarea{width:100%;border:1px solid var(--line-dark);background:#fff;border-radius:10px;min-height:46px;padding:.68rem .78rem;outline:none}textarea{resize:vertical;min-height:82px}input:focus,select:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(242,104,42,.12)}.form-grid{display:grid;gap:1rem}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions{display:flex;justify-content:flex-end;padding-top:.5rem}.check-card{display:flex;align-items:center;gap:.75rem;border:1px solid var(--line);border-radius:12px;padding:.8rem}.check-card input{width:20px;height:20px;min-height:auto;accent-color:var(--orange)}.check-card span{display:grid}.check-card small{font-weight:500}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:12px}.switch-row span{display:grid}.switch-row input{appearance:none;width:48px;height:28px;min-height:28px;border:0;border-radius:999px;background:#c7ccd5;padding:0;position:relative;flex:none}.switch-row input:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.2);transition:.2s}.switch-row input:checked{background:var(--orange)}.switch-row input:checked:after{transform:translateX(20px)}

.logo-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--orange),#ff973f);color:#fff;font-size:.78rem;font-weight:950;letter-spacing:-.03em;box-shadow:inset 0 0 0 2px rgba(255,255,255,.4)}.logo-mark.big{width:62px;height:62px;font-size:1rem;margin:0 auto 1rem}.logo-mark.huge{width:92px;height:92px;font-size:1.3rem;margin-bottom:1rem}

/* Staff shell */
.staff-shell{min-height:100dvh;padding-top:84px}.staff-topbar{height:84px;position:fixed;inset:0 0 auto 0;z-index:100;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:stretch;padding:0 1rem}.staff-logo{display:flex;align-items:center;gap:.75rem;width:240px;text-decoration:none;border-right:1px solid var(--line);padding-right:1rem}.staff-logo>span:last-child{display:grid}.staff-logo strong{font-size:1rem}.staff-logo small{font-size:.72rem;color:var(--muted);white-space:nowrap;max-width:155px;overflow:hidden;text-overflow:ellipsis}.staff-nav{display:flex;align-items:stretch;flex:1;overflow-x:auto;padding:0 .6rem}.staff-nav a{min-width:82px;padding:.8rem .75rem .65rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;text-decoration:none;color:#555d70;font-weight:750;font-size:.73rem;border-bottom:3px solid transparent;white-space:nowrap}.staff-nav a svg{font-size:1.35rem}.staff-nav a:hover,.staff-nav a.active{color:var(--orange)}.staff-nav a.active{border-bottom-color:var(--orange);background:#fffaf7}.staff-account{display:flex;align-items:center;gap:.8rem;border-left:1px solid var(--line);padding-left:1rem}.shop-chip{display:grid;min-width:160px}.shop-chip small{color:var(--muted);font-size:.72rem}.logout-button{width:42px;height:42px;border:1px solid var(--line-dark);border-radius:10px;display:grid;place-items:center;text-decoration:none;color:var(--navy)}
.staff-page{padding:1.4rem;max-width:1760px;margin:0 auto}.page-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:1.25rem}.page-title-row.compact{align-items:center}.page-title-row p{color:var(--muted);margin-bottom:0}.title-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.title-actions label{font-size:.75rem}.title-actions label input{min-height:42px}.sync-label{font-size:.8rem;color:var(--muted)}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem;box-shadow:0 3px 12px rgba(24,29,47,.03)}.panel.no-padding{padding:0;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.panel-header h2{margin-bottom:0}.panel-header>a{color:var(--orange-dark);font-weight:800;text-decoration:none;font-size:.85rem}

/* Metrics/dashboard */
.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.metric-card{min-height:135px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.15rem;display:flex;flex-direction:column;justify-content:center}.metric-card>span{font-weight:750;color:var(--muted);font-size:.82rem}.metric-card>strong{font-size:1.8rem;letter-spacing:-.04em;margin:.28rem 0}.metric-card>small{color:var(--muted)}.metric-card.accent{background:linear-gradient(135deg,var(--navy),#373e5e);color:#fff;border:0}.metric-card.accent>span,.metric-card.accent>small{color:#cbd0df}.metric-card.warning{border-color:#ffddb8;background:#fffaf5}.metric-card.compact{min-width:145px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.7fr);gap:1rem}.order-list{display:grid}.order-list-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:.8rem;text-decoration:none;padding:.85rem .15rem;border-bottom:1px solid var(--line)}.order-list-row:last-child{border-bottom:0}.order-source{width:42px;height:32px;border-radius:7px;background:#e8ebf2;display:grid;place-items:center;font-size:.65rem;font-weight:950}.order-source.online{background:var(--orange-soft);color:var(--orange-dark)}.order-main{display:grid}.order-main small{color:var(--muted)}.quick-panel{display:flex;flex-direction:column}.quick-action{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:.75rem;padding:.85rem 0;border-bottom:1px solid var(--line);text-decoration:none}.quick-action:last-child{border-bottom:0}.quick-action span:nth-child(2){display:grid}.quick-action small{color:var(--muted)}.quick-icon{width:42px;height:42px;border-radius:10px;background:var(--orange-soft);color:var(--orange-dark);display:grid;place-items:center}.quick-icon svg{font-size:1.25rem}

/* Status badges */
.status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:.3rem .55rem;border-radius:999px;font-size:.7rem;font-weight:900;text-transform:capitalize;white-space:nowrap;background:#e9ecf2;color:#586071}.status-completed,.status-ready{background:#d8f7e9;color:#087c4b}.status-pending_approval,.status-accepted{background:#fff0df;color:#a94a00}.status-preparing{background:#dcecff;color:#175b9f}.status-payment_failed,.status-rejected,.status-cancelled{background:#ffe1e1;color:#a92b2b}.status-pending_payment{background:#fff7cc;color:#7f6500}

/* Tables */
.responsive-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:900px}.admin-table th,.admin-table td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}.admin-table th{background:#fafbfc;color:#5d6576;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;position:sticky;top:0;z-index:1}.admin-table td small{display:block;color:var(--muted);margin-top:.18rem}.admin-table tr:last-child td{border-bottom:0}.admin-table tr:hover td{background:#fffdfb}.muted-row{opacity:.55}.row-actions{display:flex;justify-content:flex-end;gap:.35rem}.row-actions button,.table-button{border:1px solid var(--line-dark);background:#fff;border-radius:8px;min-height:36px;padding:.4rem .65rem;font-size:.75rem;font-weight:800;white-space:nowrap}.table-summary{display:flex;justify-content:space-between;padding:.8rem 1rem;background:#fafbfc;border-bottom:1px solid var(--line)}.table-tools{display:flex;gap:.8rem;padding:1rem;border-bottom:1px solid var(--line)}.table-tools .search-box{max-width:420px;flex:1}.table-tools select{width:230px}.icon-link{width:38px;height:38px;border:1px solid var(--line-dark);border-radius:9px;display:grid;place-items:center;text-decoration:none}.days-pill{display:inline-grid;place-items:center;min-width:34px;height:30px;border-radius:8px;border:1px solid #ffc270;color:#a85300;font-weight:850}.days-pill.late{background:#ffe4e4;border-color:#ffabab;color:#a52727}.category-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--dot);margin-right:.4rem}.color-swatch{display:block;width:44px;height:28px;border-radius:6px;background:var(--swatch)}code{background:#f2f3f6;border-radius:6px;padding:.25rem .4rem}
.search-box{display:flex;align-items:center;gap:.55rem;border:1px solid var(--line-dark);border-radius:10px;background:#fff;padding:0 .75rem;min-height:46px}.search-box svg{color:var(--muted);flex:none}.search-box input{border:0;box-shadow:none!important;padding:0;min-height:42px;background:transparent}.filter-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:.9rem;display:flex;gap:.75rem;align-items:end;margin-bottom:1rem}.filter-panel>label:not(.search-box){min-width:165px;font-size:.72rem}.section-tabs{display:flex;gap:.35rem;margin-bottom:1rem}.section-tabs button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:.7rem 1rem;font-weight:850}.section-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.section-tabs span{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:rgba(255,255,255,.15);font-size:.7rem;margin-left:.25rem}

/* POS */
.pos-body{overflow:hidden}.pos-shell{height:calc(100dvh - 84px);display:grid;grid-template-columns:minmax(0,1fr) 420px;background:#eceef2}.pos-workspace{min-width:0;display:flex;flex-direction:column;padding:.85rem;overflow:hidden}.pos-toolbar{display:flex;gap:.6rem;align-items:center;margin-bottom:.8rem}.pos-toolbar .search-box{width:min(360px,40%)}.toolbar-button{border:1px solid var(--line-dark);background:#fff;border-radius:10px;min-height:46px;padding:.65rem .9rem;font-weight:800}.toolbar-button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.pos-clock{margin-left:auto;font-size:1.25rem;font-weight:900;color:var(--navy)}.category-tile-grid,.product-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:.45rem;align-content:start;overflow:auto;padding-right:.25rem}.category-tile{min-height:96px;border:0;border-radius:9px;padding:1rem;text-align:left;background:var(--tile-color);background:linear-gradient(100deg,color-mix(in srgb,var(--tile-color),#2f7b2b 20%),color-mix(in srgb,var(--tile-color),white 20%));color:#fff;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}.category-tile span{font-size:1rem;font-weight:900}.category-tile small{opacity:.85}.product-tile{min-height:105px;border:0;border-radius:9px;padding:.85rem;text-align:left;background:var(--tile-color);background:linear-gradient(125deg,color-mix(in srgb,var(--tile-color),#4a983d 12%),color-mix(in srgb,var(--tile-color),white 22%));color:#fff;display:flex;flex-direction:column;justify-content:space-between;font-weight:900}.product-tile strong{font-size:.92rem}.category-tile:active,.product-tile:active{transform:scale(.985)}.pos-bottom-bar{margin-top:auto;padding-top:.75rem;display:flex;gap:.6rem;align-items:center}.pos-mode-label{margin-left:auto;color:var(--muted);font-weight:700}.order-panel{background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}.order-panel-head{height:72px;padding:.85rem 1rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.order-panel-head h1{font-size:1.55rem;margin:0}.order-action-strip{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}.order-action-strip button{min-height:62px;border:0;border-right:1px solid var(--line);background:#fff;font-size:.7rem;font-weight:750;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem}.order-action-strip button:last-child{border-right:0}.order-action-strip span{font-size:1.15rem;color:var(--navy)}.order-lines{flex:1;min-height:160px;overflow:auto;padding:0 .9rem}.order-empty{height:100%;min-height:210px;display:grid;place-content:center;text-align:center;color:#b7bbc5}.order-empty b{font-size:2.3rem}.order-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:.6rem;align-items:center;padding:.72rem 0;border-bottom:1px solid var(--line)}.line-qty-controls{display:flex;align-items:center;gap:.25rem}.line-qty-controls button{width:30px;height:30px;border:0;border-radius:7px;background:#eff1f5;font-weight:950}.line-qty-controls strong{min-width:18px;text-align:center}.line-description{display:grid}.line-description small{color:var(--orange-dark);font-weight:700}.line-note-button{justify-self:start;border:0;background:transparent;padding:0;color:var(--muted);font-size:.68rem}.line-delete{border:0;background:transparent;color:#a4a9b4;font-size:1.2rem}.order-summary-bar{padding:.6rem 1rem;border-top:1px solid var(--line)}.summary-adjustment,.summary-total{display:flex;justify-content:space-between;gap:1rem}.summary-adjustment{font-size:.82rem;color:var(--orange-dark);margin-bottom:.25rem}.summary-adjustment small{display:block;color:var(--muted)}.summary-total{font-size:1.15rem}.checkout-controls{padding:.7rem 1rem 1rem;background:#fafbfc;border-top:1px solid var(--line);display:grid;gap:.65rem}.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem;background:#e9ebef;border-radius:10px;padding:.25rem}.segmented button{min-height:39px;border:0;border-radius:8px;background:transparent;font-weight:800}.segmented button.active{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.08);color:var(--orange-dark)}.payment-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:.35rem}.payment-tabs button{min-height:44px;border:1px solid var(--line-dark);background:#fff;border-radius:9px;font-weight:800}.payment-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.cash-row{display:grid;grid-template-columns:1fr auto;gap:.7rem;align-items:end}.cash-row label{font-size:.72rem}.cash-row>div{display:grid;min-width:105px}.cash-row>div span{font-size:.72rem;color:var(--muted)}.cash-row>div strong{font-size:1.15rem;color:var(--green)}.compact-note{font-size:.72rem}.compact-note textarea{min-height:48px}.pay-button{border:0;border-radius:11px;background:var(--orange);color:#fff;min-height:58px;padding:.7rem 1rem;display:flex;justify-content:space-between;align-items:center;font-weight:900;font-size:1rem}.pay-button:disabled{background:#d5d8df;color:#959aa6;cursor:not-allowed}.pay-button strong{font-size:1.2rem}

/* Order board */
.order-filter-bar{display:flex;gap:.45rem;margin-bottom:1rem;overflow-x:auto}.order-filter-bar button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:.65rem .9rem;font-weight:800;white-space:nowrap}.order-filter-bar button.active{background:var(--navy);border-color:var(--navy);color:#fff}.order-filter-bar b{display:inline-grid;place-items:center;min-width:23px;height:23px;background:rgba(125,132,151,.15);border-radius:999px;margin-left:.3rem}.order-board{display:grid;grid-template-columns:repeat(4,minmax(250px,1fr));gap:.8rem;align-items:start}.order-ticket{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 4px 12px rgba(26,31,51,.04);border-top:5px solid #a8adba}.order-ticket.pending_approval{border-top-color:var(--orange)}.order-ticket.progress{border-top-color:var(--blue)}.order-ticket.ready{border-top-color:var(--green)}.order-ticket.problem,.order-ticket.late{border-top-color:var(--red)}.order-ticket>header{display:flex;justify-content:space-between;padding:.75rem .85rem;background:#fafbfc;border-bottom:1px solid var(--line)}.ticket-time,.ticket-number{display:grid}.ticket-time span{font-size:1.1rem;font-weight:950}.ticket-time small,.ticket-number small{color:var(--muted);font-size:.68rem}.ticket-number{text-align:right}.ticket-customer{display:flex;justify-content:space-between;gap:.5rem;padding:.75rem .85rem .3rem}.ticket-customer span{color:var(--muted);font-size:.75rem}.ticket-items{list-style:none;margin:.3rem 0;padding:.2rem .85rem}.ticket-items li{display:grid;grid-template-columns:30px 1fr;gap:.3rem;padding:.22rem 0}.ticket-items li small{display:block;color:var(--orange-dark)}.ticket-note{margin:.45rem .85rem;padding:.5rem;background:#fff7e7;border-radius:7px;font-size:.78rem}.ticket-meta{display:flex;align-items:center;gap:.55rem;padding:.55rem .85rem;color:var(--muted);font-size:.72rem}.ticket-meta strong{margin-left:auto;color:var(--ink);font-size:.9rem}.ready-clock{color:var(--blue);font-weight:750}.order-ticket>footer{display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem;padding:.7rem .85rem;background:#fafbfc;border-top:1px solid var(--line)}.order-ticket>footer button,.board-link-button{min-height:39px;border:1px solid var(--line-dark);background:#fff;border-radius:8px;font-size:.74rem;font-weight:850;text-decoration:none;display:grid;place-items:center}.order-ticket>footer .primary{background:var(--navy);color:#fff;border-color:var(--navy)}.order-ticket>footer .success{background:#dbf8ea;color:#087c4b;border-color:#bcebd6}.order-ticket>footer .danger{color:#a52c2c}.order-ticket>footer .soft{background:#fff3f3;border-color:#ffd3d3}.board-empty,.board-loading{grid-column:1/-1;background:#fff;border:1px dashed var(--line-dark);border-radius:var(--radius);padding:4rem 1rem;text-align:center;color:var(--muted)}.board-empty b{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#dcf8eb;color:var(--green);font-size:1.7rem;margin:0 auto 1rem}.time-button-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin:1rem 0}.time-button-grid button{min-height:52px;border:1px solid var(--line-dark);background:#fff;border-radius:10px;font-weight:900}.time-button-grid button.active{background:var(--navy);color:#fff}

/* Modals */
dialog{border:0;padding:0;border-radius:16px;box-shadow:0 30px 80px rgba(16,20,35,.28);width:min(560px,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;background:#fff}dialog.wide,.modal.wide{width:min(900px,calc(100vw - 2rem))}dialog::backdrop{background:rgba(22,26,42,.58);backdrop-filter:blur(2px)}.modal-header{padding:1.1rem 1.2rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-header.gradient{background:linear-gradient(100deg,#ef431a,var(--orange));color:#fff}.modal-header.gradient .overline{color:#ffe6d7}.modal-header h2{margin-bottom:0}.modal-body{padding:1.2rem;display:grid;gap:1rem}.modal-footer{padding:.9rem 1.2rem;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:.6rem;background:#fafbfc}.two-column-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.two-column-form section{display:grid;gap:.85rem;align-content:start}.success-check{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#d7f7e8;color:var(--green);font-size:2rem;font-weight:950;margin:0 auto}.success-actions{display:flex;justify-content:center;gap:.7rem}.success-modal{width:min(520px,calc(100vw - 2rem))}.checkout-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:1rem 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.checkout-footer>div{display:grid}.checkout-footer strong{font-size:1.3rem}.payment-choice{border:0;padding:0;margin:0;display:grid;gap:.55rem}.payment-choice legend{font-weight:900;margin-bottom:.5rem}.payment-choice label{display:flex;align-items:center;gap:.75rem;border:1px solid var(--line);border-radius:11px;padding:.75rem}.payment-choice label.disabled{opacity:.5}.payment-choice input{width:20px;height:20px;min-height:auto;accent-color:var(--orange)}.payment-choice span{display:grid}.payment-choice small{font-weight:500}

/* Settings */
.settings-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:1rem}.settings-menu{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:.55rem;height:max-content;position:sticky;top:100px}.settings-menu button{width:100%;text-align:left;border:0;background:transparent;border-radius:9px;padding:.78rem .85rem;font-weight:800;color:#5e6677}.settings-menu button.active{background:var(--orange-soft);color:var(--orange-dark)}.settings-content{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-height:620px}.settings-section>header{padding:1.2rem 1.4rem;border-bottom:1px solid var(--line)}.settings-section>header p{margin-bottom:0;color:var(--muted)}.settings-form{padding:1.2rem 1.4rem;display:grid;gap:1rem}.hours-table{padding:1rem 1.4rem;display:grid}.hours-row{display:grid;grid-template-columns:minmax(180px,1fr) 170px 170px;gap:1rem;align-items:center;padding:.65rem 0;border-bottom:1px solid var(--line)}.hours-day{display:flex;align-items:center;gap:.7rem}.hours-day input{width:20px;height:20px;min-height:auto;accent-color:var(--orange)}.inline-settings{grid-template-columns:1fr 1fr auto;align-items:end}.integration-card{display:flex;align-items:center;gap:.9rem;margin:1.2rem 1.4rem;padding:1rem;border:1px solid var(--line);border-radius:12px}.integration-logo{width:48px;height:48px;border-radius:10px;background:#0b57d0;color:#fff;display:grid;place-items:center;font-weight:950}.integration-card>span:nth-child(2){display:grid;flex:1}.integration-card small{color:var(--muted)}

/* Reports */
.report-range{align-items:end}.report-metrics{grid-template-columns:repeat(4,1fr)}.reports-grid{display:grid;grid-template-columns:2fr 1fr;gap:1rem}.chart-panel{grid-row:span 2}.bar-chart{height:390px;display:flex;align-items:stretch;gap:.45rem;overflow-x:auto;padding:.5rem}.bar-column{min-width:32px;flex:1;display:grid;grid-template-rows:28px 1fr 24px;align-items:end;text-align:center}.bar-value{font-size:.62rem;color:var(--muted);white-space:nowrap;transform:rotate(-35deg);transform-origin:center}.bar-track{height:100%;background:#f0f2f5;border-radius:7px 7px 2px 2px;display:flex;align-items:flex-end;overflow:hidden}.bar-track span{width:100%;background:linear-gradient(var(--orange),#ff9b58);border-radius:6px 6px 0 0}.bar-column small{font-size:.65rem;color:var(--muted)}.report-list{display:grid}.report-list-row{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--line)}.report-list-row:last-child{border-bottom:0}.report-list-row>span{display:grid;flex:1}.report-list-row small{color:var(--muted)}.report-list-row i{display:block;height:5px;background:#eff1f5;border-radius:999px;margin-top:.35rem;overflow:hidden}.report-list-row i b{display:block;height:100%;background:var(--orange)}

/* Webshop */
.store-body{background:#f7f6f3}.webshop-header{height:78px;background:#fff;border-bottom:1px solid #e5e1dc;display:flex;align-items:center;padding:0 max(1rem,calc((100vw - 1500px)/2));gap:1rem;position:sticky;top:0;z-index:60}.webshop-brand{display:flex;align-items:center;gap:.7rem;text-decoration:none}.webshop-brand>span:last-child{display:grid}.webshop-brand small{color:var(--muted)}.webshop-contact{margin-left:auto;display:flex;gap:1rem;color:var(--muted);font-size:.85rem}.webshop-contact a{font-weight:800;color:var(--orange-dark)}.cart-button{min-height:44px;border:0;border-radius:10px;background:var(--navy);color:#fff;padding:.6rem .75rem;display:flex;align-items:center;gap:.6rem;font-weight:850}.cart-button b{min-width:24px;height:24px;border-radius:999px;background:var(--orange);display:grid;place-items:center;font-size:.7rem}.webshop-main{max-width:1500px;margin:0 auto;padding:1.3rem}.webshop-hero{min-height:270px;border-radius:22px;background:linear-gradient(120deg,var(--navy-2),#333a58);color:#fff;padding:2.2rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;position:relative;overflow:hidden}.webshop-hero:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-80px;top:-160px;background:radial-gradient(circle,rgba(242,104,42,.75),rgba(242,104,42,0) 68%)}.webshop-hero h1{font-size:clamp(2.3rem,5vw,4.2rem);position:relative;z-index:1}.webshop-hero p{max-width:600px;color:#d7dae4;font-size:1.05rem;position:relative;z-index:1}.store-status-card{position:relative;z-index:2;min-width:330px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:1rem;display:flex;align-items:center;gap:.8rem;backdrop-filter:blur(8px)}.store-status-card>div{display:grid}.store-status-card small{color:#d4d7e2}.status-light{width:14px;height:14px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.14)}.status-light.open{background:#2ed48a;box-shadow:0 0 0 5px rgba(46,212,138,.14)}.fulfillment-choice{display:flex;gap:.8rem;margin:-26px auto 1.4rem;position:relative;z-index:4;justify-content:center}.fulfillment-choice button{width:min(320px,45%);min-height:90px;border:1px solid #ddd8d0;background:#fff;border-radius:14px;padding:.9rem 1.1rem;display:grid;grid-template-columns:36px 1fr;text-align:left;align-items:center;column-gap:.7rem;box-shadow:0 8px 20px rgba(32,37,58,.08)}.fulfillment-choice button>span{grid-row:1/3;font-size:1.5rem}.fulfillment-choice button small{color:var(--muted)}.fulfillment-choice button.active{border:2px solid var(--orange);background:#fffaf7}.store-closed-message{background:#fff3d7;border:1px solid #f2d193;border-radius:14px;padding:1rem 1.2rem;margin-bottom:1rem}.store-closed-message h2{margin-bottom:.2rem}.store-closed-message p{margin-bottom:0}.webshop-layout{display:grid;grid-template-columns:190px minmax(0,1fr) 330px;gap:1rem;align-items:start}.category-sidebar{position:sticky;top:95px;display:grid;gap:.25rem;background:#fff;border:1px solid #e3dfd8;border-radius:14px;padding:.8rem}.category-sidebar a{display:flex;align-items:center;gap:.55rem;text-decoration:none;padding:.55rem;border-radius:8px;font-weight:750}.category-sidebar a:hover{background:#f5f2ee}.category-sidebar a span{width:10px;height:10px;border-radius:50%;background:var(--cat)}.menu-content{min-width:0}.store-search{margin-bottom:1rem}.store-category{scroll-margin-top:95px;margin-bottom:1.5rem}.store-category>header{display:flex;align-items:center;gap:.6rem;margin-bottom:.7rem}.store-category>header h2{margin:0;font-size:1.55rem}.category-heading-dot{width:16px;height:16px;border-radius:5px;background:var(--cat)}.store-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.store-product-card{background:#fff;border:1px solid #e4e0da;border-radius:14px;min-height:170px;display:grid;grid-template-columns:92px minmax(0,1fr);overflow:hidden}.product-visual{background:var(--cat);background:linear-gradient(145deg,var(--cat),color-mix(in srgb,var(--cat),white 30%));display:grid;place-items:center;color:#fff}.product-visual span{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.25);display:grid;place-items:center;font-size:1.8rem;font-weight:950}.store-product-copy{padding:.9rem;display:flex;flex-direction:column}.store-product-copy h3{font-size:1.02rem}.store-product-copy p{font-size:.82rem;color:var(--muted);margin-bottom:.8rem}.store-product-copy footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto}.store-product-copy footer button{width:39px;height:39px;border:0;border-radius:10px;background:var(--orange);color:#fff;font-size:1.4rem;font-weight:800}.store-product-copy footer button:disabled{background:#bbb}.desktop-cart{position:sticky;top:95px;background:#fff;border:1px solid #e3dfd8;border-radius:14px;padding:1rem}.desktop-cart header{border-bottom:1px solid #eee9e2;padding-bottom:.7rem}.desktop-cart h2{margin-bottom:0}.cart-lines{max-height:390px;overflow:auto}.cart-line{display:flex;justify-content:space-between;gap:.8rem;padding:.8rem 0;border-bottom:1px solid #eee9e2}.cart-line>div{display:grid}.cart-line-controls{display:flex;align-items:center;gap:.45rem;margin-top:.3rem}.cart-line-controls button{width:28px;height:28px;border:0;border-radius:7px;background:#f0eeea;font-weight:900}.cart-total-row{display:flex;justify-content:space-between;font-size:1.12rem;padding:1rem 0}.desktop-cart .fine-print{text-align:center;font-size:.72rem;margin:.7rem 0 0}.cart-drawer{position:fixed;right:0;top:0;bottom:0;width:min(420px,92vw);background:#fff;z-index:200;transform:translateX(105%);transition:.22s ease;padding:1rem;display:flex;flex-direction:column}.cart-drawer.open{transform:translateX(0)}.cart-drawer header{display:flex;justify-content:space-between}.cart-drawer .cart-lines{flex:1}.scrim{position:fixed;inset:0;background:rgba(18,21,34,.5);z-index:190;opacity:0;visibility:hidden;transition:.2s}.scrim.open{opacity:1;visibility:visible}.webshop-footer{max-width:1500px;margin:0 auto;padding:1.4rem;display:flex;justify-content:space-between;color:var(--muted);font-size:.8rem}.webshop-footer a{color:var(--orange-dark)}

/* Status/receipt/login */
.status-header{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(1rem,calc((100vw - 900px)/2))}.order-status-body{background:linear-gradient(180deg,#fff8f3,#f3f4f7)}.status-page{min-height:calc(100dvh - 74px);display:grid;place-items:start center;padding:2rem 1rem}.status-card{width:min(650px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:1.6rem;text-align:center;box-shadow:var(--shadow)}.status-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:.5rem auto 1rem;background:var(--orange-soft);color:var(--orange);font-size:2rem;font-weight:950}.status-card>p{color:var(--muted)}.status-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;margin:1.2rem 0}.status-steps span{font-size:.68rem;font-weight:800;color:#a1a6b1;position:relative;padding-top:20px}.status-steps span:before{content:"";width:12px;height:12px;border-radius:50%;background:#d5d8df;position:absolute;top:0;left:50%;transform:translateX(-50%)}.status-steps span.active{color:var(--orange-dark)}.status-steps span.active:before{background:var(--orange);box-shadow:0 0 0 4px var(--orange-soft)}.ready-time{display:flex;justify-content:space-between;align-items:center;background:#edf8ff;border:1px solid #cce9fa;border-radius:12px;padding:.9rem 1rem;margin:1rem 0}.ready-time strong{font-size:1.25rem;color:#126198}.order-summary{text-align:left;border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.summary-heading{display:flex;justify-content:space-between;align-items:center}.summary-heading span{background:var(--orange-soft);color:var(--orange-dark);padding:.3rem .55rem;border-radius:999px;font-size:.7rem;font-weight:850}.summary-line,.summary-total,.summary-meta{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0}.summary-line>span{display:block}.summary-line small{display:block;color:var(--muted)}.summary-line b{margin-right:.25rem}.summary-line.adjustment{color:var(--orange-dark)}.summary-total{border-top:1px solid var(--line);font-size:1.15rem;margin-top:.35rem;padding-top:.8rem}.summary-meta{font-size:.82rem;color:var(--muted)}.receipt-body{background:#ececec}.receipt-page{min-height:100dvh;padding:1.5rem;display:grid;place-items:start center}.receipt{width:80mm;background:#fff;padding:8mm;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;box-shadow:0 10px 35px rgba(0,0,0,.14);font-size:12px}.receipt-header{text-align:center}.receipt-header h1{font-size:1.35rem}.receipt-rule{border-top:1px dashed #222;margin:10px 0}.receipt-line{display:flex;justify-content:space-between;gap:8px;padding:3px 0}.receipt-line span:first-child{flex:1}.receipt-line small{display:block}.receipt-line.total{font-size:14px;font-weight:900}.receipt-line.vat{font-size:10px}.receipt-footer-text{text-align:center}.login-body{background:var(--navy-2)}.login-page{min-height:100dvh;display:grid;grid-template-columns:1.1fr .9fr}.login-brand-panel{padding:clamp(2rem,7vw,7rem);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 80% 10%,rgba(242,104,42,.42),transparent 38%),linear-gradient(135deg,#1c2137,#0f1220);color:#fff}.login-brand-panel h1{font-size:clamp(2.6rem,6vw,5.5rem);max-width:850px}.login-brand-panel p{max-width:650px;color:#c8cddd;font-size:1.05rem}.login-card{background:#fff;padding:clamp(2rem,6vw,6rem);display:flex;flex-direction:column;justify-content:center}.login-card h2{font-size:2rem}.login-card>p{color:var(--muted)}.pin-form{display:grid;gap:1rem;margin:1rem 0}.pin-form input{font-size:1.5rem;letter-spacing:.35em;text-align:center}.login-card>small{color:var(--muted)}
.empty-state{text-align:center;color:var(--muted);padding:2rem 1rem}

@media(max-width:1450px){.staff-logo{width:190px}.staff-nav a{min-width:72px;padding-left:.5rem;padding-right:.5rem}.shop-chip{display:none}.category-tile-grid,.product-tile-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}.order-board{grid-template-columns:repeat(3,minmax(250px,1fr))}.metric-grid{grid-template-columns:repeat(3,1fr)}.webshop-layout{grid-template-columns:160px minmax(0,1fr) 300px}.store-product-grid{grid-template-columns:1fr}}
@media(max-width:1100px){.staff-logo>span:last-child{display:none}.staff-logo{width:65px}.staff-nav a span{display:none}.staff-nav a{min-width:54px}.staff-account{padding-left:.5rem}.pos-shell{grid-template-columns:minmax(0,1fr) 370px}.category-tile-grid,.product-tile-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.order-board{grid-template-columns:repeat(2,minmax(250px,1fr))}.dashboard-grid,.reports-grid{grid-template-columns:1fr}.chart-panel{grid-row:auto}.webshop-layout{grid-template-columns:150px minmax(0,1fr)}.desktop-cart{display:none}.webshop-contact{display:none}.settings-layout{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:760px){body{font-size:14px}.staff-shell{padding-top:64px}.staff-topbar{height:64px;padding:0 .4rem}.staff-logo{display:none}.staff-nav{padding:0}.staff-nav a{min-width:52px;padding:.45rem}.staff-account{border-left:0}.logout-button{width:38px;height:38px}.staff-page{padding:.85rem}.page-title-row{align-items:flex-start;flex-direction:column}.title-actions{width:100%}.metric-grid,.report-metrics{grid-template-columns:repeat(2,1fr)}.metric-card{min-height:115px}.metric-card>strong{font-size:1.45rem}.dashboard-grid{grid-template-columns:1fr}.order-list-row{grid-template-columns:40px minmax(0,1fr) auto}.order-list-row>.status-badge{display:none}.filter-panel{display:grid;grid-template-columns:1fr 1fr}.filter-panel .search-box,.filter-panel .button{grid-column:1/-1}.form-grid.two,.form-grid.three,.two-column-form{grid-template-columns:1fr}.pos-body{overflow:auto}.pos-shell{display:block;height:auto}.pos-workspace{min-height:calc(100dvh - 64px);padding-bottom:520px}.pos-toolbar{flex-wrap:wrap}.pos-toolbar .search-box{width:100%;order:-1}.pos-clock{display:none}.category-tile-grid,.product-tile-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.category-tile,.product-tile{min-height:88px}.order-panel{position:fixed;left:0;right:0;bottom:0;height:500px;z-index:80;border-left:0;border-top:2px solid var(--line);border-radius:18px 18px 0 0;box-shadow:0 -12px 35px rgba(20,25,41,.16)}.order-panel-head{height:58px}.order-action-strip button{min-height:52px}.order-empty{min-height:80px}.order-lines{min-height:80px}.compact-note{display:none}.checkout-controls{gap:.45rem}.order-board{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr}.settings-menu{position:static;display:flex;overflow-x:auto}.settings-menu button{width:auto;white-space:nowrap}.hours-row{grid-template-columns:1fr 1fr}.hours-day{grid-column:1/-1}.inline-settings{grid-template-columns:1fr}.webshop-header{height:66px;padding:0 .8rem}.webshop-contact{display:none}.webshop-brand small{display:none}.webshop-main{padding:.75rem}.webshop-hero{min-height:230px;padding:1.3rem;display:block}.webshop-hero h1{font-size:2.45rem}.store-status-card{min-width:0;margin-top:1rem}.fulfillment-choice{margin:-12px 0 1rem}.fulfillment-choice button{width:50%;padding:.7rem;grid-template-columns:28px 1fr}.webshop-layout{display:block}.category-sidebar{position:sticky;top:66px;z-index:20;display:flex;overflow-x:auto;border-radius:0;margin:0 -.75rem 1rem;padding:.55rem}.category-sidebar .overline{display:none}.category-sidebar a{white-space:nowrap}.store-product-grid{grid-template-columns:1fr}.store-product-card{grid-template-columns:75px 1fr;min-height:145px}.webshop-footer{flex-direction:column;gap:.4rem;padding:1rem}.login-page{grid-template-columns:1fr}.login-brand-panel{display:none}.login-card{min-height:100dvh;padding:2rem}.report-range{display:grid;grid-template-columns:1fr 1fr}.report-range .button{grid-column:1/-1}.bar-chart{height:300px}.status-page{padding:1rem}.status-card{padding:1.1rem}.success-actions{flex-direction:column}.modal-footer{position:sticky;bottom:0}.checkout-footer{flex-direction:column;align-items:stretch}.checkout-footer>div{display:flex;justify-content:space-between}.filter-panel>label:not(.search-box){min-width:0}}
@media(max-width:460px){.metric-grid,.report-metrics{grid-template-columns:1fr}.category-tile-grid,.product-tile-grid{grid-template-columns:repeat(2,minmax(105px,1fr))}.category-tile span,.product-tile span{font-size:.82rem}.order-panel{height:480px}.fulfillment-choice{flex-direction:column}.fulfillment-choice button{width:100%}.status-steps span{font-size:.58rem}}
@media print{body{background:#fff}.receipt-page{padding:0}.receipt{box-shadow:none;padding:0;width:72mm}.no-print,.staff-topbar{display:none!important}.staff-shell{padding-top:0}}

/* Menu 3.0: Excel, bulkprijzen, voorraad en keuzegroepen */
.products-admin-table{min-width:1280px}.products-admin-table th:first-child,.products-admin-table td:first-child{width:48px}.products-admin-table input[type=checkbox],.admin-table input[type=checkbox]{width:20px;height:20px;min-height:auto;accent-color:var(--orange)}.selection-count{align-self:center;margin-left:auto;color:var(--muted);font-size:.82rem;font-weight:800}.modifier-tools>div{display:grid}.modifier-tools small{color:var(--muted);margin-top:.15rem}.wide-cell{max-width:520px}.compact-tags{display:flex;flex-wrap:wrap;gap:.3rem}.compact-tags em{font-style:normal;background:#edf0f5;color:#4c5467;border-radius:999px;padding:.22rem .48rem;font-size:.68rem;font-weight:800}.form-section{border-top:1px solid var(--line);padding-top:1rem}.form-section-title{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.8rem}.form-section-title h3,.form-section-title p{margin-bottom:0}.form-section-title p{color:var(--muted);font-size:.82rem}.choice-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.choice-link-card{display:flex;gap:.7rem;align-items:center;border:1px solid var(--line);border-radius:11px;padding:.75rem;background:#fff}.choice-link-card input{width:20px;height:20px;min-height:auto;accent-color:var(--orange)}.choice-link-card span{display:grid}.choice-link-card small{font-weight:500;color:var(--muted)}.modifier-option-editor{display:grid;gap:.55rem}.modifier-option-row{display:grid;grid-template-columns:minmax(200px,1.5fr) minmax(120px,.7fr) 100px 90px 42px;gap:.55rem;align-items:end;padding:.65rem;border:1px solid var(--line);border-radius:11px;background:#fafbfc}.modifier-option-row label{font-size:.72rem}.modifier-option-row .option-active{display:flex;align-items:center;gap:.4rem;min-height:46px}.modifier-option-row .option-active input{width:18px;height:18px;min-height:auto}.option-remove{width:42px;height:42px;border:0;border-radius:9px;background:#fee2e2;color:#a51f1f;font-size:1.25rem}.import-result{border:1px solid var(--line);border-radius:12px;padding:1rem;background:#fafbfc}.import-result p{margin:.35rem 0}.import-result ul{margin:.5rem 0 0;padding-left:1.2rem;max-height:190px;overflow:auto}.success-text{color:var(--green);font-weight:800}

/* Productkeuzes in kassa en webshop */
.product-options-dialog .modal-header p{margin:.25rem 0 0;opacity:.9}.modifier-choice-groups{display:grid;gap:1rem}.modifier-choice-group{border:1px solid var(--line);border-radius:13px;padding:1rem;background:#fafbfc}.modifier-choice-group>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.modifier-choice-group h3,.modifier-choice-group p{margin-bottom:0}.modifier-choice-group p{color:var(--muted);font-size:.82rem;margin-top:.18rem}.modifier-choice-group>header>small{color:var(--muted);font-weight:750;text-align:right}.required-chip,.optional-chip{display:inline-block;vertical-align:middle;border-radius:999px;padding:.18rem .45rem;font-size:.62rem;margin-left:.35rem}.required-chip{background:#ffe1d2;color:#a83d10}.optional-chip{background:#e8edf4;color:#596174}.modifier-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.modifier-choice-tile{position:relative;display:block}.modifier-choice-tile input{position:absolute;opacity:0;pointer-events:none}.modifier-choice-tile span{display:grid;gap:.15rem;min-height:70px;padding:.75rem;border:2px solid var(--line);border-radius:11px;background:#fff;transition:.12s}.modifier-choice-tile small{color:var(--muted);font-weight:600}.modifier-choice-tile input:checked+span{border-color:var(--orange);background:var(--orange-soft);box-shadow:0 0 0 2px rgba(242,104,42,.10)}.modifier-choice-tile input:focus-visible+span{outline:3px solid rgba(242,104,42,.25)}.line-sub-actions{display:flex;flex-wrap:wrap;gap:.6rem}.line-modifiers,.cart-modifiers{color:var(--orange-dark)!important;font-weight:750!important}.cart-modifiers{display:block;font-size:.72rem;margin-top:.12rem}.cart-edit{width:auto!important;padding:0 .45rem!important;color:var(--orange-dark)}.store-product-card .add-product.has-options{width:auto;min-width:66px;padding:0 .65rem;border-radius:9px;font-size:.78rem}.ticket-items .line-modifiers{display:block}.receipt-line small+small,.summary-line small+small{color:var(--muted)}

@media(max-width:760px){.choice-link-grid{grid-template-columns:1fr}.modifier-option-row{grid-template-columns:1fr 1fr}.modifier-option-row label:first-of-type{grid-column:1/-1}.modifier-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modifier-choice-group>header{display:block}.modifier-choice-group>header>small{display:block;text-align:left;margin-top:.35rem}.selection-count{width:100%;margin-left:0}.table-tools{flex-wrap:wrap}.table-tools .search-box,.table-tools select{max-width:none;width:100%}}
@media(max-width:440px){.modifier-choice-grid{grid-template-columns:1fr}.modifier-option-row{grid-template-columns:1fr}.modifier-option-row label:first-of-type{grid-column:auto}}

/* Kassa Arie 3.0: planning, voorraad, gezondheid en keuken */
.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.product-unavailable{opacity:.58;filter:grayscale(.25)}.sold-out-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.24rem .55rem;background:#fee2e2;color:#991b1b;font-size:.7rem;font-weight:900}.allergen-note{display:block;margin-top:.3rem;color:#9a3412;font-size:.74rem;font-weight:750}.schedule-callout{border-left:4px solid var(--orange);background:var(--orange-soft);padding:.7rem .8rem;border-radius:9px}.ticket.scheduled{box-shadow:inset 0 4px 0 #2874d0}.health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.health-card{border:1px solid var(--line);border-radius:12px;padding:1rem;background:#fff;display:grid;gap:.25rem}.health-card strong{font-size:1rem}.health-card small{color:var(--muted)}.health-card.ok{border-color:#a7f3d0;background:#f0fdf4}.health-card.warning{border-color:#fde68a;background:#fffbeb}.health-card.error{border-color:#fecaca;background:#fef2f2}.kitchen-ticket{max-width:82mm;margin:0 auto;background:#fff;padding:4mm;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.kitchen-line{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;border-bottom:1px dashed #999}.kitchen-line strong:first-child{font-size:1.15rem}.recipe-note{margin:.3rem 0;padding:.35rem .45rem;background:#f3f4f6;border-radius:5px;font-size:.78rem}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:.35rem}.icon-link{width:38px;height:38px;border:1px solid var(--line-dark);border-radius:9px;background:#fff;display:inline-grid;place-items:center;text-decoration:none;font-weight:900}.icon-link.danger{color:#b91c1c;border-color:#fecaca;background:#fff7f7}.icon-link:disabled{opacity:.45;cursor:not-allowed}.payment-refunded{color:#b91c1c;font-weight:800}.receipt-line.refunded{color:#b91c1c;font-weight:850}
@media(max-width:1000px){.form-grid.four,.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.form-grid.four,.health-grid{grid-template-columns:1fr}}

.metric-card.danger{border-color:#fecaca;background:#fff7f7}.metric-card.danger>strong{color:#b91c1c}
