@charset "UTF-8";

:root{color-scheme:light;--bg:#f6f7f9;--surface:#fff;--surface-soft:#fafbfc;--text:#202a32;--muted:#78818b;--line:#e8ebef;--orange:#ec7339;--orange-hover:#d85f27;--orange-soft:#fff2e9;--sidebar:#192127;--green:#328269;--green-soft:#edf7f1;--amber:#ac741e;--amber-soft:#fff7e8;--purple:#7462bd;--purple-soft:#f3f0ff;--shadow:0 4px 20px #25334106;--radius:16px;--sidebar-width:248px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button,input,select{outline-offset:4px} :focus-visible{outline:3px solid #f5a87d}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:2.3rem;letter-spacing:-1.3px;line-height:1.2;font-weight:700}h2{font-size:1.1rem;letter-spacing:-.35px}h3{font-size:1rem}button{border:0;background:none}input,select{min-width:0}input[type=search]::-webkit-search-cancel-button{cursor:pointer}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;z-index:100;left:16px;top:-80px;background:var(--surface);padding:12px 20px;border-radius:10px}.skip-link:focus{top:16px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:var(--sidebar);color:#abb3b9;display:flex;flex-direction:column;padding:30px 20px 18px;z-index:40}.brand{display:flex;align-items:center;gap:12px;padding:0 10px}.brand-mark{background:var(--orange);color:white;width:45px;height:45px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:750;letter-spacing:-2px;line-height:1}.brand-mark>span{font-size:1.5rem;margin-top:8px}.brand-name{font-size:1.45rem;font-weight:650;letter-spacing:-.6px;color:#fff;line-height:1.3}.brand-name>span{display:block;font-size:.65rem;font-weight:500;letter-spacing:2px;color:#9ba3aa;margin-top:5px}.branch{display:flex;gap:10px;align-items:center;margin:32px 0 31px;padding:13px 10px;border:1px solid #ffffff13;border-radius:10px}.branch-icon{display:flex;align-items:center;justify-content:center;background:#ffffff0b;border-radius:8px;width:34px;height:36px}.branch-icon svg{width:18px}.branch strong{font-size:.8rem;color:#e3e6e8;font-weight:550}.branch div>span{display:block;font-size:.75rem;color:#839099;margin-top:2px}.branch-label{font-size:.6rem;letter-spacing:.4px;margin-left:auto;color:#89959c;border:1px solid #ffffff17;padding:2px 5px;border-radius:4px}.nav-heading{font-size:.65rem;letter-spacing:1.8px;color:#6f7b84;font-weight:650;padding:0 15px;margin-bottom:12px}.navigation{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;gap:13px;align-items:center;text-align:left;padding:13px 15px;border-radius:9px;font-size:.88rem;font-weight:500;min-height:49px;transition:background .15s,color .15s}.nav-item svg{width:20px;height:20px}.nav-item:hover{background:#ffffff08;color:#fff}.nav-item.active{background:var(--orange);color:#fff;box-shadow:0 5px 16px #00000015}.nav-count{margin-left:auto;display:flex;align-items:center;justify-content:center;min-width:24px;height:23px;font-size:.75rem;border-radius:6px;background:#ffffff0d;color:#c8cdd1}.nav-item.active .nav-count{background:#ffffff27;color:#fff}.nav-section{display:block;margin-top:27px;margin-bottom:7px}.sidebar-bottom{margin-top:auto;padding-top:35px}.preview-side{display:flex;gap:10px;align-items:flex-start;padding:17px 12px;background:#ffffff04;border:1px solid #ffffff09;border-radius:10px;margin-bottom:21px}.preview-side svg{width:18px;color:#c3a487;margin-top:3px}.preview-side strong{font-size:.8rem;color:#cbd0d4;font-weight:500}.preview-side p{font-size:.72rem;color:#7f8c95;margin-top:4px}.profile{border-top:1px solid #ffffff0e;padding:19px 5px 0;display:flex;align-items:center;gap:11px}.avatar{width:38px;height:38px;background:#f6e7d9;color:#91654a;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:.75rem;font-weight:700;flex-shrink:0}.profile strong{font-size:.84rem;color:#e0e4e7;display:block;font-weight:500}.profile div>span{font-size:.68rem;color:#86929b}.small{width:34px;height:34px;font-size:.7rem}.app-shell{margin-left:var(--sidebar-width)}.topbar{height:78px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:16px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:18px}.breadcrumb{font-size:.8rem;color:var(--muted)}.breadcrumb>span{padding:0 13px;color:#c8cdd2}.breadcrumb strong{font-weight:500;color:var(--text)}.date-label{font-size:.78rem;color:var(--muted)}.topbar-divider{height:22px;width:1px;background:var(--line)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:var(--bg);color:var(--text)}.icon-button svg{width:20px;height:20px}.mobile-menu,.mobile-sidebar-close{display:none}main{max-width:1700px;margin:0 auto;padding:23px 40px 0;outline:none}.preview-notice{display:flex;align-items:center;gap:9px;font-size:.73rem;color:var(--muted);margin-bottom:29px}.preview-pill{padding:3px 7px;font-size:.59rem;letter-spacing:.7px;font-weight:700;color:#977450;border:1px solid #e9dfd4;background:#fffbf6;border-radius:4px;white-space:nowrap}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.eyebrow{font-size:.65rem;font-weight:700;letter-spacing:1.8px;color:var(--muted);margin-bottom:9px}.heading-dot{color:var(--orange)}.page-heading p{font-size:.88rem;color:var(--muted);margin-top:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:11px 17px;font-size:.84rem;font-weight:600;min-height:45px;white-space:nowrap;border:1px solid transparent;transition:background .15s,box-shadow .15s}.button svg{width:18px;height:18px}.primary{background:var(--orange);color:#fff;box-shadow:0 3px 6px #eb733914}.primary:hover{background:var(--orange-hover);box-shadow:0 4px 12px #eb73392b}.secondary{background:var(--surface);border-color:var(--line);color:var(--text)}.secondary:hover{background:var(--bg)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:32px}.stat-card{border:1px solid var(--line);background:var(--surface);padding:20px 21px;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.stat-top>span{font-size:.78rem;color:var(--muted);font-weight:500}.stat-icon{width:33px;height:33px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:var(--orange-soft);color:var(--orange)}.stat-icon svg{width:18px;height:18px}.stat-icon.green{color:var(--green);background:var(--green-soft)}.stat-icon.purple{color:var(--purple);background:var(--purple-soft)}.stat-icon.amber{color:var(--amber);background:var(--amber-soft)}.stat-value{font-size:1.85rem;font-weight:650;letter-spacing:-1px;line-height:1.2;white-space:nowrap}.stat-value>small{font-size:.95rem;color:#a2aab0;font-weight:400;letter-spacing:0;margin-left:5px}.stat-description{font-size:.7rem;color:var(--muted);margin-top:8px;display:flex;align-items:center;gap:5px}.stat-description strong{color:var(--green);font-weight:500}.tables-section{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.section-top{display:flex;align-items:center;justify-content:space-between;padding:0 23px;border-bottom:1px solid var(--line);gap:15px}.area-tabs{display:flex;gap:23px;min-width:0}.area-tab{padding:21px 1px 19px;display:flex;align-items:center;gap:7px;border-bottom:2px solid transparent;color:var(--muted);font-size:.82rem;white-space:nowrap}.area-tab.active{color:var(--orange);border-bottom-color:var(--orange);font-weight:600}.area-tab svg{width:16px;height:16px}.area-tab>span{font-size:.68rem;padding:1px 6px;border-radius:5px;background:var(--bg);color:var(--muted)}.area-tab.active>span{background:var(--orange-soft);color:var(--orange)}.section-hint{font-size:.7rem;color:var(--muted);display:flex;align-items:center;gap:5px;white-space:nowrap}.section-hint svg{width:14px;height:14px}.filter-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px 23px}.status-filters{display:flex;align-items:center;gap:4px}.filter-chip{font-size:.74rem;border-radius:7px;padding:8px 12px;min-height:36px;white-space:nowrap;color:var(--muted)}.filter-chip.active{background:#edf0f3;color:var(--text);font-weight:600}.filter-chip:hover{background:var(--bg)}.filter-actions{display:flex;align-items:center;gap:12px}.search-field{display:flex;gap:8px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:0 11px;width:215px;height:37px}.search-field:focus-within{outline:2px solid #f4c0a3;outline-offset:1px}.search-field svg{width:16px;height:16px;color:var(--muted)}.search-field input{border:0;background:none;outline:none;color:var(--text);width:100%;font-size:.74rem;height:100%}.search-field input::placeholder{color:#9ba2aa}.display-toggle{display:flex;border:1px solid var(--line);border-radius:7px;padding:2px;gap:2px}.display-toggle .icon-button{width:30px;height:30px;border-radius:5px}.display-toggle .icon-button svg{width:15px;height:15px}.display-toggle .selected{color:var(--orange);background:var(--orange-soft)}.table-grid{padding:0 23px 23px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.table-card{position:relative;display:flex;flex-direction:column;text-align:left;min-height:203px;padding:18px 17px 0;border:1px solid var(--line);border-radius:11px;background:var(--surface);overflow:hidden;transition:border-color .15s,box-shadow .15s,transform .15s}.table-card:hover{border-color:#e9b693;box-shadow:0 6px 20px #3931200a;transform:translateY(-2px)}.card-top{display:flex;justify-content:space-between;align-items:center;gap:7px}.table-symbol{background:var(--amber-soft);color:var(--amber);height:35px;width:35px;border-radius:10px;display:flex;align-items:center;justify-content:center}.table-symbol svg{width:21px;height:21px}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:3px 7px;line-height:1.5;font-size:.64rem;font-weight:550;white-space:nowrap}.badge.pending{color:var(--amber);background:var(--amber-soft)}.badge.ready{color:var(--green);background:var(--green-soft)}.badge.served{color:var(--purple);background:var(--purple-soft)}.badge.empty{color:#8b959e;background:#f1f3f5}.badge.owner{color:var(--orange);background:var(--orange-soft)}.table-name{font-size:1.12rem;font-weight:650;letter-spacing:-.4px;margin-top:13px;line-height:1.2}.table-meta{display:flex;align-items:center;gap:5px;font-size:.68rem;color:var(--muted);margin-top:5px}.meta-dot{color:#c4c9ce;margin:0 2px}.card-service{display:flex;align-items:center;gap:5px;font-size:.68rem;color:var(--muted);margin-top:14px;padding-bottom:14px;min-height:30px}.card-service svg{width:13px;height:13px}.table-footer{margin-top:auto;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:5px;border-top:1px solid var(--line);width:100%}.table-price{font-size:.97rem;font-weight:650;letter-spacing:-.2px}.table-time{font-size:.66rem;color:var(--muted);display:flex;align-items:center;gap:3px;white-space:nowrap}.table-time svg{width:13px;height:13px}.table-card[data-state=ready]{border-color:#cfe5d9;background:linear-gradient(150deg,#f8fcf9,var(--surface) 65%)}.table-card[data-state=ready] .table-symbol{color:var(--green);background:var(--green-soft)}.table-card[data-state=served] .table-symbol{color:var(--purple);background:var(--purple-soft)}.table-card[data-state=empty]{border-style:dashed;background:var(--surface-soft)}.table-card[data-state=empty] .table-symbol{background:#eff2f4;color:#a5aeb5}.table-card[data-state=empty] .table-name{color:#78838d}.table-card[data-state=empty] .table-footer{justify-content:center;color:#939da6;font-size:.73rem;gap:5px}.table-card[data-state=empty] .table-footer svg{width:14px;height:14px}.table-card[data-state=empty]:hover{border-color:var(--orange)}.grid-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:16px 23px;color:var(--muted);font-size:.68rem;background:var(--surface-soft)}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.64rem;color:#9ba3aa;padding:24px 0}.page-footer>span:first-child{font-weight:650;color:#89939b}.page-footer>span:nth-child(2){color:#adb4bb}.empty-state{text-align:center;padding:55px 20px}.empty-state>svg{width:35px;height:35px;color:var(--muted);margin-bottom:12px}.empty-state p{font-size:.88rem;color:var(--muted);margin:10px 0 18px}.soft-badge{font-size:.74rem;padding:7px 12px;background:var(--surface);border:1px solid var(--line);border-radius:7px;color:var(--muted);white-space:nowrap}.view{animation:appear .18s ease-out}.table-grid.list-view{grid-template-columns:1fr;gap:9px}.list-view .table-card{min-height:auto;padding:14px 18px;display:grid;grid-template-columns:155px 1fr 1fr 1fr;gap:15px;align-items:center}.list-view .card-top{grid-column:1;grid-row:1/3;justify-content:flex-start;gap:12px}.list-view .table-name{grid-column:2;grid-row:1;margin:0}.list-view .table-meta{grid-column:2;grid-row:2;margin:0}.list-view .card-service{grid-column:3;grid-row:1/3;margin:0;padding:0}.list-view .table-footer{grid-column:4;grid-row:1/3;margin:0;padding:0;border:0;display:flex;flex-direction:column;align-items:flex-end}.list-view .table-card[data-state=empty] .table-footer{flex-direction:row;justify-content:flex-end}.list-view .table-card:hover{transform:none}
/* Shared secondary surfaces. */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow)}.panel-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.panel-heading p{font-size:.78rem;color:var(--muted);margin-top:5px}.kitchen-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.kitchen-column-heading{display:flex;align-items:center;justify-content:space-between;padding:3px 3px 15px;font-size:.82rem;font-weight:600}.kitchen-column-heading>span{background:var(--line);border-radius:5px;padding:1px 7px;font-size:.7rem}.kitchen-order{padding:20px;margin-bottom:15px}.kitchen-order-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:17px}.kitchen-order-top h3{font-size:.95rem}.kitchen-order li{display:flex;justify-content:space-between;gap:10px;font-size:.83rem;padding:10px 0;border-bottom:1px solid var(--line)}.kitchen-order ul{list-style:none;padding:0;margin:0 0 17px}.kitchen-order small{display:block;color:var(--muted);font-size:.72rem;margin-top:4px}.kitchen-empty{border:1px dashed var(--line);border-radius:12px;text-align:center;padding:32px 15px;font-size:.82rem;color:var(--muted)}.full-width{width:100%}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{padding:23px}.product-category{font-size:.65rem;letter-spacing:1px;text-transform:uppercase;color:var(--orange);margin:20px 0 6px;font-weight:600}.product-icon{width:50px;height:50px;border-radius:14px;background:var(--orange-soft);color:var(--orange);display:flex;align-items:center;justify-content:center}.product-card p{color:var(--muted);font-size:.81rem;margin-top:7px;min-height:44px}.product-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.product-bottom strong{font-size:1.05rem}.report-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:20px}.chart{display:flex;align-items:flex-end;gap:18px;height:245px;border-bottom:1px solid var(--line);margin-top:30px;padding:0 10px;background:repeating-linear-gradient(to top,transparent,transparent 60px,var(--line) 60px,var(--line) 61px)}.chart-bar{flex:1;background:#f8cbb1;border-radius:7px 7px 0 0;min-width:10px;position:relative}.chart-bar.highlight{background:var(--orange)}.chart-bar>span{position:absolute;bottom:calc(100% + 5px);left:50%;transform:translateX(-50%);font-size:.62rem;white-space:nowrap;color:var(--muted)}.chart-values{display:flex;gap:18px;padding:12px 10px 0}.chart-values>span{flex:1;text-align:center;font-size:.67rem;color:var(--muted)}.payment-total{font-size:2.5rem;font-weight:650;letter-spacing:-1.7px;margin:27px 0}.payment-total>span{display:block;font-size:.76rem;letter-spacing:0;color:var(--muted);font-weight:400;margin-top:3px}.payment-track{background:#34414b;height:10px;border-radius:8px;overflow:hidden;margin-bottom:25px}.payment-track>span{display:block;width:64%;height:100%;background:var(--orange);border-right:3px solid var(--surface)}.payment-line{display:flex;align-items:center;justify-content:space-between;padding:12px 0;font-size:.84rem}.payment-line>span{display:flex;align-items:center;gap:9px;color:var(--muted)}.payment-line strong{font-weight:550}.legend-mark{height:9px;width:9px;border-radius:3px;display:inline-block}.legend-mark.orange{background:var(--orange)}.legend-mark.dark{background:#34414b}.fine-print{border-top:1px solid var(--line);padding-top:18px;margin-top:18px;color:var(--muted);font-size:.74rem}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.person-card{text-align:center;padding:32px 24px 0;display:flex;flex-direction:column;align-items:center}.avatar.large{height:62px;width:62px;font-size:1.1rem;margin-bottom:15px}.developer-avatar{background:var(--purple-soft);color:var(--purple)}.waiter-avatar{background:var(--green-soft);color:var(--green)}.person-card>.badge{margin-top:9px}.person-card>p{font-size:.82rem;color:var(--muted);margin:18px 0 27px;min-height:42px}.person-foot{display:flex;align-items:center;justify-content:center;gap:6px;border-top:1px solid var(--line);padding:19px 0;font-size:.74rem;color:var(--muted);width:100%;margin-top:auto}.person-foot svg{width:16px;height:16px}.permission-switch{border-top:1px solid var(--line);padding:19px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.75rem;cursor:pointer;width:100%;margin-top:auto}.permission-switch input{position:absolute;opacity:0;width:1px;height:1px}.switch-track{position:relative;width:37px;height:22px;border-radius:30px;background:#cdd4da;transition:background .15s;flex-shrink:0}.switch-track:after{content:"";display:block;position:absolute;top:3px;left:3px;height:16px;width:16px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s}.permission-switch input:checked+.switch-track{background:var(--orange)}.permission-switch input:checked+.switch-track:after{transform:translateX(15px)}.permission-switch input:focus-visible+.switch-track{outline:3px solid #f5a87d;outline-offset:4px}.permission-note{display:flex;align-items:center;gap:12px;padding:20px 0;color:var(--muted);font-size:.81rem}.permission-note svg{color:var(--orange)}
/* Native dialogs keep keyboard focus and small-screen navigation accessible. */
dialog{border:0;background:var(--surface);color:var(--text);padding:0;box-shadow:0 20px 100px #18212730}dialog::backdrop{background:#17202865;backdrop-filter:blur(3px)}.bill-dialog{margin:0 0 0 auto;width:min(440px,100%);height:100%;height:100dvh;max-height:100%;max-width:100%;border-radius:20px 0 0 20px}.bill-dialog[open]{animation:slide-in .2s ease-out}.bill-dialog #bill-content{min-height:100%;display:flex;flex-direction:column}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:26px}.dialog-heading .eyebrow{font-size:.6rem}.dialog-heading h2{font-size:1.65rem}.bill-status-row{display:flex;align-items:center;justify-content:space-between;padding:0 26px 23px;border-bottom:1px solid var(--line)}.bill-status-row .table-time{font-size:.78rem}.bill-body{padding:24px 26px;flex:1}.bill-info{display:flex;gap:12px;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:26px}.bill-info>div{flex:1}.bill-info span{display:block;font-size:.68rem;color:var(--muted);margin-bottom:3px}.bill-info strong{font-size:.8rem;font-weight:550}.bill-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.bill-section-heading h3{font-size:.88rem}.bill-section-heading span{font-size:.7rem;color:var(--muted)}.bill-item{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid var(--line)}.quantity{background:var(--bg);border:1px solid var(--line);height:33px;width:33px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-size:.78rem;color:var(--muted)}.bill-item>div{flex:1}.bill-item strong{font-size:.84rem;font-weight:550;display:block}.bill-item small{font-size:.68rem;color:var(--muted)}.bill-item>span:last-child{font-size:.83rem;font-weight:550;white-space:nowrap}.bill-add-product{margin-top:20px}.bill-add-product label{font-size:.72rem;color:var(--muted);display:block;margin-bottom:6px}.product-picker{display:flex;gap:8px}.product-picker select{width:100%;flex:1;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--text);font-size:.8rem}.bill-actions{padding:23px 26px;border-top:1px solid var(--line);background:var(--surface-soft);margin-top:auto}.total-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.85rem;color:var(--muted)}.total-line.total{font-size:1rem;color:var(--text);margin-bottom:20px}.total-line.total strong{font-size:1.4rem;font-weight:650;letter-spacing:-.6px}.bill-actions .button+.button{margin-top:9px}.bill-disclaimer{font-size:.68rem;color:var(--muted);text-align:center;margin-top:13px}.empty-table-illustration{width:75px;height:75px;margin:10px auto 20px;border-radius:20px;background:var(--orange-soft);color:var(--orange);display:flex;justify-content:center;align-items:center}.empty-table-illustration svg{width:40px;height:40px}.empty-table-message{text-align:center;margin:35px 0}.empty-table-message p{font-size:.85rem;color:var(--muted);margin-top:9px}.field{display:flex;flex-direction:column;gap:7px;font-size:.79rem;font-weight:550;margin-bottom:18px}.field input,.field select{border:1px solid var(--line);border-radius:8px;padding:12px;color:var(--text);background:var(--surface);width:100%;font-size:1rem;min-height:46px}.form-dialog{max-width:calc(100% - 32px);width:440px;border-radius:17px;max-height:calc(100dvh - 40px)}.form-dialog form{padding:26px}.form-dialog .dialog-heading{padding:0 0 10px}.form-dialog .dialog-heading h2{font-size:1.4rem}.form-intro{font-size:.82rem;color:var(--muted);margin:4px 0 25px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-error{font-size:.78rem;color:#b44136;margin-bottom:13px}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);background:#25362e;color:#fff;box-shadow:0 5px 30px #14231b30;display:flex;align-items:center;gap:10px;padding:14px 20px;border-radius:11px;font-size:.84rem;max-width:calc(100vw - 36px);z-index:100;animation:appear .15s ease-out}.toast svg{color:#b9e4c8;width:18px;height:18px}.sidebar-backdrop{position:fixed;inset:0;z-index:35;background:#17202865}.body-locked{overflow:hidden}
/* Theme changes are device preferences only. */
[data-theme=dark]{color-scheme:dark;--bg:#171e24;--surface:#20292f;--surface-soft:#1e272d;--text:#e7eaed;--muted:#9ba8b1;--line:#343f47;--orange:#f28a53;--orange-hover:#e97b43;--orange-soft:#3d302a;--green:#8fceb3;--green-soft:#253b33;--amber:#d8b16d;--amber-soft:#3c3527;--purple:#b7a4ea;--purple-soft:#342e48;--shadow:none}[data-theme=dark] .table-card[data-state=ready]{background:var(--surface);border-color:#3c5b4d}[data-theme=dark] .filter-chip.active{background:#36424b}[data-theme=dark] .badge.empty,[data-theme=dark] .table-card[data-state=empty] .table-symbol{background:#2d3942;color:#aeb9c1}[data-theme=dark] .preview-pill{background:#332e29;color:#d2b693;border-color:#504338}[data-theme=dark] .chart-bar{background:#795137}[data-theme=dark] .chart-bar.highlight{background:var(--orange)}
@keyframes appear{from{opacity:.3;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in{from{transform:translateX(30px);opacity:.3}to{transform:translateX(0);opacity:1}}
/* Desktop, tablet, and phone layouts share the same document. */
@media(min-width:1650px){.table-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.table-card{min-height:230px;padding:22px 22px 0}.table-name{font-size:1.35rem}.table-meta,.card-service{font-size:.8rem}.table-time{font-size:.75rem}.badge{font-size:.73rem}.table-footer{padding:16px 0}.table-price{font-size:1.1rem}}
@media(max-width:1350px){:root{--sidebar-width:228px}.sidebar{padding:25px 15px 18px}.topbar{padding:0 27px}main{padding:21px 27px 0}.table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{padding:17px}.section-hint{display:none}.filter-row{flex-wrap:wrap}.filter-actions{margin-left:auto}.stat-value{font-size:1.6rem}.nav-item{padding:12px}.brand{padding:0 7px}.branch-label{display:none}.report-layout{grid-template-columns:1.5fr 1fr}}
@media(max-width:1050px){:root{--sidebar-width:220px}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.is-open{transform:translateX(0)}.app-shell{margin-left:0}.mobile-menu{display:flex}.mobile-sidebar-close{display:flex;position:absolute;top:10px;right:7px;color:#fff;width:27px;height:27px}.topbar{height:68px}.topbar-left{gap:8px}.table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.toast{left:50%}.team-grid{gap:14px}.person-card{padding:25px 17px 0}.catalog-grid{gap:14px}.report-layout{grid-template-columns:1.5fr 1fr}}
@media(max-width:760px){main{padding:18px 20px 0}.topbar{padding:0 16px}.topbar-right{gap:8px}.date-label{font-size:.7rem}.topbar-divider{display:none}.page-heading{margin-bottom:22px;align-items:flex-end}.page-heading p{font-size:.81rem;max-width:330px}h1{font-size:2rem}.eyebrow{font-size:.61rem}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:23px}.stat-top{margin-bottom:8px}.stat-card{padding:17px}.stat-value{font-size:1.65rem}.table-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 16px 17px;gap:12px}.section-top{padding:0 17px}.area-tabs{gap:21px}.filter-row{padding:15px 16px 18px;gap:12px}.filter-actions{width:100%;margin:0}.search-field{width:auto;flex:1;height:40px}.search-field input{font-size:1rem}.display-toggle .icon-button{height:32px;width:32px}.status-filters{width:100%;gap:3px}.filter-chip{font-size:.75rem;padding:8px 11px}.grid-footer{padding:14px 17px}.grid-footer>span:last-child{display:none}.table-card{min-height:198px}.preview-notice{align-items:flex-start;font-size:.67rem;margin-bottom:22px;gap:8px}.preview-pill{font-size:.56rem;margin-top:1px}.table-name{font-size:1.15rem}.table-meta{font-size:.72rem}.badge{font-size:.65rem}.card-service{font-size:.7rem}.page-footer>span:nth-child(2){display:none}.kitchen-board{grid-template-columns:1fr 1fr}.kitchen-column:last-child{grid-column:1/-1}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-grid{grid-template-columns:1fr}.person-card{text-align:left;display:grid;grid-template-columns:auto 1fr;column-gap:17px;padding:23px 23px 0;align-items:center}.person-card .avatar{grid-column:1;grid-row:1/3;margin:0}.person-card h2{grid-column:2;grid-row:1}.person-card>.badge{grid-column:2;grid-row:2;justify-self:start;margin-top:6px}.person-card>p{grid-column:1/-1;min-height:0;margin:20px 0}.person-foot,.permission-switch{grid-column:1/-1;justify-content:space-between}.report-layout{grid-template-columns:1fr}.chart{gap:15px}.chart-values{gap:15px}.list-view .table-card{grid-template-columns:100px 1fr auto;gap:6px 12px;padding:14px}.list-view .card-top{gap:7px;flex-wrap:wrap}.list-view .card-service{display:none}.list-view .table-footer{grid-column:3}.list-view .table-name{font-size:1rem}.list-view .table-meta{font-size:.65rem}.list-view .table-price{font-size:.86rem}.list-view .table-symbol{width:29px;height:29px}.list-view .badge{font-size:.56rem}.list-view .table-time{font-size:.6rem}.toast{bottom:18px;width:max-content}.page-heading>.soft-badge{display:none}}
@media(max-width:420px){main{padding:17px 12px 0}.topbar{padding:0 8px}.date-label{display:none}.breadcrumb{font-size:.76rem}.topbar-right{gap:3px}.page-heading{gap:10px}h1{font-size:1.85rem}.page-heading p{font-size:.76rem}.page-heading .button{padding:10px 12px;font-size:.75rem}.stat-card{padding:15px}.stat-top>span{font-size:.75rem}.stat-description{font-size:.66rem}.stat-icon{width:29px;height:29px}.area-tabs{gap:15px}.area-tab{font-size:.74rem;gap:5px}.area-tab>span{font-size:.62rem}.section-top{padding:0 13px}.table-grid{padding:0 11px 13px;gap:9px}.table-card{padding:14px 12px 0;min-height:194px}.badge{font-size:.59rem;padding:3px 5px}.table-symbol{width:31px;height:31px}.table-name{font-size:1.08rem}.table-meta{font-size:.64rem}.card-service{font-size:.65rem;margin-top:12px}.table-price{font-size:.87rem}.table-time{font-size:.6rem}.table-time svg{width:11px;height:11px}.filter-row{padding:14px 11px 16px}.filter-chip{font-size:.69rem;padding:8px 10px}.catalog-grid{grid-template-columns:1fr}.kitchen-board{grid-template-columns:1fr}.kitchen-column:last-child{grid-column:auto}.bill-dialog{border-radius:0}.bill-body,.bill-actions{padding:22px}.dialog-heading{padding:22px}.bill-status-row{padding:0 22px 20px}.form-dialog form{padding:22px}.chart{gap:10px;height:220px;padding:0}.chart-values{gap:10px;padding-left:0;padding-right:0}.chart-bar>span{font-size:.56rem}.chart-values>span{font-size:.62rem}.list-view .table-card{grid-template-columns:83px 1fr auto;gap:5px 8px}.list-view .card-top{flex-direction:column;align-items:flex-start}.list-view .table-card[data-state=empty] .table-footer{font-size:.65rem}}
@media(max-width:340px){.table-grid{grid-template-columns:1fr}.stat-value{font-size:1.4rem}.area-tabs{gap:8px}.area-tab svg{display:none}.filter-chip{padding:8px}.table-card{min-height:185px}.table-meta,.card-service{font-size:.75rem}.table-time{font-size:.7rem}.badge{font-size:.7rem}}
/* Readability and touch targets are retained at every breakpoint. */
.nav-item,.button,.area-tab,.filter-chip,.stat-top>span,.bill-item strong,.field,.permission-switch{font-size:.875rem}
.table-meta,.card-service,.table-time,.stat-description,.grid-footer,.preview-notice,.profile div>span,.preview-side p,.bill-item small,.bill-disclaimer,.product-category,.section-hint{font-size:.75rem}
.badge{font-size:.75rem}.table-price{font-size:1rem}.filter-chip{min-height:44px}.stat-description{display:block;line-height:1.6}.table-card{min-height:218px}.card-service{line-height:1.5}.stat-value,.table-price,.table-time{font-variant-numeric:tabular-nums}.search-field input{font-size:.875rem}.brand-name>span,.nav-heading{font-size:.6875rem}.preview-pill{font-size:.625rem}.page-heading p,.person-card>p,.product-card p{font-size:1rem}.bill-info strong,.bill-section-heading h3{font-size:.875rem}.bill-info span,.bill-section-heading span{font-size:.75rem}.grid-footer{flex-wrap:wrap}.table-time{gap:4px}body:has(dialog[open]){overflow:hidden}.area-tabs{flex-wrap:wrap}.table-card[data-state=empty] .table-footer{font-size:.875rem}.person-foot,.fine-print,.permission-note,.form-intro{font-size:.875rem}.chart-values>span,.chart-bar>span{font-size:.75rem}
@media(max-width:760px){.page-heading{align-items:flex-start}.page-heading p{font-size:.875rem}.page-heading>.button{margin-top:24px}.area-tabs{gap:16px}.area-tab{font-size:.875rem}.filter-chip{padding:8px 10px}.card-top{flex-wrap:wrap;align-items:flex-start;min-height:37px}.table-card{min-height:223px}.table-time{font-size:.75rem}.table-footer{flex-wrap:wrap;gap:6px}.table-price{font-size:1rem}.stat-top>span{font-size:.875rem}.stat-value{font-size:1.65rem}.search-field input{font-size:1rem}.stat-description{font-size:.75rem}.list-view .table-card{min-height:auto}.list-view .badge{font-size:.6875rem}.list-view .table-meta,.list-view .table-time{font-size:.75rem}.list-view .table-name{font-size:1rem}.chart-bar>span{font-size:.6875rem}.card-service{min-height:42px}.list-view .table-footer{flex-wrap:nowrap}.team-grid .badge{font-size:.75rem}}
@media(max-width:420px){.area-tabs{gap:11px}.area-tab{font-size:.8125rem}.area-tab svg{width:14px}.area-tab>span{font-size:.75rem}.filter-chip{font-size:.8125rem;padding:8px 9px}.badge{font-size:.6875rem}.table-meta,.card-service{font-size:.75rem}.table-time{font-size:.6875rem}.card-top{gap:4px}.table-symbol{width:29px;height:29px}.card-service{min-height:50px}.table-card{min-height:230px}.page-heading>.button{font-size:.8125rem;padding:10px}.table-grid.list-view .table-card{grid-template-columns:85px 1fr;gap:8px 10px}.list-view .table-footer{grid-column:2;grid-row:3;align-items:flex-start;flex-direction:row;justify-content:space-between}.list-view .card-top{grid-row:1/4}.chart-bar>span{font-size:.625rem}.preview-notice{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.preview-notice,.page-heading>.button,.filter-row,.page-footer,.toast{display:none!important}.app-shell{margin:0}main{padding:0}.stats-grid{grid-template-columns:repeat(4,1fr)}.table-grid{grid-template-columns:repeat(3,1fr)}.table-card,.panel{break-inside:avoid;box-shadow:none}.tables-section{border:0}body{background:#fff}}
