
:root{--bg:#f4f5f7;--surface:#fff;--text:#1f2937;--muted:#83909e;--line:#e9ecf0;--navy:#111b2e;--accent:#ec8b32;--accent-bg:#fff5e9;--green:#168569;--map-bg:#fbfaf7;--grid:#dddcd6;--wall:#9da6ab;--fixture:#eee9e0;--shadow:0 8px 24px #15243a05;color-scheme:light}*{box-sizing:border-box}body{margin:0;font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:10px 14px;cursor:pointer;color:var(--text);font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;transition:background .15s,box-shadow .15s,transform .15s}button:hover,.button:hover{background:var(--bg);box-shadow:0 2px 6px #15243a08}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:not-allowed}button.primary,.button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button.primary:hover{background:#dc7924}button.subtle{background:transparent}button.danger{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.icon{width:40px;height:40px;min-height:40px;padding:0;font-size:20px}.small{padding:5px 9px;min-height:32px;font-size:12px}.wide{width:100%}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.25;letter-spacing:-1.1px;font-weight:720}h2{font-size:24px;letter-spacing:-.6px}h3{font-size:16px;font-weight:680}p{color:var(--muted);margin:6px 0 12px}small{font-size:11px}.muted{color:var(--muted)}.orange{color:#cc7429}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:var(--navy);color:#fff;padding:32px 19px 22px;display:flex;flex-direction:column;z-index:20}.brand{color:white;font-size:25px;font-weight:750;letter-spacing:-.7px;display:flex;align-items:center;gap:9px;text-decoration:none;margin:0 10px 30px}.brand>span:last-child{color:#f5a34f;margin-left:-9px}.brand-icon{display:grid;place-items:center;width:35px;height:35px;background:var(--accent);border-radius:10px;color:white;font-size:26px;line-height:1}.restaurant{display:flex;align-items:center;gap:10px;background:#ffffff09;border:1px solid #ffffff0d;border-radius:11px;padding:12px 10px;margin-bottom:30px}.restaurant div{flex:1}.restaurant b{font-size:12px}.restaurant small{display:block;color:#8c99ad;font-size:9px}.restaurant-icon{display:grid;place-items:center;width:30px;height:32px;border-radius:8px;background:#293346;font-family:Georgia,serif;font-size:22px;color:#d6bb94}.nav-label{font-size:9px;letter-spacing:1.5px;color:#66748b;margin:0 12px 13px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{color:#9da9bb;border:0;background:none;justify-content:flex-start;font-size:12px;padding:12px;min-height:43px}.sidebar nav button:hover{background:#ffffff08}.sidebar nav button.current{background:#ec8b3219;color:#f4a34f}.nav-icon{font-size:20px;line-height:1;width:23px;text-align:center;margin-right:5px}.sidebar nav button small{margin-left:auto;background:#ffffff10;border-radius:5px;padding:1px 6px;color:inherit}.sidebar-bottom{margin-top:auto;padding:24px 12px 0}.sidebar-bottom p{font-size:19px;color:#8793a7;line-height:1.4;margin:28px 0}.sidebar-bottom p b{color:#d6deea;font-weight:500}.sidebar-bottom>small{color:#55657d;font-size:10px}.shift-status{font-size:11px;color:#bcc5d2;display:flex;align-items:center;gap:8px}.live-dot{display:inline-block;width:7px;height:7px;background:#34bd92;border-radius:50%;box-shadow:0 0 0 4px #34bd9212}.workspace{margin-left:240px;min-height:100vh}.topbar{height:80px;padding:0 34px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:var(--surface);border-bottom:1px solid var(--line)}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{padding:0 14px;color:#c0c8d1}.top-actions{display:flex;align-items:center;gap:12px}.top-actions select{padding:8px 25px 8px 10px;min-height:36px;font-size:11px;background:var(--bg);border-color:var(--line)}.connection{font-size:10px;color:var(--green);white-space:nowrap}.demo-label{font-size:8px;letter-spacing:1.3px;color:#a7afb8}.notification-count{font-size:9px;background:var(--accent-bg);color:var(--accent);padding:0 3px;border-radius:4px}.avatar{width:42px;height:42px;display:grid;place-items:center;color:white;border-radius:13px;font-size:18px;font-weight:700}.small-avatar{width:32px;height:32px;border-radius:50%;font-size:12px}main{padding:31px 34px 15px;max-width:1800px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.page-title h1{margin:8px 0}.page-title p{font-size:12px;margin:0}.page-actions{display:flex;gap:8px}.page-actions button{font-size:11px;min-height:36px}.guide-callout{background:#fff8ef;border:1px solid #f7e8d5;border-radius:12px;display:flex;align-items:center;gap:15px;padding:13px 18px;margin-bottom:24px}.guide-callout>span{font-size:26px;color:#d8924a}.guide-callout div{flex:1}.guide-callout b{font-size:12px;color:#765638}.guide-callout p{font-size:10px;margin:2px 0;color:#a38a71}.guide-callout button{background:transparent;border-color:#ead7bd;font-size:10px}.guide-callout .icon{border:0}.floor-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:23px}.kpi{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:19px 21px;box-shadow:var(--shadow)}.kpi>span{color:var(--muted);font-size:11px;font-weight:500}.kpi strong{display:block;font-size:27px;letter-spacing:-1px;margin:7px 0 3px;font-weight:700}.kpi small{font-size:10px;color:var(--muted)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:23px;box-shadow:var(--shadow)}.floor-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px}.map-panel{padding:0;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.map-panel>.panel-head{padding:16px 17px;border-bottom:1px solid var(--line);margin:0;flex-wrap:wrap}.tabs{display:flex;gap:3px;background:var(--bg);padding:4px;border-radius:8px;max-width:100%;overflow:auto}.tabs button{font-size:10px;padding:7px 10px;min-height:32px;border:0;white-space:nowrap;background:transparent;color:var(--muted)}.tabs button.active{background:var(--surface);box-shadow:0 1px 4px #15243a0d;color:var(--text)}.tools{display:flex;gap:3px;align-items:center}.tools button{font-size:10px;min-height:28px;padding:4px 7px;height:28px}.map-scroll{overflow:auto;padding:12px;min-height:360px;touch-action:pan-x pan-y;overscroll-behavior:contain}.floor-map{display:block;min-width:480px;max-width:none;user-select:none;touch-action:none}.floor-map .map-label{font-size:9px;letter-spacing:1.1px;fill:var(--muted);font-weight:600}.map-table{cursor:pointer;outline:none}.chair{fill:var(--surface);stroke:#dbddd8;stroke-width:1.5}.table-top{fill:#eaf3ef;stroke:#c7ded1;stroke-width:2;filter:drop-shadow(0 4px 3px #1f293708);transition:fill .2s,stroke .2s}.map-table:hover .table-top,.map-table:focus .table-top{stroke:#8da8a0;stroke-width:3}.map-table.selected .table-top{stroke:var(--accent);stroke-width:3;filter:drop-shadow(0 0 8px #ec8b3225)}.table-number{font-size:22px;fill:#3b6555;font-weight:750;pointer-events:none}.table-caption{font-size:8px;fill:#758b7d;pointer-events:none}.table-state{font-size:7px;fill:#547b67;pointer-events:none;letter-spacing:.5px}.occupied .table-top{fill:#fff2dd;stroke:#ead9b6}.occupied .table-number{fill:#996c30}.occupied .table-caption,.occupied .table-state{fill:#a18a67}.dirty .table-top{fill:#fae9e6;stroke:#eac7bd}.dirty .table-number{fill:#b0705c}.unavailable .table-top{fill:#e9ecf0;stroke:#d5dbe2}.unavailable .table-number{fill:#8d97a7}.map-table.other{opacity:.55}.map-legend{border-top:1px solid var(--line);display:flex;gap:18px;padding:15px 20px;flex-wrap:wrap;font-size:9px;color:var(--muted)}.map-legend span{display:flex;align-items:center;gap:5px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b5bcc7}.dot.free{background:#73ae90}.dot.occupied,.dot.new{background:#e4ac54}.dot.dirty{background:#d78b79}.dot.unavailable{background:#a4adbc}.dot.preparing{background:#8d9ee5}.dot.ready{background:#41ae8a}.detail{padding:22px;min-height:450px}.empty{text-align:center;padding:35px 10px;color:var(--muted);font-size:12px;line-height:1.7}.empty h3{font-size:14px;color:var(--text);line-height:1.6;margin:10px 0}.empty p{font-size:11px}.empty-icon{font-size:40px;color:#a4b4a9;display:block;margin-bottom:10px}.detail-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.detail-title>span:first-child{width:100%;color:var(--muted);font-size:10px;letter-spacing:1.6px}.detail-title h2{font-size:43px;letter-spacing:-2px;line-height:1.2}.detail-title .tag{margin-left:auto}.detail-meta{display:flex;flex-direction:column;gap:8px;font-size:11px;margin:18px 0 22px;color:var(--muted)}.detail-meta b{color:var(--text);font-size:11px}.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:25px}.detail-actions button{font-size:10px}.section-label{display:flex;justify-content:space-between;font-size:9px;font-weight:700;letter-spacing:1px;color:var(--muted);padding:15px 0;border-top:1px solid var(--line)}.section-label span{letter-spacing:0;font-weight:400}.order-line{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.order-line>div{display:flex;flex-direction:column;gap:5px}.order-line>div:last-child{text-align:right;align-items:flex-end}.order-line small{font-size:9px;color:var(--muted)}.tag{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:6px;font-size:9px;font-weight:650;white-space:nowrap;line-height:1.6;color:#788394;background:#edf0f3}.tag.free,.tag.served,.tag.completed{background:#e9f5ef;color:#298063}.tag.occupied,.tag.new,.tag.confirmed{background:#fff1db;color:#ae7a2d}.tag.dirty,.tag.cancelled,.tag.no_show{background:#fcece8;color:#b97160}.tag.preparing,.tag.arrived{background:#eef0fd;color:#697fbe}.tag.ready{background:#d8f5e7;color:#168569}.bill-total{display:flex;justify-content:space-between;margin-top:19px;font-size:12px;align-items:center}.bill-total strong{font-size:20px}.assignment{margin-top:20px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.assignment h3{font-size:13px}.assignment p{font-size:10px;margin:4px 0}.assignment>div:first-child{margin-right:auto}.waiter-chips{display:flex;gap:8px;flex-wrap:wrap}.waiter-chip{font-size:11px;padding:7px 10px;min-height:38px}.waiter-chip i,.staff-row>i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:white;font-style:normal;font-weight:700;font-size:10px}.waiter-chip small{font-weight:400;color:var(--muted);font-size:9px}.assignment>button{font-size:10px}.staff-row{display:flex;gap:10px;align-items:center;margin:18px 0}.staff-row div{flex:1}.staff-row b{font-size:11px}.staff-row small{display:block;font-size:9px;color:var(--muted);font-weight:400}.staff-row strong{text-align:right;font-size:16px}.app-footer{display:flex;justify-content:space-between;color:#a2abb6;font-size:9px;margin-top:30px;padding:15px 0}.edit-banner{padding:10px 16px;font-size:10px;background:var(--accent-bg);display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#a17842}.edit-banner button{font-size:10px;padding:5px 8px;min-height:30px}.editing .map-table{cursor:grab}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.table-card>div:first-child{display:flex;justify-content:space-between}.table-card h2{margin:18px 0 6px}.table-card b{font-size:12px}.table-card .bill-total{font-size:24px;font-weight:700;margin:20px 0}.welcome{background:#e9f0ed;border:1px solid #d8e5dc;border-radius:15px;padding:30px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.welcome h2{font-size:32px;margin:8px 0}.welcome p{font-size:12px;color:#7c9286;margin:0}.welcome-symbol{font-size:75px;color:#99b5a2;line-height:1}.hero-strip{border-radius:15px;background:var(--navy);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:32px 36px;margin-bottom:22px;gap:24px}.hero-strip .eyebrow{color:#6e8c90}.hero-strip h2{font-size:31px;font-weight:500;line-height:1.2;margin:12px 0}.hero-strip p{font-size:10px;color:#8f9db0;margin:0}.hero-total small{font-size:8px;letter-spacing:1.4px;color:#91a0b4}.hero-total strong{display:block;font-size:38px;font-weight:500;letter-spacing:-1px;margin:10px 0}.hero-total span{color:#91a0b4;font-size:9px}.dashboard-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.dashboard-grid .mini{min-height:0;padding:0}.dashboard-grid .floor-map{min-width:0}.chart-row{display:grid;grid-template-columns:1fr auto;gap:6px 10px;margin-top:18px;font-size:10px}.chart-row>div{grid-column:1/-1;height:5px;border-radius:4px;background:var(--bg)}.chart-row>div i{display:block;height:100%;background:#dda36e;border-radius:4px}.chart-row b{font-size:10px}.hour-chart{display:flex;align-items:flex-end;justify-content:space-around;gap:12px;height:210px;padding-top:20px}.hour-chart>div{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:10px;flex:1}.hour-chart i{display:block;width:100%;max-width:42px;background:#e3a269;border-radius:6px 6px 0 0;min-height:5px}.hour-chart span{font-size:9px;color:var(--muted)}.kds-toolbar{display:flex;align-items:center;gap:14px;font-size:11px;color:var(--muted);margin-bottom:22px;flex-wrap:wrap}.kds-toolbar button:first-of-type{margin-left:auto}.kds-toolbar button{font-size:11px}.kds-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.kds-col{background:#eceef1;border:1px solid var(--line);border-radius:12px;padding:14px;min-height:70vh}.kds-col>h3{display:flex;align-items:center;gap:8px;font-size:13px;padding:5px 0 15px}.kds-col>h3>span{margin-left:auto;padding:1px 7px;background:var(--surface);border-radius:5px;font-size:11px}.kds-card{background:var(--surface);border:1px solid var(--line);border-top:3px solid #d5dbe5;border-radius:10px;overflow:hidden;margin-bottom:16px;animation:appear .25s}.kds-card.warn{border-top-color:#e5b35e}.kds-card.late{border-top-color:#d77f6b}.kds-card>header{display:flex;justify-content:space-between;padding:15px 17px;border-bottom:1px dashed var(--line)}.kds-card header small{display:block;color:var(--muted);font-size:9px;letter-spacing:1px}.kds-card header h2{font-size:32px;line-height:1.2;margin-top:5px}.kds-card header>div:last-child{text-align:right}.kds-card header b{font-size:16px}.kitchen-item{padding:16px;border-bottom:1px solid var(--line)}.kitchen-item>b{display:block;font-size:15px}.kitchen-item>small{display:block;color:var(--muted);font-size:11px;margin:5px 0}.kitchen-item button{margin-top:12px;font-size:12px}.kitchen-note{background:var(--accent-bg);color:#a9793c;font-size:12px;padding:7px 9px;border-radius:5px;margin:8px 0}.kitchen-item .ready{margin-top:10px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:12px}th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:600;padding:14px;border-bottom:1px solid var(--line)}td{padding:16px 14px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted);font-size:10px;white-space:normal;max-width:250px}td button{font-size:10px}.view-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 20px;flex-wrap:wrap}.view-actions p{font-size:11px;margin:0}.view-actions button,.view-actions a{font-size:11px}.menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.menu-card{padding:20px}.food-mark{font-family:Georgia,serif;display:grid;place-items:center;height:80px;background:#f8f3e9;border-radius:8px;margin-bottom:18px;color:#bb946a;font-size:52px}.menu-card h3{margin:6px 0;font-size:14px}.menu-card p{font-size:10px;min-height:30px}.menu-card .eyebrow{font-size:8px}.menu-card button{font-size:10px}.menu-card .panel-head{margin:15px 0}.menu-card strong{font-size:14px}.history{margin-top:20px}.log-row{display:flex;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);align-items:center;font-size:11px;flex-wrap:wrap}.log-row span:first-child{color:var(--muted);font-size:10px}.log-row pre{white-space:pre-wrap;max-width:100%;word-break:break-word;font-size:10px}.narrow{max-width:640px}.notice{background:var(--bg);border:1px solid var(--line);padding:13px;border-radius:9px;margin:12px 0;color:var(--muted);font-size:11px}.notice p{margin:6px 0}.notification{padding:15px 0;border-bottom:1px solid var(--line)}.notification small{color:var(--muted)}.notification p{color:var(--text)}.calendar-strip{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.calendar-strip .active{background:var(--accent-bg);border-color:var(--accent)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#18283b;color:white;box-shadow:0 10px 35px #0003;border:1px solid #ffffff15;padding:14px 23px;border-radius:10px;opacity:0;pointer-events:none;z-index:100;font-size:12px;max-width:90vw;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}.overlay{position:fixed;inset:0;z-index:80;background:#0e182b70;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:25px}.dialog{background:var(--surface);border:1px solid var(--line);border-radius:17px;width:650px;max-width:100%;max-height:92dvh;overflow:auto;padding:25px;box-shadow:0 20px 100px #0003;animation:appear .2s}.dialog.large{width:1100px}.dialog>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;gap:15px}.dialog h2{font-size:21px}.dialog>header .icon{flex-shrink:0;background:var(--bg);border:0}.dialog h3{margin:18px 0 12px}.dialog footer,form footer{display:flex;gap:10px;justify-content:flex-end;padding-top:22px}.dialog p{font-size:12px}label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600;margin-bottom:16px;color:var(--text)}input,select,textarea{border:1px solid #dfe3e8;background:var(--surface);color:var(--text);border-radius:8px;padding:10px 12px;width:100%;min-height:43px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #ec8b3215}input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:var(--accent);flex-shrink:0}input[type=color]{padding:4px}.check{display:flex;flex-direction:row;align-items:center;gap:10px;font-weight:400}.check span{flex:1}.check b{margin-left:auto}.check small{display:block;color:var(--muted);font-size:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.order-builder{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:25px}.order-builder>section{min-width:0}.category-tabs{display:flex;gap:6px;overflow:auto;padding:15px 0 20px}.category-tabs button{white-space:nowrap;padding:7px 10px;min-height:32px;font-size:10px}.category-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:500px;overflow:auto}.product{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:17px;position:relative;gap:6px;min-height:114px;background:var(--map-bg)}.product small{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:1px}.product b{font-size:12px}.product strong{font-size:12px;color:#bd874f}.product>span{position:absolute;right:12px;bottom:12px;background:var(--surface);border:1px solid var(--line);border-radius:6px;width:25px;height:25px;display:grid;place-items:center;color:var(--muted)}.basket{border-left:1px solid var(--line);padding-left:23px;display:flex;flex-direction:column}.basket>h3{margin-top:0}.basket>h3 span{color:var(--muted);margin-left:6px;font-size:12px}.basket-lines{max-height:390px;overflow:auto;flex:1}.basket-line{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;position:relative}.basket-line>.icon{position:absolute;right:0;top:8px;min-height:26px;height:26px;width:26px;font-size:16px}.basket-line>b{display:block;padding-right:20px}.basket-line p{font-size:10px;margin:4px 0}.basket-line>small{color:#bd874f;font-size:10px}.basket-line>div{display:flex;align-items:center;gap:3px;margin-top:10px}.basket-line>div b{margin-left:auto;font-size:11px}.basket-total{display:flex;justify-content:space-between;padding:25px 0 15px;font-size:13px}.basket-total strong{font-size:23px}.basket>button{margin-bottom:8px;font-size:12px}.modifier-list{margin:15px 0}.modifier-list label{padding:12px;border:1px solid var(--line);border-radius:8px}.billing-summary{display:flex;flex-wrap:wrap;gap:15px;background:var(--navy);color:white;padding:20px;border-radius:10px;font-size:12px}.billing-summary span{color:#aeb9c7}.billing-summary span b{display:block;color:white;font-size:18px}.billing-summary>strong{margin-left:auto;align-self:center;font-size:20px}.bill-item{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:13px 0}.bill-item label{margin:0;flex:1}.bill-item strong{font-size:12px}.bill-item>input{width:60px;min-width:50px;padding:8px}.bill-tools{display:flex;flex-wrap:wrap;gap:6px;margin:17px 0}.bill-tools button{font-size:10px;padding:6px 10px;min-height:32px}.decor-row{display:grid;grid-template-columns:1.5fr repeat(4,.7fr) 1.5fr 40px;gap:10px}.decor-row label{font-size:9px}.decor-row input,.decor-row select{padding:7px;font-size:11px;width:100%;min-width:0}.decor-row button{margin-top:20px}.decor-editor{margin-top:20px}textarea{min-height:90px;font-family:monospace;font-size:12px}details{margin:15px 0}summary{cursor:pointer;color:var(--muted);font-size:11px}hr{border:0;border-top:1px solid var(--line);margin:23px 0}.walkthrough{padding-left:25px}.walkthrough li{font-size:12px;color:var(--muted);padding:7px 0 7px 8px}.walkthrough li::marker{color:var(--accent);font-weight:700}.mobile-nav{display:none}.login{width:450px;max-width:calc(100% - 30px);margin:8vh auto;background:var(--surface);padding:35px;border:1px solid var(--line);border-radius:18px}.login .brand{color:var(--text);margin-left:0}.login h1{font-size:25px;margin:20px 0}.dark{--bg:#101827;--surface:#192333;--text:#e1e6ef;--muted:#8e9bae;--line:#2a3546;--navy:#0b1321;--accent-bg:#3a2d22;--map-bg:#202b32;--grid:#354148;--wall:#66737b;--fixture:#354148;color-scheme:dark}.dark .guide-callout{background:#2c2721;border-color:#4a3826}.dark .welcome{background:#22382f;border-color:#335043}.dark .kds-col{background:#131d2d}.dark .food-mark{background:#2f2a23}.dark input,.dark textarea,.dark select{border-color:var(--line)}.dark .tag{filter:brightness(.8)}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.floor-layout{grid-template-columns:minmax(0,1fr) 340px}.sidebar{width:250px}.workspace{margin-left:250px}.map-scroll{padding:25px}.map-panel>.panel-head{padding:20px 24px}}
@media(max-width:1200px){.sidebar{width:205px;padding:25px 12px}.workspace{margin-left:205px}.topbar{padding:0 22px}main{padding:25px 22px 15px}.floor-layout{grid-template-columns:minmax(0,1fr) 255px;gap:14px}.detail{padding:18px}.floor-stats{gap:12px}.kpi{padding:16px}.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.top-actions{gap:7px}.breadcrumb{display:none}.topbar{justify-content:flex-end}.kds-columns{gap:12px}.kds-col{padding:10px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.sidebar{width:190px}.workspace{margin-left:190px}.sidebar .brand{font-size:22px}.sidebar nav button{font-size:11px;padding:10px}.floor-layout{grid-template-columns:1fr}.detail{min-height:0}.detail:not(:has(.detail-title)) .empty{padding:20px}.detail:not(:has(.detail-title)) .staff-row{display:inline-flex;width:30%;margin:15px 1%}.floor-map{min-width:500px}.floor-stats{grid-template-columns:repeat(4,1fr)}.kpi strong{font-size:23px}.kpi small{font-size:8px}.kds-columns{grid-template-columns:1fr}.kds-col{min-height:150px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kds-col>h3{grid-column:1/-1;padding:4px}.kds-col .empty{grid-column:1/-1}.kds-card{margin:0}.dashboard-grid{grid-template-columns:1fr}.page-title{gap:12px}.page-title h1{font-size:26px}.guide-callout p{display:none}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-strip{padding:25px}.hero-total strong{font-size:28px}.order-builder{gap:15px}.basket{padding-left:15px}}
@media(max-width:767px){body{font-size:14px}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:64px;padding:0 14px;position:sticky;top:0;z-index:25}.top-actions{width:100%;justify-content:flex-end;gap:8px}.connection{margin-right:auto;font-size:9px}.demo-label{display:none}.top-actions select{max-width:145px;font-size:11px;min-height:38px}.top-actions .icon{width:32px;height:36px;min-height:36px;border:0;font-size:19px}.top-actions .small-avatar{display:none}.top-actions [data-do=sound]{display:none}main{padding:23px 16px 85px}.page-title{align-items:flex-start;margin-bottom:22px}.page-title .eyebrow{font-size:8px;letter-spacing:1.1px}.page-title h1{font-size:27px;margin-top:9px}.page-title p{font-size:11px;max-width:230px}.page-actions{flex-direction:column;gap:5px;padding-top:3px}.page-actions button{font-size:9px;min-height:29px;padding:5px 8px}.guide-callout{gap:10px;padding:11px 12px;margin-bottom:18px}.guide-callout>span{font-size:20px}.guide-callout b{font-size:10px}.guide-callout button{font-size:9px;padding:7px;min-height:30px;white-space:nowrap}.guide-callout .icon{display:none}.floor-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:17px}.kpi{padding:14px 16px}.kpi strong{font-size:26px;margin:5px 0 1px}.kpi>span{font-size:10px}.kpi small{font-size:9px}.floor-layout{gap:15px}.panel{padding:18px;border-radius:12px}.map-panel{padding:0}.map-panel>.panel-head{padding:12px;gap:10px}.tabs{width:100%}.tabs button{flex:1;font-size:10px;padding:7px 9px;min-height:36px}.tools{margin-left:auto}.tools button{font-size:10px;min-height:32px}.map-scroll{min-height:0;padding:7px}.floor-map{min-width:480px}.map-legend{padding:12px;gap:10px;font-size:8px}.detail:not(:has(.detail-title)) .staff-row{width:100%;margin:12px 0}.detail{scroll-margin-top:80px}.detail-title h2{font-size:42px}.detail-meta{font-size:12px}.detail-actions button{min-height:44px;font-size:12px}.order-line{font-size:13px}.order-line small{font-size:11px}.order-line .small{min-height:40px;font-size:11px}.tag{font-size:10px}.section-label{font-size:10px}.assignment{padding:17px;gap:12px}.assignment>div:first-child{width:100%}.assignment h3{font-size:14px}.assignment p{font-size:11px}.waiter-chips{width:100%;gap:7px}.waiter-chip{flex:1;font-size:11px;flex-wrap:wrap;padding:8px 6px}.waiter-chip small{width:100%;font-size:9px}.assignment>button{min-height:44px;font-size:11px}.assignment>select{flex:1;min-width:130px}.app-footer{font-size:8px;gap:15px;flex-wrap:wrap;margin-top:23px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--line);padding:7px 5px max(7px,env(safe-area-inset-bottom));z-index:30;justify-content:space-around;box-shadow:0 -4px 20px #15243a05}.mobile-nav button{border:0;background:transparent;display:flex;flex-direction:column;gap:1px;padding:0 3px;color:var(--muted);min-height:45px;flex:1}.mobile-nav button>span{font-size:22px;line-height:1.2}.mobile-nav small{font-size:8px;font-weight:500;white-space:nowrap}.mobile-nav .current{color:var(--accent)}.cards{grid-template-columns:1fr;gap:14px}.table-card{padding:20px}.table-card h2{font-size:26px}.welcome{padding:23px 20px}.welcome .eyebrow{font-size:8px}.welcome h2{font-size:28px}.welcome p{font-size:11px;max-width:230px}.welcome-symbol{font-size:48px}.hero-strip{padding:25px;flex-direction:column;align-items:flex-start;gap:25px}.hero-strip h2{font-size:31px}.hero-total{width:100%;padding-top:18px;border-top:1px solid #ffffff10}.hero-total strong{font-size:34px;margin:8px 0}.hero-total small{font-size:8px}.dashboard-grid{gap:15px}.dashboard-grid .mini .floor-map{min-width:0}.kds-col{grid-template-columns:1fr;padding:13px}.kds-col>h3{font-size:15px;padding:8px}.kds-card header h2{font-size:38px}.kitchen-item>b{font-size:17px}.kitchen-item button{min-height:48px;font-size:14px}.kds-toolbar{gap:10px;font-size:10px}.kds-toolbar button{margin-left:0!important;min-height:40px}.menu-grid{gap:12px}.menu-card{padding:15px;min-width:0}.menu-card h3{font-size:13px}.menu-card .panel-head{flex-wrap:wrap;gap:8px}.menu-card .eyebrow{font-size:7px}.food-mark{height:65px;font-size:45px;margin-bottom:15px}.menu-card button{min-height:40px}.view-actions>p{font-size:11px}.view-actions .tabs{width:100%}.view-actions>button{min-height:44px}.history .log-row{gap:7px 15px}table{font-size:11px}th,td{padding:14px 10px}.table-wrap{margin:0 -8px}.overlay{padding:10px;align-items:flex-end}.dialog{width:100%;max-height:94dvh;padding:20px;border-radius:17px 17px 10px 10px}.dialog>header{margin-bottom:18px}.dialog h2{font-size:19px}.dialog .icon{min-height:40px}.form-grid{gap:0 12px}input,select,textarea{font-size:16px;min-height:46px}label{font-size:11px;margin-bottom:15px}.dialog footer{position:sticky;bottom:-20px;background:var(--surface);padding:15px 0;margin-top:10px}.dialog footer button{min-height:46px;font-size:12px;flex:1}.order-builder{grid-template-columns:1fr;gap:22px}.category-tabs{padding:12px 0 15px}.category-tabs button{min-height:40px;font-size:11px}.product-grid{max-height:270px;gap:9px}.product{padding:14px;min-height:105px}.product b,.product strong{font-size:12px}.product small{font-size:8px}.basket{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.basket-lines{max-height:320px}.basket-line{font-size:13px}.basket-line p,.basket-line>small{font-size:11px}.basket-line .small{min-height:38px}.basket-line>div b{font-size:13px}.basket>button{min-height:48px;font-size:13px}.billing-summary{padding:17px;gap:20px}.billing-summary>strong{width:100%;font-size:23px;margin:0}.bill-item{gap:10px}.bill-item strong{font-size:10px}.bill-item label{font-size:11px}.bill-item .check small{font-size:9px}.bill-item>input{font-size:14px}.bill-tools button{min-height:40px;font-size:10px}.decor-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0;border-bottom:1px solid var(--line)}.decor-row input,.decor-row select{min-height:42px;font-size:14px}.decor-row button{margin-top:0}.notification p{font-size:13px}#toast{bottom:85px;width:calc(100% - 30px);text-align:center;font-size:12px}.login{padding:24px}.log-row pre{max-width:70vw}.top-actions .notification-count{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}:focus-visible{outline:3px solid #eca656;outline-offset:3px}
.recipe-row{display:grid;grid-template-columns:1.4fr 1fr 40px;gap:12px;align-items:center}.recipe-row button{margin-top:4px}.modifier-edit{padding:15px;border:1px solid var(--line);border-radius:10px;margin:12px 0}.kds-bulk{padding:12px 14px;background:var(--bg)}.kds-bulk button{font-size:11px;min-height:40px}.decor-row label{min-width:0}
.food-mark img{width:100%;height:100%;object-fit:cover;border-radius:8px}.upload-preview{max-width:180px;max-height:130px;border-radius:8px;margin-bottom:15px}.menu-card .food-mark{overflow:hidden}
