@charset "UTF-8";
:root{--orange:#ef8a2b;--orange-hover:#df761c;--font-scale:1;font-size:calc(16px * var(--font-scale))}
button,input,select,textarea{font:inherit}textarea{resize:vertical;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:9px;padding:12px;width:100%}select{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px;max-width:100%}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.muted{color:var(--muted)}.danger{color:#b83232;border:1px solid #e9b5b5;background:#fff4f3}.button{white-space:normal}.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.actions .button{min-height:42px}.section-space{margin-top:24px}.check-field{display:flex;gap:10px;align-items:center;min-height:44px;margin:5px 0;font-size:.9rem}.check-field input{width:19px;height:19px;accent-color:var(--orange)}.empty-panel{text-align:center;padding:42px 20px;color:var(--muted)}.loading{text-align:center;padding:55px}.connection{font-size:.75rem;color:var(--green);white-space:nowrap}.connection.offline{color:#b83232}.sidebar{overflow-y:auto;padding-top:24px}.sidebar .branch{margin:24px 0 20px}.sidebar-bottom{padding-top:20px}.navigation{gap:2px}.nav-item{min-height:43px;padding:9px 13px;font-size:.82rem}.nav-heading.nav-section{margin-top:16px}.sidebar .branch strong{overflow-wrap:anywhere}.sidebar .profile{align-items:center}.sidebar .profile>div{flex:1;min-width:0}.sidebar .profile strong{overflow-wrap:anywhere}.sidebar .icon-button{color:#abb3b9}.topbar-right{gap:10px}.breadcrumb>span{padding:0}.page-heading{flex-wrap:wrap;gap:12px}.page-heading .actions{margin-left:auto}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px}.toolbar .search-field{flex:1;min-width:160px}.table-grid.reference-cards{padding:16px;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}.reference-table{position:relative;border-radius:14px;background:#273641;color:white;min-height:198px;overflow:hidden;display:grid;grid-template-columns:1fr 44px;box-shadow:0 6px 15px #23313e0c}.reference-table.occupied{background:#238854}.reference-table.pending{background:#c47916}.reference-table.ready{background:#268b57}.reference-table.warning{background:#b4473b}.reference-table .table-main{text-align:left;padding:20px 15px;display:flex;flex-direction:column;gap:9px;width:100%;color:inherit;min-width:0}.reference-table .table-main:hover{background:#ffffff10}.reference-table .table-name{font-size:1.45rem;margin:0;overflow-wrap:anywhere}.reference-table small{font-size:.75rem;display:block}.reference-table .table-line{font-size:.75rem;display:flex;gap:6px;align-items:center;background:#00000016;border-radius:5px;padding:4px 7px;overflow-wrap:anywhere}.reference-table .table-line svg{width:13px;height:13px}.reference-table .table-price{margin-top:auto;font-size:1.35rem;font-weight:600}.table-side{display:flex;flex-direction:column;background:#0000001a}.table-side button,.table-side a{display:flex;align-items:center;justify-content:center;min-height:48px;flex:1;color:#fff}.table-side button:first-child{background:#4772eb}.table-side button:disabled{opacity:.45}.table-side svg{width:18px;height:18px}.table-side a:hover{background:#ffffff15}.reference-table .badge{background:#ffffff22;color:#fff;align-self:flex-start}.table-grid.list-view{grid-template-columns:1fr!important}.list-view .reference-table{min-height:100px}.list-view .table-main{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:8px}.list-view .table-main .table-price{grid-column:3;grid-row:1/3;margin:0}.list-view .table-main small{grid-column:2}.list-view .table-main .badge{display:none}.list-view .table-side{flex-direction:row}.form-dialog{width:520px}.form-dialog #form-content>form{padding:26px}.bill-dialog{width:min(960px,100%);border-radius:18px 0 0 18px}.bill-dialog #bill-content{min-height:100%;display:block}.bill-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);align-items:start}.bill-order-pane{padding:22px;border-right:1px solid var(--line)}.bill-summary-pane{padding:22px}.bill-order-pane .search-field{width:100%;margin-bottom:15px}.bill-order-pane .menu-layout{gap:10px;grid-template-columns:85px 1fr}.bill-summary-pane .bill-info{margin-bottom:20px}.bill-summary-pane .bill-actions{margin:20px -22px -22px;padding:22px}.bill-item{align-items:start;gap:9px;flex-wrap:wrap}.bill-item>div{min-width:100px}.bill-item .item-actions{display:flex;gap:4px;width:100%;justify-content:flex-end}.bill-item.cancelled{opacity:.55}.bill-item.cancelled strong{text-decoration:line-through}.mini-button{border:1px solid var(--line);border-radius:7px;padding:7px 10px;min-height:36px;font-size:.75rem;background:var(--surface);color:var(--text)}.bill-summary-pane .field{margin-bottom:12px}.bill-item>span:last-child{white-space:normal}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.admin-product{overflow:hidden;min-width:0}.admin-product .product-visual{height:150px}.product-visual img{height:100%;width:100%;object-fit:cover}.product-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#d9ae88,#654636);color:#fff}.product-fallback svg{width:48px;height:48px}.admin-product .product-copy{padding:17px}.admin-product h2{margin-bottom:5px;overflow-wrap:anywhere}.admin-product p{font-size:.8rem;color:var(--muted);margin-bottom:12px}.price-pair{display:flex;flex-wrap:wrap;gap:8px;font-size:.85rem;font-weight:650;margin:10px 0}.admin-product .actions{margin-top:12px}.list-panel{display:grid;gap:12px}.list-row{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:18px;display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap}.list-row>div{min-width:0}.list-row p,.list-row small{color:var(--muted);font-size:.82rem;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid .panel{min-width:0}.settings-grid h2{margin-bottom:20px}.settings-grid form .button{margin-top:15px}.settings-grid .form-columns{gap:12px}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px}.report-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:22px}.report-filters .field{margin:0;flex:1;min-width:140px}.report-filters .button{flex-shrink:0}.report-layout{grid-template-columns:2fr 1fr}.chart{gap:10px;overflow-x:auto;align-items:flex-end;min-height:240px}.chart-day{flex:1;min-width:28px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:7px;font-size:.65rem}.chart-day .bar{background:var(--orange);width:100%;max-width:60px;border-radius:7px 7px 0 0;min-height:4px}.chart-day strong{font-size:.65rem}.method-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:15px 0;font-size:.9rem}.qr-panel{text-align:center}.qr-panel img{width:200px;height:200px;max-width:100%;background:white}.qr-panel p{overflow-wrap:anywhere;font-size:.8rem;margin:10px 0}.error-toast{background:#923f35}.auth-shell{max-width:620px;display:flex;flex-direction:column;gap:25px;padding:35px 20px}.auth-card{width:100%}.auth-card h1{font-size:1.85rem}.auth-card h2{margin-bottom:16px}.auth-card .form-intro{margin-bottom:25px}.auth-tools{display:flex;justify-content:flex-end;gap:10px;margin-bottom:20px}.auth-brand{display:flex;align-items:center;justify-content:center;gap:13px}.auth-brand strong{font-size:1rem;line-height:1.3}.auth-brand small{font-size:.68rem;letter-spacing:2px;color:var(--muted)}.customer-shell{max-width:1200px;margin:auto}.menu-header{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:24px 28px;border-bottom:1px solid var(--line);background:var(--surface)}.menu-brand{display:flex;gap:12px;align-items:center;max-width:65%}.menu-brand strong{font-size:.93rem;max-width:260px;line-height:1.3;overflow-wrap:anywhere}.menu-brand img{width:50px;height:50px;object-fit:contain}.menu-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.menu-controls select{font-size:.8rem;padding:8px 5px}.customer-main{padding:28px;max-width:none}.menu-hero{padding:28px 30px 32px;border-radius:20px;background:linear-gradient(130deg,#fff2df,#fde3c4);margin-bottom:24px;color:#513c2b}.menu-hero h1{font-size:2.2rem;max-width:470px}.menu-hero p{font-size:.95rem;margin-top:12px;max-width:650px}.menu-hero .eyebrow{color:#a26c34}.menu-search{display:flex;gap:12px;align-items:center;margin:20px 0}.menu-search .search-field{flex:1;width:auto;min-width:0;background:var(--surface)}.menu-layout{display:grid;grid-template-columns:125px 1fr;gap:22px;align-items:start}.category-rail{display:flex;flex-direction:column;gap:12px;position:sticky;top:15px}.category-tile{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:8px;align-items:center;font-size:.78rem;text-align:center;overflow-wrap:anywhere;min-height:95px}.category-tile span{width:100%;min-height:52px;background:linear-gradient(135deg,#70b9b6,#46759c);border-radius:9px;display:flex;align-items:center;justify-content:center;color:white;font-size:1.4rem;font-weight:650}.category-tile:nth-child(2n) span{background:linear-gradient(135deg,#f4c494,#d77f57)}.category-tile:nth-child(3n) span{background:linear-gradient(135deg,#eaa8be,#ac6484)}.category-tile.active{border:2px solid var(--orange);padding:7px}.menu-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.menu-product{min-width:0;background:var(--surface);border-radius:14px;overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column;text-align:left}.menu-product .product-visual{height:170px;position:relative}.menu-product .product-visual:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0007)}.menu-product .product-overlay{position:absolute;z-index:1;inset:auto 12px 12px;color:white;font-size:1rem;font-weight:650;text-shadow:0 1px 4px #0005;overflow-wrap:anywhere}.menu-product .product-copy{padding:13px;display:flex;flex-direction:column;flex:1;gap:8px}.menu-product .product-copy p{font-size:.78rem;color:var(--muted);line-height:1.5;flex:1}.menu-product .product-copy strong{font-size:1rem}.menu-product .add-to-cart{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:8px;background:var(--orange);color:white}.menu-product .product-copy>.actions{justify-content:space-between;margin-top:auto}.menu-product.unavailable{opacity:.6}.cart-bar{position:sticky;bottom:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 28px;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -8px 25px #23313e0c}.cart-bar>span{font-weight:650}.cart-bar .button{min-width:170px}.menu-footer{display:flex;justify-content:space-between;gap:15px;padding:25px 28px;color:var(--muted);font-size:.75rem;border-top:1px solid var(--line)}.menu-footer a{text-decoration:underline}.table-choice{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:15px}.table-choice label{flex:1;min-width:160px;margin:0}.table-choice small{color:var(--muted);width:100%}.tracking-list{display:grid;gap:12px;margin-top:28px}.tracking-card{padding:18px;border:1px solid var(--line);background:var(--surface);border-radius:13px;font-size:.85rem}.tracking-card p{margin-top:8px;color:var(--muted)}.tracking-card .badge{margin-left:8px}.cart-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;padding:12px 0;border-bottom:1px solid var(--line)}.cart-row>div{min-width:0}.cart-row strong{overflow-wrap:anywhere}.cart-row input{width:60px;padding:7px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text)}.form-error:empty{display:none}.wide-form{width:650px}.permission-summary{font-size:.82rem;color:var(--muted);margin-top:10px}.history-details{font-size:.84rem;margin-top:10px}.history-details summary{cursor:pointer}.history-details .bill-item{padding:8px 0}.language-label{font-size:.75rem}.inline-alert{background:var(--orange-soft);border:1px solid #efc098;border-radius:9px;padding:12px;font-size:.82rem;margin:15px 0}.no-animations *,[data-motion=off] *{animation:none!important;transition:none!important}[data-theme=dark] .menu-hero{background:linear-gradient(130deg,#493629,#302b28);color:#f3e3d2}[data-theme=dark] .danger{background:#432b2b;color:#ffa8a0;border-color:#6e3e3e}.mobile-sidebar-close{z-index:2}.table-action-settings{font-size:.75rem;color:var(--muted)}.section-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:20px}
@media(max-width:1350px){.table-grid.reference-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-table .table-price{font-size:1.2rem}}
@media(max-width:900px){.menu-products{grid-template-columns:repeat(3,minmax(0,1fr))}.menu-product .product-visual{height:150px}.settings-grid{grid-template-columns:1fr}.bill-layout{grid-template-columns:1fr 340px}.bill-order-pane .menu-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.table-grid.reference-cards{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:12px}.reference-table{min-height:200px;grid-template-columns:1fr 36px}.reference-table .table-main{padding:15px 11px}.reference-table .table-name{font-size:1.2rem}.reference-table .table-price{font-size:1.1rem}.topbar-right{gap:5px}.connection{font-size:.65rem}.topbar-right select{max-width:110px;font-size:.75rem}.page-heading .actions{margin:0}.bill-layout{grid-template-columns:1fr}.bill-order-pane{border-right:0;border-bottom:1px solid var(--line)}.bill-summary-pane{padding:20px}.bill-order-pane .menu-products{grid-template-columns:repeat(3,minmax(0,1fr))}.bill-dialog{border-radius:0}.customer-main{padding:18px}.menu-header{padding:15px;gap:10px;flex-wrap:wrap}.menu-controls{margin-left:auto}.menu-hero{padding:25px 20px}.menu-hero h1{font-size:1.85rem}.menu-layout{grid-template-columns:90px 1fr;gap:12px}.menu-product .product-visual{height:130px}.category-tile{padding:6px;font-size:.72rem;min-height:82px}.category-tile.active{padding:5px}.category-tile span{min-height:45px;font-size:1.2rem}.menu-products{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.menu-product .product-copy{padding:9px}.menu-product .product-copy p{font-size:.72rem}.menu-product .product-overlay{font-size:.84rem;inset:auto 8px 8px}.menu-product .product-copy strong{font-size:.86rem}.menu-product .add-to-cart{width:32px;height:32px}.menu-search .button{font-size:.75rem;padding:10px}.cart-bar{padding:12px 18px}.menu-footer{padding:20px 18px}.report-layout{grid-template-columns:1fr}.list-view .table-main{grid-template-columns:1fr 1fr}.list-view .table-main .table-price{grid-column:2;grid-row:1/3}.list-view .table-main .table-line{grid-column:1/3}}
@media(max-width:420px){.reference-table{min-height:190px;grid-template-columns:1fr 32px}.reference-table .table-main{padding:13px 10px;gap:8px}.reference-table .table-name{font-size:1.15rem}.reference-table .table-price{font-size:1rem}.reference-table .table-line{font-size:.68rem;padding:3px 4px}.reference-table .badge{font-size:.63rem}.topbar-right .connection{display:none}.breadcrumb{font-size:.7rem}.topbar-right select{max-width:94px}.menu-brand{max-width:100%}.menu-brand strong{font-size:.88rem}.menu-controls{width:100%;justify-content:flex-end}.customer-main{padding:12px}.menu-layout{grid-template-columns:78px 1fr;gap:9px}.menu-products{gap:8px}.menu-product .product-visual{height:125px}.menu-product .product-copy p{display:none}.menu-product .product-copy{padding:9px 7px}.menu-product .product-copy>.actions{gap:5px}.menu-product .product-copy strong{font-size:.8rem}.menu-product .product-overlay{font-size:.8rem}.category-tile{font-size:.68rem}.bill-order-pane{padding:15px}.bill-order-pane .menu-layout{grid-template-columns:70px 1fr}.bill-order-pane .menu-products{grid-template-columns:repeat(2,minmax(0,1fr))}.permission-grid{grid-template-columns:1fr}.menu-search{align-items:stretch}.menu-search .button svg{display:none}.form-columns{grid-template-columns:1fr}.form-dialog #form-content>form{padding:20px}.menu-footer{flex-wrap:wrap}}
@media(max-width:340px){.table-grid.reference-cards{grid-template-columns:1fr}.menu-layout{grid-template-columns:68px 1fr}.menu-products{grid-template-columns:1fr}}

.stat-value{white-space:normal;overflow-wrap:anywhere}.bill-item small{display:block;margin-top:4px;line-height:1.5}.bill-status-row{background:var(--surface)}.summary-only{grid-template-columns:1fr}.bill-item>div{flex:1}.bill-item>.item-actions{flex:0 0 100%}.stat-icon{flex-shrink:0}.chart-day strong{overflow-wrap:anywhere;text-align:center}.customer-connection{padding:12px 18px;background:#fff0e8;color:#8d3d26;border-bottom:1px solid #eac4b5;font-size:.85rem}
@media(max-width:420px){.stat-value{font-size:1.3rem}.stat-value{line-height:1.5}.menu-product .product-copy>.actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.menu-price-pair{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}.menu-price-pair strong{padding:5px 7px;background:var(--orange-soft);border-radius:6px;white-space:normal;overflow-wrap:anywhere}.menu-price-pair strong+strong{background:var(--surface-alt,var(--surface));border:1px solid var(--line)}.profit-row{padding:15px 0;border-bottom:1px solid var(--line)}.profit-row>strong,.profit-row>small{display:block;overflow-wrap:anywhere}.profit-row>small{margin-top:5px;color:var(--muted)}.profit-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.profit-values span{font-size:.75rem;color:var(--muted);min-width:0;overflow-wrap:anywhere}.profit-values strong{display:block;color:var(--text);font-size:.9rem;margin-top:4px;overflow-wrap:anywhere}.section-title{flex-wrap:wrap}.section-title>div{min-width:0;overflow-wrap:anywhere}.list-panel p,.list-row strong,.permission-summary{overflow-wrap:anywhere}.report-layout>section{min-width:0}.form-dialog h3{margin:14px 0 8px}
@media(max-width:420px){.menu-product .menu-price-pair strong{font-size:.72rem;padding:4px 5px}.profit-values{grid-template-columns:1fr}.profit-values span{display:flex;justify-content:space-between;gap:8px}.profit-values strong{margin:0}.section-title .badge{white-space:normal}}
