:root{--brand:#7849dc;--brand-soft:#eee7fb;--brand-on:#fff;color:#151515;font-synthesis:none;background:#111;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--brand);outline-offset:3px}button{background:0 0;border:0}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.4px;font-size:32px;font-weight:650}h2{font-size:15px}h3{font-size:13px}small{color:#71716c;font-size:11px}input,select{color:#222;background:0 0;border:1px solid #d1d1cb;border-radius:7px;outline:none;min-width:0;padding:11px 12px;font-size:13px}input:focus,select:focus{border-color:var(--brand);box-shadow:0 0 0 2px #7849dc20}.shell{background:#d9d9d7;border-radius:24px;min-height:calc(100vh - 8px);margin:4px;overflow:hidden}header{justify-content:space-between;align-items:center;gap:24px;min-height:82px;padding:16px 30px;display:flex}.brand{white-space:nowrap;align-items:center;gap:12px;display:flex}.brand b{letter-spacing:-1px;font-size:22px}.brand b span{font-weight:400}.mark{width:38px;height:38px;color:var(--brand);background:#111;border-radius:11px;place-items:center;font-size:32px;display:grid}nav{gap:6px;display:flex}nav button{color:#555;border-radius:24px;padding:11px 18px;font-size:12px}nav .active{color:#fff;background:#111}.account{color:#666;align-items:center;gap:12px;font-size:11px;display:flex}.avatar{background:var(--brand);color:#111;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:700;display:grid}aside{background:#111;border-radius:28px;gap:5px;padding:9px 5px;display:grid;position:absolute;top:182px;left:29px}aside button{color:#ccc;border-radius:22px;place-items:center;width:40px;height:42px;display:grid}aside button.active,aside button:hover{color:var(--brand);background:#292929}main{max-width:1650px;margin:14px 30px 0 91px}.heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px;display:flex}.eyebrow{color:#6b6b66;letter-spacing:1.8px;margin-bottom:12px;font-size:10px}.heading p{color:#646460;margin-top:10px;font-size:12px}.actions{align-items:center;gap:10px;display:flex}.actions input{background:#ececea}.primary,.secondary{border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:12px;font-weight:600;text-decoration:none;display:inline-flex}.primary{color:#fff;background:#111}.primary:hover{background:#292929}.secondary{color:#222;background:#e5e5df}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px;display:grid}.metric{background:#efefec;border-radius:13px;min-width:0;padding:20px 22px}.metric>div{color:#555;justify-content:space-between;align-items:center;font-size:12px;display:flex}.metric strong{letter-spacing:-1px;margin:18px 0 8px;font-size:28px;display:block}.metric small{font-size:10px}.highlight{background:var(--brand)}.dashboard-grid{grid-template-columns:1.25fr 1.25fr .85fr;gap:18px;display:grid}.panel{background:#f4f4f1;border-radius:14px;min-width:0;padding:23px}.panel-title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px;display:flex}.panel-title>div>small{margin-top:7px;display:block}.pill{white-space:nowrap;background:#e4e4e0;border-radius:20px;padding:6px 10px;font-size:10px}.warning{background:var(--brand-soft);color:#5830a4}.chart-total,.result-value{letter-spacing:-1.2px;margin:24px 0;font-size:32px}.chart-total small,.result-value small{letter-spacing:0;margin-top:7px;font-size:11px;display:block}.bars{text-align:center;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:20px;display:grid}.bars small{white-space:nowrap;font-size:9px}.bar-area{border-bottom:1px solid #ddd;justify-content:center;align-items:end;height:133px;display:flex}.bar{background:var(--brand);border-radius:5px 5px 0 0;width:55%}.bars span{color:#777;margin-top:10px;font-size:10px;display:block}.legend{color:#888;align-items:center;gap:6px;margin-top:24px;font-size:9px;display:flex}.legend i{background:var(--brand);border-radius:50%;width:6px;height:6px}.legend span{margin:0 2px}.flow{margin-top:21px}.flow>div:first-child{justify-content:space-between;gap:8px;margin-bottom:9px;font-size:11px;display:flex}.track{background:#e2e2de;border-radius:5px;height:16px;overflow:hidden}.track i{border-radius:5px;height:100%;display:block}.violet{background:var(--brand)}.black{background:#191919}.gray{background:#9c9c95}.divider{border-top:1px solid #deded8;justify-content:space-between;margin-top:25px;padding-top:18px;font-size:11px;display:flex}.focus{background:var(--brand);border-radius:14px;flex-direction:column;justify-content:space-between;min-height:380px;padding:24px;display:flex}.circle{width:37px;height:37px;color:var(--brand);background:#111;border-radius:50%;place-items:center;display:grid}.focus h2{letter-spacing:-1px;margin-bottom:12px;font-size:27px;line-height:1.15}.focus p{color:#f2ebff;font-size:12px;line-height:1.6}.focus .eyebrow{color:#f2ebff;font-size:9px}.focus button{border-top:1px solid #fff4;justify-content:space-between;width:100%;padding:16px 0 0;font-size:12px;display:flex}.bottom-grid{grid-template-columns:1.5fr 1fr;gap:18px;margin-top:18px;display:grid}.list-row{border-bottom:1px solid #deded8;align-items:center;gap:12px;padding:15px 0;font-size:12px;display:flex}.item-icon{background:#e4e4de;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.list-row>div{flex:1}.list-row small{margin-top:5px;font-size:10px;display:block}.stat-line{border-bottom:1px solid #deded8;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;font-size:12px;display:flex}.stat-line small{margin-top:6px;display:block}.text{align-items:center;gap:5px;padding:0;font-size:11px;display:inline-flex}.panel>.text{margin-top:20px}footer{color:#73736d;justify-content:space-between;padding:25px 0;font-size:10px;display:flex}footer span{font-size:9px}.search{border:1px solid #ddd;border-radius:8px;align-items:center;gap:8px;padding-left:12px;display:flex}.search input{border:0;max-width:190px}.table-wrap{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{color:#777;background:#eaeae5;padding:15px 12px;font-size:10px;font-weight:400}td{border-bottom:1px solid #deded8;padding:20px 12px}td small{max-width:230px;margin-top:6px;display:block}td:first-child{min-width:150px}.empty{text-align:center;color:#777;flex-direction:column;align-items:center;gap:15px;padding:60px 20px;display:flex}.empty h2{color:#333}.empty p{font-size:12px}.compact{padding:45px 10px}.error{color:#b42318;background:#fee4e2;border-radius:8px;margin-bottom:18px;padding:12px;font-size:12px}.notice{background:#e6eddf;border-radius:8px;align-items:center;gap:8px;margin-bottom:18px;padding:12px;font-size:12px;display:flex}.overlay{z-index:20;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0006;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dialog{background:#f4f4f1;border-radius:18px;width:650px;max-width:100%;max-height:92vh;padding:28px;overflow:auto;box-shadow:0 25px 80px #0004}.dialog h2{letter-spacing:-.6px;font-size:23px}.dialog .eyebrow{font-size:9px}.close{background:#e6e6e0;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:17px;display:grid}label{color:#555;flex-direction:column;gap:8px;font-size:11px;display:flex}label input,label select{background:#fafaf7;width:100%}.full{grid-column:1/-1}.hint{color:#777;margin-top:12px;font-size:11px;line-height:1.6}.dialog-actions{border-top:1px solid #ddd;justify-content:flex-end;gap:10px;margin-top:26px;padding-top:20px;display:flex}.order-items{margin-top:24px}.order-items h3{margin-bottom:14px}.order-line{align-items:center;gap:8px;margin-bottom:12px;display:flex}.order-line select{flex:1;width:50%}.order-line input{width:80px}.order-items .secondary{margin-top:8px}.totals{background:#e7e7e1;border-radius:9px;gap:12px;margin-top:22px;padding:18px;display:grid}.totals>span,.totals>strong{justify-content:space-between;font-size:12px;display:flex}.totals>strong{border-top:1px solid #d1d1cb;padding-top:14px;font-size:18px}@media (width>=1800px){main{margin-left:auto;margin-right:auto}}@media (width<=1100px){header{padding:16px 23px}.account span{display:none}nav button{padding:10px 12px}.dashboard-grid{grid-template-columns:1fr 1fr}.focus{grid-column:1/-1;grid-template-columns:45px 1fr 150px;align-items:center;gap:22px;min-height:180px;display:grid}.focus h2{font-size:22px}.focus button{border-top:0}.metric strong{font-size:23px}.metric{padding:18px 16px}}@media (width<=760px){.shell{border-radius:16px}header{flex-wrap:wrap;gap:15px;padding:20px}.account{margin-left:auto}nav{order:3;width:100%;padding-bottom:2px;overflow:auto}nav button{flex-shrink:0}aside{display:none}main{margin:12px 16px 0}.heading{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:23px}h1{font-size:29px}.actions{justify-content:space-between;width:100%}.actions input{max-width:165px}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric>div{font-size:11px}.metric strong{font-size:23px}.metric small{line-height:1.4;display:block}.dashboard-grid,.bottom-grid{grid-template-columns:1fr;gap:12px}.focus{align-items:stretch;gap:20px;min-height:260px;display:flex}.focus .circle{align-self:flex-start}.focus h2{font-size:26px}.focus button{border-top:1px solid #fff4}.panel{padding:20px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.dialog{padding:22px}.overlay{padding:12px}.panel-title{align-items:flex-start}.records .panel-title{flex-direction:column}.search{width:100%}.search input{width:100%;max-width:none}footer span{text-align:right;max-width:160px}.legend{flex-wrap:wrap}.order-line input{width:60px}.order-line select{padding-left:7px;font-size:11px}}.highlight,.avatar,.focus{color:var(--brand-on)}.focus button{color:inherit}.highlight small,.highlight>div{color:#fff}.mark,.circle,aside button.active,aside button:hover{color:#a881ff}.reports{gap:18px;display:grid}.filter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.filter-grid input,.filter-grid select{background:#fafaf7;width:100%}.report-actions{justify-content:space-between;align-items:center;margin-top:20px;display:flex}.report-filters .error{margin-top:15px}.report-caption{justify-content:space-between;align-items:center;gap:15px;padding:6px 0;display:flex}.report-caption b{font-size:14px}.report-caption small{margin-top:8px;font-size:11px;line-height:1.6;display:block}.reports .metrics{margin:0}.report-table{min-width:1200px}.report-table td,.report-table th{font-size:11px}.report-table td:first-child{min-width:105px}.report-table td:nth-child(2){min-width:170px}.report-table td:nth-child(n+4){white-space:nowrap;text-align:right}.report-table tfoot td{background:#eee7fb;padding:18px 12px;font-weight:600}.negative{color:#b42318}@media (width<=1150px){.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}header,header nav{flex-wrap:wrap}}@media (width<=760px){.filter-grid{grid-template-columns:1fr 1fr}.filter-grid label:last-child{grid-column:1/-1}.report-caption{flex-direction:column;align-items:flex-start}.report-caption .actions{justify-content:flex-start}.reports .metric strong{font-size:22px}header nav{flex-wrap:nowrap}}@media print{@page{size:A4 landscape;margin:10mm}:root,body,.shell{color:#111!important;background:#fff!important}.shell{border-radius:0;margin:0}header,aside,footer,.heading,.report-filters,.report-caption .actions,.notice,.overlay{display:none!important}main{max-width:none;margin:0}.reports{gap:10px}.reports:before{content:"Vexo Distribuição — Relatório de vendas";font-size:20px;font-weight:700}.panel{background:#fff;border:1px solid #ddd;padding:10px}.metric{background:#fff;border:1px solid #ddd;padding:10px;color:#111!important}.highlight>div,.highlight small{color:#111!important}.metric strong{margin:10px 0;font-size:20px}.table-wrap{overflow:visible}.report-table{width:100%;min-width:0}.report-table th,.report-table td{padding:7px 4px;font-size:8px}.report-table td:first-child,.report-table td:nth-child(2){min-width:0}.report-table td:nth-child(n+4){white-space:normal}thead{display:table-header-group}tr{break-inside:avoid}.hint{font-size:9px}}.auth-page{background:#e9e5f2;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{width:420px;max-width:100%;padding:32px}.auth-card h1{margin-top:32px;font-size:27px}.auth-card form{gap:18px;margin-top:24px;display:grid}.auth-card input{background:#fff}.auth-card>.error{margin-top:24px}.session-bar{color:#fff;background:#25213f;justify-content:flex-end;align-items:center;gap:16px;padding:8px 24px;font-size:11px;display:flex}.session-bar button{color:#fff;text-decoration:underline}@media print{.session-bar{display:none}}.photo-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.photo-section{margin-bottom:8px}.photo-section>.hint{margin-top:8px}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px;display:grid}.photo-tile,.photo-add{aspect-ratio:1;background:#e9e5f2;border-radius:10px;position:relative;overflow:hidden}.photo-preview{color:#7849dc;place-items:center;width:100%;height:100%;padding:0;display:grid}.photo-preview img{object-fit:cover;width:100%;height:100%}.photo-remove{background:#fff;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;top:5px;right:5px;box-shadow:0 2px 8px #0003}.photo-add{cursor:pointer;color:#5830a4;text-align:center;border:1px dashed #a881ff;justify-content:center;align-items:center;gap:8px;padding:10px;font-size:10px;display:flex}.photo-add input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.photo-add:focus-within{outline-offset:2px;outline:2px solid #7849dc}.photo-add.disabled{opacity:.5;pointer-events:none}.product-name{align-items:center;gap:12px;display:flex}.product-thumb{color:#7849dc;background:#eee7fb;border-radius:8px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid;overflow:hidden}.product-thumb img{object-fit:cover;width:100%;height:100%}.photo-lightbox{z-index:40;background:#000d;justify-content:center;align-items:center;padding:45px 20px;display:flex;position:fixed;inset:0}.photo-lightbox>img{object-fit:contain;max-width:95vw;max-height:85vh}.photo-lightbox>.close{background:#fff;position:absolute;top:20px;right:20px}@media (width<=500px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{.photo-lightbox{display:none}}:root{--amount-font-size:28px;--amount-font-weight:700}.metric strong,.reports .metric strong,.chart-total,.result-value{font-family:Arial,Helvetica,sans-serif;font-size:var(--amount-font-size);font-weight:var(--amount-font-weight);font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1.15}.money-input,td b,.totals b,.flow b,.stat-line b{font-variant-numeric:tabular-nums}@media (width<=1100px){:root{--amount-font-size:23px}}@media print{.metric strong,.reports .metric strong,.chart-total,.result-value{font-size:20px}}.brand-loader{--loader-size:54px;color:#6540bd;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;font-size:14px;font-weight:600;display:flex}.brand-loader__orbit{width:var(--loader-size);height:var(--loader-size);flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.brand-loader__orbit:before{content:"";border:2px solid #8957e524;border-top-color:#8957e5;border-radius:50%;animation:1.6s linear infinite vexo-orbit;position:absolute;inset:-8px}.brand-loader__orbit img{object-fit:contain;width:100%;height:100%;animation:1.6s ease-in-out infinite vexo-brand-pulse}.brand-loader--panel{min-height:250px;padding:32px}.brand-loader--screen{background:#f4f1fb;min-height:100dvh;padding:32px}.brand-loader--inline{--loader-size:18px;color:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle;flex-direction:row;gap:12px;display:inline-flex}.brand-loader--inline .brand-loader__orbit:before{border-width:1.5px;inset:-3px}.brand-loader--icon-only{gap:0}@keyframes vexo-orbit{to{transform:rotate(360deg)}}@keyframes vexo-brand-pulse{0%,to{opacity:.7;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.brand-loader__orbit:before,.brand-loader__orbit img{animation:none}}.photo-loading-image{justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.photo-loading-image>img{object-fit:cover;width:100%;height:100%}.photo-loading-image>img.is-loading{opacity:0}.photo-loading-image>.brand-loader{--loader-size:22px;position:absolute;inset:0}@media print{.brand-loader{display:none}}.photo-lightbox>.photo-loading-image{width:95vw;height:85vh}.photo-lightbox>.photo-loading-image>img{object-fit:contain}.photo-lightbox>.close{z-index:1}
