@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#202a25;background:#f5f7f4;font-synthesis:none;--ink:#202a25;--muted:#77827b;--line:#e4e9e4;--green:#173a2b;--mint:#cce9d4;--paper:#fff}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#89948e}.eyebrow.light{color:#b9d2c0}.button{border:0;border-radius:10px;cursor:pointer;padding:12px 16px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:12px}.button.dark{background:var(--green);color:#fff}.button.primary{background:#e6f4e9;color:#143c29;padding:14px 18px}.button.soft{background:#f0f4f0;color:#335c45}.button.ghost{background:#ffffff18;border:1px solid #ffffff32;color:#fff}.button.send{background:#e5f1e7;color:#173e2a;width:100%;padding:15px}.button.full{width:100%;padding:16px}.brand{display:flex;align-items:center;gap:11px;font-family:Manrope,sans-serif}.brand-mark{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:var(--green);color:#e8f6eb;font-size:20px;font-weight:800}.brand strong,.brand small{display:block}.brand strong{font-size:13px;letter-spacing:-.2px}.brand small{font-size:11px;color:var(--muted);margin-top:2px}
/* landing */.landing-hero{min-height:570px;background:var(--green);color:#eff7f0;padding:28px max(6vw,28px);position:relative;overflow:hidden}.hero-nav{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:auto}.landing .brand-mark{background:#e6f4e9;color:#173a2b}.landing .brand small{color:#bbd1c0}.build-pill{font-size:9px;font-weight:700;letter-spacing:1px;color:#bee4c8;border:1px solid #ffffff29;padding:8px 10px;border-radius:20px}.hero-copy{max-width:730px;margin:112px auto 55px;position:relative;z-index:1}.hero-copy h1{font:800 clamp(37px,6vw,68px)/1.08 Manrope,sans-serif;letter-spacing:-3px;margin:16px 0}.hero-copy p{max-width:590px;font-size:16px;line-height:1.7;color:#c4d6c9;margin:0 0 25px}.hero-orb{position:absolute;width:330px;height:330px;border:1px solid #b9e5c52b;right:9%;top:165px;border-radius:50%;display:grid;place-items:center;font-size:130px;color:#ddf4e2}.hero-orb:before,.hero-orb:after{content:'';position:absolute;border-radius:50%;border:1px solid #b9e5c522}.hero-orb:before{inset:28px}.hero-orb:after{inset:64px}.hero-orb i,.hero-orb b{width:12px;height:12px;position:absolute;border-radius:50%;background:#e5bf73;right:38px;top:48px}.hero-orb b{width:8px;height:8px;background:#b9e7c4;right:auto;top:auto;left:51px;bottom:43px}.access-section{max-width:1200px;margin:0 auto;padding:65px max(6vw,28px) 80px}.access-section h2{font:700 25px Manrope,sans-serif;letter-spacing:-1px;margin:7px 0 28px}.access-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.access-card{min-height:150px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;position:relative;display:grid;grid-template-columns:40px 1fr;gap:13px;transition:.18s ease}.access-card:hover{border-color:#b6d3bd;transform:translateY(-3px);box-shadow:0 15px 30px #183a2910}.card-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;font-size:19px}.platform .card-icon{background:#e6e8fb;color:#5865a6}.admin .card-icon{background:#e3f3e7;color:#377653}.service .card-icon{background:#fff0e5;color:#c87842}.access-card strong{font:700 14px Manrope}.access-card p{margin:6px 0;font-size:12px;line-height:1.5;color:var(--muted)}.access-card .arrow{position:absolute;right:18px;bottom:15px;color:#73937b}
/* shared app */.app-shell{min-height:100vh;display:grid;grid-template-columns:244px 1fr}.sidebar{height:100vh;position:sticky;top:0;padding:27px 17px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column}.sidebar .brand{padding:0 7px 34px}.workspace-label{font-size:9px;font-weight:700;letter-spacing:1.2px;color:#98a29b;padding:0 12px 10px}nav{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:11px;height:42px;padding:0 12px;border-radius:9px;font-size:13px;font-weight:600;color:#69746d}.nav-item span{font-size:17px;width:18px;text-align:center}.nav-item.active{background:#eef6ef;color:#245339}.sidebar-bottom{margin-top:auto}.role-link{display:flex;justify-content:space-between;padding:12px;color:#49725a;background:#f3f7f3;border-radius:9px;font-size:11px;font-weight:700;margin-bottom:15px}.account-chip{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:16px 4px 0}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f1e8d8;color:#785b2d;font-size:10px;font-weight:700}.account-chip strong,.account-chip small,.operator strong,.operator small{display:block}.account-chip strong,.operator strong{font-size:11px}.account-chip small,.operator small{font-size:10px;color:var(--muted);margin-top:3px}.page{width:100%;max-width:1480px;margin:auto;padding:36px clamp(23px,4vw,63px)}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:29px}.page-header h1{font:800 27px Manrope,sans-serif;letter-spacing:-1px;margin:6px 0}.page-header p{font-size:13px;color:var(--muted);margin:0}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:16px}.metric-card{min-height:120px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px}.metric-card>span{font-size:9px;font-weight:700;letter-spacing:1px;color:#89938c}.metric-card strong{display:block;font:700 25px Manrope,sans-serif;letter-spacing:-1px;margin:9px 0}.metric-card small{font-size:11px;color:#7d8881}.trend-up{font-style:normal;color:#30804f}.metric-card.alert strong{color:#b96e37}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:21px;margin-top:16px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.panel h2{font:700 18px Manrope,sans-serif;letter-spacing:-.5px;margin:5px 0}.text-button{border:0;background:none;color:#3b7650;font-size:11px;font-weight:700;cursor:pointer}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:9px;color:#939c96;letter-spacing:.8px;padding:0 11px 12px}td{border-top:1px solid #eff2ef;padding:13px 11px;color:#627067}td strong,td small{display:block}td strong{font-size:12px;color:#27342d}td small{font-size:10px;margin-top:4px}.status{font-size:9px;font-weight:700;letter-spacing:.4px;padding:6px 8px;border-radius:20px;white-space:nowrap}.status.active,.status.ready{background:#e3f4e7;color:#31814c}.status.suspended{background:#f8e9e6;color:#b35a4e}.status.cooking{background:#fff0d9;color:#a67422}.status.queued{background:#edf0f4;color:#64717c}.switch{position:relative;display:block;width:35px;height:20px}.switch input{opacity:0}.switch span{position:absolute;inset:0;background:#ccd2cc;border-radius:30px;cursor:pointer}.switch span:before{content:'';position:absolute;width:14px;height:14px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.switch input:checked+span{background:#4d9870}.switch input:checked+span:before{transform:translateX(15px)}.two-column{display:grid;grid-template-columns:1.3fr .7fr;gap:16px}.activity-list{list-style:none;padding:0;margin:0}.activity-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eff2ef}.activity-list li:last-child{border:0}.activity-list strong,.activity-list small{display:block}.activity-list strong{font-size:12px}.activity-list small{font-size:10px;color:var(--muted);margin-top:4px}.activity-dot{width:9px;height:9px;border-radius:50%}.activity-dot.green{background:#4eae6d}.activity-dot.amber{background:#dbab4c}.activity-dot.blue{background:#7292c1}.accent-panel{background:#214434;color:#fff;border:0}.accent-panel .eyebrow{color:#b7d5bf}.accent-panel p{color:#c7d9cb;font-size:12px;line-height:1.55;max-width:330px}.dashboard-columns{grid-template-columns:1.1fr .9fr}.order-progress{display:grid;gap:10px}.order-progress>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eff2ef;padding-top:11px}.progress-label b,.progress-label small{display:block}.progress-label b{font-size:12px}.progress-label small{font-size:10px;color:var(--muted);margin-top:3px}.stock-row{display:grid;grid-template-columns:1fr auto;gap:2px;padding:10px 0;border-top:1px solid #eff2ef;font-size:12px}.stock-row b{text-align:right}.stock-row small{grid-column:1/-1;color:var(--muted);font-size:10px}.stock-row .low{color:#bd693e}.product-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.product-overview article{background:#f7f9f7;padding:14px;border-radius:10px;display:grid;grid-template-columns:28px 1fr;gap:10px}.rank{font:700 16px Manrope;color:#7fa58a}.product-overview strong,.product-overview small{display:block}.product-overview strong{font-size:12px}.product-overview small{font-size:10px;color:var(--muted);margin-top:3px}.product-overview b{grid-column:2;font-size:12px;margin-top:4px}
/* POS */.pos-shell{min-height:100vh;background:#f6f7f5}.pos-header,.cash-header{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 29px;gap:20px}.pos-tabs{display:flex;gap:5px;background:#f3f5f3;border-radius:9px;padding:4px}.pos-tab{border:0;background:transparent;color:#78837c;padding:8px 16px;border-radius:7px;font-size:11px;font-weight:700}.pos-tab.active{background:#fff;color:#22523a;box-shadow:0 1px 4px #152f2215}.operator{display:flex;align-items:center;gap:9px}.pos-main{display:grid;grid-template-columns:1fr 340px;min-height:calc(100vh - 72px)}.menu-side{padding:28px clamp(20px,3vw,52px)}.pos-title{display:flex;align-items:center;justify-content:space-between}.pos-title h1,.cash-heading h1{font:800 25px Manrope;margin:4px 0;letter-spacing:-1px}.table-button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 11px;font-size:11px;color:#567060}.category-scroll{display:flex;gap:8px;margin:25px 0 17px;overflow:auto}.category{border:1px solid var(--line);border-radius:22px;background:#fff;color:#67746d;padding:8px 13px;white-space:nowrap;font-size:11px;font-weight:700}.category.active{background:#214632;color:#fff;border-color:#214632}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px}.food-card{text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px;min-height:160px;cursor:pointer;transition:.15s}.food-card:hover{border-color:#98bd9f;transform:translateY(-2px)}.food-emoji{font-size:31px;display:block;margin-bottom:16px}.food-card strong,.food-card small,.food-card b{display:block}.food-card strong{font:700 13px Manrope}.food-card small{font-size:10px;color:var(--muted);margin:5px 0 12px;line-height:1.35}.food-card b{font-size:12px;color:#276645}.order-side{background:#fff;border-left:1px solid var(--line);padding:26px 22px;display:flex;flex-direction:column;min-height:calc(100vh - 72px)}.order-heading{display:flex;justify-content:space-between}.order-heading h2{font:700 18px Manrope;margin:5px 0}.more-button{border:0;background:transparent;font-weight:700;color:#718078}.empty-order{font-size:12px;color:#9aa39d;text-align:center;margin:65px 0}.order-items{list-style:none;padding:0;margin:14px 0}.order-items li{display:grid;grid-template-columns:24px 1fr auto;gap:7px;padding:12px 0;border-bottom:1px solid #eff2ef}.order-items strong,.order-items small{display:block}.order-items strong{font-size:12px}.order-items small{font-size:10px;color:var(--muted);margin-top:3px}.order-items b{font-size:11px}.remove-item{border:0;background:#f5e8e5;color:#b65f50;border-radius:50%;width:20px;height:20px;cursor:pointer}.order-footer{margin-top:auto;border-top:1px solid var(--line);padding-top:15px}.total-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.total-line span{font-size:12px;color:#66736b}.total-line strong{font:700 22px Manrope}.order-footer small{display:block;text-align:center;color:#929d96;font-size:9px;line-height:1.4;margin-top:10px}.order-feedback{font-size:11px;color:#27804b;min-height:14px;margin:0 0 8px}.order-feedback:not(.success){display:none}
/* kitchen */.kitchen-body{background:#101c16;color:#eef5ef}.kitchen-header{height:110px;padding:0 45px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff1c}.kitchen-header h1{font:800 34px Manrope;margin:4px 0;letter-spacing:-1px}.kitchen-clock{text-align:center}.kitchen-clock strong,.kitchen-clock span{display:block}.kitchen-clock strong{font:700 30px Manrope}.kitchen-clock span{font-size:11px;color:#b8c9bc}.kitchen-exit{font-size:11px;color:#cde3d2}.kitchen-main{max-width:1400px;margin:auto;padding:25px 45px}.kitchen-summary{display:flex;gap:20px;color:#b9c7bc;font-size:12px;margin-bottom:22px}.kitchen-summary b{font:700 19px Manrope;color:#fff;margin-right:5px}.ticket-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.kitchen-ticket{min-height:300px;border-radius:13px;background:#f7faf7;color:#213029;padding:20px;display:flex;flex-direction:column}.kitchen-ticket.urgent{box-shadow:inset 0 4px #d58c45}.kitchen-ticket header,.kitchen-ticket footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.ticket-number{font:700 18px Manrope}.ticket-state{font-size:9px;font-weight:700;letter-spacing:.5px;padding:6px 7px;border-radius:20px}.ticket-state.queued{background:#eef0f2;color:#68747b}.ticket-state.cooking{background:#fff0d7;color:#a66e1e}.ticket-state.ready{background:#e3f3e6;color:#277b49}.kitchen-ticket h2{font:700 18px Manrope;margin:25px 0 10px}.kitchen-ticket ul{padding:0;list-style:none;font-size:14px;line-height:2}.kitchen-ticket li b{margin-right:8px;color:#638a6d}.kitchen-ticket p{font-size:11px;color:#9f6045;background:#fbefe8;padding:8px;border-radius:6px}.kitchen-ticket footer{margin-top:auto;font-size:10px;color:#839088}
/* cash */.cash-shell{min-height:100vh;background:#f6f7f5}.cash-status{text-align:center}.cash-status .status,.cash-status strong,.cash-status small{display:block}.cash-status strong{font:700 14px Manrope;margin-top:3px}.cash-status small{font-size:9px;color:var(--muted)}.cash-main{display:grid;grid-template-columns:1fr 420px;min-height:calc(100vh - 72px)}.cash-orders{padding:30px clamp(20px,4vw,65px)}.cash-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.cash-search{background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 10px;color:#9ca59f}.cash-search input{border:0;outline:0;width:145px;font-size:11px}.cash-order-list{display:grid;gap:8px}.cash-order{border:1px solid var(--line);border-radius:10px;background:#fff;padding:13px;display:grid;grid-template-columns:42px 1fr auto auto;align-items:center;gap:12px;text-align:left;cursor:pointer}.cash-order.selected{border-color:#88b194;background:#f8fcf8}.table-circle{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e5f2e8;color:#347050;font-size:12px;font-weight:700}.table-circle.counter{background:#f8e9d9;color:#ae6d39}.cash-order strong,.cash-order small{display:block}.cash-order strong{font-size:12px}.cash-order small{font-size:10px;color:var(--muted);margin-top:3px}.cash-order b{font-size:12px}.cash-order i{font-style:normal;font-size:9px;color:#9b722a;background:#fff1d8;padding:5px;border-radius:12px}.checkout{background:#fff;border-left:1px solid var(--line);padding:28px;display:flex;flex-direction:column}.checkout h2{font:700 22px Manrope;margin:5px 0}.checkout-time{font-size:11px;color:var(--muted);margin:0}.checkout-items{margin:29px 0}.checkout-items div{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #eff2ef;font-size:12px}.checkout-total{display:flex;justify-content:space-between;align-items:end;padding:16px 0;border-top:1px solid var(--line)}.checkout-total span{font-size:12px;color:#67736c}.checkout-total strong{font:700 25px Manrope}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:9px 0 13px}.payment-options button{background:#fff;border:1px solid var(--line);padding:11px;border-radius:8px;font-size:11px;font-weight:700;color:#647168}.payment-options .selected{border-color:#4a966b;background:#eff7f0;color:#2a704a}.receipt-note{margin-top:14px;background:#f4f7f4;border-radius:8px;padding:10px;font-size:10px;line-height:1.5;color:#77837b}
/* modal */
.modal-backdrop{position:fixed;inset:0;background:#14281a88;display:none;place-items:center;padding:15px;z-index:100;overflow-y:auto}
.modal-backdrop.open{display:grid}
.modal{position:relative;width:min(440px,100%);max-height:min(90vh, 760px);display:flex;flex-direction:column;background:#fff;border-radius:14px;padding:20px 22px 18px;box-shadow:0 20px 70px #0d1b104f;margin:auto}
.modal h2{font:700 18px Manrope;margin:0 0 14px;flex-shrink:0;padding-right:26px}
.modal-close{position:absolute;right:14px;top:12px;border:0;background:none;color:#66736b;font-size:24px;cursor:pointer;line-height:1}
#modal-body{overflow-y:auto;max-height:calc(90vh - 145px);padding-right:6px}
.modal label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#526058;margin-top:12px}
.modal input,.modal select,.modal textarea{border:1px solid var(--line);padding:10px;border-radius:8px;outline:none;background:#fff}
.modal textarea{min-height:70px;resize:vertical}
.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);flex-shrink:0}
@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;padding:15px 17px;border-bottom:1px solid var(--line);border-right:0}.sidebar .brand{padding:0 3px 12px}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;overflow:auto}.nav-item{white-space:nowrap}.metric-grid{grid-template-columns:repeat(2,1fr)}.pos-main,.cash-main{grid-template-columns:1fr}.order-side,.checkout{border-left:0;border-top:1px solid var(--line);min-height:400px}.menu-grid{grid-template-columns:repeat(2,1fr)}.kitchen-header,.kitchen-main{padding-left:20px;padding-right:20px}.ticket-grid{grid-template-columns:1fr}.access-grid{grid-template-columns:1fr}.hero-orb{opacity:.35;right:-100px}.two-column{grid-template-columns:1fr}.product-overview{grid-template-columns:1fr}.cash-main{min-height:auto}}@media(max-width:560px){.metric-grid{grid-template-columns:1fr}.page{padding:24px 16px}.page-header{display:grid}.pos-header,.cash-header{padding:0 15px}.pos-tabs{display:none}.operator{display:none}.menu-side{padding:21px 15px}.menu-grid{grid-template-columns:1fr 1fr;gap:8px}.food-card{min-height:145px;padding:11px}.kitchen-header{height:auto;padding-top:16px;padding-bottom:16px}.kitchen-clock{display:none}.cash-order{grid-template-columns:37px 1fr auto}.cash-order i{display:none}.hero-copy{margin-top:100px}.hero-copy h1{letter-spacing:-2px}}
/* customizer modal & extras */
.customizer-body{display:grid;gap:10px}
.customizer-desc{font-size:12px;color:var(--muted);margin:0;line-height:1.4}
.customizer-section-title{font-size:11px;font-weight:700;letter-spacing:.8px;color:#4c6b57;margin-top:6px;text-transform:uppercase}
.extras-list{display:grid;gap:6px;max-height:140px;overflow-y:auto;padding-right:4px}
.extra-item{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;background:#f7f9f7;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-size:12px;transition:.15s}
.extra-item:hover{border-color:#8db799;background:#f0f6f1}
.extra-item input{margin-right:10px;accent-color:#214632;width:16px;height:16px}
.extra-item b{color:#236140;font-size:12px}
.chips-row{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.chip{background:#f0f4f0;border:1px solid #d4ded6;color:#355e47;padding:5px 9px;border-radius:15px;font-size:10px;font-weight:600;cursor:pointer;transition:.15s}
.chip:hover{background:#234a34;color:#fff;border-color:#234a34}
.customizer-qty{display:flex;align-items:center;justify-content:center;gap:16px;margin:8px 0 2px}
.qty-btn{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:18px;font-weight:700;cursor:pointer;display:grid;place-items:center}
.qty-btn:active{background:#e8f0e9}
.qty-val{font:700 17px Manrope;min-width:24px;text-align:center}

/* order items note & extras */
.order-item-extras{display:block;font-size:10px;color:#286c47;margin-top:2px;font-weight:600}
.order-item-note{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#9b5a22;background:#fdf5ed;border:1px dashed #e5c3a3;border-radius:5px;padding:3px 6px;margin-top:4px;cursor:pointer;transition:.15s}
.order-item-note:hover{background:#faebd9}
.order-item-note-empty{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#85928a;border:1px dashed #d1dad4;border-radius:5px;padding:2px 6px;margin-top:4px;cursor:pointer;background:none}
.order-item-note-empty:hover{color:#2a573d;border-color:#659e7a}

/* mobile floating cart bar */
.mobile-cart-bar{display:none;position:fixed;bottom:15px;left:15px;right:15px;background:#173e2b;color:#fff;border-radius:16px;padding:12px 18px;box-shadow:0 12px 35px #0a1f144d;z-index:90;align-items:center;justify-content:space-between;cursor:pointer;animation:slideUp .25s ease}
.mobile-cart-bar strong{font:700 14px Manrope;display:flex;align-items:center;gap:8px}
.mobile-cart-bar span{font-size:11px;background:#2d6347;padding:6px 12px;border-radius:20px;font-weight:700}
@keyframes slideUp{from{transform:translateY(80px);opacity:0}to{transform:translateY(0);opacity:1}}

@media(max-width:900px){
  .pos-main{display:block}
  .order-side{border-left:0;border-top:2px solid var(--line);min-height:auto;padding-bottom:90px}
  .mobile-cart-bar.visible{display:flex}
  .category-scroll{margin:15px 0 12px}
  .food-card{min-height:130px}
}

/* Espaço para Imagem nos Cards e Modais */
.food-img-wrap{width:100%;height:115px;border-radius:10px;overflow:hidden;margin-bottom:10px;background:#eef3ef;display:flex;align-items:center;justify-content:center}
.food-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
.food-card:hover .food-img-wrap img{transform:scale(1.05)}
.food-img-wrap.fallback{font-size:36px;background:#edf4ee}
.modal-product-img{width:100%;height:110px;object-fit:cover;border-radius:10px;margin-bottom:8px;border:1px solid var(--line);flex-shrink:0}

/* Chave Seletora de Garçom e Operador */
.operator-switcher{cursor:pointer;padding:6px 12px;border-radius:10px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;gap:9px;transition:.15s ease}
.operator-switcher:hover{border-color:#74aa85;background:#f4faf6}
.waiter-card-select{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;margin-bottom:8px;transition:.15s ease}
.waiter-card-select:hover{border-color:#388457;background:#f4faf6}
.waiter-card-select.active{border-color:#256642;background:#eef7f1;font-weight:700}

/* Gráfico Comparativo de Vendas dos Últimos 7 Dias */
.daily-chart-row{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:flex-end;height:140px;padding:15px 6px 8px;margin:14px 0;background:#f7faf7;border-radius:12px;border:1px solid var(--line)}
.chart-col{display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end}
.chart-bar{width:100%;max-width:26px;background:#3b8759;border-radius:5px 5px 0 0;min-height:6px;transition:height .3s ease}
.chart-col.today .chart-bar{background:#1a4d2f;box-shadow:0 0 10px #25664240}
.chart-label{font-size:10px;font-weight:700;color:var(--muted)}
.chart-val{font-size:9px;font-weight:600;color:var(--ink)}

/* Tabela Administrativa Rica */
.admin-badge{font-size:10px;font-weight:700;padding:4px 8px;border-radius:12px;display:inline-block}
.admin-badge.green{background:#e3f5e8;color:#206a3e}
.admin-badge.amber{background:#fdf2e3;color:#9b631e}
.admin-badge.red{background:#fde8e5;color:#b23b2a}
.table-action-btn{padding:5px 9px;border-radius:6px;border:1px solid var(--line);background:#fff;font-size:11px;font-weight:600;cursor:pointer;margin-right:4px}
.table-action-btn:hover{background:#f0f5f1;border-color:#88b596}

/* ============================================================
   TEMA ESCURO (DARK MODE) COMPLETO
   ============================================================ */
body.dark-theme {
  --ink: #eef6f0;
  --muted: #9ab0a2;
  --line: #26382c;
  --green: #256642;
  --mint: #388457;
  --paper: #16241b;
  background-color: #0f1812 !important;
  color: #eef6f0 !important;
}

/* Telas e Contêineres de Fundo */
body.dark-theme,
body.dark-theme .pos-shell,
body.dark-theme .pos-main,
body.dark-theme .menu-side,
body.dark-theme .cash-shell,
body.dark-theme .cash-main,
body.dark-theme .cash-orders,
body.dark-theme .app-shell,
body.dark-theme .page,
body.dark-theme .landing,
body.dark-theme .access-section {
  background-color: #0f1812 !important;
  color: #eef6f0 !important;
}

/* Headers e Sidebars */
body.dark-theme .pos-header,
body.dark-theme .cash-header,
body.dark-theme .sidebar {
  background-color: #142118 !important;
  border-color: #243729 !important;
  color: #eef6f0 !important;
}

/* Abas de topo (Mesas, Balcão, Retirada) */
body.dark-theme .pos-tabs {
  background: #1b2c21 !important;
}
body.dark-theme .pos-tab {
  color: #9ab0a2 !important;
}
body.dark-theme .pos-tab.active {
  background: #274030 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
}

/* Botão Trocar Mesa e Categorias */
body.dark-theme .table-button {
  background: #19291f !important;
  border-color: #2a4031 !important;
  color: #cde2d3 !important;
}
body.dark-theme .category {
  background: #19291f !important;
  border-color: #2a4031 !important;
  color: #b3c7b9 !important;
}
body.dark-theme .category:hover {
  background: #22372a !important;
  color: #ffffff !important;
}
body.dark-theme .category.active {
  background: #256642 !important;
  border-color: #358356 !important;
  color: #ffffff !important;
}

/* Cards de Comida / Produtos */
body.dark-theme .food-card {
  background: #16241b !important;
  border-color: #25392b !important;
  color: #eef6f0 !important;
}
body.dark-theme .food-card:hover {
  border-color: #3d684d !important;
  background: #1b2d22 !important;
}
body.dark-theme .food-card strong {
  color: #f1f8f3 !important;
}
body.dark-theme .food-card small {
  color: #9ab0a2 !important;
}
body.dark-theme .food-card b {
  color: #4ade80 !important;
}

/* Barra Lateral de Pedido (Order Side) */
body.dark-theme .order-side {
  background: #132017 !important;
  border-color: #243729 !important;
}
body.dark-theme .order-heading h2 {
  color: #f1f8f3 !important;
}
body.dark-theme .empty-order {
  color: #7d9484 !important;
}
body.dark-theme .order-items li {
  border-color: #203326 !important;
}
body.dark-theme .order-items strong {
  color: #eef6f0 !important;
}
body.dark-theme .order-items small {
  color: #9ab0a2 !important;
}
body.dark-theme .order-items b {
  color: #4ade80 !important;
}
body.dark-theme .order-item-extras {
  color: #4ade80 !important;
}
body.dark-theme .order-item-note {
  background: #281f14 !important;
  border-color: #634320 !important;
  color: #f5b060 !important;
}
body.dark-theme .order-item-note-empty {
  border-color: #2a4031 !important;
  color: #7d9484 !important;
}
body.dark-theme .order-footer {
  border-color: #243729 !important;
}
body.dark-theme .total-line span {
  color: #9ab0a2 !important;
}
body.dark-theme .total-line strong {
  color: #ffffff !important;
}
body.dark-theme .button.send {
  background: #256642 !important;
  color: #ffffff !important;
}
body.dark-theme .button.send:hover {
  background: #2e7a50 !important;
}

/* Painéis de Administração e Métricas (Restaurante e Plataforma) */
body.dark-theme .metric-card,
body.dark-theme .panel,
body.dark-theme .access-card {
  background: #16241b !important;
  border-color: #25392b !important;
  color: #eef6f0 !important;
}
body.dark-theme .metric-card strong,
body.dark-theme .panel h2,
body.dark-theme .page-header h1,
body.dark-theme .access-card strong {
  color: #ffffff !important;
}
body.dark-theme .metric-card small,
body.dark-theme .page-header p,
body.dark-theme .access-card p {
  color: #9ab0a2 !important;
}
body.dark-theme th {
  color: #8fa696 !important;
}
body.dark-theme td {
  border-color: #203326 !important;
  color: #c4d7ca !important;
}
body.dark-theme td strong {
  color: #ffffff !important;
}
body.dark-theme td small {
  color: #8fa696 !important;
}
body.dark-theme .activity-list li {
  border-color: #203326 !important;
}
body.dark-theme .activity-list strong {
  color: #eef6f0 !important;
}
body.dark-theme .stock-row,
body.dark-theme .order-progress > div {
  border-color: #203326 !important;
}
body.dark-theme .product-overview article {
  background: #1b2c21 !important;
}
body.dark-theme .product-overview strong {
  color: #eef6f0 !important;
}
body.dark-theme .product-overview b {
  color: #4ade80 !important;
}
body.dark-theme .nav-item {
  color: #9ab0a2 !important;
}
body.dark-theme .nav-item:hover {
  color: #ffffff !important;
  background: #1c2c21 !important;
}
body.dark-theme .nav-item.active {
  background: #256642 !important;
  color: #ffffff !important;
}
body.dark-theme .role-link {
  background: #1b2c21 !important;
  color: #8be3aa !important;
}
body.dark-theme .account-chip {
  border-color: #243729 !important;
}

/* Caixa (Checkout & Pedidos) */
body.dark-theme .cash-search {
  background: #19291f !important;
  border-color: #2a4031 !important;
  color: #cde2d3 !important;
}
body.dark-theme .cash-search input {
  background: transparent !important;
  color: #ffffff !important;
}
body.dark-theme .cash-order {
  background: #16241b !important;
  border-color: #25392b !important;
  color: #eef6f0 !important;
}
body.dark-theme .cash-order.selected {
  border-color: #3a8c5c !important;
  background: #1c2f23 !important;
}
body.dark-theme .cash-order strong {
  color: #ffffff !important;
}
body.dark-theme .cash-order small {
  color: #9ab0a2 !important;
}
body.dark-theme .cash-order b {
  color: #4ade80 !important;
}
body.dark-theme .checkout {
  background: #132017 !important;
  border-color: #243729 !important;
  color: #eef6f0 !important;
}
body.dark-theme .checkout h2 {
  color: #ffffff !important;
}
body.dark-theme .checkout-items div {
  border-color: #203326 !important;
}
body.dark-theme .checkout-total {
  border-color: #243729 !important;
}
body.dark-theme .checkout-total strong {
  color: #ffffff !important;
}
body.dark-theme .payment-options button {
  background: #19291f !important;
  border-color: #2a4031 !important;
  color: #cde2d3 !important;
}
body.dark-theme .payment-options .selected {
  background: #256642 !important;
  border-color: #358356 !important;
  color: #ffffff !important;
}
body.dark-theme .receipt-note {
  background: #1b2c21 !important;
  color: #9ab0a2 !important;
}

/* Cozinha (KDS Tickets em Dark Theme) */
body.dark-theme .kitchen-ticket {
  background: #18261e !important;
  border: 1px solid #283d2f !important;
  color: #eef6f0 !important;
}
body.dark-theme .kitchen-ticket h2 {
  color: #ffffff !important;
}
body.dark-theme .ticket-number {
  color: #ffffff !important;
}
body.dark-theme .kitchen-ticket li {
  color: #d2e4d7 !important;
}
body.dark-theme .kitchen-ticket li b {
  color: #4ade80 !important;
}
body.dark-theme .kitchen-ticket p {
  background: #2b1f13 !important;
  color: #f7b76d !important;
}
body.dark-theme .ticket-state.queued {
  background: #24352b !important;
  color: #a4b8ab !important;
}
body.dark-theme .ticket-state.cooking {
  background: #3d2c16 !important;
  color: #ffc266 !important;
}
body.dark-theme .ticket-state.ready {
  background: #183e26 !important;
  color: #5ee697 !important;
}

/* Modais e Extras */
body.dark-theme .modal {
  background: #15231a !important;
  border: 1px solid #283d2f !important;
  color: #eef6f0 !important;
  box-shadow: 0 20px 70px rgba(0,0,0,0.8) !important;
}
body.dark-theme .modal h2 {
  color: #ffffff !important;
}
body.dark-theme .modal label {
  color: #a7bfae !important;
}
body.dark-theme .modal input,
body.dark-theme .modal select,
body.dark-theme .modal textarea {
  background: #1b2c21 !important;
  border-color: #2a4031 !important;
  color: #ffffff !important;
}
body.dark-theme .customizer-section-title {
  color: #62b080 !important;
}
body.dark-theme .extra-item {
  background: #1a2a20 !important;
  border-color: #273d2f !important;
  color: #eef6f0 !important;
}
body.dark-theme .extra-item:hover {
  background: #213629 !important;
  border-color: #3b5f48 !important;
}
body.dark-theme .extra-item b {
  color: #4ade80 !important;
}
body.dark-theme .chip {
  background: #1a2a20 !important;
  border-color: #2a4031 !important;
  color: #b7cebf !important;
}
body.dark-theme .chip:hover {
  background: #256642 !important;
  color: #ffffff !important;
  border-color: #358356 !important;
}
body.dark-theme .qty-btn {
  background: #1b2c21 !important;
  border-color: #2a4031 !important;
  color: #ffffff !important;
}
body.dark-theme .qty-val {
  color: #ffffff !important;
}

body.dark-theme .food-img-wrap {
  background: #132017 !important;
}
body.dark-theme .operator-switcher {
  background: #15231a !important;
  border-color: #2a4031 !important;
  color: #eef6f0 !important;
}
body.dark-theme .waiter-card-select {
  background: #18261e !important;
  border-color: #273d2f !important;
  color: #eef6f0 !important;
}
body.dark-theme .waiter-card-select:hover {
  background: #203528 !important;
  border-color: #388457 !important;
}
body.dark-theme .waiter-card-select.active {
  background: #256642 !important;
  border-color: #3bb26e !important;
  color: #ffffff !important;
}
body.dark-theme .daily-chart-row {
  background: #142118 !important;
  border-color: #243729 !important;
}
body.dark-theme .chart-bar {
  background: #2d6b46 !important;
}
body.dark-theme .chart-col.today .chart-bar {
  background: #4ade80 !important;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.4) !important;
}
body.dark-theme .chart-val {
  color: #eef6f0 !important;
}
body.dark-theme .table-action-btn {
  background: #1c2c22 !important;
  border-color: #2c4234 !important;
  color: #d2e4d7 !important;
}
body.dark-theme .table-action-btn:hover {
  background: #273f30 !important;
  border-color: #3b8759 !important;
  color: #ffffff !important;
}


/* Botão Flutuante de Alternância de Tema */
.theme-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #202a25;
  border-radius: 24px;
  padding: 10px 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 7px;
  font: 700 12px 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.theme-toggle span {
  font-size: 15px;
}
body.dark-theme .theme-toggle {
  background: #1c2c22 !important;
  border-color: #354e3d !important;
  color: #eef6f0 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
}
body.dark-theme .theme-toggle:hover {
  background: #24382c !important;
}

/* Notificação e Gestão de Pedidos Prontos para Entrega / Retirada */
.btn-ready-bell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  animation: readyPulse 2s infinite ease-in-out;
  transition: all 0.2s ease;
}
.btn-ready-bell:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
@keyframes readyPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Card de Pedido Pronto na Cozinha */
.kitchen-ticket.ready-ticket {
  background: #f2fbf4 !important;
  border: 2px solid #22c55e !important;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.18) !important;
}
.kitchen-ticket.ready-ticket .ticket-state.ready {
  background: #22c55e !important;
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.kitchen-ticket .channel-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  display: inline-block;
  margin-left: 6px;
}
.kitchen-ticket .channel-badge.pickup {
  background: #fed7aa;
  color: #9a3412;
}
.kitchen-ticket .channel-badge.counter {
  background: #fef08a;
  color: #854d0e;
}
.kitchen-ticket .channel-badge.dine_in {
  background: #bbf7d0;
  color: #166534;
}

/* Modal de Pedidos Prontos */
.ready-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  margin-bottom: 9px;
  transition: 0.15s ease;
}
.ready-order-card:hover {
  border-color: #388457;
  background: #f4faf6;
}
body.dark-theme .ready-order-card {
  background: #18281d;
  border-color: #273b2e;
}
body.dark-theme .ready-order-card:hover {
  background: #1e3325;
  border-color: #388457;
}
body.dark-theme .btn-ready-bell {
  background: #143521 !important;
  color: #86efac !important;
  border-color: #22c55e !important;
}

.role-links{display:grid;gap:6px;margin-bottom:12px}
.role-links .role-link{margin-bottom:0}
.kitchen-exit{background:none;border:0;color:#cde3d2;font-size:11px;cursor:pointer}
.login-body{background:#173a2b}
.login-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}
.login-hero{color:#eff7f0;padding:36px clamp(24px,5vw,72px);display:flex;flex-direction:column;justify-content:space-between;gap:40px}
.login-hero .brand-mark{background:#e6f4e9;color:#173a2b}
.login-hero .brand small{color:#bbd1c0}
.login-hero h1{font:800 clamp(36px,5vw,58px)/1.05 Manrope,sans-serif;letter-spacing:-2px;margin:14px 0}
.login-hero p{max-width:460px;color:#c4d6c9;line-height:1.6}
.login-panel{display:grid;place-items:center;padding:28px 20px;background:#f5f7f4}
.login-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}
.login-card h2{font:800 26px Manrope,sans-serif;letter-spacing:-.8px;margin:6px 0 8px}
.login-card label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#526058;margin-top:14px}
.login-card input{border:1px solid var(--line);border-radius:8px;padding:12px;outline:none;background:#fff}
.login-card .button{margin-top:18px}
.login-guides{margin:14px 0 0;font-size:12px;color:#5d6b63}
.login-guides a{color:#1f6b45;font-weight:700}
.login-note{color:#1f6b45;background:#e8f6ee;border-radius:8px;padding:10px 12px;font-size:12px;margin:14px 0 0}
.login-error{color:#a33b32;background:#fdeceb;border-radius:8px;padding:10px 12px;font-size:12px;margin:14px 0 0}
.demo-accounts{margin-top:18px;font-size:12px;color:#5d6b63}
.demo-accounts summary{cursor:pointer;font-weight:700;color:#2f5a40}
.demo-list{display:grid;gap:6px;margin-top:10px}
.demo-list button{text-align:left;border:1px solid var(--line);background:#f7faf7;border-radius:8px;padding:8px 10px;cursor:pointer;font-size:12px}
.demo-list button:hover{border-color:#8db799}
@media(max-width:800px){.login-layout{grid-template-columns:1fr}.login-hero{min-height:280px}}
@media(max-width:900px){.sidebar-bottom{display:flex;flex-direction:column}}


