/* Visual original Guto: cabecalho carvao, menu azul, conteudo claro e ouro. */
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#0f1d33;background:#eef2f9;font-synthesis:none;--gold:#edce6b;--muted:#526e98;--line:#d0dced;--panel:#fff;--navy:#101f35;--ink:#0f1d33}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer;border:1px solid #c9d7eb;border-radius:10px;background:#fff;color:#112139;padding:12px 18px;font-weight:650;transition:background .16s,box-shadow .16s}button:hover{background:#f6f3e8;border-color:#cab570}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:var(--gold);border-color:var(--gold);color:#302c17}button.primary:hover{background:#f4d779}a{color:#80651e}:focus-visible{outline:3px solid #b18b25;outline-offset:4px}.skip-link{position:fixed;left:12px;top:-100px;z-index:50;background:white;padding:14px;border-radius:8px}.skip-link:focus{top:12px}
.topbar{display:flex;align-items:center;gap:20px;min-height:98px;padding:12px 30px;background:#08101b;color:#fff;border-bottom:1px solid #ffffff0e}.brand{display:flex;align-items:center;gap:16px;color:inherit;text-decoration:none;flex-shrink:0}.brand img{width:66px;height:66px;object-fit:contain}.brand>span{font-size:47px;font-weight:900;line-height:1;letter-spacing:-2.5px}.brand-dot{color:#f5cd46}.brand small{display:block;font-size:9px;font-weight:750;color:#edd06c;letter-spacing:2px;margin-top:9px}.experience-nav{display:flex;align-self:stretch;align-items:stretch;justify-content:center;gap:35px;flex:1}.experience-nav button,.experience-nav a{display:flex;align-items:center;gap:13px;padding:0 0;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;text-decoration:none;color:#9fb1cb;font-size:14px;font-weight:650;white-space:nowrap}.experience-nav button:disabled{opacity:.65}.experience-nav a.active{border-bottom-color:#e7c449;color:#f1ce66}.experience-nav small{font-size:11px;font-weight:400;color:#edce6b}.soon{font-size:8px;padding:4px 6px;border:1px solid #1d3964;border-radius:5px}.environment{border:1px solid #334560;border-radius:24px;background:#11213a;color:#e9d99d;font-size:10px;letter-spacing:1.4px;padding:12px 16px;white-space:nowrap}.topbar #logout{background:transparent;color:#d3deee;border-color:#1d3964;padding:10px 15px}
.workspace-layout{min-height:calc(100vh - 98px)}.authenticated .workspace-layout{display:grid;grid-template-columns:269px minmax(0,1fr);align-items:start}.sidebar{background:#101f35;color:#a7bdde;padding:30px 20px 24px;position:sticky;top:0;min-height:calc(100vh - 98px);max-height:100vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#344661 #101f35}.workspace-brand{display:flex;gap:12px;align-items:center;padding:8px 0 30px;margin-bottom:22px;border-bottom:1px solid #1a3358}.workspace-brand img{width:52px;height:52px;object-fit:contain}.workspace-brand strong{display:block;font-size:18px;color:white;letter-spacing:-.5px}.workspace-brand small{display:block;font-size:9px;line-height:1.8;margin-top:5px;color:#8aa0c0}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;gap:15px;align-items:center;width:100%;border:1px solid transparent;border-radius:10px;padding:16px 14px;text-align:left;background:transparent;color:#a7bddd;font-size:13px;font-weight:450;min-height:53px}.sidebar nav button:hover{background:#162c4c;color:#fff}.sidebar nav button[aria-current=page]{background:#edce6b;color:#11213a;font-weight:750;box-shadow:0 5px 16px #0001}.nav-icon{font-size:19px;width:20px;flex-shrink:0;text-align:center;font-weight:400}.sidebar-foot{margin-top:50px;padding:20px 14px 0;display:grid;gap:8px;font-size:11px;color:#a5b6cf}.sidebar-foot small{font-size:9px;color:#6f89b1}.connection-status:before,.data-status:before{content:'';display:inline-block;width:6px;height:6px;margin-right:10px;border-radius:50%;background:#6480ab}
main{min-width:0;max-width:1440px;margin:0 auto;padding:40px;min-height:72vh}.authenticated main{margin:0;max-width:none;width:100%;padding:40px}.intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:32px}.intro h1{font-size:36px;font-weight:800;letter-spacing:-1.4px;line-height:1.15;margin:14px 0 12px}.intro p{margin:0;font-size:13px}.eyebrow{display:block;font-size:9px;letter-spacing:2px;text-transform:uppercase;color:#6a86af;font-weight:750;margin:0 0 12px}h1{font-size:36px;letter-spacing:-1px;margin:12px 0}h2{font-size:19px;letter-spacing:-.5px;margin:0 0 20px}h3{font-size:15px;margin:0 0 14px}p{color:var(--muted);line-height:1.7;font-size:13px;margin:10px 0 20px}.tag{display:inline-block;border:1px solid #bfcfe7;background:#ecf1f8;padding:10px 14px;color:#486085;font-size:10px;white-space:nowrap;border-radius:10px;line-height:1.5}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;min-width:0}.card>form{margin-top:20px}.card>label{margin-top:18px}.card .eyebrow+h2{margin-top:0}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.stack{display:grid;gap:20px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.metric{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px}.metric>strong{display:block;font-size:32px;margin-top:12px;letter-spacing:-1px}.metric>span{font-size:12px;color:var(--muted)}.metric>small{font-size:10px;color:var(--muted)}
.analytics-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 24px;flex-wrap:wrap}.data-status{font-size:8px;letter-spacing:1.2px;color:#56739f;line-height:1.6}.analytics-filters{display:flex;gap:10px;align-items:end}.analytics-filters label{font-size:9px;color:#5674a1;gap:5px}.analytics-filters select{padding:11px 13px;font-size:12px;background:white;min-width:150px}.analytics-filters button{white-space:nowrap;padding:11px 15px;font-size:12px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.kpi{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px 24px;min-width:0;box-shadow:0 2px 8px #12233c02}.kpi>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#5775a1}.kpi-icon{font-size:20px;color:#8ea3c2}.kpi>strong{font-size:clamp(25px,2.5vw,42px);font-weight:800;letter-spacing:-1.5px;display:block;margin:25px 0 17px;line-height:1.1;overflow-wrap:anywhere}.kpi>small{font-size:9px;line-height:1.6;display:block;color:#6985ae}.kpi-featured{background:linear-gradient(130deg,#12243f,#0c1728);border-color:#12243f;color:#fff}.kpi-featured>div,.kpi-featured>small{color:#aabfdf}.kpi-featured .kpi-icon{color:#e5c45f}.analytics-primary{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(290px,1fr);gap:22px}.analytics-primary .card{min-height:370px}.chart-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 16px}.chart-summary strong{font-size:24px;letter-spacing:-.7px}.chart-summary small{color:#6884ae;font-size:9px}.revenue-chart{display:block;width:100%;height:auto;min-height:190px;margin-top:26px}.chart-grid{stroke:#cedaed;stroke-dasharray:5 5}.chart-axis{font-size:10px;fill:#6985ae;font-family:inherit}.chart-area{fill:#e7c45d;fill-opacity:.17}.chart-line{fill:none;stroke:#b68c20;stroke-width:3;stroke-linejoin:round}.chart-point{fill:#c79d2a;stroke:#fff;stroke-width:1}.chart-point:hover,.chart-point:focus{r:6;fill:#6c561e}.chart-empty{font-size:11px;text-align:center;margin-top:0}.channel-donut{display:block;width:220px;max-width:100%;margin:10px auto 14px}.donut-background{stroke:#e3eaf5}.donut-total{fill:#0f1d33;font-size:31px;font-weight:800;font-family:inherit}.channel-legend{display:grid;gap:15px}.channel-row{display:grid;grid-template-columns:1fr 55px 90px;gap:8px;align-items:center;font-size:11px;color:#6481ac}.channel-row strong{text-align:right;color:#172d4f;font-size:11px}.channel-row small{text-align:right;font-size:10px}.channel-row>span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:2px;background:#ddb64b;margin-right:10px}.channel-pickup>span:before{background:#82a9df}.channel-delivery>span:before{background:#1e3a63}.analytics-secondary{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(290px,1fr);gap:22px;margin-top:22px}.operation-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #e3eaf4;font-size:12px;color:#5a78a6}.operation-row strong{font-size:25px;color:#203f6e}.operation-row:last-of-type{margin-bottom:24px}.metric-method{font-size:10px;line-height:1.8;border-top:1px solid var(--line);padding-top:17px;margin-top:24px;color:#5876a3}.loading-note{padding:40px;background:white;border:1px solid var(--line);border-radius:18px}
form{display:grid;gap:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{font-size:12px;color:#41587a;display:grid;gap:8px}input,select{background:#f9fbfd;border:1px solid #c4d3e9;border-radius:9px;padding:12px;color:#152947;min-width:0;width:100%}input::placeholder{color:#7690b6}input[readonly]{color:#5876a3}input:focus,select:focus{border-color:#bda552}input[type=number]{font-variant-numeric:tabular-nums}.hint{font-size:11px;line-height:1.75;color:#5674a1;margin:0}.empty{padding:30px 16px;border:1px dashed #bdcde6;border-radius:12px;text-align:center;color:#607da9;font-size:12px;line-height:1.8;background:#f6f8fc}.list{display:grid;gap:10px}.row{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #e3eaf4;min-width:0}.row .grow{flex:1;min-width:0;overflow-wrap:anywhere}.row strong{display:block;font-size:13px}.row small{display:block;font-size:10px;color:#6884ad;margin-top:6px;line-height:1.55}.row .value{color:#7e6a2f;font-size:12px;text-align:right;white-space:nowrap}.row button{padding:9px 12px;font-size:10px}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}.toolbar h2{margin:0}.receipt-line{display:grid;grid-template-columns:1fr 110px;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0;font-size:13px}.receipt-line small{display:block;color:var(--muted);margin-top:6px}.divider{height:1px;background:var(--line);margin:6px 0}.warning{border:1px solid #e4d39e;background:#fff9e8;border-radius:12px;padding:17px;color:#7a6328;line-height:1.75;font-size:12px;margin-bottom:18px}
.login{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px;max-width:1000px;margin:45px auto}.login .art{padding:30px;text-align:center}.login .art img{width:260px;max-width:85%;object-fit:contain;filter:drop-shadow(0 12px 25px #8c762d18)}.login .art p{font-size:14px;margin-top:25px}.login .card{padding:36px}.login h2{font-size:27px}.login-card{max-width:560px;margin:30px auto}.mfa-qr{display:block;width:280px;height:280px;max-width:100%;object-fit:contain;background:#fff;padding:16px;border:1px solid var(--line);border-radius:12px;margin:24px auto}.mfa-manual{margin:20px 0}.mfa-manual summary{cursor:pointer;color:#82661e;padding:12px 0;font-size:13px}.secret{font-family:monospace;word-break:break-all;background:#f5f1df;padding:12px;border-radius:8px;color:#6c5824;user-select:all}
.kanban{display:grid;grid-template-columns:repeat(6,minmax(230px,1fr));gap:14px;overflow-x:auto;padding:24px 0;scroll-snap-type:x proximity}.kanban-column{background:#dee6f2;border:1px solid #d0dced;border-top:3px solid #879dbf;border-radius:13px;padding:14px;min-height:220px;scroll-snap-align:start}.kanban-column h3{font-size:12px;letter-spacing:0;padding:6px 2px}.kanban-column.state-new{border-top-color:#c6a33a}.kanban-column.state-preparing{border-top-color:#d09a5e}.kanban-column.state-ready{border-top-color:#6380ab}.kanban-column.state-out_for_delivery{border-top-color:#8aa7b5}.order-card{background:#fff;padding:18px;border:1px solid #cad7eb;border-radius:12px;display:grid;gap:14px;margin-top:12px;overflow-wrap:anywhere;box-shadow:0 3px 8px #12244005}.order-card h3,.order-card p{margin:0}.order-card>strong{font-size:23px;color:#6f622f}.order-card button{text-align:left}.orders-workspace>.card{margin-top:15px}.sla-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-top:24px}.sla-results>.hint{grid-column:1/-1}.sla-results meter{width:100%;height:18px;accent-color:#c2a24c}.thermal-slip{background:white;color:black;width:80mm;max-width:100%;padding:4mm;font:12px monospace;margin:24px auto;overflow-wrap:anywhere}.thermal-slip.paper-58{width:58mm}.thermal-slip h2{font-size:18px;text-align:center}.thermal-slip p{color:black;white-space:pre-wrap;border-bottom:1px dashed #999;padding-bottom:10px}.print-controls{display:flex;gap:12px;flex-wrap:wrap}.print-controls p{width:100%}
#notice:not(:empty){position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:40;width:min(92vw,600px);padding:17px 22px;border-radius:12px;background:#122440;color:#f9f3df;box-shadow:0 8px 45px #0003;font-size:13px;line-height:1.7}footer{display:flex;gap:20px;justify-content:space-between;padding:23px 40px;border-top:1px solid var(--line);color:#5e7ca9;font-size:10px;background:#eef2f9}.authenticated footer{margin-left:269px}
@media(min-width:1800px){.topbar{padding:12px 40px}.analytics-primary .card{min-height:410px}}
@media(max-width:1250px){.experience-nav{gap:18px}.experience-nav button,.experience-nav a{font-size:12px}.soon{display:none}.environment{font-size:9px;padding:10px}.brand>span{font-size:39px}.brand img{width:54px;height:54px}.authenticated .workspace-layout{grid-template-columns:225px minmax(0,1fr)}.sidebar{padding:25px 14px}.workspace-brand strong{font-size:16px}.workspace-brand small{font-size:8px}.sidebar nav button{font-size:12px;padding:13px 12px}.authenticated main{padding:30px 24px}.authenticated footer{margin-left:225px}.kpi{padding:20px 16px}.kpi>strong{font-size:30px}.kpi>div{font-size:11px}.analytics-primary,.analytics-secondary{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.card{padding:22px}.split{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}}
@media(max-width:980px){.experience-nav button{display:none}.experience-nav{flex:1;justify-content:flex-end}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-primary,.analytics-secondary,.split{grid-template-columns:1fr}.intro{gap:15px}.intro h1{font-size:30px}.analytics-filters select{min-width:0}.chart-summary{margin-top:22px}.analytics-primary .card{min-height:0}.sidebar nav button{padding:13px 10px}.workspace-brand{gap:8px}.workspace-brand img{width:42px;height:42px}.grid{gap:12px}.metric{padding:18px 14px}.metric>strong{font-size:27px}}
@media(max-width:720px){.topbar{min-height:82px;padding:12px 16px;gap:10px;flex-wrap:wrap}.brand img{width:48px;height:48px}.brand>span{font-size:35px}.brand small{font-size:7px;letter-spacing:1.4px}.experience-nav{display:none}.environment{margin-left:auto;font-size:8px;padding:8px 10px;letter-spacing:.6px}.topbar #logout{font-size:12px;padding:9px 12px}.workspace-layout{min-height:calc(100vh - 82px)}.authenticated .workspace-layout{display:block}.sidebar{position:static;min-height:0;max-height:none;padding:10px 12px;overflow:visible}.workspace-brand,.sidebar-foot{display:none}.sidebar nav{display:flex;gap:7px;overflow-x:auto;padding:3px 0 8px;scrollbar-width:thin;scroll-snap-type:x proximity}.sidebar nav button{width:auto;flex-shrink:0;min-height:42px;white-space:nowrap;font-size:11px;padding:10px 12px;scroll-snap-align:start}.nav-icon{font-size:15px;width:15px}.authenticated main,main{padding:25px 16px 35px}.intro{display:block;margin-bottom:20px}.intro h1{font-size:29px;margin-top:12px}.intro p{font-size:12px}.intro>.tag{margin-top:15px;padding:7px 10px;font-size:9px}.eyebrow{font-size:8px;letter-spacing:1.7px}.analytics-toolbar{gap:16px;margin-top:20px}.analytics-filters{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}.analytics-filters>button{grid-column:1/-1;padding:10px}.analytics-filters select{font-size:11px;padding:11px 8px}.data-status{font-size:8px;letter-spacing:.8px}.kpi-grid{gap:10px;margin-bottom:16px}.kpi{padding:18px 14px;border-radius:14px}.kpi>div{font-size:10px;gap:4px;line-height:1.5}.kpi>strong{font-size:27px;letter-spacing:-1px;margin:18px 0 12px}.kpi>small{font-size:8px}.kpi-icon{font-size:16px}.card{padding:22px 18px;border-radius:15px}.analytics-primary,.analytics-secondary{gap:16px}.analytics-secondary{margin-top:16px}h2{font-size:18px}.chart-summary{align-items:flex-start;flex-direction:column;gap:8px}.revenue-chart{min-height:125px;margin-top:12px}.chart-axis{font-size:13px}.chart-summary strong{font-size:24px}.chart-empty{font-size:10px}.channel-donut{width:195px}.channel-legend{max-width:300px;margin:auto}.row{flex-wrap:wrap;gap:10px}.row .value{font-size:11px}.row button{font-size:10px}.row .grow{flex-basis:60%}.grid{grid-template-columns:1fr;gap:10px;margin:18px 0}.metric{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px}.metric>strong{margin:0;font-size:26px}.form-grid{grid-template-columns:1fr}.receipt-line{grid-template-columns:1fr 85px;gap:10px;font-size:12px}.toolbar button{font-size:11px;padding:11px 14px}.kanban{grid-template-columns:repeat(6,minmax(245px,80vw))}.kanban-column{min-height:160px}.order-card button{width:100%;font-size:12px}.login{grid-template-columns:1fr;gap:0;margin:10px auto}.login .art{display:none}.login .card{padding:26px}.login h2{font-size:25px}.login-card{margin:10px auto}.mfa-qr{width:260px;height:260px}.print-controls button{width:100%}.authenticated footer,footer{margin-left:0;padding:22px 16px;flex-direction:column;gap:8px;line-height:1.7}.sla-results{grid-template-columns:1fr}.metric-method{font-size:9px}}
@media(max-width:380px){.brand>span{font-size:31px}.brand img{width:40px;height:40px}.brand{gap:9px}.brand small{font-size:6px}.environment{font-size:7px;padding:7px}.topbar #logout{font-size:11px;padding:8px}.kpi>strong{font-size:23px}.kpi{padding:16px 12px}.kpi>div{font-size:9px}.kpi-icon{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white!important;color:black!important}.topbar,.sidebar,footer,#notice,.print-controls,.skip-link{display:none!important}.authenticated .workspace-layout{display:block}.authenticated main,main{margin:0;padding:0;max-width:none;min-height:0}main>*:not(.thermal-slip){display:none!important}.thermal-slip{margin:0;box-shadow:none;border:0}.thermal-slip p{break-inside:avoid}@page{margin:0}}
/* Incremento 3: operaÃ§Ã£o, despesas e viabilidade no mesmo sistema visual. */
.operations-host>.card,.security-list+.card,.fiscal-models+.card{margin-top:22px}.operations-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 22px;flex-wrap:wrap}.operations-filter{display:flex;align-items:end;gap:12px}.operations-filter label{min-width:160px}.operations-dashboard{margin:24px 0}.operations-finance{align-items:start}.operations-expense-row{flex-wrap:wrap}.operations-chart-row{padding:15px 0;border-bottom:1px solid #e3eaf4}.operations-chart-label,.operations-price-row{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#526e99;line-height:1.7}.operations-chart-label strong,.operations-price-row strong{color:#1b355b;white-space:nowrap}.operations-chart-row progress,.operations-chart-row meter{display:block;width:100%;height:13px;margin:12px 0 5px;accent-color:#c5a140;border:0;border-radius:20px;overflow:hidden}.operations-chart-row progress::-webkit-progress-bar{background:#e2e9f4;border-radius:20px}.operations-chart-row progress::-webkit-progress-value{background:#d5b457;border-radius:20px}.operations-pricing,.operations-recipes{align-items:start}.operations-pricing>.card:last-child,.operations-recipes>.card:last-child{position:sticky;top:20px}.operations-price-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.operations-price-kpis .kpi{padding:22px 17px}.operations-price-kpis .kpi>strong{font-size:30px;letter-spacing:-1px}.operations-price-row{padding:13px 0;border-bottom:1px solid #e3eaf4}.operations-price-row:last-child{border:0}.operations-price-verdict{padding:20px;background:#e4ebf5;border:1px solid #c1d1e8;border-radius:12px;color:#394d6a;font-size:13px;line-height:1.8;margin:20px 0}.operations-recipe-items{display:grid;gap:6px}.operations-recipes .row{flex-wrap:wrap}.operations-recipe-items .grow{flex-basis:65%}.operations-host .hint{margin-top:12px}.operations-host .warning{margin-top:16px}.operations-host .card>.card{margin:20px 0;background:#f6f8fc;border-radius:12px;padding:20px}.security-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.security-list .card{padding:25px}.security-list p{margin-bottom:0}.security-list~.card{margin-top:22px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#5978a6;background:#f1f5fa}th,td{padding:16px 13px;border-bottom:1px solid #d6e0f0;vertical-align:top;line-height:1.7}td{color:#435a7d}.fiscal-profile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.fiscal-profile small{display:block;font-size:10px;color:#6783ad;margin-bottom:6px}.fiscal-profile strong{font-size:13px;color:#1f3d6b;line-height:1.7}.fiscal-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.model-help{margin-bottom:24px}.model-help summary{cursor:pointer;padding:12px;border:1px dashed #c4d3e9;border-radius:8px;color:#7f6b2b;font-size:12px}.model-help summary:hover{background:#faf6e8}.model-help summary:focus-visible{outline:3px solid #b18b25}.model-help p{padding:10px;margin:0;background:#f6f8fb;font-size:12px}.fiscal-models .card>button{width:100%;font-size:12px}.pos-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr);gap:22px;align-items:start}.pos-layout>.card:first-child>label{margin:18px 0}.pos-layout>.card:last-child{position:sticky;top:20px}.pos-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:24px}.pos-product{padding:20px 16px;border:1px solid #cbd8eb;border-radius:13px;display:grid;gap:12px;align-content:start;background:#f9fbfd}.pos-product h3{font-size:14px;margin:0;line-height:1.5;overflow-wrap:anywhere}.pos-product .eyebrow{font-size:8px;margin:0}.pos-price{font-size:23px;color:#344661;letter-spacing:-.6px}.pos-product small{font-size:10px;color:#6985ae}.pos-product button{font-size:12px}.pos-basket{display:grid;gap:10px}.pos-basket-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #d9e2f0;padding:14px 0}.pos-basket-line .grow{flex:1;min-width:140px}.pos-basket-line .grow strong{font-size:13px;overflow-wrap:anywhere}.pos-basket-line small{font-size:10px;color:#6783ad;display:block;margin-top:6px}.pos-basket-line>strong{font-size:14px;margin-left:auto}.quantity-controls{display:flex;align-items:center;gap:10px}.quantity-controls button{padding:7px 11px;font-size:16px}.quantity-controls span{font-size:13px;min-width:15px;text-align:center}.pos-total{display:block;font-size:42px;letter-spacing:-1.5px;color:#193156;border-top:1px solid var(--line);padding-top:20px}.pos-layout .hint{font-size:10px}.pos-products>.empty{grid-column:1/-1}
@media(max-width:1200px){.security-list{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-layout{grid-template-columns:1fr}.pos-layout>.card:last-child{position:static}.operations-price-kpis .kpi>strong{font-size:25px}.operations-filter{flex-wrap:wrap}.operations-filter label{min-width:140px}}
@media(max-width:980px){.operations-pricing>.card:last-child,.operations-recipes>.card:last-child{position:static}.operations-toolbar{align-items:stretch}.operations-filter{width:100%}.security-list{grid-template-columns:1fr}}
@media(max-width:720px){.operations-toolbar{gap:12px}.operations-filter{display:grid;grid-template-columns:1fr 1fr;gap:10px}.operations-filter label{min-width:0;font-size:10px}.operations-filter button{grid-column:1/-1}.operations-toolbar>button{width:100%}.operations-price-kpis{grid-template-columns:1fr}.operations-price-kpis .kpi>strong{font-size:30px}.operations-chart-label{font-size:11px;gap:8px}.operations-chart-label strong{font-size:12px}.operations-price-row{font-size:11px;align-items:flex-start}.fiscal-profile,.fiscal-models{grid-template-columns:1fr}.security-list{gap:14px}.security-list .card{padding:22px 18px}th,td{font-size:10px;padding:13px 10px}.pos-layout{gap:16px}.pos-products{gap:10px}.pos-product{padding:15px 12px}.pos-product h3{font-size:12px}.pos-price{font-size:21px}.pos-product button{font-size:11px;padding:10px}.pos-basket-line .grow{min-width:120px;flex-basis:60%}.pos-total{font-size:36px}.operations-host .card>.card{padding:16px}.operations-recipes .row .value{white-space:normal}}
@media print{.operations-host,.security-list,.fiscal-models,.pos-layout{display:none!important}}
.skip-link{top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0}.skip-link:focus{top:12px;width:auto;height:auto;clip-path:none;white-space:normal;padding:14px}
.remember-device{display:flex;align-items:flex-start;gap:10px}.remember-device input{width:auto;flex-shrink:0;margin-top:3px}
.pagination{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.pagination label{min-width:210px}.pagination>.hint{margin-right:auto;align-self:center}@media(max-width:720px){.pagination{display:grid;grid-template-columns:1fr 1fr}.pagination label,.pagination>.hint{grid-column:1/-1;min-width:0}.pagination button{padding:12px 8px;font-size:11px}}
/* Entrada Guto: identidade da fachada, sem navegaÃ§Ã£o de demonstraÃ§Ã£o. */
.topbar{justify-content:space-between;min-height:90px;padding:15px 36px}.topbar .environment{margin-left:auto}.topbar .brand img{border-radius:16px}.topbar .brand>span{font-size:40px}
body:not(.authenticated){background:radial-gradient(ellipse at 90% 20%,#e9e6d9 0,transparent 55%),#eef2f9}body:not(.authenticated) main{max-width:1300px;padding:48px 40px}.login{max-width:1160px;grid-template-columns:1.08fr 1fr;gap:0;margin:0 auto;align-items:stretch;border-radius:28px;box-shadow:0 24px 80px #0c182a10;overflow:hidden;border:1px solid #cedaed;background:white}.login .art{position:relative;overflow:hidden;padding:38px 42px;background:radial-gradient(ellipse at 50% 38%,#1c3760 0,#11213a 42%,#0a1423 90%);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.login .art:before,.login .art:after{content:'';position:absolute;width:430px;height:430px;border:1px solid #dec06316;border-radius:50%;top:-170px;right:-220px;pointer-events:none}.login .art:after{top:auto;right:auto;bottom:-240px;left:-180px;width:500px;height:500px}.login-kicker{font-size:10px;letter-spacing:3px;color:#dfc874;font-weight:700}.login-emblem{position:relative;margin:24px 0 20px;isolation:isolate}.login-emblem:before{content:'';position:absolute;inset:-15px;border:1px solid #d4bd5c44;border-radius:50%;z-index:-1;animation:guto-orbit 14s linear infinite;border-top-color:#edce6b}.login .art img{display:block;width:230px;height:230px;max-width:100%;border-radius:50%;filter:drop-shadow(0 18px 32px #0005)}.login .art h1{color:#fff;font-size:44px;line-height:1.08;letter-spacing:-1.7px;white-space:pre-line;margin:14px 0}.login .art p{font-size:13px;color:#a8b8d0;max-width:300px;line-height:1.8;margin:6px 0 24px}.login-features{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.login-features span{font-size:9px;color:#d5dfef;border:1px solid #7790b533;padding:8px 10px;border-radius:30px;background:#ffffff05}.login-features span:before{content:'\2713';margin-right:5px;color:#edce6b}.login .card{border:0;border-radius:0;padding:52px 42px;display:flex;flex-direction:column;justify-content:center}.login .card>.eyebrow{color:#9c7e2e;letter-spacing:2px}.login h2{font-size:32px;line-height:1.2;letter-spacing:-1px;margin-bottom:12px}.login .card>p{margin:0 0 12px;font-size:13px}.login form{gap:19px}.login input:not([type=checkbox]){min-height:50px;padding:14px 16px;transition:border-color .2s,box-shadow .2s;background:#f5f7fb}.login input:not([type=checkbox]):focus{outline:none;border-color:#bba24d;box-shadow:0 0 0 4px #edce6b24}.login .primary{min-height:52px;border-radius:12px;box-shadow:0 6px 18px #a58a2830;transition:transform .2s,box-shadow .2s,background .2s}.login .primary:hover{transform:translateY(-2px);box-shadow:0 9px 24px #a58a2840}.login .remember-device{font-size:11px;line-height:1.7;align-items:center}.remember-device input{accent-color:#8a752d;width:17px;height:17px;margin:0}.login .hint{font-size:10px;border-top:1px solid #dae3f1;padding-top:16px;line-height:1.8}#notice:not(:empty){max-width:min(620px,calc(100vw - 32px));font-size:12px;padding:18px 22px;line-height:1.6;bottom:20px}@keyframes guto-orbit{to{transform:rotate(360deg)}}
@media(max-width:720px){.topbar{padding:13px 18px;min-height:80px;flex-wrap:nowrap}.topbar .brand>span{font-size:32px}.topbar .brand img{width:46px;height:46px}.topbar .brand small{font-size:6px}.topbar .environment{font-size:7px;padding:8px;letter-spacing:.6px}body:not(.authenticated) main{padding:22px 16px}.login{grid-template-columns:1fr;border-radius:22px}.login .art{display:flex;padding:23px 22px;min-height:0;align-items:flex-start;text-align:left}.login-kicker{font-size:8px;letter-spacing:2px}.login-emblem{position:absolute;right:24px;top:26px;margin:0}.login .art img{width:85px;height:85px}.login-emblem:before{inset:-7px}.login .art h1{font-size:29px;letter-spacing:-1px;margin:14px 0 8px;max-width:65%}.login .art p{font-size:11px;max-width:65%;line-height:1.6;margin:0}.login-features{display:none}.login .card{padding:28px 24px}.login h2{font-size:27px}.login .card>.eyebrow{font-size:8px}.login .card>p{font-size:12px}.login form{gap:17px}.login input:not([type=checkbox]){font-size:16px}.login .primary{font-size:14px}}
@media(prefers-reduced-motion:reduce){.login-emblem:before{animation:none}.login .primary,.login input{transition:none}.login .primary:hover{transform:none}}
/* Ambiente interno: navegaÃ§Ã£o por contexto e painÃ©is da operaÃ§Ã£o. */
.authenticated{background:#ecf1f8}.authenticated .topbar{position:sticky;top:0;z-index:30;min-height:84px;padding:10px 28px;box-shadow:0 4px 24px #0a142212}.authenticated .topbar .brand img{width:54px;height:54px}.authenticated .topbar .brand>span{font-size:35px}.authenticated .workspace-layout{grid-template-columns:269px minmax(0,1fr)}.authenticated .sidebar{top:84px;min-height:calc(100dvh - 84px);max-height:calc(100dvh - 84px);padding:24px 17px;background:#101f35;border-right:1px solid #ffffff0a}.workspace-brand{gap:10px;padding:0 8px 22px;margin-bottom:18px}.workspace-brand img{width:43px;height:43px;border-radius:12px}.workspace-brand strong{font-size:13px;letter-spacing:-.3px}.workspace-brand small{font-size:9px;color:#8aa0c0}.area-search{font-size:10px;gap:8px;padding:0 7px 20px;color:#9caec9}.area-search input{background:#ffffff08;color:#e3eaf5;border-color:#ffffff18;font-size:11px;padding:11px 12px}.area-search input::placeholder{color:#7c94b9}.area-search input:focus{outline:none;box-shadow:0 0 0 3px #edce6b19;border-color:#bca45f}.nav-group{display:grid;gap:4px;margin-bottom:17px}.nav-group-title{font-size:8px;font-weight:750;letter-spacing:1.7px;color:#728cb3;padding:8px 14px}.sidebar nav{gap:0}.sidebar nav button{font-size:12px;font-weight:500;min-height:45px;padding:12px 13px;border-radius:11px;transition:background .18s,transform .18s,color .18s}.sidebar nav button:hover{transform:translateX(3px);background:#ffffff0b}.sidebar nav button[aria-current=page]{background:linear-gradient(110deg,#f2d77e,#e9c760);color:#12233d;box-shadow:0 5px 18px #0002}.nav-icon{font-size:19px;color:#91a5c4}.sidebar nav button[aria-current=page] .nav-icon{color:#514721}.nav-search-empty{padding:10px;color:#b1c5e2;font-size:11px}.sidebar-foot{margin-top:20px;padding:18px 12px;border-top:1px solid #ffffff14;border-radius:0}.areas-toggle{display:none}.authenticated main{padding:32px clamp(24px,3vw,48px) 50px}.intro{margin-bottom:26px;align-items:center}.intro .eyebrow{font-size:8px;color:#627fab;letter-spacing:2.2px}.intro h1{font-size:34px;margin:9px 0 11px;letter-spacing:-1.25px}.intro p{font-size:12px;color:#5674a1}.intro>.tag{font-size:9px;border-radius:30px;background:#fff;border-color:#cedaed;padding:9px 14px}.workspace-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 34px;margin-bottom:28px;border:1px solid #193156;border-radius:22px;background:radial-gradient(ellipse at 90% 10%,#275b93 0,transparent 65%),linear-gradient(115deg,#0f1e34,#152a49);box-shadow:0 12px 26px #12243e0c;color:#fff}.workspace-welcome:after{content:'';position:absolute;right:-70px;top:-130px;width:300px;height:300px;border:1px solid #e2cb6f26;border-radius:50%;pointer-events:none}.workspace-welcome .eyebrow{color:#e2ca79;font-size:8px;letter-spacing:2.4px}.workspace-welcome h2{font-size:27px;letter-spacing:-.8px;line-height:1.2;margin:0 0 12px;color:#fff}.workspace-welcome p{font-size:12px;margin:0;color:#abbbd2;max-width:490px}.welcome-actions{display:grid;gap:10px;min-width:170px;position:relative;z-index:1}.welcome-actions button{font-size:11px;padding:12px 15px;border-radius:10px;background:#ffffff09;border-color:#ffffff2a;color:#dce5f2}.welcome-actions .primary{background:#edce6b;border-color:#edce6b;color:#302c17}.welcome-actions button:hover{background:#ffffff14}.welcome-actions .primary:hover{background:#f5da89}.authenticated .card{border-color:#d2ddee;border-radius:20px;box-shadow:0 5px 20px #12243f04}.authenticated .card h2{font-size:18px;line-height:1.4}.authenticated .card .eyebrow{color:#9d8b4a;letter-spacing:1.8px}.kpi-grid{gap:15px}.kpi{position:relative;padding:23px 22px;border-radius:20px;box-shadow:0 5px 20px #12243f05;transition:transform .2s,box-shadow .2s}.kpi:hover{transform:translateY(-3px);box-shadow:0 12px 30px #12243f0b}.kpi-featured{background:radial-gradient(ellipse at 100% 0,#1e3b66,transparent 80%),#11223c}.kpi>strong{font-size:clamp(26px,2.8vw,43px);margin:24px 0 16px}.kpi-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;border:1px solid #889ebf33;background:#889ebf09;font-size:18px}.analytics-toolbar{margin-top:8px}.analytics-filters{background:#fff;padding:10px 12px;border-radius:14px;border:1px solid #d2ddee}.analytics-filters select{border-color:#d8e2f0;min-width:140px}.data-status{font-size:8px;letter-spacing:1px}.chart-grid{stroke:#d6e0ef;stroke-dasharray:3 7}.chart-line{stroke-width:3.5;stroke:#b59131}.chart-area{fill:#d8b54f;fill-opacity:.13}.channel-donut{width:205px}.channel-row{padding:8px 0;border-bottom:1px solid #e3eaf5}.channel-row:last-child{border:0}.operation-row{padding:18px 0}.operation-row strong{font-size:29px}.authenticated input,.authenticated select{transition:box-shadow .18s,border-color .18s;background:#f6f8fc}.authenticated input:focus,.authenticated select:focus{outline:none;border-color:#baaa67;box-shadow:0 0 0 3px #d7bd5d20}.authenticated .toolbar{gap:14px;padding-bottom:16px;border-bottom:1px solid #d9e2f0}.authenticated .toolbar button{font-size:11px}.authenticated .row{padding:18px 8px;border-radius:9px;transition:background .16s}.authenticated .row:hover{background:#f1f5fa}.authenticated .row strong{font-size:13px}.authenticated .empty{padding:32px 22px;background:linear-gradient(145deg,#f6f8fc,#ecf1f8);border-color:#c2d1e8;border-radius:15px;font-size:12px}.kanban{gap:16px}.kanban-column{background:#e2e9f4;border-color:#d0dced;border-radius:16px}.kanban-column h3{font-size:11px;text-transform:uppercase;letter-spacing:.8px}.order-card{border-radius:13px;box-shadow:0 5px 15px #12243f07;transition:transform .16s,box-shadow .16s}.order-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #12243f10}.pos-product{border-radius:16px;transition:box-shadow .18s,border-color .18s}.pos-product:hover{border-color:#cfb869;box-shadow:0 8px 20px #62511c0a}.pos-total{color:#182f51}.operations-chart-row{padding:10px 0}.authenticated .warning{border-radius:13px;border-color:#e5d8ac;background:#fffbee}.authenticated .table-wrap{border:1px solid #d6e0ef;border-radius:13px}.authenticated th{background:#ecf1f8}.authenticated footer{font-size:10px;border-color:#d0dced}
@media(min-width:1600px){.authenticated main{max-width:1700px;margin:0 auto}.workspace-welcome{padding:34px 40px}.workspace-welcome h2{font-size:31px}}
@media(max-width:1100px){.workspace-welcome{padding:26px;gap:20px}.workspace-welcome h2{font-size:24px}.welcome-actions{min-width:145px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi>strong{font-size:32px}.analytics-toolbar{align-items:flex-start}.analytics-filters{width:100%}}
@media(max-width:720px){.authenticated .topbar{min-height:74px;padding:10px 16px}.authenticated .topbar .brand img{width:42px;height:42px}.authenticated .topbar .brand>span{font-size:30px}.authenticated .sidebar{position:sticky;top:74px;z-index:20;min-height:0;max-height:65dvh;padding:10px 12px 5px;border-bottom:1px solid #1b365e;box-shadow:0 6px 18px #0c18290b}.workspace-brand,.sidebar-foot{display:none}.areas-toggle{display:flex;align-items:center;justify-content:center;font-size:10px;color:#c1d1e8;background:#ffffff08;border-color:#ffffff19;width:100%;padding:8px;min-height:32px;margin-bottom:7px}.area-search{display:none}.sidebar nav{display:flex;gap:7px;overflow:auto;padding-bottom:8px}.nav-group{display:contents}.nav-group-title{display:none}.sidebar nav button{width:auto;min-height:40px;padding:10px 12px;font-size:11px;white-space:nowrap;flex-shrink:0}.sidebar nav button:hover{transform:none}.sidebar .nav-icon{font-size:16px;width:17px}.sidebar.menu-expanded{overflow:auto}.menu-expanded .area-search{display:grid;padding:10px 3px}.menu-expanded nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:7px}.menu-expanded nav button{width:100%;white-space:normal;text-align:left;min-height:44px;font-size:10px}.authenticated main{padding:25px 16px 35px}.intro{display:block;margin-bottom:21px}.intro h1{font-size:29px;margin-top:9px}.intro p{font-size:12px}.intro>.tag{margin-top:12px;font-size:8px;padding:6px 10px}.workspace-welcome{padding:24px 22px;border-radius:18px;display:block;margin-bottom:22px}.workspace-welcome h2{font-size:25px;max-width:270px}.workspace-welcome p{font-size:11px;line-height:1.8}.welcome-actions{display:flex;flex-wrap:wrap;margin-top:21px;gap:9px}.welcome-actions button{flex:1;min-width:115px;font-size:10px;padding:12px 9px}.analytics-filters{padding:10px;gap:9px}.analytics-filters select{min-width:0;font-size:11px}.analytics-filters label{min-width:0}.kpi-grid{gap:10px}.kpi{padding:18px 15px;border-radius:16px}.kpi>div{font-size:10px;line-height:1.6}.kpi>strong{font-size:29px;margin:18px 0 12px}.kpi-icon{width:25px;height:25px;font-size:14px;border-radius:8px;flex-shrink:0}.kpi>small{font-size:9px}.authenticated .card{padding:23px 20px;border-radius:17px}.authenticated .card h2{font-size:18px}.analytics-primary .card{min-height:0}.channel-row{font-size:11px}.channel-row strong{font-size:11px}.authenticated .row{padding:15px 4px}.authenticated .toolbar{align-items:flex-start}.operations-filter input,.operations-filter select,.authenticated input,.authenticated select{font-size:16px}.authenticated .pagination select{font-size:13px}.authenticated .toolbar button{font-size:11px}.authenticated footer{padding-bottom:24px}.metric-method{font-size:10px}.pos-layout{gap:17px}}
@media(prefers-reduced-motion:reduce){.kpi,.sidebar nav button,.order-card,.pos-product{transition:none}.kpi:hover,.order-card:hover{transform:none}}
.authenticated .area-search input{background:#ffffff09;color:#e9eef6;border-color:#ffffff20}.authenticated .area-search input::placeholder{color:#8da2c1}@media(max-width:720px){.authenticated .area-search input{font-size:16px}}
.authenticated #app{scroll-margin-top:104px}@media(max-width:720px){.authenticated #app{scroll-margin-top:180px}}
/* Receiving: one scan, editable quantities and explicit pack conversion. */
.stock-lines{display:grid;gap:12px}.stock-line{display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(145px,1fr) minmax(120px,.8fr) auto;align-items:end;gap:14px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#f7f9fd}.stock-line>div:first-child{align-self:center;overflow-wrap:anywhere}.stock-line strong{display:block;font-size:13px}.stock-line small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:6px}.stock-stepper{display:flex;align-items:center;gap:4px}.stock-stepper input{min-width:64px;text-align:center;font-variant-numeric:tabular-nums}.stock-stepper button{padding:10px;min-width:36px;font-size:18px}.stock-actions{display:flex;flex-wrap:wrap;gap:8px}.stock-summary{padding:14px 16px;border-radius:12px;background:#eaf1fc;color:#1e3a63;font-size:12px;font-weight:650}.stock-pack{grid-column:1/-1;display:grid;grid-template-columns:1.2fr .8fr 1fr auto;align-items:end;gap:12px;padding-top:12px;border-top:1px solid var(--line)}.stock-pack p{align-self:center;margin:0}.stock-manual{padding:15px;border:1px dashed var(--line);border-radius:12px;display:grid;gap:12px}.stock-manual summary{cursor:pointer;font-size:12px;font-weight:650;color:#1e3a63;padding:2px}.stock-manual[open]>label,.stock-manual[open]>button{margin-top:12px}.barcode-recovery{padding:20px;background:#fff9e8;border:1px solid #e4d39e;border-radius:14px;display:grid;gap:12px}.barcode-recovery h3{margin:0}.stock-recovery-fields,.barcode-recovery details{display:grid;gap:12px}.barcode-recovery>div>label,.barcode-recovery>div>button{margin-top:12px}.receipt-stock-line{grid-template-columns:minmax(160px,1fr) minmax(170px,260px) auto}.receipt-stock-line:focus-within{border-color:#82a9df;box-shadow:0 0 0 3px #82a9df22}
@media(max-width:1100px){.stock-line{grid-template-columns:1fr 1fr}.stock-line>div:first-child{grid-column:1/-1}.stock-pack{grid-template-columns:1fr 1fr}.receipt-stock-line{grid-template-columns:1fr auto}.stock-line>button{justify-self:start}}
@media(max-width:720px){.stock-line{padding:15px;gap:12px;grid-template-columns:minmax(0,1fr)}.stock-line>div:first-child{grid-column:auto}.stock-line input,.stock-line select{font-size:16px}.stock-line>button{width:100%;justify-self:stretch}.stock-pack{grid-template-columns:minmax(0,1fr)}.stock-stepper button{min-height:44px;min-width:44px}.stock-stepper input{flex:1}.stock-actions button{flex:1}.barcode-recovery{padding:16px}}

.purchase-layout{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);align-items:start}.stock-line>label{min-width:0}.purchase-layout .stock-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.purchase-layout .stock-line>div:first-child{grid-column:1/-1}.purchase-layout .stock-line>button{grid-column:1/-1;justify-self:end}.purchase-layout .stock-stepper input{width:0;flex:1;min-width:40px}.purchase-layout form{min-width:0}
@media(max-width:1250px){.purchase-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:720px){.purchase-layout .stock-line{grid-template-columns:minmax(0,1fr)}.purchase-layout .stock-line>button{justify-self:stretch}}

.withdraw-confirm{display:flex;align-items:flex-start;gap:12px;line-height:1.6;padding:16px;background:#eef3fb;border:1px solid var(--line);border-radius:12px}.withdraw-confirm input{width:20px;height:20px;flex-shrink:0;accent-color:#1e3a63}.withdraw-confirm:focus-within{outline:2px solid #1e3a63;outline-offset:3px}

.inventory-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.inventory-toolbar button{font-size:11px}.inventory-product-row{flex-wrap:wrap}.inventory-product-row>.grow{flex-basis:45%}#new-product-card{scroll-margin-top:180px}@media(max-width:720px){.inventory-toolbar button{flex:1 1 140px}.inventory-product-row>.grow{flex-basis:100%}}

/* Guto: legibilidade, profundidade e movimento com prioridade para a operação. */
:root{font-family:"Segoe UI",Inter,Arial,sans-serif;font-size:16px;--muted:#52637c;--line:#dce4ef;--gold:#f0cb62;background:#f1f4f9;color:#122139}
html{min-height:100%;scrollbar-gutter:stable}body{min-height:100dvh;background:#f1f4f9}button,input,select,textarea{font-family:inherit}button{min-height:44px;transition:background .18s,box-shadow .18s,transform .18s}button:active{transform:translateY(1px)}button.primary{box-shadow:0 5px 14px #d2a62b1c}button.primary:hover{box-shadow:0 7px 20px #d2a62b30}
.authenticated .topbar{min-height:88px;background:linear-gradient(110deg,#0a1424,#12243c);border-bottom:1px solid #ffffff12;box-shadow:0 3px 20px #152a4512}.authenticated .brand>span{font-size:44px;letter-spacing:-2px}.authenticated .brand small{font-size:10px;letter-spacing:2px}.authenticated .environment{font-size:11px;background:#ffffff07;border-color:#ffffff20;color:#f0d58a}.authenticated #logout{font-size:15px;min-height:44px}
.authenticated .workspace-layout{grid-template-columns:272px minmax(0,1fr);min-height:calc(100dvh - 88px);align-items:stretch}.authenticated .sidebar{background:linear-gradient(165deg,#12243d,#0c1b30);min-height:calc(100dvh - 88px);max-height:100dvh;padding:25px 18px;align-self:start;border-right:1px solid #ffffff09}.authenticated .workspace-brand strong{font-size:19px}.authenticated .workspace-brand small{font-size:12px;color:#a7bad4}.authenticated .area-search{font-size:13px}.authenticated .area-search input{font-size:14px;min-height:44px}.authenticated .nav-group-title{font-size:11px;letter-spacing:1.6px;color:#8fa8cb}.authenticated .sidebar nav button{font-size:15px;line-height:1.45;min-height:51px;padding:13px 14px;border-radius:13px;font-weight:550;color:#c2d0e3}.authenticated .sidebar nav button[aria-current=page]{color:#18243a;background:linear-gradient(105deg,#f5d879,#eac354);box-shadow:0 8px 20px #00000012;font-weight:750}.authenticated .sidebar-foot{font-size:13px;padding-inline:8px}.authenticated .sidebar-foot small{font-size:11px}
.authenticated main{padding:32px clamp(22px,2.4vw,48px) 44px;min-height:0;background:radial-gradient(ellipse at 95% 0,#dbe7f255,transparent 48%),#f1f4f9}.authenticated .intro{margin-bottom:28px}.authenticated .intro h1{font-size:clamp(30px,2.8vw,43px);line-height:1.2;letter-spacing:-1.3px}.authenticated .intro p{font-size:16px;line-height:1.65}.authenticated h2{font-size:23px;line-height:1.35;font-weight:750;letter-spacing:-.6px}.authenticated h3{font-size:17px;line-height:1.4}.authenticated p{font-size:15px;line-height:1.7}.authenticated .eyebrow{font-size:11px;letter-spacing:1.7px}.authenticated .tag{font-size:12px;padding:9px 14px}.authenticated .card{padding:28px;border-radius:23px;border-color:#dce4ef;background:linear-gradient(150deg,#fff,#fdfefe);box-shadow:0 8px 30px #142c4c05}.authenticated .card:focus-within{border-color:#a9bdd8}.authenticated .hint,.authenticated .metric-method{font-size:13px;line-height:1.65;color:#5d6e86}.authenticated .row{padding:20px 6px;gap:14px}.authenticated .row strong{font-size:16px;line-height:1.4}.authenticated .row small,.authenticated .row .value{font-size:13px;line-height:1.65}.authenticated .row button,.authenticated .toolbar button,.authenticated .inventory-toolbar button{font-size:14px;min-height:44px}.authenticated label{font-size:14px;line-height:1.55}.authenticated input,.authenticated select{font-size:16px;min-height:48px;border-radius:12px;background:#f8fafc;border-color:#cfd9e6}.authenticated input:focus,.authenticated select:focus{background:#fff}.authenticated .empty,.authenticated .warning{font-size:15px;line-height:1.65}
.authenticated .workspace-welcome{padding:32px 36px;border-radius:26px;background:radial-gradient(ellipse at 100% 0,#38649270,transparent 58%),linear-gradient(120deg,#102039,#1c3556);box-shadow:0 12px 30px #10243c10;border:1px solid #ffffff12}.authenticated .workspace-welcome h2{font-size:clamp(26px,2.2vw,36px);letter-spacing:-1px}.authenticated .workspace-welcome p{font-size:15px;color:#bdcde1}.authenticated .welcome-actions button{font-size:15px;min-height:48px}.authenticated .analytics-toolbar{margin-block:26px}.authenticated .data-status{font-size:11px;letter-spacing:.8px}.authenticated .analytics-filters label{font-size:13px}.authenticated .analytics-filters select,.authenticated .analytics-filters button{font-size:14px;min-height:46px}.authenticated .kpi{padding:26px;border-radius:22px;border-color:#dce4ef;box-shadow:0 6px 24px #152a4505}.authenticated .kpi>div{font-size:15px;line-height:1.45}.authenticated .kpi>strong{font-size:clamp(29px,2.6vw,44px);margin:23px 0 17px;letter-spacing:-1.2px}.authenticated .kpi>small{font-size:12px;line-height:1.65}.authenticated .kpi-featured{background:linear-gradient(120deg,#142944,#254468);border-color:#1a3353}.authenticated .kpi-featured>small,.authenticated .kpi-featured>div{color:#c0d0e4}.authenticated .chart-summary strong{font-size:29px}.authenticated .chart-summary small,.authenticated .chart-empty,.authenticated .channel-legend,.authenticated .channel-row,.authenticated .channel-row strong{font-size:13px}.authenticated .chart-axis{font-size:12px}.authenticated .channel-donut{max-width:240px}.authenticated .operations-price-row,.authenticated .operations-chart-label{font-size:15px}.authenticated table{font-size:14px}.authenticated th{font-size:12px}.authenticated .order-card{border-radius:17px;box-shadow:0 5px 14px #142c4c07;padding:20px}.authenticated .order-card p{font-size:14px}.authenticated .kanban-column h3{font-size:16px}.authenticated .kanban{grid-template-columns:repeat(6,minmax(270px,1fr));gap:16px}.authenticated .pos-product{padding:22px;border-radius:19px}.authenticated .pos-product h3{font-size:18px}.authenticated .pos-product small{font-size:13px}.authenticated .pos-product button{font-size:15px}.authenticated .stock-line strong{font-size:16px}.authenticated .stock-line small{font-size:13px}.authenticated .stock-summary{font-size:15px}.authenticated .stock-manual summary{font-size:14px}.authenticated .pos-basket-line small{font-size:13px}.authenticated .pos-total{font-size:38px}.authenticated .pos-layout>.card:last-child{box-shadow:0 10px 35px #142c4c0a}.authenticated footer{display:none}.authenticated #notice:not(:empty){font-size:15px;bottom:max(20px,env(safe-area-inset-bottom));box-shadow:0 12px 40px #10213a30}
@keyframes guto-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}.authenticated main>.intro,.authenticated main>.workspace-welcome,.authenticated main>.split,.authenticated main>.kpi-grid,.authenticated main>.analytics-primary{animation:guto-enter .3s ease-out both}.authenticated .kpi-grid{animation-delay:.04s}.authenticated .analytics-primary{animation-delay:.08s}.authenticated .kpi:hover{transform:translateY(-3px);box-shadow:0 12px 30px #142c4c0d}
@media(min-width:721px) and (max-width:1200px){.authenticated .workspace-layout{grid-template-columns:238px minmax(0,1fr)}.authenticated .sidebar{padding-inline:12px}.authenticated main{padding:28px 24px 40px}.authenticated .sidebar nav button{font-size:14px}.authenticated .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.authenticated .inventory-product-row>.grow{flex-basis:100%}}
@media(max-width:720px){html{scrollbar-gutter:auto}.authenticated .topbar{min-height:78px;padding:11px 15px;gap:10px}.authenticated .brand>span{font-size:32px}.authenticated .brand small{font-size:8px;letter-spacing:1.2px}.authenticated .brand img{width:44px;height:44px}.authenticated .environment{font-size:9px;padding:8px 10px;letter-spacing:.5px}.authenticated #logout{font-size:14px;padding:9px 12px}.authenticated .workspace-layout{display:block;min-height:calc(100dvh - 78px)}.authenticated .sidebar{top:78px;min-height:0;max-height:65dvh;padding:9px 12px 3px}.authenticated .areas-toggle{font-size:13px;min-height:40px}.authenticated .sidebar nav button{font-size:14px;min-height:46px;padding:11px 14px}.authenticated .sidebar.menu-expanded nav button{font-size:13px;white-space:normal}.authenticated .sidebar nav{padding-bottom:8px}.authenticated main{padding:25px 16px 30px}.authenticated .intro h1{font-size:32px}.authenticated .intro p{font-size:15px}.authenticated .intro>.tag{font-size:11px}.authenticated .workspace-welcome{padding:26px 23px;border-radius:21px}.authenticated .workspace-welcome h2{font-size:29px;max-width:100%}.authenticated .workspace-welcome p{font-size:14px}.authenticated .welcome-actions button{font-size:14px;min-height:46px}.authenticated .card{padding:23px 20px;border-radius:20px}.authenticated h2{font-size:22px}.authenticated .eyebrow{font-size:10px}.authenticated .kpi{padding:20px 17px;border-radius:19px}.authenticated .kpi>div{font-size:13px}.authenticated .kpi>strong{font-size:clamp(27px,6.6vw,36px);margin-block:20px 13px}.authenticated .kpi>small{font-size:11px}.authenticated .analytics-filters label{font-size:12px}.authenticated .analytics-filters select,.authenticated .analytics-filters button{font-size:14px}.authenticated .row{padding-block:18px}.authenticated .row .grow{flex-basis:100%}.authenticated .row button{font-size:14px}.authenticated .kanban{grid-template-columns:repeat(6,minmax(270px,85vw))}.authenticated .stock-line{padding:17px}.authenticated .pos-layout>.card:last-child{position:static}.authenticated .operations-pricing>.card:last-child{position:static}.authenticated .operations-price-kpis{grid-template-columns:1fr}.authenticated .operations-price-kpis .kpi>strong{font-size:33px}.authenticated input,.authenticated select{font-size:16px;min-height:48px}.authenticated .operations-filter{flex-wrap:wrap}.authenticated .operations-filter label{min-width:0;flex:1 1 140px}.authenticated #app{scroll-margin-top:190px}}
@media(max-width:380px){.authenticated .brand small{font-size:7px}.authenticated .environment{max-width:100px;white-space:normal;text-align:center;font-size:8px}.authenticated .kpi-grid{gap:10px}.authenticated .kpi{padding:18px 14px}.authenticated .kpi>div{font-size:12px}.authenticated .kpi>strong{font-size:26px}}
@media(prefers-reduced-motion:reduce){.authenticated main>*,.authenticated .kpi,.authenticated button{animation:none!important;transition:none!important;transform:none!important}html{scroll-behavior:auto}}
@media print{.authenticated .workspace-layout{min-height:0}.authenticated main{background:#fff;padding:0}.authenticated main>*{animation:none!important;transform:none!important}}
.pricing-known{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:18px 0}.pricing-known .kpi{padding:18px}.pricing-known .kpi>strong{font-size:28px;margin:15px 0 8px}.pricing-charges,.pricing-settings{padding:18px;border:1px solid var(--line);border-radius:15px;margin-top:18px;background:#f7f9fd}.pricing-charges summary,.pricing-settings summary{font-size:15px;font-weight:700;cursor:pointer;padding:5px 0}.pricing-charges>label,.pricing-settings form>label{margin-top:17px}.pricing-settings form{display:grid;gap:12px;margin-top:18px}.pos-customer-box{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px;display:grid;gap:13px}.pos-customer-box .stock-manual{background:#f7f9fd}.pos-customer-box details form{display:grid;gap:12px;margin-top:15px}.scan-feedback{padding:14px 17px;border-radius:13px;border:1px solid #cbd9eb;background:#edf3fb;color:#234366!important;font-size:15px!important}.scan-success{animation:guto-scan .5s ease-out}.customer-results{display:grid;gap:12px;margin-top:24px}.customer-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:20px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}.customer-row>.grow{flex:1;min-width:180px}.customer-row small{display:block;font-size:13px;margin-top:7px;color:var(--muted)}.customer-row strong{font-size:17px}.customer-results+details{margin-top:24px}#new-product-card>form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}#new-product-card form>label:first-child,#new-product-card form>.hint,#new-product-card form>.stock-summary,#new-product-card form>button{grid-column:1/-1}#new-product-card .stock-summary{margin:0}#new-product-card form>label{min-width:0}.inventory-product-row>button:last-child{color:#a43a39}.pos-total{font-variant-numeric:tabular-nums}form input[readonly]{background:#edf1f7;color:#425777}@keyframes guto-scan{0%{box-shadow:0 0 0 4px #d6b44855;background:#fff5d6}100%{box-shadow:none;background:#edf3fb}}@media(max-width:980px){#new-product-card>form{grid-template-columns:1fr}#new-product-card form>*{grid-column:1!important}}@media(prefers-reduced-motion:reduce){.scan-success{animation:none}}
@media(max-width:720px){.authenticated .environment{display:none}.authenticated .topbar .brand{margin-right:auto}}
body,h1,h2,h3{font-family:inherit}.authenticated .workspace-layout{background:linear-gradient(to right,#0c1b30 272px,#f1f4f9 272px)}.authenticated .channel-row small{font-size:12px}@media(min-width:721px) and (max-width:1200px){.authenticated .workspace-layout{background:linear-gradient(to right,#0c1b30 238px,#f1f4f9 238px)}}@media(max-width:720px){.authenticated .workspace-layout{background:#f1f4f9}}
#notice{pointer-events:none}
/* Operação 009: controles reunidos, foco nos resultados e filas legíveis. */
.authenticated .workspace-welcome{padding:23px 28px;margin-bottom:18px;min-height:126px;border-radius:22px}.authenticated .workspace-welcome h2{font-size:29px;margin:7px 0 9px}.authenticated .workspace-welcome p{max-width:none;font-size:14px;margin:0}.authenticated .welcome-actions{display:flex;gap:10px;min-width:0;flex-shrink:0}.authenticated .welcome-actions button{min-width:130px}.authenticated .workspace-welcome:after{opacity:.45}.authenticated .analytics-toolbar{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:18px 22px;background:#fff;border:1px solid var(--line);border-radius:19px;margin:0 0 20px;box-shadow:0 5px 20px #142c4c04}.filter-caption{display:grid;gap:7px}.authenticated .filter-caption h2{font-size:19px;margin:0}.authenticated .filter-caption .data-status{font-size:11px;letter-spacing:.3px}.authenticated .analytics-filters{padding:0;border:0;background:transparent;box-shadow:none;gap:12px}.authenticated .analytics-filters label{font-size:12px}.authenticated .analytics-filters select{min-width:150px;min-height:45px}.authenticated .analytics-filters button{min-height:45px}.authenticated .analytics-primary .card{border-radius:22px}.authenticated .kpi{position:relative;overflow:hidden}.authenticated .kpi:before{content:'';position:absolute;top:0;left:26px;width:38px;height:3px;background:#94aecf;border-radius:0 0 4px 4px}.authenticated .kpi-featured:before{background:#f0cb62}.authenticated .kpi-icon{background:#edf3fa;border-color:#d6e2f1}.authenticated .kpi-featured .kpi-icon{background:#ffffff09;border-color:#ffffff20}.authenticated .row .grow>strong{color:#172b46}.authenticated .metric{border-radius:17px;border-color:var(--line);background:linear-gradient(145deg,#fff,#f7f9fd)}
.orders-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 22px}.orders-head h2{margin:0 0 5px}.orders-head .hint{margin:0}.orders-actions{display:flex;gap:10px;flex-shrink:0}.orders-controls{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:18px 22px;border:1px solid var(--line);background:#fff;border-radius:19px}.orders-controls label{min-width:205px;margin:0}.orders-controls select{min-height:46px}.orders-count{font-size:14px;color:#5b6f89;margin-top:18px}.view-toggle{display:flex;padding:4px;gap:3px;background:#edf2f8;border:1px solid #dce5f1;border-radius:12px;margin-left:auto;align-self:flex-end}.view-toggle button{font-size:14px;min-height:39px;min-width:78px;border:0;background:transparent;color:#52637c;padding:8px 14px}.view-toggle button[aria-pressed=true]{background:white;color:#173457;box-shadow:0 2px 7px #142c4c13}.authenticated .orders-workspace>.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;background:transparent;margin:12px 0 0;padding:0;border:0}.orders-workspace>.pagination>.hint{margin:0 auto 0 0}.authenticated .orders-workspace>.grid{margin:18px 0 8px}.authenticated .orders-workspace .kanban{padding-top:14px;align-items:start}.authenticated .kanban[data-columns="4"]{grid-template-columns:repeat(4,minmax(240px,1fr))}.authenticated .kanban[data-columns="1"]{grid-template-columns:minmax(260px,620px)}.authenticated .kanban-column{background:#e6edf5;border:1px solid #dae3ef;border-top:3px solid #8fa6c7;padding:15px;min-height:195px;border-radius:18px}.authenticated .kanban-column>h3{display:flex;align-items:center;gap:9px;margin:0 0 16px;padding:3px 0;font-size:16px}.kanban-column>h3:before{content:'';width:8px;height:8px;border-radius:50%;background:#9eb0ca}.kanban-column.state-new{border-top-color:#d6b344}.kanban-column.state-new>h3:before{background:#d6b344}.kanban-column.state-preparing{border-top-color:#d49a58}.kanban-column.state-preparing>h3:before{background:#d49a58}.kanban-column.state-ready{border-top-color:#5796c3}.kanban-column.state-ready>h3:before{background:#5796c3}.kanban-column.state-delivered>h3:before{background:#4e9b86}.order-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.order-card-top .eyebrow{margin:0!important;font-size:10px!important}.order-stage{font-size:11px;border-radius:20px;padding:5px 9px;color:#3b628b;background:#edf4fa;line-height:1.45}.state-ready .order-stage{color:#7c5d12;background:#fff4cf}.state-delivered .order-stage{color:#327563;background:#eaf5ef}.authenticated .order-card{padding:19px;border-radius:16px;gap:12px;margin-top:12px}.authenticated .order-card h3{font-size:15px;font-weight:650;line-height:1.55;color:#52637c}.authenticated .order-card>strong{font-size:28px;color:#152c49;letter-spacing:-.8px}.authenticated .order-card .hint{font-size:12px;margin:0}.authenticated .order-card button{font-size:14px;text-align:center;border-color:#d6e1ef;background:#f6f9fd}.order-customer{font-size:13px!important;color:#344e6c!important;margin:0!important}.orders-list{display:grid;gap:22px;margin:24px 0}.orders-list>.kanban-column{background:transparent!important;border:0!important;padding:0!important;min-height:0!important}.orders-list .order-card{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:10px;box-shadow:none}.orders-list .order-card h3{flex:1;min-width:160px;margin:0}.orders-list .order-card-top{min-width:160px;justify-content:flex-start}.orders-list .order-card>strong{min-width:120px;font-size:24px}.orders-list .order-card>button{margin-left:auto}.orders-list .order-card>.hint{font-size:12px;max-width:170px}
.pricing-scenario-note{padding:14px 16px;background:#fff8e4;border:1px solid #eddfb9;border-radius:13px;color:#705b29;font-size:13px;line-height:1.65;margin:5px 0 22px}.pricing-forecast{padding:19px;background:#edf4fc;border:1px solid #d5e2f1;border-radius:16px;margin:18px 0}.pricing-forecast h3{font-size:16px;margin-bottom:4px}.pricing-forecast .operations-price-row:last-child{border:0}.authenticated .operations-pricing .operations-price-kpis{margin-top:18px}.authenticated .operations-pricing .operations-price-kpis .kpi{padding:24px 20px}.authenticated .operations-pricing .operations-price-kpis .kpi>strong{font-size:38px}.authenticated .operations-pricing .pricing-known{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.authenticated .operations-pricing .pricing-known .kpi{padding:16px}.authenticated .operations-pricing .pricing-known .kpi>strong{font-size:24px;letter-spacing:-.5px;margin:14px 0 8px}.authenticated .operations-pricing .pricing-known .kpi>div{font-size:12px}.authenticated .operations-pricing .pricing-known .kpi>small{font-size:11px}.authenticated .operations-pricing .pricing-known .kpi:before{display:none}
@media(max-width:1100px){.authenticated .workspace-welcome{display:block}.authenticated .welcome-actions{margin-top:17px}.authenticated .analytics-toolbar{align-items:flex-start;gap:18px}.authenticated .analytics-filters{width:100%;flex-wrap:wrap}.authenticated .analytics-filters label{flex:1;min-width:140px}.authenticated .analytics-filters select{width:100%}.authenticated .orders-workspace .kanban[data-columns="4"]{grid-template-columns:repeat(4,minmax(240px,1fr))}.orders-controls .orders-count{margin-right:auto}.view-toggle{margin-left:0}}
@media(max-width:720px){.authenticated .workspace-welcome{padding:22px;border-radius:20px}.authenticated .workspace-welcome h2{font-size:25px;margin-block:10px}.authenticated .workspace-welcome p{font-size:14px}.authenticated .welcome-actions{display:flex;flex-wrap:nowrap;gap:9px}.authenticated .welcome-actions button{min-width:0;flex:1;font-size:13px}.authenticated .analytics-toolbar{padding:18px;display:block}.authenticated .filter-caption h2{font-size:20px}.authenticated .analytics-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;gap:12px}.authenticated .analytics-filters label{min-width:0}.authenticated .analytics-filters select{min-width:0;font-size:14px}.authenticated .analytics-filters button{grid-column:1/-1}.orders-head{align-items:flex-start;display:block;margin-bottom:17px}.orders-head h2{font-size:23px}.orders-actions{margin-top:16px}.orders-actions button{flex:1;font-size:14px}.orders-controls{padding:18px;gap:12px}.orders-controls label{width:100%;min-width:0}.orders-controls .orders-count{font-size:13px;margin:0;flex:1 1 100%}.view-toggle{width:100%;margin:0}.view-toggle button{flex:1}.authenticated .orders-workspace>.pagination{flex-wrap:wrap;gap:8px}.orders-workspace>.pagination>.hint{flex-basis:100%}.authenticated .orders-workspace .kanban{grid-template-columns:repeat(6,minmax(265px,85vw));scroll-snap-type:x proximity}.authenticated .orders-workspace .kanban[data-columns="4"]{grid-template-columns:repeat(4,minmax(265px,85vw))}.authenticated .orders-workspace .kanban[data-columns="1"]{grid-template-columns:minmax(0,1fr)}.orders-list .order-card{display:grid;gap:12px}.orders-list .order-card h3{min-width:0}.orders-list .order-card>button{margin:0}.orders-list .order-card>.hint{max-width:none}.pricing-scenario-note{font-size:13px}.authenticated .operations-pricing .pricing-known{grid-template-columns:1fr 1fr}.authenticated .operations-pricing .pricing-known .kpi{padding:14px}.authenticated .operations-pricing .pricing-known .kpi>strong{font-size:22px}.authenticated .operations-pricing .operations-price-kpis .kpi>strong{font-size:36px}}

/* Keep monetary figures intact in the narrow calculator result panel. */
.authenticated .operations-pricing .operations-price-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}.authenticated .operations-pricing .operations-price-kpis .kpi>strong{font-size:clamp(26px,2.5vw,36px);white-space:nowrap;overflow-wrap:normal}.authenticated .operations-pricing .pricing-known{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}

.pricing-current-margin{margin:16px 0}.operations-pricing .table-wrap{margin:10px 0}.operations-pricing .table-wrap td{white-space:nowrap}
.thermal-slip.ticket-strip{width:48mm;padding:0}.unit-ticket{text-align:center;padding:1.5mm 1mm;border-bottom:1px dashed #555;break-inside:avoid;font-size:11px;line-height:1.15}.unit-ticket h2{margin:1mm 0;font-size:12px;line-height:1.15}.unit-ticket small{display:block;margin-top:.5mm;font-size:9px;line-height:1.1}
@media print{.thermal-slip.ticket-strip{margin:0 auto}.unit-ticket{color:#000;border-bottom:0}}

@page guto-ticket{size:58mm 34mm;margin:0}
@media print{.ticket-strip .unit-ticket{page:guto-ticket}.ticket-strip .unit-ticket:not(:last-child){break-after:page}}

/* Daily store operations */
.daily-workspace { display:grid; gap:24px; }
.daily-number { display:block; font-size:clamp(1.6rem,3vw,2.6rem); line-height:1.2; margin:12px 0; }
.daily-reminder { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; margin-bottom:20px; border:1px solid #d5ae44; background:#fff6d9; color:#172a44; border-radius:18px; }
.daily-check-list { display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)); }
.daily-check-list form { display:grid; gap:12px; }
.daily-check-list details { margin-top:16px; }
.daily-rank { display:grid; grid-template-columns:1fr auto; gap:8px 20px; margin:16px 0; }
.daily-rank meter { grid-column:1/-1; width:100%; height:18px; }
.daily-workspace textarea { display:block; width:100%; min-height:320px; margin-top:20px; padding:18px; border:1px solid #cad7e5; border-radius:16px; font:inherit; line-height:1.6; resize:vertical; }
@media(max-width:680px) { .daily-reminder { align-items:stretch; flex-direction:column; } }

dialog { max-width:min(560px,calc(100vw - 32px)); width:100%; border:1px solid #cbd7e5; border-radius:24px; padding:28px; color:#14243e; box-shadow:0 24px 80px #06152655; }
dialog::backdrop { background:#06152699; backdrop-filter:blur(4px); }
dialog form { display:grid; gap:16px; }

.delivery-admin-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.delivery-order-box{padding:22px;border:1px solid #c8d8ec;background:#f1f5fb;border-radius:16px;margin:20px 0;display:grid;gap:9px}.delivery-order-box p{overflow-wrap:anywhere}.delivery-order-box button{justify-self:start}

.delivery-admin-host{display:grid;gap:22px}.delivery-admin-host .delivery-settings-form{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}.delivery-settings-form>.hint,.delivery-settings-form>h3,.delivery-settings-form>.delivery-bands,.delivery-settings-form>.delivery-zones-label,.delivery-settings-form>.delivery-zones,.delivery-settings-form>.delivery-toggle,.delivery-settings-form>button{grid-column:1/-1}.delivery-toggle{display:flex!important;align-items:center!important;justify-content:space-between;gap:16px!important;padding:15px 18px;border:1px solid #d7e2f1;background:#f4f7fc;border-radius:12px}.delivery-toggle input[type=checkbox]{width:23px!important;height:23px!important;min-height:23px!important;margin:0!important;flex-shrink:0}.delivery-settings-form .hint{margin:0}.delivery-zones{border:1px solid #c8d8eb;border-radius:12px;padding:14px;font:inherit;min-height:130px;resize:vertical;width:100%}.delivery-admin-host a.primary{display:inline-flex;background:#edc85d;color:#16243b;padding:12px 19px;border-radius:12px;font-weight:700;text-decoration:none;margin-top:14px}.delivery-admin-host>.card>h2{margin-bottom:18px}.delivery-admin-host details summary{cursor:pointer;font-weight:650;padding:14px 0}@media(max-width:700px){.delivery-admin-host .delivery-settings-form{grid-template-columns:1fr}.delivery-admin-row{gap:12px}.delivery-admin-host .row{flex-wrap:wrap;gap:10px}}
