:root{--blue-dark: #003c87;--blue-primary: #006ac7;--blue-light: #d8e9f6;--background: #edf3f8;--panel: #f8fbfe;--border: #cfdeea;--text: #0c205b;--green: #008c43;--red: #ff2535;font-family:Arial,Arial Narrow,sans-serif;font-size:12px;color:var(--text);background:var(--background);font-synthesis:none}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;padding:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer}.gestao-app{display:flex;flex-direction:column;width:100%;height:100dvh;overflow:hidden;background:var(--background)}.titlebar{height:31px;min-height:31px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:linear-gradient(180deg,#003f88,#005ba9);color:#fff}.titlebar-company{display:flex;align-items:center;gap:5px;min-width:0;font-family:Arial,sans-serif;font-size:12px;line-height:1;font-weight:500;white-space:nowrap}.titlebar-label{font-size:12px;font-weight:600}.titlebar-divider{font-size:12px;font-weight:400;opacity:.75}.titlebar-name{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis}.titlebar-expand{width:23px;height:22px;display:grid;place-items:center;border:1px solid #a6bed6;border-radius:2px;background:#f4f8fc;color:#163c69}.app-toolbar{width:100%;height:62px;min-height:62px;display:grid;grid-template-columns:repeat(18,minmax(0,1fr));grid-template-rows:62px;gap:0;align-items:stretch;overflow:hidden;background:linear-gradient(180deg,#f7fbff,#e5eef6);border-bottom:1px solid #c8d8e6}.app-toolbar__item{box-sizing:border-box;width:100%;min-width:0;height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 1px;border:0;border-right:1px solid #cbd9e6;border-radius:0;background:transparent;cursor:pointer}.app-toolbar__item:last-child{border-right:0}.app-toolbar__item:hover{background:#d7e6f2}.app-toolbar__item.active{background:#dceaf5;box-shadow:inset 0 -2px #0878d8}.app-toolbar__icon{display:block;width:23px;height:23px;flex:0 0 23px;stroke-width:2.2}.app-toolbar__label{display:block;width:100%;color:#10245a;font-size:10px;font-weight:500;line-height:12px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toolbar{flex:0 0 65px;width:100%;height:65px;min-height:65px;display:grid;grid-template-columns:repeat(17,minmax(62px,1fr));align-items:stretch;overflow:hidden;flex-wrap:nowrap;background:linear-gradient(180deg,#f7fbff,#e4edf5);border-bottom:1px solid #c5d5e3}.toolbar-item{min-width:0;min-height:0;padding:6px 1px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-right:1px solid #cbd9e6;background:transparent;color:#10245a;font-size:10px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;box-sizing:border-box;flex-shrink:0;transition:background-color .14s ease}.toolbar-item:last-child{border-right:0}.toolbar-item:hover{background:#d6e5f1}.toolbar-item.is-active{background:#dceaf5;box-shadow:inset 0 -2px #0878d8}.toolbar-icon{width:23px;height:23px;flex:0 0 23px;stroke-width:2.3}.toolbar-label{display:block;width:100%;font-size:9px;font-weight:500;line-height:11px;text-align:center;white-space:nowrap;overflow:visible;text-overflow:clip}.dashboard{flex:1;min-height:0;padding:14px;display:flex;flex-direction:column;gap:12px;overflow:hidden}.overview{flex:0 0 80px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:12px}.company-logo{display:flex;align-items:center;gap:8px;padding-left:12px}.logo-icon{font-size:58px}.company-logo b{font-size:22px;line-height:.95;color:#4d155b;display:block}.company-logo b span{font-size:28px}.company-logo small{font-size:9px;display:block;text-align:center;margin-top:4px;letter-spacing:2px}.kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.kpi-card{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--border);background:#fff;border-radius:4px}.kpi-icon{width:48px;height:52px;display:grid;place-items:center;color:#364b65;background:#f9fbfe;border:1px solid #d5e1ed;flex:none}.kpi-body{min-width:0;display:flex;flex-direction:column;gap:4px}.kpi-body b{font-size:11px;color:#344a68;white-space:nowrap}.kpi-body strong{font-size:15px;white-space:nowrap}.kpi-body small{font-size:9px;color:#6b7a8d;white-space:nowrap}.units{flex:0 0 62px;display:flex;align-items:center;gap:7px;padding:6px 14px;background:linear-gradient(90deg,#d0e5f5,#eff6fb);border-radius:4px}.unit-list{display:flex;gap:8px;overflow-x:auto;flex:1}.unit-card{height:50px;min-width:200px;display:flex;align-items:center;gap:10px;padding:6px;background:#f8fbfe;border:1px solid #cbdce9;border-radius:4px;text-align:left}.unit-card.active{border:2px solid #1674ff;background:#f0f7ff}.unit-emoji{font-size:24px;width:36px;text-align:center;flex:none}.unit-card b{display:block;font-size:14px;margin-bottom:4px}.unit-card small{color:#004aab;font-size:11px;white-space:nowrap}.work-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,62%) minmax(0,38%);gap:12px}.left-column{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}.right-column{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;overflow:hidden}.products-panel,.orders-panel,.pdv-panel{background:var(--panel);border:1px solid var(--border);border-radius:4px;overflow:hidden}.products-panel{flex:0 0 148px}.orders-panel{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column}.pdv-panel{flex:1;min-height:0}.panel-header{height:32px;display:flex;align-items:center;padding:0 12px;background:linear-gradient(90deg,#cde3f3,#e4f1f9);font-size:14px;font-weight:700;border-bottom:1px solid var(--border)}.tabs{display:flex;margin-left:auto;height:100%}.tabs button{padding:0 16px;border:1px solid #cbd6e1;border-top:0;border-bottom:0;border-right:0;background:linear-gradient(#e8f0f7,#dae7f2);color:#101d4b;font-size:11px}.tabs button.active{background:linear-gradient(#2179c9,#005aa8);color:#fff}.search-bar{margin:6px 12px 8px;height:30px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #c6d6e7;border-radius:4px;background:#fff}.search-bar input{width:100%;border:0;outline:0;background:transparent;font-size:12px}.product-list{display:flex;gap:4px;overflow-x:auto;padding:6px}.product-card{flex:0 0 56px;min-height:88px;text-align:center;border:1px solid #d9e4ee;border-radius:4px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:3px 3px 5px;gap:2px;color:#0c1743}.product-card:hover{border-color:#06f;background:#f5faff}.product-emoji{font-size:22px;height:28px;display:grid;place-items:center}.product-card b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:54px}.product-card strong{font-size:11px;color:#001aff;white-space:nowrap}.product-img-fallback{width:40px;height:40px;object-fit:cover;border-radius:3px}.order-filters{display:flex;margin-left:auto;height:100%;gap:0}.order-filters button{padding:0 10px;border:0;border-right:1px solid #cbd6e1;background:transparent;color:#101d4b;font-size:11px}.order-filters button.active{background:linear-gradient(#2179c9,#005aa8);color:#fff}.orders-list,.order-list{flex:1;min-height:0;overflow-y:auto}.orders-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#aab;gap:4px}.orders-empty p{margin:0;font-size:13px}.orders-empty small{font-size:11px}.order-row{display:grid;grid-template-columns:40px 50px minmax(0,1fr) 80px 130px 65px;align-items:center;column-gap:4px;min-height:56px;padding:6px 9px;border-bottom:1px solid #e0e8f0}.order-details{padding-left:0}.order-row:hover{background:#f5f9fc}.order-channel-logo{display:flex;align-items:center;background:none;border:0;padding-left:12px;padding-right:8px}.channel-badge{display:flex;align-items:center}.channel-icon-img{width:28px;height:28px;object-fit:contain}.order-time{display:flex;align-items:center;gap:3px;font-size:11px;color:#555}.order-details b{font-size:12px;display:block}.order-details small{font-size:10px;color:#777;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.order-value{font-size:13px;font-weight:700;text-align:center}.order-status-col{display:flex;align-items:center}.order-status{display:block;width:72px;text-align:center;padding:3px 6px;border:1px solid;border-radius:3px;font-size:10px;font-weight:700;white-space:nowrap;box-sizing:border-box}.order-action{display:flex;align-items:center;justify-content:center}.btn-accept{padding:4px 12px;background:linear-gradient(#009b47,#008239);color:#fff;border:1px solid #007a34;border-radius:3px;font-size:11px;font-weight:700}.btn-track,.btn-print{width:28px;height:24px;border:1px solid #d2dfec;border-radius:3px;background:#f4f8fc;display:grid;place-items:center;color:#45586f}.pdv-form{padding:8px 12px 10px;display:flex;flex-direction:column;gap:8px;flex:1;min-height:0}.pdv-form-row{display:flex;gap:12px;align-items:flex-end}.pdv-field{flex:1;min-width:0}.pdv-field label{display:block;font-size:11px;font-weight:700;margin-bottom:4px}.pdv-customer-input{display:flex;gap:4px;height:30px}.pdv-customer-input input{min-width:0;width:100%;border:1px solid #c5d6e8;border-radius:3px;padding:0 8px}.pdv-customer-input button{width:30px;flex:none;border:1px solid #c6d6e7;border-radius:3px;background:#fff}.pdv-channel-selector{display:flex;gap:4px}.pdv-channel{flex:1;min-width:0;height:30px;border:1px solid #d3dfeb;border-radius:3px;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;white-space:nowrap;font-size:11px;line-height:1;background:#fff;color:#142b57}.pdv-channel img,.pdv-channel svg{flex-shrink:0;width:14px;height:14px}.pdv-channel span{display:inline-block;white-space:nowrap}.pdv-channel.active{outline:2px solid #006cff;outline-offset:-2px;background:#e8f2ff}.pdv-channel-icon{width:16px;height:16px;object-fit:contain}.pdv-note-field{flex:0 1 140px}.pdv-note-field input{width:100%;height:30px;border:1px solid #c5d6e8;border-radius:3px;padding:0 8px}.pdv-table-wrap{flex:1;min-height:80px;overflow:auto;border:1px solid #d6e0ea}.pdv-table{width:100%;border-collapse:collapse;font-size:12px;background:#fff}.pdv-table th{background:#e1ebf4;height:30px;text-align:center;font-size:11px;position:sticky;top:0;z-index:1}.pdv-table th:first-child{text-align:left;padding-left:12px}.pdv-table td{height:33px;border:1px solid #e0e8f0;text-align:center}.qty-control{display:flex;align-items:center;justify-content:center;gap:4px}.qty-control button{width:22px;height:20px;border:1px solid #c6d8e9;border-radius:3px;background:#fff;color:#005bff;display:grid;place-items:center}.qty-control span{min-width:20px;font-weight:700}.btn-remove-item{border:0;background:none;color:#f52222;display:grid;place-items:center;width:100%;height:100%}.icon-group{display:flex;align-items:center;justify-content:center;gap:3px}.icon-btn{width:24px;height:22px;border:1px solid #d2dfec;border-radius:3px;display:grid;place-items:center;background:#f4f8fc;color:#45586f}.icon-btn.active{outline:2px solid #1976ff;background:#e8f2ff}.icon-btn.green.active{background:#e0f5e8;outline-color:#008c43}.icon-btn.lightblue.active{background:#e0f0ff;outline-color:#0877f5}.icon-btn.orange.active{background:#fff0e0;outline-color:#fa790b}.icon-btn.gray.active{background:#e8edf3;outline-color:#666}.pdv-actions{display:grid;grid-template-columns:1fr 1.2fr 1.4fr;gap:8px;height:38px}.pdv-actions button{border-radius:4px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:700}.btn-clear{border:1px solid #ff2525;background:#fff;color:red}.btn-save{border:1px solid #8ca7c3;background:linear-gradient(#e8f0f7,#dce7f1);color:#112a60}.btn-finish{border:1px solid #007a34;background:linear-gradient(#009b47,#008239);color:#fff}.financial-monitor{flex:0 0 auto;width:100%;padding:8px 11px;background:#f7fbfe;border:1px solid #d0dfeb;border-radius:4px}.financial-monitor-content{display:flex;flex-direction:column;gap:0}.financial-line{min-height:25px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #d9e5ee;color:#10255a;font-size:11px}.financial-line strong{font-size:11px;font-weight:600}.discount-field{display:flex;align-items:center;gap:4px}.discount-field input{width:75px;height:22px;padding:0 6px;border:1px solid #cbdceb;border-radius:3px;background:#fff;color:#10255a;text-align:right;font-size:11px}.discount-unit{font-size:10px;color:#526782}.financial-total{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px}.financial-total span{font-size:21px;font-weight:700;color:#10255a}.financial-total strong{font-size:24px;font-weight:700;color:#008d43;white-space:nowrap}.financial-payments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.financial-payments button{height:32px;min-width:0;padding:0 5px;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:3px;font-size:10px;white-space:nowrap;cursor:pointer}.payment-cash{background:#008c42;color:#fff;border:1px solid #007a38}.payment-pix{background:#0075ef;color:#fff;border:1px solid #0064cf}.payment-card{background:#ff7900;color:#fff;border:1px solid #e66c00}.payment-other{background:#fff;color:#152956;border:1px solid #d1deea}.payment-cash:hover,.payment-pix:hover,.payment-card:hover{filter:brightness(.94)}@media(max-width:1200px){.financial-payments button{font-size:9px;padding:0 3px}.financial-total strong{font-size:21px}}.statusbar{flex:0 0 32px;display:flex;align-items:center;background:#e6eef5;border-top:1px solid #bdcedc;font-size:11px;overflow:hidden}.statusbar>span{padding:0 12px;border-right:1px solid #c2cfda;height:100%;display:flex;align-items:center;gap:6px;white-space:nowrap}.status-spacer{flex:1;border-right:0}.master-badge{background:#7c3aed;color:#fff;font-size:9px;font-weight:700;padding:2px 8px;border-radius:4px;letter-spacing:.5px}.status-dot{width:12px;height:12px;border-radius:50%;background:#009d50;flex:none}.toast{position:fixed;bottom:42px;right:20px;padding:10px 14px;background:#fff;border:1px solid #a8bfd4;box-shadow:0 4px 18px #1a2c4a33;display:flex;gap:12px;align-items:center;font-size:12px;z-index:999}.toast button{background:none;border:0}.btn-goto-pdv{margin-top:24px;padding:10px 20px;background:linear-gradient(#009b47,#008239);color:#fff;border:1px solid #007a34;border-radius:4px;font-size:14px;font-weight:700;cursor:pointer}@media(max-width:1500px){.kpi-icon{width:44px;height:48px}.kpi-body strong{font-size:13px}.overview{flex:0 0 74px}}@media(max-width:1300px){.app-toolbar,.toolbar{grid-template-columns:repeat(17,minmax(68px,1fr))}.order-row{grid-template-columns:50px 35px minmax(0,1fr) 70px 110px 55px}}@media(max-width:1050px){.overview{flex-direction:column;flex:none}.work-grid{grid-template-columns:1fr}.dashboard{overflow-y:auto}}.stock-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;background:#edf3f8;color:#10245a}.stock-page-header{flex:0 0 auto;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px}.stock-page-header h1{margin:0 0 4px;font-size:18px;font-weight:700}.stock-page-header p{margin:0;color:#657991;font-size:11px}.stock-header-actions{display:flex;gap:7px}.stock-button{height:32px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:3px;font-size:11px;font-weight:600;cursor:pointer;border:0}.stock-button.primary{background:#008d43;color:#fff;border:1px solid #007b39}.stock-button.secondary{background:#e5eff8;color:#153d70;border:1px solid #c2d4e5}.stock-summary{flex:0 0 76px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stock-summary-card{min-width:0;padding:10px 13px;display:flex;flex-direction:column;justify-content:center;gap:7px;border:1px solid #d1deea;border-radius:4px;background:#fff}.stock-summary-card span{font-size:11px;color:#4c607a}.stock-summary-card strong{font-size:21px;color:#10245a}.stock-grids{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;overflow:hidden}.stock-panel{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #cddce9;border-radius:4px;background:#f9fbfe}.stock-panel-header{flex:0 0 37px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:linear-gradient(90deg,#cce3f3,#e6f1f9)}.stock-panel-header h2{margin:0;font-size:14px}.stock-panel-header button{padding:5px 9px;border:1px solid #c6d8e7;border-radius:3px;background:#fff;color:#154b80;font-size:10px;cursor:pointer}.stock-filters{flex:0 0 44px;display:flex;align-items:center;gap:7px;padding:7px 9px;border-bottom:1px solid #d9e5ee}.stock-filters input,.stock-filters select{min-width:0;height:29px;padding:0 8px;border:1px solid #c9d9e8;border-radius:3px;background:#fff;color:#263d63;font-size:11px}.stock-filters input{flex:1}.stock-filters select{max-width:175px}.stock-table-scroll{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.stock-table{width:100%;min-width:620px;border-collapse:separate;border-spacing:0;font-size:11px}.stock-table thead{position:sticky;top:0;z-index:2}.stock-table th{height:33px;padding:0 8px;background:#e1ecf5;border-right:1px solid #d2dfeb;border-bottom:1px solid #c8d9e8;color:#142956;text-align:left;white-space:nowrap}.stock-table td{height:36px;padding:5px 8px;border-right:1px solid #e6edf3;border-bottom:1px solid #e1e9f0;background:#fff;white-space:nowrap}.stock-table tbody tr:hover td{background:#eef6fc}.stock-table td.numeric{text-align:right;font-variant-numeric:tabular-nums}.stock-table td.centered{text-align:center;font-variant-numeric:tabular-nums}.stock-table td.actions{text-align:center}.stock-table td.actions button{width:26px;height:25px;margin:0 2px;border:1px solid #cbdbe9;border-radius:3px;background:#f4f8fc;color:#14518b;cursor:pointer}.stock-table td.actions button:hover{background:#dcecf8}.stock-situation{padding:2px 7px;border-radius:3px;font-size:10px;font-weight:600}.stock-situation.ok{background:#e6f5ea;color:#0d8a3e}.stock-situation.low{background:#fce8e8;color:#cc1f1f}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#141e3273;display:flex;align-items:center;justify-content:center;z-index:9999}.modal-box{width:520px;max-width:95vw;max-height:90vh;display:flex;flex-direction:column;background:#fff;border:1px solid #b0c4d8;border-radius:4px;box-shadow:0 8px 32px #0000002e;overflow:hidden}.modal-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:linear-gradient(90deg,#cce3f3,#e6f1f9);border-bottom:1px solid #c8d9e8}.modal-header h3{margin:0;font-size:14px;color:#10245a}.modal-header button{border:0;background:transparent;cursor:pointer;color:#444}.modal-body{flex:1;overflow-y:auto;padding:14px}.modal-form{display:flex;flex-direction:column;gap:10px}.modal-row{display:flex;flex-direction:column;gap:4px}.modal-row label{font-size:11px;font-weight:600;color:#34486a}.modal-row input,.modal-row select{height:29px;padding:0 8px;border:1px solid #c9d9e8;border-radius:3px;font-size:11px;background:#fff}.modal-row-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal-row-2>div{display:flex;flex-direction:column;gap:4px}.modal-actions{display:flex;justify-content:flex-end;gap:7px;padding-top:4px}@media(max-width:1100px){.stock-grids{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-table{min-width:680px}.stock-summary-card strong{font-size:18px}}.products-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;background:#edf3f8;color:#10245a}.products-page-header{flex:0 0 auto;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px}.products-page-header h1{margin:0 0 4px;font-size:18px;font-weight:700}.products-page-header p{margin:0;font-size:11px;color:#657991}.products-primary-button{height:32px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #007b39;border-radius:3px;background:#008d43;color:#fff;font-size:11px;font-weight:600;cursor:pointer}.products-summary{flex:0 0 76px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.products-summary-card{min-width:0;padding:10px 13px;display:flex;flex-direction:column;justify-content:center;gap:7px;border:1px solid #d1deea;border-radius:4px;background:#fff}.products-summary-card span{font-size:11px;color:#4c607a}.products-summary-card strong{font-size:21px;color:#10245a}.products-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #cddce9;border-radius:4px;background:#f9fbfe}.products-panel-header{flex:0 0 37px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:linear-gradient(90deg,#cce3f3,#e6f1f9)}.products-panel-header h2{margin:0;font-size:14px}.products-panel-header button{height:26px;padding:0 9px;display:inline-flex;align-items:center;gap:5px;border:1px solid #c6d8e7;border-radius:3px;background:#fff;color:#154b80;font-size:10px;cursor:pointer}.products-filters{flex:0 0 48px;display:flex;align-items:center;gap:7px;padding:7px 9px;border-bottom:1px solid #d9e5ee}.products-filters input,.products-filters select{min-width:0;height:29px;padding:0 8px;border:1px solid #c9d9e8;border-radius:3px;background:#fff;color:#263d63;font-size:11px}.products-filters input{flex:1}.products-filters select{max-width:175px}.products-table-scroll{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.products-table{width:100%;min-width:1050px;border-collapse:separate;border-spacing:0;font-size:11px}.products-table thead{position:sticky;top:0;z-index:2}.products-table th{height:33px;padding:0 8px;background:#e1ecf5;border-right:1px solid #d2dfeb;border-bottom:1px solid #c8d9e8;text-align:left;white-space:nowrap}.products-table td{height:39px;padding:5px 8px;border-right:1px solid #e6edf3;border-bottom:1px solid #e1e9f0;background:#fff;white-space:nowrap}.products-table tbody tr:hover td{background:#eef6fc}.product-photo-placeholder{width:30px;height:30px;border:1px solid #d5e1eb;border-radius:3px;background:#e8eef4}.products-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.products-table .actions{text-align:center}.products-table .actions button{width:26px;height:25px;margin:0 2px;border:1px solid #cbdbe9;border-radius:3px;background:#f4f8fc;color:#14518b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.products-table .actions button:hover{background:#dcecf8}.products-situation{padding:2px 7px;border-radius:3px;font-size:10px;font-weight:600}.products-situation.active{background:#e6f5ea;color:#0d8a3e}.products-situation.inactive{background:#fce8e8;color:#cc1f1f}.products-pagination{flex:0 0 37px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-top:1px solid #d9e5ee;font-size:10px}@media(max-width:1100px){.products-table{min-width:900px}.products-summary-card strong{font-size:18px}}.login-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;background:radial-gradient(circle at 80% 20%,rgba(139,75,135,.35),transparent 45%),linear-gradient(135deg,#280d32,#4b164c 55%,#67235f);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.login-card{display:grid;grid-template-columns:1fr 1fr;width:min(810px,100%);min-height:500px;background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:26px;box-shadow:0 22px 60px #17051d59;overflow:hidden}.login-footer{margin-top:40px;color:#ffffffe6;font-size:11px;font-weight:300;text-align:center}.login-brand{position:relative;display:flex;flex-direction:column;justify-content:center;padding:56px 48px;background:#ffffffb8;border-right:1px solid rgba(23,23,23,.08)}.login-partner-brand{position:absolute;top:28px;left:36px;color:#171717;font-size:26px;font-weight:800;letter-spacing:0;text-transform:none}.login-partner-brand strong{font-weight:800}.login-partner-brand span{color:#858585;font-weight:400}.login-brand h1{font-size:28px;font-weight:700;line-height:1.15;color:#171717;margin:0}.login-brand p{max-width:240px;margin:14px 0 0;color:#858585;font-size:15px;line-height:1.5}.login-form-panel{display:flex;flex-direction:column;justify-content:center;padding:56px 48px;background:#ffffffb8}.login-heading{margin-bottom:28px}.login-heading h2{margin:0 0 8px;color:#171717;font-size:26px;line-height:1.2}.login-heading p{margin:0;color:#858585;font-size:14px}.login-field{margin-bottom:18px}.login-field label{display:block;font-size:12px;font-weight:600;color:#454545;margin-bottom:7px}.login-input-wrap{display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #d8dce2;border-radius:12px;min-height:46px;background:#ffffffb8;color:#858585;transition:border-color .14s ease,box-shadow .14s ease}.login-input-wrap:focus-within{border-color:#b8b8b8;box-shadow:0 0 0 3px #45454514}.login-input-wrap input{width:100%;min-width:0;padding:13px 0;border:0;outline:0;font-size:14px;background:transparent;color:#454545;box-sizing:border-box}.login-button{width:100%;padding:13px;background:#4b164c;color:#fff;border:0;min-height:46px;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .14s ease;margin-top:6px}.login-button:hover{background:#602061}.login-button:disabled{background:#9ca3af;cursor:not-allowed}.login-error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca;border-radius:8px;padding:8px 10px;font-size:11px;margin-bottom:12px}.login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 18px;color:#454545;font-size:12px}.login-remember{display:inline-flex;align-items:center;gap:7px;cursor:pointer}.login-remember input{width:14px;height:14px;accent-color:#454545}.login-forgot{padding:0;border:0;background:transparent;color:#454545;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.login-forgot:hover{color:#171717}.login-success{margin:-4px 0 12px;color:#454545;font-size:12px;line-height:1.4}@media(max-width:640px){.login-page{padding:16px}.login-card{grid-template-columns:1fr;min-height:0;border-radius:20px}.login-brand{position:relative;padding:32px 28px 24px;border-right:0;border-bottom:1px solid #e5dfe6}.login-options{align-items:flex-start}.login-partner-brand{top:20px;left:28px}.login-brand h1{font-size:23px}.login-brand p{margin-top:8px;font-size:14px}.login-form-panel{padding:30px 28px 32px}}.modules-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;padding:24px;max-width:960px;margin:0 auto;width:100%}.module-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px 12px;border:1px solid #e0e4ea;border-radius:8px;background:#fff;cursor:pointer;transition:all .15s ease;text-align:center;min-height:120px}.module-card:hover{border-color:#b0b8c4;box-shadow:0 2px 8px #00000014;transform:translateY(-2px)}.module-card.is-disabled{opacity:.5;cursor:not-allowed}.module-card.is-disabled:hover{transform:none;box-shadow:none;border-color:#e0e4ea}.module-card-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:#f4f6f9}.module-card-label{font-size:12px;font-weight:600;color:#101b4d;line-height:1.2}.module-card-badge{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#888}.sales-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,62fr) minmax(0,38fr);gap:10px;padding:10px 12px;overflow:hidden}.sales-left,.sales-right{min-width:0;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden}.sales-products{flex:0 0 clamp(135px,calc(30vh - 45px),200px);min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#f8fbfe;border:1px solid #cfdeea;border-radius:4px}.sales-products-header{flex:0 0 34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;background:linear-gradient(90deg,#cfe4f3,#e6f1f9)}.sales-products-header h2{margin:0;font-size:13px;color:#10245a}.sales-products-header .tabs{display:flex;gap:4px;flex-wrap:wrap}.sales-products-header .tabs button{border:1px solid #c5d6e8;background:#fff;border-radius:3px;padding:2px 7px;font-size:10px;color:#3a5577;cursor:pointer}.sales-products-header .tabs button.active{background:#d5e7f5;border-color:#8ab4d8;color:#0c205b}.sales-products .search-bar{flex:0 0 auto;padding:5px 8px;border-bottom:1px solid #e2ebf4;display:flex;align-items:center;gap:6px}.sales-products .search-bar input{flex:1;border:1px solid #c5d6e8;border-radius:3px;padding:3px 6px;font-size:11px;background:#fff}.sales-products-scroll{flex:1;min-height:0;min-width:0;display:flex;gap:6px;padding:7px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.sales-products-scroll>*{flex-shrink:0}.sales-products-scroll .product-card{width:100px;height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px;border:1px solid #c5d6e8;background:#fff;border-radius:4px;cursor:pointer;text-align:center}.sales-products-scroll .product-card:hover{border-color:#8ab4d8;background:#f0f7ff}.sales-products-scroll .product-card .product-emoji{font-size:28px;line-height:1}.sales-products-scroll .product-card b{font-size:10px;color:#1a3a5c;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.sales-products-scroll .product-card strong{font-size:11px;color:#008c43}.sales-pdv{flex:1 1 0;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#f8fbfe;border:1px solid #cfdeea;border-radius:4px}.sales-pdv-header{flex:0 0 34px;display:flex;align-items:center;padding:0 11px;background:#d3e6f4}.sales-pdv-header h2{margin:0;font-size:13px;color:#10245a}.sales-pdv .pdv-form{flex:0 0 auto;padding:8px 10px;border-bottom:1px solid #e2ebf4}.sales-cart-scroll{flex:1 1 0;min-height:0;overflow:auto;scrollbar-width:thin}.sales-cart-scroll .pdv-table-wrap{min-width:fit-content}.sales-pdv-actions{flex:0 0 44px;display:grid;grid-template-columns:1fr 1.2fr 1.5fr;gap:8px;padding:5px 10px}.sales-pdv-actions button{border-radius:3px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:600;cursor:pointer}.sales-pdv-actions .clear{background:#fff;color:#ff2020;border:1px solid #ff2020}.sales-pdv-actions .save{background:#dceaf5;color:#173e6e;border:1px solid #b9d0e3}.sales-pdv-actions .finish{background:#008d43;color:#fff;border:1px solid #007b39}.sales-stores{flex:0 0 72px;min-height:0;display:flex;align-items:center;gap:7px;padding:7px 10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;background:#e2eef7;border:1px solid #cfdeea;border-radius:4px}.sales-stores .unit-list{display:flex;gap:7px;flex:1;overflow-x:auto}.sales-stores .unit-card{flex:0 0 155px;height:54px;min-width:0;display:flex;align-items:center;gap:7px;padding:6px;background:#fff;border:1px solid #cbdce9;border-radius:4px;cursor:pointer}.sales-stores .unit-card.active{border:2px solid #1674ff;background:#f3f8ff}.sales-stores .unit-card .unit-emoji{font-size:20px;width:30px;text-align:center;flex-shrink:0}.sales-stores .unit-card b{display:block;font-size:12px;color:#1a3a5c;margin-bottom:2px}.sales-stores .unit-card small{color:#004aab;font-size:10px;white-space:nowrap}.sales-orders{flex:1 1 0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#f8fbfe;border:1px solid #cfdeea;border-radius:4px}.sales-orders .panel-header{flex:0 0 auto;min-height:33px;padding:0 10px;border-bottom:1px solid #e2ebf4;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eef5fb}.sales-orders .panel-header span{font-size:12px;font-weight:700;color:#1a3a5c}.sales-orders .order-filters{display:flex;gap:4px}.sales-orders .order-filters{display:flex;align-items:center;gap:4px;min-width:0}.sales-orders .order-filters button{min-height:22px;padding:0 7px;white-space:nowrap;font-size:10px;border:1px solid #c5d6e8;background:#fff;border-radius:3px;color:#3a5577;cursor:pointer}.sales-orders .order-filters button.active{background:#d5e7f5;border-color:#8ab4d8;color:#0c205b}.sales-orders-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sales-orders-scroll .order-row{display:grid;grid-template-columns:28px 24px minmax(95px,1fr) 60px minmax(72px,auto) minmax(140px,auto);align-items:center;column-gap:8px;min-height:58px;padding:7px 10px;border-bottom:1px solid #e0e8f0;background:#f8fbfe}.sales-orders-scroll .order-row:hover{background:#eef6fc}.sales-orders-scroll .order-row:last-child{border-bottom:none}.sales-orders-scroll .order-channel-logo{display:flex;align-items:center;min-width:0}.sales-orders-scroll .order-qty{text-align:center;font-weight:600;color:#555;min-width:0;margin-left:12px}.sales-orders-scroll .order-details{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}.sales-orders-scroll .order-details b{font-size:11px;color:#1a3a5c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-orders-scroll .order-details small{font-size:9px;color:#718198;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-orders-scroll .order-value{font-size:11px;text-align:right;font-weight:600;color:#1a3a5c;white-space:nowrap;font-variant-numeric:tabular-nums}.sales-orders-scroll .order-status-col{display:flex;justify-content:center;align-items:center;min-width:0}.sales-orders-scroll .order-action{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.sales-orders-scroll .order-action button{min-height:25px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;white-space:nowrap;border-radius:3px;font-size:10px;border:1px solid #c5d6e8;background:#fff;cursor:pointer}.sales-orders-scroll .order-action button.btn-accept{background:#008d43;color:#fff;border-color:#007b39;padding:0 12px;font-weight:700}.sales-orders-scroll .order-action button.btn-track{width:28px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.sales-orders-scroll .order-action button.btn-cancel{background:#fff;color:#ff2020;border:1px solid #ff2020;padding:0 12px;font-weight:700;border-radius:3px;font-size:10px;cursor:pointer}.sales-orders-scroll .order-action .btn-cancel:hover{background:#fff5f5}.sales-orders-scroll .order-action .btn-print{flex-shrink:0}.sales-orders-scroll .orders-empty{padding:20px;text-align:center;color:#aab;font-size:11px}.sales-orders-scroll .orders-empty p{margin:5px 0 2px}.sales-financial{flex:0 0 auto;min-width:0;padding:8px 10px;overflow:hidden;background:#f8fbfe;border:1px solid #cfdeea;border-radius:4px}.sales-financial .financial-monitor-content{display:flex;flex-direction:column;gap:5px}.sales-financial .financial-line{display:flex;align-items:center;justify-content:space-between;font-size:11px}.sales-financial .financial-line span{color:#555}.sales-financial .financial-line strong{font-size:12px;color:#1a3a5c}.sales-financial .discount-field{display:flex;align-items:center;gap:3px}.sales-financial .discount-field input{width:60px;border:1px solid #c5d6e8;border-radius:3px;padding:2px 5px;font-size:11px;text-align:right}.sales-financial .discount-unit{font-size:10px;color:#777}.sales-financial .financial-total{display:flex;align-items:center;justify-content:space-between;padding-top:5px;border-top:1px solid #e2ebf4}.sales-financial .financial-total strong{font-size:14px;color:#008c43}.sales-financial .financial-payments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:5px}.sales-financial .financial-payments button{height:30px;min-width:0;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:3px;font-size:10px;cursor:pointer}.sales-financial .financial-payments .cash{background:#008c42;color:#fff;border:1px solid #007a38}.sales-financial .financial-payments .pix{background:#0075ef;color:#fff;border:1px solid #0064cf}.sales-financial .financial-payments .card{background:#ff7900;color:#fff;border:1px solid #e66c00}.sales-financial .financial-payments .other{background:#fff;color:#10245a;border:1px solid #d1deea}@media(max-width:1500px){.sales-products-scroll .product-card{width:90px;height:100px}}@media(max-width:1300px){.sales-workspace{grid-template-columns:minmax(0,58fr) minmax(0,42fr)}}@media(max-width:1050px){.sales-workspace{grid-template-columns:1fr}.sales-products-scroll .product-card{width:80px;height:95px}}
