.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url("./layers-55W3Q4RM.png");width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url("./layers-2x-TBM42ERR.png");background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url("./marker-icon-2V3QKKVC.png")}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}:root{--bg: #f6efe4;--surface: #fffdf9;--ink: #2f211c;--muted: #86766a;--line: #e6d9c6;--sand: #efe3d0;--wood: #3c2a24;--wood-deep: #2a1c17;--accent: #e6562e;--accent-deep: #b9482a;--accent-ink: #ffffff;--ok: #2f7d4f;--ok-bg: #e1f1e4;--warn: #a8590b;--warn-bg: #fbe9c8;--danger: #b3261e;--danger-bg: #fbe1dd;--info: #7a4a2b;--info-bg: #f1e1d0;--radius: 12px;--font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;--font-display: "Reem Kufi", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;--najdi-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath d='M0 12 6 0l6 12z' fill='%23e6562e'/%3E%3Cpath d='M12 12 18 0l6 12z' fill='%23f3d9b8'/%3E%3Cpath d='M24 12 30 0l6 12z' fill='%23b9482a'/%3E%3C/svg%3E")}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:15px;line-height:1.6}h1{font-family:var(--font-display);font-size:24px;font-weight:600;margin:0;color:var(--wood)}h2{font-size:18px;margin:0 0 8px}h3{font-size:16px;margin:0}code{background:var(--bg);padding:1px 6px;border-radius:4px;direction:ltr;unicode-bidi:embed}.muted{color:var(--muted)}.small{font-size:13px}.shell{display:flex;min-height:100vh}.sidebar{width:230px;flex-shrink:0;background:var(--wood-deep);color:#fff;display:flex;flex-direction:column;padding:0 12px 18px;position:sticky;top:0;height:100vh}.najdi-band{height:12px;background:var(--najdi-band) repeat-x;background-size:36px 12px}.sidebar .najdi-band{margin:0 -12px;transform:scaleY(-1)}.brand{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 10px 16px;text-align:center}.brand img{width:104px;height:104px;object-fit:contain;padding:10px;border-radius:50%;background:#fff;border:3px solid var(--sand)}.brand-name{font-family:var(--font-display);font-size:20px;font-weight:600}.brand-sub{font-size:12px;color:#cdbba8;letter-spacing:.5px}.sidebar nav{display:flex;flex-direction:column;gap:4px;flex:1}.nav-link{color:#e2d5c5;text-decoration:none;padding:10px 14px;border-radius:10px}.nav-link:hover{background:#ffffff14}.nav-link.active{background:var(--accent);color:#fff}.sidebar-foot{display:flex;flex-direction:column;gap:8px;padding:10px}.sidebar-foot .muted{color:#cdbba8}.sidebar-foot .btn.ghost{color:#fff;border-color:#ffffff40}.content{flex:1;padding:24px;min-width:0}.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.center-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:0 1px 2px #3c2a240d}.notice{max-width:460px}.login{width:100%;max-width:360px;display:flex;flex-direction:column;gap:14px}.login{padding:0 0 22px;overflow:hidden;box-shadow:0 18px 40px #3c2a241f}.login>*:not(.najdi-band){margin-inline:22px}.login-logo{width:170px;height:170px;object-fit:contain;align-self:center;margin-top:4px;mix-blend-mode:multiply}.login h1{text-align:center;font-size:20px;margin-bottom:6px}.center-screen{background:radial-gradient(circle at 20% 10%,rgba(230,86,46,.08),transparent 45%),radial-gradient(circle at 85% 90%,rgba(60,42,36,.08),transparent 45%)}.btn{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:7px 14px;border-radius:8px;cursor:pointer;text-decoration:none;display:inline-block}.btn:hover{border-color:var(--muted)}.btn:disabled{opacity:.55;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:600}.btn.primary:hover{background:var(--accent-deep);border-color:var(--accent-deep)}.btn.danger{color:var(--danger);border-color:var(--danger)}.btn.ghost{background:transparent}.btn.small{padding:3px 9px;font-size:13px}label{display:flex;flex-direction:column;gap:4px;font-size:14px;flex:1}label.check{flex-direction:row;align-items:center;gap:8px}input,select,textarea{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);width:100%}input[type=checkbox]{width:auto}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}.search{max-width:260px}.row{display:flex;gap:10px;flex-wrap:wrap}.row.tight{gap:4px;flex-wrap:nowrap}.form{display:flex;flex-direction:column;gap:12px}.error{background:var(--danger-bg);color:var(--danger);padding:9px 12px;border-radius:8px;margin-bottom:12px}.success{background:var(--ok-bg);color:var(--ok);padding:9px 12px;border-radius:8px}.empty{color:var(--muted);text-align:center;padding:28px 10px}.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}.stat{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:var(--radius);padding:16px;box-shadow:0 1px 2px #3c2a240d}.stat-label{color:var(--muted);font-size:13px}.stat-value{font-size:26px;font-weight:700;color:var(--wood)}.stat-value.warn{color:var(--accent)}.tabs{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap}.tab{font:inherit;border:1px solid var(--line);background:var(--surface);padding:6px 14px;border-radius:999px;cursor:pointer;color:var(--ink)}.tab.active{background:var(--wood);border-color:var(--wood);color:#fff}.count{display:inline-block;min-width:20px;text-align:center;background:#00000014;border-radius:999px;padding:0 6px;font-size:12px;margin-inline-start:4px}.tab.active .count{background:#ffffff38}.order-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.order{display:flex;flex-direction:column;gap:4px}.order-top{display:flex;justify-content:space-between;align-items:center}.order-total{font-size:18px;font-weight:700;color:var(--accent-deep);margin:4px 0 8px}.badge{font:inherit;font-size:12px;border:0;border-radius:999px;padding:2px 10px;background:var(--bg);color:var(--ink);white-space:nowrap}button.badge{cursor:pointer}button.badge:disabled{cursor:default;opacity:.6}.badge.ok,.badge.s-delivered{background:var(--ok-bg);color:var(--ok)}.badge.off,.badge.s-cancelled{background:var(--danger-bg);color:var(--danger)}.badge.s-pending{background:var(--warn-bg);color:var(--warn)}.badge.s-accepted,.badge.s-preparing,.badge.s-ready,.badge.s-on_the_way{background:var(--info-bg);color:var(--info)}.detail{display:flex;flex-direction:column;gap:10px}.totals{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line);padding-top:8px}.totals>div{display:flex;justify-content:space-between}.totals .grand{font-weight:700;font-size:16px}.table{width:100%;border-collapse:collapse}.table th{text-align:start;font-size:13px;color:var(--muted);font-weight:600;padding:8px;border-bottom:1px solid var(--line)}.table td{padding:8px;border-bottom:1px solid var(--line);vertical-align:middle}.table tr:last-child td{border-bottom:0}.table select{width:auto;padding:4px 8px}.menu-layout{display:grid;grid-template-columns:260px 1fr;gap:14px;align-items:start}.cat-list{padding:8px;display:flex;flex-direction:column;gap:2px}.cat{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:8px 10px;border-radius:8px;cursor:pointer}.cat:hover{background:var(--bg)}.cat.active{background:var(--sand);font-weight:600}.thumb{width:44px;height:44px;border-radius:8px;object-fit:cover;display:block}.thumb.placeholder{background:var(--bg);border:1px dashed var(--line)}.preview{max-width:140px;border-radius:8px}.modal-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;overflow-y:auto;z-index:50}.modal{background:var(--surface);border-radius:var(--radius);width:100%;max-width:560px}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}.modal-body{padding:16px}@media(max-width:820px){.shell{flex-direction:column}.sidebar{width:100%;height:auto;position:static;padding:10px}.brand{flex-direction:row;padding:10px;text-align:start}.brand img{width:52px;height:52px;padding:4px}.brand-sub{display:none}.sidebar nav{flex-direction:row;flex-wrap:wrap}.sidebar-foot{flex-direction:row;align-items:center;justify-content:space-between}.content{padding:14px}.menu-layout{grid-template-columns:1fr}.card{overflow-x:auto}}select.scope{width:auto;min-width:200px}.opt-group{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}.opt-head,.opt-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.opt-row{padding:5px 0;border-top:1px dashed var(--line)}.opt-add{flex-wrap:nowrap;padding-top:6px}.opt-add input{flex:1;min-width:0}.opt-add input.narrow{flex:0 0 110px}.opt-add .btn{white-space:nowrap}.opt-new{background:var(--bg);border-radius:10px;padding:12px}.hours-row{display:grid;grid-template-columns:80px 1fr auto 1fr auto;align-items:center;gap:8px}.hours-row label.check{flex:none}.banner-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.banner{display:flex;flex-direction:column;gap:8px}.banner img{width:100%;aspect-ratio:2 / 1;object-fit:cover;border-radius:8px}.preview.wide{max-width:100%}.settings{max-width:720px}.settings h3{margin-top:6px;color:var(--accent-deep)}.invoice{display:none}@media print{@page{margin:4mm}body{background:#fff}.sidebar,.modal-backdrop{display:none!important}.shell{display:block;min-height:0}.content{padding:0}.content>div>*:not(.invoice){display:none!important}.invoice{display:block;width:72mm;margin:0 auto;color:#000;font-size:12px;line-height:1.5}.invoice img{width:34mm;height:34mm;object-fit:contain}.invoice hr{border:0;border-top:1px dashed #000;margin:6px 0}.inv-center{text-align:center}.inv-title{font-size:16px;font-weight:700}.inv-kind{font-weight:700;margin:4px 0 6px}.inv-line{display:flex;justify-content:space-between;gap:8px}.inv-sub{padding-inline-start:12px;font-size:11px}.inv-total{font-size:15px;font-weight:700;margin-top:4px}.inv-foot{margin-top:10px}}.cat-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin-bottom:12px}.chip{font:inherit;display:flex;align-items:center;gap:10px;padding:8px 10px;background:var(--surface);border:1px solid var(--line);border-radius:12px;cursor:pointer;color:var(--ink);text-align:start}.chip:hover{border-color:var(--accent)}.chip.active{border-color:var(--accent);background:#fdeee8;font-weight:600}.chip-icon{flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:var(--sand);color:var(--wood);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;object-fit:cover}.cat-actions{align-items:center;margin-bottom:12px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:14px}.product{display:flex;flex-direction:column;gap:4px;padding:12px}.product.off{opacity:.72}.product-img{aspect-ratio:4 / 3;border-radius:10px;background:var(--sand);overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px;margin-bottom:6px}.product-img img{width:100%;height:100%;object-fit:cover}.product-name{font-weight:700;font-size:16px}.product-price{color:var(--accent);font-weight:700;font-size:18px}.product-actions{display:flex;gap:6px;margin-top:8px}.product-actions .btn{flex:1;text-align:center;padding:6px 4px}.map{height:340px;border-radius:10px;border:1px solid var(--line);direction:ltr;z-index:0}.modal:has(.map),.modal:has(.import-preview){max-width:760px}.import-preview{border:1px solid var(--line);border-radius:10px;padding:6px 10px;overflow-x:auto}.import-list{margin:6px 0 0;padding-inline-start:18px;font-size:13px}.nav-link{display:flex;justify-content:space-between;align-items:center}.nav-count{background:#fff;color:var(--accent-deep);border-radius:999px;min-width:22px;text-align:center;font-size:12px;font-weight:700;padding:0 6px}.order-alert{position:fixed;top:16px;left:50%;transform:translate(-50%);z-index:80;display:flex;align-items:center;gap:12px;background:var(--wood-deep);color:#fff;padding:12px 18px;border-radius:14px;box-shadow:0 12px 32px #0000004d;border:2px solid var(--accent);animation:alert-pulse 1.2s ease-in-out infinite}@keyframes alert-pulse{0%,to{box-shadow:0 12px 32px #0000004d,0 0 #e6562e99}50%{box-shadow:0 12px 32px #0000004d,0 0 0 12px #e6562e00}}.call-note{background:var(--warn-bg);color:var(--warn);border-radius:8px;padding:5px 9px;font-size:13px;font-weight:600}.auto-note{background:var(--ok-bg);color:var(--ok);border-radius:8px;padding:5px 9px;font-size:13px;font-weight:600}label.auto-print{flex:none;font-size:13px}input[type=range]{padding:0;accent-color:var(--accent)}@media print{.order-alert{display:none!important}}.badge.type-delivery{background:var(--info-bg);color:var(--info)}.badge.type-pickup{background:var(--sand);color:var(--wood)}.badge.type-dine_in{background:var(--warn-bg);color:var(--warn)}.sidebar{overflow-y:auto}.branch-switch{display:flex;flex-direction:column;gap:4px;margin:0 4px 12px;font-size:12px;color:#cdbba8}.branch-switch select{background:#ffffff14;color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:10px;padding:8px 10px;font:inherit;font-size:14px}.branch-switch option{color:var(--ink)}.branch-fixed{margin:0 4px 12px;padding:8px 12px;border-radius:10px;border:1px dashed rgba(255,255,255,.25);color:#fff;font-size:14px;text-align:center}.perm-grid{display:grid;gap:14px}.perm-group h4{margin:0 0 6px;font-size:13px;color:var(--muted)}.perm-row{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:14px}.perm-row input{width:18px;height:18px;accent-color:var(--accent)}.perm-row .tag{font-size:11px;padding:1px 7px;border-radius:999px;background:var(--info-bg);color:var(--info)}.perm-row .tag.plus{background:var(--ok-bg);color:var(--ok)}.perm-row .tag.minus{background:var(--danger-bg);color:var(--danger)}.matrix-wrap{overflow:auto;max-height:70vh}.matrix{border-collapse:collapse;font-size:13px;min-width:900px}.matrix th,.matrix td{border-bottom:1px solid var(--line);padding:6px 8px;text-align:center;white-space:nowrap}.matrix th{position:sticky;top:0;background:var(--surface);z-index:1;font-weight:600}.matrix td.perm-name{text-align:start;white-space:normal;min-width:220px}.matrix tr.group td{background:var(--sand);font-weight:700;text-align:start;color:var(--wood)}.matrix input{width:17px;height:17px;accent-color:var(--accent)}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);cursor:pointer;font:inherit;font-size:13px}.chip.on{background:var(--wood);border-color:var(--wood);color:#fff}.diff{margin:0;padding:0;list-style:none;font-size:13px}.diff li{padding:2px 0}.diff .old{color:var(--danger);text-decoration:line-through}.diff .new{color:var(--ok)}.audit-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.audit-filters select,.audit-filters input{padding:8px 10px;border-radius:10px;border:1px solid var(--line);font:inherit;background:var(--surface)}.grow{flex:1}.form label.perm-row{flex-direction:row;align-items:center;gap:8px}.form label.perm-row input{width:18px;flex:none}.audit-filters select,.audit-filters input{width:auto;min-width:170px}.badge.s-rejected{background:var(--danger-bg);color:var(--danger)}.badge.s-needs_followup{background:var(--warn-bg);color:var(--warn)}.card.order.late{border-color:var(--danger);box-shadow:0 0 0 2px #b3261e26}.late-note{background:var(--danger-bg);color:var(--danger);border-radius:8px;padding:5px 9px;font-size:13px;font-weight:600}.notes-box{background:var(--warn-bg);border-radius:8px;padding:8px 10px}.call-box{border:1px dashed var(--accent);border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px}.timeline{list-style:none;margin:0;padding:0 14px 0 0;border-inline-start:2px solid var(--line)}.timeline li{position:relative;padding:4px 0}.timeline li:before{content:"";position:absolute;inset-inline-start:-20px;top:11px;width:10px;height:10px;border-radius:50%;background:var(--accent)}.timeline li.call:before{background:var(--wood)}.kds{min-height:100vh;background:#2a1c17;color:#fff;display:flex;flex-direction:column}.kds-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;background:#1e140f;border-bottom:3px solid var(--accent);flex-wrap:wrap}.kds-title{display:flex;align-items:center;gap:10px;font-size:20px}.kds-title img{width:44px;height:44px;border-radius:50%;background:#fff;padding:4px}.kds-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.kds-tools select{padding:7px 10px;border-radius:10px;font:inherit}.kds-tools .btn{background:transparent;color:#fff;border-color:#ffffff4d}.kds-clock{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}.kds-dot{font-size:13px;color:#ffb4a4}.kds-dot:before{content:"\25cf";margin-inline-end:4px;color:#e6562e}.kds-dot.on{color:#b9e4c4}.kds-dot.on:before{color:#4caf6a}.kds-error{margin:10px 18px 0}.kds-cols{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:12px;align-items:start}.kds-col h2{font-size:18px;margin:0 0 10px;display:flex;align-items:center;gap:8px;color:#f3d9b8}.kds-count{background:var(--accent);color:#fff;border-radius:999px;padding:0 10px;font-size:15px}.kds-empty{color:#a8968a;padding:20px;text-align:center;border:1px dashed rgba(255,255,255,.15);border-radius:12px}.kds-card{background:#fffdf9;color:var(--ink);border-radius:14px;margin-bottom:12px;overflow:hidden;border:3px solid transparent}.col-ready .kds-card{opacity:.85}.kds-card.late{border-color:#d32f2f;animation:kds-pulse 1.6s ease-in-out infinite}@keyframes kds-pulse{50%{box-shadow:0 0 0 6px #d32f2f59}}.kds-card-main{display:block;width:100%;text-align:start;background:none;border:0;padding:12px 14px 8px;font:inherit;color:inherit;cursor:pointer}.kds-card-top{display:flex;justify-content:space-between;align-items:center}.kds-num{font-size:28px;font-weight:800;color:var(--wood)}.kds-timer{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ok)}.kds-timer.late{color:#d32f2f}.kds-type{margin:8px 0;padding:8px 12px;border-radius:10px;font-size:20px;font-weight:800;text-align:center}.kds-type.dine{background:#e1f1e4;color:#1f6b3a}.kds-type.pickup{background:#fbe9c8;color:#8a4708}.kds-type.delivery{background:#f1e1d0;color:#5a3220}.kds-branch{color:var(--muted)}.kds-items{list-style:none;margin:6px 0;padding:0;font-size:19px;line-height:1.5}.kds-items li{padding:4px 0;border-bottom:1px dashed var(--line)}.kds-items.big{font-size:22px}.kds-qty{font-weight:800;color:var(--accent)}.kds-opts{font-size:15px;color:var(--muted);padding-inline-start:26px}.kds-note{font-size:16px;font-weight:700;color:#9a2a14;background:#fff1d6;border-radius:6px;padding:2px 8px;margin-top:3px}.kds-note.big{font-size:18px;margin:6px 0}.kds-actions{display:flex;gap:8px;padding:0 14px 12px}.kds-actions .btn{flex:1;font-size:17px;padding:12px}@media(max-width:900px){.kds-cols{grid-template-columns:1fr}}.overdue-bar{background:var(--danger);color:#fff;font-weight:700;border-radius:10px;padding:10px 14px;margin-bottom:14px;cursor:pointer;animation:kds-pulse 1.6s ease-in-out infinite}.kds-tools select{width:auto;min-width:150px}.driver-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-bottom:20px}.card.driver{display:flex;flex-direction:column;gap:5px}.card.driver.off{opacity:.55}.delivery-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:start}.delivery-cols h2{font-size:16px}.delivery-cols .card.order{margin-bottom:10px}.strong{font-weight:700}@media(max-width:1100px){.delivery-cols{grid-template-columns:1fr}}.notice-ok{background:var(--ok-bg);color:var(--ok);border-radius:10px;padding:8px 12px;margin-bottom:12px}button.link{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}.report-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:14px;margin-top:14px}@media print{.content>div.report-page>.report-body{display:block!important}.no-print{display:none!important}.report-grid{grid-template-columns:1fr 1fr}.report-grid .card{break-inside:avoid}}.page-head .row input,.page-head .row select{width:auto;min-width:140px}.page-head .row{flex-wrap:wrap;justify-content:flex-end}tr.clickable{cursor:pointer}tr.clickable:hover td{background:var(--sand)}.good{color:#1f6b35}.seating{margin-bottom:16px}.mode-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 6px}.mode-bar select{width:auto}.mode-bar input{min-width:220px}.btn.warn{background:#fff3e0;border-color:#e8a04a;color:#8a4b00}.btn.warn.on{background:#e8a04a;color:#fff}.btn.ghost.off{color:#a12a1a}.table-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.tcard{border:1px solid var(--line);border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:6px;border-inline-start:4px solid #3c9a5f}.tcard.seated{border-inline-start-color:#e8562a;background:#fdf1ec}.tcard.held{border-inline-start-color:#a12a1a;background:#fbeceb}.tcard.soon{border-inline-start-color:#e8a04a;background:#fff8ee}.tcard .tstate{font-weight:600}.dm{margin-bottom:16px;display:flex;flex-direction:column;gap:8px}.dm-map{height:460px;border-radius:12px;overflow:hidden;border:1px solid var(--line, #e6dbc8)}.dm-legend{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.dm-legend i{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:middle;margin-inline-end:4px}.dm-driver,.dm-branch,.dm-dest{background:none;border:none}.dm-driver>*,.dm-branch>*,.dm-dest>*{position:absolute;transform:translate(-50%,-50%);white-space:nowrap}.dm-driver i{font-style:normal;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;font-size:17px;border:3px solid #fff;box-shadow:0 2px 6px #0005;left:0;top:0}.dm-driver b{top:26px;left:0;background:#fff;color:#3b2a1e;font-size:12px;padding:1px 7px;border-radius:8px;box-shadow:0 1px 3px #0003}.dm-driver.stale{opacity:.45}.dm-branch span{font-size:22px;left:0;top:0}.dm-branch b{top:-24px;left:0;background:#3b2a1e;color:#fff;font-size:11px;padding:1px 6px;border-radius:6px}.dm-dest span{font-size:20px;left:0;top:-8px}.dm-dest b{top:12px;left:0;background:#2563eb;color:#fff;font-size:11px;padding:0 5px;border-radius:6px}.dm-pop{direction:rtl;text-align:right;font-family:inherit;line-height:1.6;min-width:160px}.dm-pop .muted{color:#8d7b69;font-size:12px}.dm-orders{margin:4px 0;padding-top:4px;border-top:1px dashed #e6dbc8;font-size:12px}
