:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17201d;background:#eef2ef;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #17201d;--muted: #65736c;--line: #d9e1dd;--surface: #ffffff;--surface-soft: #f7faf8;--brand: #1f6f5b;--brand-strong: #155746;--ready: #b86b10;--danger: #a33a2f;--shadow: 0 14px 36px rgba(23, 32, 29, .12)}*{box-sizing:border-box}html{min-width:0}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#ffffffbd,#fff0 240px),#eef2ef}button,input,select{font:inherit}input:not(:placeholder-shown):invalid{border-color:#c65345;background:#fff8f6}button,input,select{transition:border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .14s ease}button{min-height:42px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer;font-weight:750}button:hover{border-color:#8aa79a;background:#fbfdfc}button:active{transform:translateY(1px)}button:disabled{opacity:.58;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(31,111,91,.18);border-color:var(--brand)}input,select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:0 12px}label{display:grid;gap:7px;font-size:13px;font-weight:760;color:#3f5048}h1,h2,h3,p{margin:0}.boot{display:grid;min-height:100vh;place-items:center;color:var(--muted)}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#1f6f5b1f,#b86b101a),#f4f7f4}.shop-shell{min-height:100vh;background:#f4f7f4}.shop-hero{min-height:320px;display:grid;align-content:space-between;padding:18px clamp(16px,4vw,46px) 34px;color:#fff;background:linear-gradient(90deg,#123028eb,#123028a3),url(https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1600&q=80) center/cover}.shop-hero nav{display:flex;align-items:center;justify-content:space-between;gap:12px}.shop-hero nav strong{font-size:20px;letter-spacing:0}.shop-hero nav a{min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid rgba(255,255,255,.45);border-radius:8px;color:#fff;text-decoration:none;font-weight:850}.shop-hero-text{max-width:720px}.shop-hero-text h1{max-width:660px;margin-top:8px;font-size:clamp(34px,5vw,62px);line-height:1.02}.shop-hero-text p{max-width:520px;margin-top:12px;color:#ffffffd6;font-size:18px;line-height:1.45}.shop-controls,.shop-layout,.order-success{width:min(1380px,calc(100% - 28px));margin:0 auto}.shop-controls{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:minmax(240px,380px) 1fr;gap:12px;padding:14px 0;background:#f4f7f4f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.category-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.category-tabs button{white-space:nowrap;padding:0 14px}.category-tabs button.active{border-color:var(--brand);background:#e6f3ee;color:var(--brand-strong)}.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:16px;align-items:start;padding-bottom:26px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.product-card{min-height:260px;display:grid;align-content:space-between;gap:16px;padding:15px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 10px 24px #17201d0f}.product-card img,.product-image-fallback{width:100%;aspect-ratio:16 / 10;border-radius:8px;object-fit:cover;background:#e6f3ee}.product-image-fallback{display:grid;place-items:center;color:var(--brand-strong);font-size:42px;font-weight:950}.product-card small{color:var(--muted);font-weight:850}.product-card h2{margin-top:5px;font-size:20px}.product-card p{margin-top:8px;color:var(--muted);font-size:13px}.product-actions,.cart-line-head,.qty-row,.cart-foot,.checkout-summary,.order-success{display:flex;align-items:center;gap:10px}.product-actions,.cart-line-head,.cart-foot,.checkout-summary,.order-success{justify-content:space-between}.cart-panel{position:sticky;top:76px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 14px 30px #17201d1a}.cart-items{max-height:calc(100vh - 240px);overflow:auto;display:grid;gap:10px;padding:12px}.cart-line{display:grid;gap:9px;padding:10px;border:1px solid #e1e8e4;border-radius:8px;background:#fbfcfb}.cart-line-head button,.qty-row button{width:38px;min-height:36px;padding:0;display:grid;place-items:center}.qty-row strong{min-width:28px;text-align:center}.qty-row span{margin-left:auto;font-weight:900}.cart-foot{padding:13px;border-top:1px solid #e8edea;background:#fff}.cart-foot strong{font-size:18px}.hp-field{position:absolute;left:-9999px;width:1px;height:1px;min-height:1px;opacity:0}.checkout-summary{padding:12px;border:1px solid #e0e7e3;border-radius:8px;background:#f7faf8}.order-success{margin-bottom:14px;padding:14px;border:1px solid #a8dcbc;border-radius:8px;background:#e5f7ec;color:#17643d}.order-success h2{font-size:28px}.order-success small{display:block;color:#17643d}.pay-link{min-height:38px;display:inline-flex;align-items:center;margin-top:8px;padding:0 12px;border-radius:8px;background:#17643d;color:#fff;text-decoration:none;font-weight:850}.login-box{width:min(430px,100%);display:grid;gap:18px;padding:30px;background:#fffffff5;border:1px solid rgba(217,225,221,.9);border-radius:8px;box-shadow:var(--shadow)}.eyebrow{display:block;color:var(--muted);font-size:12px;font-weight:850;letter-spacing:0;text-transform:uppercase}.login-box h1,.topbar h1{font-size:32px;line-height:1.08}.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-color:var(--brand);background:var(--brand);color:#fff;font-weight:850;padding:0 16px}.primary:hover{border-color:var(--brand-strong);background:var(--brand-strong)}.error,.notice,.success{padding:10px 12px;border-radius:8px;font-weight:700}.error,.notice{background:#fff3f1;border:1px solid #efb7b0;color:var(--danger)}.success{background:#e5f7ec;border:1px solid #a8dcbc;color:#17643d}.app-shell{min-height:100vh;padding:16px}.topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;margin-bottom:8px;background:#eef2eff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.top-actions,.control-bar,.modal-head,.modal-foot,.item-title,.item-actions,.card-actions{display:flex;align-items:center;gap:8px}.top-actions{justify-content:flex-end}.icon-button{width:44px;padding:0;display:inline-grid;place-items:center}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.control-bar{position:sticky;top:76px;z-index:4;padding:8px 0 14px;background:#eef2eff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.search-box{position:relative;flex:1}.control-bar select,.date-filter{width:auto;min-width:150px}.search-box svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--muted)}.search-box input{padding-left:42px;box-shadow:0 8px 18px #17201d0d}.orders-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.archive-panel{margin-top:14px}.order-panel{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 12px 28px #17201d14}.order-panel.received{border-top:4px solid var(--brand)}.order-panel.ready{border-top:4px solid var(--ready)}.order-panel.archive{border-top:4px solid #65736c}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #e8edea;background:linear-gradient(180deg,#fff,#fbfcfb)}.panel-head h2{font-size:17px}.panel-head span{min-width:34px;height:30px;display:grid;place-items:center;border-radius:8px;background:#edf4ef;font-weight:900}.order-panel.ready .panel-head span{background:#fff1d8;color:#8a4b08}.order-list{display:grid}.empty{padding:18px;color:var(--muted);text-align:center}.order-row{border-bottom:1px solid #e8ece9}.order-row:last-child{border-bottom:0}.row-main{width:100%;min-height:60px;display:grid;grid-template-columns:96px 58px minmax(180px,1fr) 92px 128px 34px;align-items:center;gap:10px;padding:10px 14px;border:0;border-left:4px solid transparent;border-radius:0;text-align:left;background:var(--surface)}.order-row:nth-child(2n) .row-main{background:#fcfdfc}.row-main:hover{background:#f4faf6;border-left-color:#1f6f5b73}.row-main>svg{justify-self:end}.code{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border-radius:8px;background:#e6f3ee;color:#123f34;font-size:16px;font-weight:950}.order-panel.ready .code{background:#fff1d8;color:#7d460b}.time,.customer-line small,.pay-line small{display:block;color:var(--muted);font-size:12px}.customer-line,.items-line,.pay-line{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-line{font-weight:850}.items-line{color:#31423a}.progress-pill{min-height:30px;display:grid;place-items:center;border-radius:8px;background:#e8f4ee;color:var(--brand);font-size:12px;font-weight:950}.wait-pill{min-height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d7e6dd;border-radius:8px;background:#f4faf6;color:var(--brand-strong);font-size:12px;font-weight:950;white-space:nowrap}.wait-pill.warn{border-color:#f0c36d;background:#fff6df;color:#8a4b08}.wait-pill.danger{border-color:#e49a91;background:#fff0ee;color:var(--danger)}.alert-chip{min-height:42px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #d7e6dd;border-radius:8px;background:#f4faf6;color:var(--brand-strong);font-size:13px;font-weight:900;white-space:nowrap}.alert-chip.hot{border-color:#f0c36d;background:#fff6df;color:#8a4b08}.row-detail{display:grid;gap:10px;padding:0 14px 14px 18px;background:#fbfcfb;border-left:4px solid rgba(31,111,91,.18)}.detail-summary{display:grid;grid-template-columns:1.4fr 1fr 120px;gap:8px}.detail-summary span{min-width:0;display:grid;gap:3px;padding:9px 10px;border:1px solid #e1e8e4;border-radius:8px;background:#fff;color:#31423a;overflow-wrap:anywhere}.detail-summary b{color:var(--muted);font-size:11px;text-transform:uppercase}.order-panel.ready .row-detail{border-left-color:#b86b1038}.note{font-size:13px;color:#3f5048;padding:9px 10px;border:1px solid #e1e8e4;border-radius:8px;background:#f7faf8}.order-progress,.mini-progress{height:8px;overflow:hidden;border-radius:8px;background:#e3e8e5}.order-progress span,.mini-progress span{display:block;height:100%;border-radius:inherit;background:var(--brand)}.items{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}.delivery-item{display:grid;gap:7px;padding:9px;border:1px solid #e0e8e4;border-radius:8px;background:var(--surface)}.item-title{justify-content:space-between}.item-title span{font-weight:850}.item-actions{justify-content:flex-start;flex-wrap:wrap}.item-actions button,.card-actions button{min-width:40px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px}.state{min-height:30px;display:inline-flex;align-items:center;padding:0 9px;border-radius:8px;font-size:12px;font-weight:850}.state.pendente{background:#eef0f1;color:#59666a}.state.parcial{background:#fff1d8;color:#7d460b}.state.entregue{background:#dff5e7;color:#17643d}.delivery-item small{color:var(--muted);line-height:1.35;white-space:pre-line}.card-actions{flex-wrap:wrap;padding-top:2px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:16px;background:#12191e7a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.order-form,.settings-modal,.small-modal{max-height:min(840px,92vh);overflow:auto;display:grid;gap:16px;padding:20px;border:1px solid rgba(217,225,221,.95);border-radius:8px;background:#fffffffa;box-shadow:0 24px 80px #0000003d}.order-form{width:min(980px,100%)}.settings-modal{width:min(820px,100%)}.small-modal{width:min(540px,100%)}.modal-head,.modal-foot{justify-content:space-between}.modal-head{padding-bottom:12px;border-bottom:1px solid #e8edea}.modal-head h2{font-size:22px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.line-items,.settings-section{display:grid;gap:10px}.settings-section{padding:14px;border:1px solid #e0e7e3;border-radius:8px;background:#fbfcfb}.settings-section h3{font-size:16px}.check-row{display:flex;align-items:center;gap:9px}.check-row input{width:18px;min-height:18px}.line-item{display:grid;grid-template-columns:minmax(160px,2fr) 82px minmax(120px,1fr) 42px;gap:8px}.line-item-wrap{display:grid;gap:8px;padding:10px;border:1px solid #e2e8e4;border-radius:8px;background:#fbfcfb}.option-picker{display:flex;flex-wrap:wrap;gap:7px}.check-chip{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #d8e2dd;border-radius:8px;background:var(--surface);font-size:13px;font-weight:760}.check-chip:has(input:checked){border-color:#94c7ad;background:#eaf7ef;color:#14533d}.check-chip input{width:16px;min-height:16px}.catalog-list{max-height:240px;overflow:auto;display:grid;gap:7px}.catalog-list button{display:grid;grid-template-columns:1fr auto;gap:3px 10px;min-height:56px;padding:9px 10px;text-align:left;background:var(--surface)}.catalog-list button:hover{background:#f4faf6}.catalog-list small{grid-column:1 / -1;color:var(--muted)}.catalog-form,.option-editor{display:grid;gap:8px}.form-grid.compact{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.option-line{display:grid;grid-template-columns:1fr 120px 42px;gap:8px}.sms-preview{padding:14px;border:1px solid #d7e1dc;border-radius:8px;background:#f7faf8;font-size:16px;line-height:1.45}.report-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.report-cards div{display:grid;gap:4px;padding:13px;border:1px solid #e0e7e3;border-radius:8px;background:#fff}.report-cards span,.activity-list span{color:var(--muted);font-size:12px;font-weight:800}.report-cards b{font-size:22px}.report-table,.activity-list{display:grid;gap:7px}.report-table div{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #e5ebe8;border-radius:8px;background:#fff}.activity-list div{display:grid;gap:3px;padding:9px 10px;border:1px solid #e5ebe8;border-radius:8px;background:#fff}@media(max-width:1180px){.shop-layout{grid-template-columns:1fr}.cart-panel{position:static}.cart-items{max-height:none}.orders-grid{grid-template-columns:1fr}.row-main{grid-template-columns:90px 54px minmax(170px,1fr) 86px 118px 28px}}@media(max-width:820px){.shop-hero{min-height:290px}.shop-controls{grid-template-columns:1fr}.modal-backdrop{place-items:start center;overflow:auto}.order-form,.settings-modal,.small-modal{width:min(100%,760px);max-height:none;margin:10px 0}.topbar{align-items:flex-start;flex-direction:column}.top-actions,.control-bar{width:100%;flex-wrap:wrap}.control-bar{top:118px}.search-box{flex-basis:100%}.control-bar select,.date-filter,.alert-chip,.control-bar button{flex:1 1 150px}.row-main{min-height:92px;grid-template-columns:1fr 56px 76px 28px;grid-template-areas:"code time total eye" "customer customer wait wait"}.code{grid-area:code;justify-content:flex-start;padding:0 10px}.time{grid-area:time}.customer-line{grid-area:customer}.row-main b{grid-area:total}.wait-pill{grid-area:wait;justify-content:center}.row-main>svg{grid-area:eye}.detail-summary{grid-template-columns:1fr}.form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.line-item{grid-template-columns:1fr 72px 42px}.form-grid.compact,.option-line{grid-template-columns:1fr}.line-item input[placeholder]{grid-column:1 / -1}}@media(max-width:560px){.shop-hero{padding:14px 14px 26px}.shop-hero-text h1{font-size:34px}.product-actions,.cart-foot,.order-success{align-items:stretch;flex-direction:column}.product-actions .primary,.cart-foot .primary{width:100%}.app-shell{padding:10px}.login-box h1,.topbar h1{font-size:26px}.top-actions .primary{flex:1}.form-grid,.line-item{grid-template-columns:1fr}.order-form,.settings-modal,.small-modal{padding:14px}.row-main{gap:8px;padding:10px}.items{grid-template-columns:1fr}.modal-head,.modal-foot{align-items:stretch;flex-direction:column}.report-table div{grid-template-columns:1fr}}@media print{.app-shell,.login-screen{display:none}}
