.sales-register{min-height:calc(100vh - 56px)}.sales-head{margin-bottom:16px}.sales-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sales-head-actions button,.category-tabs button,.qty button,.fulfillment-actions button,.new-sale{border:1px solid #d5dbe0;background:#fff;border-radius:8px;padding:9px 12px;cursor:pointer}.sales-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.7fr);gap:18px;align-items:start}.product-pane,.cart-pane{background:#fff;border:1px solid #e4e7eb;border-radius:14px;padding:16px;min-width:0;max-width:100%}.product-tools{margin-bottom:12px}.product-groups{display:grid;gap:18px}.product-group{min-width:0}.product-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 10px;padding-bottom:7px;border-bottom:1px solid #e5e9e7}.product-group-title b{font-size:17px;color:#174f3a}.product-group-title span{font-size:12px;color:#78817d}.category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.category-tabs button.selected{background:#275c49;color:#fff;border-color:#275c49}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-card{min-height:210px;border:1px solid #dfe5e1;border-radius:12px;background:#fbfcfb;padding:0;display:flex;flex-direction:column;align-items:stretch;gap:0;cursor:pointer;text-align:left;overflow:hidden}.product-card:hover{border-color:#7aaa96;box-shadow:0 5px 16px #11182712}.product-image{width:100%;height:126px;object-fit:cover;background:#eef2ef}.product-image-placeholder{display:grid;place-items:center;font-size:36px;font-weight:800;color:#477258;background:#edf3ef}.product-card-copy{padding:12px 14px 14px;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:6px}.product-card b{font-size:16px}.product-card small{color:#78817d}.product-card strong{margin-top:auto;color:#174f3a}.cart-pane{position:sticky;top:18px;display:grid;gap:14px}.cart-pane h2{margin:0}.cart-pane p{margin:3px 0 0;color:#6b7280}.cart-lines{display:grid;gap:10px;max-height:50vh;overflow:auto}.cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;border-bottom:1px solid #edf0f2;padding-bottom:10px}.cart-line>div:first-child{display:grid;gap:3px}.cart-line small{color:#69717d}.qty{display:flex;align-items:center;gap:7px}.qty button{width:32px;height:32px;padding:0;font-size:18px}.cart-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e6e9ec;padding-top:14px}.cart-total b{font-size:22px}.sale-submit{width:100%;padding:13px 16px}.empty-state{color:#7a8380;padding:20px 8px;text-align:center}.warning{color:#9a5b0a}.sale-result{display:grid;gap:18px}.order-title{display:flex;justify-content:space-between;align-items:start;gap:18px}.order-title h2{margin:0}.order-title p{margin:5px 0 0;color:#6b7280;font-size:12px}.order-state{background:#eef7f2;color:#17603e;border:1px solid #b8d9c8;border-radius:999px;padding:7px 11px;font-weight:800;font-size:12px}.order-items{display:grid;gap:8px;margin:18px 0}.order-items>div{display:flex;justify-content:space-between;gap:20px}.payment-ref{display:grid;gap:6px;border:1px dashed #aebdb5;border-radius:10px;padding:12px;margin-bottom:12px}.payment-ref code{font-size:15px;overflow-wrap:anywhere}.cash-row{display:grid;grid-template-columns:1fr auto;gap:10px}.fulfillment-actions{display:flex;flex-wrap:wrap;gap:10px}.new-sale{justify-self:start}@media(max-width:1200px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.sales-layout{grid-template-columns:1fr}.cart-pane{position:static}}@media(max-width:620px){.product-grid{grid-template-columns:1fr 1fr}.cash-row{grid-template-columns:1fr}}.draft-review-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:14px}.draft-review-actions button,.draft-back,.sale-end-actions button{border:1px solid #d5dbe0;background:#fff;border-radius:8px;padding:9px 12px;cursor:pointer}.draft-back{width:100%}.sale-end-actions{display:flex;flex-wrap:wrap;gap:10px}.line-remove{border:1px solid #e5b8b8;background:#fff7f7;color:#8f2f2f;border-radius:7px;padding:6px 9px;cursor:pointer}.order-items>div{align-items:center}.modifier-sheet{margin-top:16px;border:1px solid #d8e3dd;border-radius:12px;padding:16px;background:#f8fbf9;display:grid;gap:14px}.modifier-sheet-head,.modifier-sheet-foot,.modifier-group-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.modifier-sheet-head h3{margin:0}.modifier-sheet-head p{margin:4px 0 0;color:#6b7280}.modifier-sheet-head button{border:1px solid #d5dbe0;background:#fff;border-radius:8px;padding:8px 10px;cursor:pointer}.modifier-group{display:grid;gap:8px}.modifier-group-title small{color:#69717d}.modifier-options{display:flex;flex-wrap:wrap;gap:8px}.modifier-options button{min-width:120px;display:grid;gap:3px;text-align:left;border:1px solid #d5dbe0;background:#fff;border-radius:10px;padding:10px 12px;cursor:pointer}.modifier-options button.selected{border-color:#275c49;background:#eaf4ef;box-shadow:0 0 0 1px #275c49 inset}.modifier-options small{color:#66706b}.modifier-sheet-foot{border-top:1px solid #dde6e1;padding-top:12px}.modifier-sheet-foot b{font-size:20px}.line-modifiers{display:block;margin-top:3px;color:#66706b;font-weight:400}.register-closed{background:#fff1f0!important;color:#a12622!important;border-color:#f0b7b4!important}.register-open{background:#e7f6ec!important;color:#17723b!important;border-color:#a9dfba!important}.commercial-summary{display:grid;gap:6px;margin-top:12px;padding:12px 0;border-top:1px dashed #d7ddd9}.commercial-summary>div{display:flex;justify-content:space-between;gap:14px}.draft-commercial{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin:14px 0}.draft-commercial label{display:grid;gap:5px;font-size:13px;font-weight:700;color:#4b5650}.draft-commercial button{height:42px}@media(max-width:700px){.draft-commercial{grid-template-columns:1fr}.draft-review-actions{display:grid;grid-template-columns:1fr}}.split-row{display:grid;grid-template-columns:110px auto 1fr;gap:10px;align-items:end;margin:12px 0}.split-row label{display:grid;gap:4px;font-size:12px;font-weight:700}.split-row span{align-self:center;color:#5f6a64}@media(max-width:700px){.split-row{grid-template-columns:1fr}.split-row button{width:100%}}.payment-method-selector{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:14px 0 4px}.payment-method-selector span{font-weight:700;color:#4b5650}.payment-method-selector button{border:1px solid #d5dbe0;background:#fff;border-radius:8px;padding:9px 12px;cursor:pointer}.payment-method-selector button.selected{background:#275c49;color:#fff;border-color:#275c49}.bank-confirm{display:grid;gap:10px}.bank-confirm small{color:#69717d}@media(max-width:700px){.payment-method-selector{display:grid;grid-template-columns:1fr 1fr}.payment-method-selector span{grid-column:1/-1}.payment-method-selector button{width:100%}}.order-flow{margin:0 0 16px;background:#fff;border:1px solid #dfe6e2;border-radius:14px;padding:14px 16px;display:grid;gap:12px}.order-flow-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.order-flow-head small{color:#68726d}.order-flow-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.order-flow-step{min-width:0;border:1px solid #e2e7e4;border-radius:10px;padding:10px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;background:#fafbfa}.order-flow-step span{width:26px;height:26px;border-radius:999px;display:grid;place-items:center;border:1px solid #cfd8d3;font-size:12px;font-weight:800}.order-flow-step b{font-size:12px;line-height:1.3}.order-flow-step.current{border-color:#275c49;box-shadow:0 0 0 1px #275c49 inset}.order-flow-step.current span{background:#275c49;color:#fff;border-color:#275c49}.order-flow-step.done{background:#eef7f2;border-color:#b8d9c8}.order-flow-step.done span{background:#e0f1e7;color:#17603e;border-color:#a9d6bc}.order-flow-step.pending{color:#7b847f}@media(max-width:900px){.order-flow-steps{grid-template-columns:1fr}.order-flow-step{grid-template-columns:auto 1fr}.order-flow-head{display:grid}}.sales-register{--coffee:#7a3f16;--coffee2:#a56635;--cream:#fffaf5;--line:#eadfd5;--muted:#7b756f;display:grid;gap:14px}.sales-head{margin:0;padding:0 2px}.sales-head h1{font-size:30px;color:#30241c}.sales-head-actions button{width:40px;height:40px;border-radius:50%;padding:0}.staff-status{background:#fff;border-color:#eadfd5;color:#5b4b40}.order-flow{border-color:#eadfd5;border-radius:16px;padding:10px 14px;background:#fff;box-shadow:0 6px 18px #50321c0a}.order-flow-head{order:2;padding:8px 10px;border-radius:10px;background:#fff5e8;color:#7a4d22}.order-flow-head>b{display:none}.order-flow-head small{color:#8b5d2c;font-weight:700}.order-flow-steps{order:1;display:flex;align-items:flex-start;justify-content:center;gap:0}.order-flow-step{position:relative;display:grid;grid-template-columns:1fr;place-items:center;text-align:center;gap:6px;border:0;background:transparent;padding:4px 18px;min-width:110px;color:#8b837c}.order-flow-step:not(:last-child):after{content:"›";position:absolute;right:-4px;top:8px;color:#c5bcb3;font-size:22px}.order-flow-step span{width:34px;height:34px;border-radius:50%;background:#f0efed;border:0;font-size:13px}.order-flow-step b{font-size:12px}.order-flow-step.current{box-shadow:none;color:#633316}.order-flow-step.current span{background:linear-gradient(135deg,#9a571f,#71370f);color:#fff}.order-flow-step.done{background:transparent;border:0;color:#4f4036}.order-flow-step.done span{background:#f0dfcf;color:#7a3f16;border:0}.sales-layout{grid-template-columns:minmax(0,1.75fr) minmax(360px,.82fr);gap:14px}.product-pane,.cart-pane{border-color:#eadfd5;border-radius:18px;box-shadow:0 8px 24px #50321c0d;background:#fff}.product-pane{padding:16px}.product-pane-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.product-pane-head h2{margin:0;font-size:22px}.product-tools{margin:0;position:relative;min-width:270px}.product-tools>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8a8179}.product-tools input{padding-left:34px;border-color:#e5ddd6;background:#fdfbf9;border-radius:11px}.category-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;overflow:auto;padding-bottom:4px}.category-tabs button{min-width:90px;min-height:62px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr 1fr;align-items:center;text-align:left;gap:1px 8px;border-color:#eadfd6;border-radius:12px;padding:8px 10px;color:#453930}.category-tabs button>span{grid-row:1/3;font-size:21px}.category-tabs button>b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-tabs button>small{color:#8a817a}.category-tabs button.selected{background:#fff5e9;color:#733b17;border-color:#a86431;box-shadow:0 0 0 1px #924c1c14}.product-groups{gap:14px}.product-group-title{border-bottom:0;margin:4px 0 8px}.product-group-title b{font-size:19px;color:#2f261f}.product-group-title span{color:#9b6a46;font-weight:700}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.product-card{min-height:220px;border-color:#ece3dc;border-radius:14px;background:#fff;box-shadow:0 4px 13px #432b190a;transition:.16s transform,.16s box-shadow}.product-card:hover{transform:translateY(-2px);border-color:#cfaa8c;box-shadow:0 10px 22px #56341b1a}.product-image{height:130px;background:#f4ede7}.product-card-copy{padding:10px 11px;gap:4px}.product-card-copy>b{font-size:15px;color:#2f261f}.product-card-copy>small{min-height:32px;line-height:1.25}.product-price{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:auto}.product-price strong{color:#7a3f16;font-size:15px}.product-price span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#7a3f16;color:#fff;font-size:18px}.cart-pane{position:sticky;top:14px;padding:0;background:transparent;border:0;box-shadow:none;gap:10px}.cart-pane>section,.cart-pane>.sale-submit,.cart-pane>.draft-back{background:#fff;border:1px solid #eadfd5;border-radius:16px;box-shadow:0 7px 20px #4d321d0d}.cart-order-info,.cart-main{padding:14px}.cart-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.cart-section-head h2{margin:0;font-size:20px}.cart-section-head h2 span{color:#8c8178}.order-chip{padding:5px 10px;border-radius:999px;background:#f4f1ed;color:#6c635c;font-size:11px;font-weight:800}.order-meta-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #f0e8e1;font-size:12px}.order-meta-row span{color:#8b827a}.cart-clear{border:0;background:transparent;color:#9b4f24;font-size:12px}.cart-lines{max-height:46vh;gap:0}.cart-line{grid-template-columns:46px minmax(0,1fr) auto auto;padding:10px 0;gap:8px}.cart-line>.product-image{width:46px;height:46px;border-radius:9px}.cart-line-copy{display:grid;gap:2px}.cart-line-copy small{font-size:11px}.cart-line .qty{gap:3px}.cart-line .qty button{width:26px;height:26px;border-radius:7px}.cart-line .qty span{min-width:18px;text-align:center;font-weight:700}.cart-line>strong{font-size:13px}.cart-total{padding-top:12px}.cart-total b{font-size:27px;color:#452510}.sale-submit{min-height:54px;border:0!important;background:linear-gradient(135deg,#92501f,#6a3513)!important;font-size:15px}.empty-state{display:grid;gap:4px;padding:30px 8px}.empty-state span{font-size:12px;color:#92887f}.sale-result{gap:12px}.order-summary{margin-top:0}.order-title h2{font-size:24px}.order-state{background:#fff3e6;color:#7a3f16;border-color:#e8c8ab}.grid-two>.panel{margin-top:0}.payment-ref{background:#fffaf3;border-color:#d6b89f}.cash-row input,.bank-confirm input{min-height:48px}.cash-row .primary,.bank-confirm .primary{min-height:48px;background:#087857}.payment-method-selector button.selected{background:#7a3f16;border-color:#7a3f16}.draft-review-actions .primary{background:linear-gradient(135deg,#92501f,#6a3513)}@media(max-width:1300px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-tabs{grid-template-columns:repeat(4,minmax(120px,1fr))}}@media(max-width:1000px){.sales-layout{grid-template-columns:minmax(0,1.4fr) minmax(310px,.8fr)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-pane-head{align-items:stretch;flex-direction:column}.product-tools{min-width:0}.order-flow-step{min-width:90px;padding:4px 10px}}@media(max-width:850px){.sales-head h1{font-size:24px}.sales-head-actions{gap:6px}.order-flow-steps{overflow-x:auto;justify-content:flex-start;padding-bottom:3px}.order-flow-step{flex:0 0 88px}.order-flow-head{display:block}.sales-layout{grid-template-columns:1fr}.cart-pane{position:static}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-tabs{display:flex}.category-tabs button{flex:0 0 120px}.cart-lines{max-height:none}}@media(max-width:620px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-image{height:110px}.product-card{min-height:196px}.sales-head-actions .staff-status{display:none}.cart-line{grid-template-columns:42px minmax(0,1fr) auto}.cart-line>strong{grid-column:2/4;text-align:right}.cart-line>.product-image{width:42px;height:42px}.order-flow{padding:9px}.order-flow-step{flex-basis:76px}.order-flow-step b{font-size:10px}}.register-ops{display:flex;flex-direction:column;gap:16px}.cash-expected{padding:12px;border:1px solid #d9dfdc;border-radius:10px;background:#f6f8f7}.receipt-paper{max-width:560px;margin:0 auto 32px;padding:28px;background:#fff;border:1px solid #d9dfdc;border-radius:14px;box-shadow:0 10px 28px #0000000f}.receipt-brand{text-align:center;font-weight:800;letter-spacing:.12em}.receipt-paper h2,.receipt-paper p{text-align:center}.receipt-lines{border-top:1px dashed #bbb;border-bottom:1px dashed #bbb;padding:12px 0;margin:16px 0}.receipt-line{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.receipt-line>div{display:flex;flex-direction:column;gap:3px}.receipt-line small{color:#5d6862}.receipt-total{display:flex;justify-content:space-between;padding:5px 0}.receipt-foot{margin-top:18px;color:#5d6862}@media print{body *{visibility:hidden!important}.receipt-paper,.receipt-paper *{visibility:visible!important}.receipt-paper{position:absolute;left:0;top:0;width:100%;max-width:none;border:0;box-shadow:none;margin:0}}.floor-tabs{display:flex;gap:8px;overflow:auto;margin:0 0 16px}.floor-tabs button{border:1px solid #d8dfda;background:#fff;border-radius:999px;padding:10px 14px}.floor-tabs button.active{background:#173f2a;color:#fff;border-color:#173f2a}.table-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.table-card{min-height:150px;border:1px solid #dfe5e1;border-radius:18px;background:#fff;padding:16px;text-align:left;display:flex;flex-direction:column;gap:8px}.table-card.available:hover{border-color:#5e9471;box-shadow:0 8px 24px #1f492f1a}.table-card.occupied{background:#fff8ec;border-color:#e6c98d;cursor:default}.table-card-head{display:flex;justify-content:space-between;gap:10px}.table-card-head span{font-size:12px;color:#6e7872}.table-card strong{font-size:18px}.table-card small{color:#68736d}.table-card em{font-style:normal;font-size:12px;font-weight:800;margin-top:auto;color:#447056}.table-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0d1c1270;display:grid;place-items:center;z-index:30;padding:20px}.table-dialog{width:min(420px,100%);background:#fff;border-radius:20px;padding:22px}.table-dialog h2{margin:0 0 4px}.table-dialog p{margin:0 0 18px;color:#68736d}.table-dialog label{display:grid;gap:7px}.table-dialog input,.setup-panel input{border:1px solid #d7dfd9;border-radius:12px;padding:11px}.dialog-actions{display:flex;gap:9px;margin-top:18px}.dialog-actions button{flex:1}.setup-panel{margin-top:22px}@media(max-width:1000px){.table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.table-grid{grid-template-columns:1fr}}.self-order-qr{margin-top:22px;padding-top:18px;border-top:1px solid #e5e9e6}.self-order-qr code{display:block;max-width:520px;overflow-wrap:anywhere;white-space:normal;background:#f3f6f4;padding:10px;border-radius:8px}.qr-preview{display:flex;gap:18px;align-items:center;margin-top:14px}.qr-preview img{width:220px;height:220px;border:1px solid #dfe5e1;border-radius:12px;background:#fff}.qr-preview>div{display:grid;gap:10px}@media(max-width:700px){.qr-preview{align-items:flex-start;flex-direction:column}.qr-preview img{width:min(260px,100%);height:auto}}:root{font-family:Inter,Arial,sans-serif;color:#17202a;background:#f5f7fa}*{box-sizing:border-box}body{margin:0}button{font:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:230px 1fr}.sidebar{background:#12261f;color:#fff;padding:22px 14px;display:flex;flex-direction:column;gap:4px}.brand{font-weight:800;letter-spacing:1px;padding:4px 10px 20px}.sidebar button{border:0;border-radius:8px;padding:10px 12px;text-align:left;color:#dfe8e4;background:transparent;cursor:pointer}.sidebar button.active,.sidebar button:hover{background:#275c49;color:#fff}main{padding:28px;min-width:0;max-width:100%;overflow-x:hidden}header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;min-width:0;max-width:100%;flex-wrap:wrap}header>div{min-width:0}h1{margin:0;font-size:28px}header p{margin:5px 0 0;color:#6b7280}.status{background:#e7f6ec;color:#17723b;border:1px solid #a9dfba;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;min-width:0;max-width:100%}.cards article,.panel{background:#fff;border:1px solid #e4e7eb;border-radius:12px;padding:18px;box-shadow:0 2px 8px #1118270a;min-width:0;max-width:100%}.cards b{display:block;font-size:24px;margin-bottom:8px}.cards span{color:#69717d}.panel{margin-top:18px}.panel h2{margin-top:0}@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:30;display:flex;flex-direction:row;align-items:center;overflow-x:auto;padding:8px;gap:6px;box-shadow:0 4px 14px #0000001f}.sidebar .brand,.sidebar .staff-badge{display:none}.sidebar button{flex:0 0 auto;white-space:nowrap;padding:9px 11px}main{padding:14px;min-width:0}.cards{grid-template-columns:1fr 1fr}}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0;max-width:100%}.primary{border:0;border-radius:8px;background:#275c49;color:#fff;padding:10px 14px;cursor:pointer;font-weight:700}.primary:disabled{opacity:.55;cursor:not-allowed}.notice{margin-bottom:16px;background:#eef7f2;border:1px solid #c9e4d6;border-radius:10px;padding:12px 14px}.compact article{min-height:90px}.grid-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;min-width:0;max-width:100%}.grid-two>*{min-width:0}.form{display:grid;gap:10px;min-width:0}input,select{width:100%;min-width:0;max-width:100%;border:1px solid #d7dce2;border-radius:8px;padding:10px 11px;background:#fff}.table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}table{width:max-content;min-width:100%;max-width:none;border-collapse:collapse;font-size:14px}th,td{border-bottom:1px solid #edf0f2;padding:10px 8px;text-align:left;white-space:nowrap}td button{border:1px solid #d5dbe0;background:#fff;border-radius:6px;padding:6px 8px;cursor:pointer}.muted{opacity:.5}@media(max-width:1100px){.grid-two{grid-template-columns:minmax(0,1fr)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}header{align-items:flex-start}.header-actions{justify-content:flex-start}}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef2f0}.login-card{width:min(420px,100%);background:#fff;border:1px solid #dfe5e1;border-radius:14px;padding:28px;display:grid;gap:12px;box-shadow:0 12px 35px #11182714}.login-card h1{margin:0}.login-card p{margin:0 0 8px;color:#6b7280}.staff-badge{margin:0 8px 12px;padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:8px;display:grid;gap:3px}.staff-badge small{color:#bfd0c8}.form-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.form-row input{flex:1 1 260px}.form-row select{min-width:160px}.panel small{color:#69717d}@media(max-width:700px){.form-row{display:grid;grid-template-columns:1fr}}textarea{width:100%;border:1px solid #d7dce2;border-radius:8px;padding:10px 11px;background:#fff;font:inherit;resize:vertical}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.setting-card{display:grid;gap:14px}.setting-card h2{margin:0 0 4px}.setting-card small{color:#69717d}.audit-json{max-width:520px;max-height:260px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#f5f7f6;padding:10px;border-radius:8px;font-size:11px}@media(max-width:850px){.settings-grid{grid-template-columns:1fr}}.order-row-actions,.order-detail-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.order-detail-actions{margin:12px 0 16px;padding:12px;border:1px solid #dfe5e1;border-radius:12px;background:#f8faf8}.order-detail-actions .primary{font-weight:700}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.catalog-toolbar h2,.catalog-toolbar p{margin:0}.catalog-thumb-wrap{position:relative;width:60px;height:60px}.catalog-thumb-wrap img{width:60px;height:60px;object-fit:cover;border-radius:9px}.catalog-thumb-wrap small{position:absolute;right:-5px;bottom:-5px;background:#12261f;color:#fff;border-radius:999px;padding:2px 6px;font-size:10px}.catalog-description-cell{max-width:300px;white-space:normal;line-height:1.35;color:#4d5962}.muted-text{color:#9aa3aa}.row-actions{display:flex;gap:6px}.catalog-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a120f80;z-index:100;display:flex;align-items:center;justify-content:center;padding:22px}.catalog-editor{width:min(920px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;padding:22px;box-shadow:0 24px 80px #00000047}.catalog-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.catalog-editor-head h2{margin:3px 0 0}.catalog-editor-head>button{border:0;background:#eef2ef;border-radius:50%;width:38px;height:38px;font-size:24px}.editor-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#477258}.catalog-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-editor label{display:grid;gap:6px;font-size:13px;font-weight:700}.editor-description{margin-top:12px}.editor-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;margin-top:12px}.editor-check input{width:auto}.editor-section{margin-top:20px;padding-top:18px;border-top:1px solid #e8ece9}.editor-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.editor-section-head h3{margin:0 0 3px}.editor-upload{display:inline-block!important;background:#eef5f1;color:#205b3d;border:1px solid #c9dfd2;border-radius:8px;padding:9px 12px;cursor:pointer}.editor-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.editor-media-card{border:1px solid #dfe5e1;border-radius:12px;overflow:hidden;background:#fafcfb}.editor-media-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.editor-media-card>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px}.editor-media-card span{display:flex;gap:5px}.editor-media-card button{border:1px solid #d7ddd9;background:#fff;border-radius:6px;padding:4px 7px}.editor-empty{padding:18px;text-align:center;color:#8a948e;background:#f7f9f8;border-radius:10px}.cross-sell-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;max-height:260px;overflow:auto}.cross-sell-row{display:flex!important;align-items:center;grid-template-columns:none!important;gap:9px!important;border:1px solid #e1e6e2;border-radius:9px;padding:9px;background:#fbfcfb}.cross-sell-row input{width:auto}.cross-sell-row span{display:grid;gap:2px}.cross-sell-row small{color:#768079}.catalog-editor-actions{position:sticky;bottom:-22px;margin:22px -22px -22px;padding:14px 22px;background:#fffffff5;border-top:1px solid #e5e9e6;display:flex;justify-content:flex-end;gap:10px}.catalog-editor-actions button{min-width:120px;padding:10px 14px;border-radius:8px;border:1px solid #d5dbe0;background:#fff}.catalog-editor-actions .primary{background:#275c49;color:#fff;border-color:#275c49}@media(max-width:700px){.catalog-toolbar{align-items:stretch;flex-direction:column}.catalog-editor-backdrop{padding:0}.catalog-editor{height:100vh;max-height:none;border-radius:0;padding:16px}.catalog-editor-grid,.editor-media-grid,.cross-sell-list{grid-template-columns:1fr}.catalog-editor-actions{bottom:-16px;margin:18px -16px -16px;padding:12px 16px}}:root{--coffee:#7a3f16;--coffee-dark:#4e260e;--cream:#fbf7f1;--paper:#fff;--line:#eadfd4;--muted:#7b756f;--green:#15875f;--blue:#2f6fd6;--warning:#d68a17;background:#f7f3ee;color:#241f1b}body{background:linear-gradient(180deg,#fbf8f3 0,#f5f1eb)}.shell{grid-template-columns:220px minmax(0,1fr);background:#f7f3ee}.sidebar{background:#fffaf4;color:#2a211b;border-right:1px solid #eadfd4;padding:20px 14px;gap:10px;box-shadow:8px 0 30px #482d180a}.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 16px;color:#4c2d1b;border-bottom:1px solid #efe4da}.brand-mark{font-size:30px;color:#b38b45}.brand b{font-family:Georgia,serif;font-size:22px}.brand small{display:block;margin-top:3px;font-size:8px;letter-spacing:.14em;color:#8f7c6d}.staff-badge{margin:0;padding:10px;background:#fff;border:1px solid #efe4da;border-radius:14px;display:flex;align-items:center;gap:9px;color:#2a211b}.staff-badge small{color:#8b8178}.staff-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f2e5d7;color:#7a3f16;font-weight:800}.sidebar-nav{display:grid;gap:4px;overflow:auto;min-height:0}.sidebar button{color:#4d4640;border-radius:12px;padding:11px 12px;display:flex;align-items:center;gap:10px}.sidebar button span{width:22px;text-align:center;font-size:18px}.sidebar button.active,.sidebar button:hover{background:linear-gradient(135deg,#8a4a1e,#643313);color:#fff;box-shadow:0 6px 14px #6f391429}.logout-button{margin-top:auto!important;border-top:1px solid #eee0d5!important;border-radius:0!important}main{padding:22px 24px 30px;background:transparent}.eyebrow{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#9b6a46;margin-bottom:4px}.notice{background:#fff7e8;border-color:#efd7ae;color:#6d4b25;box-shadow:0 4px 12px #7a53240a}.primary{background:linear-gradient(135deg,#8a4a1e,#653313);border-radius:12px;min-height:44px}.status{border-radius:999px}.online-state{background:#e8f8ef!important;color:#17784f!important;border-color:#bfe8cf!important}.panel,.cards article{border-color:#eee4db;border-radius:16px;box-shadow:0 8px 24px #50341f0d}.kitchen-screen{display:grid;gap:14px}.kitchen-head{margin-bottom:0}.kitchen-head h1{font-size:30px;color:#2d241e}.kitchen-paid-rule{background:#e9f8ef;color:#14754e;border-color:#bee8cf}.kitchen-filterbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid #eee2d8;border-radius:16px;padding:10px 12px;box-shadow:0 6px 18px #482d180a}.kitchen-filterbar button{border:1px solid #e6ddd5;background:#fff;border-radius:10px;padding:9px 14px;font-weight:700}.kitchen-filterbar button.active{background:#7a3f16;color:#fff;border-color:#7a3f16}.kitchen-filterbar button.danger{color:#b52828;border-color:#efc3c3}.kitchen-legend{margin-left:auto;display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#645d57}.kitchen-legend span{display:flex;align-items:center;gap:6px}.dot{width:10px;height:10px;border-radius:3px;display:inline-block}.dot.waiting{background:#efb832}.dot.preparing{background:#3a7be0}.dot.ready{background:#35a36a}.kitchen-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.kitchen-column{border-radius:18px;padding:12px;border:1px solid #eee2d8;min-width:0}.kitchen-column.waiting{background:#fff9ed}.kitchen-column.preparing{background:#eef6ff}.kitchen-column.ready{background:#effaf3}.kitchen-column-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 10px}.kitchen-column-head>div{display:flex;align-items:center;gap:9px}.kitchen-column-head b{font-size:18px}.kitchen-stack{display:grid;gap:10px}.kitchen-ticket{background:#fff;border:1px solid rgba(120,88,60,.13);border-radius:14px;padding:12px;box-shadow:0 5px 14px #4a35230f}.kitchen-ticket.overdue{border-color:#e9a1a1;box-shadow:0 0 0 2px #cc3d3d12}.ticket-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.ticket-head>div:first-child{display:grid;gap:2px}.ticket-head b{font-size:17px}.ticket-head small{color:#8c837b}.ticket-badges{display:flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.age-badge,.paid-badge{border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800}.age-badge{background:#fff1dd;color:#9a5b0e}.paid-badge{background:#def5e7;color:#157149}.ticket-items{display:grid;gap:8px;margin:12px 0}.ticket-items>div{display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:start}.ticket-qty{width:26px;height:26px;border-radius:50%;background:#f4f1ed;display:grid;place-items:center;font-weight:800}.ticket-items small{display:block;color:#7d756e;margin-top:2px}.ticket-action{width:100%;min-height:42px;border:0;border-radius:10px;background:#7a3f16;color:#fff;font-weight:800}.kitchen-column.preparing .ticket-action{background:#2f6fd6}.ticket-ready-state{padding:10px;border-radius:10px;background:#dcf4e5;color:#176b47;font-weight:700;text-align:center}.overdue-note{margin:8px 0;padding:8px;border-radius:8px;background:#fff0f0;color:#a12f2f;font-size:12px;font-weight:700}.kitchen-empty{text-align:center;color:#8e867f;padding:24px 8px}@media(max-width:1100px){.kitchen-board{grid-template-columns:1fr}.kitchen-legend{margin-left:0}}@media(max-width:850px){.shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:30;display:flex;flex-direction:row;align-items:center;overflow-x:auto;padding:8px;background:#fffaf5}.sidebar-nav{display:flex;gap:6px}.sidebar .brand,.sidebar .staff-badge,.logout-button{display:none!important}.sidebar button{flex:0 0 auto;white-space:nowrap}.sidebar button span{display:none}main{padding:12px}.kitchen-filterbar{position:sticky;top:58px;z-index:20}.kitchen-head h1{font-size:24px}}
