/* Caixa / Distribuidora v2 — interface isolada do restante da Área Interna. */
.staff-app[data-view="water"]{--wv-navy:#073b84;--wv-blue:#0878d1;--wv-cyan:#078fd2;--wv-bg:#f3f7fb;--wv-ink:#173550;--wv-muted:#6b8297;--wv-line:#dce8f1;--wv-green:#12875f;--wv-yellow:#f3c928;--wv-red:#b93d45;display:grid;grid-template-columns:244px minmax(0,1fr);height:100vh;min-height:680px;overflow:hidden;background:var(--wv-bg);color:var(--wv-ink);font-family:"Nunito",sans-serif}
.staff-app[data-view="water"] button,.staff-app[data-view="water"] input,.staff-app[data-view="water"] select,.staff-app[data-view="water"] textarea{font:inherit}
.staff-app[data-view="water"] [hidden]{display:none!important}
.staff-app[data-view="water"] button{cursor:pointer}.staff-app[data-view="water"] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wv-sidebar{display:flex;flex-direction:column;min-width:0;padding:25px 16px 18px;background:linear-gradient(180deg,#052f6f,#06467f);color:#fff;box-shadow:10px 0 35px rgba(4,44,92,.09)}
.wv-brand{display:grid;gap:8px;padding:0 10px 20px;color:#fff}.wv-brand img{width:190px;max-width:100%;filter:brightness(0) invert(1)}.wv-brand span{font-size:.65rem;font-weight:900;letter-spacing:.18em;opacity:.65}
.wv-back,.wv-logout{display:flex;align-items:center;gap:9px;width:100%;padding:11px 12px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.06);color:#fff;font-size:.78rem;font-weight:850;text-align:left}.wv-back:hover,.wv-logout:hover{background:rgba(255,255,255,.12)}.wv-back svg{width:17px}
.wv-sidebar nav{display:grid;gap:5px;margin:22px 0}.wv-sidebar nav button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 13px;border:0;border-radius:11px;background:transparent;color:rgba(255,255,255,.7);font-size:.82rem;font-weight:800;text-align:left;transition:.2s}.wv-sidebar nav button:hover,.wv-sidebar nav button.active{background:rgba(255,255,255,.13);color:#fff}.wv-sidebar nav button[data-water-tab="sale"]{margin:5px 0;background:linear-gradient(135deg,#0d84e6,#0aa9d0);color:#fff;box-shadow:0 9px 24px rgba(0,18,56,.17)}
.wv-user{display:flex;align-items:center;gap:10px;margin-top:auto;padding:12px 7px}.wv-user>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#15a8df,#14c2ba);font-weight:900}.wv-user div{display:grid;min-width:0}.wv-user b{overflow:hidden;font-size:.77rem;text-overflow:ellipsis;white-space:nowrap}.wv-user small{font-size:.65rem;color:rgba(255,255,255,.65)}.wv-logout{border:0;background:transparent;justify-content:center;color:rgba(255,255,255,.7)}
.wv-workspace{min-width:0;overflow-y:auto}.wv-topbar{position:sticky;z-index:15;top:0;display:flex;align-items:center;gap:12px;height:72px;padding:0 clamp(18px,2.5vw,38px);border-bottom:1px solid rgba(205,222,234,.8);background:rgba(255,255,255,.92);backdrop-filter:blur(14px)}.wv-topbar>div{display:grid}.wv-topbar small{color:var(--wv-blue);font-size:.62rem;font-weight:900;letter-spacing:.14em}.wv-topbar strong{font-size:.9rem}.wv-topbar time{margin-left:auto;color:var(--wv-muted);font-size:.78rem;font-weight:750;text-transform:capitalize}.wv-menu{display:none;width:40px;height:40px;border:0;border-radius:10px;background:#edf6fb;color:var(--wv-navy)}
.wv-content{position:relative;width:min(1480px,100%);margin:0 auto;padding:30px clamp(18px,3vw,42px) 70px}.wv-panel{animation:wv-in .18s ease}.wv-panel[hidden]{display:none!important}@keyframes wv-in{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}
.wv-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:21px}.wv-heading>div:first-child{min-width:0}.wv-heading span,.wv-dialog form>span,.wv-dialog-static>span{color:var(--wv-blue);font-size:.67rem;font-weight:950;letter-spacing:.15em}.wv-heading h1{margin:5px 0 5px;color:#0a3767;font:900 clamp(1.72rem,2.4vw,2.35rem)/1.05 "Nunito",sans-serif;letter-spacing:-.035em}.wv-heading p{margin:0;color:var(--wv-muted);font-size:.88rem}.wv-heading-actions,.wv-inline-actions,.wv-dialog-actions{display:flex;gap:9px;flex-wrap:wrap}
.wv-primary,.wv-secondary,.wv-soft,.wv-danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border-radius:11px;font-size:.78rem;font-weight:900;transition:.2s}.wv-primary{border:0;background:linear-gradient(135deg,var(--wv-blue),#08a9ce);color:#fff;box-shadow:0 8px 20px rgba(8,120,209,.18)}.wv-primary:hover{transform:translateY(-1px);box-shadow:0 11px 25px rgba(8,120,209,.25)}.wv-secondary,.wv-soft{border:1px solid #c6dce9;background:#fff;color:var(--wv-navy)}.wv-soft{background:#edf7fb}.wv-danger{border:0;background:#b53b45;color:#fff}.wv-primary:disabled,.wv-secondary:disabled,.wv-soft:disabled{cursor:wait;opacity:.6;transform:none}
.wv-alert{position:fixed;z-index:80;top:84px;right:24px;max-width:min(420px,calc(100% - 32px));padding:13px 16px;border:1px solid #b9d9e8;border-radius:12px;background:#fff;color:var(--wv-navy);box-shadow:0 16px 45px rgba(8,52,91,.16);font-size:.82rem;font-weight:800}.wv-alert.success{border-color:#a9dfc9;color:#0d6b4c}.wv-alert.warning{border-color:#ead58f;color:#7a5a00}.wv-alert.error{border-color:#efbec2;color:#9c2e38}
.wv-card{padding:21px;border:1px solid var(--wv-line);border-radius:17px;background:#fff;box-shadow:0 9px 30px rgba(19,63,101,.055)}.wv-card+.wv-card{margin-top:16px}.wv-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.wv-card-head h2{margin:0 0 3px;color:#133f68;font:900 1rem/1.2 "Nunito",sans-serif}.wv-card-head p{margin:0;color:var(--wv-muted);font-size:.73rem}.wv-link,.wv-text{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--wv-blue);font-size:.73rem;font-weight:900}.wv-link svg{width:15px;transition:transform .2s}.wv-link:hover svg{transform:translateX(3px)}
.wv-cash-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px;padding:13px 16px;border:1px solid #d6e5ed;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(19,63,101,.04)}.wv-cash-strip>div{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.wv-cash-strip p{margin:0;color:var(--wv-muted);font-size:.75rem}.wv-status{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:.68rem;font-weight:900}.wv-status i{width:7px;height:7px;border-radius:50%}.wv-status.open{background:#e5f8ef;color:#10714e}.wv-status.open i{background:#18a56f;box-shadow:0 0 0 4px rgba(24,165,111,.1)}.wv-status.closed{background:#eef2f5;color:#647687}.wv-status.closed i{background:#8c9dab}
.wv-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px}.wv-kpis article{display:flex;align-items:center;gap:13px;min-width:0;padding:17px;border:1px solid var(--wv-line);border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(19,63,101,.045)}.wv-kpis article>div{display:grid;min-width:0}.wv-kpis small{color:var(--wv-muted);font-size:.61rem;font-weight:900;letter-spacing:.08em}.wv-kpis strong{margin-top:3px;color:#123e68;font-size:1.4rem;line-height:1.1}.wv-kpis em{margin-top:3px;overflow:hidden;color:#8b9dac;font-size:.64rem;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.wv-kpi-icon{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border-radius:13px}.wv-kpi-icon.blue{background:#e5f1ff;color:#0b6fd2}.wv-kpi-icon.cyan{background:#e0f8fa;color:#078b9f}.wv-kpi-icon.gold{background:#fff6d8;color:#c38d00}.wv-kpis.compact{grid-template-columns:repeat(4,1fr)}.wv-kpis.compact article{min-height:86px}.wv-kpis.compact strong.small-value{font-size:1rem}
.wv-payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px}.wv-payment-grid article{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-radius:13px;background:linear-gradient(135deg,#0a447e,#0d74ae);color:#fff}.wv-payment-grid article:nth-child(2){background:linear-gradient(135deg,#087a8e,#0babb0)}.wv-payment-grid article:nth-child(3){background:linear-gradient(135deg,#295a84,#417ba3)}.wv-payment-grid small{font-size:.61rem;font-weight:900;letter-spacing:.08em;opacity:.74}.wv-payment-grid strong{font-size:1rem}
.wv-quick-stock{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.wv-quick-stock article{position:relative;display:grid;padding:13px;border:1px solid #e2edf3;border-radius:13px;background:#f8fbfd}.wv-quick-stock article.low{border-color:#ead9a8;background:#fffbeb}.wv-quick-stock small{color:var(--wv-blue);font-size:.59rem;font-weight:900;text-transform:uppercase}.wv-quick-stock b{margin:2px 0 8px;font-size:.7rem}.wv-quick-stock strong{font-size:1.4rem;color:#123e68}.wv-quick-stock span{color:var(--wv-muted);font-size:.61rem}.wv-quick-stock article.low span{color:#9a6b00;font-weight:800}
.wv-responsive-list{display:grid}.wv-list-row{display:grid;grid-template-columns:115px minmax(200px,1fr) 120px 105px auto;align-items:center;gap:13px;padding:12px 4px;border-top:1px solid #e8eff4}.wv-list-row:first-child{border-top:0}.wv-list-row time,.wv-list-row>span{color:var(--wv-muted);font-size:.7rem}.wv-list-row>div:not(.wv-row-actions){display:grid}.wv-list-row strong{font-size:.79rem}.wv-list-row small{margin-top:3px;color:var(--wv-muted);font-size:.66rem}.wv-list-row>b{color:#0f4c79;font-size:.8rem;text-align:right}
.wv-sale-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.72fr);gap:17px;align-items:start}.wv-sale-flow{display:grid;gap:15px}.wv-sale-step{margin:0!important}.wv-step-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.wv-step-title>b{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:10px;background:#e4f3fb;color:var(--wv-blue);font-size:.8rem}.wv-step-title h2{margin:0;font:900 1rem/1.2 "Nunito",sans-serif}.wv-step-title p{margin:2px 0 0;color:var(--wv-muted);font-size:.7rem}
.wv-customer-search,.wv-search{position:relative;display:flex;align-items:center}.wv-customer-search>span,.wv-search>span{position:absolute;left:12px;display:grid;color:#7c96a9}.wv-customer-search input,.wv-search input{width:100%;padding:11px 13px 11px 41px;border:1px solid #cddfe9;border-radius:11px;background:#fbfdfe;outline:0}.wv-customer-search input:focus,.wv-search input:focus{border-color:#62add9;box-shadow:0 0 0 4px rgba(8,120,209,.08)}.wv-search-results{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;overflow:auto;max-height:265px;padding:6px;border:1px solid #d5e4ed;border-radius:13px;background:#fff;box-shadow:0 18px 45px rgba(16,57,91,.15)}.wv-search-results button{display:flex;align-items:center;gap:9px;width:100%;padding:9px;border:0;border-radius:9px;background:transparent;text-align:left}.wv-search-results button:hover{background:#edf7fb}.wv-search-results button>span,.wv-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e4f3fb;color:var(--wv-blue);font-weight:900}.wv-search-results button>div{display:grid}.wv-search-results b{font-size:.76rem}.wv-search-results small{color:var(--wv-muted);font-size:.65rem}
.wv-selected-customer{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px;border:1px solid #bfe2d2;border-radius:11px;background:#f0fbf6}.wv-selected-customer>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#22a472;color:#fff;font-weight:900}.wv-selected-customer>div{display:grid}.wv-selected-customer strong{font-size:.77rem}.wv-selected-customer small{color:#5d7e6e;font-size:.64rem}.wv-selected-customer button{margin-left:auto;border:0;background:transparent;color:var(--wv-blue);font-size:.7rem;font-weight:900}.wv-inline-actions{margin-top:11px}
.wv-region-grid,.wv-more-regions>div{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.wv-region-grid button,.wv-more-regions button{display:grid;min-height:70px;padding:11px;border:1px solid #d6e5ed;border-radius:11px;background:#f9fcfd;color:var(--wv-ink);text-align:left}.wv-region-grid button:hover,.wv-region-grid button.active,.wv-more-regions button:hover,.wv-more-regions button.active{border-color:#53a8d5;background:#eaf7fc;box-shadow:inset 0 0 0 1px #53a8d5}.wv-region-grid b,.wv-more-regions b{font-size:.7rem}.wv-region-grid small,.wv-more-regions small{margin-top:4px;color:var(--wv-muted);font-size:.59rem;line-height:1.35}.wv-more-regions{margin-top:10px}.wv-more-regions summary{width:max-content;color:var(--wv-blue);font-size:.7rem;font-weight:900;cursor:pointer}.wv-more-regions>div{grid-template-columns:repeat(2,1fr);margin-top:9px}
.wv-product-grid{display:grid;gap:9px}
.wv-order-card{position:sticky;top:90px;padding:20px;border:1px solid #d6e5ed;border-radius:17px;background:#fff;box-shadow:0 13px 36px rgba(15,55,90,.08)}.wv-order-head{display:flex;justify-content:space-between}.wv-order-head span{color:var(--wv-blue);font-size:.62rem;font-weight:900;letter-spacing:.14em}.wv-order-head h2{margin:3px 0 0;font:900 1.08rem/1.2 "Nunito",sans-serif}.wv-order-head button{border:0;background:transparent;color:#8b9dab;font-size:.67rem;font-weight:850}.wv-cart{display:grid;gap:4px;max-height:255px;margin:15px -4px;overflow:auto}.wv-cart article{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:10px 4px;border-top:1px solid #e7eef3}.wv-cart article>div:first-child{display:grid}.wv-cart strong{font-size:.69rem}.wv-cart small{color:var(--wv-muted);font-size:.59rem}.wv-cart article>b{font-size:.69rem}.wv-stepper{display:flex;align-items:center;gap:5px;padding:3px;border:1px solid #d8e5ec;border-radius:9px}.wv-stepper button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:7px;background:#edf6fa;color:var(--wv-blue)}.wv-stepper svg{width:13px;height:13px}.wv-order-total{display:flex;align-items:flex-end;justify-content:space-between;padding:14px 0;border-top:1px solid #dfeaf0;border-bottom:1px solid #dfeaf0}.wv-order-total>div{display:grid;gap:2px}.wv-order-total span{font-size:.76rem;font-weight:850}.wv-order-total small{color:#71899a;font-size:.59rem;font-weight:750}.wv-order-total strong{color:#083f70;font-size:1.65rem;letter-spacing:-.04em}
.wv-payment{display:grid;gap:10px;margin-top:14px}.wv-payment h3{margin:0;font-size:.8rem}.wv-payment label,.wv-dialog label{display:grid;gap:5px;color:#42617a;font-size:.68rem;font-weight:850}.wv-payment input,.wv-payment textarea,.wv-dialog input,.wv-dialog select,.wv-dialog textarea{width:100%;padding:10px 11px;border:1px solid #cadde7;border-radius:9px;background:#fbfdfe;color:var(--wv-ink);outline:0}.wv-segment,.wv-payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:10px;background:#edf4f7}.wv-segment button,.wv-payment-methods button{padding:7px;border:0;border-radius:7px;background:transparent;color:#6f8496;font-size:.66rem;font-weight:900}.wv-segment button.active,.wv-payment-methods button.active{background:#fff;color:var(--wv-blue);box-shadow:0 3px 10px rgba(23,57,82,.08)}.wv-payment-methods{grid-template-columns:repeat(3,1fr)}.wv-mixed-payment{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.wv-mixed-payment>small{grid-column:1/-1;color:#7e91a1;font-size:.62rem;text-align:right}.wv-submit-sale{width:100%;margin-top:15px}.wv-mobile-checkout{display:none}
.wv-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.wv-search{flex:1;max-width:430px}.wv-filter-pills{display:flex;gap:5px;overflow:auto}.wv-filter-pills button{flex:none;padding:8px 11px;border:1px solid #d8e5ec;border-radius:999px;background:#fff;color:#647d91;font-size:.66rem;font-weight:850}.wv-filter-pills button.active{border-color:#80bee0;background:#eaf6fc;color:var(--wv-blue)}
.wv-customer-list{display:grid;gap:8px}.wv-customer-list>article{display:grid;grid-template-columns:auto minmax(200px,1.35fr) repeat(3,minmax(105px,.55fr)) auto;align-items:center;gap:15px;padding:13px 15px;border:1px solid #dde8ef;border-radius:13px;background:#fff;box-shadow:0 5px 17px rgba(20,63,95,.035)}.wv-customer-name{display:grid}.wv-customer-list small{display:block;color:var(--wv-muted);font-size:.59rem;font-weight:800}.wv-customer-list b{font-size:.76rem}.wv-customer-name>strong{font-size:.78rem}.wv-customer-name>small{margin-top:3px}.wv-row-actions{display:flex;justify-content:flex-end;gap:4px}.wv-row-actions button{display:flex;align-items:center;gap:4px;padding:6px 7px;border:1px solid #d6e5ed;border-radius:8px;background:#fff;color:var(--wv-blue);font-size:.61rem;font-weight:900}.wv-row-actions button:last-child{color:#a53842}.wv-row-actions svg{width:14px;height:14px}
.wv-table-card{padding:0;overflow:hidden}.wv-table{display:grid}.wv-table-head,.wv-table>article{display:grid;grid-template-columns:minmax(190px,1.5fr) minmax(100px,.7fr) 80px 110px minmax(180px,1fr);align-items:center;gap:12px;padding:11px 16px}.wv-table-head{background:#f0f6f9;color:#6c8294;font-size:.59rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.wv-table>article{border-top:1px solid #e4edf2;font-size:.72rem}.wv-table>article>div:first-child{display:grid}.wv-table>article small{color:var(--wv-muted);font-size:.61rem}.wv-stock-status{width:max-content;padding:5px 8px;border-radius:999px;background:#e5f7ef;color:#13704f;font-size:.59rem;font-weight:900}.wv-stock-status.low{background:#fff3cb;color:#8a6500}
.wv-report-filters{display:flex;align-items:flex-end;gap:9px;margin-bottom:15px;padding:13px;border:1px solid #dbe7ee;border-radius:13px;background:#fff}.wv-report-filters .wv-filter-pills{margin-right:auto}.wv-report-filters label{display:grid;gap:4px;color:var(--wv-muted);font-size:.6rem;font-weight:850}.wv-report-filters input{padding:8px;border:1px solid #d1e1e9;border-radius:8px}.wv-report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:15px}.wv-report-grid>.wv-card{margin:0;min-width:0}.wv-report-line{display:grid;grid-template-columns:minmax(0,1fr) 72px auto;align-items:center;gap:9px;padding:9px 0;border-top:1px solid #e8eff3}.wv-report-line:first-child{border-top:0}.wv-report-line>div{display:grid;min-width:0}.wv-report-line strong{overflow:hidden;font-size:.69rem;text-overflow:ellipsis;white-space:nowrap}.wv-report-line small{color:var(--wv-muted);font-size:.58rem}.wv-report-line>span{height:5px;overflow:hidden;border-radius:999px;background:#e6eff4}.wv-report-line i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--wv-blue),#0cbdc3)}.wv-report-line>b{font-size:.65rem}.wv-table-head.sales{grid-template-columns:100px minmax(190px,1.5fr) 105px 120px 120px 90px 120px}.wv-table[data-sales-table]>.wv-list-row{grid-template-columns:100px minmax(190px,1.5fr) 105px 120px 120px 90px 120px;padding:12px 16px}.wv-table[data-sales-table]>.wv-list-row>div:nth-child(2){grid-column:auto}.wv-table[data-sales-table]>.wv-list-row>span{grid-column:3}.wv-table[data-sales-table]>.wv-list-row>b{grid-column:6}.wv-table[data-sales-table]>.wv-list-row>.wv-row-actions{grid-column:7}.wv-table[data-sales-table]>.wv-list-row::after{content:attr(data-region)}
.wv-kpis.promo article:first-child{border-color:#ead997;background:#fffbeb}
.wv-price-table{display:grid;gap:12px;margin-top:18px}.wv-price-table>section{display:grid;grid-template-columns:minmax(190px,.65fr) minmax(0,1.35fr);gap:18px;padding:15px;border:1px solid #dde8ef;border-radius:13px;background:#f9fcfd}.wv-price-table h3{margin:0 0 4px;font-size:.84rem}.wv-price-table p{margin:0;color:var(--wv-muted);font-size:.65rem}.wv-price-table section>div:first-child>b{display:block;margin-top:7px;color:#8a6600;font-size:.63rem}.wv-price-table section>div:last-child{display:grid}.wv-price-table section label{display:grid;grid-template-columns:minmax(0,1fr) 90px 62px;align-items:center;gap:7px;padding:6px 0;border-top:1px solid #e4edf2}.wv-price-table section label:first-child{border-top:0}.wv-price-table label span{display:grid}.wv-price-table label b{font-size:.69rem}.wv-price-table label small{font-size:.57rem}.wv-price-table label strong{text-align:right;font-size:.72rem}.wv-price-table label input{padding:7px}.wv-price-table label button{padding:7px;border:0;border-radius:7px;background:#e3f3fa;color:var(--wv-blue);font-size:.6rem;font-weight:900}
.wv-dialog{width:min(520px,calc(100% - 28px));max-height:90vh;padding:0;border:0;border-radius:18px;background:transparent;box-shadow:0 26px 80px rgba(3,35,69,.28)}.wv-dialog.wide{width:min(940px,calc(100% - 28px))}.wv-dialog::backdrop{background:rgba(3,30,60,.38);backdrop-filter:blur(5px)}.wv-dialog form,.wv-dialog-static{position:relative;display:grid;gap:13px;overflow:auto;max-height:90vh;padding:26px;background:#fff}.wv-dialog h2{margin:0;color:#113f69;font:900 1.38rem/1.1 "Nunito",sans-serif}.wv-dialog p{margin:0;color:var(--wv-muted);font-size:.77rem;line-height:1.45}.wv-dialog-close{position:absolute;z-index:2;top:14px;right:14px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:9px;background:#eff6f9;color:#5e788d}.wv-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.wv-form-grid .full{grid-column:1/-1}.wv-close-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.wv-close-summary div{display:grid;padding:10px;border-radius:10px;background:#f0f6f9}.wv-close-summary span{color:var(--wv-muted);font-size:.59rem}.wv-close-summary b{font-size:.8rem}.wv-dialog-actions{justify-content:flex-end}
.wv-empty{padding:20px;color:#7a90a2;font-size:.72rem;text-align:center}.wv-mobile-nav{display:none}
@media(max-width:1180px){.staff-app[data-view="water"]{grid-template-columns:215px minmax(0,1fr)}.wv-sidebar{padding-inline:12px}.wv-sale-layout{grid-template-columns:minmax(0,1fr) 330px}.wv-product-grid{grid-template-columns:repeat(3,1fr)}.wv-quick-stock{grid-template-columns:repeat(3,1fr)}.wv-report-grid{grid-template-columns:1fr 1fr}.wv-report-grid>.wv-card:last-child{grid-column:1/-1}.wv-customer-list>article{grid-template-columns:auto minmax(170px,1.4fr) repeat(2,minmax(95px,.6fr)) auto}.wv-customer-list>article>div:nth-child(5){display:none}}
@media(max-width:900px){.staff-app[data-view="water"]{display:block;height:100vh;padding:0 0 67px}.wv-sidebar{position:fixed;z-index:60;inset:0 auto 0 0;width:250px;transform:translateX(-105%);transition:transform .22s}.wv-sidebar.open{transform:none}.wv-menu{display:grid;place-items:center}.wv-topbar{height:64px}.wv-content{padding-top:24px}.wv-sale-layout{grid-template-columns:1fr}.wv-order-card{position:static}.wv-mobile-checkout{position:fixed;z-index:45;right:10px;bottom:73px;left:10px;display:flex;align-items:center;justify-content:space-between;padding:9px 10px 9px 15px;border:1px solid #bfdae7;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 14px 40px rgba(5,51,90,.18);backdrop-filter:blur(12px)}.wv-mobile-checkout strong{color:#0b4776;font-size:1.05rem}.wv-mobile-checkout button{padding:10px 14px;border:0;border-radius:10px;background:linear-gradient(135deg,var(--wv-blue),#08a9ce);color:#fff;font-size:.7rem;font-weight:900}.wv-mobile-nav{position:fixed;z-index:50;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,1fr);height:62px;border-top:1px solid #d3e2ea;background:#fff}.wv-mobile-nav button{display:grid;place-items:center;align-content:center;gap:2px;border:0;background:transparent;color:#7b8f9e;font-size:.58rem;font-weight:800}.wv-mobile-nav button.active{color:var(--wv-blue)}.wv-mobile-nav button[data-water-tab="sale"]{position:relative;color:#fff}.wv-mobile-nav button[data-water-tab="sale"]::before{content:"";position:absolute;z-index:-1;inset:5px 8px;border-radius:11px;background:linear-gradient(135deg,var(--wv-blue),#0ea9c9)}.wv-mobile-nav svg{width:18px;height:18px}.wv-topbar time{display:none}}
@media(max-width:720px){.wv-content{padding-inline:13px}.wv-heading{align-items:flex-start;flex-direction:column}.wv-heading>.wv-primary,.wv-heading>.wv-secondary{width:100%}.wv-heading-actions{width:100%}.wv-heading-actions>*{flex:1}.wv-kpis,.wv-kpis.compact{grid-template-columns:1fr 1fr}.wv-kpis article{padding:13px}.wv-kpis.compact article{min-height:77px}.wv-payment-grid{gap:7px}.wv-payment-grid article{align-items:flex-start;flex-direction:column;gap:3px;padding:11px}.wv-quick-stock{grid-template-columns:1fr 1fr}.wv-product-grid{grid-template-columns:1fr 1fr}.wv-region-grid{grid-template-columns:1fr}.wv-more-regions>div{grid-template-columns:1fr}.wv-toolbar{align-items:stretch;flex-direction:column}.wv-search{max-width:none}.wv-filter-pills{padding-bottom:2px}.wv-customer-list>article{grid-template-columns:auto 1fr;gap:9px}.wv-customer-list>article>div:not(.wv-customer-name):not(.wv-row-actions){padding:8px;border-radius:9px;background:#f4f8fa}.wv-customer-list .wv-row-actions{grid-column:1/-1}.wv-report-grid{grid-template-columns:1fr}.wv-report-grid>.wv-card:last-child{grid-column:auto}.wv-report-filters{align-items:stretch;flex-wrap:wrap}.wv-report-filters .wv-filter-pills{width:100%;margin:0}.wv-report-filters label{flex:1}.wv-table-head{display:none}.wv-table>article,.wv-table[data-sales-table]>.wv-list-row{display:grid;grid-template-columns:1fr auto;padding:13px}.wv-table>article>*,.wv-table[data-sales-table]>.wv-list-row>*{grid-column:auto!important}.wv-table>article .wv-row-actions,.wv-table[data-sales-table]>.wv-list-row>.wv-row-actions{grid-column:1/-1!important}.wv-list-row{grid-template-columns:1fr auto}.wv-list-row time{grid-column:1/-1}.wv-list-row>div{grid-column:1}.wv-list-row>span,.wv-list-row>b{grid-column:2;text-align:right}.wv-price-table>section{grid-template-columns:1fr}.wv-form-grid{grid-template-columns:1fr}.wv-form-grid .full{grid-column:auto}}
@media(max-width:430px){.wv-content{padding-bottom:85px}.wv-topbar{padding-inline:13px}.wv-topbar strong{font-size:.8rem}.wv-heading h1{font-size:1.65rem}.wv-heading p{font-size:.78rem}.wv-kpis{grid-template-columns:1fr}.wv-kpis.compact{grid-template-columns:1fr 1fr}.wv-kpi-icon{width:40px;height:40px;flex-basis:40px}.wv-quick-stock{grid-template-columns:1fr 1fr}.wv-product-grid{gap:7px}.wv-order-card{padding:15px}.wv-cart article{grid-template-columns:minmax(0,1fr) auto auto}.wv-cart article>b{grid-column:1;text-align:left}.wv-mixed-payment{grid-template-columns:1fr}.wv-mixed-payment>small{grid-column:auto}.wv-close-summary{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.wv-panel,.wv-sidebar,.wv-primary,.wv-product-grid button{animation:none;transition:none}}
.wv-edit-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:9px 11px;border:1px solid #d9c66f;border-radius:10px;background:#fff9dc;color:#765900;font-size:.66rem;font-weight:900}.wv-edit-banner button{border:0;background:transparent;color:#9a6800;font-size:.64rem;font-weight:900;text-decoration:underline}.wv-report-sale-row{display:grid;grid-template-columns:100px minmax(190px,1.5fr) minmax(115px,.8fr) minmax(120px,.8fr) minmax(110px,.7fr) 90px 120px;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid #e4edf2}.wv-report-sale-row time,.wv-report-sale-row>span{color:var(--wv-muted);font-size:.67rem}.wv-report-sale-row>div:nth-child(2){display:grid;min-width:0}.wv-report-sale-row strong{font-size:.75rem}.wv-report-sale-row small{margin-top:3px;overflow:hidden;color:var(--wv-muted);font-size:.61rem;text-overflow:ellipsis;white-space:nowrap}.wv-report-sale-row>b{color:#0f4c79;font-size:.75rem;text-align:right}
@media(max-width:720px){.wv-report-sale-row{grid-template-columns:1fr auto;padding:13px}.wv-report-sale-row>*{grid-column:auto}.wv-report-sale-row time{grid-column:1/-1}.wv-report-sale-row>div:nth-child(2){grid-column:1}.wv-report-sale-row>.wv-row-actions{grid-column:1/-1}.wv-report-sale-row>b{text-align:right}.wv-report-sale-row>span{padding:3px 0}.wv-report-sale-row>span:nth-of-type(3),.wv-report-sale-row>span:nth-of-type(4){display:none}}
.wv-add-price{display:inline-flex;align-items:center;gap:5px;margin-top:10px;padding:7px 9px;border:1px solid #b9d9e8;border-radius:8px;background:#fff;color:var(--wv-blue);font-size:.61rem;font-weight:900}.wv-add-price svg{width:14px;height:14px}.wv-mini-table{display:grid}.wv-mini-table>article{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(210px,1.5fr) repeat(3,minmax(105px,.65fr));align-items:center;gap:12px;padding:11px 4px;border-top:1px solid #e4edf2}.wv-mini-table>article:first-child{border-top:0}.wv-mini-table article>div{display:grid}.wv-mini-table time,.wv-mini-table small{color:var(--wv-muted);font-size:.62rem}.wv-mini-table strong,.wv-mini-table b,.wv-mini-table>article>span{font-size:.7rem}.wv-mini-table .positive{color:#0a8058;font-weight:900}.wv-mini-table .negative,.wv-mini-table .negative{color:#b03643;font-weight:900}.wv-detail-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:5px 0 17px}.wv-detail-kpis article{display:grid;gap:4px;padding:13px;border:1px solid #dce8ef;border-radius:11px;background:#f7fbfd}.wv-detail-kpis small{color:var(--wv-muted);font-size:.57rem;font-weight:900}.wv-detail-kpis strong{overflow:hidden;color:#113f69;font-size:.73rem;text-overflow:ellipsis}
.wv-table[data-sales-table]{overflow-x:auto}.wv-table[data-sales-table]>.wv-table-head,.wv-table[data-sales-table]>.wv-report-sale-row{min-width:930px}
@media(max-width:720px){.wv-mini-table>article{grid-template-columns:1fr auto}.wv-mini-table>article>*{grid-column:auto}.wv-mini-table>article>div{grid-column:1}.wv-mini-table>article time{grid-column:1/-1}.wv-detail-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.wv-table[data-sales-table]>.wv-table-head,.wv-table[data-sales-table]>.wv-report-sale-row{min-width:0}}
.wv-report-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.wv-report-grid>.wv-card:last-child{grid-column:auto}
@media(max-width:1280px){.wv-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wv-report-grid>.wv-card:last-child{grid-column:auto}}
@media(max-width:720px){.wv-report-grid{grid-template-columns:1fr}}
@media(max-width:900px){.staff-app[data-view="water"]{height:auto;min-height:100dvh;overflow:visible}.wv-workspace{overflow:visible}}
.wv-history-filter{display:flex;align-items:flex-end;gap:9px;margin:3px 0 5px;padding:11px;border:1px solid #dce8ef;border-radius:11px;background:#f7fbfd}.wv-history-filter label{flex:1}.wv-history-filter input{background:#fff}.wv-check-field{display:flex!important;align-items:center;align-self:end;min-height:40px;grid-template-columns:auto 1fr!important;gap:8px!important;padding:9px 10px;border:1px solid #cadde7;border-radius:9px;background:#fbfdfe}.wv-check-field input{width:auto!important}.wv-region-title, .wv-region-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.wv-region-title span{padding:3px 7px;border-radius:999px;background:#fff0d0;color:#8a5b00;font-size:.56rem;font-weight:900}.wv-region-actions{margin-top:2px}.wv-price-table>section.inactive,.wv-price-table label.inactive{opacity:.62}.wv-dialog form>small{color:var(--wv-muted);font-size:.65rem}
@media(max-width:720px){.wv-history-filter{align-items:stretch;flex-direction:column}.wv-history-filter>*{width:100%}}
.wv-detail-actions{display:flex;justify-content:flex-end;gap:8px;margin:-5px 0 14px}.wv-detail-kpis.customer article:nth-child(3){grid-column:span 2}.wv-detail-kpis.customer article:nth-child(3) strong{white-space:normal}
@media(max-width:720px){.wv-detail-actions>*{flex:1}.wv-detail-kpis.customer article:nth-child(3){grid-column:1/-1}}

/* Registro de caixa anterior / migração histórica. */
.wv-historical-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid #e79533;border-radius:11px;background:linear-gradient(135deg,#e8922d,#f2a844);color:#fff;font-size:.78rem;font-weight:900;box-shadow:0 8px 20px rgba(214,126,27,.18);transition:.2s}.wv-historical-button:hover{transform:translateY(-1px);box-shadow:0 11px 25px rgba(214,126,27,.24)}.wv-historical-button svg{width:18px;height:18px}.wv-historical-mode{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:-5px 0 18px;padding:13px 15px;border:1px solid #efc27e;border-radius:14px;background:#fff8ec;color:#7e5319;box-shadow:0 7px 22px rgba(143,89,19,.05)}.wv-historical-mode>div{display:flex;align-items:center;gap:11px}.wv-historical-mode>div>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#ffe8c4;color:#cf7619}.wv-historical-mode strong{display:block;color:#874f12;font-size:.78rem}.wv-historical-mode p{margin:2px 0 0;color:#9a6b32;font-size:.69rem}.wv-historical-mode button{flex:0 0 auto;padding:8px 10px;border:1px solid #e5bb78;border-radius:9px;background:#fff;color:#995e18;font-size:.66rem;font-weight:900}.wv-historical-note{display:grid;gap:3px;margin:2px 0 4px;padding:10px 11px;border:1px solid #efd4a6;border-radius:10px;background:#fff8ec}.wv-historical-note b{color:#8b5718;font-size:.7rem}.wv-historical-note small{color:#9a7040!important;font-size:.64rem!important}.wv-dialog [data-historical-cash-form]>.wv-historical-button{width:100%;margin-top:4px}
@media(max-width:720px){.wv-historical-mode{align-items:flex-start;flex-direction:column}.wv-historical-mode button{width:100%}.wv-heading-actions .wv-historical-button{width:100%}}

.wv-historical-tag{display:inline-block;margin-left:6px;padding:2px 5px;border-radius:999px;background:#fff0d6;color:#a45e13;font-size:.52rem;font-style:normal;font-weight:900;vertical-align:middle}

/* v7 — fechamento explícito do caixa histórico. */
.wv-historical-mode [data-finish-historical]{border-color:#d98220;background:#fff4e3;color:#8f5311;box-shadow:0 5px 14px rgba(169,97,18,.08)}
.wv-historical-mode [data-finish-historical]:hover{background:#ffecd0;border-color:#cf7415;color:#78430d}

/* v8 · revisão antes do fechamento do caixa histórico */
.wv-historical-close-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px}.wv-historical-close-meta>div{display:grid;gap:3px;padding:11px 12px;border:1px solid #e2eaf0;border-radius:11px;background:#f8fbfd}.wv-historical-close-meta small{color:var(--wv-muted);font-size:.58rem;font-weight:900;letter-spacing:.08em}.wv-historical-close-meta strong{color:#16466f;font-size:.84rem}.wv-historical-close-list{overflow:auto;max-height:42vh;border:1px solid #dde8ee;border-radius:12px;background:#fff}.wv-historical-close-head,.wv-historical-close-list article{display:grid;grid-template-columns:minmax(190px,1.5fr) minmax(170px,1fr) 105px;gap:12px;align-items:center}.wv-historical-close-head{position:sticky;z-index:1;top:0;padding:9px 12px;border-bottom:1px solid #e2ebf0;background:#f5f9fb;color:#6c8293;font-size:.58rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.wv-historical-close-list article{padding:11px 12px;border-bottom:1px solid #edf2f5}.wv-historical-close-list article:last-child{border-bottom:0}.wv-historical-close-list article>div:first-child{min-width:0}.wv-historical-close-list article strong{display:block;overflow:hidden;color:#183f60;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.wv-historical-close-list article small{display:block;margin-top:2px;overflow:hidden;color:#8093a2;font-size:.6rem;text-overflow:ellipsis;white-space:nowrap}.wv-historical-close-list article>b{justify-self:end;color:#123d62;font-size:.74rem}.wv-historical-close-payment{display:flex;align-items:center;gap:5px;flex-wrap:wrap;color:#345b78;font-size:.66rem;font-weight:850}.wv-historical-close-payment small{display:inline!important;margin:0!important;color:#7990a1!important;font-size:.58rem!important;font-weight:700}.wv-historical-close-payment i{color:#a0afba;font-style:normal}.wv-historical-close-total{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #edc17f;border-radius:12px;background:#fff8ed}.wv-historical-close-total span{color:#8f6228;font-size:.69rem;font-weight:900}.wv-historical-close-total strong{color:#8a5112;font-size:1.12rem}.wv-historical-close-question{display:grid;gap:2px;padding-top:2px}.wv-historical-close-question strong{color:#123f68;font-size:.82rem}.wv-historical-close-question small{color:var(--wv-muted);font-size:.65rem}.wv-dialog[data-dialog="historical-close-summary"] .wv-dialog-actions{padding-top:2px}.wv-dialog[data-dialog="historical-close-summary"] .wv-historical-button{min-height:40px}
@media(max-width:650px){.wv-historical-close-head{display:none}.wv-historical-close-list article{grid-template-columns:1fr auto;gap:8px}.wv-historical-close-payment{grid-column:1/-1;grid-row:2}.wv-historical-close-list article>b{grid-column:2;grid-row:1}.wv-historical-close-meta{grid-template-columns:1fr 1fr}.wv-dialog[data-dialog="historical-close-summary"] .wv-dialog-actions{display:grid;grid-template-columns:1fr}.wv-dialog[data-dialog="historical-close-summary"] .wv-dialog-actions button{width:100%}}

/* v9 experimental — estoque inteligente, Dia da Água e vasilhames. */
.wv-water-day-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid #1697a7;border-radius:11px;background:linear-gradient(135deg,#0b8ea6,#16b0a9);color:#fff;font-size:.78rem;font-weight:900;box-shadow:0 8px 20px rgba(8,137,153,.17);transition:.2s}.wv-water-day-button:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(8,137,153,.23)}.wv-water-day-button svg{width:18px;height:18px}
.wv-inventory-explainer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-4px 0 14px;padding:10px 12px;border:1px solid #d9e8ef;border-radius:12px;background:#f8fbfd;color:#6b8297;font-size:.66rem}.wv-inventory-explainer>b{color:#16476e}.wv-inventory-explainer span{padding-left:10px;border-left:1px solid #d7e5ec}.wv-inventory-explainer strong{color:#245a7c}
.wv-stock-concept-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:16px}.wv-stock-concept-cards article{display:grid;gap:4px;padding:18px;border:1px solid var(--wv-line);border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(19,63,101,.045)}.wv-stock-concept-cards small{font-size:.6rem;font-weight:950;letter-spacing:.08em}.wv-stock-concept-cards strong{font-size:1.75rem;line-height:1;color:#143f65}.wv-stock-concept-cards span{color:var(--wv-muted);font-size:.66rem}.wv-stock-concept-cards .outflow{border-top:3px solid #e89a35}.wv-stock-concept-cards .outflow small{color:#b86b14}.wv-stock-concept-cards .estimate{border-top:3px solid #1c9fa7}.wv-stock-concept-cards .estimate small{color:#087e86}.wv-stock-concept-cards .physical{border-top:3px solid #3978af}.wv-stock-concept-cards .physical small{color:#2e6598}
.wv-container-card{margin-bottom:16px!important}.wv-container-grid{display:grid;gap:8px}.wv-container-grid article{display:grid;grid-template-columns:minmax(170px,1.35fr) repeat(5,minmax(105px,.75fr));align-items:center;gap:10px;padding:12px 13px;border:1px solid #e1ebf0;border-radius:12px;background:#fbfdfe}.wv-container-grid article>div{display:grid;gap:2px;min-width:0}.wv-container-grid small{color:var(--wv-muted);font-size:.55rem;font-weight:900;letter-spacing:.05em}.wv-container-grid strong{color:#17466d;font-size:.76rem}.wv-container-grid b{color:#173f61;font-size:.82rem}.wv-container-grid em{color:#8497a5;font-size:.56rem;font-style:normal}.wv-container-grid article>div:nth-child(2) b{color:#0b838c;font-size:1.02rem}.wv-container-grid article>div:nth-child(4) b{color:#b64b50}
.wv-stock-smart-head,.wv-stock-smart-row{grid-template-columns:minmax(190px,1.45fr) 70px 90px 80px minmax(155px,1fr) minmax(165px,1fr)!important}.wv-stock-smart-row>.wv-estimate-value{color:#0b7f88}.wv-stock-smart-row>span{display:grid;gap:5px}.wv-stock-smart-row>span small{line-height:1.2}.wv-stock-smart-row .wv-stock-status{font-style:normal}.wv-water-day-history>article{grid-template-columns:100px minmax(220px,1.4fr) repeat(3,minmax(90px,.65fr))}
.wv-inventory-form-table{display:grid;gap:6px;max-height:46vh;overflow:auto;margin:3px 0 8px;border:1px solid #dce8ee;border-radius:12px;background:#fff}.wv-inventory-form-head,.wv-inventory-form-row{display:grid;grid-template-columns:minmax(155px,1.4fr) repeat(4,minmax(100px,.8fr));align-items:center;gap:8px;padding:9px 11px}.wv-inventory-form-head{position:sticky;z-index:1;top:0;background:#f2f7fa;color:#6d8292;font-size:.55rem;font-weight:950;letter-spacing:.05em;text-transform:uppercase}.wv-inventory-form-row{border-top:1px solid #edf2f5}.wv-inventory-form-row>span{display:grid}.wv-inventory-form-row b{font-size:.68rem}.wv-inventory-form-row small{color:var(--wv-muted);font-size:.57rem}.wv-inventory-form-row input{min-width:0!important;padding:8px!important}.wv-inventory-form-head.count,.wv-inventory-form-row.count{grid-template-columns:minmax(180px,1.5fr) 120px minmax(130px,.8fr)}.wv-inventory-form-head.container,.wv-inventory-form-row.container{grid-template-columns:minmax(175px,1.35fr) 110px repeat(3,minmax(125px,.8fr))}.wv-inventory-form-row> b{color:#0b7f88;font-size:.78rem}.wv-stock-report-list{display:grid}
@media(max-width:1000px){.wv-container-grid article{grid-template-columns:repeat(3,1fr)}.wv-container-grid article>div:first-child{grid-column:1/-1}.wv-stock-smart-head,.wv-stock-smart-row{grid-template-columns:minmax(165px,1.2fr) 70px 90px 80px minmax(135px,.8fr) minmax(150px,1fr)!important}}
@media(max-width:720px){.wv-stock-concept-cards{grid-template-columns:1fr}.wv-inventory-explainer{align-items:flex-start;flex-direction:column}.wv-inventory-explainer span{padding-left:0;border-left:0}.wv-container-grid article{grid-template-columns:1fr 1fr}.wv-container-grid article>div:first-child{grid-column:1/-1}.wv-stock-smart-row{grid-template-columns:1fr auto!important}.wv-stock-smart-row>div:first-child{grid-column:1/-1!important}.wv-stock-smart-row>span{grid-column:1/-1!important}.wv-inventory-form-head{display:none}.wv-inventory-form-row,.wv-inventory-form-row.count,.wv-inventory-form-row.container{grid-template-columns:1fr 1fr;padding:12px}.wv-inventory-form-row>span{grid-column:1/-1}.wv-inventory-form-row input{width:100%}.wv-water-day-history>article{grid-template-columns:1fr auto}.wv-water-day-history>article>div{grid-column:1}.wv-water-day-history>article time{grid-column:1/-1}.wv-water-day-history>article>span{grid-column:auto}}
.wv-container-history{display:grid}.wv-container-history article{display:grid;grid-template-columns:105px minmax(210px,1fr) auto;align-items:center;gap:12px;padding:10px 3px;border-top:1px solid #e7eef2}.wv-container-history article:first-child{border-top:0}.wv-container-history time,.wv-container-history small{color:var(--wv-muted);font-size:.6rem}.wv-container-history article>div{display:grid}.wv-container-history strong{font-size:.69rem}.wv-container-history b{color:#17466d;font-size:.72rem;text-align:right}@media(max-width:720px){.wv-container-history article{grid-template-columns:1fr auto}.wv-container-history time{grid-column:1/-1}.wv-container-history article>div{grid-column:1}.wv-container-history b{grid-column:2}}

/* v11 — preços autorizados, exceções e auditoria de valores */
.wv-product-cash-price{display:block;margin-top:-2px;color:#8a6417!important;font-size:.57rem!important;font-weight:900}
.wv-cart article.price-override{margin:2px 0;padding-inline:7px;border:1px solid #f0c879;border-radius:10px;background:#fffaf0}.wv-cart article.price-override+article{border-top-color:transparent}.wv-cart .wv-price-alert{color:#9a5c10;font-weight:850}.wv-cart .wv-price-rule{color:#1d6a77;font-weight:850}
.wv-price-reference{display:grid;grid-template-columns:1fr 1fr;gap:9px}.wv-price-reference>div{display:grid;gap:3px;padding:10px 11px;border:1px solid #dce8ef;border-radius:10px;background:#f7fbfd}.wv-price-reference small{color:#778d9e;font-size:.56rem;font-weight:900;letter-spacing:.06em}.wv-price-reference strong{color:#154a72;font-size:.82rem}.wv-price-difference-preview{min-height:29px}.wv-price-difference-preview span{display:block;padding:8px 10px;border-radius:9px;font-size:.65rem;font-weight:900}.wv-price-difference-preview .ok{background:#edf8f3;color:#176a4b}.wv-price-difference-preview .warning{background:#fff4df;color:#935c10}
.wv-price-table .wv-price-row{display:grid;grid-template-columns:minmax(150px,1fr) 92px 92px auto auto;align-items:end;gap:7px;padding:7px 0;border-top:1px solid #e4edf2}.wv-price-table .wv-price-row:first-child{border-top:0}.wv-price-row.inactive{opacity:.62}.wv-price-name{display:grid;align-self:center}.wv-price-name b{font-size:.69rem}.wv-price-name small{font-size:.57rem}.wv-price-field{display:grid!important;grid-template-columns:1fr!important;gap:3px!important}.wv-price-field small{color:#71899b;font-size:.52rem;font-weight:900}.wv-price-field input{padding:7px!important}.wv-price-row>button{padding:8px 7px;border:0;border-radius:7px;background:#e3f3fa;color:var(--wv-blue);font-size:.6rem;font-weight:900}.wv-price-read{display:grid;grid-column:2/-1;justify-items:end}.wv-price-read strong{font-size:.72rem}.wv-price-read small{color:#8a6417;font-size:.57rem;font-weight:850}
.wv-report-filters select{padding:8px;border:1px solid #d1e1e9;border-radius:8px;background:#fff;color:var(--wv-ink)}
.wv-report-sale-row.has-price-override{background:#fffaf1}.wv-price-override-report{display:grid}.wv-price-override-report>article{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(115px,.55fr));gap:12px;align-items:center;padding:11px 0;border-top:1px solid #e6edf2}.wv-price-override-report>article:first-child{border-top:0}.wv-price-override-report article>div{display:grid;min-width:0}.wv-price-override-report article>div strong{font-size:.72rem}.wv-price-override-report article>div small{color:var(--wv-muted);font-size:.58rem}.wv-price-override-report article>div em{margin-top:2px;color:#8b6417;font-size:.58rem;font-style:normal;font-weight:850}.wv-price-override-report article>span{display:grid}.wv-price-override-report article>span small{color:var(--wv-muted);font-size:.52rem;font-weight:900;letter-spacing:.04em}.wv-price-override-report article>span b{font-size:.68rem}.wv-price-override-report .negative b{color:#a63e31}.wv-price-override-report .positive b{color:#9a6112}
@media(max-width:720px){.wv-price-table .wv-price-row{grid-template-columns:1fr 1fr}.wv-price-name{grid-column:1/-1}.wv-price-row>button{width:100%}.wv-price-reference{grid-template-columns:1fr 1fr}.wv-price-override-report>article{grid-template-columns:1fr 1fr}.wv-price-override-report article>div{grid-column:1/-1}}
@media(max-width:430px){.wv-price-reference{grid-template-columns:1fr}.wv-price-override-report>article{grid-template-columns:1fr}.wv-price-override-report article>div{grid-column:auto}}

/* v13 — taxas InfinitePay no cartão */
.wv-card-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.wv-card-type-grid button{padding:9px 10px;border:1px solid #cbdde7;border-radius:8px;background:#fff;color:#42617a;font-size:.7rem;font-weight:900;cursor:pointer}.wv-card-type-grid button.active{border-color:#0d74ae;background:#eaf6fb;color:#075b91;box-shadow:0 0 0 2px rgba(13,116,174,.08)}.wv-card-fee-inline{display:block;margin-top:3px;color:#7b8f9e;font-size:.59rem;line-height:1.25}
/* v14 — repasse de taxas do cartão */
.wv-card-repass{display:grid;grid-template-columns:auto 1fr;column-gap:8px;row-gap:2px;align-items:center;padding:9px 10px;border:1px solid #d7e5ec;border-radius:9px;background:#fff;color:#34566f;cursor:pointer}.wv-card-repass input{width:16px;height:16px;margin:0;accent-color:#0d74ae}.wv-card-repass span{font-size:.69rem;font-weight:900}.wv-card-repass small{grid-column:2;color:#71899a;font-size:.6rem;line-height:1.3}

/* v15 · ID Água */
.wv-water-id{display:inline-flex;align-items:center;margin-left:5px;padding:2px 6px;border:1px solid #b9dbea;border-radius:999px;background:#eef8fc;color:#0b6394;font-size:.55rem;font-style:normal;font-weight:900;line-height:1.25;vertical-align:middle;white-space:nowrap}
.wv-selected-customer .wv-water-id{border-color:#addac7;background:#e5f7ee;color:#167253}
.wv-customer-id-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 14px;padding:10px 12px;border:1px solid #cfe3ed;border-radius:10px;background:#f5fafc;color:#315b72;font-size:.68rem}
.wv-customer-id-note strong{color:#0b6394;font-size:.74rem}.wv-customer-id-note span{text-align:right;color:#6b8290}
.wv-report-id-filter input{width:92px}
.wv-report-customer-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-5px 0 15px;padding:10px 13px;border:1px solid #b9dbea;border-radius:11px;background:#f1f9fc;color:#315b72}
.wv-report-customer-context strong{color:#0b6394;font-size:.76rem}.wv-report-customer-context span{font-size:.64rem;text-align:right}
@media(max-width:720px){.wv-customer-id-note,.wv-report-customer-context{align-items:flex-start;flex-direction:column}.wv-customer-id-note span,.wv-report-customer-context span{text-align:left}.wv-report-id-filter{flex:1 1 100%!important}.wv-report-id-filter input{width:100%}}

/* v19 — operação compartilhada, pagamento por item e fechamento auditável */



.wv-item-payment{display:flex!important;align-items:center;gap:7px;margin-top:6px;color:#5e7688!important;font-size:.57rem!important;font-weight:900!important}
.wv-item-payment select{width:auto;min-width:96px;padding:5px 7px;border:1px solid #cfdee7;border-radius:7px;background:#fff;color:#174b70;font-size:.62rem;font-weight:900;outline:0}



.wv-record-author{margin-top:2px;color:#57758b!important;font-weight:850!important}
.wv-close-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:720px){.wv-close-summary{grid-template-columns:1fr 1fr!important}.wv-cart article{grid-template-columns:minmax(0,1fr) auto auto}.wv-item-payment{align-items:flex-start;flex-direction:column}.wv-item-payment select{width:100%}}

/* v20 — redesenho pontual da tela "Movimento de hoje" */
.staff-app[data-view="water"]{--module-sidebar:#06346b;--module-sidebar-deep:#052f63;--module-primary:#0877d8;--module-secondary:#08a9c7;--module-accent:#f2b43a;--module-accent-soft:#fff5df;--module-background:#f3f8fc;--module-card:#fff;--module-text:#0b2f63;--module-text-muted:#5f7591;--module-warning:#e8a62a;--module-border:rgba(117,164,199,.26);--wv-navy:var(--module-sidebar);--wv-blue:var(--module-primary);--wv-cyan:var(--module-secondary);--wv-bg:var(--module-background);--wv-ink:var(--module-text);--wv-muted:var(--module-text-muted);--wv-line:var(--module-border);grid-template-columns:254px minmax(0,1fr);background:radial-gradient(circle at 88% 1%,rgba(86,183,233,.11),transparent 28%),linear-gradient(180deg,#f5faff 0%,#f3f8fc 38%,#f7fafc 100%);font-size:16px}
.wv-sidebar{position:relative;isolation:isolate;overflow:hidden;padding:28px 17px 18px;background:linear-gradient(180deg,var(--module-sidebar-deep) 0%,#073c77 48%,#06366d 100%);box-shadow:12px 0 35px rgba(3,38,82,.10)}
.wv-sidebar::before,.wv-sidebar::after{content:"";position:absolute;z-index:-1;pointer-events:none}.wv-sidebar::before{right:-64px;bottom:52px;width:330px;height:170px;opacity:.18;background:radial-gradient(ellipse at 18% 96%,#0b5a9e 0 25%,transparent 26%),radial-gradient(ellipse at 48% 100%,#0d6fae 0 27%,transparent 28%),radial-gradient(ellipse at 77% 100%,#0b5a9e 0 22%,transparent 23%);transform:rotate(-3deg)}.wv-sidebar::after{left:-30px;bottom:115px;width:210px;height:90px;opacity:.12;border-radius:50% 60% 0 0;background:linear-gradient(20deg,#0ea0c9,#0d6cad);transform:skewX(-20deg)}
.wv-sidebar-top{display:grid;gap:12px;padding:0 12px 22px}.wv-brand{display:block;padding:0;color:#fff}.wv-brand img{display:block;width:194px;max-width:100%;height:auto;filter:brightness(0) invert(1);object-fit:contain}.wv-module-name{display:grid;gap:1px;color:#fff}.wv-module-name b{font-size:14px;line-height:1.2;letter-spacing:.13em;font-weight:900}.wv-module-name small{font-size:14px;color:rgba(255,255,255,.72);font-weight:700}
.wv-back{min-height:46px;padding:0 15px;border-color:rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.055);font-size:16px;font-weight:750}.wv-back svg{width:18px;height:18px}.wv-sidebar nav{gap:6px;margin:20px 0 16px}.wv-sidebar nav button{min-height:50px;gap:13px;padding:0 14px;border-radius:12px;color:rgba(255,255,255,.80);font-size:16px;font-weight:700}.wv-sidebar nav button svg{width:21px;height:21px}.wv-sidebar nav button:hover{background:rgba(255,255,255,.09);color:#fff}.wv-sidebar nav button.active{background:linear-gradient(135deg,#087ee0,#09b4d8);color:#fff;box-shadow:0 10px 24px rgba(0,22,66,.18)}.wv-sidebar nav button[data-water-tab="sale"]{margin:0;background:transparent;box-shadow:none;color:rgba(255,255,255,.80)}.wv-sidebar nav button[data-water-tab="sale"]:hover{background:rgba(255,255,255,.09);color:#fff}.wv-sidebar nav button[data-water-tab="sale"].active{background:linear-gradient(135deg,#087ee0,#09b4d8);color:#fff;box-shadow:0 10px 24px rgba(0,22,66,.18)}
.wv-sidebar-footer{margin-top:auto;padding-top:10px;border-top:1px solid rgba(255,255,255,.12)}.wv-user{margin:0;padding:13px 12px 12px;gap:11px}.wv-user>span{width:40px;height:40px;border-radius:11px;font-size:15px;background:linear-gradient(135deg,#08a4de,#11c8c2);box-shadow:0 7px 18px rgba(0,30,74,.16)}.wv-user b{font-size:15px;line-height:1.25}.wv-user small{margin-top:2px;font-size:14px;line-height:1.2;color:rgba(255,255,255,.66)}.wv-logout{justify-content:flex-start;min-height:44px;padding:0 13px;border:0;border-radius:10px;background:transparent;color:rgba(255,255,255,.72);font-size:15px}.wv-logout svg{width:18px;height:18px}.wv-logout:hover{background:rgba(255,255,255,.07);color:#fff}
.wv-mobilebar{display:none}.wv-workspace{position:relative;background:transparent}.wv-content{width:min(1530px,100%);padding:28px clamp(24px,2.6vw,42px) 64px}.wv-panel[data-water-panel="today"]{position:relative;isolation:isolate}.wv-panel[data-water-panel="today"]::before{content:"";position:absolute;z-index:-1;top:-28px;right:-42px;left:-42px;height:175px;pointer-events:none;background:radial-gradient(ellipse at 78% 0%,rgba(90,188,236,.18),transparent 45%),radial-gradient(ellipse at 55% 20%,rgba(55,153,221,.09),transparent 42%),linear-gradient(165deg,transparent 52%,rgba(116,201,235,.08) 53%,transparent 68%);border-radius:0 0 48% 48%}
.wv-today-heading{align-items:center;margin-bottom:20px;padding:0 0 2px}.wv-today-heading>div:first-child{position:relative}.wv-today-heading>div:first-child::after{content:"";position:absolute;left:0;bottom:-11px;width:58px;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--module-primary),var(--module-secondary));opacity:.7}.wv-today-heading span{font-size:14px;letter-spacing:.12em;color:#0871cb}.wv-today-heading h1{margin:5px 0 6px;font-size:clamp(34px,3vw,42px);line-height:1.02;letter-spacing:-.035em;color:#092d68}.wv-today-heading p{font-size:16px;line-height:1.45;color:#516b8d}.wv-heading-actions{align-items:center;gap:12px}.wv-today-heading .wv-primary,.wv-today-heading .wv-historical-button{min-height:48px;padding:0 19px;border-radius:12px;font-size:15px}.wv-today-heading .wv-primary{background:linear-gradient(135deg,#0879db,#08b3d7)}.wv-today-heading .wv-historical-button{border-color:#e9c47f;background:linear-gradient(135deg,#fff2d5,#f7d99d);color:#493b21;box-shadow:0 8px 20px rgba(169,119,37,.12)}.wv-today-heading .wv-historical-button:hover{box-shadow:0 11px 24px rgba(169,119,37,.17)}.wv-today-heading .wv-historical-button svg{color:#7d632f}
.wv-cash-strip{min-height:86px;margin-bottom:16px;padding:14px 18px;border:1px solid rgba(127,171,205,.30);border-radius:17px;background:rgba(255,255,255,.94);box-shadow:0 9px 24px rgba(24,72,113,.05)}.wv-cash-strip>.wv-cash-state{display:grid;grid-template-columns:56px auto minmax(220px,1fr);align-items:center;gap:15px;flex:1;min-width:0}.wv-cash-state-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#ddecff;color:#0b6fc9}.wv-cash-state-icon.open{background:#dff6ef;color:#087c61}.wv-cash-state-icon svg{width:28px;height:28px;stroke-width:1.9}.wv-cash-state-title{display:grid;min-width:150px}.wv-cash-state-title small{font-size:14px;color:#4f6a8c;font-weight:800}.wv-cash-state-title strong{font-size:23px;line-height:1.15;color:#0d326b}.wv-cash-strip p{padding-left:18px;border-left:1px solid #d6e4ee;font-size:15px;line-height:1.4;color:#58708f}.wv-cash-strip .wv-primary,.wv-cash-strip .wv-secondary{min-height:48px;padding:0 19px;font-size:15px}
.wv-kpis{gap:16px;margin-bottom:16px}.wv-panel[data-water-panel="today"]>.wv-kpis article{min-height:120px;padding:20px;border:1px solid rgba(126,170,203,.26);border-radius:17px;box-shadow:0 9px 28px rgba(21,64,104,.05)}.wv-panel[data-water-panel="today"] .wv-kpi-icon{width:54px;height:54px;flex-basis:54px;border-radius:14px}.wv-panel[data-water-panel="today"] .wv-kpi-icon svg{width:26px;height:26px}.wv-panel[data-water-panel="today"] .wv-kpis small{font-size:15px;line-height:1.25;letter-spacing:0;text-transform:none;color:#36567c}.wv-panel[data-water-panel="today"] .wv-kpis strong{margin-top:4px;font-size:29px;line-height:1.06;color:#0b2f67}.wv-panel[data-water-panel="today"] .wv-kpis em{margin-top:4px;font-size:14px;line-height:1.25;color:#6b809b}
.wv-payment-grid{gap:16px;margin-bottom:16px}.wv-panel[data-water-panel="today"] .wv-payment-grid article{justify-content:flex-start;min-height:74px;gap:14px;padding:14px 18px;border:1px solid #bee6dc;border-radius:15px;background:linear-gradient(135deg,#effcf7,#f9fffc);color:#0c5e52;box-shadow:0 7px 21px rgba(24,72,113,.035)}.wv-panel[data-water-panel="today"] .wv-payment-grid article.pix{border-color:#bedff1;background:linear-gradient(135deg,#f0f9ff,#f8fcff);color:#0b6099}.wv-panel[data-water-panel="today"] .wv-payment-grid article.card{border-color:#d6d0f3;background:linear-gradient(135deg,#f7f5ff,#fbfaff);color:#51419d}.wv-pay-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:12px;background:#d6f5e8;color:#087d62}.wv-payment-grid article.pix .wv-pay-icon{background:#dbeeff;color:#0873c5}.wv-payment-grid article.card .wv-pay-icon{background:#e9e4ff;color:#5943b4}.wv-pay-icon svg{width:23px;height:23px}.wv-payment-grid article>div{display:grid;gap:1px}.wv-panel[data-water-panel="today"] .wv-payment-grid small{font-size:14px;letter-spacing:0;text-transform:none;opacity:1;font-weight:850}.wv-panel[data-water-panel="today"] .wv-payment-grid strong{font-size:22px;line-height:1.2;color:inherit}
.wv-dashboard-card{padding:18px;border-radius:17px;border-color:rgba(126,170,203,.25);box-shadow:0 9px 28px rgba(21,64,104,.045)}.wv-dashboard-card+.wv-dashboard-card{margin-top:16px}.wv-dashboard-card .wv-card-head{margin-bottom:13px}.wv-dashboard-card .wv-card-head h2{font-size:20px;color:#153b6c}.wv-dashboard-card .wv-card-head p{font-size:14px;line-height:1.35;color:#637a97}.wv-dashboard-card .wv-link{font-size:14px}
.wv-panel[data-water-panel="today"] .wv-quick-stock{display:flex;gap:11px;overflow-x:auto;padding:1px 0 4px;scrollbar-width:thin;scroll-snap-type:x proximity}.wv-panel[data-water-panel="today"] .wv-quick-stock article{flex:1 0 168px;min-width:168px;min-height:123px;padding:14px 15px;border:1px solid #cfe4f1;border-radius:13px;background:linear-gradient(180deg,#f9fcff,#f3f9fd);scroll-snap-align:start}.wv-panel[data-water-panel="today"] .wv-quick-stock article.low{border-color:#ead8a8;background:linear-gradient(180deg,#fffaf0,#fff7e5)}.wv-panel[data-water-panel="today"] .wv-quick-stock small{font-size:13px;line-height:1.2;color:#0c70ba}.wv-panel[data-water-panel="today"] .wv-quick-stock b{margin:4px 0 6px;font-size:15px;line-height:1.28;color:#153a69}.wv-panel[data-water-panel="today"] .wv-quick-stock strong{font-size:26px;line-height:1.05;color:#0b2f67}.wv-panel[data-water-panel="today"] .wv-quick-stock span{margin-top:3px;font-size:14px;line-height:1.2;color:#637a97}.wv-panel[data-water-panel="today"] .wv-quick-stock article.low span{color:#a56312;font-weight:800}
.wv-recent-card{overflow:hidden}.wv-recent-head,.wv-panel[data-water-panel="today"] .wv-list-row{display:grid;grid-template-columns:145px minmax(165px,1.05fr) minmax(195px,1.25fr) 115px 100px 125px minmax(145px,auto);gap:12px;align-items:center;min-width:1050px}.wv-recent-head{padding:9px 12px;border:1px solid #d9e6ee;border-radius:10px 10px 0 0;background:#f5f9fc;color:#55708e;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.025em}.wv-recent-card .wv-responsive-list{overflow-x:auto}.wv-panel[data-water-panel="today"] .wv-list-row{padding:10px 12px;border-top:1px solid #e6eef4;background:#fff}.wv-panel[data-water-panel="today"] .wv-list-row:first-child{border-top:0}.wv-panel[data-water-panel="today"] .wv-list-row time{font-size:14px;line-height:1.3;color:#365d82}.wv-panel[data-water-panel="today"] .wv-list-row strong{font-size:14px;line-height:1.28;color:#15365f}.wv-panel[data-water-panel="today"] .wv-list-row small{font-size:13px;line-height:1.28;color:#6a7f98}.wv-list-customer,.wv-list-items{display:grid;min-width:0}.wv-list-customer strong,.wv-list-items strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wv-list-items small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wv-payment-badge{justify-self:start;display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;background:#e7f4fb;color:#0b699d!important;font-size:13px!important;font-weight:900;white-space:nowrap}.wv-panel[data-water-panel="today"] .wv-list-row>b{font-size:15px;color:#123965;text-align:left}.wv-list-responsible{font-size:14px!important;color:#435f7c!important;font-weight:800}.wv-panel[data-water-panel="today"] .wv-row-actions{justify-content:flex-start;gap:7px}.wv-panel[data-water-panel="today"] .wv-row-actions button{min-height:34px;padding:6px 10px;border-radius:8px;font-size:13px;white-space:nowrap}.wv-panel[data-water-panel="today"] .wv-water-id{font-size:12px}
.wv-dialog[data-dialog="cash-open"] form,.wv-dialog[data-dialog="historical-cash"] form{gap:16px;padding:28px}.wv-dialog[data-dialog="cash-open"] form>span,.wv-dialog[data-dialog="historical-cash"] form>span{font-size:14px}.wv-dialog[data-dialog="cash-open"] h2,.wv-dialog[data-dialog="historical-cash"] h2{font-size:24px}.wv-dialog[data-dialog="cash-open"] p,.wv-dialog[data-dialog="historical-cash"] p{font-size:15px}.wv-dialog[data-dialog="cash-open"] label,.wv-dialog[data-dialog="historical-cash"] label{font-size:14px}.wv-dialog[data-dialog="cash-open"] input,.wv-dialog[data-dialog="cash-open"] textarea,.wv-dialog[data-dialog="historical-cash"] input{min-height:46px;font-size:16px}.wv-dialog[data-dialog="cash-open"] .wv-primary,.wv-dialog[data-dialog="historical-cash"] .wv-historical-button{min-height:48px;font-size:15px}.wv-dialog[data-dialog="historical-cash"] .wv-historical-note{padding:13px;border-radius:11px}.wv-dialog[data-dialog="historical-cash"] .wv-historical-note b{font-size:14px}.wv-dialog[data-dialog="historical-cash"] .wv-historical-note small{font-size:14px!important;line-height:1.4}
@media(max-width:1180px){.staff-app[data-view="water"]{grid-template-columns:224px minmax(0,1fr)}.wv-brand img{width:175px}.wv-sidebar nav button{font-size:15px}.wv-recent-head,.wv-panel[data-water-panel="today"] .wv-list-row{min-width:980px}}
@media(max-width:900px){.staff-app[data-view="water"]{display:block;min-height:100dvh;height:auto;padding-bottom:67px}.wv-sidebar{width:min(286px,84vw);padding-top:22px}.wv-mobilebar{position:sticky;z-index:45;top:0;display:flex;align-items:center;gap:12px;min-height:62px;padding:9px 15px;border-bottom:1px solid #d9e6ef;background:rgba(255,255,255,.96);box-shadow:0 5px 18px rgba(18,61,100,.05);backdrop-filter:blur(12px)}.wv-mobilebar .wv-menu{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:11px;background:#eaf4fb;color:#0a4b84}.wv-mobilebar>div{display:grid}.wv-mobilebar b{font-size:14px;letter-spacing:.1em;color:#0b4b86}.wv-mobilebar small{font-size:14px;color:#6a7f98}.wv-content{padding:23px 15px 92px}.wv-today-heading{align-items:flex-start;flex-direction:column}.wv-today-heading h1{font-size:32px}.wv-today-heading p{font-size:15px}.wv-heading-actions{width:100%}.wv-today-heading .wv-heading-actions>*{flex:1 1 220px}.wv-cash-strip{align-items:stretch;flex-direction:column}.wv-cash-strip>.wv-cash-state{grid-template-columns:52px 1fr}.wv-cash-state-icon{width:52px;height:52px}.wv-cash-strip p{grid-column:1/-1;padding:10px 0 0;border-top:1px solid #e1eaf1;border-left:0}.wv-cash-strip>button{width:100%}.wv-panel[data-water-panel="today"]::before{top:-23px;right:-15px;left:-15px}}
@media(max-width:720px){.wv-today-heading .wv-heading-actions{display:grid;grid-template-columns:1fr}.wv-today-heading .wv-heading-actions>*{width:100%;min-height:48px}.wv-kpis{grid-template-columns:1fr 1fr;gap:10px}.wv-panel[data-water-panel="today"]>.wv-kpis article{min-height:112px;padding:16px}.wv-panel[data-water-panel="today"] .wv-kpis article:last-child{grid-column:1/-1}.wv-panel[data-water-panel="today"] .wv-kpis small{font-size:14px}.wv-panel[data-water-panel="today"] .wv-kpis strong{font-size:26px}.wv-panel[data-water-panel="today"] .wv-kpis em{font-size:14px;white-space:normal}.wv-payment-grid{display:flex;overflow-x:auto;gap:9px;padding-bottom:3px;scroll-snap-type:x proximity}.wv-panel[data-water-panel="today"] .wv-payment-grid article{flex:0 0 min(82vw,280px);min-height:72px;flex-direction:row;align-items:center;scroll-snap-align:start}.wv-dashboard-card{padding:16px}.wv-dashboard-card .wv-card-head{align-items:flex-start}.wv-dashboard-card .wv-card-head h2{font-size:19px}.wv-dashboard-card .wv-card-head p,.wv-dashboard-card .wv-link{font-size:14px}.wv-panel[data-water-panel="today"] .wv-quick-stock article{flex-basis:160px;min-width:160px}.wv-recent-head{display:none}.wv-recent-card .wv-responsive-list{overflow:visible}.wv-panel[data-water-panel="today"] .wv-list-row{min-width:0;grid-template-columns:1fr auto;gap:7px 12px;margin-top:10px;padding:14px;border:1px solid #dce7ef;border-radius:13px;background:#fff;box-shadow:0 5px 14px rgba(18,61,100,.035)}.wv-panel[data-water-panel="today"] .wv-list-row:first-child{margin-top:0;border-top:1px solid #dce7ef}.wv-panel[data-water-panel="today"] .wv-list-row time{grid-column:1/-1;font-size:14px;font-weight:800}.wv-list-customer{grid-column:1/-1!important}.wv-list-customer strong{font-size:15px!important;white-space:normal}.wv-list-items{grid-column:1!important}.wv-list-items strong{font-size:14px!important;white-space:normal}.wv-payment-badge{grid-column:1!important;justify-self:start}.wv-panel[data-water-panel="today"] .wv-list-row>b{grid-column:2;grid-row:4;font-size:18px;text-align:right}.wv-list-responsible{grid-column:1/-1!important;font-size:14px!important}.wv-list-responsible::before{content:"Registrado por ";font-weight:500;color:#708399}.wv-panel[data-water-panel="today"] .wv-row-actions{grid-column:1/-1!important;justify-content:flex-start;margin-top:4px}.wv-panel[data-water-panel="today"] .wv-row-actions button{min-height:40px;font-size:14px}.wv-readonly{grid-column:1/-1!important}}
@media(max-width:430px){.wv-content{padding-inline:12px}.wv-today-heading h1{font-size:29px}.wv-kpis{grid-template-columns:1fr}.wv-panel[data-water-panel="today"] .wv-kpis article:last-child{grid-column:auto}.wv-panel[data-water-panel="today"]>.wv-kpis article{min-height:100px}.wv-dashboard-card .wv-card-head{gap:8px}.wv-dashboard-card .wv-link{flex:0 0 auto}.wv-panel[data-water-panel="today"] .wv-quick-stock article{flex-basis:150px;min-width:150px}}


/* v20.1 — temática praia/ilha média na sidebar e no cabeçalho */
.wv-sidebar{background:
  radial-gradient(circle at 18% 12%,rgba(72,196,238,.18),transparent 19%),
  linear-gradient(180deg,#05306c 0%,#073c77 52%,#063469 100%);
}
.wv-sidebar::before{left:-34px;right:-18px;top:-26px;width:auto;height:128px;opacity:.28;
  background:
    radial-gradient(ellipse at 14% 52%,rgba(84,202,238,.55) 0 10%,transparent 11%),
    radial-gradient(ellipse at 36% 58%,rgba(84,202,238,.34) 0 12%,transparent 13%),
    radial-gradient(ellipse at 61% 46%,rgba(84,202,238,.23) 0 10%,transparent 11%),
    linear-gradient(180deg,rgba(255,255,255,.06),transparent 62%);
  transform:none;
}
.wv-sidebar::after{left:0;right:0;bottom:0;width:auto;height:240px;opacity:1;transform:none;
  background-image:
    linear-gradient(180deg,rgba(7,54,109,0) 0%,rgba(6,52,106,.05) 42%,rgba(6,52,106,.30) 100%),
    url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20420%20220%27%3E%0A%20%20%3Cdefs%3E%0A%20%20%20%20%3ClinearGradient%20id%3D%27g%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%270%25%27%20stop-color%3D%27%230a5a97%27%20stop-opacity%3D%270%27/%3E%0A%20%20%20%20%20%20%3Cstop%20offset%3D%27100%25%27%20stop-color%3D%27%23082f63%27%20stop-opacity%3D%270.95%27/%3E%0A%20%20%20%20%3C/linearGradient%3E%0A%20%20%3C/defs%3E%0A%20%20%3Cpath%20d%3D%27M0%20148%20C42%20130%2078%20136%20112%20153%20C142%20168%20180%20171%20214%20159%20C250%20146%20281%20131%20320%20137%20C357%20143%20388%20164%20420%20179%20L420%20220%20L0%20220%20Z%27%20fill%3D%27url%28%23g%29%27%20opacity%3D%270.95%27/%3E%0A%20%20%3Cpath%20d%3D%27M0%20171%20C56%20152%20111%20166%20155%20182%20C209%20202%20269%20197%20328%20177%20C357%20167%20389%20166%20420%20172%20L420%20220%20L0%20220%20Z%27%20fill%3D%27%2306366d%27%20opacity%3D%270.95%27/%3E%0A%20%20%3Cg%20fill%3D%27%23eaf8ff%27%20opacity%3D%270.18%27%3E%0A%20%20%20%20%3Cpath%20d%3D%27M300%20148%20C294%20121%20275%2099%20247%2091%20C273%20110%20286%20129%20292%20155%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M301%20148%20C290%20126%20301%20103%20322%2088%20C313%20112%20308%20128%20306%20153%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M301%20149%20C319%20127%20344%20122%20369%20129%20C341%20132%20323%20141%20307%20154%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M301%20149%20C325%20144%20342%20155%20355%20172%20C338%20161%20321%20156%20306%20155%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M299%20149%20C286%20142%20276%20151%20270%20166%20C280%20158%20290%20154%20302%20154%27/%3E%0A%20%20%20%20%3Crect%20x%3D%27297%27%20y%3D%27148%27%20width%3D%274%27%20height%3D%2740%27%20rx%3D%272%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M346%20160%20C342%20141%20329%20125%20309%20120%20C327%20133%20337%20147%20340%20166%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M347%20160%20C339%20145%20346%20129%20361%20119%20C355%20137%20352%20147%20351%20165%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M347%20161%20C361%20147%20379%20144%20397%20149%20C377%20151%20364%20157%20352%20166%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M346%20161%20C360%20156%20374%20164%20385%20176%20C372%20169%20361%20165%20351%20166%27/%3E%0A%20%20%20%20%3Crect%20x%3D%27344%27%20y%3D%27160%27%20width%3D%274%27%20height%3D%2729%27%20rx%3D%272%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M254%20176%20C251%20163%20242%20154%20229%20150%20C241%20159%20247%20167%20249%20180%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M254%20176%20C249%20166%20253%20156%20263%20149%20C259%20161%20257%20168%20257%20179%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M254%20176%20C263%20167%20275%20165%20287%20169%20C274%20170%20265%20174%20257%20180%27/%3E%0A%20%20%20%20%3Crect%20x%3D%27252%27%20y%3D%27176%27%20width%3D%273%27%20height%3D%2718%27%20rx%3D%271.5%27/%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-size:100% 100%,cover;
  background-position:center bottom,center bottom;
}
.wv-sidebar-top{position:relative;z-index:1}
.wv-sidebar-footer{position:relative;z-index:1;margin-top:auto;padding-top:10px;border-top:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(5,42,92,0),rgba(5,42,92,.16));border-radius:18px 18px 0 0}
.wv-topbar{position:sticky;overflow:hidden;background:
  linear-gradient(180deg,rgba(255,255,255,.90),rgba(255,255,255,.93)),
  radial-gradient(circle at 85% -10%,rgba(108,197,238,.24),transparent 30%),
  radial-gradient(circle at 20% -25%,rgba(145,213,248,.15),transparent 28%);
}
.wv-topbar::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,rgba(8,119,216,0),rgba(8,169,199,.33) 28%,rgba(8,119,216,.18) 65%,rgba(8,119,216,0));pointer-events:none}
.wv-panel[data-water-panel="today"]::before{top:-30px;right:-40px;left:-40px;height:198px;background:
  linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0)),
  url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20760%20180%27%3E%0A%20%20%3Cpath%20d%3D%27M0%20105%20C85%2088%20140%20121%20215%20112%20C304%20101%20341%2050%20432%2049%20C512%2048%20581%2094%20661%2096%20C704%2097%20731%2088%20760%2073%20L760%20180%20L0%20180%20Z%27%20fill%3D%27%23cfeefe%27%20opacity%3D%270.85%27/%3E%0A%20%20%3Cpath%20d%3D%27M0%20121%20C72%20109%20125%20127%20189%20138%20C257%20149%20312%20146%20385%20126%20C445%20110%20508%2099%20581%20109%20C639%20117%20696%20131%20760%20121%20L760%20180%20L0%20180%20Z%27%20fill%3D%27%23e6f7ff%27%20opacity%3D%270.95%27/%3E%0A%20%20%3Cg%20fill%3D%27%232e82d8%27%20opacity%3D%270.42%27%3E%0A%20%20%20%20%3Cpath%20d%3D%27M576%2074%20C573%2062%20565%2052%20553%2048%20C564%2056%20569%2064%20571%2076%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M576%2074%20C571%2064%20575%2054%20585%2047%20C581%2059%20579%2065%20579%2076%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M576%2074%20C586%2066%20598%2065%20609%2069%20C598%2070%20590%2073%20579%2077%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M576%2074%20C585%2072%20593%2078%20600%2086%20C591%2081%20585%2079%20579%2078%27/%3E%0A%20%20%20%20%3Crect%20x%3D%27575%27%20y%3D%2774%27%20width%3D%272.7%27%20height%3D%2715%27%20rx%3D%271.35%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M628%2082%20C624%2069%20616%2059%20603%2055%20C615%2063%20621%2071%20624%2084%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M629%2082%20C623%2071%20628%2060%20639%2053%20C635%2065%20633%2072%20632%2084%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M629%2082%20C639%2073%20651%2072%20663%2076%20C650%2077%20642%2080%20632%2085%27/%3E%0A%20%20%20%20%3Cpath%20d%3D%27M629%2082%20C637%2080%20646%2086%20652%2095%20C644%2089%20637%2087%20632%2086%27/%3E%0A%20%20%20%20%3Crect%20x%3D%27628%27%20y%3D%2782%27%20width%3D%272.9%27%20height%3D%2714%27%20rx%3D%271.45%27/%3E%0A%20%20%3C/g%3E%0A%3C/svg%3E"),
  radial-gradient(ellipse at 77% 0%,rgba(95,188,233,.18),transparent 38%),
  radial-gradient(ellipse at 42% 18%,rgba(59,165,220,.11),transparent 34%),
  linear-gradient(165deg,transparent 52%,rgba(116,201,235,.10) 53%,transparent 68%);
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat,no-repeat;
  background-size:auto,100% 100%,auto,auto,auto;
  background-position:center top,right top,center top,center top,center top;
  border-radius:0 0 48% 48%;opacity:1}
.wv-panel[data-water-panel="today"]::after{content:"";position:absolute;z-index:-1;top:-4px;left:6%;width:320px;height:74px;pointer-events:none;opacity:.26;background:
  radial-gradient(ellipse at 18% 65%,rgba(255,255,255,.96) 0 12%,transparent 13%),
  radial-gradient(ellipse at 43% 72%,rgba(255,255,255,.78) 0 13%,transparent 14%),
  radial-gradient(ellipse at 70% 62%,rgba(255,255,255,.58) 0 12%,transparent 13%),
  radial-gradient(ellipse at 90% 73%,rgba(255,255,255,.42) 0 10%,transparent 11%);
}
.wv-today-heading{position:relative;padding-top:8px}
.wv-today-heading>div:first-child::before{content:"";position:absolute;right:-108px;top:-26px;width:172px;height:56px;pointer-events:none;opacity:.18;background:
  radial-gradient(ellipse at 15% 62%,rgba(8,119,216,.65) 0 12%,transparent 13%),
  radial-gradient(ellipse at 42% 69%,rgba(8,169,199,.45) 0 13%,transparent 14%),
  radial-gradient(ellipse at 70% 62%,rgba(8,119,216,.34) 0 12%,transparent 13%);
}
.wv-today-heading .wv-historical-button{background:linear-gradient(135deg,#fff3d9,#f3d29a);border-color:#e5c07c;box-shadow:0 10px 24px rgba(167,118,34,.14)}
@media(max-width:900px){
  .wv-sidebar::after{height:220px;background-size:100% 100%,cover;background-position:center bottom,62% bottom}
  .wv-topbar{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.97)),radial-gradient(circle at 86% -8%,rgba(108,197,238,.18),transparent 28%)}
  .wv-panel[data-water-panel="today"]::before{left:-15px;right:-15px;height:182px;background-size:auto,cover,auto,auto,auto;background-position:center top,60% top,center top,center top,center top}
  .wv-panel[data-water-panel="today"]::after{left:auto;right:10px;top:-8px;width:180px;height:44px}
  .wv-today-heading>div:first-child::before{display:none}
}
@media(max-width:720px){
  .wv-sidebar::before{height:110px;opacity:.22}
  .wv-sidebar::after{height:195px}
  .wv-panel[data-water-panel="today"]::before{height:164px;border-radius:0 0 34% 34%}
}


/* v20.2 — ícone do caixa e cores dos recebimentos em Últimos registros */
.wv-cash-state-icon svg{width:30px;height:30px;stroke-width:1.75}
.wv-cash-state-icon.closed{background:linear-gradient(135deg,#e4f0ff,#eef7ff);color:#0b6fc9}
.wv-cash-state-icon.open{background:linear-gradient(135deg,#d8f5ea,#ebfcf6);color:#087d62}
.wv-payment-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.wv-payment-badge{border:1px solid transparent;box-shadow:none}
.wv-payment-badge.cash{background:#dff7ee;color:#08765d!important;border-color:#bfe9dc}
.wv-payment-badge.pix{background:#e0f2ff;color:#0872bd!important;border-color:#bddff3}
.wv-payment-badge.card{background:#ece8ff;color:#5744ad!important;border-color:#d8d0f7}
.wv-payment-badge.neutral{background:#eef3f7;color:#60758b!important;border-color:#dce6ee}
@media(max-width:720px){.wv-payment-badges{grid-column:1!important;justify-self:start}.wv-payment-badge{min-height:29px;padding:5px 10px;font-size:13px!important}}


/* v20.3 — fundos abstratos com máxima fidelidade às referências */
.wv-sidebar{background:linear-gradient(180deg,#06387d 0%,#07346f 42%,#042b5d 100%)}
.wv-sidebar::before{content:"";position:absolute;z-index:-1;inset:0;background:
  radial-gradient(circle at 84% 6%,rgba(255,255,255,.05),transparent 20%),
  linear-gradient(135deg,rgba(255,255,255,.03) 0%,transparent 34%,rgba(255,255,255,.04) 100%);
  opacity:1;pointer-events:none;transform:none}
.wv-sidebar::after{content:"";position:absolute;z-index:-1;inset:0;background-image:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20360%20540%22%3E%0A%3Cdefs%3E%0A%20%20%3ClinearGradient%20id%3D%22bg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%0A%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%2306357a%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%2260%25%22%20stop-color%3D%22%2307326c%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23042a5f%22/%3E%0A%20%20%3C/linearGradient%3E%0A%20%20%3ClinearGradient%20id%3D%22wave1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%230a5fc5%22%20stop-opacity%3D%220.95%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%230d4ca5%22%20stop-opacity%3D%220.95%22/%3E%0A%20%20%3C/linearGradient%3E%0A%20%20%3ClinearGradient%20id%3D%22wave2%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%230f5ec0%22%20stop-opacity%3D%220.75%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%230b4da3%22%20stop-opacity%3D%220.72%22/%3E%0A%20%20%3C/linearGradient%3E%0A%20%20%3ClinearGradient%20id%3D%22wave3%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%230c4ea4%22%20stop-opacity%3D%220.68%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23093e8a%22%20stop-opacity%3D%220.66%22/%3E%0A%20%20%3C/linearGradient%3E%0A%3C/defs%3E%0A%3Crect%20width%3D%22360%22%20height%3D%22540%22%20fill%3D%22url%28%23bg%29%22/%3E%0A%3Cpath%20d%3D%22M205%200%20C256%2056%20305%20127%20352%20211%20L360%200%20Z%22%20fill%3D%22%230b3c81%22%20opacity%3D%220.5%22/%3E%0A%3Cpath%20d%3D%22M68%20204%20C48%20190%2030%20189%2013%20196%20C28%20207%2039%20217%2044%20232%20C24%20224%209%20224%200%20231%20C13%20241%2022%20251%2028%20265%20C54%20238%2079%20225%20108%20226%20C100%20214%2087%20207%2068%20204Z%22%20fill%3D%22%23052e63%22%20opacity%3D%220.9%22/%3E%0A%3Cg%20fill%3D%22%23052d61%22%20opacity%3D%220.92%22%20transform%3D%22translate%2818%2C125%29%22%3E%0A%20%20%3Crect%20x%3D%2234%22%20y%3D%22114%22%20width%3D%2210%22%20height%3D%2294%22%20rx%3D%225%22/%3E%0A%20%20%3Cpath%20d%3D%22M39%20120%20C34%2086%2018%2058%20-8%2041%20C14%2043%2031%2058%2040%2080%20C35%2060%2040%2037%2056%2016%20C58%2043%2053%2067%2046%2087%20C57%2064%2078%2047%20107%2039%20C92%2060%2073%2077%2052%2092%20C74%2088%2096%2098%20116%20118%20C89%20114%2067%20109%2048%20101%20C59%20116%2064%20132%2062%20152%20C52%20133%2047%20124%2039%20120Z%22/%3E%0A%20%20%3Cpath%20d%3D%22M18%20145%20C32%20135%2045%20133%2059%20139%20C41%20141%2029%20147%2018%20157Z%22%20opacity%3D%220.95%22/%3E%0A%20%20%3Cpath%20d%3D%22M84%20145%20C69%20137%2057%20136%2045%20140%20C59%20143%2071%20149%2084%20159Z%22%20opacity%3D%220.95%22/%3E%0A%3C/g%3E%0A%3Cpath%20d%3D%22M-8%20410%20C34%20378%2083%20378%20124%20392%20C170%20408%20213%20435%20261%20430%20C302%20426%20333%20406%20360%20394%20L360%20540%20L0%20540%20Z%22%20fill%3D%22url%28%23wave3%29%22/%3E%0A%3Cpath%20d%3D%22M-8%20438%20C28%20421%2063%20416%2099%20423%20C141%20431%20174%20454%20219%20457%20C267%20460%20318%20444%20360%20424%20L360%20540%20L0%20540%20Z%22%20fill%3D%22url%28%23wave2%29%22/%3E%0A%3Cpath%20d%3D%22M-8%20462%20C35%20446%2069%20447%20104%20458%20C141%20470%20175%20486%20216%20487%20C261%20488%20309%20474%20360%20450%20L360%20540%20L0%20540%20Z%22%20fill%3D%22url%28%23wave1%29%22/%3E%0A%3Cpath%20d%3D%22M-8%20490%20C42%20472%2095%20473%20136%20486%20C179%20499%20223%20510%20278%20503%20C310%20499%20336%20491%20360%20479%20L360%20540%20L0%20540%20Z%22%20fill%3D%22%232f79d7%22%20opacity%3D%220.48%22/%3E%0A%3Cpath%20d%3D%22M145%20447%20C180%20432%20216%20438%20248%20449%20C277%20459%20305%20462%20336%20457%22%20fill%3D%22none%22%20stroke%3D%22%233e88df%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.42%22/%3E%0A%3Cpath%20d%3D%22M72%20468%20C99%20458%20126%20461%20147%20468%20C169%20476%20191%20478%20214%20474%22%20fill%3D%22none%22%20stroke%3D%22%234ea2f0%22%20stroke-width%3D%226%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.28%22/%3E%0A%3C/svg%3E");background-repeat:no-repeat;background-size:cover;background-position:center center;opacity:1;pointer-events:none;transform:none}
.wv-sidebar-footer{background:linear-gradient(180deg,rgba(4,31,73,0) 0%,rgba(4,31,73,.08) 100%);border-top:1px solid rgba(255,255,255,.10)}
.wv-topbar{overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.94));backdrop-filter:blur(14px)}
.wv-topbar::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,0));pointer-events:none}
.wv-panel[data-water-panel="today"]::before{content:"";position:absolute;z-index:-1;top:-32px;left:-42px;right:-42px;height:202px;background-image:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201400%20220%22%3E%0A%3Cdefs%3E%0A%20%20%3ClinearGradient%20id%3D%22bg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23f7fbff%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%2250%25%22%20stop-color%3D%22%23eef7ff%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23ebf5ff%22/%3E%0A%20%20%3C/linearGradient%3E%0A%3C/defs%3E%0A%3Crect%20width%3D%221400%22%20height%3D%22220%22%20fill%3D%22url%28%23bg%29%22/%3E%0A%3Cpath%20d%3D%22M0%20122%20C95%20114%20151%2088%20226%2092%20C299%2096%20355%20130%20426%20129%20C510%20128%20570%2072%20655%2069%20C737%2066%20799%20112%20879%20111%20C954%20111%201011%2075%201090%2075%20C1174%2075%201248%20111%201318%20110%20C1348%20109%201375%20104%201400%2096%20L1400%20220%20L0%20220%20Z%22%20fill%3D%22%23d9effe%22/%3E%0A%3Cpath%20d%3D%22M0%20140%20C94%20133%20161%20159%20244%20163%20C337%20167%20409%20148%20498%20131%20C583%20114%20656%20115%20742%20133%20C827%20151%20902%20164%20988%20156%20C1084%20148%201163%20114%201259%20114%20C1313%20114%201359%20123%201400%20132%20L1400%20220%20L0%20220%20Z%22%20fill%3D%22%23c6e8fb%22%20opacity%3D%220.92%22/%3E%0A%3Cpath%20d%3D%22M0%20167%20C74%20158%20137%20170%20202%20181%20C271%20193%20343%20199%20421%20190%20C503%20181%20583%20154%20666%20149%20C756%20143%20839%20164%20923%20176%20C1010%20188%201085%20191%201177%20180%20C1258%20171%201331%20151%201400%20146%20L1400%20220%20L0%20220%20Z%22%20fill%3D%22%23b8def9%22%20opacity%3D%220.95%22/%3E%0A%3Cpath%20d%3D%22M0%20188%20C97%20181%20173%20195%20255%20202%20C354%20211%20446%20206%20541%20194%20C648%20181%20745%20173%20851%20183%20C958%20192%201043%20209%201150%20208%20C1248%20207%201327%20194%201400%20179%22%20fill%3D%22none%22%20stroke%3D%22%2393c9f4%22%20stroke-width%3D%228%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.55%22/%3E%0A%3Cg%20fill%3D%22%238ebfe7%22%20opacity%3D%220.95%22%20transform%3D%22translate%281168%2C22%29%22%3E%0A%20%20%3Cpath%20d%3D%22M0%2034%20C14%2020%2034%2012%2057%2012%20C62%2012%2066%2013%2070%2013%20C80%205%2093%200%20108%200%20C129%200%20147%209%20157%2023%20C161%2022%20166%2022%20170%2022%20C188%2022%20203%2033%20207%2049%20L0%2049%20Z%22/%3E%0A%20%20%3Cpath%20d%3D%22M37%2049%20C41%2038%2047%2028%2054%2024%20C53%2032%2054%2040%2058%2049Z%22%20fill%3D%22%236ca0d7%22/%3E%0A%20%20%3Cpath%20d%3D%22M52%2049%20C47%2033%2038%2020%2024%2011%20C35%2013%2045%2021%2052%2031%20C50%2022%2053%2012%2061%202%20C64%2017%2062%2029%2059%2037%20C67%2027%2080%2019%2096%2016%20C88%2029%2077%2039%2064%2044%20C76%2042%2089%2047%20100%2058%20C84%2056%2070%2052%2059%2047%20C64%2055%2066%2064%2065%2075%20C60%2063%2056%2054%2052%2049Z%22%20fill%3D%22%2376a7d7%22/%3E%0A%20%20%3Cpath%20d%3D%22M94%2049%20C90%2035%2083%2024%2072%2017%20C81%2018%2089%2024%2094%2032%20C92%2024%2095%2016%20102%208%20C104%2019%20103%2028%20100%2035%20C106%2027%20116%2021%20128%2019%20C122%2028%20113%2035%20103%2039%20C113%2038%20123%2042%20131%2049Z%22%20fill%3D%22%2376a7d7%22/%3E%0A%3C/g%3E%0A%3C/svg%3E");background-repeat:no-repeat;background-size:cover;background-position:center top;border-radius:0 0 22px 22px;opacity:1;pointer-events:none}
.wv-panel[data-water-panel="today"]::after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:116px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0));pointer-events:none}
.wv-today-heading>div:first-child::before{display:none}
@media(max-width:900px){
  .wv-sidebar::after{background-position:58% center}
  .wv-panel[data-water-panel="today"]::before{left:-15px;right:-15px;height:188px;background-position:66% top}
}
@media(max-width:720px){
  .wv-panel[data-water-panel="today"]::before{height:170px;background-position:70% top}
}


/* v20.4 — ícones refinados em Estoque rápido e Últimos registros */
.wv-card-head-title{display:flex;align-items:flex-start;gap:14px;min-width:0}
.wv-card-head-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;color:#0a74d1}
.wv-card-head-icon svg{width:30px;height:30px;stroke-width:1.8;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.wv-card-head-icon.stock{background:linear-gradient(180deg,#eef7ff,#f7fbff)}
.wv-card-head-icon.records{background:linear-gradient(180deg,#eef7ff,#f7fbff)}
.wv-dashboard-card .wv-card-head>.wv-card-head-title>div{min-width:0}
.wv-panel[data-water-panel="today"] .wv-quick-stock article{display:grid;align-content:start}
.wv-quick-stock-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:10px}
.wv-stock-product-icon{display:grid;place-items:center;align-self:start;width:32px;height:36px;color:#0a73ce}
.wv-stock-product-icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wv-stock-arrow{display:grid;place-items:center;align-self:center;color:#0a73ce;opacity:.92}
.wv-stock-arrow svg{width:18px;height:18px;stroke-width:2.4}
.wv-panel[data-water-panel="today"] .wv-quick-stock b{margin:2px 0 0}
.wv-panel[data-water-panel="today"] .wv-quick-stock small{margin-top:0}
.wv-panel[data-water-panel="today"] .wv-quick-stock article.low .wv-stock-product-icon,.wv-panel[data-water-panel="today"] .wv-quick-stock article.low .wv-stock-arrow{color:#0a73ce}
@media(max-width:720px){
  .wv-card-head-title{gap:12px}
  .wv-card-head-icon{width:42px;height:42px;flex-basis:42px}
  .wv-card-head-icon svg{width:27px;height:27px}
  .wv-quick-stock-top{gap:8px}
}


/* v20.5 — correções de posição da arte lateral e proporção dos cards do estoque rápido */
.wv-sidebar::after{content:"";position:absolute;z-index:-1;inset:auto 0 0 0;height:245px;background-image:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20320%20260%22%3E%0A%3Cdefs%3E%0A%20%20%3ClinearGradient%20id%3D%22wave1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%230b4ea4%22%20stop-opacity%3D%220.95%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%230d6cc0%22%20stop-opacity%3D%220.9%22/%3E%0A%20%20%3C/linearGradient%3E%0A%20%20%3ClinearGradient%20id%3D%22wave2%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%230a417f%22%20stop-opacity%3D%220.78%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%230f5ba7%22%20stop-opacity%3D%220.72%22/%3E%0A%20%20%3C/linearGradient%3E%0A%20%20%3ClinearGradient%20id%3D%22wave3%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%0A%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%230a376f%22%20stop-opacity%3D%220.92%22/%3E%0A%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23072f63%22%20stop-opacity%3D%220.88%22/%3E%0A%20%20%3C/linearGradient%3E%0A%3C/defs%3E%0A%3Cpath%20d%3D%22M0%20152%20C30%20140%2057%20138%2085%20142%20C111%20146%20136%20155%20159%20154%20C185%20153%20203%20141%20224%20134%20C247%20126%20274%20124%20320%20132%20L320%20260%20L0%20260%20Z%22%20fill%3D%22url%28%23wave3%29%22/%3E%0A%3Cpath%20d%3D%22M0%20171%20C37%20159%2070%20159%20102%20167%20C131%20174%20153%20189%20182%20191%20C215%20193%20238%20181%20267%20170%20C284%20164%20300%20160%20320%20161%20L320%20260%20L0%20260%20Z%22%20fill%3D%22url%28%23wave2%29%22/%3E%0A%3Cpath%20d%3D%22M0%20189%20C35%20180%2063%20183%2092%20192%20C118%20200%20145%20213%20175%20215%20C207%20217%20240%20208%20268%20197%20C287%20189%20304%20184%20320%20184%20L320%20260%20L0%20260%20Z%22%20fill%3D%22url%28%23wave1%29%22/%3E%0A%3Cpath%20d%3D%22M0%20215%20C31%20204%2067%20205%2095%20214%20C123%20224%20154%20235%20192%20236%20C235%20237%20278%20227%20320%20208%20L320%20260%20L0%20260%20Z%22%20fill%3D%22%232d7bdb%22%20opacity%3D%220.42%22/%3E%0A%3Cpath%20d%3D%22M0%20167%20C12%20160%2026%20158%2042%20161%20C56%20163%2069%20170%2081%20179%20C76%20162%2076%20149%2082%20133%20C91%20145%2097%20157%20100%20171%20C102%20150%20112%20131%20127%20115%20C129%20139%20125%20154%20116%20171%20C132%20159%20152%20155%20177%20158%20C160%20171%20143%20179%20128%20183%20C146%20184%20161%20194%20173%20210%20C151%20206%20134%20199%20119%20189%20C121%20208%20115%20223%20102%20239%20C96%20218%2089%20201%2078%20188%20C68%20177%2056%20170%2043%20168%20C29%20166%2015%20167%200%20173Z%22%20fill%3D%22%23062c5d%22%20opacity%3D%220.9%22/%3E%0A%3Cg%20fill%3D%22%23052652%22%20opacity%3D%220.98%22%20transform%3D%22translate%2818%2C98%29%22%3E%0A%20%20%3Crect%20x%3D%2244%22%20y%3D%2262%22%20width%3D%228%22%20height%3D%2282%22%20rx%3D%224%22/%3E%0A%20%20%3Cpath%20d%3D%22M48%2068%20C45%2039%2031%2016%208%200%20C28%202%2042%2014%2049%2032%20C46%2015%2052%200%2065%20-16%20C67%2010%2064%2030%2057%2044%20C67%2028%2084%2015%20107%2010%20C95%2027%2080%2040%2062%2051%20C81%2047%20100%2055%20118%2072%20C95%2069%2077%2065%2060%2058%20C69%2071%2073%2087%2071%20105%20C61%2089%2056%2077%2048%2068Z%22/%3E%0A%20%20%3Cpath%20d%3D%22M27%2092%20C39%2084%2050%2083%2061%2087%20C46%2089%2036%2095%2027%20104Z%22%20opacity%3D%220.92%22/%3E%0A%20%20%3Cpath%20d%3D%22M88%2091%20C76%2085%2066%2084%2056%2088%20C68%2090%2077%2096%2088%20105Z%22%20opacity%3D%220.92%22/%3E%0A%3C/g%3E%0A%3Cpath%20d%3D%22M148%20194%20C177%20182%20207%20186%20234%20197%20C258%20207%20281%20210%20307%20205%22%20fill%3D%22none%22%20stroke%3D%22%233f93ea%22%20stroke-width%3D%226%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.34%22/%3E%0A%3C/svg%3E");background-repeat:no-repeat;background-position:center bottom;background-size:100% 245px;opacity:1;pointer-events:none;transform:none}
.wv-sidebar::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0) 22%);pointer-events:none;transform:none;opacity:1}
.wv-panel[data-water-panel="today"] .wv-quick-stock{align-items:stretch}
.wv-panel[data-water-panel="today"] .wv-quick-stock article{display:grid;grid-template-rows:auto auto auto;align-content:start;gap:0;min-height:184px;padding:16px 16px 15px;overflow:hidden}
.wv-quick-stock-top{grid-template-columns:32px minmax(0,1fr) 16px;align-items:start;gap:10px;margin-bottom:12px;min-height:74px}
.wv-quick-stock-copy{min-width:0;display:block}
.wv-panel[data-water-panel="today"] .wv-quick-stock small{display:block;margin:0 0 5px;font-size:12px;line-height:1.15;color:#0b70ba;font-weight:900;letter-spacing:.02em}
.wv-panel[data-water-panel="today"] .wv-quick-stock b{display:block;margin:0;font-size:15px;line-height:1.25;color:#153a69;white-space:normal;word-break:break-word}
.wv-stock-product-icon{display:grid;place-items:center;align-self:start;justify-self:start;color:#0a73ce}
.wv-stock-product-icon svg{stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}
.wv-stock-product-icon.jug20{width:24px;height:40px}
.wv-stock-product-icon.jug20 svg{width:24px;height:40px;stroke-width:1.7}
.wv-stock-product-icon.bottle500{width:20px;height:36px}
.wv-stock-product-icon.bottle500 svg{width:20px;height:36px;stroke-width:1.7}
.wv-stock-product-icon.pack15{width:34px;height:32px}
.wv-stock-product-icon.pack15 svg{width:34px;height:32px;stroke-width:1.7}
.wv-stock-arrow{display:grid;place-items:center;align-self:center;justify-self:end;color:#7a8ea8;opacity:1}
.wv-stock-arrow svg{width:14px;height:14px;stroke-width:2.6}
.wv-panel[data-water-panel="today"] .wv-quick-stock strong{margin-top:auto;font-size:25px;line-height:1.05;color:#0b2f67}
.wv-panel[data-water-panel="today"] .wv-quick-stock span{display:block;margin-top:4px;font-size:14px;line-height:1.2;color:#637a97}
.wv-panel[data-water-panel="today"] .wv-quick-stock article.low span{color:#a56312;font-weight:800}
@media(max-width:900px){
  .wv-sidebar::after{height:220px;background-size:100% 220px}
  .wv-panel[data-water-panel="today"] .wv-quick-stock article{min-height:174px}
}
@media(max-width:430px){
  .wv-sidebar::after{height:198px;background-size:100% 198px}
  .wv-quick-stock-top{min-height:68px;grid-template-columns:28px minmax(0,1fr) 14px}
  .wv-stock-product-icon.jug20{width:22px;height:37px}
  .wv-stock-product-icon.pack15{width:30px;height:28px}
  .wv-stock-product-icon.bottle500{width:18px;height:33px}
}


/* v20.6 — integração dos novos fundos e ícones do painel */
.wv-sidebar{background:#083b7d!important}
.wv-sidebar::before{content:"";position:absolute;left:0;right:0;bottom:0;top:34%;z-index:-2;background-image:url("assets/dashboard/fundo-painel-lateral-v2.png");background-repeat:no-repeat;background-position:center bottom;background-size:cover;opacity:.48;pointer-events:none;-webkit-mask-image:radial-gradient(120% 88% at 50% 100%, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 42%, rgba(0,0,0,.78) 60%, rgba(0,0,0,.38) 78%, rgba(0,0,0,.12) 90%, rgba(0,0,0,0) 100%);mask-image:radial-gradient(120% 88% at 50% 100%, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 42%, rgba(0,0,0,.78) 60%, rgba(0,0,0,.38) 78%, rgba(0,0,0,.12) 90%, rgba(0,0,0,0) 100%)}
.wv-sidebar::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,41,91,.32) 0%,rgba(4,42,91,.24) 22%,rgba(4,41,91,.12) 48%,rgba(3,35,78,.08) 68%,rgba(3,35,78,.18) 100%), radial-gradient(120% 80% at 50% 100%, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 62%);pointer-events:none}
.wv-panel[data-water-panel="today"]::before{content:"";position:absolute;z-index:-1;top:-32px;left:-42px;right:-42px;height:202px;background-image:url("assets/dashboard/fundo-cabecalho-movimento.png");background-repeat:no-repeat;background-size:cover;background-position:center top;border-radius:0 0 24px 24px;opacity:1;pointer-events:none}
.wv-panel[data-water-panel="today"]::after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:116px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0));pointer-events:none}
.wv-today-heading>div:first-child::before{display:none}
.wv-media-icon{display:block;width:100%;height:100%;line-height:0}
.wv-media-icon img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 6px 12px rgba(20,58,94,.10))}
.wv-kpi-icon,.wv-pay-icon,.wv-card-head-icon,.wv-cash-state-icon{overflow:visible}
.wv-panel[data-water-panel="today"] .wv-kpi-icon,.wv-panel[data-water-panel="today"] .wv-pay-icon,.wv-panel[data-water-panel="today"] .wv-card-head-icon,.wv-cash-state-icon{background:transparent!important;box-shadow:none!important;padding:0}
.wv-panel[data-water-panel="today"] .wv-kpi-icon{width:58px;height:58px;flex-basis:58px;border-radius:0}
.wv-panel[data-water-panel="today"] .wv-pay-icon{width:46px;height:46px;flex:0 0 46px;border-radius:0}
.wv-panel[data-water-panel="today"] .wv-card-head-icon{width:48px;height:48px;flex:0 0 48px;border-radius:0}
.wv-cash-state-icon{width:58px;height:58px;border-radius:0}
.wv-cash-state-icon .wv-media-icon.status{width:58px;height:58px}
.wv-panel[data-water-panel="today"] .wv-kpis article.sales{background:linear-gradient(180deg,#fbfdff,#f2f8ff);border-color:#d2e4f5}
.wv-panel[data-water-panel="today"] .wv-kpis article.received{background:linear-gradient(180deg,#f9feff,#edf9fb);border-color:#cfe9ee}
.wv-panel[data-water-panel="today"] .wv-kpis article.chances{background:linear-gradient(180deg,#fffdf7,#fff7e6);border-color:#efdfb3}
.wv-panel[data-water-panel="today"] .wv-payment-grid article{position:relative;overflow:hidden}
.wv-panel[data-water-panel="today"] .wv-payment-grid article::after,.wv-panel[data-water-panel="today"] .wv-kpis article::after{content:"";position:absolute;right:-20px;top:-20px;width:110px;height:110px;border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,.45),rgba(255,255,255,0) 70%);pointer-events:none}
.wv-panel[data-water-panel="today"] .wv-kpis article>div,.wv-panel[data-water-panel="today"] .wv-payment-grid article>div,.wv-cash-state-title{position:relative;z-index:1}
.wv-panel[data-water-panel="today"] .wv-quick-stock{display:grid;grid-template-columns:repeat(6,minmax(160px,1fr));gap:12px;overflow:visible;padding:0;scroll-snap-type:none}
.wv-panel[data-water-panel="today"] .wv-quick-stock article{min-width:0;min-height:148px;padding:16px 15px 14px;border:1px solid #d4e6f3;border-radius:16px;background:linear-gradient(180deg,#fbfdff 0%,#f3f9fd 100%);box-shadow:0 8px 22px rgba(21,64,104,.04)}
.wv-panel[data-water-panel="today"] .wv-quick-stock article.low{border-color:#e9d7a5;background:linear-gradient(180deg,#fffaf0 0%,#fff6e3 100%)}
.wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-copy{display:block;min-height:72px}
.wv-panel[data-water-panel="today"] .wv-quick-stock small{display:block;margin:0 0 7px;font-size:12px;line-height:1.15;color:#0c72be;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.wv-panel[data-water-panel="today"] .wv-quick-stock b{display:block;margin:0;font-size:16px;line-height:1.26;color:#123762;white-space:normal;word-break:break-word}
.wv-panel[data-water-panel="today"] .wv-quick-stock strong{display:block;margin-top:auto;font-size:34px;line-height:1;color:#0b2f67}
.wv-panel[data-water-panel="today"] .wv-quick-stock span{display:block;margin-top:6px;font-size:14px;line-height:1.2;color:#607a98}
.wv-panel[data-water-panel="today"] .wv-quick-stock article.low span{color:#a56611;font-weight:800}
@media(max-width:1260px){
  .wv-panel[data-water-panel="today"] .wv-quick-stock{grid-template-columns:repeat(3,minmax(170px,1fr))}
}
@media(max-width:900px){
  .wv-panel[data-water-panel="today"]::before{left:-15px;right:-15px;height:188px;background-position:center top}
}
@media(max-width:720px){
  .wv-panel[data-water-panel="today"] .wv-kpi-icon{width:54px;height:54px;flex-basis:54px}
  .wv-panel[data-water-panel="today"] .wv-card-head-icon{width:44px;height:44px;flex-basis:44px}
  .wv-panel[data-water-panel="today"] .wv-pay-icon{width:44px;height:44px;flex-basis:44px}
  .wv-panel[data-water-panel="today"] .wv-quick-stock{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}
  .wv-panel[data-water-panel="today"] .wv-quick-stock article{flex:0 0 min(62vw,220px);min-width:min(62vw,220px);min-height:146px;scroll-snap-align:start}
}
@media(max-width:430px){
  .wv-panel[data-water-panel="today"]::before{height:168px}
  .wv-panel[data-water-panel="today"] .wv-kpi-icon{width:50px;height:50px;flex-basis:50px}
  .wv-cash-state-icon,.wv-cash-state-icon .wv-media-icon.status{width:52px;height:52px}
}

@media(max-width:900px){
  .wv-sidebar::before{top:30%;background-size:cover;background-position:center bottom;opacity:.46}
}
@media(max-width:430px){
  .wv-sidebar::before{top:36%;opacity:.42}
}


/* v20.6.2 — correção fina dos fundos lateral e do cabeçalho */
.wv-sidebar{overflow:hidden}
.wv-sidebar::before{
  top:48% !important;
  bottom:-2px !important;
  left:-4% !important;
  right:-4% !important;
  inset:auto !important;
  width:auto !important;
  height:auto !important;
  z-index:-2 !important;
  background-image:url("assets/dashboard/fundo-painel-lateral-v2.png") !important;
  background-repeat:no-repeat !important;
  background-position:center bottom !important;
  background-size:100% auto !important;
  opacity:.34 !important;
  -webkit-mask-image:linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 22%, rgba(0,0,0,.84) 46%, rgba(0,0,0,.48) 67%, rgba(0,0,0,.14) 84%, rgba(0,0,0,0) 100%) !important;
  mask-image:linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 22%, rgba(0,0,0,.84) 46%, rgba(0,0,0,.48) 67%, rgba(0,0,0,.14) 84%, rgba(0,0,0,0) 100%) !important;
}
.wv-sidebar::after{
  inset:0 !important;
  z-index:-1 !important;
  background:linear-gradient(180deg, rgba(4,41,91,.30) 0%, rgba(4,42,91,.22) 24%, rgba(4,41,91,.10) 52%, rgba(3,35,78,.16) 100%), radial-gradient(110% 68% at 50% 100%, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 72%) !important;
}

.wv-panel[data-water-panel="today"]{overflow:hidden}
.wv-panel[data-water-panel="today"]::before{
  top:0 !important;
  left:0 !important;
  right:0 !important;
  height:168px !important;
  z-index:-2 !important;
  background-image:url("assets/dashboard/fundo-cabecalho-movimento.png") !important;
  background-repeat:no-repeat !important;
  background-position:center top !important;
  background-size:100% auto !important;
  border-radius:22px 22px 26px 26px !important;
  opacity:.94 !important;
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 56%, rgba(0,0,0,.62) 78%, rgba(0,0,0,.14) 92%, rgba(0,0,0,0) 100%) !important;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 56%, rgba(0,0,0,.62) 78%, rgba(0,0,0,.14) 92%, rgba(0,0,0,0) 100%) !important;
}
.wv-panel[data-water-panel="today"]::after{
  top:0 !important;
  left:0 !important;
  right:0 !important;
  height:126px !important;
  z-index:-1 !important;
  background:linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.04) 38%, rgba(255,255,255,0) 100%) !important;
}
.wv-today-heading{position:relative;z-index:1;padding-top:18px}

@media(max-width:900px){
  .wv-sidebar::before{
    top:52% !important;
    left:-6% !important;
    right:-6% !important;
    opacity:.31 !important;
    background-size:112% auto !important;
  }
  .wv-panel[data-water-panel="today"]::before{
    height:154px !important;
    background-size:cover !important;
    background-position:64% top !important;
  }
}

@media(max-width:430px){
  .wv-sidebar::before{
    top:56% !important;
    opacity:.28 !important;
    background-size:124% auto !important;
  }
  .wv-panel[data-water-panel="today"]::before{
    height:142px !important;
    background-size:cover !important;
    background-position:70% top !important;
  }
}


/* v20.6.3 — fundo lateral visível e topo do módulo sem corte */
.staff-app[data-view="water"]{overflow:hidden}
.wv-sidebar{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,#093a7b 0%,#083776 45%,#06346c 100%)!important}
.wv-sidebar > *{position:relative;z-index:2}
.wv-sidebar::before{
  content:"" !important;
  position:absolute !important;
  left:-6% !important;
  right:-6% !important;
  bottom:0 !important;
  top:46% !important;
  z-index:0 !important;
  background-image:url("assets/dashboard/fundo-painel-lateral-v2.png") !important;
  background-repeat:no-repeat !important;
  background-position:center bottom !important;
  background-size:108% auto !important;
  opacity:.36 !important;
  pointer-events:none !important;
  -webkit-mask-image:linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 24%, rgba(0,0,0,.86) 48%, rgba(0,0,0,.52) 68%, rgba(0,0,0,.14) 86%, rgba(0,0,0,0) 100%) !important;
  mask-image:linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 24%, rgba(0,0,0,.86) 48%, rgba(0,0,0,.52) 68%, rgba(0,0,0,.14) 86%, rgba(0,0,0,0) 100%) !important;
}
.wv-sidebar::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  background:linear-gradient(180deg, rgba(5,41,90,.20) 0%, rgba(5,41,90,.10) 32%, rgba(5,41,90,.05) 56%, rgba(3,32,69,.10) 100%), radial-gradient(100% 70% at 50% 100%, rgba(255,255,255,.035) 0%, rgba(255,255,255,0) 72%) !important;
  pointer-events:none !important;
}

.wv-workspace{position:relative;overflow:hidden}
.wv-workspace::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:184px;
  z-index:0;
  pointer-events:none;
  background-image:url("assets/dashboard/fundo-cabecalho-movimento.png");
  background-repeat:no-repeat;
  background-position:center top;
  background-size:cover;
  opacity:.98;
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 52%, rgba(0,0,0,.72) 76%, rgba(0,0,0,.18) 92%, rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.98) 52%, rgba(0,0,0,.72) 76%, rgba(0,0,0,.18) 92%, rgba(0,0,0,0) 100%);
}
.wv-workspace::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:112px;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.04) 34%, rgba(255,255,255,0) 100%);
}
.wv-content{position:relative;z-index:1;padding-top:22px}
.wv-panel[data-water-panel="today"]::before,
.wv-panel[data-water-panel="today"]::after{display:none !important}
.wv-today-heading{position:relative;z-index:1;padding-top:22px}

@media(max-width:900px){
  .wv-sidebar::before{top:50% !important;background-size:120% auto !important;opacity:.33 !important}
  .wv-workspace::before{height:170px;background-position:66% top;background-size:cover}
  .wv-content{padding-top:18px}
  .wv-today-heading{padding-top:18px}
}
@media(max-width:430px){
  .wv-sidebar::before{top:54% !important;background-size:132% auto !important;opacity:.30 !important}
  .wv-workspace::before{height:154px;background-position:72% top}
  .wv-content{padding-top:16px}
  .wv-today-heading{padding-top:14px}
}


/* v20.6.4 — restaura rolagem do Caixa após o ajuste do fundo superior */
.wv-workspace{
  min-width:0 !important;
  min-height:0 !important;
  height:100vh !important;
  overflow-x:hidden !important;
  overflow-y:scroll !important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:auto;
  scrollbar-color:#86a9c3 #edf3f7;
}
.wv-sidebar{
  min-height:0 !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.32) rgba(255,255,255,.05);
}
.wv-workspace::-webkit-scrollbar{width:11px}
.wv-workspace::-webkit-scrollbar-track{background:#edf3f7}
.wv-workspace::-webkit-scrollbar-thumb{min-height:48px;border:3px solid #edf3f7;border-radius:999px;background:#86a9c3}
.wv-workspace::-webkit-scrollbar-thumb:hover{background:#638ca9}
.wv-sidebar::-webkit-scrollbar{width:7px}
.wv-sidebar::-webkit-scrollbar-track{background:rgba(255,255,255,.04)}
.wv-sidebar::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(255,255,255,.30)}
@media(max-width:900px){
  .wv-workspace{
    height:auto !important;
    min-height:100dvh !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    scrollbar-gutter:auto;
  }
  .wv-sidebar{
    box-sizing:border-box;
    height:100dvh !important;
    max-height:100dvh !important;
    min-height:0 !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    touch-action:pan-y;
    padding-bottom:max(18px,env(safe-area-inset-bottom));
  }
  .wv-sidebar nav,.wv-sidebar-top,.wv-sidebar-footer{flex:0 0 auto}
}

/* v21 — segunda etapa do redesenho: Nova venda */
.wv-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.wv-panel[data-water-panel="sale"]{position:relative}
.wv-panel[data-water-panel="sale"] .wv-sale-heading{align-items:center;margin-bottom:18px;padding-top:18px}
.wv-panel[data-water-panel="sale"] .wv-sale-heading h1{font-size:clamp(34px,3vw,40px);color:#092d68}
.wv-panel[data-water-panel="sale"] .wv-sale-heading p{font-size:16px;color:#516b8d}
.wv-panel[data-water-panel="sale"] .wv-price-table-button{min-height:46px;padding:0 16px;border-color:#b8d7e8;background:rgba(255,255,255,.88);color:#0a4f8e;font-size:15px;box-shadow:0 8px 22px rgba(20,64,104,.06);backdrop-filter:blur(8px)}
.wv-panel[data-water-panel="sale"] .wv-price-table-button svg{width:19px;height:19px}

.wv-panel[data-water-panel="sale"] .wv-sale-layout{grid-template-columns:minmax(0,1.78fr) minmax(350px,.82fr);gap:18px;align-items:start}
.wv-panel[data-water-panel="sale"] .wv-sale-flow{gap:14px}
.wv-panel[data-water-panel="sale"] .wv-sale-step{padding:18px 20px;border-color:rgba(117,164,199,.25);border-radius:18px;box-shadow:0 9px 28px rgba(21,64,104,.045)}
.wv-panel[data-water-panel="sale"] .wv-step-title{gap:12px;margin-bottom:14px}
.wv-panel[data-water-panel="sale"] .wv-step-title>b{width:40px;height:40px;flex-basis:40px;border-radius:13px;background:linear-gradient(180deg,#e6f4ff,#edf8fc);color:#0875d6;font-size:19px;box-shadow:inset 0 0 0 1px rgba(77,161,217,.10)}
.wv-panel[data-water-panel="sale"] .wv-step-title h2{font-size:20px;color:#103a69}
.wv-panel[data-water-panel="sale"] .wv-step-title p{margin-top:2px;font-size:14px;line-height:1.35;color:#6b8099}

.wv-panel[data-water-panel="sale"] .wv-customer-search>span{left:14px;color:#7796b2}
.wv-panel[data-water-panel="sale"] .wv-customer-search>span svg{width:20px;height:20px}
.wv-panel[data-water-panel="sale"] .wv-customer-search input{min-height:48px;padding:0 15px 0 46px;border-color:#c9ddea;border-radius:12px;background:#fbfdff;font-size:16px;color:#153b61}
.wv-panel[data-water-panel="sale"] .wv-search-results{top:calc(100% + 7px);max-height:300px;padding:7px;border-radius:14px}
.wv-panel[data-water-panel="sale"] .wv-search-results button{min-height:58px;gap:11px;padding:9px 10px;border-radius:10px}
.wv-panel[data-water-panel="sale"] .wv-search-results button>span{width:38px;height:38px;border-radius:11px;font-size:14px}
.wv-panel[data-water-panel="sale"] .wv-search-results button>div{min-width:0;flex:1}
.wv-panel[data-water-panel="sale"] .wv-search-results b{font-size:14px;color:#173d65}
.wv-panel[data-water-panel="sale"] .wv-search-results small{margin-top:2px;font-size:13px;color:#71879c}
.wv-panel[data-water-panel="sale"] .wv-search-results button>strong{color:#0a72c9;font-size:13px}
.wv-panel[data-water-panel="sale"] .wv-selected-customer{min-height:68px;margin-top:11px;padding:11px 12px;border-color:#bce2d3;border-radius:13px;background:linear-gradient(180deg,#f4fcf8,#edfaf4)}
.wv-panel[data-water-panel="sale"] .wv-selected-customer>span{width:42px;height:42px;border-radius:12px;font-size:15px}
.wv-panel[data-water-panel="sale"] .wv-selected-customer>div{min-width:0;gap:1px}
.wv-panel[data-water-panel="sale"] .wv-selected-customer>div>small{font-size:11px;letter-spacing:.06em;font-weight:900;color:#5c8370}
.wv-panel[data-water-panel="sale"] .wv-selected-customer strong{font-size:15px;color:#153c60}
.wv-panel[data-water-panel="sale"] .wv-selected-customer>div>span{font-size:13px;color:#668078}
.wv-panel[data-water-panel="sale"] .wv-selected-customer button{min-height:38px;padding:0 10px;border:1px solid #c8dfd5;border-radius:9px;background:#fff;font-size:13px}
.wv-sale-customer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}
.wv-sale-customer-actions>small{color:#7b8fa2;font-size:13px}
.wv-panel[data-water-panel="sale"] .wv-inline-actions{margin:0;gap:8px}
.wv-panel[data-water-panel="sale"] .wv-inline-actions button{min-height:40px;font-size:14px}
.wv-panel[data-water-panel="sale"] .wv-unidentified-button{position:relative;overflow:visible;min-height:40px;padding:9px 14px;border:1px solid #c6dce9;border-radius:11px;background:#fff;color:var(--wv-navy);font-size:14px;font-weight:900;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}
.wv-panel[data-water-panel="sale"] .wv-unidentified-button>span:last-child{display:inline-flex;align-items:center}
.wv-panel[data-water-panel="sale"] .wv-unidentified-button:hover{border-color:#8dc3e5;background:#f7fbfe}
.wv-panel[data-water-panel="sale"] .wv-unidentified-check{position:absolute;top:-7px;right:-7px;display:none;place-items:center;width:22px;height:22px;border-radius:999px;background:#0b7fe1;color:#fff;box-shadow:0 4px 10px rgba(8,101,184,.22)}
.wv-panel[data-water-panel="sale"] .wv-unidentified-check svg{width:15px;height:15px;stroke-width:2.7}
.wv-panel[data-water-panel="sale"] .wv-unidentified-button.active{border:1px solid #3a9ee0;background:linear-gradient(180deg,#f3faff,#eaf6ff);color:#0b4f87;box-shadow:inset 0 0 0 1px rgba(58,158,224,.16)}
.wv-panel[data-water-panel="sale"] .wv-unidentified-button.active .wv-unidentified-check{display:grid}

.wv-panel[data-water-panel="sale"] .wv-region-grid,.wv-panel[data-water-panel="sale"] .wv-more-regions>div{gap:10px}
.wv-panel[data-water-panel="sale"] .wv-region-grid button,.wv-panel[data-water-panel="sale"] .wv-more-regions button{position:relative;grid-template-columns:28px minmax(0,1fr) 22px;align-items:center;gap:9px;min-height:78px;padding:12px 13px;border-color:#d0e0ea;border-radius:13px;background:linear-gradient(180deg,#fbfdff,#f6fafc)}
.wv-panel[data-water-panel="sale"] .wv-region-grid button:hover,.wv-panel[data-water-panel="sale"] .wv-region-grid button.active,.wv-panel[data-water-panel="sale"] .wv-more-regions button:hover,.wv-panel[data-water-panel="sale"] .wv-more-regions button.active{border-color:#3a9ee0;background:linear-gradient(180deg,#f3faff,#eaf6ff);box-shadow:inset 0 0 0 1px rgba(58,158,224,.20),0 7px 18px rgba(29,98,151,.06)}
.wv-region-icon{display:grid!important;place-items:center!important;width:28px;height:28px;margin:0!important;color:#0a61a8!important}
.wv-region-icon svg{width:21px;height:21px}
.wv-region-copy{display:grid!important;min-width:0;margin:0!important;color:inherit!important}
.wv-region-copy b{font-size:14px!important;line-height:1.25}
.wv-region-copy small{margin-top:3px!important;font-size:12px!important;line-height:1.28!important;color:#70849a!important}
.wv-region-check{display:grid!important;place-items:center!important;width:22px;height:22px;margin:0!important;border-radius:999px;color:#0878d1!important}
.wv-region-check svg{width:18px;height:18px;stroke-width:2.4}
.wv-panel[data-water-panel="sale"] .wv-more-regions{margin-top:12px}
.wv-panel[data-water-panel="sale"] .wv-more-regions summary{min-height:34px;display:flex;align-items:center;width:max-content;font-size:14px;color:#0871c8}

.wv-panel[data-water-panel="sale"] .wv-product-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
  align-items:stretch;
}
.wv-panel[data-water-panel="sale"] .wv-product-family{
  display:grid;
  grid-template-rows:auto 1fr auto;
  min-width:0;
  min-height:246px;
  padding:12px;
  border:1px solid #d5e4ee;
  border-radius:14px;
  background:linear-gradient(160deg,#fff 0%,#f7fbfe 100%);
  box-shadow:none;
}
.wv-product-family-head{
  display:grid;
  justify-items:center;
  min-width:0;
  text-align:center;
}
.wv-product-family-head>small{
  width:100%;
  margin:0 0 4px;
  color:#0872c5;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.wv-product-family-thumb{
  display:grid;
  place-items:center;
  width:58px;
  height:64px;
  margin:0 auto 5px;
}
.wv-product-family-thumb img{
  display:block;
  max-width:54px;
  max-height:60px;
  object-fit:contain;
  filter:drop-shadow(0 5px 7px rgba(8,68,112,.09));
}
.wv-product-family-head h3{
  margin:0;
  color:#123964;
  font-size:15px;
  font-weight:850;
  line-height:1.2;
  text-wrap:balance;
}
.wv-product-family-head>em{
  margin:3px 0 0;
  color:#71859a;
  font-size:12px;
  font-style:normal;
  line-height:1.2;
}
.wv-product-variants{
  display:grid;
  align-content:start;
  gap:6px;
  margin-top:10px;
}
.wv-product-variant{
  display:grid;
  gap:2px;
  width:100%;
  min-height:42px;
  padding:7px 8px;
  border:1px solid #d9e6ee;
  border-radius:9px;
  background:#fff;
  color:#173d63;
  text-align:left;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease;
}
.wv-product-variant:hover{
  border-color:#65b2df;
  background:#f0f9ff;
  box-shadow:0 5px 13px rgba(20,93,142,.06);
  transform:translateY(-1px);
}
.wv-product-variant:active{transform:translateY(0)}
.wv-product-variant-main{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:6px;
  min-width:0;
}
.wv-product-variant-main b{
  overflow:hidden;
  color:#365b78;
  font-size:13px;
  font-weight:850;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.wv-product-variant.price-only .wv-product-variant-main{justify-content:center}
.wv-product-variant-main strong{
  flex:0 0 auto;
  color:#0b3f77;
  font-size:17px;
  font-weight:950;
  line-height:1.05;
  white-space:nowrap;
}
.wv-product-variant>small{
  color:#8b6517;
  font-size:11px;
  font-weight:850;
  line-height:1.2;
}
.wv-product-variant-stock,
.wv-product-family-stock{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  border-radius:999px;
  font-size:12px;
  font-weight:850;
  line-height:1.2;
}
.wv-product-variant-stock{margin-top:2px;padding:3px 7px}
.wv-product-family-stock{align-self:end;margin-top:9px;padding:4px 8px}
.wv-product-variant-stock::before,
.wv-product-family-stock::before{
  content:"";
  width:6px;
  height:6px;
  margin-right:5px;
  border-radius:999px;
  background:currentColor;
}
.wv-product-variant-stock.available,.wv-product-family-stock.available{background:#e8f8ef;color:#167a55}
.wv-product-variant-stock.low,.wv-product-family-stock.low{background:#fff2d5;color:#9a6112}
.wv-product-variant-stock.empty,.wv-product-family-stock.empty{background:#f3f0f0;color:#8e6669}
.wv-product-variant-stock.historical,.wv-product-family-stock.historical{background:#eef3f7;color:#667f94}
.wv-product-variant.is-unavailable{
  border-color:#e2e7ea;
  background:#f8f9fa;
  color:#8798a5;
  opacity:.66;
}
.wv-product-variant.is-unavailable:hover{
  border-color:#d7e0e5;
  background:#f7f9fa;
  box-shadow:none;
  transform:none;
}
.wv-panel[data-water-panel="sale"] .wv-order-card{position:sticky;top:18px;padding:20px 20px 18px;border-color:#d2e2ec;border-radius:18px;box-shadow:0 14px 36px rgba(14,57,93,.08)}
.wv-panel[data-water-panel="sale"] .wv-order-head{align-items:center;padding-bottom:12px;border-bottom:1px solid #e4edf3}
.wv-panel[data-water-panel="sale"] .wv-order-head span{font-size:12px;color:#0872c6}
.wv-panel[data-water-panel="sale"] .wv-order-head h2{font-size:20px;color:#103a69}
.wv-panel[data-water-panel="sale"] .wv-order-head button{display:flex;align-items:center;gap:5px;min-height:36px;padding:0 8px;border-radius:8px;color:#6a8499;font-size:13px}
.wv-panel[data-water-panel="sale"] .wv-order-head button:hover{background:#f3f7fa;color:#a64048}
.wv-panel[data-water-panel="sale"] .wv-order-head button svg{width:16px;height:16px}
.wv-order-context{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 2px}
.wv-order-context>div{display:grid;gap:2px;padding:9px 10px;border:1px solid #e1eaf0;border-radius:10px;background:#f8fbfd;min-width:0}
.wv-order-context small{color:#7a8ea1;font-size:10px;font-weight:900;letter-spacing:.06em}
.wv-order-context strong{overflow:hidden;color:#294b6c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.wv-panel[data-water-panel="sale"] .wv-cart{gap:0;max-height:365px;margin:10px -2px 12px;padding-right:2px}
.wv-panel[data-water-panel="sale"] .wv-cart article{grid-template-columns:44px minmax(0,1fr) 92px 28px;align-items:start;gap:8px;padding:13px 2px;border-top:1px solid #e4edf2}
.wv-panel[data-water-panel="sale"] .wv-cart article:first-child{border-top:0}







.wv-panel[data-water-panel="sale"] .wv-item-payment{display:grid!important;justify-items:start;gap:5px;margin-top:7px;color:#5f7890!important;font-size:12px!important}
.wv-panel[data-water-panel="sale"] .wv-item-payment select{width:100%;min-width:0;max-width:110px;min-height:36px;padding:5px 28px 5px 9px;border-radius:8px;font-size:13px}
.wv-cart-qty{display:grid;min-width:92px;justify-items:end;gap:8px;align-self:start}
.wv-panel[data-water-panel="sale"] .wv-stepper{gap:4px;padding:3px;border-radius:10px}
.wv-panel[data-water-panel="sale"] .wv-stepper button{width:30px;height:30px;border-radius:8px}
.wv-panel[data-water-panel="sale"] .wv-stepper b{min-width:18px;text-align:center;font-size:14px}
.wv-panel[data-water-panel="sale"] .wv-cart-qty>b{font-size:14px;color:#123d69;white-space:nowrap}


.wv-panel[data-water-panel="sale"] .wv-cart-empty{display:grid;gap:4px;padding:24px 10px;text-align:center}
.wv-panel[data-water-panel="sale"] .wv-cart-empty strong{font-size:14px;color:#365b7a}
.wv-panel[data-water-panel="sale"] .wv-cart-empty span{font-size:13px;color:#8294a4}
.wv-panel[data-water-panel="sale"] .wv-order-total{padding:14px 0}
.wv-panel[data-water-panel="sale"] .wv-order-total span{font-size:16px;color:#173c61}
.wv-panel[data-water-panel="sale"] .wv-order-total small{font-size:12px}
.wv-panel[data-water-panel="sale"] .wv-order-total strong{font-size:30px;color:#0a326b}
.wv-panel[data-water-panel="sale"] .wv-payment{gap:9px;margin-top:14px}
.wv-panel[data-water-panel="sale"] .wv-payment h3{font-size:15px;color:#173d63}








.wv-panel[data-water-panel="sale"] .wv-payment label{font-size:13px}
.wv-panel[data-water-panel="sale"] .wv-payment input,.wv-panel[data-water-panel="sale"] .wv-payment textarea{font-size:14px}

.wv-panel[data-water-panel="sale"] .wv-submit-sale{display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;margin-top:14px;border-radius:12px;background:linear-gradient(135deg,#0877dc,#08b7d2);font-size:17px;box-shadow:0 10px 22px rgba(8,119,216,.18)}
.wv-panel[data-water-panel="sale"] .wv-submit-sale svg{width:20px;height:20px}

.wv-customer-dialog{width:min(650px,calc(100% - 28px))}
.wv-customer-dialog form{gap:14px;padding:28px}
.wv-customer-dialog form>span{font-size:13px}
.wv-customer-dialog h2{font-size:25px}
.wv-customer-dialog p{font-size:14px}
.wv-customer-dialog .wv-customer-id-note{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:13px 14px;border-color:#cfe4ef;border-radius:12px;background:linear-gradient(180deg,#f4faff,#eef7fb)}
.wv-customer-dialog .wv-customer-id-note>div{display:grid;gap:1px}
.wv-customer-dialog .wv-customer-id-note small{font-size:11px;letter-spacing:.08em;color:#658096;font-weight:900}
.wv-customer-dialog .wv-customer-id-note strong{font-size:20px;color:#0a67a3}
.wv-customer-dialog .wv-customer-id-note>span{font-size:13px;color:#6e8597;text-align:right}
.wv-customer-dialog .wv-form-grid{gap:12px}
.wv-customer-dialog label{font-size:14px;color:#355a75}
.wv-customer-dialog label>small{font-size:11px;color:#8295a4;font-weight:700}
.wv-customer-dialog input{min-height:46px;font-size:15px}
.wv-customer-quick-tools{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.wv-customer-quick-tools button{min-height:44px;font-size:14px}
.wv-customer-quick-tools>small{grid-column:1/-1;color:#7b8fa0;font-size:12px;line-height:1.4}
.wv-customer-dialog>.wv-primary,.wv-customer-dialog form>.wv-primary{min-height:48px;font-size:15px}

@media(max-width:1240px){
  .wv-panel[data-water-panel="sale"] .wv-sale-layout{grid-template-columns:minmax(0,1fr) 340px}
  .wv-panel[data-water-panel="sale"] .wv-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:980px){
  .wv-panel[data-water-panel="sale"] .wv-sale-layout{grid-template-columns:1fr}
  .wv-panel[data-water-panel="sale"] .wv-order-card{position:static;top:auto}
  .wv-panel[data-water-panel="sale"] .wv-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  .wv-panel[data-water-panel="sale"] .wv-sale-heading{align-items:flex-start;padding-top:12px}
  .wv-panel[data-water-panel="sale"] .wv-sale-heading h1{font-size:32px}
  .wv-panel[data-water-panel="sale"] .wv-sale-heading .wv-price-table-button{width:100%}
  .wv-panel[data-water-panel="sale"] .wv-sale-step{padding:16px}
  .wv-panel[data-water-panel="sale"] .wv-step-title h2{font-size:19px}
  .wv-sale-customer-actions{align-items:flex-start;flex-direction:column}
  .wv-panel[data-water-panel="sale"] .wv-inline-actions{width:100%}
  .wv-panel[data-water-panel="sale"] .wv-inline-actions button{flex:1;justify-content:center}
  .wv-panel[data-water-panel="sale"] .wv-region-grid{grid-template-columns:1fr}
  .wv-panel[data-water-panel="sale"] .wv-more-regions>div{grid-template-columns:1fr}
  .wv-panel[data-water-panel="sale"] .wv-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .wv-panel[data-water-panel="sale"] .wv-product-family{min-height:232px;padding:11px}
  .wv-product-family-thumb{width:54px;height:60px}
  .wv-product-family-thumb img{max-width:50px;max-height:56px}
  .wv-product-family-head h3{font-size:15px}
  .wv-product-variant-main strong{font-size:16px}
  .wv-panel[data-water-panel="sale"] .wv-cart article{grid-template-columns:40px minmax(0,1fr) auto 30px}
  
  
  .wv-order-context{grid-template-columns:1fr}
  
  .wv-customer-dialog .wv-form-grid{grid-template-columns:1fr}
  .wv-customer-dialog .wv-form-grid .full{grid-column:auto}
  .wv-customer-quick-tools{grid-template-columns:1fr}
  .wv-customer-quick-tools>small{grid-column:auto}
  .wv-mobile-checkout>div{display:grid}
  .wv-mobile-checkout small{color:#6f8496;font-size:11px;font-weight:800}
}
@media(max-width:430px){
  .wv-panel[data-water-panel="sale"] .wv-product-grid{grid-template-columns:1fr}
  .wv-panel[data-water-panel="sale"] .wv-product-family{min-height:0;padding:12px}
  .wv-product-family-head{grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;justify-items:start;text-align:left}
  .wv-product-family-head>small{grid-column:2;margin-bottom:2px}
  .wv-product-family-thumb{grid-column:1;grid-row:1/4;width:52px;height:64px;margin:0}
  .wv-product-family-thumb img{max-width:48px;max-height:60px}
  .wv-product-family-head h3{grid-column:2;font-size:15px;text-align:left}
  .wv-product-family-head>em{grid-column:2}
  .wv-product-variants{margin-top:9px}
  .wv-panel[data-water-panel="sale"] .wv-cart article{grid-template-columns:38px minmax(0,1fr) 30px}
  .wv-cart-qty{grid-column:2;justify-items:start;grid-template-columns:auto auto;align-items:center}
  
  .wv-panel[data-water-panel="sale"] .wv-item-payment select{width:100%}
}
.wv-mobile-checkout>div{display:grid;gap:1px}.wv-mobile-checkout>div>strong{color:#0b4776;font-size:1.05rem}.wv-mobile-checkout>div>small{color:#6f8496;font-size:.68rem;font-weight:850}

/* v22 — Atendimento estruturado: tipo + região + mínimo */
.wv-panel[data-water-panel="sale"] .wv-region-grid,
.wv-panel[data-water-panel="sale"] .wv-more-regions>div.wv-region-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card,
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:auto 48px minmax(42px,1fr) auto;
  justify-items:center;
  align-items:center;
  min-width:0;
  min-height:168px;
  padding:13px 10px 12px;
  border:1px solid #d4e4ef;
  border-radius:15px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbfe 100%);
  color:#12385f;
  text-align:center;
  box-shadow:0 6px 18px rgba(20,69,110,.035);
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card:hover,
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card:hover{
  border-color:#78b9e3;
  background:linear-gradient(180deg,#fbfdff,#f1f8fd);
  box-shadow:0 8px 20px rgba(28,94,145,.07);
  transform:translateY(-1px);
}
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card.active,
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card.active{
  border-color:#1789e4;
  background:linear-gradient(180deg,#f7fcff,#eaf6ff);
  box-shadow:inset 0 0 0 1px rgba(23,137,228,.18),0 8px 20px rgba(23,115,181,.08);
  transform:none;
}
.wv-region-badge{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:24px;
  margin:0!important;
  padding:3px 9px;
  border-radius:999px;
  background:#e5f4ff;
  color:#0872c6!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.035em;
}
.wv-region-card.retirada .wv-region-badge{background:#e8f1ff;color:#235fa8!important}
.wv-region-icon{
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  height:48px!important;
  margin:4px 0 1px!important;
  color:#0876d7!important;
}
.wv-region-icon svg{width:40px!important;height:40px!important;stroke-width:1.65}
.wv-region-card.retirada .wv-region-icon{color:#1768b9!important}
.wv-region-name{
  display:-webkit-box!important;
  overflow:hidden;
  margin:2px 0 0!important;
  color:#12375f!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:1.28!important;
  text-align:center;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.wv-region-min{
  display:block!important;
  align-self:end;
  margin:7px 0 0!important;
  color:#74879b!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:center;
}
.wv-region-check{
  position:absolute!important;
  top:9px;
  right:9px;
  display:grid!important;
  place-items:center!important;
  width:22px!important;
  height:22px!important;
  margin:0!important;
  border-radius:999px;
  background:transparent;
  color:#fff!important;
}
.wv-region-card.active .wv-region-check{background:#0b7fe1;box-shadow:0 3px 8px rgba(8,101,184,.2)}
.wv-region-check svg{width:15px!important;height:15px!important;stroke-width:2.7}
.wv-panel[data-water-panel="sale"] .wv-more-regions{
  margin-top:12px;
  padding-top:2px;
  border-top:1px solid #e1ebf2;
}
.wv-panel[data-water-panel="sale"] .wv-more-regions summary{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  margin-top:7px;
  padding:0 4px;
  color:#0871c8;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  list-style:none;
}
.wv-panel[data-water-panel="sale"] .wv-more-regions summary::-webkit-details-marker{display:none}
.wv-panel[data-water-panel="sale"] .wv-more-regions summary::before{
  content:"+";
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border:1px solid #89bde1;
  border-radius:9px;
  background:#f5fbff;
  color:#0871c8;
  font-size:20px;
  line-height:1;
}
.wv-panel[data-water-panel="sale"] .wv-more-regions[open] summary::before{content:"−"}
.wv-panel[data-water-panel="sale"] .wv-more-regions>div.wv-region-grid{margin-top:8px}

/* Cadastro/edição da região */
.wv-service-type-field{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:0;
  padding:0;
  border:0;
}
.wv-service-type-field legend{
  grid-column:1/-1;
  margin-bottom:1px;
  color:#355a75;
  font-size:14px;
  font-weight:800;
}
.wv-service-type-field label{display:block!important}
.wv-service-type-field input{position:absolute;opacity:0;pointer-events:none}
.wv-service-type-field label>span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 12px;
  border:1px solid #ccdfe9;
  border-radius:11px;
  background:#fbfdff;
  color:#45647e;
  font-size:14px;
  font-weight:850;
  cursor:pointer;
}
.wv-service-type-field label>span svg{width:21px;height:21px;color:#0a70c5}
.wv-service-type-field input:checked+span{
  border-color:#268fd8;
  background:#edf8ff;
  color:#0b4f87;
  box-shadow:inset 0 0 0 1px rgba(38,143,216,.13);
}
[data-region-form] label>small{display:block;margin-top:4px;color:#8295a4;font-size:12px;font-weight:700;line-height:1.35}

/* Tabela de valores: tipo e nome sem redundância */
.wv-region-title{align-items:center}
.wv-region-title .wv-region-type-badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 8px;
  border-radius:999px;
  background:#e5f4ff;
  color:#0872c6;
  font-size:11px;
  font-weight:900;
  letter-spacing:.035em;
}
.wv-region-title .wv-region-type-badge.retirada{background:#e8f1ff;color:#235fa8}

@media(max-width:1240px){
  .wv-panel[data-water-panel="sale"] .wv-region-grid,
  .wv-panel[data-water-panel="sale"] .wv-more-regions>div.wv-region-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
  .wv-panel[data-water-panel="sale"] .wv-region-grid,
  .wv-panel[data-water-panel="sale"] .wv-more-regions>div.wv-region-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  .wv-panel[data-water-panel="sale"] .wv-region-grid,
  .wv-panel[data-water-panel="sale"] .wv-more-regions>div.wv-region-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card,
  .wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card{min-height:164px;padding:12px 9px}
  .wv-service-type-field{grid-template-columns:1fr}
}
@media(max-width:430px){
  .wv-panel[data-water-panel="sale"] .wv-region-grid,
  .wv-panel[data-water-panel="sale"] .wv-more-regions>div.wv-region-grid{grid-template-columns:1fr}
  .wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card,
  .wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card{min-height:154px}
}

@media(max-width:980px){
  .wv-panel[data-water-panel="sale"] .wv-unidentified-button .wv-unidentified-check{top:-6px;right:-6px}
}

/* v22.3 — Tabela de valores no Hoje + correção pacote + atacado/revenda */
.wv-panel[data-water-panel="today"] .wv-today-price-button{
  min-height:46px;
  padding:0 16px;
  border-color:#b8d7e8;
  background:rgba(255,255,255,.88);
  color:#0a4f8e;
  font-size:15px;
  box-shadow:0 8px 22px rgba(20,64,104,.06);
  backdrop-filter:blur(8px);
}
.wv-panel[data-water-panel="today"] .wv-today-price-button svg{width:19px;height:19px}

/* O prefixo de preço deixa de competir horizontalmente com o valor. */
.wv-product-price{
  display:inline-flex;
  flex:0 1 auto;
  min-width:0;
  align-items:baseline;
  justify-content:flex-end;
  gap:4px;
  white-space:nowrap;
}
.wv-product-price-prefix{
  color:#58728b;
  font-size:11px;
  font-weight:850;
  line-height:1.05;
  white-space:nowrap;
}
.wv-product-variant.price-only .wv-product-variant-main{
  justify-content:center;
  min-width:0;
}
.wv-product-variant.price-only .wv-product-price{
  flex-wrap:wrap;
  justify-content:center;
  row-gap:1px;
  max-width:100%;
  text-align:center;
  white-space:normal;
}
.wv-product-variant.price-only .wv-product-price-prefix{
  flex:0 0 100%;
  text-align:center;
}
.wv-product-variant.price-only .wv-product-price strong{
  max-width:100%;
  font-size:16px;
  white-space:nowrap;
}

/* Faixas de atacado/revenda na tabela de valores */
.wv-price-entry{display:grid;border-top:1px solid #e4edf2}
.wv-price-entry:first-child{border-top:0}
.wv-price-entry .wv-price-row{border-top:0!important}
.wv-price-table .wv-price-row{
  grid-template-columns:minmax(150px,1fr) 92px 92px auto auto auto;
}
.wv-tier-inline{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  padding:0 0 8px;
}
.wv-tier-inline span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px 7px;
  border:1px solid #d5e5ee;
  border-radius:999px;
  background:#f5fafc;
  color:#47657c;
  font-size:11px;
  line-height:1.2;
}
.wv-tier-inline b{color:#0b5f9b;font-size:11px}
.wv-tier-list{display:grid;gap:8px}
.wv-tier-list article{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 34px;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border:1px solid #dce8ef;
  border-radius:10px;
  background:#f8fbfd;
}
.wv-tier-list article.inactive{opacity:.62}
.wv-tier-list article>div{display:grid;gap:2px}
.wv-tier-list article strong{color:#173f66;font-size:13px}
.wv-tier-list article small{color:#70869a;font-size:12px}
.wv-tier-list article>b{color:#0a4b80;font-size:14px;white-space:nowrap}
.wv-tier-list article>button{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  border:0;
  border-radius:8px;
  background:#fff0f1;
  color:#b23a45;
}
.wv-tier-list article>button svg{width:16px;height:16px}
[data-price-tier-form]{display:grid;gap:12px;margin-top:4px;padding-top:12px;border-top:1px solid #e2ebf0}

@media(max-width:1100px){
  .wv-panel[data-water-panel="today"] .wv-heading-actions{flex-wrap:wrap}
}
@media(max-width:720px){
  .wv-panel[data-water-panel="today"] .wv-today-price-button{width:100%}
  .wv-price-table .wv-price-row{grid-template-columns:1fr 1fr}
  .wv-price-entry .wv-price-name{grid-column:1/-1}
  .wv-tier-inline{padding-top:2px}
}

/* v23 — Clientes operacional: busca, cadastro mínimo, foto da casa e localização */
.wv-panel[data-water-panel="customers"] .wv-customers-heading{align-items:flex-end;margin-bottom:14px}
.wv-panel[data-water-panel="customers"] .wv-customer-search-card{display:grid;gap:10px;margin-bottom:12px;padding:14px 16px;border-radius:16px}
.wv-panel[data-water-panel="customers"] .wv-customer-search-card .wv-search{max-width:none}
.wv-panel[data-water-panel="customers"] .wv-customer-search-card .wv-search input{min-height:50px;padding-left:46px;border-radius:12px;font-size:15px;background:#fbfdff}
.wv-panel[data-water-panel="customers"] .wv-customer-search-card .wv-search>span{left:15px}
.wv-panel[data-water-panel="customers"] .wv-customer-search-card .wv-search svg{width:20px;height:20px}
.wv-panel[data-water-panel="customers"] .wv-customer-filters{display:flex;gap:6px;overflow-x:auto;padding:0 0 2px;background:transparent;border:0}
.wv-panel[data-water-panel="customers"] .wv-customer-filters button{white-space:nowrap}
.wv-panel[data-water-panel="customers"] .wv-customer-kpis{margin-bottom:12px;gap:8px}
.wv-panel[data-water-panel="customers"] .wv-customer-kpis article{min-height:72px;padding:12px 14px;border-radius:13px;box-shadow:none}
.wv-panel[data-water-panel="customers"] .wv-customer-kpis small{font-size:10px}
.wv-panel[data-water-panel="customers"] .wv-customer-kpis strong{font-size:20px}
.wv-panel[data-water-panel="customers"] .wv-customer-list{gap:8px}
.wv-panel[data-water-panel="customers"] .wv-customer-list>.wv-customer-row{display:grid;grid-template-columns:46px minmax(250px,1.45fr) minmax(145px,.78fr) 80px 118px auto;align-items:center;gap:13px;padding:12px 14px;border:1px solid #dce8ef;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(20,63,95,.035)}
.wv-panel[data-water-panel="customers"] .wv-avatar{width:42px;height:42px;border-radius:12px;font-size:16px}
.wv-panel[data-water-panel="customers"] .wv-avatar.neutral{background:#eef5f9;color:#6b8396}
.wv-panel[data-water-panel="customers"] .wv-avatar.neutral svg{width:20px;height:20px}
.wv-customer-identity{display:grid;min-width:0;gap:3px}
.wv-customer-identity>div{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.wv-customer-identity strong{overflow:hidden;color:#153b61;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.wv-customer-identity .wv-water-id{margin:0;padding:3px 7px;border-radius:999px;background:#eaf5ff;color:#0871c8;font-size:10px;font-style:normal;font-weight:900;white-space:nowrap}
.wv-customer-phone{color:#526f87;font-size:13px;font-weight:800}
.wv-customer-location-badge{display:inline-flex!important;align-items:center;gap:4px;width:max-content;color:#3d7f67!important;font-size:10px!important;font-weight:850!important}
.wv-customer-location-badge svg{width:12px;height:12px}
.wv-customer-metric{display:grid;gap:3px;min-width:0}
.wv-customer-metric small{color:#7a8fa1!important;font-size:9px!important;font-weight:900!important;letter-spacing:.05em}
.wv-customer-metric b{overflow:hidden;color:#173e61;font-size:12px!important;text-overflow:ellipsis;white-space:nowrap}
.wv-panel[data-water-panel="customers"] .wv-row-actions{gap:5px;flex-wrap:nowrap}
.wv-panel[data-water-panel="customers"] .wv-row-actions button{min-height:34px;padding:6px 8px;font-size:11px}
.wv-panel[data-water-panel="customers"] .wv-row-actions .wv-customer-sell{border-color:#1688db;background:linear-gradient(135deg,#0877d8,#09a9cf);color:#fff;box-shadow:0 5px 12px rgba(8,119,216,.13)}

.wv-customer-dialog{width:min(760px,calc(100% - 28px))}
.wv-customer-dialog form{gap:14px;padding:26px 28px}
.wv-customer-dialog .wv-customer-id-note{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #cfe3ef;border-radius:12px;background:linear-gradient(180deg,#f5fbff,#eef7fb)}
.wv-customer-dialog .wv-customer-id-note>div{display:grid;gap:1px}
.wv-customer-dialog .wv-customer-id-note small{color:#658096;font-size:10px;font-weight:900;letter-spacing:.08em}
.wv-customer-dialog .wv-customer-id-note strong{color:#0a67a3;font-size:22px}
.wv-customer-dialog .wv-customer-id-note>span{color:#6e8597;font-size:12px;text-align:right}
.wv-customer-dialog .wv-customer-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wv-customer-dialog .wv-customer-quick-grid .full{grid-column:1/-1}
.wv-customer-dialog label{display:grid;gap:5px;color:#355a75;font-size:13px;font-weight:850}
.wv-customer-dialog input{min-height:46px;border-radius:10px;font-size:14px}
.wv-customer-dialog [data-customer-phone-error]{min-height:14px;color:#b42318;font-size:11px;font-weight:800}
.wv-customer-duplicate{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #edcf93;border-radius:11px;background:#fff9ed}
.wv-customer-duplicate>div{display:grid;gap:2px}
.wv-customer-duplicate strong{color:#865812;font-size:12px}
.wv-customer-duplicate span{color:#7d6d54;font-size:11px}
.wv-customer-duplicate button{min-height:34px;padding:6px 9px;border:1px solid #dfba72;border-radius:8px;background:#fff;color:#875b19;font-size:11px;font-weight:900}
.wv-customer-delivery-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wv-customer-delivery-tools>section{display:grid;gap:9px;padding:12px;border:1px solid #dce8ef;border-radius:12px;background:#fbfdff}
.wv-customer-tool-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.wv-customer-tool-head>div{display:grid;gap:1px}
.wv-customer-tool-head strong{color:#214965;font-size:13px}
.wv-customer-tool-head small{color:#8799a7;font-size:10px}
.wv-customer-tool-head button{min-height:38px;padding:7px 10px;font-size:12px}
.wv-customer-photo-preview{display:flex;align-items:center;gap:10px}
.wv-customer-photo-preview img{width:86px;height:64px;border:1px solid #dbe7ee;border-radius:9px;object-fit:cover;background:#eef5f8}
.wv-customer-photo-preview button{padding:5px 7px;border:0;background:transparent;color:#9b3a43;font-size:11px;font-weight:900}
.wv-customer-form-actions{margin-top:2px}
.wv-customer-form-actions button{min-width:130px;min-height:46px}

.wv-customer-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.wv-customer-detail-grid>section{padding:13px 14px;border:1px solid #dfe9ef;border-radius:12px;background:#fbfdff}
.wv-customer-detail-grid>section.delivery{grid-column:1/-1}
.wv-customer-detail-grid h3,.wv-customer-history-title{margin:0 0 10px;color:#0871c8;font-size:11px;font-weight:950;letter-spacing:.09em}
.wv-customer-detail-grid dl{display:grid;gap:8px;margin:0}
.wv-customer-detail-grid dl>div{display:grid;gap:2px}
.wv-customer-detail-grid dt{color:#7c8fa0;font-size:10px;font-weight:850}
.wv-customer-detail-grid dd{margin:0;color:#183f60;font-size:13px;font-weight:800;word-break:break-word}
.wv-customer-delivery-detail{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.wv-customer-delivery-detail>div{min-height:72px;padding:9px;border:1px dashed #cfdee7;border-radius:10px;background:#fff}
.wv-customer-detail-photo img{display:block;width:100%;max-width:170px;height:100px;border-radius:8px;object-fit:cover}
.wv-customer-location-ready{display:inline-flex;align-items:center;gap:6px;color:#28795c;font-size:12px;font-weight:900}
.wv-customer-location-ready svg{width:16px;height:16px}
.wv-customer-detail-empty{color:#8496a5;font-size:12px}
.wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer{grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 14px}
.wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer article:nth-child(3){grid-column:auto}

@media(max-width:1180px){
  .wv-panel[data-water-panel="customers"] .wv-customer-list>.wv-customer-row{grid-template-columns:44px minmax(220px,1.4fr) minmax(130px,.8fr) 70px auto}
  .wv-panel[data-water-panel="customers"] .wv-customer-row>.wv-customer-metric:nth-of-type(3){display:none}
}
@media(max-width:820px){
  .wv-panel[data-water-panel="customers"] .wv-customers-heading{align-items:flex-start}
  .wv-panel[data-water-panel="customers"] .wv-customer-list>.wv-customer-row{grid-template-columns:42px minmax(0,1fr);gap:9px;padding:13px}
  .wv-panel[data-water-panel="customers"] .wv-customer-row>.wv-customer-metric{display:grid!important;grid-column:auto;padding:8px 9px;border-radius:9px;background:#f6f9fb}
  .wv-panel[data-water-panel="customers"] .wv-customer-row>.wv-customer-metric:nth-of-type(2){grid-column:1/2}
  .wv-panel[data-water-panel="customers"] .wv-customer-row>.wv-customer-metric:nth-of-type(3){grid-column:2/3}
  .wv-panel[data-water-panel="customers"] .wv-customer-row>.wv-customer-metric:nth-of-type(4){grid-column:1/3}
  .wv-panel[data-water-panel="customers"] .wv-customer-list .wv-row-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .wv-panel[data-water-panel="customers"] .wv-row-actions button{justify-content:center;min-height:40px}
  .wv-customer-dialog .wv-customer-quick-grid,.wv-customer-delivery-tools,.wv-customer-detail-grid,.wv-customer-delivery-detail{grid-template-columns:1fr}
  .wv-customer-dialog .wv-customer-quick-grid .full,.wv-customer-detail-grid>section.delivery{grid-column:auto}
  .wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .wv-panel[data-water-panel="customers"] .wv-customer-kpis{grid-template-columns:1fr 1fr}
  .wv-panel[data-water-panel="customers"] .wv-customer-search-card{padding:12px}
  .wv-customer-dialog form{padding:22px 16px}
  .wv-customer-dialog .wv-customer-id-note{align-items:flex-start;flex-direction:column;gap:4px}
  .wv-customer-dialog .wv-customer-id-note>span{text-align:left}
  .wv-customer-tool-head{align-items:flex-start;flex-direction:column}
  .wv-customer-tool-head button{width:100%}
  .wv-customer-form-actions{display:grid;grid-template-columns:1fr}
  .wv-customer-form-actions button{width:100%}
}


/* v23.1 — localização por link compartilhado */
.wv-customer-location-link{display:grid;gap:6px;margin-top:10px;color:#355a75;font-size:13px;font-weight:850}
.wv-customer-location-link input{width:100%;min-height:44px;padding:0 12px;border:1px solid #ccdfe9;border-radius:11px;background:#fff;color:#153b61;font-size:14px;outline:0}
.wv-customer-location-link input:focus{border-color:#3a9ee0;box-shadow:0 0 0 3px rgba(58,158,224,.10)}
.wv-customer-location-link small{color:#7b8fa0;font-size:11px;font-weight:700;line-height:1.35}
.wv-customer-location-ready{text-decoration:none}
.wv-customer-location-ready:hover{text-decoration:underline}


/* v23.2 — faixas de atacado clicáveis + quantidade digitável no pedido */
.wv-panel[data-water-panel="sale"] .wv-product-option-group{display:grid;gap:6px;min-width:0}
.wv-panel[data-water-panel="sale"] .wv-product-tier-actions{display:grid;gap:5px}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action{
  display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:42px;padding:7px 9px;
  border:1px solid #c9e1ee;border-radius:10px;background:#f6fbfe;color:#174b70;text-align:left;cursor:pointer;transition:.16s ease;
}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action:hover{border-color:#35a8df;background:#edf8fe;box-shadow:0 4px 12px rgba(20,110,164,.07)}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action>span{display:grid;gap:1px;min-width:0}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action b{font-size:12px;line-height:1.1;color:#0a669f}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action small{font-size:11px;line-height:1.15;color:#74899b}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action>strong{white-space:nowrap;font-size:15px;color:#0c3d6b}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action.is-unavailable{opacity:.55}
.wv-panel[data-water-panel="sale"] .wv-price-tier-note{color:#0a6f9c!important;font-weight:900!important}
.wv-panel[data-water-panel="sale"] .wv-stepper input[data-cart-quantity]{
  width:48px;height:30px;padding:0 4px;border:0;border-radius:7px;background:#fff;color:#123d69;text-align:center;font-size:14px;font-weight:900;outline:0;
  appearance:textfield;-moz-appearance:textfield;
}
.wv-panel[data-water-panel="sale"] .wv-stepper input[data-cart-quantity]::-webkit-inner-spin-button,
.wv-panel[data-water-panel="sale"] .wv-stepper input[data-cart-quantity]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.wv-panel[data-water-panel="sale"] .wv-stepper input[data-cart-quantity]:focus{box-shadow:0 0 0 2px rgba(8,125,213,.16)}
@media(max-width:430px){.wv-panel[data-water-panel="sale"] .wv-stepper input[data-cart-quantity]{width:44px}}


/* v23.3 — Clientes: listagem operacional compacta (somente tela principal) */
.wv-panel[data-water-panel="customers"] .wv-customers-heading{align-items:flex-end;margin-bottom:14px}
.wv-panel[data-water-panel="customers"] .wv-customers-heading h1{font-size:clamp(2.1rem,3vw,2.55rem)}
.wv-panel[data-water-panel="customers"] .wv-customers-heading p{font-size:15px}
.wv-panel[data-water-panel="customers"] .wv-customers-heading>.wv-primary{min-height:46px;padding-inline:16px;font-size:15px}
.wv-panel[data-water-panel="customers"] .wv-customer-toolbar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:10px;padding:12px 13px;border-radius:15px;overflow:visible}
.wv-panel[data-water-panel="customers"] .wv-customer-toolbar .wv-search{max-width:none}
.wv-panel[data-water-panel="customers"] .wv-customer-toolbar .wv-search input{min-height:48px;padding-left:46px;border-radius:11px;background:#fbfdff;font-size:16px}
.wv-panel[data-water-panel="customers"] .wv-customer-toolbar .wv-search>span{left:15px}
.wv-panel[data-water-panel="customers"] .wv-customer-toolbar .wv-search svg{width:20px;height:20px}
.wv-customer-filter-menu{position:relative;z-index:30}
.wv-customer-filter-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-width:118px;min-height:48px;padding:0 13px;list-style:none;cursor:pointer;font-size:15px}
.wv-customer-filter-menu>summary::-webkit-details-marker{display:none}
.wv-customer-filter-menu>summary svg{width:16px;height:16px;transition:transform .16s ease}
.wv-customer-filter-menu[open]>summary svg{transform:rotate(90deg)}
.wv-customer-filter-popover{position:absolute;top:calc(100% + 7px);right:0;display:grid;gap:4px;width:180px;padding:7px;border:1px solid #d5e5ef;border-radius:12px;background:#fff;box-shadow:0 16px 38px rgba(16,57,91,.15)}
.wv-customer-filter-popover button{min-height:38px;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:#345b78;font-size:14px;font-weight:800;text-align:left;cursor:pointer}
.wv-customer-filter-popover button:hover,.wv-customer-filter-popover button.active{background:#edf7fd;color:#0871c8}
.wv-customer-summary{display:flex;align-items:center;gap:18px;min-height:62px;margin-bottom:10px;padding:10px 16px;border:1px solid #dce8ef;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(20,63,95,.03)}
.wv-customer-summary>div{display:flex;align-items:baseline;gap:7px;min-width:0}
.wv-customer-summary small{color:#71879b;font-size:13px;font-weight:850}
.wv-customer-summary strong{color:#123c65;font-size:18px;font-weight:950;white-space:nowrap}
.wv-customer-summary i{width:4px;height:4px;flex:0 0 4px;border-radius:999px;background:#9db2c1}
.wv-panel[data-water-panel="customers"] .wv-customer-list{display:grid;gap:7px}
.wv-panel[data-water-panel="customers"] .wv-customer-list>.wv-customer-row{position:relative;display:grid;grid-template-columns:42px minmax(260px,1.25fr) minmax(275px,1fr) auto;align-items:center;gap:14px;min-height:82px;padding:12px 14px;border:1px solid #dce8ef;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(20,63,95,.025);overflow:visible;transition:border-color .16s ease,box-shadow .16s ease}
.wv-panel[data-water-panel="customers"] .wv-customer-list>.wv-customer-row:hover{border-color:#9ccde9;box-shadow:0 7px 18px rgba(20,88,133,.055)}
.wv-panel[data-water-panel="customers"] .wv-avatar{width:40px;height:40px;border-radius:12px;font-size:16px}
.wv-panel[data-water-panel="customers"] .wv-customer-identity{gap:4px}
.wv-panel[data-water-panel="customers"] .wv-customer-identity>div{gap:8px;flex-wrap:wrap}
.wv-panel[data-water-panel="customers"] .wv-customer-identity strong{font-size:17px;line-height:1.2}
.wv-panel[data-water-panel="customers"] .wv-customer-identity .wv-water-id{padding:4px 8px;font-size:13px}
.wv-panel[data-water-panel="customers"] .wv-customer-phone{font-size:15px;font-weight:750}
.wv-customer-commerce{display:grid;grid-template-columns:minmax(140px,1fr) minmax(120px,.72fr);align-items:center;gap:15px;min-width:0}
.wv-customer-commerce>div{display:grid;gap:2px;min-width:0}
.wv-customer-commerce small{color:#74899b;font-size:13px;font-weight:800}
.wv-customer-commerce b{overflow:hidden;color:#244967;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.wv-customer-commerce-total{justify-items:end;text-align:right}
.wv-customer-commerce-total span{color:#657f94;font-size:14px;font-weight:800}
.wv-customer-commerce-total strong{color:#123c65;font-size:18px;font-weight:950;white-space:nowrap}
.wv-customer-no-purchases{color:#71879a;font-size:15px;font-weight:800}
.wv-customer-actions{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:max-content}
.wv-customer-actions>button,.wv-customer-more>summary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:7px 11px;border:1px solid #cfe0ea;border-radius:10px;background:#fff;color:#174b70;font-size:15px;font-weight:900;cursor:pointer}
.wv-customer-actions>button svg,.wv-customer-more>summary svg{width:16px;height:16px}
.wv-customer-actions .wv-customer-sell{border-color:#1688db;background:linear-gradient(135deg,#0877d8,#09a9cf);color:#fff;box-shadow:0 5px 12px rgba(8,119,216,.13)}
.wv-customer-actions .wv-customer-view:hover,.wv-customer-more>summary:hover{border-color:#8bc5e6;background:#f4faff}
.wv-customer-more{position:relative;z-index:25}
.wv-customer-more>summary{width:40px;padding:0;list-style:none}
.wv-customer-more>summary::-webkit-details-marker{display:none}
.wv-customer-more>div{position:absolute;top:calc(100% + 6px);right:0;display:grid;gap:3px;min-width:142px;padding:6px;border:1px solid #d5e5ef;border-radius:11px;background:#fff;box-shadow:0 14px 34px rgba(16,57,91,.16)}
.wv-customer-more button{display:flex;align-items:center;gap:8px;width:100%;min-height:38px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:#355b77;font-size:14px;font-weight:850;text-align:left;cursor:pointer}
.wv-customer-more button:hover{background:#f1f7fb}
.wv-customer-more button.danger{color:#b42318}
.wv-customer-more button.danger:hover{background:#fff1f1}
.wv-customer-more button svg{width:16px;height:16px}

@media(max-width:1180px){
  .wv-panel[data-water-panel="customers"] .wv-customer-list>.wv-customer-row{grid-template-columns:40px minmax(220px,1.1fr) minmax(240px,.95fr) auto;gap:11px}
  .wv-customer-actions>button span{display:none}
  .wv-customer-actions>button{width:40px;padding:0}
}
@media(max-width:860px){
  .wv-panel[data-water-panel="customers"] .wv-customers-heading{align-items:flex-start}
  .wv-customer-summary{gap:12px;overflow-x:auto;scrollbar-width:thin}
  .wv-customer-summary>div{min-width:max-content}
  .wv-panel[data-water-panel="customers"] .wv-customer-list>.wv-customer-row{grid-template-columns:40px minmax(0,1fr);gap:8px 10px;padding:13px}
  .wv-panel[data-water-panel="customers"] .wv-customer-identity{grid-column:2}
  .wv-customer-commerce,.wv-customer-no-purchases{grid-column:1/-1;margin-top:3px;padding-top:10px;border-top:1px solid #edf2f5}
  .wv-customer-actions{grid-column:1/-1;justify-content:stretch;margin-top:2px}
  .wv-customer-actions>button{width:auto;flex:1;padding:7px 11px}
  .wv-customer-actions>button span{display:inline}
  .wv-customer-more{flex:0 0 auto}
  .wv-customer-more>summary{width:42px}
}
@media(max-width:560px){
  .wv-panel[data-water-panel="customers"] .wv-customers-heading{gap:12px}
  .wv-panel[data-water-panel="customers"] .wv-customers-heading>.wv-primary{width:100%}
  .wv-panel[data-water-panel="customers"] .wv-customer-toolbar{grid-template-columns:1fr;padding:11px}
  .wv-customer-filter-menu>summary{width:100%}
  .wv-customer-filter-popover{left:0;right:0;width:auto}
  .wv-customer-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;padding:11px 13px;overflow:visible}
  .wv-customer-summary i{display:none}
  .wv-customer-summary>div{justify-content:space-between;padding:4px 0}
  .wv-panel[data-water-panel="customers"] .wv-customer-identity strong{font-size:16px}
  .wv-panel[data-water-panel="customers"] .wv-customer-phone{font-size:15px}
  .wv-customer-commerce{grid-template-columns:1fr auto;gap:10px}
  .wv-customer-commerce-total strong{font-size:17px}
  .wv-customer-actions{display:grid;grid-template-columns:1fr 1fr auto}
  .wv-customer-actions>button{width:100%}
  .wv-customer-more>div{right:0;bottom:calc(100% + 6px);top:auto}
}


/* v25.11.92 — modal Cliente: alinhamento, dropdown canônico, descrições unificadas e legibilidade refinada. */
.wv-customer-dialog.is-new-customer{
  width:min(920px,calc(100% - 28px));
  max-height:none;
  border-radius:24px;
  box-shadow:0 28px 90px rgba(4,33,64,.28);
}
.wv-customer-dialog.is-new-customer form{
  gap:15px;
  max-height:none;
  overflow:visible;
  padding:24px 26px 20px;
  border-radius:inherit;
  background:#fff8fb;
}
.wv-customer-dialog.is-new-customer .wv-dialog-close{
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border:1px solid #cfe0eb;
  border-radius:12px;
  background:#f4f9fd;
  color:#0d3f82;
}
.wv-customer-dialog.is-new-customer .wv-dialog-close:hover,
.wv-customer-dialog.is-new-customer .wv-dialog-close:focus-visible{
  border-color:#b8d2e4;
  background:#ecf6fc;
  color:#0a67aa;
}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:16px;
  padding-right:62px;
}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-head-main{
  display:flex;
  align-items:center;
  gap:15px;
  min-width:0;
}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-icon{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:50%;
  background:linear-gradient(180deg,#ffeaf2 0%,#ffdfe9 100%);
  color:#f03f91;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.68);
}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-icon svg{width:24px;height:24px;stroke-width:2.2}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-title-wrap{display:grid;gap:2px;min-width:0}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-head h2{
  margin:0;
  color:#0a3770;
  font:900 clamp(1.95rem,3vw,2.5rem)/1.05 "Nunito",sans-serif;
  letter-spacing:-.035em;
}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-head p{margin:0;color:#71879a;font:750 13px/1.4 "Nunito",sans-serif}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-head-side{display:flex;justify-content:flex-end}
.wv-customer-dialog.is-new-customer .wv-customer-dialog-head-side{background:transparent;border:0;padding:0}
.wv-customer-dialog.is-new-customer .wv-customer-id-note{
  display:flex;
  align-items:stretch;
  justify-content:flex-end;
  gap:10px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.wv-customer-dialog.is-new-customer .wv-customer-id-card{
  display:grid;
  gap:4px;
  width:118px;
  min-width:118px;
  min-height:78px;
  box-sizing:border-box;
  align-content:center;
  justify-items:center;
  text-align:center;
  padding:10px 14px;
  border:1px solid #d4e1eb;
  border-radius:16px;
  background:#fff;
  box-shadow:none;
}
.wv-customer-dialog.is-new-customer .wv-customer-id-card small{color:#5e7b90;font:900 11px/1.2 "Nunito",sans-serif;letter-spacing:.09em}
.wv-customer-dialog.is-new-customer .wv-customer-id-card strong{color:#0a3f86;font:900 1.86rem/1 "Nunito",sans-serif;letter-spacing:-.04em}
.wv-customer-dialog.is-new-customer .wv-customer-id-card.is-connection strong{font-size:1.74rem}
.wv-customer-dialog.is-new-customer .wv-customer-edit-notice{margin-top:-2px}
.wv-customer-dialog.is-new-customer .wv-customer-quick-grid{gap:15px 16px}
.wv-customer-dialog.is-new-customer .wv-customer-quick-grid>label{display:grid;align-self:start;align-content:start;gap:8px;min-width:0;color:#183f72}
.wv-customer-dialog.is-new-customer .wv-customer-field-label{display:flex;align-items:center;min-height:22px;color:#123d72;font:900 16.5px/1.2 "Nunito",sans-serif}
.wv-customer-dialog.is-new-customer .wv-required-indicator{display:inline-flex;align-items:center;justify-content:center;margin-left:4px;color:#d92d20;font:950 16px/1 "Nunito",sans-serif;cursor:help}
.wv-customer-dialog.is-new-customer [data-customer-phone-error]:empty{display:none}
/* Descrições do Caixa usam o portal global de tooltip para manter um único padrão visual e evitar cortes. */
.wv-customer-dialog.is-new-customer input,
.wv-customer-dialog.is-new-customer select,
.wv-customer-dialog.is-new-customer textarea{
  height:56px;
  min-height:56px;
  box-sizing:border-box;
  padding:0 16px;
  border:1px solid #cdddea;
  border-radius:16px;
  background:#fff;
  color:#173b60;
  font:800 17px/1.25 "Nunito",sans-serif;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
  outline:0;
}
.wv-customer-dialog.is-new-customer textarea{min-height:90px;padding:12px 15px;resize:vertical}
.wv-customer-dialog.is-new-customer input::placeholder,
.wv-customer-dialog.is-new-customer textarea::placeholder{color:#8ea2b6}
.wv-customer-dialog.is-new-customer input:focus,
.wv-customer-dialog.is-new-customer select:focus,
.wv-customer-dialog.is-new-customer textarea:focus{border-color:#2c99dc;box-shadow:0 0 0 3px rgba(44,153,220,.10);background:#fff}
.wv-customer-dialog.is-new-customer [data-customer-phone-error]{min-height:15px;margin-top:-1px;color:#b42318;font-size:12px;font-weight:850}
.wv-customer-dialog.is-new-customer .wv-customer-address-field{gap:8px}
.wv-customer-dialog.is-new-customer .wv-customer-address-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  height:56px;
  min-height:56px;
  box-sizing:border-box;
  padding:0 8px 0 0;
  border:1px solid #cdddea;
  border-radius:16px;
  background:#fff;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.wv-customer-dialog.is-new-customer .wv-customer-address-shell:focus-within{border-color:#2c99dc;box-shadow:0 0 0 3px rgba(44,153,220,.10);background:#fff}
.wv-customer-dialog.is-new-customer .wv-customer-address-shell input[name="address"]{
  height:54px;
  min-height:54px;
  padding:0 16px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.wv-customer-dialog.is-new-customer .wv-customer-address-shell input[name="address"]:focus{box-shadow:none}
.wv-customer-dialog.is-new-customer .wv-customer-address-tools{display:flex;align-items:center;gap:8px;padding-right:4px}
.wv-customer-dialog.is-new-customer .wv-customer-icon-button,
.wv-customer-detail-inline-action{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid #cfe0eb;
  border-radius:12px;
  background:#f4f9ff;
  color:#0f4e98;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease;
}
.wv-customer-dialog.is-new-customer .wv-customer-icon-button svg,
.wv-customer-detail-inline-action svg{width:19px;height:19px}
.wv-customer-dialog.is-new-customer .wv-customer-icon-button:hover,
.wv-customer-dialog.is-new-customer .wv-customer-icon-button:focus-visible,
.wv-customer-detail-inline-action:hover,
.wv-customer-detail-inline-action:focus-visible{border-color:#b8d5e7;background:#edf6ff;box-shadow:0 6px 14px rgba(11,87,146,.08);color:#0a63a8;outline:none;transform:translateY(-1px)}
.wv-customer-dialog.is-new-customer .wv-customer-icon-button.has-value{background:#eef8ff;border-color:#a9d0ea;color:#0a63a8}
.wv-customer-dialog.is-new-customer .wv-customer-inline-extras{display:grid;gap:10px}
.wv-customer-dialog.is-new-customer .wv-customer-photo-preview,
.wv-customer-dialog.is-new-customer .wv-customer-location-editor{
  padding:12px 13px;
  border:1px solid #deebf3;
  border-radius:14px;
  background:#fff;
}
.wv-customer-dialog.is-new-customer .wv-customer-photo-preview{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
.wv-customer-dialog.is-new-customer .wv-customer-photo-preview img{width:92px;height:68px;border-radius:10px;object-fit:cover}
.wv-customer-dialog.is-new-customer .wv-customer-photo-preview button{justify-self:start;padding:8px 12px;border:1px solid #d6e5ef;border-radius:10px;background:#fff;color:#15436f;font:850 12px/1.2 "Nunito",sans-serif}
.wv-customer-dialog.is-new-customer .wv-customer-location-editor{display:grid;gap:7px}
.wv-customer-dialog.is-new-customer .wv-customer-location-editor>span{color:#183f72;font-size:14px;font-weight:850}
.wv-customer-dialog.is-new-customer .wv-customer-location-editor input{min-height:48px;font-size:15px}
.wv-customer-dialog .wv-customer-type-field{position:relative;display:grid;align-self:start;align-content:start;gap:8px;min-width:0}
.wv-customer-dialog .wv-customer-type-select{position:relative;min-width:0}
.wv-customer-dialog .wv-customer-type-native{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;border:0!important;opacity:0!important;pointer-events:none!important}
.wv-customer-dialog .wv-customer-type-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:56px;padding:0 16px;border:1px solid #cdddea;border-radius:16px;background:#fff;color:#173b60;font:850 16px/1.2 "Nunito",sans-serif;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.wv-customer-dialog .wv-customer-type-trigger:hover,.wv-customer-dialog .wv-customer-type-trigger:focus-visible,.wv-customer-dialog .wv-customer-type-trigger[aria-expanded="true"]{border-color:#2c99dc;box-shadow:0 0 0 3px rgba(44,153,220,.10);outline:none}
.wv-customer-dialog .wv-customer-type-trigger i{display:grid;place-items:center;width:20px;height:20px;color:#0a5fa7;transition:transform .18s ease}
.wv-customer-dialog .wv-customer-type-trigger i svg{width:18px;height:18px}
.wv-customer-dialog .wv-customer-type-trigger[aria-expanded="true"] i{transform:rotate(90deg)}
.wv-customer-dialog .wv-customer-type-menu{position:absolute;z-index:45;top:calc(100% + 8px);left:0;right:0;display:grid;gap:4px;padding:6px;border:1px solid #d2e2ec;border-radius:14px;background:#fff;box-shadow:0 18px 38px rgba(18,55,87,.16);transform-origin:top;animation:wvCustomerTypeDrop .16s cubic-bezier(.2,.7,.2,1)}
.wv-customer-dialog .wv-customer-type-menu[hidden]{display:none!important}
.wv-customer-dialog .wv-customer-type-menu button{display:grid;gap:2px;width:100%;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:#173f64;text-align:left;cursor:pointer}
.wv-customer-dialog .wv-customer-type-menu button:hover,.wv-customer-dialog .wv-customer-type-menu button[aria-selected="true"]{background:#eef7fd;color:#0b5597}
.wv-customer-dialog .wv-customer-type-menu strong{font:900 14px/1.2 "Nunito",sans-serif}
.wv-customer-dialog .wv-customer-type-menu small{color:#70869a;font:750 12px/1.3 "Nunito",sans-serif}
@keyframes wvCustomerTypeDrop{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.wv-customer-dialog.is-new-customer .wv-reseller-extra-card{display:grid;gap:12px;padding:14px 16px;border:1px solid #d6e7f0;border-radius:18px;background:#f5fbff}
.wv-customer-dialog.is-new-customer .wv-reseller-extra-card[hidden]{display:none!important}
.wv-customer-dialog.is-new-customer .wv-reseller-extra-card .wv-form-grid{gap:12px 14px}
.wv-customer-dialog.is-new-customer .wv-customer-form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:4px;padding-top:16px;border-top:1px solid #ecd9e2}
.wv-customer-dialog.is-new-customer .wv-customer-form-actions button{min-width:158px;min-height:52px;border-radius:14px;font-size:15px}
.wv-customer-dialog.is-new-customer .wv-customer-form-actions .wv-secondary{background:#fff;border-color:#cbddea;color:#173b60}
.wv-customer-dialog.is-new-customer .wv-customer-form-actions .wv-primary{background:#0878dc;border-color:#0878dc;color:#fff;box-shadow:0 10px 24px rgba(8,119,216,.18);transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}
.wv-customer-dialog.is-new-customer .wv-customer-form-actions .wv-primary:hover,
.wv-customer-dialog.is-new-customer .wv-customer-form-actions .wv-primary:focus-visible{background:#15956d;border-color:#15956d;color:#fff;box-shadow:0 10px 22px rgba(21,149,109,.24);outline:none}
.wv-customer-detail-address-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.wv-customer-detail-inline-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.wv-customer-detail-inline-action{color:#0f4e98;text-decoration:none}
.wv-customer-detail-inline-action[disabled]{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.wv-customer-detail-photo-panel{margin-top:12px}
.wv-customer-detail-photo-panel .wv-customer-detail-photo img{width:min(220px,100%);height:auto;border-radius:12px;display:block}
@media(max-width:980px){
  .wv-customer-dialog.is-new-customer{width:min(100% - 22px,860px)}
  .wv-customer-dialog.is-new-customer .wv-customer-dialog-head{grid-template-columns:1fr;padding-right:62px}
  .wv-customer-dialog.is-new-customer .wv-customer-dialog-head-side{justify-content:flex-start}
}
@media(max-width:820px){
  .wv-customer-dialog.is-new-customer .wv-customer-quick-grid{grid-template-columns:1fr}
  .wv-customer-dialog.is-new-customer .wv-customer-quick-grid .full{grid-column:auto}
  .wv-customer-detail-address-row{flex-direction:column}
}
@media(max-width:560px){
  .wv-customer-dialog.is-new-customer{width:min(100% - 14px,920px);max-height:94vh;border-radius:18px}
  .wv-customer-dialog.is-new-customer form{gap:14px;max-height:94vh;overflow:auto;padding:20px 14px 16px}
  .wv-customer-dialog.is-new-customer .wv-dialog-close{top:12px;right:12px;width:38px;height:38px}
  .wv-customer-dialog.is-new-customer .wv-customer-dialog-head{gap:14px;padding-right:46px}
  .wv-customer-dialog.is-new-customer .wv-customer-dialog-head-main{align-items:flex-start;gap:12px}
  .wv-customer-dialog.is-new-customer .wv-customer-dialog-icon{width:48px;height:48px;flex-basis:48px}
  .wv-customer-dialog.is-new-customer .wv-customer-dialog-head h2{font-size:2rem}
  .wv-customer-dialog.is-new-customer .wv-customer-id-note{grid-auto-flow:row}
  .wv-customer-dialog.is-new-customer .wv-customer-id-card{min-width:0}
  .wv-customer-dialog.is-new-customer .wv-customer-address-shell{grid-template-columns:1fr;gap:0;padding:0 0 10px}
  .wv-customer-dialog.is-new-customer .wv-customer-address-tools{justify-content:flex-end;padding:0 10px 0}
  .wv-customer-dialog.is-new-customer .wv-customer-photo-preview{grid-template-columns:1fr}
  .wv-customer-dialog.is-new-customer .wv-customer-form-actions{display:grid;grid-template-columns:1fr}
  .wv-customer-dialog.is-new-customer .wv-customer-form-actions button{width:100%;min-width:0}
  .wv-customer-dialog.is-new-customer .wv-customer-form-actions .wv-primary{grid-row:1}
}

.wv-customer-detail-loading-card{display:grid;gap:5px;padding:16px 18px;border:1px solid #dce8ef;border-radius:14px;background:#f8fbfd;color:#617c92}
.wv-customer-detail-loading-card strong{color:#173f64;font-size:16px}.wv-customer-detail-loading-card span{font-size:14px}.wv-customer-detail-loading-card small{margin-top:4px;color:#7c91a2;font-size:13px}

/* v23.5 — Ver/Editar cliente + auditoria cadastral */
.wv-customer-dialog.is-edit-customer{
  width:min(820px,calc(100% - 28px));
  border-radius:22px;
  box-shadow:0 28px 90px rgba(3,35,69,.30);
}
.wv-customer-dialog.is-edit-customer form{
  gap:16px;
  padding:30px 32px 26px;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.wv-customer-dialog.is-edit-customer .wv-dialog-close{
  top:16px;right:16px;width:38px;height:38px;border:1px solid #dbe7ee;border-radius:11px;background:#f5f9fb;color:#58748a;
}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-head{display:grid;gap:5px;padding-right:52px}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-head>span{color:#0874c9;font-size:13px;font-weight:950;letter-spacing:.13em}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-head h2{margin:0;color:#0b3968;font:900 clamp(2rem,4vw,2.35rem)/1.05 "Nunito",sans-serif;letter-spacing:-.035em}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-head p{margin:1px 0 0;color:#6d8296;font-size:14px;line-height:1.45}
.wv-customer-edit-notice{display:flex;align-items:flex-start;gap:11px;padding:12px 14px;border:1px solid #ead49b;border-radius:13px;background:#fff9eb;color:#76551f}
.wv-customer-edit-notice[hidden]{display:none!important}
.wv-customer-edit-notice>svg{width:21px;height:21px;flex:0 0 21px;margin-top:1px;color:#b27814}
.wv-customer-edit-notice>div{display:grid;gap:2px}
.wv-customer-edit-notice strong{font-size:14px}
.wv-customer-edit-notice span{font-size:13px;line-height:1.35;color:#8a6b35}
.wv-customer-dialog.is-edit-customer .wv-customer-id-note{min-height:70px;padding:13px 16px;border:1px solid #c9e0ed;border-radius:14px;background:linear-gradient(135deg,#f5fbff,#edf8fd)}
.wv-customer-dialog.is-edit-customer .wv-customer-id-note small{font-size:12px;letter-spacing:.1em}
.wv-customer-dialog.is-edit-customer .wv-customer-id-note strong{font-size:28px;line-height:1;color:#0875c7}
.wv-customer-dialog.is-edit-customer .wv-customer-id-note>span{max-width:285px;font-size:13px;line-height:1.38}
.wv-customer-dialog.is-edit-customer .wv-customer-quick-grid{gap:14px 16px}
.wv-customer-dialog.is-edit-customer label{gap:7px;color:#294e6b;font-size:15px;font-weight:850}
.wv-customer-dialog.is-edit-customer input{min-height:50px;padding-inline:14px;border:1px solid #cbdde8;border-radius:12px;background:#fff;color:#173b60;font-size:16px}
.wv-customer-dialog.is-edit-customer input:focus{border-color:#2c99dc;box-shadow:0 0 0 3px rgba(44,153,220,.10);outline:0}
.wv-customer-dialog.is-edit-customer [data-customer-phone-error]{min-height:16px;color:#b42318;font-size:13px}
.wv-customer-dialog.is-edit-customer .wv-customer-delivery-tools{gap:14px}
.wv-customer-dialog.is-edit-customer .wv-customer-tool-card{min-height:124px;padding:15px;border:1px solid #d8e6ee;border-radius:14px;background:#fbfdff}
.wv-customer-dialog.is-edit-customer .wv-customer-tool-head strong{font-size:15px}
.wv-customer-dialog.is-edit-customer .wv-customer-tool-head small{font-size:12px}
.wv-customer-dialog.is-edit-customer .wv-customer-tool-head button{min-height:42px;padding:8px 12px;border-radius:10px;font-size:14px}
.wv-customer-dialog.is-edit-customer .wv-customer-location-link{gap:7px;margin-top:6px;font-size:14px}
.wv-customer-dialog.is-edit-customer .wv-customer-location-link input{min-height:46px;font-size:14px}
.wv-customer-dialog.is-edit-customer .wv-customer-location-link small{font-size:12px}
.wv-customer-dialog.is-edit-customer .wv-customer-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:2px;padding-top:16px;border-top:1px solid #e5edf2}
.wv-customer-dialog.is-edit-customer .wv-customer-form-actions button{min-width:150px;min-height:48px;border-radius:11px;font-size:15px}
.wv-customer-dialog.is-edit-customer .wv-customer-form-actions .wv-primary{background:linear-gradient(135deg,#0878dc,#08b7d2);box-shadow:0 9px 20px rgba(8,119,216,.18)}

/* Compatibilidade do modal de edição com a nova estrutura consolidada do cabeçalho. */
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding-right:60px}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-head-main{display:flex;align-items:center;gap:14px;min-width:0}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:linear-gradient(180deg,#edf7ff 0%,#e3f2ff 100%);color:#0875c7}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-icon svg{width:22px;height:22px;stroke-width:2.2}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-title-wrap{display:grid;gap:2px;min-width:0}
.wv-customer-dialog.is-edit-customer .wv-customer-dialog-head-side{display:flex;justify-content:flex-end}
.wv-customer-dialog.is-edit-customer .wv-customer-id-note{display:grid;grid-auto-flow:column;gap:10px;min-height:0;padding:0;border:0;background:transparent}
.wv-customer-dialog.is-edit-customer .wv-customer-id-card{display:grid;gap:3px;min-width:124px;padding:11px 14px;border:1px solid #cfe0eb;border-radius:14px;background:#fff}
.wv-customer-dialog.is-edit-customer .wv-required-indicator{display:inline-flex;align-items:center;justify-content:center;margin-left:2px;color:#d92d20;font-weight:900;cursor:help}
.wv-customer-dialog.is-edit-customer .wv-customer-address-field{gap:8px}
.wv-customer-dialog.is-edit-customer .wv-customer-address-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:0 8px 0 0;border:1px solid #cfe0eb;border-radius:12px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.wv-customer-dialog.is-edit-customer .wv-customer-address-shell:focus-within{border-color:#6bb9e6;box-shadow:0 0 0 3px rgba(8,120,209,.09)}
.wv-customer-dialog.is-edit-customer .wv-customer-address-shell input[name="address"]{min-height:50px;padding:0 13px;border:0;border-radius:0;background:transparent;box-shadow:none}
.wv-customer-dialog.is-edit-customer .wv-customer-address-shell input[name="address"]:focus{box-shadow:none}
.wv-customer-dialog.is-edit-customer .wv-customer-address-tools{display:flex;align-items:center;gap:8px;padding-right:4px}
.wv-customer-dialog.is-edit-customer .wv-customer-icon-button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #cfe0eb;border-radius:11px;background:#f4f9ff;color:#0f4e98;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}
.wv-customer-dialog.is-edit-customer .wv-customer-icon-button svg{width:18px;height:18px}
.wv-customer-dialog.is-edit-customer .wv-customer-icon-button:hover,.wv-customer-dialog.is-edit-customer .wv-customer-icon-button:focus-visible{border-color:#b8d5e7;background:#edf6ff;box-shadow:0 6px 14px rgba(11,87,146,.08);color:#0a63a8;outline:none;transform:translateY(-1px)}
.wv-customer-dialog.is-edit-customer .wv-customer-icon-button.has-value{background:#eef8ff;border-color:#a9d0ea;color:#0a63a8}
.wv-customer-dialog.is-edit-customer .wv-customer-inline-extras{display:grid;gap:10px}
.wv-customer-dialog.is-edit-customer .wv-customer-photo-preview,.wv-customer-dialog.is-edit-customer .wv-customer-location-editor{padding:12px 13px;border:1px solid #deebf3;border-radius:12px;background:#fff}
.wv-customer-dialog.is-edit-customer .wv-customer-photo-preview{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
.wv-customer-dialog.is-edit-customer .wv-customer-photo-preview img{width:92px;height:68px;border-radius:10px;object-fit:cover}
.wv-customer-dialog.is-edit-customer .wv-customer-photo-preview button{justify-self:start;padding:8px 12px;border:1px solid #d6e5ef;border-radius:10px;background:#fff;color:#15436f;font:850 12px/1.2 "Nunito",sans-serif}
.wv-customer-dialog.is-edit-customer .wv-customer-location-editor{display:grid;gap:7px}
.wv-customer-dialog.is-edit-customer .wv-customer-location-editor>span{color:#315674;font-size:14px;font-weight:850}
.wv-customer-dialog.is-edit-customer .wv-customer-location-editor input{min-height:48px;font-size:15px}
.wv-customer-dialog.is-edit-customer .wv-customer-id-card small{color:#5c7b8f;font-size:10.5px;font-weight:900;letter-spacing:.09em}
.wv-customer-dialog.is-edit-customer .wv-customer-id-card strong{color:#0875c7;font-size:1.82rem;line-height:1}
@media(max-width:820px){
  .wv-customer-dialog.is-edit-customer .wv-customer-dialog-head{grid-template-columns:1fr;padding-right:60px}
  .wv-customer-dialog.is-edit-customer .wv-customer-dialog-head-side{justify-content:flex-start}
}
@media(max-width:560px){
  .wv-customer-dialog.is-edit-customer .wv-customer-dialog-head{gap:14px;padding-right:46px}
  .wv-customer-dialog.is-edit-customer .wv-customer-dialog-head-main{align-items:flex-start;gap:12px}
  .wv-customer-dialog.is-edit-customer .wv-customer-dialog-icon{width:44px;height:44px;flex-basis:44px}
  .wv-customer-dialog.is-edit-customer .wv-customer-id-note{grid-auto-flow:row}
  .wv-customer-dialog.is-edit-customer .wv-customer-id-card{min-width:0}
  .wv-customer-dialog.is-edit-customer .wv-customer-address-shell{grid-template-columns:1fr;gap:0;padding:0 0 10px}
  .wv-customer-dialog.is-edit-customer .wv-customer-address-tools{justify-content:flex-end;padding:0 10px 0}
  .wv-customer-dialog.is-edit-customer .wv-customer-photo-preview{grid-template-columns:1fr}
}

.wv-dialog[data-dialog="customer-detail"]{width:min(900px,calc(100% - 28px))}
.wv-dialog[data-dialog="customer-detail"] .wv-dialog-static{gap:14px;padding:28px 30px 30px}
.wv-dialog[data-dialog="customer-detail"] .wv-dialog-static>span{font-size:13px;letter-spacing:.12em}
.wv-dialog[data-dialog="customer-detail"] .wv-dialog-static>h2{margin-top:-4px;font-size:clamp(2rem,4vw,2.35rem);letter-spacing:-.03em}
.wv-customer-detail-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;border:1px solid #d9e7ef;border-radius:13px;background:#f8fbfd}
.wv-customer-detail-id{display:flex;align-items:baseline;gap:8px}
.wv-customer-detail-id small{color:#6f8496;font-size:12px;font-weight:900;letter-spacing:.08em}
.wv-customer-detail-id strong{color:#0874c9;font-size:22px}
.wv-customer-detail-actions{display:flex;align-items:center;gap:8px}
.wv-customer-detail-actions button{min-height:42px;padding:8px 13px;font-size:14px}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid{grid-template-columns:1fr 1fr;gap:12px;margin:0}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid>section{padding:15px 16px;border-radius:13px;background:#fbfdff}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid h3{margin:0 0 12px;font-size:13px;letter-spacing:.09em}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid dl{gap:10px}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid dt{font-size:13px}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid dd{font-size:15px;line-height:1.38}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-photo{display:block;width:max-content;max-width:100%;text-decoration:none}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-photo img{width:150px;height:92px;border:1px solid #dbe7ee;border-radius:9px;object-fit:cover}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-empty{font-size:14px}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-location-ready{font-size:14px}
.wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0}
.wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer article{padding:11px 12px}
.wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer small{font-size:11px}
.wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer strong{font-size:16px}
.wv-customer-audit-section,.wv-customer-purchase-section{padding-top:4px}
.wv-customer-purchase-section{padding-top:15px;border-top:1px solid #e4edf2}
.wv-customer-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:10px}
.wv-customer-section-head>div{display:grid;gap:2px}
.wv-customer-section-head span{color:#0871c8;font-size:11px;font-weight:950;letter-spacing:.1em}
.wv-customer-section-head h3{margin:0;color:#173e61;font-size:18px}
.wv-customer-section-head button{font-size:13px}
.wv-customer-audit-list{display:grid;gap:8px}
.wv-customer-audit-event{padding:12px 14px;border:1px solid #dce8ef;border-radius:12px;background:#fff}
.wv-customer-audit-event>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid #edf2f5}
.wv-customer-audit-event>header>div{display:grid;gap:1px}
.wv-customer-audit-event>header strong{color:#173e61;font-size:14px}
.wv-customer-audit-event>header span{color:#758a9b;font-size:13px}
.wv-customer-audit-event>header time{color:#667e91;font-size:13px;font-weight:850;white-space:nowrap}
.wv-customer-audit-event>div{display:grid;gap:7px;padding-top:9px}
.wv-customer-audit-change{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:start;gap:10px}
.wv-customer-audit-change>strong{color:#355b77;font-size:13px}
.wv-customer-audit-change>span{display:flex;align-items:center;gap:7px;min-width:0;color:#6f8291;font-size:13px;line-height:1.35}
.wv-customer-audit-change em,.wv-customer-audit-change b{display:block;overflow-wrap:anywhere;font-style:normal;font-weight:750}
.wv-customer-audit-change em{color:#7d8e9b}
.wv-customer-audit-change b{color:#173e61}
.wv-customer-audit-change svg{width:14px;height:14px;flex:0 0 14px;color:#8aa1b2}
.wv-customer-audit-empty{padding:16px!important}
.wv-customer-purchase-section .wv-mini-table article{font-size:14px}

@media(max-width:820px){
  .wv-customer-dialog.is-edit-customer .wv-customer-quick-grid,.wv-customer-dialog.is-edit-customer .wv-customer-delivery-tools{grid-template-columns:1fr}
  .wv-customer-dialog.is-edit-customer .wv-customer-quick-grid .full{grid-column:auto}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid{grid-template-columns:1fr}
  .wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .wv-customer-dialog.is-edit-customer{width:min(100% - 16px,820px);border-radius:18px}
  .wv-customer-dialog.is-edit-customer form{gap:15px;padding:24px 16px 18px}
  .wv-customer-dialog.is-edit-customer .wv-dialog-close{top:12px;right:12px;width:36px;height:36px}
  .wv-customer-dialog.is-edit-customer .wv-customer-dialog-head{padding-right:46px}
  .wv-customer-dialog.is-edit-customer .wv-customer-dialog-head h2{font-size:30px}
  .wv-customer-dialog.is-edit-customer .wv-customer-id-note{align-items:flex-start;flex-direction:column;gap:7px;min-height:0}
  .wv-customer-dialog.is-edit-customer .wv-customer-id-note>span{max-width:none;text-align:left}
  .wv-customer-dialog.is-edit-customer .wv-customer-tool-head{align-items:flex-start;flex-direction:column}
  .wv-customer-dialog.is-edit-customer .wv-customer-tool-head button{width:100%}
  .wv-customer-dialog.is-edit-customer .wv-customer-form-actions{display:grid;grid-template-columns:1fr}
  .wv-customer-dialog.is-edit-customer .wv-customer-form-actions button{width:100%;min-width:0}
  .wv-customer-dialog.is-edit-customer .wv-customer-form-actions .wv-primary{grid-row:1}
  .wv-dialog[data-dialog="customer-detail"]{width:calc(100% - 14px)}
  .wv-dialog[data-dialog="customer-detail"] .wv-dialog-static{padding:24px 15px 18px}
  .wv-customer-detail-top{align-items:stretch;flex-direction:column}
  .wv-customer-detail-actions{display:grid;grid-template-columns:1fr 1fr}
  .wv-customer-detail-actions button{width:100%}
  .wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer{grid-template-columns:1fr 1fr}
  .wv-customer-section-head{align-items:flex-start;flex-direction:column}
  .wv-customer-audit-change{grid-template-columns:1fr;gap:3px}
  .wv-customer-audit-change>span{align-items:flex-start;flex-wrap:wrap}
  .wv-customer-audit-event>header{align-items:flex-start;flex-direction:column;gap:4px}
}

/* v23.5.1 — polimento de espaçamento do detalhe do cliente e legibilidade do histórico de compras */
.wv-dialog[data-dialog="customer-detail"] [data-customer-detail-content]{
  display:grid;
  gap:18px;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid{
  gap:16px;
}
.wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer{
  gap:12px;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-audit-list{
  gap:11px;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-audit-event{
  padding:14px 16px;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section{
  padding-top:18px;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table>article{
  grid-template-columns:minmax(145px,.85fr) minmax(260px,1.8fr) minmax(120px,.65fr);
  gap:18px;
  padding:14px 8px;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table time{
  color:#607b92;
  font-size:14px;
  line-height:1.4;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table strong{
  color:#173e61;
  font-size:15px;
  line-height:1.4;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table small{
  margin-top:3px;
  color:#70879a;
  font-size:13px;
  line-height:1.4;
}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table>article>span{
  color:#173e61;
  font-size:15px;
  font-weight:850;
  text-align:right;
}
@media(max-width:720px){
  .wv-dialog[data-dialog="customer-detail"] [data-customer-detail-content]{gap:14px}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-grid{gap:12px}
  .wv-dialog[data-dialog="customer-detail"] .wv-detail-kpis.customer{gap:10px}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table>article{
    grid-template-columns:1fr auto;
    gap:6px 12px;
    padding:14px 4px;
  }
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table>article>div{grid-column:1}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table>article time{grid-column:1/-1}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-purchase-section .wv-mini-table>article>span{grid-column:2;grid-row:2;align-self:center}
}

/* ==========================================================
   v24 — Estoque orientado a produtos
   ========================================================== */
.wv-stock-panel{display:grid;gap:22px}
.wv-stock-panel[hidden]{display:none!important}
.wv-stock-heading{margin-bottom:0}
.wv-stock-main-actions{align-items:center;flex-wrap:nowrap}
.wv-stock-main-actions .wv-primary,.wv-stock-main-actions .wv-secondary{min-height:44px;padding:0 14px;font-size:14px}
.wv-stock-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.wv-stock-summary-grid article{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:15px;min-height:114px;padding:18px 20px;border:1px solid #d6e6f0;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(22,67,104,.045)}
.wv-stock-summary-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#eaf5ff;color:#0b74d1}
.wv-stock-summary-icon.warning{background:#fff3e3;color:#e27618}.wv-stock-summary-icon.success{background:#e8f8f2;color:#149267}
.wv-stock-summary-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.wv-stock-summary-grid article>div{display:grid;gap:3px;min-width:0}.wv-stock-summary-grid small{font-size:15px;line-height:1.2;color:#234d79;font-weight:800}.wv-stock-summary-grid strong{font-size:31px;line-height:1;color:#0b2f67}.wv-stock-summary-grid strong.small{font-size:19px;line-height:1.2}.wv-stock-summary-grid em{font-size:14px;line-height:1.3;color:#6b8197;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wv-stock-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d7e8f3;border-radius:17px;background:rgba(255,255,255,.82);box-shadow:0 8px 22px rgba(20,64,104,.04)}
.wv-stock-tabs{display:flex;align-items:center;gap:8px;min-width:0}.wv-stock-tabs button{min-height:44px;padding:0 18px;border:1px solid #bfd8ea;border-radius:11px;background:#fff;color:#114f90;font-size:15px;font-weight:850;white-space:nowrap}.wv-stock-tabs button.active{border-color:#0b85df;background:linear-gradient(135deg,#0878de,#12c4dc);color:#fff;box-shadow:0 8px 18px rgba(7,127,200,.16)}
.wv-stock-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}.wv-stock-search-collapsible{display:flex;align-items:center;min-width:44px}.wv-stock-search-toggle,.wv-stock-search-field>button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #bfd8ea;border-radius:11px;background:#fff;color:#0b69b9;cursor:pointer}.wv-stock-search-toggle:hover,.wv-stock-search-field>button:hover{border-color:#7fbfe5;background:#f1f9fe}.wv-stock-search-toggle svg,.wv-stock-search-field svg{width:19px;height:19px}.wv-stock-search-field{position:relative;display:flex;align-items:center;width:min(430px,38vw);min-width:250px}.wv-stock-search-field>span{position:absolute;left:13px;display:grid;color:#7390a8;pointer-events:none}.wv-stock-search-field>input{width:100%;min-height:44px;padding:0 48px 0 42px;border:1px solid #bfd8ea;border-radius:11px;background:#fff;color:#173d64;font-size:15px;outline:0}.wv-stock-search-field>input:focus{border-color:#69b4df;box-shadow:0 0 0 3px rgba(8,120,209,.08)}.wv-stock-search-field>button{position:absolute;right:3px;width:38px;height:38px;border:0;background:transparent;color:#6d879c}.wv-stock-status-filter{min-height:44px;padding:0 38px 0 13px;border:1px solid #bfd8ea;border-radius:11px;background:#fff;color:#1d4d7a;font-size:15px;font-weight:750}.wv-water-day-shortcut{display:flex;align-items:center;gap:9px;min-height:48px;padding:4px 13px 4px 6px;border:1px solid #b8dfea;border-radius:13px;background:#f0fbfd;color:#0d4f81;font-size:15px;font-weight:900;white-space:nowrap;cursor:pointer;box-shadow:0 5px 14px rgba(17,108,151,.04)}.wv-water-day-shortcut:hover{border-color:#75c7dc;background:#e8f9fc}.wv-water-day-shortcut img{width:40px;height:40px;object-fit:contain;border-radius:10px}
.wv-stock-view{display:grid;gap:18px}.wv-stock-view[hidden]{display:none!important}
.wv-stock-view-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px}.wv-stock-view-head>div:first-child{display:grid;gap:5px}.wv-stock-view-head>div>span{font-size:13px;font-weight:900;letter-spacing:.08em;color:#0a72c8}.wv-stock-view-head h2{margin:0;color:#0b2f67;font-size:26px;line-height:1.1}.wv-stock-view-head p{margin:0;max-width:850px;color:#647e98;font-size:16px;line-height:1.45}.wv-container-view-head .wv-heading-actions{align-items:center;flex-wrap:nowrap}.wv-container-view-head .wv-heading-actions button{min-height:46px;padding:0 17px;font-size:15px}.wv-container-view-head .wv-heading-actions button svg{width:19px;height:19px}
.wv-stock-product-list,.wv-container-product-list{display:grid;gap:14px}
.wv-stock-product-row,.wv-container-product-row{display:grid;grid-template-columns:minmax(210px,1.32fr) minmax(95px,.62fr) minmax(140px,.82fr) minmax(95px,.58fr) minmax(126px,.72fr) minmax(300px,1.28fr);align-items:center;gap:12px;min-height:114px;padding:14px 16px;border:1px solid #d9e8f1;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(20,64,104,.035);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.wv-stock-product-row:hover,.wv-container-product-row:hover{border-color:#a8d4ed;box-shadow:0 11px 28px rgba(20,80,125,.07);transform:translateY(-1px)}
.wv-container-product-row{grid-template-columns:minmax(240px,1.2fr) repeat(3,minmax(96px,.52fr)) minmax(210px,.9fr) minmax(360px,1.35fr)}
.wv-container-product-row.inconsistent{border-color:#efc7c7;background:#fffafa}
.wv-stock-product-identity{display:flex!important;align-items:center;gap:14px;min-width:0}.wv-stock-product-identity>img{flex:0 0 auto;width:62px;height:72px;object-fit:contain;border-radius:13px;background:#f1f8fd;padding:5px}.wv-stock-product-identity>div,.wv-stock-product-identity>span{display:grid;gap:3px;min-width:0}.wv-stock-product-identity strong{font-size:18px;line-height:1.18;color:#0b2d67;font-weight:900}.wv-stock-product-identity b{font-size:17px;line-height:1.22;color:#173d6b;font-weight:800}.wv-stock-product-identity small{font-size:14px;line-height:1.25;color:#67819b}.wv-stock-product-category{margin-top:1px}
.wv-stock-metric{display:grid;align-content:center;gap:3px;min-width:0}.wv-stock-metric>small{font-size:14px;line-height:1.25;color:#66809a;font-weight:750}.wv-stock-metric>strong{font-size:23px;line-height:1.06;color:#0b2f67}.wv-stock-metric>strong.muted{color:#8aa0b4}.wv-stock-metric>span{font-size:14px;line-height:1.25;color:#66809a}.wv-stock-metric.primary>strong{font-size:29px}.wv-stock-metric.compact>strong{font-size:22px}
.wv-stock-status-card{display:grid;gap:3px;justify-items:start;padding:12px 14px;border-radius:14px;background:#e9f8f1;color:#167b5a}.wv-stock-status-card b{font-size:15px;line-height:1.2}.wv-stock-status-card small{font-size:13px;line-height:1.25;color:inherit;opacity:.9}.wv-stock-status-card.low{background:#fff4de;color:#a96510}.wv-stock-status-card.unavailable{background:#fceced;color:#a43c43}
.wv-stock-row-actions{display:grid;grid-template-columns:repeat(3,minmax(82px,1fr));align-items:center;justify-content:end;gap:7px;min-width:0}.wv-stock-row-actions>button,.wv-stock-more>summary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:41px;width:100%;padding:0 9px;border:1px solid #bdd8ea;border-radius:11px;background:#fff;color:#0a64b4;font-size:14px;font-weight:800;cursor:pointer}.wv-stock-row-actions>button svg,.wv-stock-more>summary svg{width:18px;height:18px}.wv-stock-row-actions>button.positive{border-color:#bfe8dc;background:#edf9f5;color:#16856a}.wv-stock-row-actions>button.negative{border-color:#f0cccc;background:#fff5f5;color:#c4444b}.wv-stock-row-actions>button.history{grid-column:1/3}
.wv-stock-more{position:relative;width:100%;z-index:1}.wv-stock-more[open]{z-index:18}.wv-stock-more>summary{list-style:none;width:100%;padding:0}.wv-stock-more>summary::-webkit-details-marker{display:none}.wv-stock-more>summary::-moz-list-bullet{font-size:0}.wv-stock-more>div{position:absolute;z-index:20;right:0;bottom:calc(100% + 8px);display:grid;min-width:210px;max-width:min(260px,calc(100vw - 36px));padding:6px;border:1px solid #d2e2ec;border-radius:12px;background:#fff;box-shadow:0 18px 38px rgba(18,55,87,.15)}.wv-stock-more>div button{display:flex;align-items:center;gap:8px;padding:10px;border:0;border-radius:8px;background:transparent;color:#174b79;font-size:14px;font-weight:750;text-align:left}.wv-stock-more>div button:hover{background:#f2f8fc}.wv-stock-more>div button.danger{color:#b63c43}.wv-stock-product-row,.wv-container-product-row{position:relative;overflow:visible}.wv-stock-product-row.menu-open,.wv-container-product-row.menu-open{z-index:12}
.wv-stock-list-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#66809a;font-size:15px}.wv-stock-list-footer span{font-weight:750}.wv-stock-list-footer small{font-size:14px}
.wv-container-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.wv-container-summary-grid article{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:14px;min-height:104px;padding:16px 18px;border:1px solid #d8e8f2;border-radius:17px;background:#fff;box-shadow:0 7px 20px rgba(20,64,104,.028)}.wv-container-summary-grid article>div{display:grid;gap:4px;min-width:0}.wv-container-summary-grid small{font-size:14px;line-height:1.25;color:#426381;font-weight:800}.wv-container-summary-grid strong{font-size:31px;line-height:1.05;color:#0c2f67}.wv-container-summary-grid strong.is-ok{font-size:23px;color:#148763}.wv-container-summary-grid strong.is-pending{font-size:22px;color:#9a6b22}.wv-container-summary-grid article>div>span{font-size:14px;line-height:1.35;color:#6d8397}.wv-container-summary-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#edf6fd;color:#0c7ddd}.wv-container-summary-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.wv-container-summary-icon.success{background:#e9f8f1;color:#149267}.wv-container-summary-icon.factory{background:#f0f4f8;color:#6883a0}.wv-container-summary-icon.danger{background:#fff0f1;color:#cf4048}
.wv-stock-recent{padding:16px 18px!important}.wv-stock-recent h3{margin:0;font-size:20px;color:#0b2f67}
.wv-stock-subpage-heading{display:grid;gap:4px}.wv-stock-subpage-heading>span{font-size:13px;font-weight:900;letter-spacing:.08em;color:#0b74d1}.wv-stock-subpage-heading h1{margin:0;font-size:36px;line-height:1.08;color:#0b2f67}.wv-stock-subpage-heading p{margin:0;max-width:850px;color:#5f7994;font-size:16px;line-height:1.45}.wv-back-link{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:#0a67b5;font-size:14px;font-weight:800;cursor:pointer}.wv-back-link svg{width:18px;height:18px}
.wv-stock-stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.wv-stock-stepper>div{display:flex;align-items:center;gap:13px;min-height:78px;padding:12px 16px;border:1px solid #d8e8f2;border-radius:16px;background:#fff}.wv-stock-stepper b{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#98afc5;color:#fff;font-size:18px}.wv-stock-stepper .active{border-bottom:4px solid #0c7de0}.wv-stock-stepper .active b{background:#0b78df}.wv-stock-stepper span{display:grid;gap:2px}.wv-stock-stepper strong{font-size:16px;color:#0b2f67}.wv-stock-stepper small{font-size:13px;color:#68819b}
.wv-water-day-inline{display:grid;gap:16px}.wv-water-day-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.wv-water-day-heading-wrap{display:flex;align-items:flex-start;gap:10px;min-width:0}.wv-water-day-heading{min-width:0}.wv-water-day-back{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;margin-top:18px;padding:0;border:1px solid #c8deec;border-radius:11px;background:#fff;color:#0b68b7;cursor:pointer}.wv-water-day-back:hover{background:#f1f8fc}.wv-water-day-back svg{width:19px;height:19px}.wv-water-day-top-actions{display:grid;justify-items:end;gap:10px;flex:0 0 auto}.wv-water-day-date-card{position:relative;display:grid;grid-template-columns:46px minmax(150px,1fr);align-items:center;gap:12px;min-width:250px;min-height:78px;padding:10px 14px;border:1px solid #cfe2ef;border-radius:16px;background:rgba(255,255,255,.9);box-shadow:0 8px 22px rgba(20,64,104,.04);cursor:pointer}.wv-water-day-date-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#e9f5ff;color:#0879d6}.wv-water-day-date-icon svg{width:23px;height:23px}.wv-water-day-date-card>span:nth-child(2){display:grid;gap:2px}.wv-water-day-date-card small{font-size:13px;color:#5f7992;font-weight:800}.wv-water-day-date-card strong{font-size:23px;line-height:1.05;color:#0b3269}.wv-water-day-date-card input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.wv-water-day-aux-actions{display:flex;align-items:center;gap:9px}.wv-water-day-note-toggle{min-height:42px;padding:0 13px;font-size:14px}.wv-water-day-note-toggle svg{width:17px;height:17px}.wv-water-day-draft-badge{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 12px;border:1px solid #efdaa9;border-radius:11px;background:#fff8e8;color:#8a611f;font-size:14px;font-weight:850}.wv-water-day-draft-badge svg{width:17px;height:17px}.wv-water-day-draft-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border:1px solid #d9e7ef;border-radius:14px;background:#f8fbfd}.wv-water-day-draft-notice>div{display:flex;align-items:center;gap:10px}.wv-water-day-draft-notice>div:first-child>svg{width:21px;height:21px;color:#0a75c8}.wv-water-day-draft-notice span{display:grid;gap:2px}.wv-water-day-draft-notice strong{font-size:14px;color:#143f69}.wv-water-day-draft-notice small{font-size:13px;color:#6b8297}.wv-water-day-draft-notice>div:last-child{gap:8px}.wv-water-day-note-panel{padding:14px 16px;border:1px solid #d7e7f1;border-radius:14px;background:#fff}.wv-water-day-note-panel label{display:grid;gap:7px;color:#315674;font-size:14px;font-weight:850}.wv-water-day-note-panel textarea{min-height:76px;padding:11px 12px;border:1px solid #c7dce9;border-radius:11px;background:#fbfdff;color:#163b61;font:inherit;font-size:15px;resize:vertical;outline:0}.wv-water-day-note-panel textarea:focus{border-color:#6bb9e6;box-shadow:0 0 0 3px rgba(8,120,209,.09)}
.wv-water-day-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:14px}.wv-water-day-grid>.wv-card{padding:18px!important}.wv-water-day-grid .wv-card-head{margin-bottom:14px}.wv-water-day-grid .wv-card-head h2{font-size:21px}.wv-water-day-grid .wv-card-head p{font-size:14px;line-height:1.4}.wv-water-day-products{display:grid;gap:9px}.wv-water-day-product{display:grid;grid-template-columns:minmax(210px,1fr) 112px 180px;align-items:center;gap:14px;padding:10px 12px;border:1px solid #dfeaf1;border-radius:13px;background:#fbfdff}.wv-water-day-product .wv-stock-product-identity{gap:11px}.wv-water-day-product .wv-stock-product-identity>img{width:48px;height:58px;padding:4px;border-radius:11px}.wv-water-day-product .wv-stock-product-identity strong{font-size:15px}.wv-water-day-product .wv-stock-product-identity b{font-size:15px}.wv-water-day-product small{font-size:13px;color:#68819b}.wv-water-day-current{display:grid;grid-template-columns:auto auto;align-items:end;gap:2px 6px}.wv-water-day-current small{grid-column:1/-1}.wv-water-day-current b{font-size:20px;color:#0c3269}.wv-water-day-current em{font-size:12px;color:#6d8398;font-style:normal}.wv-water-day-received{display:grid;gap:5px}.wv-water-day-received>span{display:flex;align-items:center;gap:8px}.wv-water-day-received input,.wv-water-day-count-row input,.wv-water-day-number-field input{min-height:44px;width:100%;padding:0 11px;border:1px solid #bcd7ea;border-radius:10px;background:#fff;font-size:16px;color:#0d376c;font-weight:800}.wv-water-day-received em,.wv-water-day-number-field em{flex:0 0 auto;color:#6e8396;font-size:13px;font-style:normal;font-weight:800}
.wv-water-day-containers{display:grid;gap:10px}.wv-water-day-container{display:grid;gap:13px;padding:13px 14px;border:1px solid #dce8f0;border-radius:13px;background:#fbfdff}.wv-water-day-container-identity{display:flex;align-items:center;gap:11px}.wv-water-day-container-identity img{width:46px;height:58px;object-fit:contain;padding:4px;border-radius:11px;background:#f0f7fc}.wv-water-day-container-identity span{display:grid;gap:2px}.wv-water-day-container-identity strong{font-size:15px;color:#143f6d}.wv-water-day-container-identity small{font-size:13px;color:#6d8398}.wv-water-day-container-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wv-water-day-container label{display:grid;gap:5px;color:#5f7890;font-size:13px;font-weight:750}.wv-water-day-container label>small{font-size:12px;line-height:1.35;color:#7e91a4}.wv-water-day-number-field{display:flex;align-items:center;gap:7px}.wv-water-day-check{display:flex;gap:11px;align-items:flex-start;margin-top:12px;padding:14px;border:1px solid #d7e8f3;border-radius:13px;background:#f2f9fd}.wv-water-day-check input{width:20px;height:20px;margin-top:2px}.wv-water-day-check span{display:grid;gap:2px}.wv-water-day-check strong{font-size:15px;color:#0b3568}.wv-water-day-check small{font-size:13px;color:#6b8298}.wv-water-day-count-row{display:grid;grid-template-columns:minmax(190px,1fr) 170px 150px;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #e5edf2}.wv-water-day-count-row>span{display:grid}.wv-water-day-count-row strong{font-size:14px;color:#113d6d}.wv-water-day-count-row small{font-size:12px;color:#71879c}.wv-water-day-count-row>span:nth-child(2){font-size:12px;color:#6d8398}.wv-water-day-count-row>span:nth-child(2)b{font-size:17px;color:#0b2f67}
.wv-preview-badge{align-self:start;padding:6px 11px;border:1px solid #c5dff0;border-radius:999px;background:#eef8ff;color:#0b68b8;font-size:12px;font-weight:900;letter-spacing:.04em}.wv-water-day-review{display:grid;gap:12px;padding:15px 17px!important}.wv-water-day-review .wv-card-head{align-items:flex-start;margin-bottom:0}.wv-water-day-review .wv-card-head h2{font-size:17px}.wv-water-day-review .wv-card-head p{font-size:13px;line-height:1.4}.wv-water-day-review>[data-water-day-summary]{display:grid;gap:8px}.wv-water-day-review [data-water-day-summary]>article{display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(90px,.45fr) 12px minmax(105px,.52fr) 12px minmax(115px,.55fr) minmax(150px,.8fr);align-items:center;gap:10px;padding:11px 12px;border:1px solid #dce8ef;border-radius:12px;background:#fbfdff}.wv-water-day-review article>div{display:grid;gap:2px;min-width:0}.wv-water-day-review article>div strong{font-size:14px;color:#123d6b;line-height:1.35}.wv-water-day-review article small{font-size:12px;color:#6a8198}.wv-water-day-review article>span{display:grid;gap:2px}.wv-water-day-review article>span b{font-size:18px;color:#0b2f67}.wv-water-day-review article>i{justify-self:center;font-style:normal;color:#6a90b4}.wv-water-day-review article>em{font-size:12px;line-height:1.35;font-style:normal;font-weight:850;color:#2f5576}.wv-water-day-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border:1px solid #d7e7f1;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(18,59,94,.035)}.wv-water-day-footer-info{display:flex;align-items:center;gap:10px;min-width:0}.wv-water-day-footer-info>svg{flex:0 0 22px;width:22px;height:22px;color:#0a75c8}.wv-water-day-footer-info>span{display:grid;gap:2px}.wv-water-day-footer-info strong{font-size:14px;color:#143f69}.wv-water-day-footer-info small{font-size:13px;color:#6c8296}.wv-water-day-footer-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.wv-water-day-footer-actions button{min-height:46px;padding:0 16px;font-size:15px}.wv-water-day-footer-actions button svg{width:18px;height:18px}.wv-stock-info-note{margin-top:0;padding:12px 14px;border-radius:12px;background:#eff8fe;color:#236193;font-size:13px;font-weight:750;line-height:1.45}
.wv-stock-conference-form{display:grid;gap:14px}.wv-stock-conference-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.62fr);gap:14px;align-items:start}.wv-stock-conference-grid>.wv-card{padding:0!important;overflow:hidden}.wv-stock-count-head,.wv-stock-count-row{display:grid;grid-template-columns:minmax(220px,1.25fr) 120px 150px 90px 145px;align-items:center;gap:12px;padding:12px 14px}.wv-stock-count-head{background:#eff6fa;color:#587590;font-size:13px;font-weight:850}.wv-stock-count-row{border-top:1px solid #e2ebf1;background:#fff}.wv-stock-count-row>strong{font-size:21px;color:#0c3267}.wv-stock-count-row>input{min-height:46px;padding:0 11px;border:1px solid #b8d5e8;border-radius:10px;font-size:17px;font-weight:800;color:#0c3267}.wv-stock-count-row>b{font-size:18px;color:#0b2f67}.wv-stock-count-row>em{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 10px;border-radius:11px;font-size:13px;font-style:normal;font-weight:800;background:#edf3f8;color:#607a93}.wv-stock-count-row>em.ok{background:#e8f8f1;color:#137d5a}.wv-stock-count-row>em.warning{background:#fff3df;color:#aa6711}.wv-stock-count-summary{position:sticky;top:14px;padding:18px!important}.wv-stock-count-summary h2{margin:0;font-size:21px;color:#0b2f67}.wv-stock-count-summary p{margin:4px 0 14px;color:#667f97;font-size:14px}.wv-stock-count-summary>[data-stock-count-summary]{display:grid;gap:9px}.wv-stock-count-summary article{display:grid;gap:9px;padding:12px;border:1px solid #dce8ef;border-radius:12px;background:#fbfdff}.wv-stock-count-summary article.warning{border-color:#efd4a9;background:#fffaf1}.wv-stock-count-summary article>strong{font-size:14px;color:#123d6b}.wv-stock-count-summary article>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.wv-stock-count-summary article span{display:grid}.wv-stock-count-summary article small{font-size:12px;color:#6b8195}.wv-stock-count-summary article b{font-size:21px;color:#0b2f67}.wv-stock-count-summary article i{font-style:normal;color:#5f8db5}.wv-stock-count-summary article p{margin:0;font-size:13px;color:#566f86}
.wv-stock-history-toolbar{display:grid;grid-template-columns:160px 160px minmax(240px,1fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid #dbe8ef;border-radius:14px;background:#fff}.wv-stock-history-toolbar label{display:grid;gap:5px;font-size:13px;color:#526f88;font-weight:800}.wv-stock-history-toolbar input,.wv-stock-history-toolbar select{min-height:44px;padding:0 10px;border:1px solid #bfd7e6;border-radius:10px;background:#fff;color:#133f69;font-size:14px}.wv-stock-history-inline{display:grid;gap:8px}.wv-stock-history-row{display:grid;grid-template-columns:150px minmax(220px,1.2fr) minmax(210px,.8fr) 70px;align-items:center;gap:14px;padding:13px 15px;border:1px solid #dce8f0;border-radius:14px;background:#fff}.wv-stock-history-row time{font-size:14px;color:#617d97}.wv-stock-history-row>div:nth-child(2){display:grid;gap:3px}.wv-stock-history-row>div:nth-child(2) strong{font-size:15px;color:#0b3569}.wv-stock-history-row>div:nth-child(2) small{font-size:13px;color:#71879a}.wv-history-type{width:max-content;padding:4px 7px;border-radius:999px;background:#eef6fc;color:#23689f;font-size:12px;font-weight:800}.wv-history-type.positive{background:#edf9f4;color:#148062}.wv-history-type.negative{background:#fff0f1;color:#ba4048}.wv-stock-history-balance{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;gap:7px}.wv-stock-history-balance span{display:grid}.wv-stock-history-balance small{font-size:11px;color:#71879a}.wv-stock-history-balance b{font-size:17px;color:#0b2f67}.wv-stock-history-balance i{font-style:normal;color:#7294b1}.wv-stock-history-row>strong{font-size:19px;text-align:right}
.wv-stock-operation-dialog form{gap:14px}.wv-stock-effect-preview{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:9px;padding:13px;border:1px solid #d9e7ef;border-radius:13px;background:#f7fbfd}.wv-stock-effect-preview span{display:grid;gap:2px}.wv-stock-effect-preview small{font-size:12px;color:#687f95}.wv-stock-effect-preview strong{font-size:21px;color:#0b2f67}.wv-stock-effect-preview i{font-style:normal;color:#7393ae}.wv-stock-effect-preview em{grid-column:1/-1;font-style:normal;font-size:13px;font-weight:800}.wv-stock-operation-dialog,.wv-dialog[data-dialog="container-event"]{width:min(720px,calc(100% - 28px))}.wv-stock-operation-dialog form,.wv-dialog[data-dialog="container-event"] form{display:grid;gap:18px;padding:32px 34px 30px}.wv-stock-operation-dialog form>span:first-of-type,.wv-dialog[data-dialog="container-event"] form>span:first-of-type{color:var(--wv-blue);font-size:13px;font-weight:950;letter-spacing:.14em}.wv-stock-operation-dialog h2,.wv-dialog[data-dialog="container-event"] h2{margin:0;font-size:28px;line-height:1.08;letter-spacing:-.02em;color:#0b2f67}.wv-stock-operation-dialog p,.wv-dialog[data-dialog="container-event"] p{margin:0;color:#68819a;font-size:15px;line-height:1.45}.wv-stock-operation-dialog label,.wv-dialog[data-dialog="container-event"] label{display:grid;gap:7px;color:#315674;font-size:15px;font-weight:850}.wv-stock-operation-dialog input,.wv-stock-operation-dialog select,.wv-stock-operation-dialog textarea,.wv-dialog[data-dialog="container-event"] input,.wv-dialog[data-dialog="container-event"] select,.wv-dialog[data-dialog="container-event"] textarea{min-height:49px;padding:0 13px;border:1px solid #c7dce9;border-radius:11px;background:#fbfdff;color:#163b61;font-size:16px;font-weight:750}.wv-stock-operation-dialog textarea,.wv-dialog[data-dialog="container-event"] textarea{min-height:92px;padding:14px 13px;resize:vertical}.wv-stock-operation-dialog input:focus,.wv-stock-operation-dialog select:focus,.wv-stock-operation-dialog textarea:focus,.wv-dialog[data-dialog="container-event"] input:focus,.wv-dialog[data-dialog="container-event"] select:focus,.wv-dialog[data-dialog="container-event"] textarea:focus{border-color:#6bb9e6;box-shadow:0 0 0 3px rgba(8,120,209,.09)}.wv-stock-operation-dialog .wv-dialog-close,.wv-dialog[data-dialog="container-event"] .wv-dialog-close{top:18px;right:18px;width:42px;height:42px;border-radius:11px}.wv-stock-operation-dialog .wv-stock-effect-preview,.wv-dialog[data-dialog="container-event"] .wv-stock-effect-preview{padding:15px 16px;border-radius:16px;background:linear-gradient(180deg,#f9fcff,#f4f9fc);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.wv-stock-operation-dialog .wv-stock-effect-preview small,.wv-dialog[data-dialog="container-event"] .wv-stock-effect-preview small{font-size:13px}.wv-stock-operation-dialog .wv-stock-effect-preview strong,.wv-dialog[data-dialog="container-event"] .wv-stock-effect-preview strong{font-size:22px}.wv-stock-operation-dialog .wv-dialog-actions,.wv-dialog[data-dialog="container-event"] .wv-dialog-actions{justify-content:flex-end;gap:10px;padding-top:2px}.wv-stock-operation-dialog .wv-dialog-actions>button,.wv-dialog[data-dialog="container-event"] .wv-dialog-actions>button{min-height:54px;padding:0 20px;font-size:15px;border-radius:14px}.wv-dialog[data-dialog="container-event"] .wv-container-general-label{gap:4px;padding:14px 15px;border-radius:14px;background:linear-gradient(180deg,#f8fbff,#fbfdff)}.wv-dialog[data-dialog="container-event"] .wv-container-general-label strong{font-size:19px}.wv-container-product-row.general{min-height:126px;padding:16px 18px;gap:14px}.wv-container-product-row.general .wv-stock-product-identity{gap:16px}.wv-container-product-row.general .wv-stock-product-identity>img{width:74px;height:88px;padding:5px}.wv-container-product-row.general .wv-stock-product-identity strong{font-size:19px;line-height:1.18;color:#0b3569}.wv-container-product-row.general .wv-stock-product-identity small{font-size:14px;line-height:1.35;color:#68819a}.wv-container-product-row.general .wv-stock-metric{min-height:72px;padding-left:17px;border-left:1px solid #e4edf3}.wv-container-product-row.general .wv-stock-metric>small{font-size:14px}.wv-container-product-row.general .wv-stock-metric>strong,.wv-container-product-row.general .wv-stock-metric.primary>strong{font-size:30px}.wv-container-product-row.general .wv-stock-status-card{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;align-self:center;gap:10px;min-height:92px;padding:14px 15px}.wv-container-product-row.general .wv-stock-status-card>div{display:grid;gap:7px}.wv-container-product-row.general .wv-stock-status-card b{font-size:16px}.wv-container-product-row.general .wv-stock-status-card small{font-size:14px;line-height:1.35}.wv-container-product-row.general .wv-stock-status-card small strong{font-size:18px;color:inherit}.wv-container-status-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(20,146,103,.12)}.wv-container-status-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.wv-container-product-row.general .wv-stock-status-card.unavailable .wv-container-status-icon{background:rgba(190,64,72,.11)}.wv-container-product-row.general .wv-stock-status-card.waiting{background:#fff7e8;color:#94651c}.wv-container-product-row.general .wv-stock-status-card.waiting .wv-container-status-icon{background:rgba(153,107,34,.11)}.wv-container-product-row.general .wv-stock-row-actions{display:grid;grid-template-columns:minmax(96px,1fr) minmax(112px,1fr) 58px;align-items:stretch;gap:8px;padding-left:18px;border-left:1px solid #e4edf3}.wv-container-product-row.general .wv-stock-row-actions>button,.wv-container-product-row.general .wv-stock-more>summary{min-height:44px;font-size:15px}.wv-container-product-row.general .wv-stock-row-actions>button.positive{grid-column:1}.wv-container-product-row.general .wv-stock-row-actions>button.negative{grid-column:2/4}.wv-container-product-row.general .wv-stock-row-actions>[data-container-count-focus]{grid-column:1}.wv-container-product-row.general .wv-stock-row-actions>button.history{grid-column:2}.wv-container-product-row.general .wv-stock-more{grid-column:3}.wv-stock-panel .wv-container-history article{padding:14px 16px;border:1px solid #e0eaf1;border-radius:14px;background:#fff;box-shadow:0 5px 15px rgba(18,59,94,.025)}
.positive{color:#148260!important}.negative{color:#c43f48!important}

/* v24.0.5 — polimento do modal Novo/Editar produto. */
.wv-stock-item-dialog{width:min(720px,calc(100% - 28px))}
.wv-stock-item-dialog form{gap:19px;padding:32px 34px 30px}
.wv-stock-item-dialog .wv-dialog-close{top:18px;right:18px;width:42px;height:42px;border-radius:11px}
.wv-stock-item-dialog .wv-stock-item-heading{display:grid;gap:5px;padding-right:54px}
.wv-stock-item-dialog .wv-stock-item-heading>span{color:var(--wv-blue);font-size:13px;font-weight:950;letter-spacing:.15em}
.wv-stock-item-dialog .wv-stock-item-heading h2{font-size:30px;line-height:1.08;letter-spacing:-.02em}
.wv-stock-item-dialog .wv-stock-item-heading p{max-width:560px;color:#68819a;font-size:15px;line-height:1.45}
.wv-stock-item-dialog .wv-stock-item-grid{gap:16px 15px}
.wv-stock-item-dialog label{gap:7px;color:#315674;font-size:15px;font-weight:850}
.wv-stock-item-dialog label>small{font-size:12px;line-height:1.2;color:#7c91a4;font-weight:750}
.wv-stock-item-dialog input,.wv-stock-item-dialog select{min-height:49px;padding:0 13px;border-radius:11px;background:#fbfdff;color:#163b61;font-size:16px;font-weight:750}
.wv-stock-item-dialog input:focus,.wv-stock-item-dialog select:focus{border-color:#6bb9e6;box-shadow:0 0 0 3px rgba(8,120,209,.09)}
.wv-stock-item-note{display:grid;gap:4px;padding:13px 15px;border:1px solid #dbe8f1;border-radius:12px;background:#f7fbfe}
.wv-stock-item-note strong{color:#315a7b;font-size:14px}
.wv-stock-item-note p{color:#6a8195;font-size:14px;line-height:1.45}
.wv-stock-item-note b{color:#315a7b}
.wv-stock-item-actions{display:flex;align-items:center;gap:12px;padding-top:2px}
.wv-stock-item-actions>button{flex:1;min-height:52px;border-radius:12px;font-size:16px}

/* v24.0.7 — desktop em 100%: mantém a composição em uma linha sem ampliar os cards. */
@media(min-width:1401px){
  .wv-stock-heading>div:first-child{flex:1 1 auto;min-width:0}
  .wv-stock-main-actions{flex:0 0 auto;justify-content:flex-end}
  .wv-stock-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .wv-stock-product-row,.wv-container-product-row{width:100%;max-width:100%;overflow:visible}
}

@media(max-width:1400px){
  .wv-stock-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wv-stock-toolbar{flex-wrap:wrap}.wv-stock-tabs{overflow-x:auto;padding-bottom:2px}.wv-stock-toolbar-actions{margin-left:auto}.wv-stock-status-filter{width:auto}
  .wv-stock-product-row{grid-template-columns:minmax(230px,1.3fr) repeat(3,minmax(110px,.68fr)) minmax(140px,.75fr);}.wv-stock-product-row .wv-stock-row-actions{grid-column:1/-1;justify-self:end;width:min(430px,100%);padding-top:4px}
  .wv-container-product-row{grid-template-columns:minmax(230px,1.2fr) repeat(3,minmax(100px,.62fr)) minmax(210px,.9fr)}.wv-container-product-row .wv-stock-status-card{grid-column:auto}.wv-container-product-row .wv-stock-row-actions{grid-column:1/-1;justify-self:end;width:min(420px,100%);border-left:0;padding-left:0;padding-top:4px}
  .wv-stock-conference-grid{grid-template-columns:1fr}.wv-stock-count-summary{position:static}
}
@media(max-width:820px){
  .wv-stock-heading{align-items:flex-start}.wv-stock-main-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.wv-stock-main-actions .wv-primary{grid-column:1/-1}
  .wv-stock-summary-grid{grid-template-columns:1fr 1fr}.wv-stock-summary-grid article{grid-template-columns:44px 1fr;min-height:96px;padding:14px}.wv-stock-summary-icon{width:42px;height:42px}.wv-stock-summary-grid strong{font-size:25px}
  .wv-stock-view-head{align-items:flex-start;flex-direction:column}.wv-stock-view-head .wv-heading-actions{width:100%}.wv-stock-view-head .wv-heading-actions button{flex:1}
  .wv-stock-product-row,.wv-container-product-row{grid-template-columns:1fr 1fr!important;gap:12px;padding:14px}.wv-stock-product-row .wv-stock-product-identity,.wv-container-product-row .wv-stock-product-identity{grid-column:1/-1}.wv-stock-product-row .wv-stock-status-card,.wv-container-product-row .wv-stock-status-card{grid-column:1/-1}.wv-stock-product-row .wv-stock-row-actions,.wv-container-product-row .wv-stock-row-actions{grid-column:1/-1;justify-self:stretch;width:100%}.wv-stock-more{width:100%}
  .wv-container-summary-grid{grid-template-columns:1fr 1fr}.wv-stock-stepper{grid-template-columns:1fr}.wv-stock-stepper>div{min-height:66px}
  .wv-stock-conference-meta{grid-template-columns:1fr}.wv-water-day-top{align-items:stretch;flex-direction:column}.wv-water-day-top-actions{justify-items:stretch}.wv-water-day-date-card{width:100%}.wv-water-day-aux-actions{justify-content:flex-end}.wv-water-day-container-fields{grid-template-columns:1fr 1fr}.wv-water-day-container-fields label:last-child{grid-column:1/-1}.wv-water-day-count-row{grid-template-columns:1fr 1fr}.wv-water-day-count-row>span:first-child{grid-column:1/-1}.wv-water-day-review [data-water-day-summary]>article{grid-template-columns:1fr 1fr;gap:10px;padding:13px}.wv-water-day-review article>div{grid-column:1/-1}.wv-water-day-review article>i{display:none}.wv-water-day-review article>em{grid-column:1/-1}.wv-water-day-footer{align-items:stretch;flex-direction:column}.wv-water-day-footer-actions{justify-content:flex-end}
  .wv-stock-count-head{display:none}.wv-stock-count-row{grid-template-columns:1fr 1fr;padding:14px}.wv-stock-count-row>.wv-stock-product-identity{grid-column:1/-1}.wv-stock-count-row>em{grid-column:1/-1}.wv-stock-history-toolbar{grid-template-columns:1fr 1fr}.wv-stock-history-toolbar select,.wv-stock-history-toolbar button{grid-column:1/-1}.wv-stock-history-row{grid-template-columns:1fr auto}.wv-stock-history-row time{grid-column:1/-1}.wv-stock-history-row>div:nth-child(2){grid-column:1}.wv-stock-history-balance{grid-column:1}.wv-stock-history-row>strong{grid-column:2;grid-row:2/4}
}
@media(max-width:720px){
  .wv-stock-item-dialog{width:min(680px,calc(100% - 20px))}
  .wv-stock-item-dialog form{gap:16px;padding:26px 20px 22px}
  .wv-stock-item-dialog .wv-stock-item-heading{padding-right:44px}
  .wv-stock-item-dialog .wv-stock-item-heading h2{font-size:27px}
  .wv-stock-item-dialog .wv-stock-item-heading p{font-size:14px}
  .wv-stock-item-dialog .wv-stock-item-actions{align-items:stretch;flex-direction:column}
  .wv-stock-item-dialog .wv-stock-item-actions>button{width:100%}
}
@media(max-width:520px){
  .wv-stock-summary-grid,.wv-container-summary-grid{grid-template-columns:1fr}.wv-stock-main-actions{grid-template-columns:1fr}.wv-stock-main-actions .wv-primary{grid-column:auto}.wv-stock-tabs button{padding:0 15px}.wv-stock-subpage-heading h1{font-size:30px}
  .wv-stock-product-row,.wv-container-product-row{grid-template-columns:1fr!important}.wv-stock-product-row .wv-stock-metric,.wv-container-product-row .wv-stock-metric{display:grid;grid-template-columns:1fr auto;align-items:center;padding-top:8px;border-top:1px solid #edf2f5}.wv-stock-product-row .wv-stock-metric>span,.wv-container-product-row .wv-stock-metric>span{grid-column:2}.wv-stock-product-row .wv-stock-row-actions,.wv-container-product-row .wv-stock-row-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.wv-stock-row-actions>button.history{grid-column:1/-1}.wv-stock-more{width:100%;grid-column:1/-1}.wv-stock-more>summary{width:100%}
  .wv-water-day-product{grid-template-columns:1fr 1fr}.wv-water-day-product .wv-stock-product-identity{grid-column:1/-1}.wv-water-day-container-fields{grid-template-columns:1fr}.wv-water-day-container-fields label:last-child{grid-column:auto}.wv-water-day-count-row{grid-template-columns:1fr}.wv-water-day-count-row>span:first-child{grid-column:auto}.wv-water-day-heading-wrap{gap:7px}.wv-water-day-back{flex-basis:38px;width:38px;height:38px;margin-top:16px}.wv-water-day-date-card{min-width:0}.wv-water-day-aux-actions{display:grid;grid-template-columns:1fr auto}.wv-water-day-note-toggle{width:100%}.wv-water-day-draft-notice{align-items:stretch;flex-direction:column}.wv-water-day-draft-notice>div:last-child{justify-content:flex-end}.wv-water-day-footer-actions{display:grid;grid-template-columns:1fr}.wv-water-day-footer-actions button{width:100%}.wv-stock-count-row{grid-template-columns:1fr}.wv-stock-count-row>.wv-stock-product-identity,.wv-stock-count-row>em{grid-column:auto}.wv-stock-history-toolbar{grid-template-columns:1fr}.wv-stock-history-toolbar select,.wv-stock-history-toolbar button{grid-column:auto}.wv-stock-history-row{grid-template-columns:1fr}.wv-stock-history-row time,.wv-stock-history-row>div:nth-child(2),.wv-stock-history-balance,.wv-stock-history-row>strong{grid-column:auto;grid-row:auto;text-align:left}.wv-stock-effect-preview{grid-template-columns:1fr}.wv-stock-effect-preview i{transform:rotate(90deg);justify-self:center}.wv-stock-effect-preview em{grid-column:auto}
}

@media(max-width:1180px){
  .wv-water-day-grid{grid-template-columns:1fr}
  .wv-stock-toolbar{align-items:stretch}
  .wv-stock-toolbar-actions{flex:1 1 auto}
  .wv-stock-search-field{width:min(430px,46vw)}
}
@media(max-width:720px){
  .wv-stock-toolbar{display:grid;grid-template-columns:1fr;gap:9px;padding:9px}
  .wv-stock-tabs{width:100%}
  .wv-stock-toolbar-actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;width:100%;margin:0}
  .wv-stock-search-collapsible.expanded{grid-column:1/-1;grid-row:2}
  .wv-stock-search-field{width:100%;min-width:0}
  .wv-stock-status-filter{width:100%;min-width:0}
  .wv-water-day-shortcut{padding-right:10px}
  .wv-water-day-shortcut img{width:38px;height:38px}
  .wv-water-day-product{padding:11px}
  .wv-water-day-current b{font-size:19px}
  .wv-water-day-review .wv-card-head{flex-direction:column;gap:8px}
}
@media(max-width:430px){
  .wv-stock-toolbar-actions{grid-template-columns:44px minmax(0,1fr) auto}
  .wv-water-day-shortcut{min-width:0;padding:4px 8px 4px 5px;font-size:14px}
  .wv-water-day-shortcut img{width:36px;height:36px}
  .wv-water-day-date-card strong{font-size:20px}
  .wv-water-day-date-card{grid-template-columns:42px 1fr;min-height:72px;padding:9px 11px}
  .wv-water-day-date-icon{width:42px;height:42px}
  .wv-water-day-product{grid-template-columns:1fr}
  .wv-water-day-product .wv-stock-product-identity{grid-column:auto}
  .wv-water-day-current,.wv-water-day-received{padding-top:8px;border-top:1px solid #e7eef3}
  .wv-water-day-aux-actions{grid-template-columns:1fr}
  .wv-water-day-draft-badge{justify-content:center}
}

/* v24.0.7 — rolagem horizontal por toque onde o conteúdo realmente é arrastável. */
@media(max-width:900px){
  .wv-filter-pills,
  .wv-panel[data-water-panel="today"] .wv-payment-grid,
  .wv-panel[data-water-panel="today"] .wv-quick-stock,
  .wv-table[data-sales-table],
  .wv-panel[data-water-panel="customers"] .wv-customer-filters,
  .wv-stock-tabs{
    overflow-x:auto !important;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    touch-action:pan-x pan-y;
    scrollbar-width:thin;
  }
  .wv-filter-pills>*,
  .wv-panel[data-water-panel="today"] .wv-payment-grid>*,
  .wv-panel[data-water-panel="today"] .wv-quick-stock>*,
  .wv-panel[data-water-panel="customers"] .wv-customer-filters>*,
  .wv-stock-tabs>*{flex-shrink:0}
}

/* v24 — Pré-visualização segura de configurações comerciais */


/* v24 — legibilidade operacional do Estoque */
.wv-stock-panel .wv-container-history article{min-height:70px}
.wv-stock-panel .wv-container-history time{font-size:14px;line-height:1.35}.wv-stock-panel .wv-container-history small{font-size:14px;line-height:1.4}
.wv-stock-panel .wv-container-history strong{font-size:16px;line-height:1.3;color:#123d6b}
.wv-stock-panel .wv-container-history b{font-size:18px;line-height:1.2}
.wv-stock-status-card small,.wv-history-type,.wv-stock-count-summary article small,.wv-stock-effect-preview small{font-size:13px}
.wv-stock-history-balance small{font-size:13px}
.wv-stock-panel .wv-container-history-balance{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-width:150px}
.wv-stock-panel .wv-container-history-balance span{display:grid;gap:1px;text-align:center}
.wv-stock-panel .wv-container-history-balance small{font-size:14px;color:#70859a}
.wv-stock-panel .wv-container-history-balance b{font-size:19px;color:#0b3569;text-align:center}
.wv-stock-panel .wv-container-history-balance i{font-style:normal;color:#7396b4}
@media(max-width:720px){.wv-stock-panel .wv-container-history article{grid-template-columns:1fr}.wv-stock-panel .wv-container-history time,.wv-stock-panel .wv-container-history article>div{grid-column:auto}.wv-stock-panel .wv-container-history-balance{justify-self:start}}


/* v24.0.4 — vasilhames gerais + Dia da Água histórico seguro */
.wv-container-general-label{display:grid;gap:3px;padding:12px 14px;border:1px solid #d8e8f2;border-radius:13px;background:#f7fbfe}.wv-container-general-label small{font-size:13px;color:#6f8498;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.wv-container-general-label strong{font-size:18px;color:#0b3568}.wv-container-general-label span{font-size:14px;color:#647f98}.wv-stock-info-note{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}.wv-stock-info-note>strong{color:#134f7e}.wv-stock-info-note>span{font-weight:700}.wv-stock-info-note.historical{margin:0 0 14px;border:1px solid #efdca7;background:#fff9e8;color:#765d1e}.wv-stock-info-note.historical>strong{color:#70540e}.wv-container-product-row.general .wv-stock-product-identity strong{color:#0b3569}.wv-water-day-review [data-water-day-summary]>article.historical{grid-template-columns:minmax(240px,1.2fr) minmax(120px,.55fr) 12px minmax(145px,.7fr) minmax(220px,1fr);background:#fffaf0;border-color:#eddfb8}.wv-water-day-review [data-water-day-summary]>article.containers{grid-template-columns:minmax(240px,1.2fr) repeat(3,minmax(130px,.6fr));background:#f7fbfe}
@media(max-width:980px){.wv-inventory-form-head.container.general,.wv-inventory-form-row.container.general{grid-template-columns:1fr 1fr}.wv-inventory-form-row.container.general>span{grid-column:1/-1}.wv-water-day-review [data-water-day-summary]>article.historical,.wv-water-day-review [data-water-day-summary]>article.containers{grid-template-columns:1fr 1fr}.wv-water-day-review [data-water-day-summary]>article.historical>div,.wv-water-day-review [data-water-day-summary]>article.historical>em,.wv-water-day-review [data-water-day-summary]>article.containers>div{grid-column:1/-1}}
@media(max-width:620px){.wv-inventory-form-row.container.general,.wv-water-day-review [data-water-day-summary]>article.historical,.wv-water-day-review [data-water-day-summary]>article.containers{grid-template-columns:1fr}}
@media(max-width:680px){.wv-water-day-review .wv-card-head{flex-direction:column;gap:10px}.wv-water-day-review .wv-dialog-actions{display:grid;grid-template-columns:1fr;width:100%}.wv-water-day-review .wv-dialog-actions button{width:100%}.wv-stock-more>div{right:auto;left:0;bottom:calc(100% + 8px);min-width:min(220px,calc(100vw - 44px))}}
.wv-water-day-history-card{margin-top:10px}.wv-water-day-history{display:grid;gap:10px}.wv-water-day-history>.wv-empty{padding:18px 20px;border:1px dashed #d7e6f1;border-radius:14px;background:#fbfdff;color:#70859a;font-size:14px}.wv-water-day-history>article{display:grid;grid-template-columns:116px minmax(220px,1.35fr) minmax(120px,.58fr) minmax(210px,.92fr);align-items:center;gap:14px;padding:14px 15px;border:1px solid #e0eaf1;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(18,58,94,.03)}.wv-water-day-history time{font-size:14px;color:#6b8196;font-weight:800}.wv-water-day-history article>div{display:grid;gap:3px;min-width:0}.wv-water-day-history article>div strong{font-size:15px;color:#123e6b;line-height:1.35}.wv-water-day-history article>div small{font-size:13px;color:#71869a;line-height:1.35}.wv-water-day-history article>span{display:grid;gap:2px}.wv-water-day-history article>span small{font-size:12px;color:#74899d}.wv-water-day-history article>span b{font-size:18px;color:#0d376d}.wv-water-day-history article>em{font-size:13px;line-height:1.4;color:#688098;font-style:normal;font-weight:800}.wv-water-day-history>article.historical{border-color:#eadcb1;background:#fffaf0}.wv-water-day-history>article.historical>em{color:#7b611d}
@media(max-width:720px){.wv-water-day-history>article{grid-template-columns:1fr auto;gap:10px;padding:13px}.wv-water-day-history>article time{grid-column:1/-1}.wv-water-day-history>article>div{grid-column:1}.wv-water-day-history>article>span{grid-column:2}.wv-water-day-history>article>em{grid-column:1/-1}}
.wv-stock-stepper.historical{grid-template-columns:repeat(2,1fr)}
@media(max-width:980px){.wv-stock-stepper.historical{grid-template-columns:1fr}}
.wv-stock-status-card.waiting{background:#f3f6f9;color:#647b90}

/* ==========================================================
   v24.0.8 — respiro no topo do Estoque sem alterar tipografia
   ========================================================== */
.wv-stock-panel [data-stock-common]{
  display:grid;
  gap:18px;
}
.wv-stock-panel .wv-stock-heading{
  margin:0;
  padding:0 1px 2px;
}
.wv-stock-panel .wv-stock-summary-grid{
  gap:14px;
}
.wv-stock-panel .wv-stock-summary-grid article{
  grid-template-columns:48px minmax(0,1fr);
  gap:13px;
  min-height:98px;
  padding:13px 17px;
}
.wv-stock-panel .wv-stock-summary-icon{
  width:46px;
  height:46px;
  border-radius:13px;
}
.wv-stock-panel .wv-stock-summary-icon svg{
  width:23px;
  height:23px;
}
.wv-stock-panel .wv-stock-toolbar{
  margin:0;
}
.wv-stock-view[data-stock-view="products"] .wv-stock-view-head{
  align-items:center;
  gap:28px;
}
.wv-stock-view[data-stock-view="products"] .wv-stock-view-head>div:first-child{
  flex:1 1 auto;
  min-width:0;
}
.wv-stock-view[data-stock-view="products"] .wv-stock-view-head p{
  max-width:760px;
}
.wv-stock-view[data-stock-view="products"] .wv-stock-view-head .wv-heading-actions{
  flex:0 0 auto;
  flex-wrap:nowrap;
  gap:10px;
  width:auto;
}
.wv-stock-view[data-stock-view="products"] .wv-stock-view-head .wv-heading-actions>button{
  flex:0 0 auto;
  width:auto;
  min-height:44px;
}

@media(max-width:820px){
  .wv-stock-panel [data-stock-common]{gap:14px}
  .wv-stock-panel .wv-stock-summary-grid article{min-height:92px;padding:12px 14px}
  .wv-stock-view[data-stock-view="products"] .wv-stock-view-head{align-items:flex-start;gap:14px}
  .wv-stock-view[data-stock-view="products"] .wv-stock-view-head .wv-heading-actions{width:100%}
}
@media(max-width:520px){
  .wv-stock-view[data-stock-view="products"] .wv-stock-view-head .wv-heading-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  .wv-stock-view[data-stock-view="products"] .wv-stock-view-head .wv-heading-actions>button{
    min-width:0;
    padding-inline:12px;
  }
  .wv-stock-view[data-stock-view="products"] .wv-stock-view-head .wv-heading-actions>button:first-child{width:100%}
}

@media(max-width:980px){.wv-stock-operation-dialog,.wv-dialog[data-dialog="container-event"]{width:min(680px,calc(100% - 20px))}.wv-stock-operation-dialog form,.wv-dialog[data-dialog="container-event"] form{gap:16px;padding:26px 20px 22px}.wv-stock-operation-dialog h2,.wv-dialog[data-dialog="container-event"] h2{font-size:27px}.wv-stock-operation-dialog p,.wv-dialog[data-dialog="container-event"] p{font-size:14px}.wv-container-product-row{grid-template-columns:1fr 1fr!important}.wv-container-product-row .wv-stock-product-identity{grid-column:1/-1}.wv-container-product-row .wv-stock-status-card{grid-column:1/-1}.wv-container-product-row .wv-stock-row-actions{grid-column:1/-1;justify-self:stretch;width:100%;border-left:0;padding-left:0}.wv-container-product-row.general .wv-stock-metric{min-height:auto;padding:10px 0 0;border-left:0;border-top:1px solid #e8eff4}.wv-container-product-row.general .wv-stock-row-actions{grid-template-columns:1fr 1fr 58px}}
@media(max-width:720px){.wv-stock-operation-dialog .wv-stock-effect-preview,.wv-dialog[data-dialog="container-event"] .wv-stock-effect-preview{grid-template-columns:1fr 1fr;gap:10px}.wv-stock-operation-dialog .wv-stock-effect-preview span,.wv-dialog[data-dialog="container-event"] .wv-stock-effect-preview span{min-width:0}.wv-stock-operation-dialog .wv-stock-effect-preview i,.wv-dialog[data-dialog="container-event"] .wv-stock-effect-preview i{display:none}.wv-stock-operation-dialog .wv-stock-effect-preview em,.wv-dialog[data-dialog="container-event"] .wv-stock-effect-preview em{grid-column:1/-1}.wv-stock-operation-dialog .wv-dialog-actions,.wv-dialog[data-dialog="container-event"] .wv-dialog-actions{display:grid;grid-template-columns:1fr}.wv-stock-operation-dialog .wv-dialog-actions>button,.wv-dialog[data-dialog="container-event"] .wv-dialog-actions>button{width:100%}.wv-container-summary-grid{grid-template-columns:1fr}.wv-container-summary-grid article{min-height:94px}.wv-stock-panel .wv-container-history article{grid-template-columns:1fr;gap:10px}.wv-stock-panel .wv-container-history time{grid-column:auto}.wv-stock-panel .wv-container-history-balance{justify-self:start}.wv-container-view-head .wv-heading-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.wv-container-view-head .wv-heading-actions button{width:100%}.wv-container-product-row.general .wv-stock-product-identity>img{width:68px;height:82px}.wv-container-product-row.general .wv-stock-row-actions{grid-template-columns:1fr 1fr}.wv-container-product-row.general .wv-stock-row-actions>button.negative{grid-column:2}.wv-container-product-row.general .wv-stock-row-actions>[data-container-count-focus]{grid-column:1}.wv-container-product-row.general .wv-stock-row-actions>button.history{grid-column:2}.wv-container-product-row.general .wv-stock-more{grid-column:1/-1}.wv-container-product-row.general .wv-stock-more>summary{width:100%}}


/* ==========================================================
   v24.0.13 — Dia da Água em modal + estabilidade visual do Estoque
   ========================================================== */
.wv-stock-panel,
.wv-stock-panel [data-stock-common],
.wv-stock-panel .wv-stock-summary-grid,
.wv-stock-panel .wv-stock-toolbar{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
}
.wv-stock-panel [data-stock-common]{
  contain:layout style;
}
.wv-stock-panel .wv-stock-summary-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.wv-stock-panel .wv-stock-summary-grid article{
  width:100%;
  min-width:0;
  transform:none;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.wv-stock-panel .wv-stock-summary-grid article:hover{transform:none}
@media(min-width:901px){
  .wv-workspace{
    overflow-y:scroll !important;
    scrollbar-gutter:stable;
  }
  .wv-content{
    box-sizing:border-box;
    width:min(1530px,100%);
    max-width:1530px;
  }
}

/* Internal stock titles no longer need the repeated blue ESTOQUE kicker. */
.wv-container-view-head>div:first-child,
.wv-stock-conference-view .wv-stock-subpage-heading{gap:7px}

.wv-water-day-dialog{
  width:min(1480px,calc(100% - 48px));
  max-width:1480px;
  max-height:94dvh;
  padding:0;
  border:0;
  border-radius:22px;
  background:#f8fbfd;
  box-shadow:0 28px 90px rgba(4,37,70,.30);
  overflow:hidden;
}
.wv-water-day-dialog::backdrop{
  background:rgba(5,30,60,.38);
  backdrop-filter:blur(4px);
}
.wv-water-day-modal-form{
  position:relative;
  display:grid;
  gap:16px;
  max-height:94dvh;
  padding:24px 24px 0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  background:linear-gradient(180deg,#f7fbff 0,#fafdff 170px,#f8fbfd 100%);
  scrollbar-gutter:stable;
}
.wv-water-day-dialog .wv-dialog-close{
  position:absolute;
  z-index:6;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
}
.wv-water-day-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding-right:54px;
}
.wv-water-day-modal-title{display:grid;gap:6px;min-width:0;padding-top:5px}
.wv-water-day-modal-title h2{margin:0;color:#0b2f67;font-size:34px;line-height:1.08;letter-spacing:-.025em}
.wv-water-day-modal-title p{margin:0;max-width:780px;color:#607b96;font-size:16px;line-height:1.45}
.wv-water-day-modal-head-side{display:flex;align-items:flex-start;gap:10px;flex:0 0 auto;padding-right:2px}
.wv-water-day-dialog .wv-water-day-date-card{min-width:250px;min-height:72px}
.wv-water-day-dialog .wv-water-day-draft-badge{min-height:40px;margin-top:16px}
.wv-water-day-dialog .wv-stock-stepper{gap:12px}
.wv-water-day-dialog .wv-stock-stepper>div{min-height:76px;padding:12px 15px}
.wv-water-day-dialog .wv-stock-stepper b{width:39px;height:39px;font-size:17px}
.wv-water-day-dialog .wv-water-day-grid{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:14px}
.wv-water-day-dialog .wv-water-day-grid>.wv-card{margin:0;padding:17px!important}
.wv-water-day-dialog .wv-water-day-products-card .wv-card-head{align-items:center}
.wv-water-day-dialog .wv-water-day-note-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:38px;
  padding:0 10px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#0b68b7;
  font-size:14px;
  font-weight:850;
  cursor:pointer;
}
.wv-water-day-dialog .wv-water-day-note-toggle:hover{border-color:#c9dfed;background:#f2f8fc}
.wv-water-day-dialog .wv-water-day-note-toggle svg{width:17px;height:17px}
.wv-water-day-dialog .wv-water-day-note-panel{margin:0 0 10px;padding:12px 13px}
.wv-water-day-dialog .wv-water-day-product{padding:9px 11px}
.wv-water-day-dialog .wv-water-day-product .wv-stock-product-identity>img{width:48px;height:56px}
.wv-water-day-dialog .wv-water-day-container-identity img{width:46px;height:58px}
.wv-water-day-dialog .wv-water-day-review{margin:0}
.wv-water-day-dialog .wv-water-day-footer{
  position:sticky;
  z-index:5;
  bottom:0;
  margin:2px -24px 0;
  padding:12px 24px max(14px,env(safe-area-inset-bottom));
  border-width:1px 0 0;
  border-radius:0;
  background:rgba(255,255,255,.97);
  box-shadow:0 -12px 30px rgba(18,59,94,.07);
  backdrop-filter:blur(12px);
}
.wv-water-day-close-dialog{width:min(620px,calc(100% - 28px))}
.wv-water-day-close-dialog .wv-dialog-static{display:grid;gap:14px;padding:28px}
.wv-water-day-close-dialog .wv-dialog-static h2{padding-right:46px}
.wv-water-day-close-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;margin-top:4px}
.wv-water-day-close-actions button{min-height:45px}

@media(max-width:1100px){
  .wv-water-day-dialog{width:calc(100% - 28px);max-height:94dvh}
  .wv-water-day-modal-form{max-height:94dvh;padding:20px 18px 0}
  .wv-water-day-modal-head{flex-direction:column;gap:13px;padding-right:48px}
  .wv-water-day-modal-head-side{width:100%;align-items:center}
  .wv-water-day-dialog .wv-water-day-date-card{width:min(320px,100%)}
  .wv-water-day-dialog .wv-water-day-grid{grid-template-columns:1fr}
  .wv-water-day-dialog .wv-water-day-footer{margin-inline:-18px;padding-inline:18px}
}
@media(max-width:820px){
  .wv-stock-panel .wv-stock-summary-grid{grid-template-columns:1fr 1fr}
  .wv-water-day-dialog{width:calc(100% - 14px);max-height:96dvh;border-radius:18px}
  .wv-water-day-modal-form{max-height:96dvh;padding:18px 14px 0}
  .wv-water-day-dialog .wv-dialog-close{top:12px;right:12px}
  .wv-water-day-modal-title h2{font-size:29px}
  .wv-water-day-modal-title p{font-size:14px}
  .wv-water-day-modal-head-side{display:grid;grid-template-columns:1fr auto}
  .wv-water-day-dialog .wv-water-day-date-card{width:100%;min-width:0}
  .wv-water-day-dialog .wv-stock-stepper{grid-template-columns:1fr}
  .wv-water-day-dialog .wv-water-day-footer{align-items:stretch;flex-direction:column;margin-inline:-14px;padding-inline:14px}
  .wv-water-day-dialog .wv-water-day-footer-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .wv-water-day-dialog .wv-water-day-footer-actions button{width:100%}
}
@media(max-width:560px){
  .wv-stock-panel .wv-stock-summary-grid{grid-template-columns:1fr}
  .wv-water-day-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0}
  .wv-water-day-modal-form{height:100dvh;max-height:100dvh;padding:16px 12px 0}
  .wv-water-day-modal-head{padding-right:42px}
  .wv-water-day-modal-head-side{grid-template-columns:1fr}
  .wv-water-day-dialog .wv-water-day-draft-badge{margin-top:0;justify-self:start}
  .wv-water-day-dialog .wv-water-day-product{grid-template-columns:1fr 1fr}
  .wv-water-day-dialog .wv-water-day-product .wv-stock-product-identity{grid-column:1/-1}
  .wv-water-day-dialog .wv-water-day-container-fields{grid-template-columns:1fr}
  .wv-water-day-dialog .wv-water-day-footer{margin-inline:-12px;padding-inline:12px}
  .wv-water-day-dialog .wv-water-day-footer-info{display:none}
  .wv-water-day-dialog .wv-water-day-footer-actions{grid-template-columns:1fr}
  .wv-water-day-close-actions{grid-template-columns:1fr}
}


/* ==========================================================
   v24.0.14 — Tabela de valores: consulta por região
   ========================================================== */
.wv-prices-dialog{width:min(1180px,calc(100% - 36px));max-height:92vh;border-radius:22px}
.wv-prices-dialog::backdrop{background:rgba(5,30,60,.38);backdrop-filter:blur(5px)}
.wv-prices-dialog .wv-dialog-static{display:grid;gap:16px;max-height:92vh;padding:28px;overflow:auto;background:#f8fbfe}
.wv-prices-dialog .wv-dialog-close{top:16px;right:16px;width:42px;height:42px;border-radius:12px}
.wv-prices-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-right:56px}
.wv-prices-title{display:grid;gap:5px}
.wv-prices-head h2{font-size:30px;line-height:1.08;color:#0b2f67;letter-spacing:-.025em}
.wv-prices-head p{font-size:15px;line-height:1.45;color:#6a8197}
.wv-prices-new-region{flex:0 0 auto;min-height:44px;padding-inline:14px;font-size:14px}
.wv-price-browser{display:grid;gap:14px}
.wv-price-regions-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.wv-price-region-card{display:grid;grid-template-columns:52px minmax(0,1fr) 16px;align-items:center;gap:11px;min-height:88px;padding:12px;border:1px solid #d2e3ef;border-radius:15px;background:#fff;color:#17456f;text-align:left;box-shadow:0 5px 16px rgba(20,64,104,.03);transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}
.wv-price-region-card:hover{border-color:#9bcbe8;background:#f9fdff;box-shadow:0 8px 20px rgba(20,64,104,.06);transform:translateY(-1px)}
.wv-price-region-card.active{border-color:#4baee5;background:#eef7ff;box-shadow:0 0 0 2px rgba(18,143,215,.07)}
.wv-price-region-card.inactive{opacity:.62}
.wv-price-region-icon{display:grid;place-items:center;width:52px;height:52px;padding:2px;border-radius:14px;background:linear-gradient(180deg,#f7fbff,#edf5fb);border:1px solid #e0ebf3;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.wv-price-region-icon img{display:block;width:100%;height:100%;object-fit:contain}
.wv-price-region-card.active .wv-price-region-icon{background:linear-gradient(180deg,#ffffff,#eef7ff);border-color:#b7dff5;box-shadow:0 8px 18px rgba(20,110,178,.10),inset 0 1px 0 rgba(255,255,255,.92)}
.wv-price-region-copy{display:grid;gap:4px;min-width:0;align-content:center}
.wv-price-region-copy strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13.5px;line-height:1.22;color:#0b3569;word-break:break-word}
.wv-price-region-copy small{font-size:12px;line-height:1.15;color:#6d8296;font-weight:850}
.wv-price-region-card.active .wv-price-region-copy strong{color:#083b73}
.wv-price-region-card.active .wv-price-region-copy small{color:#0b6fbe}
.wv-price-region-arrow{display:grid;place-items:center;align-self:center;color:#7a9bbc;transition:transform .16s ease,color .16s ease}
.wv-price-region-card.active .wv-price-region-arrow{transform:rotate(90deg);color:#0b78d1}
.wv-price-region-arrow svg{width:15px;height:15px}
.wv-price-extra-regions{border:1px solid #dbe7ef;border-radius:13px;background:#fff}
.wv-price-extra-regions>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;list-style:none;color:#315a7c;font-size:14px;font-weight:850;cursor:pointer}
.wv-price-extra-regions>summary::-webkit-details-marker{display:none}
.wv-price-extra-regions>summary span{padding:3px 7px;border-radius:999px;background:#eef6fb;color:#52748e;font-size:12px}
.wv-price-extra-regions>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0 11px 11px}
.wv-price-region-panel{display:grid;gap:14px;padding:17px;border:1px solid #d7e6ef;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(20,64,104,.035)}
.wv-price-region-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:13px;border-bottom:1px solid #e7eef3}
.wv-price-region-panel-head>div:first-child{display:grid;gap:3px;min-width:0}
.wv-price-region-panel-head small{color:#0a72c8;font-size:12px;font-weight:900;letter-spacing:.08em}
.wv-price-region-panel-head h3{margin:0;color:#0b2f67;font-size:22px;line-height:1.15}
.wv-price-region-panel-head p{margin:0;color:#6a8197;font-size:14px;line-height:1.4}
.wv-price-region-panel-head p strong{color:#315a7a}
.wv-price-region-admin{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;flex:0 0 auto}
.wv-price-region-admin .wv-secondary{min-height:40px;padding:8px 11px;font-size:13px}
.wv-price-groups{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;align-items:start}
.wv-price-product-group{display:grid;gap:8px;min-width:0}
.wv-price-product-group.empty{opacity:.8}
.wv-price-group-title{display:flex;align-items:center;justify-content:space-between;min-height:28px}
.wv-price-group-title h4{margin:0;color:#234d73;font-size:15px;line-height:1.2}
.wv-price-product-group>p{margin:0;padding:14px;border:1px dashed #d9e7ef;border-radius:12px;background:#fbfdff;color:#7a8fa1;font-size:13px}
.wv-price-product-group>div:last-child{display:grid;gap:7px}
.wv-price-consult-row,.wv-price-edit-row{display:grid;align-items:center;gap:10px;min-height:58px;padding:10px 12px;border:1px solid #e1eaf0;border-radius:12px;background:#fbfdff}
.wv-price-consult-row{grid-template-columns:minmax(0,1fr) auto}
.wv-price-edit-row{grid-template-columns:minmax(180px,1fr) 92px 92px auto 42px}
.wv-price-consult-row.inactive,.wv-price-edit-row.inactive{opacity:.58}
.wv-price-consult-name{display:grid;gap:3px;min-width:0}
.wv-price-consult-name>strong{color:#123c69;font-size:14px;line-height:1.35}
.wv-price-consult-name>small{color:#8193a2;font-size:12px}
.wv-price-consult-name .wv-tier-inline{padding:3px 0 0}
.wv-price-consult-values{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.wv-price-consult-values>span{display:grid;gap:2px;min-width:84px;text-align:right}
.wv-price-consult-values small{color:#73899c;font-size:12px}
.wv-price-consult-values b{color:#0b2f67;font-size:16px;line-height:1.2}
.wv-price-consult-values .cash b{color:#8a6417}
.wv-price-edit-row>label{display:grid;gap:3px}
.wv-price-edit-row>label small{color:#71879a;font-size:11px;font-weight:850}
.wv-price-edit-row>label input{width:100%;min-height:38px;padding:0 8px;border:1px solid #c8dce8;border-radius:9px;background:#fff;color:#153e67;font-size:13px;font-weight:750}
.wv-price-save{min-height:38px;padding:0 10px;border:1px solid #b8d8e9;border-radius:9px;background:#edf8fd;color:#0b67a7;font-size:13px;font-weight:900}
.wv-price-admin-more{position:relative}
.wv-price-admin-more>summary{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #c5dce9;border-radius:10px;background:#fff;color:#0a68ad;list-style:none;cursor:pointer}
.wv-price-admin-more>summary::-webkit-details-marker{display:none}
.wv-price-admin-more>summary svg{width:18px;height:18px}
.wv-price-admin-more>div{position:absolute;z-index:35;right:0;top:calc(100% + 6px);display:grid;min-width:165px;padding:5px;border:1px solid #d3e2eb;border-radius:10px;background:#fff;box-shadow:0 16px 36px rgba(18,55,87,.16)}
.wv-price-admin-more>div button{padding:9px;border:0;border-radius:7px;background:transparent;color:#174b79;font-size:13px;font-weight:750;text-align:left}
.wv-price-admin-more>div button:hover{background:#f2f8fc}
.wv-price-admin-more>div button.danger{color:#b53b45}
.wv-price-admin-more.region>summary{width:40px}
@media(max-width:1080px){
  .wv-price-regions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wv-price-groups{grid-template-columns:1fr}
}
@media(max-width:760px){
  .wv-prices-dialog{width:calc(100% - 16px);max-height:94vh;border-radius:18px}
  .wv-prices-dialog .wv-dialog-static{max-height:94vh;padding:20px 14px 16px;gap:13px}
  .wv-prices-head{align-items:flex-start;flex-direction:column;padding-right:46px}
  .wv-prices-head h2{font-size:26px}
  .wv-prices-head p{font-size:14px}
  .wv-prices-new-region{width:100%}
  .wv-price-regions-grid{grid-template-columns:1fr 1fr;gap:8px}
  .wv-price-region-card{grid-template-columns:46px minmax(0,1fr) 14px;min-height:78px;padding:10px}
  .wv-price-region-icon{width:46px;height:46px}
  .wv-price-region-copy strong{font-size:13px}
  .wv-price-region-copy small{font-size:11px}
  .wv-price-extra-regions>div{grid-template-columns:1fr}
  .wv-price-region-panel{padding:13px}
  .wv-price-region-panel-head{flex-direction:column}
  .wv-price-region-admin{width:100%;justify-content:flex-start}
  .wv-price-consult-row{grid-template-columns:1fr;gap:8px}
  .wv-price-consult-values{justify-content:flex-start}
  .wv-price-consult-values>span{text-align:left}
  .wv-price-edit-row{grid-template-columns:1fr 1fr;gap:8px}
  .wv-price-edit-row .wv-price-consult-name{grid-column:1/-1}
  .wv-price-save{width:100%}
  .wv-price-admin-more{justify-self:end}
}
@media(max-width:480px){
  .wv-price-regions-grid{grid-template-columns:1fr}
  .wv-price-region-card{grid-template-columns:42px minmax(0,1fr) 14px;min-height:72px}
  .wv-price-region-icon{width:42px;height:42px}
  .wv-price-region-panel-head h3{font-size:20px}
  .wv-price-edit-row{grid-template-columns:1fr}
  .wv-price-edit-row .wv-price-consult-name{grid-column:auto}
  .wv-price-admin-more{justify-self:start}
}


/* v24.0.15 — Tabela de valores: polimento visual e contenção */
.wv-prices-dialog .wv-dialog-static{overflow-x:hidden}
.wv-price-region-panel{overflow:hidden}
.wv-price-region-panel-head.compact{display:flex;justify-content:flex-end;align-items:center;padding:0 0 6px;border-bottom:0}
.wv-price-region-admin{max-width:100%}
.wv-price-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wv-price-group-title{min-height:22px}
.wv-price-group-title h4{font-size:17px;color:#153f69}
.wv-price-product-group>div:last-child{display:grid;gap:9px;min-width:0}
.wv-price-consult-row,.wv-price-edit-row{min-width:0;overflow:hidden}
.wv-price-consult-row{grid-template-columns:minmax(0,1fr) auto}
.wv-price-edit-row{grid-template-columns:minmax(0,1fr) minmax(94px,104px) minmax(94px,104px) auto 42px}
.wv-price-item-main{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
.wv-price-item-thumb{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#eef7fd;flex:0 0 auto}
.wv-price-item-thumb img{width:34px;height:34px;object-fit:contain}
.wv-price-consult-name{min-width:0}
.wv-price-consult-name>strong{display:block;word-break:break-word}
.wv-price-consult-name>small{display:block}
.wv-price-consult-values{min-width:0;gap:14px}
.wv-price-consult-values>span{min-width:74px}
.wv-price-edit-row>label{min-width:0}
.wv-price-edit-row>label input{min-width:0}
.wv-price-save{white-space:nowrap}
.wv-price-admin-more{min-width:40px}
.wv-price-admin-more>div{right:0;top:calc(100% + 6px);max-width:min(180px,calc(100vw - 48px))}
@media(max-width:1220px){
  .wv-prices-dialog{width:min(1060px,calc(100% - 24px))}
  .wv-price-groups{grid-template-columns:1fr}
}
@media(max-width:900px){
  .wv-price-regions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wv-price-region-panel-head.compact{justify-content:flex-start}
  .wv-price-region-admin{justify-content:flex-start}
  .wv-price-edit-row{grid-template-columns:minmax(0,1fr) 1fr 1fr}
  .wv-price-item-main{grid-column:1/-1}
  .wv-price-save{width:100%}
  .wv-price-admin-more{justify-self:end}
}
@media(max-width:620px){
  .wv-price-edit-row{grid-template-columns:1fr}
  .wv-price-consult-row{grid-template-columns:1fr}
  .wv-price-consult-values{justify-content:flex-start}
  .wv-price-consult-values>span{text-align:left}
  .wv-price-save{width:100%}
  .wv-price-admin-more{justify-self:start}
  .wv-price-region-admin{display:grid;grid-template-columns:1fr;justify-content:stretch;width:100%}
  .wv-price-region-admin .wv-secondary{width:100%}
}

/* v24.0.19 — Tabela de valores: alinhamento canônico das ações do topo */
.wv-prices-dialog{
  width:min(1180px,calc(100% - 36px));
  max-height:92vh;
  border-radius:22px;
}
.wv-prices-dialog .wv-dialog-static{
  display:grid;
  gap:16px;
  max-height:92vh;
  padding:28px;
  overflow:auto hidden;
  background:#f8fbfe;
}
.wv-prices-dialog .wv-dialog-close{
  top:16px;
  right:16px;
  width:42px;
  height:42px;
  border-radius:12px;
}
.wv-prices-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:18px;
  padding-right:64px;
}
.wv-prices-title{
  display:grid;
  align-content:start;
  gap:5px;
  min-width:0;
}
.wv-prices-head h2{
  margin:0;
  font-size:30px;
  line-height:1.08;
  color:#0b2f67;
  letter-spacing:-.025em;
}
.wv-prices-head p{
  margin:0;
  font-size:15px;
  line-height:1.45;
  color:#6a8197;
}
.wv-price-head-actions{
  display:block;
  align-self:start;
  min-width:0;
  margin:0;
  padding:0;
}
.wv-price-toolbar{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:52px;
  grid-template-rows:52px;
  align-items:center;
  justify-content:end;
  gap:10px;
  width:max-content;
  height:52px;
  margin:0;
  padding:0;
}
.wv-price-icon-button{
  display:grid;
  place-items:center;
  box-sizing:border-box;
  width:52px;
  height:52px;
  min-width:52px;
  min-height:52px;
  margin:0;
  padding:0;
  border:1px solid #c8dceb;
  border-radius:13px;
  background:#fff;
  color:#0a68ad;
  line-height:1;
  box-shadow:0 4px 12px rgba(20,64,104,.03);
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.wv-price-icon-button:hover{
  border-color:#9fcde6;
  background:#f7fbfe;
  box-shadow:0 7px 16px rgba(20,64,104,.065);
}
.wv-price-icon-button svg{
  display:block;
  width:21px;
  height:21px;
  margin:0;
  padding:0;
  overflow:visible;
  transform-box:view-box;
  transform-origin:50% 50%;
}
/* Compensação óptica: os paths dos ícones têm centros visuais diferentes dentro do viewBox 24x24. */
.wv-price-icon-button[data-new-region] svg{transform:translateY(1.2px)}
.wv-price-icon-button[data-edit-region] svg{transform:translate(-.7px,-.5px)}
.wv-price-icon-button[data-add-price-region] svg{transform:translateY(0)}
.wv-price-icon-button[data-delete-region] svg{transform:translateY(0)}
.wv-price-icon-button.danger{color:#c2342d}
.wv-price-icon-button.danger:hover{
  border-color:#efc0bc;
  background:#fff8f8;
  box-shadow:0 7px 16px rgba(194,52,45,.07);
}

@media(max-width:900px){
  .wv-prices-head{
    grid-template-columns:1fr;
    padding-right:46px;
  }
  .wv-price-head-actions{width:100%}
  .wv-price-toolbar{
    grid-auto-columns:48px;
    grid-template-rows:48px;
    justify-content:start;
    height:48px;
  }
  .wv-price-icon-button{
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    border-radius:12px;
  }
  .wv-price-icon-button svg{width:20px;height:20px}
}
@media(max-width:620px){
  .wv-price-toolbar{gap:8px}
}


/* ==========================================================
   v24.1.0 — Relatórios de vendas · Fase 1 operacional
   ========================================================== */
.wv-reports-panel{--report-border:#d8e6ef;--report-soft:#f6fbff;--report-blue:#0a72d8;--report-ink:#0b2f67;--report-muted:#68819a}
.wv-report-heading{margin-bottom:14px}
.wv-report-heading>div{display:grid;gap:3px}.wv-report-heading h1{font-size:36px;line-height:1.08}.wv-report-heading p{font-size:16px}
.wv-report-filters-v2{display:grid;grid-template-columns:auto minmax(110px,.55fr) minmax(170px,.8fr) minmax(145px,.65fr) minmax(145px,.65fr) auto;align-items:end;gap:12px;margin-bottom:16px;padding:14px 16px;border:1px solid var(--report-border);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(20,64,104,.035)}
.wv-report-filters-v2 .wv-filter-pills{display:flex;align-items:center;gap:6px;margin:0;padding:3px;border-radius:13px;background:#f5f9fc}
.wv-report-filters-v2 .wv-filter-pills button{min-height:42px;padding:0 15px;border:1px solid transparent;border-radius:11px;background:transparent;color:#52708c;font-size:15px;font-weight:850;white-space:nowrap}
.wv-report-filters-v2 .wv-filter-pills button.active{border-color:#8bc9ef;background:#0b79df;color:#fff;box-shadow:0 5px 13px rgba(11,121,223,.18)}
.wv-report-filters-v2 label{display:grid;gap:6px;color:#43617d;font-size:14px;font-weight:850}.wv-report-filters-v2 input,.wv-report-filters-v2 select{width:100%;min-height:46px;padding:0 12px;border:1px solid #cbdde9;border-radius:11px;background:#fbfdff;color:#173f68;font-size:15px;font-weight:700}.wv-report-run{min-height:46px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.wv-report-run svg{width:18px;height:18px}
.wv-report-error{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:12px 14px;border:1px solid #efc7c7;border-radius:13px;background:#fff8f8;color:#7f2c2c}.wv-report-error>div{display:flex;align-items:center;gap:10px}.wv-report-error svg{width:22px;height:22px}.wv-report-error span{display:grid;gap:2px}.wv-report-error small{font-size:14px}
.wv-report-customer-context{margin:0 0 16px;padding:11px 14px;border-radius:12px}.wv-report-customer-context strong{font-size:15px}.wv-report-customer-context span{font-size:14px}
.wv-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.wv-report-kpis article{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:86px;padding:14px 16px;border:1px solid var(--report-border);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(20,64,104,.035)}.wv-report-kpi-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#eaf5ff;color:#0b78d1}.wv-report-kpi-icon svg{width:24px;height:24px}.wv-report-kpis article>div{display:grid;gap:2px;min-width:0}.wv-report-kpis small{font-size:14px;color:#4f6d88;font-weight:850}.wv-report-kpis strong{font-size:28px;line-height:1.05;color:var(--report-ink)}.wv-report-kpis em{max-width:115px;color:#70879a;font-size:13px;line-height:1.3;font-style:normal;font-weight:800;text-align:right}.wv-report-kpis em.positive{color:#178347}.wv-report-kpis em.negative{color:#bd4147}.wv-report-kpis em.neutral{color:#7b8e9f}
.wv-report-analytics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.wv-report-card{margin:0!important;min-width:0;padding:16px;border:1px solid var(--report-border);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(20,64,104,.03)}.wv-report-card-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}.wv-report-card-head>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#edf7ff;color:#0b78d1}.wv-report-card-head>span svg{width:19px;height:19px}.wv-report-card-head>div{display:grid;gap:2px;min-width:0}.wv-report-card-head h2{margin:0;color:#123b68;font-size:18px;line-height:1.18}.wv-report-card-head p{margin:0;color:#74889c;font-size:14px;line-height:1.35}
.wv-report-line{grid-template-columns:minmax(0,1fr) minmax(64px,.55fr) auto;gap:8px;padding:10px 0}.wv-report-line.has-rank{grid-template-columns:auto minmax(0,1fr) minmax(64px,.55fr) auto}.wv-report-line:first-child{border-top:0}.wv-report-rank{display:grid!important;place-items:center;width:28px!important;height:28px!important;border-radius:999px!important;background:#e8f4ff!important;color:#0a70c6!important;font-size:13px!important;font-weight:900!important}.wv-report-line>div strong{font-size:14px;white-space:normal;line-height:1.3}.wv-report-line>div small{font-size:13px}.wv-report-line .wv-report-bar{height:6px}.wv-report-line>b{font-size:14px;white-space:nowrap}.wv-report-empty{padding:14px 4px;color:#7b8fa0;font-size:14px;line-height:1.4}.wv-report-empty.success{color:#288159;font-weight:800}
.wv-report-audit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.wv-report-audit{min-height:0}.wv-price-override-report{display:grid}.wv-price-override-report>article{display:grid;grid-template-columns:110px minmax(0,1.3fr) minmax(105px,.65fr) minmax(105px,.65fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #e7eef3}.wv-price-override-report>article:first-child{border-top:0}.wv-price-override-report time{color:#70869a;font-size:13px}.wv-price-override-report article>div{display:grid;gap:2px;min-width:0}.wv-price-override-report article>div strong{font-size:14px}.wv-price-override-report article>div small{color:#70869a;font-size:13px}.wv-price-override-report article>span{display:grid;gap:2px;color:#6d8295;font-size:12px}.wv-price-override-report article>span b{color:#173f68;font-size:14px}.wv-price-override-report article>em{font-size:13px;font-style:normal;font-weight:900}.wv-price-override-report .negative{color:#b13c42}.wv-price-override-report .positive{color:#916111}
.wv-report-cash-list{display:grid}.wv-report-cash-list>article{display:grid;grid-template-columns:minmax(150px,1fr) repeat(4,minmax(80px,.55fr)) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #e7eef3}.wv-report-cash-list>article:first-child{border-top:0}.wv-report-cash-list article>div{display:grid;gap:2px}.wv-report-cash-list article>div strong{font-size:14px;color:#173f68}.wv-report-cash-list article>div small,.wv-report-cash-list article>span small{font-size:12px;color:#72879a}.wv-report-cash-list article>span{display:grid;gap:2px}.wv-report-cash-list article>span b{font-size:14px;color:#153d66}.wv-report-cash-list article>em{padding:6px 9px;border-radius:999px;background:#eaf8f0;color:#24855a;font-size:12px;font-style:normal;font-weight:900;white-space:nowrap}.wv-report-cash-list article>em.open{background:#fff6e6;color:#9a6813}.wv-report-cash-list .negative{color:#b93d43!important}
.wv-report-detail-card{margin:0!important;padding:16px;border:1px solid var(--report-border);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(20,64,104,.03)}.wv-report-sales-table{display:grid;overflow:hidden;border:1px solid #e0eaf1;border-radius:13px}.wv-report-sales-head,.wv-report-sale-row{display:grid;grid-template-columns:145px minmax(220px,1.35fr) minmax(160px,.9fr) minmax(150px,.85fr) minmax(130px,.75fr) 105px;align-items:center;gap:10px;padding:10px 12px}.wv-report-sales-head{background:#f1f7fb;color:#52708a;font-size:12px;font-weight:900;text-transform:uppercase}.wv-report-sale-row{border-top:1px solid #e8eff4}.wv-report-sale-row time{display:flex;align-items:center;gap:6px;color:#617b92;font-size:13px}.wv-report-sale-row>div{display:grid;gap:2px;min-width:0}.wv-report-sale-row strong{font-size:14px;color:#123b68}.wv-report-sale-row small{overflow:hidden;color:#73879a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.wv-report-sale-row>span{color:#4e6d88;font-size:13px;line-height:1.35}.wv-report-sale-row>b{color:#0b3d72;font-size:14px;text-align:right}.wv-report-sale-row.has-price-override{background:#fffaf1}.wv-report-more-wrap{display:flex;justify-content:center;padding-top:12px}.wv-report-more-wrap button{min-height:42px}
.wv-report-skeleton{display:grid;gap:8px;padding:6px 0}.wv-report-skeleton i{display:block;height:14px;border-radius:7px;background:linear-gradient(90deg,#edf3f7 25%,#f8fbfd 50%,#edf3f7 75%);background-size:200% 100%;animation:wv-report-shimmer 1.2s linear infinite}.wv-report-skeleton i:nth-child(2){width:82%}.wv-report-skeleton i:nth-child(3){width:66%}@keyframes wv-report-shimmer{to{background-position:-200% 0}}
@media(max-width:1280px){.wv-report-filters-v2{grid-template-columns:repeat(3,minmax(0,1fr))}.wv-report-filters-v2 .wv-filter-pills{grid-column:1/-1}.wv-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.wv-report-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}.wv-report-audit-grid{grid-template-columns:1fr}.wv-price-override-report>article{grid-template-columns:100px minmax(0,1fr) repeat(2,minmax(90px,.55fr)) auto}}
@media(max-width:760px){.wv-report-heading h1{font-size:31px}.wv-report-filters-v2{grid-template-columns:1fr 1fr;padding:12px}.wv-report-filters-v2 .wv-filter-pills{grid-column:1/-1;overflow-x:auto}.wv-report-filters-v2 .wv-filter-pills button{flex:0 0 auto}.wv-report-id-filter{grid-column:1/-1}.wv-report-run{grid-column:1/-1}.wv-report-kpis{grid-template-columns:1fr 1fr;gap:9px}.wv-report-kpis article{grid-template-columns:42px 1fr;min-height:78px;padding:12px}.wv-report-kpi-icon{width:42px;height:42px}.wv-report-kpis strong{font-size:23px}.wv-report-kpis em{grid-column:1/-1;max-width:none;text-align:left}.wv-report-analytics{grid-template-columns:1fr}.wv-price-override-report>article{grid-template-columns:1fr 1fr;gap:7px}.wv-price-override-report>article time,.wv-price-override-report>article>div{grid-column:1/-1}.wv-report-cash-list>article{grid-template-columns:1fr 1fr;gap:8px}.wv-report-cash-list article>div,.wv-report-cash-list article>em{grid-column:1/-1}.wv-report-sales-head{display:none}.wv-report-sales-table{border:0;gap:9px;background:transparent}.wv-report-sale-row{grid-template-columns:1fr auto;gap:7px;padding:12px;border:1px solid #e0eaf1;border-radius:12px;background:#fff}.wv-report-sale-row time{grid-column:1/-1}.wv-report-sale-row .wv-report-sale-main{grid-column:1/-1}.wv-report-sale-row>span{grid-column:1}.wv-report-sale-row>b{grid-column:2;grid-row:3;text-align:right}.wv-report-sale-row>span:nth-of-type(2),.wv-report-sale-row>span:nth-of-type(3){font-size:12px}.wv-report-sale-row small{white-space:normal}.wv-report-customer-context{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.wv-report-filters-v2{grid-template-columns:1fr}.wv-report-filters-v2>*{grid-column:1!important}.wv-report-kpis{grid-template-columns:1fr}.wv-report-kpis article{grid-template-columns:46px 1fr auto}.wv-report-kpis em{grid-column:auto;max-width:105px;text-align:right}}


/* v24.1.2 — Relatórios: polimento visual, tipografia padrão e prevenção de textos espremidos */
.wv-reports-panel,
.wv-reports-panel *{font-family:"Nunito",sans-serif}
.wv-reports-panel{--report-title:#123b68}
.wv-report-heading h1{font-family:"Nunito",sans-serif;letter-spacing:-.03em}
.wv-report-heading p{font-size:15px;line-height:1.45}
.wv-report-filters-v2 label{font-size:15px}
.wv-report-filters-v2 input,
.wv-report-filters-v2 select,
.wv-report-filters-v2 .wv-filter-pills button,
.wv-report-run{font-family:"Nunito",sans-serif}

.wv-report-kpis article{grid-template-columns:52px minmax(0,1fr);align-items:center;row-gap:3px}
.wv-report-kpis article>div{min-width:0}
.wv-report-kpis small{font-size:15px;line-height:1.2}
.wv-report-kpis strong{font-size:27px;line-height:1.08;overflow-wrap:anywhere}
.wv-report-kpis em{grid-column:2;max-width:none;margin-top:1px;font-size:13px;line-height:1.3;text-align:left;white-space:normal}

.wv-report-card,
.wv-report-detail-card{overflow:hidden}
.wv-report-card-head h2,
.wv-report-card-head p,
.wv-report-line>div strong,
.wv-report-line>div small,
.wv-report-empty,
.wv-report-customer-context strong,
.wv-report-customer-context span,
.wv-price-override-report article>div strong,
.wv-price-override-report article>div small,
.wv-report-cash-list article>div strong,
.wv-report-cash-list article>div small,
.wv-report-sale-row strong,
.wv-report-sale-row small,
.wv-report-sale-row>span,
.wv-report-sale-row>b{font-family:"Nunito",sans-serif}

.wv-report-line{grid-template-columns:minmax(0,1fr) minmax(76px,.52fr) minmax(86px,auto);gap:10px;align-items:center}
.wv-report-line.has-rank{grid-template-columns:auto minmax(0,1fr) minmax(76px,.52fr) minmax(86px,auto)}
.wv-report-line>div{min-width:0}
.wv-report-line>div strong{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.wv-report-line>div small{font-size:13px;line-height:1.35;white-space:normal}
.wv-report-line>b{justify-self:end;white-space:nowrap}

.wv-price-override-report>article{grid-template-columns:minmax(90px,.72fr) minmax(0,1.55fr) minmax(96px,.66fr) minmax(96px,.66fr) minmax(74px,.45fr);gap:12px}
.wv-price-override-report time{line-height:1.35}
.wv-price-override-report article>div{min-width:0}
.wv-price-override-report article>div strong{line-height:1.3;overflow-wrap:anywhere}
.wv-price-override-report article>div small{line-height:1.35;white-space:normal}
.wv-price-override-report article>span{min-width:0}
.wv-price-override-report article>span b{overflow-wrap:anywhere}
.wv-price-override-report article>em{justify-self:end;text-align:right;white-space:nowrap}

.wv-report-cash-list>article{grid-template-columns:minmax(180px,1.25fr) repeat(4,minmax(82px,.55fr)) minmax(104px,.5fr);gap:12px}
.wv-report-cash-list article>div{min-width:0}
.wv-report-cash-list article>div strong{line-height:1.3;overflow-wrap:anywhere}
.wv-report-cash-list article>div small{line-height:1.35;white-space:normal}
.wv-report-cash-list article>span{min-width:0}
.wv-report-cash-list article>span b{overflow-wrap:anywhere}
.wv-report-cash-list article>em{justify-self:end;max-width:100%;padding:7px 10px;text-align:center;white-space:normal;line-height:1.2}

.wv-report-sales-table{overflow:hidden}
.wv-report-sales-head,
.wv-report-sale-row{grid-template-columns:132px minmax(250px,1.55fr) minmax(130px,.88fr) minmax(146px,.88fr) minmax(114px,.74fr) 92px;gap:12px}
.wv-report-sale-row{align-items:start}
.wv-report-sale-row time{line-height:1.35}
.wv-report-sale-row>div{min-width:0}
.wv-report-sale-row strong{line-height:1.3;overflow-wrap:anywhere}
.wv-report-sale-row small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;line-height:1.35}
.wv-report-sale-row>span{line-height:1.35;overflow-wrap:anywhere}
.wv-report-sale-row>b{white-space:nowrap;align-self:center}

@media(max-width:1280px){
  .wv-report-kpis article{grid-template-columns:46px minmax(0,1fr)}
  .wv-report-kpi-icon{width:46px;height:46px}
  .wv-report-cash-list>article{grid-template-columns:minmax(160px,1.1fr) repeat(4,minmax(72px,.5fr)) minmax(94px,.48fr)}
  .wv-report-sales-head,
  .wv-report-sale-row{grid-template-columns:120px minmax(210px,1.45fr) minmax(118px,.82fr) minmax(132px,.82fr) minmax(98px,.68fr) 86px}
}
@media(max-width:900px){
  .wv-report-kpis strong{font-size:24px}
  .wv-report-line{grid-template-columns:minmax(0,1fr) minmax(70px,.45fr) auto}
  .wv-report-line.has-rank{grid-template-columns:auto minmax(0,1fr) minmax(70px,.45fr) auto}
  .wv-price-override-report>article{grid-template-columns:1fr 1fr;gap:8px}
  .wv-price-override-report>article time,
  .wv-price-override-report>article>div{grid-column:1/-1}
  .wv-report-cash-list>article{grid-template-columns:1fr 1fr;gap:8px}
  .wv-report-cash-list article>div,
  .wv-report-cash-list article>em{grid-column:1/-1}
}
@media(max-width:760px){
  .wv-report-heading p{font-size:14px}
  .wv-report-kpis article{grid-template-columns:42px minmax(0,1fr)}
  .wv-report-kpis small{font-size:14px}
  .wv-report-kpis strong{font-size:22px}
  .wv-report-kpis em{font-size:12px}
  .wv-report-line,
  .wv-report-line.has-rank{grid-template-columns:auto minmax(0,1fr);row-gap:6px}
  .wv-report-line .wv-report-bar{grid-column:2;width:100%}
  .wv-report-line>b{grid-column:2;justify-self:start}
}
@media(max-width:480px){
  .wv-report-kpis article{grid-template-columns:46px minmax(0,1fr)}
  .wv-report-kpis em{grid-column:1/-1;text-align:left}
}


/* v24.1.3 — Relatórios: abertura e fechamento de caixa sempre dentro da área visível */
.wv-report-cash-list{overflow:hidden}
.wv-report-cash-list>article{
  grid-template-columns:minmax(170px,1.3fr) repeat(4,minmax(76px,.56fr));
  align-items:start;
  gap:12px;
}
.wv-report-cash-list article>div,
.wv-report-cash-list article>span{min-width:0}
.wv-report-cash-list article>div strong,
.wv-report-cash-list article>div small,
.wv-report-cash-list article>span small,
.wv-report-cash-list article>span b{overflow-wrap:anywhere}
.wv-report-cash-list article>em{
  grid-column:1 / -1;
  justify-self:end;
  max-width:220px;
  width:max-content;
  box-sizing:border-box;
  padding:7px 10px;
  white-space:normal;
  line-height:1.2;
  text-align:center;
}
@media(max-width:1360px){
  .wv-report-cash-list>article{grid-template-columns:minmax(150px,1.15fr) repeat(4,minmax(70px,.52fr))}
  .wv-report-cash-list article>em{justify-self:start;max-width:none;width:auto}
}
@media(max-width:900px){
  .wv-report-cash-list>article{grid-template-columns:1fr 1fr;gap:8px}
  .wv-report-cash-list article>div,
  .wv-report-cash-list article>em{grid-column:1/-1}
}

/* v24.2.0 — Revendedores, Carga completa, contas a receber e retorno de vasilhames */
.wv-reseller-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;padding:4px 8px;border:1px solid #9bd8d4;border-radius:999px;background:#e9fbf8;color:#087a75;font-family:"Nunito",sans-serif;font-size:11px;font-style:normal;font-weight:950;line-height:1;letter-spacing:.06em;white-space:nowrap}
.wv-customer-list>article.is-reseller{border-color:#c8e8e6;background:linear-gradient(90deg,#f7fffe,#fff 38%)}
.wv-customer-list>article.is-reseller .wv-customer-name strong{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.wv-customers-heading .wv-heading-actions{align-items:center}

.wv-reseller-form-card{display:grid;gap:14px;padding:15px;border:1px solid #cfe6e6;border-radius:14px;background:linear-gradient(135deg,#f5fffd,#f8fbff)}
.wv-reseller-extra-fields{display:grid;gap:13px;padding-top:13px;border-top:1px solid #dcebea}
.wv-check-line{display:flex!important;align-items:flex-start!important;gap:10px!important;min-width:0}
.wv-check-line>input[type="checkbox"]{flex:0 0 19px!important;width:19px!important;min-height:19px!important;height:19px!important;margin-top:2px;padding:0!important}
.wv-check-line>span{display:grid;gap:2px;min-width:0}
.wv-check-line>span b{color:#244963;font-size:14px}
.wv-check-line>span small{color:#728697;font-size:13px;line-height:1.35}

.wv-reseller-dashboard-dialog{width:min(100% - 28px,1120px)}
.wv-reseller-dashboard-dialog .wv-dialog-static{gap:10px}
.wv-dialog-intro{margin:0 0 8px;color:#70869a;font-size:15px;line-height:1.4}
.wv-reseller-agenda-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:8px 0 14px}
.wv-reseller-agenda-kpis article,.wv-reseller-profile-kpis article{display:grid;gap:3px;min-width:0;padding:13px 14px;border:1px solid #dbe8ef;border-radius:13px;background:#fbfdff}
.wv-reseller-agenda-kpis article.warning,.wv-reseller-profile-kpis article.warning{border-color:#efd6a1;background:#fffaf0}
.wv-reseller-agenda-kpis small,.wv-reseller-profile-kpis small{color:#70869a;font-size:12px;font-weight:950;letter-spacing:.05em}
.wv-reseller-agenda-kpis strong,.wv-reseller-profile-kpis strong{overflow-wrap:anywhere;color:#123f69;font-size:21px;line-height:1.15}
.wv-reseller-agenda-kpis article.warning strong,.wv-reseller-profile-kpis article.warning strong{color:#a2640b}
.wv-reseller-agenda-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wv-reseller-agenda-grid>section{min-width:0;padding:14px;border:1px solid #dce8ef;border-radius:14px;background:#fff}
.wv-reseller-agenda-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(135px,.55fr) auto;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #e8eff3}
.wv-reseller-agenda-row:first-of-type{border-top:0}
.wv-reseller-agenda-row.overdue{background:linear-gradient(90deg,rgba(190,55,65,.045),transparent)}
.wv-reseller-agenda-row>div,.wv-reseller-agenda-row>span{display:grid;gap:2px;min-width:0}
.wv-reseller-agenda-row strong{color:#173f64;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.wv-reseller-agenda-row small{color:#71879a;font-size:12px;line-height:1.35}
.wv-reseller-agenda-row>span b{color:#0c527f;font-size:14px;overflow-wrap:anywhere}
.wv-reseller-agenda-row.overdue>span b{color:#b43d45}
.wv-reseller-agenda-row button{min-height:38px;padding:7px 9px}

.wv-reseller-load-dialog{width:min(100% - 28px,760px)}
.wv-reseller-load-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 2px}
.wv-reseller-load-choice{position:relative;display:block!important;cursor:pointer}
.wv-reseller-load-choice>input{position:absolute;opacity:0;pointer-events:none}
.wv-reseller-load-choice>span{display:grid;gap:4px;min-height:82px;padding:14px;border:1px solid #cadde9;border-radius:13px;background:#fff;transition:.18s}
.wv-reseller-load-choice>span b{color:#15436c;font-size:16px}
.wv-reseller-load-choice>span small{color:#6e8598;font-size:13px;line-height:1.4}
.wv-reseller-load-choice>input:checked+span{border-color:#1685ce;background:#eff9ff;box-shadow:0 0 0 2px rgba(22,133,206,.08)}
.wv-reseller-load-preview{display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(3,minmax(110px,.65fr));gap:9px;padding:13px;border:1px solid #cfe4ee;border-radius:14px;background:#f6fbfe}
.wv-reseller-load-preview>div{display:grid;gap:2px;min-width:0}
.wv-reseller-load-preview>div:first-child{align-content:center}
.wv-reseller-load-preview small,.wv-reseller-load-preview span{color:#6c8396;font-size:12px}
.wv-reseller-load-preview b{color:#194664;font-size:15px}
.wv-reseller-load-preview>div:first-child strong,.wv-reseller-load-preview .total strong{color:#0c5c91;font-size:18px}
.wv-reseller-load-preview .total{padding-left:10px;border-left:1px solid #d7e7ee}
.wv-reseller-load-preview>p{grid-column:1/-1;margin:2px 0 0;padding-top:9px;border-top:1px solid #dce9ef;color:#58748a;font-size:13px;line-height:1.4}

.wv-reseller-profile{display:grid;gap:14px;margin-top:14px;padding:15px;border:1px solid #cae5e3;border-radius:15px;background:linear-gradient(180deg,#fbfffe,#fff)}
.wv-reseller-profile>.wv-customer-section-head{margin:0}
.wv-reseller-profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.wv-reseller-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wv-reseller-profile-grid>section{min-width:0;padding:13px;border:1px solid #dce9ef;border-radius:13px;background:#fff}
.wv-reseller-load-row,.wv-reseller-account-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(115px,.58fr) minmax(145px,.72fr) auto;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #e8eff3}
.wv-reseller-account-row{grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(92px,.52fr)) auto}
.wv-reseller-load-row:first-of-type,.wv-reseller-account-row:first-of-type{border-top:0}
.wv-reseller-load-row>div,.wv-reseller-load-row>span,.wv-reseller-account-row>div,.wv-reseller-account-row>span{display:grid;gap:2px;min-width:0}
.wv-reseller-load-row strong,.wv-reseller-account-row strong{color:#173f64;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.wv-reseller-load-row small,.wv-reseller-account-row small{color:#718699;font-size:12px;line-height:1.35}
.wv-reseller-load-row span>b,.wv-reseller-account-row span>b{color:#15466d;font-size:14px;overflow-wrap:anywhere}
.wv-reseller-load-row span>em{color:#728697;font-size:11px;font-style:normal;line-height:1.3;overflow-wrap:anywhere}
.wv-reseller-load-row.overdue,.wv-reseller-account-row.overdue{background:linear-gradient(90deg,rgba(190,55,65,.05),transparent)}
.wv-reseller-load-row.overdue span>b,.wv-reseller-account-row.overdue span>b{color:#ae3842}
.wv-reseller-account-row.partial span>b,.wv-reseller-account-row.today span>b{color:#9a6712}
.wv-reseller-load-row button,.wv-reseller-account-row button{min-height:38px;padding:7px 10px;font-size:13px}

.wv-reseller-config-row{display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(165px,1.1fr) repeat(3,minmax(120px,.72fr)) auto;align-items:end;gap:10px;padding:13px 0;border-top:1px solid #e3edf2}
.wv-reseller-config-row:first-child{border-top:0}
.wv-reseller-config-row>div{display:grid;gap:3px;align-self:center;min-width:0}
.wv-reseller-config-row>div strong{color:#173f64;font-size:15px}
.wv-reseller-config-row>div small{color:#718699;font-size:12px}
.wv-reseller-config-row label{display:grid;gap:5px;min-width:0;color:#4d6a80;font-size:12px;font-weight:850}
.wv-reseller-config-row input,.wv-reseller-config-row select{width:100%;min-width:0;min-height:42px;padding:0 10px;border:1px solid #cbdee9;border-radius:10px;background:#fff;color:#173f64;font-size:14px}
.wv-reseller-config-row button{min-height:42px;padding:8px 11px}

@media(max-width:1180px){
  .wv-reseller-agenda-kpis,.wv-reseller-profile-kpis{grid-template-columns:1fr 1fr}
  .wv-reseller-agenda-grid,.wv-reseller-profile-grid{grid-template-columns:1fr}
  .wv-reseller-config-row{grid-template-columns:1fr 1fr 1fr}
  .wv-reseller-config-row>div{grid-column:1/-1}
  .wv-reseller-config-row button{width:100%}
}
@media(max-width:820px){
  .wv-customers-heading .wv-heading-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .wv-reseller-load-preview{grid-template-columns:1fr 1fr}
  .wv-reseller-load-preview>div:first-child,.wv-reseller-load-preview>p{grid-column:1/-1}
  .wv-reseller-load-preview .total{padding-left:0;border-left:0}
  .wv-reseller-load-row,.wv-reseller-account-row{grid-template-columns:1fr 1fr}
  .wv-reseller-load-row>div,.wv-reseller-account-row>div{grid-column:1/-1}
  .wv-reseller-load-row button,.wv-reseller-account-row button{grid-column:1/-1;width:100%}
}
@media(max-width:620px){
  .wv-customers-heading .wv-heading-actions{grid-template-columns:1fr}
  .wv-reseller-load-options{grid-template-columns:1fr}
  .wv-reseller-agenda-kpis,.wv-reseller-profile-kpis{grid-template-columns:1fr 1fr}
  .wv-reseller-agenda-kpis strong,.wv-reseller-profile-kpis strong{font-size:18px}
  .wv-reseller-agenda-row{grid-template-columns:1fr auto}
  .wv-reseller-agenda-row>div{grid-column:1/-1}
  .wv-reseller-agenda-row button{grid-column:1/-1;width:100%;justify-content:flex-start}
  .wv-reseller-config-row{grid-template-columns:1fr}
  .wv-reseller-config-row>div{grid-column:auto}
  .wv-customer-detail-id{align-items:flex-start;flex-wrap:wrap}
}
@media(max-width:430px){
  .wv-reseller-agenda-kpis,.wv-reseller-profile-kpis{grid-template-columns:1fr}
  .wv-reseller-load-preview{grid-template-columns:1fr}
  .wv-reseller-load-preview>div:first-child,.wv-reseller-load-preview>p{grid-column:auto}
  .wv-reseller-load-row,.wv-reseller-account-row{grid-template-columns:1fr}
  .wv-reseller-load-row>div,.wv-reseller-account-row>div,.wv-reseller-load-row button,.wv-reseller-account-row button{grid-column:auto}
}
.wv-reseller-return-history{grid-column:1/-1;margin-top:1px;padding-top:7px;border-top:1px dashed #dbe7ed}
.wv-reseller-return-history summary{cursor:pointer;color:#0b70b7;font-size:12px;font-weight:900;list-style:none}
.wv-reseller-return-history summary::-webkit-details-marker{display:none}
.wv-reseller-return-history summary::after{content:" +";font-weight:950}
.wv-reseller-return-history[open] summary::after{content:" −"}
.wv-reseller-return-history>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.wv-reseller-return-history>div>span{display:grid;gap:1px;padding:7px 9px;border:1px solid #dce9ef;border-radius:9px;background:#f8fbfd}
.wv-reseller-return-history b{color:#214863;font-size:12px}.wv-reseller-return-history small{color:#718698;font-size:11px}
.wv-reseller-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.wv-reseller-dashboard-head>div{display:grid;gap:4px;min-width:0}.wv-reseller-dashboard-head h2{margin:0}
.wv-reseller-dashboard-head>button{flex:0 0 auto;min-height:42px}
@media(max-width:620px){.wv-reseller-dashboard-head{flex-direction:column}.wv-reseller-dashboard-head>button{width:100%}}


/* v24.2.1 — Revendedores: área operacional própria */
.wv-customer-row{position:relative;z-index:1}.wv-customer-row.menu-open{z-index:90}.wv-customer-more[open]{z-index:100}.wv-customer-more>div{z-index:110;pointer-events:auto}.wv-customer-more>summary{position:relative;z-index:2;isolation:isolate}
.wv-resellers-panel{font-family:"Nunito",sans-serif}.wv-reseller-heading{align-items:flex-end}.wv-reseller-pay-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 17px;border:1px solid #ecd39b;border-radius:12px;background:#fff2d5;color:#8b5708;font:900 15px/1 "Nunito",sans-serif}.wv-reseller-pay-button:hover{background:#ffe8b5}
.wv-reseller-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.wv-reseller-kpis article{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;min-height:94px;padding:16px;border:1px solid #d9e7f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(20,64,104,.04)}.wv-reseller-kpis article>span{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e5f3ff;color:#0876d5}.wv-reseller-kpis article.danger>span{background:#ffe8e9;color:#d7202b}.wv-reseller-kpis article>div{display:grid;min-width:0}.wv-reseller-kpis small{color:#355c7f;font-size:15px;font-weight:900}.wv-reseller-kpis strong{margin:2px 0;color:#092f6d;font-size:28px;line-height:1.05}.wv-reseller-kpis em{color:#6e8498;font-size:13px;font-style:normal;font-weight:700}
.wv-reseller-tabs{display:flex;align-items:center;gap:4px;margin-bottom:14px;padding:7px;border:1px solid #d9e7ef;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(24,64,102,.035);overflow-x:auto}.wv-reseller-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:1;min-width:145px;min-height:48px;padding:0 14px;border:0;border-radius:11px;background:transparent;color:#24558b;font:850 15px/1 "Nunito",sans-serif;white-space:nowrap}.wv-reseller-tabs button+button{border-left:1px solid #e1ebf1;border-radius:0 11px 11px 0}.wv-reseller-tabs button.active{border-left-color:transparent;border-radius:11px;background:linear-gradient(135deg,#086bdc,#08aee0);color:#fff;box-shadow:0 7px 17px rgba(8,112,216,.18)}
.wv-reseller-content{min-width:0}.wv-reseller-alerts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.wv-reseller-alert{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:12px;min-height:90px;padding:14px;border:1px solid #dce8ef;border-radius:15px;background:#fff;text-align:left;box-shadow:0 7px 18px rgba(20,64,104,.025)}.wv-reseller-alert>span{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#e9f5ff;color:#0b78d6}.wv-reseller-alert>div{display:grid;gap:1px;min-width:0}.wv-reseller-alert strong{font-size:16px}.wv-reseller-alert b{font-size:18px}.wv-reseller-alert small{color:#6e8498;font-size:14px}.wv-reseller-alert.danger{border-color:#f4d6d8;background:#fffafa}.wv-reseller-alert.danger>span{background:#ffe4e6;color:#d71824}.wv-reseller-alert.danger strong,.wv-reseller-alert.danger b{color:#c91821}.wv-reseller-alert.warning{border-color:#efdcb1;background:#fffcf5}.wv-reseller-alert.warning>span{background:#fff0cf;color:#a86605}.wv-reseller-alert.warning strong,.wv-reseller-alert.warning b{color:#995c05}
.wv-reseller-recent{margin:0 0 14px!important;padding:14px}.wv-reseller-load-table{overflow-x:auto;border:1px solid #dce8ef;border-radius:12px}.wv-reseller-load-table .head,.wv-reseller-load-table article{display:grid;grid-template-columns:95px minmax(180px,1.1fr) minmax(155px,.9fr) 110px 110px minmax(145px,.8fr) 42px;align-items:center;gap:10px;min-width:940px;padding:10px 12px}.wv-reseller-load-table .head{background:#f2f8fc;color:#54718c;font-size:12px;font-weight:950;text-transform:uppercase}.wv-reseller-load-table article{border-top:1px solid #e5edf3;color:#42627f;font-size:14px}.wv-reseller-load-table article time{color:#416482}.wv-reseller-load-table article>div{display:grid;min-width:0}.wv-reseller-load-table article>div strong{color:#113c70;font-size:14px}.wv-reseller-load-table article>div small{color:#7a8fa0;font-size:12px}.wv-reseller-load-table article>b{color:#0d396b}.wv-reseller-load-table .pending{color:#b74a25;font-weight:850}.wv-reseller-load-table .done{color:#20815b;font-weight:850}.wv-icon-only{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:9px;background:#edf6fb;color:#0874c8}.wv-icon-only svg{width:17px;height:17px}
.wv-reseller-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wv-reseller-overview-grid>.wv-card{margin:0!important;padding:14px;min-width:0}.wv-reseller-mini-list{display:grid;gap:8px}.wv-reseller-mini-list>article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #e0eaf1;border-radius:12px}.wv-reseller-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dff1ff;color:#0872c7;font-size:15px;font-weight:950}.wv-reseller-mini-list>article>div{display:grid;min-width:0}.wv-reseller-mini-list strong{color:#123b69;font-size:15px}.wv-reseller-mini-list small{color:#677f94;font-size:13px;line-height:1.35}.wv-reseller-mini-list button{min-height:38px;padding:7px 10px;font-size:13px}.wv-reseller-agenda-mini{display:grid;gap:5px}.wv-reseller-agenda-mini>strong{margin-top:4px;padding:6px 8px;border-radius:8px;background:#edf6fb;color:#0c6fc1;font-size:13px}.wv-reseller-agenda-mini>strong.danger{background:#fff0f0;color:#bf2630}.wv-reseller-agenda-mini>strong.warning{background:#fff5df;color:#9b6108}.wv-reseller-agenda-mini>button{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:7px 5px;border:0;border-bottom:1px solid #edf2f5;background:transparent;color:#234f77;text-align:left}.wv-reseller-agenda-mini button span{font-weight:850}.wv-reseller-agenda-mini button small{color:#7a8e9f}.wv-reseller-agenda-mini .empty{color:#8193a3;font-size:13px}.wv-reseller-container-total{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #d9e8f1;border-radius:12px;background:#f7fbfe}.wv-reseller-container-total>span{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#dff1ff;color:#0872cf}.wv-reseller-container-total>div{display:grid}.wv-reseller-container-total small{color:#56738d;font-size:13px}.wv-reseller-container-total strong{color:#0b3670;font-size:27px}.wv-reseller-container-mini{display:grid;margin-top:8px}.wv-reseller-container-mini>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:9px 4px;border:0;border-top:1px solid #e8eff3;background:transparent;text-align:left}.wv-reseller-container-mini strong{color:#173f6d}.wv-reseller-container-mini span{color:#657e93;font-size:13px}.wv-reseller-container-mini b{color:#c33a40}
.wv-reseller-list-page{margin:0!important;padding:16px}.wv-reseller-list-toolbar,.wv-reseller-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.wv-reseller-list-toolbar h2,.wv-reseller-section-head h2{margin:0;color:#123c6d;font-size:22px}.wv-reseller-list-toolbar p,.wv-reseller-section-head p{margin:3px 0 0;color:#72879a;font-size:14px}.wv-reseller-list-toolbar .wv-search{width:min(390px,100%)}.wv-reseller-filter-pills{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.wv-reseller-filter-pills button{min-height:38px;padding:0 12px;border:1px solid #d0e0ea;border-radius:999px;background:#fff;color:#4b6b86;font-weight:850}.wv-reseller-filter-pills button.active{border-color:#94c9ed;background:#eaf6ff;color:#0872c7}.wv-reseller-cards{display:grid;gap:8px}.wv-reseller-full-card{position:relative;display:grid;grid-template-columns:46px minmax(170px,.9fr) minmax(430px,1.8fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #dce8ef;border-radius:13px;background:#fff}.wv-reseller-full-card .identity{display:grid;min-width:0}.wv-reseller-full-card .identity>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.wv-reseller-full-card .identity strong{color:#123d6b;font-size:15px}.wv-reseller-full-card .identity em{padding:3px 7px;border-radius:999px;background:#e8f8ef;color:#208158;font-size:11px;font-style:normal;font-weight:900}.wv-reseller-full-card .identity small{color:#74899a;font-size:13px}.wv-reseller-full-card .metrics{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:8px}.wv-reseller-full-card .metrics span{display:grid;min-width:0}.wv-reseller-full-card .metrics small{color:#7a8e9f;font-size:12px}.wv-reseller-full-card .metrics b{overflow-wrap:anywhere;color:#31536f;font-size:14px}.wv-reseller-full-card .actions{display:flex;gap:7px;align-items:center}.wv-reseller-more{position:relative;z-index:20}.wv-reseller-more summary{display:grid;place-items:center;width:40px;height:40px;border:1px solid #cfe0e9;border-radius:10px;background:#fff;color:#1c5275;list-style:none;cursor:pointer}.wv-reseller-more summary::-webkit-details-marker{display:none}.wv-reseller-more>div{position:absolute;z-index:40;right:0;top:46px;display:grid;min-width:185px;padding:6px;border:1px solid #d3e3ed;border-radius:11px;background:#fff;box-shadow:0 16px 35px rgba(18,56,89,.18)}.wv-reseller-more button{display:flex;gap:8px;align-items:center;min-height:38px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:#315b78;text-align:left;font-weight:850}.wv-reseller-more button:hover{background:#f2f8fb}
.wv-reseller-agenda-page{margin:0!important;padding:16px}.wv-reseller-section-head>div:first-child>span{color:#0875d0;font-size:12px;font-weight:950;letter-spacing:.1em}.wv-reseller-agenda-switch{display:flex;padding:3px;border:1px solid #d2e1ea;border-radius:10px;background:#f7fbfd}.wv-reseller-agenda-switch button{min-height:36px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:#55738c;font-weight:850}.wv-reseller-agenda-switch button.active{background:#fff;color:#0b6fc1;box-shadow:0 2px 8px rgba(16,64,102,.1)}.wv-calendar-toolbar{display:grid;grid-template-columns:42px minmax(220px,auto) 42px 90px;justify-content:center;align-items:center;gap:8px;margin:8px 0 12px}.wv-calendar-toolbar>button:not(.wv-secondary){display:grid;place-items:center;width:42px;height:42px;border:1px solid #d1e0e9;border-radius:10px;background:#fff;color:#0a6fc2}.wv-calendar-toolbar strong{text-align:center;color:#123d70;font-size:20px;text-transform:capitalize}.wv-calendar-week,.wv-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.wv-calendar-week span{padding:8px 6px;color:#55738c;font-size:12px;font-weight:950;text-align:center}.wv-calendar-grid{overflow:hidden;border:1px solid #d9e6ee;border-radius:13px}.wv-calendar-day{min-height:145px;padding:7px;border-right:1px solid #e2ebf1;border-bottom:1px solid #e2ebf1;background:#fff}.wv-calendar-day:nth-child(7n){border-right:0}.wv-calendar-day.outside{background:#f7fafc;color:#9bacb8}.wv-calendar-day.current{box-shadow:inset 0 0 0 2px #4eb6ed;background:#f8fcff}.wv-calendar-day header{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.wv-calendar-day header b{font-size:14px}.wv-calendar-day header button{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:7px;background:#edf6fb;color:#0872c5;font-size:18px}.wv-calendar-day>div{display:grid;gap:4px}.wv-agenda-event{display:grid;gap:1px;padding:5px 6px;border:0;border-left:3px solid #1981d4;border-radius:7px;background:#edf7ff;color:#245472;text-align:left}.wv-agenda-event strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.wv-agenda-event span{font-size:11px;font-weight:900}.wv-agenda-event small{font-size:10px}.wv-agenda-event.overdue{border-left-color:#d92532;background:#fff0f1;color:#a31f27}.wv-agenda-event.today{border-left-color:#d88b12;background:#fff6df;color:#8f5a09}.wv-agenda-event.paid{border-left-color:#2a9b6a;background:#ebf8f1;color:#257552}.wv-calendar-more{padding:3px;border:0;background:transparent;color:#0a70bf;font-size:11px;font-weight:900;text-align:left}.wv-agenda-list-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wv-agenda-list-group{overflow:hidden;border:1px solid #dce8ef;border-radius:12px}.wv-agenda-list-group h3{display:flex;justify-content:space-between;margin:0;padding:9px 11px;background:#edf6fb;color:#0c6ab4;font-size:14px}.wv-agenda-list-group.danger h3{background:#fff0f1;color:#bc202b}.wv-agenda-list-group.warning h3{background:#fff5df;color:#9d6107}.wv-agenda-list-group.success h3{background:#ebf8f1;color:#24815a}.wv-agenda-list-group article{display:grid;grid-template-columns:minmax(0,1fr) auto auto 30px;align-items:center;gap:8px;padding:9px 10px;border-top:1px solid #edf2f5}.wv-agenda-list-group article>div{display:grid}.wv-agenda-list-group article strong{color:#153f6c;font-size:14px}.wv-agenda-list-group article small{color:#71879a;font-size:12px}.wv-agenda-list-group article>b{color:#123d68}.wv-agenda-list-group article em{font-size:11px;font-style:normal;font-weight:900}.wv-agenda-list-group article button{display:grid;place-items:center;width:28px;height:28px;border:0;background:transparent;color:#0a70c5}
.wv-reseller-container-highlight{display:grid;padding:8px 12px;border-radius:11px;background:#edf7ff;text-align:right}.wv-reseller-container-highlight small{color:#5b7891;font-size:12px}.wv-reseller-container-highlight strong{color:#0a3d76;font-size:24px}.wv-reseller-container-list{display:grid}.wv-reseller-container-list>article{display:grid;grid-template-columns:minmax(200px,1.3fr) 120px 120px 110px auto;align-items:center;gap:10px;padding:11px 4px;border-top:1px solid #e6edf2}.wv-reseller-container-list>article:first-child{border-top:0}.wv-reseller-container-list article>div{display:grid;min-width:0}.wv-reseller-container-list article strong{color:#153f6c}.wv-reseller-container-list article small,.wv-reseller-container-list article>span{color:#6d8498;font-size:13px}.wv-reseller-container-list article>b{color:#bf3038}.wv-reseller-container-list>article.overdue{background:#fffafa}.wv-reseller-container-list details{grid-column:1/-1}
.wv-reseller-profile-page{display:grid;gap:14px}.wv-reseller-profile-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:16px}.wv-reseller-profile-heading>div:first-child span{color:#0872c9;font-size:12px;font-weight:950;letter-spacing:.12em}.wv-reseller-profile-heading h1{margin:3px 0;color:#0a3767;font-size:34px;line-height:1.05}.wv-reseller-profile-heading p{margin:0;color:#6c8397}.wv-reseller-profile-heading>em{align-self:center;padding:6px 9px;border-radius:999px;background:#e7f8ef;color:#218157;font-size:12px;font-style:normal;font-weight:900}.wv-reseller-profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wv-reseller-profile-kpis article{display:grid;padding:13px 15px;border:1px solid #dce8ef;border-radius:13px;background:#fff}.wv-reseller-profile-kpis small{color:#70869a;font-size:12px;font-weight:900}.wv-reseller-profile-kpis strong{margin-top:2px;color:#123c6a;font-size:22px}.wv-reseller-profile-tabs{display:flex;gap:4px;padding:5px;border:1px solid #dbe7ef;border-radius:12px;background:#fff;overflow-x:auto}.wv-reseller-profile-tabs button{flex:1;min-width:135px;min-height:40px;border:0;border-radius:9px;background:transparent;color:#52728d;font-weight:850}.wv-reseller-profile-tabs button.active{background:#eaf6ff;color:#0872c7}.wv-reseller-profile-body{padding:14px;border:1px solid #dbe7ef;border-radius:15px;background:#fff}.wv-reseller-purchases,.wv-reseller-payment-history,.wv-reseller-account-list{display:grid}.wv-reseller-purchases>article,.wv-reseller-payment-history>article{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 4px;border-top:1px solid #e7eef3}.wv-reseller-purchases>article:first-child,.wv-reseller-payment-history>article:first-child{border-top:0}.wv-reseller-purchases article>div,.wv-reseller-payment-history article>div{display:grid;min-width:0}.wv-reseller-purchases time,.wv-reseller-payment-history time{color:#617c92;font-size:13px}.wv-reseller-purchases strong,.wv-reseller-payment-history strong{color:#153f6d;font-size:14px}.wv-reseller-purchases small,.wv-reseller-payment-history small{color:#71879a;font-size:12px}.wv-reseller-purchases b,.wv-reseller-payment-history b{color:#123c69}.wv-reseller-account-list>article{display:grid;grid-template-columns:minmax(210px,1.3fr) repeat(3,minmax(95px,.55fr)) auto auto;align-items:center;gap:10px;padding:10px 4px;border-top:1px solid #e7eef3}.wv-reseller-account-list>article:first-child{border-top:0}.wv-reseller-account-list article>div{display:grid}.wv-reseller-account-list article>div strong{color:#153f6c}.wv-reseller-account-list article>div small,.wv-reseller-account-list article>span small{color:#758a9d;font-size:12px}.wv-reseller-account-list article>span{display:grid}.wv-reseller-account-list article>span b{color:#153d67}.wv-reseller-account-list>article.overdue{background:#fff9f9}.wv-reseller-customer-link{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;margin:14px 0;padding:14px;border:1px solid #cfe4f0;border-radius:14px;background:#f7fcff}.wv-reseller-customer-link>div:first-child span{color:#0874ca;font-size:12px;font-weight:950}.wv-reseller-customer-link h3{margin:2px 0;color:#123f6d}.wv-reseller-customer-link p{margin:0;color:#6d8396;font-size:13px}.wv-reseller-customer-link>div:nth-child(2){display:grid;grid-template-columns:auto auto;gap:2px 10px}.wv-reseller-customer-link>div:nth-child(2) small{color:#72889a;font-size:11px}.wv-reseller-customer-link>div:nth-child(2) strong{color:#123d6b}.wv-reseller-dialog-select{display:grid;gap:6px;margin:10px 0 12px;color:#43617d;font-size:14px;font-weight:850}.wv-reseller-dialog-select select{min-height:46px;padding:0 11px;border:1px solid #cbdee9;border-radius:10px;background:#fff;color:#173f68}
.wv-reseller-error{display:grid;justify-items:start;gap:6px;padding:18px;border:1px solid #efc7c7;border-radius:13px;background:#fff8f8;color:#8a2f34}.wv-reseller-error span{font-size:14px}
@media(max-width:1280px){.wv-reseller-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.wv-reseller-overview-grid{grid-template-columns:1fr 1fr}.wv-reseller-overview-grid>.wv-card:last-child{grid-column:1/-1}.wv-reseller-full-card{grid-template-columns:46px minmax(170px,1fr) auto}.wv-reseller-full-card .metrics{grid-column:1/-1}.wv-reseller-profile-heading{grid-template-columns:minmax(0,1fr) auto}.wv-reseller-profile-heading>.wv-heading-actions{grid-column:1/-1}.wv-reseller-account-list>article{grid-template-columns:minmax(190px,1fr) repeat(3,minmax(85px,.5fr));}.wv-reseller-account-list>article>button{grid-column:auto}.wv-calendar-day{min-height:130px}}
@media(max-width:900px){.wv-reseller-alerts{grid-template-columns:1fr}.wv-reseller-overview-grid{grid-template-columns:1fr}.wv-reseller-overview-grid>.wv-card:last-child{grid-column:auto}.wv-reseller-list-toolbar,.wv-reseller-section-head{align-items:flex-start;flex-direction:column}.wv-reseller-list-toolbar .wv-search{width:100%}.wv-reseller-full-card{grid-template-columns:46px minmax(0,1fr) auto}.wv-reseller-full-card .metrics{grid-template-columns:1fr 1fr}.wv-reseller-full-card .actions{grid-column:1/-1;justify-content:flex-end}.wv-agenda-list-layout{grid-template-columns:1fr}.wv-calendar-day{min-height:105px}.wv-agenda-event small{display:none}.wv-reseller-container-list>article{grid-template-columns:1fr 1fr}.wv-reseller-container-list article>div{grid-column:1/-1}.wv-reseller-container-list article>button{grid-column:1/-1}.wv-reseller-profile-kpis{grid-template-columns:1fr 1fr}.wv-reseller-account-list>article{grid-template-columns:1fr 1fr}.wv-reseller-account-list article>div{grid-column:1/-1}.wv-reseller-customer-link{grid-template-columns:1fr}.wv-reseller-customer-link>button{justify-self:start}}
@media(max-width:720px){.wv-reseller-heading{align-items:flex-start}.wv-reseller-heading .wv-heading-actions{display:grid;grid-template-columns:1fr;width:100%}.wv-reseller-heading .wv-heading-actions>*{width:100%}.wv-reseller-kpis{gap:9px}.wv-reseller-kpis article{grid-template-columns:42px 1fr;min-height:84px;padding:12px}.wv-reseller-kpis article>span{width:42px;height:42px}.wv-reseller-kpis small{font-size:13px}.wv-reseller-kpis strong{font-size:23px}.wv-reseller-kpis em{font-size:12px}.wv-reseller-tabs{justify-content:flex-start}.wv-reseller-tabs button{flex:0 0 auto;min-width:135px}.wv-reseller-load-table .head{display:none}.wv-reseller-load-table{border:0;overflow:visible}.wv-reseller-load-table article{display:grid;grid-template-columns:1fr auto;min-width:0;gap:5px 10px;margin-bottom:8px;padding:12px;border:1px solid #dce8ef;border-radius:12px}.wv-reseller-load-table article time{grid-column:1/-1}.wv-reseller-load-table article>div{grid-column:1/-1}.wv-reseller-load-table article>span{grid-column:1}.wv-reseller-load-table article>b{grid-column:2;grid-row:3}.wv-reseller-load-table .wv-icon-only{grid-column:2;grid-row:1}.wv-reseller-mini-list>article{grid-template-columns:42px minmax(0,1fr)}.wv-reseller-mini-list>article>button{grid-column:1/-1;width:100%}.wv-reseller-full-card{grid-template-columns:42px minmax(0,1fr)}.wv-reseller-full-card .actions{grid-column:1/-1}.wv-reseller-full-card .metrics{grid-template-columns:1fr 1fr;grid-column:1/-1}.wv-calendar-week,.wv-calendar-grid{grid-template-columns:repeat(7,minmax(48px,1fr));min-width:560px}.wv-reseller-agenda-page [data-reseller-agenda-body]{overflow-x:auto}.wv-calendar-day{min-height:78px;padding:5px}.wv-agenda-event{display:block;padding:4px}.wv-agenda-event strong,.wv-agenda-event span,.wv-agenda-event small{display:none}.wv-agenda-event::after{content:"•";font-size:18px}.wv-calendar-toolbar{position:sticky;left:0;grid-template-columns:38px minmax(170px,1fr) 38px 70px;min-width:min(100%,560px)}.wv-calendar-toolbar strong{font-size:17px}.wv-reseller-profile-heading{grid-template-columns:1fr}.wv-reseller-profile-heading>em{justify-self:start}.wv-reseller-profile-kpis{grid-template-columns:1fr 1fr}.wv-reseller-purchases>article,.wv-reseller-payment-history>article{grid-template-columns:1fr auto}.wv-reseller-purchases time,.wv-reseller-payment-history time{grid-column:1/-1}.wv-reseller-account-list>article{grid-template-columns:1fr 1fr}.wv-reseller-account-list article>button{width:100%}.wv-reseller-container-list>article{padding:12px;border:1px solid #dce8ef;border-radius:12px;margin-bottom:8px}.wv-reseller-section-head>.wv-heading-actions{width:100%;display:grid;grid-template-columns:1fr}.wv-reseller-agenda-switch{width:100%}.wv-reseller-agenda-switch button{flex:1}}
@media(max-width:480px){.wv-reseller-kpis{grid-template-columns:1fr 1fr}.wv-reseller-kpis article{grid-template-columns:1fr}.wv-reseller-kpis article>span{display:none}.wv-reseller-full-card .metrics{grid-template-columns:1fr}.wv-reseller-profile-kpis{grid-template-columns:1fr 1fr}.wv-agenda-list-group article{grid-template-columns:1fr auto}.wv-agenda-list-group article em,.wv-agenda-list-group article button{grid-row:2}.wv-reseller-container-list>article{grid-template-columns:1fr}.wv-reseller-container-list article>*{grid-column:1!important}.wv-reseller-customer-link>div:nth-child(2){grid-template-columns:1fr 1fr}}

/* v24.2.1 — detalhes complementares de Agenda e Carga */
.wv-customer-list>.wv-customer-row{overflow:visible}
.wv-agenda-day-focus{display:grid;gap:7px}.wv-agenda-day-focus>article{display:grid;grid-template-columns:minmax(0,1fr) auto auto 32px;align-items:center;gap:10px;padding:10px;border:1px solid #e2ebf1;border-radius:10px;background:#fff}.wv-agenda-day-focus article>div{display:grid;min-width:0}.wv-agenda-day-focus strong{color:#143e6b}.wv-agenda-day-focus small{color:#71879a;font-size:12px}.wv-agenda-day-focus article>b{color:#123c69}.wv-agenda-day-focus article>em{padding:4px 7px;border-radius:999px;font-size:11px;font-style:normal;font-weight:900}.wv-agenda-day-focus article>em.open{background:#eaf6ff;color:#0a70c3}.wv-agenda-day-focus article>em.today{background:#fff3d8;color:#976008}.wv-agenda-day-focus article>em.overdue{background:#fff0f1;color:#bd2630}.wv-agenda-day-focus article>em.paid{background:#eaf8f0;color:#248159}.wv-agenda-day-focus article>button{display:grid;place-items:center;width:30px;height:30px;border:0;background:transparent;color:#0a70c3}
.wv-reseller-load-detail-dialog .wv-dialog-static{max-width:960px}.wv-load-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.wv-load-detail-grid article{display:grid;gap:2px;padding:12px;border:1px solid #dce8ef;border-radius:12px;background:#f9fcfe}.wv-load-detail-grid small{color:#71879a;font-size:12px}.wv-load-detail-grid strong{color:#123e6d;font-size:16px;overflow-wrap:anywhere}.wv-load-detail-grid span{color:#617d93;font-size:13px}.wv-load-detail-history{margin-top:8px;padding-top:12px;border-top:1px solid #e4edf2}.wv-load-detail-history h3{margin:0 0 8px;color:#123d6c;font-size:16px}.wv-load-detail-history>div:not(.wv-empty){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #edf2f5}.wv-load-detail-history>div:first-of-type{border-top:0}.wv-load-detail-history span{color:#6f8598;font-size:13px}
@media(max-width:720px){.wv-load-detail-grid{grid-template-columns:1fr 1fr}.wv-agenda-day-focus>article{grid-template-columns:1fr auto}.wv-agenda-day-focus article>div{grid-column:1/-1}.wv-agenda-day-focus article>em,.wv-agenda-day-focus article>button{grid-row:2}}
@media(max-width:480px){.wv-load-detail-grid{grid-template-columns:1fr}}
.wv-reseller-dialog-select input{min-height:46px;padding:0 11px;border:1px solid #cbdee9;border-radius:10px;background:#fff;color:#173f68;font:700 15px/1 "Nunito",sans-serif}

/* v24.2.4 RC1 — Polimento final do Caixa / Distribuidora
   Escopo conservador: tipografia, foco, overflow, menus e responsividade.
   Sem alteração de regras de negócio. */
.staff-app[data-view="water"],
.staff-app[data-view="water"] button,
.staff-app[data-view="water"] input,
.staff-app[data-view="water"] select,
.staff-app[data-view="water"] textarea{
  font-family:"Nunito",sans-serif;
}
.staff-app[data-view="water"],
.staff-app[data-view="water"] *,
.staff-app[data-view="water"] *::before,
.staff-app[data-view="water"] *::after{box-sizing:border-box}

/* Foco consistente para navegação por teclado sem alterar o visual normal. */
.staff-app[data-view="water"] button:focus-visible,
.staff-app[data-view="water"] input:focus-visible,
.staff-app[data-view="water"] select:focus-visible,
.staff-app[data-view="water"] textarea:focus-visible,
.staff-app[data-view="water"] summary:focus-visible,
.staff-app[data-view="water"] a:focus-visible{
  outline:3px solid rgba(8,120,209,.22);
  outline-offset:2px;
}

/* Proteção geral contra textos extrapolando cards e colunas. */
.staff-app[data-view="water"] .wv-card, .staff-app[data-view="water"] .wv-dialog, .staff-app[data-view="water"] .wv-report-card, .staff-app[data-view="water"] .wv-reseller-full-card{min-width:0}
.staff-app[data-view="water"] h1,
.staff-app[data-view="water"] h2,
.staff-app[data-view="water"] h3,
.staff-app[data-view="water"] strong,
.staff-app[data-view="water"] b{overflow-wrap:anywhere}

/* Clientes — eliminar os últimos textos excessivamente pequenos da versão antiga. */
.wv-panel[data-water-panel="customers"] .wv-customer-kpis small{font-size:13px}
.wv-customer-identity .wv-water-id{font-size:12px}
.wv-customer-location-badge{font-size:12px!important}
.wv-customer-metric small{font-size:12px!important}
.wv-customer-metric b{font-size:14px!important}
.wv-panel[data-water-panel="customers"] .wv-row-actions button{min-height:40px;padding:7px 10px;font-size:13px}
.wv-customer-dialog .wv-customer-id-note small,
.wv-customer-dialog [data-customer-phone-error],
.wv-customer-duplicate span,
.wv-customer-duplicate button,
.wv-customer-tool-head small,
.wv-customer-photo-preview button,
.wv-customer-detail-grid h3,
.wv-customer-history-title,
.wv-customer-detail-grid dt{font-size:13px}

/* Revendedores e Agenda — leitura confortável sem ampliar os cards. */
.wv-reseller-badge,
.wv-reseller-agenda-kpis small,
.wv-reseller-profile-kpis small,
.wv-reseller-agenda-row small,
.wv-reseller-load-preview small,
.wv-reseller-load-preview span,
.wv-reseller-load-row small,
.wv-reseller-account-row small,
.wv-reseller-full-card .metrics small,
.wv-reseller-section-head>div:first-child>span,
.wv-agenda-list-group article small,
.wv-reseller-container-highlight small,
.wv-reseller-profile-heading>div:first-child span,
.wv-reseller-profile-heading>em,
.wv-reseller-purchases small,
.wv-reseller-payment-history small,
.wv-reseller-account-list article>div small,
.wv-reseller-account-list article>span small,
.wv-reseller-customer-link>div:first-child span,
.wv-reseller-customer-link>div:nth-child(2) small,
.wv-reseller-kpis em,
.wv-agenda-day-focus small,
.wv-load-detail-grid small{font-size:13px}
.wv-agenda-event strong{font-size:12px}
.wv-agenda-event span,.wv-agenda-event small,.wv-calendar-more{font-size:11px}

/* Relatórios — manter subtítulos operacionais legíveis. */
.wv-price-override-report article>span,
.wv-report-cash-list article>div small,
.wv-report-cash-list article>span small,
.wv-report-cash-list article>em,
.wv-report-sales-head{font-size:13px}
.wv-report-kpis em{font-size:13px}

/* v25.11.86 — tipografia legado da antiga promoção removida. */

/* Menus “...” — hitboxes independentes e camada limitada ao próprio menu. */
.wv-customer-actions,
.wv-stock-row-actions{position:relative;isolation:isolate}
.wv-customer-more,
.wv-stock-more{pointer-events:auto}
.wv-customer-more>summary,
.wv-stock-more>summary{position:relative;pointer-events:auto;touch-action:manipulation}
.wv-customer-more:not([open])>div,
.wv-stock-more:not([open])>div{pointer-events:none}
.wv-customer-more[open]>div,
.wv-stock-more[open]>div{pointer-events:auto}
.wv-customer-actions>button,
.wv-stock-row-actions>button{position:relative;z-index:1;pointer-events:auto;touch-action:manipulation}

/* Modais: nenhum conteúdo deve ficar inacessível em telas menores. */
.staff-app[data-view="water"] dialog.wv-dialog{max-height:min(92vh,920px);overflow:hidden}
.staff-app[data-view="water"] dialog.wv-dialog>form,
.staff-app[data-view="water"] dialog.wv-dialog>.wv-dialog-static{max-height:min(92vh,920px);overflow:auto;overscroll-behavior:contain}

/* Navegações internas permanecem utilizáveis sem esmagar rótulos. */
.wv-reseller-nav,
.wv-stock-tabs,
.wv-filter-pills,

@media(max-width:760px){
  .staff-app[data-view="water"] .wv-primary,
  .staff-app[data-view="water"] .wv-secondary,
  .staff-app[data-view="water"] .wv-soft,
  .staff-app[data-view="water"] .wv-danger{min-height:46px;font-size:14px}
  .wv-customer-identity strong{white-space:normal;line-height:1.3}
  .wv-customer-metric b{white-space:normal}
  .wv-reseller-nav{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
  .wv-reseller-nav button{flex:0 0 auto;white-space:nowrap}
  .staff-app[data-view="water"] dialog.wv-dialog{max-height:94vh}
  .staff-app[data-view="water"] dialog.wv-dialog>form,
  .staff-app[data-view="water"] dialog.wv-dialog>.wv-dialog-static{max-height:94vh}
}


/* v24.2.4 RC2 — Tabela de valores: legibilidade, menus visíveis e modal de faixas sem aperto */
.wv-prices-dialog{
  width:min(1320px,calc(100% - 28px));
  max-height:94vh;
}
.wv-prices-dialog .wv-dialog-static{
  max-height:94vh;
  padding:26px;
  overflow-x:hidden;
  overflow-y:auto;
}
.wv-price-region-panel{
  overflow:visible;
}
.wv-price-product-group,
.wv-price-product-group>div:last-child{
  min-width:0;
  overflow:visible;
}
.wv-price-edit-row{
  position:relative;
  z-index:1;
  grid-template-columns:minmax(0,1fr) minmax(102px,112px) minmax(102px,112px) auto 44px;
  align-items:end;
  gap:10px;
  min-height:70px;
  padding:12px;
  overflow:visible;
}
.wv-price-edit-row:has(.wv-price-admin-more[open]){
  z-index:60;
}
.wv-price-item-main{
  min-width:0;
}
.wv-price-consult-name>strong{
  font-size:15px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.wv-price-consult-name>small{
  font-size:13px;
  line-height:1.35;
}
.wv-price-edit-row>label small{
  font-size:12px;
  line-height:1.2;
}
.wv-price-edit-row>label input{
  min-height:42px;
  padding:0 10px;
  font-size:14px;
}
.wv-price-save{
  min-height:42px;
  padding:0 13px;
  font-size:14px;
}
.wv-price-admin-more>summary{
  width:42px;
  height:42px;
}
.wv-price-admin-more>div{
  top:auto;
  bottom:calc(100% + 7px);
  right:0;
  min-width:184px;
  max-width:min(220px,calc(100vw - 40px));
  padding:6px;
}
.wv-price-admin-more>div button{
  min-height:40px;
  padding:10px 11px;
  font-size:14px;
  line-height:1.25;
  white-space:normal;
}

/* Em duas colunas, cada item ganha uma segunda linha de controles para não esmagar o nome. */
@media(min-width:1081px){
  .wv-price-groups{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
  }
  .wv-price-edit-row{
    grid-template-columns:minmax(0,1fr) minmax(108px,.34fr) minmax(108px,.34fr) auto 44px;
  }
  .wv-price-edit-row .wv-price-item-main{
    grid-column:1/-1;
  }
}

/* Quando a janela já está mais estreita, os grupos ficam em uma coluna antes de surgir aperto. */
@media(max-width:1180px){
  .wv-price-groups{
    grid-template-columns:1fr;
  }
  .wv-price-edit-row{
    grid-template-columns:minmax(0,1fr) minmax(110px,130px) minmax(110px,130px) auto 44px;
  }
}
@media(max-width:760px){
  .wv-prices-dialog{
    width:calc(100% - 12px);
    max-height:96vh;
  }
  .wv-prices-dialog .wv-dialog-static{
    max-height:96vh;
    padding:18px 12px 16px;
  }
  .wv-price-edit-row{
    grid-template-columns:1fr 1fr;
    align-items:end;
    gap:9px;
    padding:12px;
  }
  .wv-price-edit-row .wv-price-item-main{
    grid-column:1/-1;
  }
  .wv-price-save{
    width:100%;
  }
  .wv-price-admin-more{
    justify-self:end;
  }
}
@media(max-width:480px){
  .wv-price-edit-row{
    grid-template-columns:1fr;
  }
  .wv-price-edit-row .wv-price-item-main{
    grid-column:auto;
  }
  .wv-price-admin-more{
    justify-self:start;
  }
}

/* Modal Faixas de preço: mais largo, preview vertical e conteúdo sempre legível. */
dialog[data-dialog="price-tiers"]{
  width:min(760px,calc(100% - 24px));
  max-height:94vh;
}
dialog[data-dialog="price-tiers"] .wv-dialog-static{
  max-height:94vh;
  padding:26px 28px 24px;
  overflow-x:hidden;
  overflow-y:auto;
}
dialog[data-dialog="price-tiers"] .wv-dialog-static>h2{
  margin-right:48px;
  font-size:28px;
  line-height:1.12;
}
dialog[data-dialog="price-tiers"] [data-price-tier-product]{
  margin:4px 48px 12px 0;
  font-size:15px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
dialog[data-dialog="price-tiers"] .wv-tier-list{
  display:grid;
  gap:8px;
}
dialog[data-dialog="price-tiers"] .wv-tier-list article{
  grid-template-columns:minmax(0,1fr) auto 38px;
  gap:12px;
  align-items:center;
  padding:12px 13px;
}
dialog[data-dialog="price-tiers"] .wv-tier-list article strong{
  font-size:14px;
}
dialog[data-dialog="price-tiers"] .wv-tier-list article small{
  font-size:13px;
  line-height:1.35;
}
dialog[data-dialog="price-tiers"] .wv-tier-list article>b{
  font-size:15px;
}
dialog[data-dialog="price-tiers"] [data-price-tier-form]{
  gap:14px;
  padding-top:16px;
}
dialog[data-dialog="price-tiers"] [data-price-tier-form] .wv-form-grid{
  grid-template-columns:1fr 1fr;
  gap:12px;
}
dialog[data-dialog="price-tiers"] [data-price-tier-form] label{
  min-width:0;
  font-size:14px;
}
dialog[data-dialog="price-tiers"] [data-price-tier-form] input,
dialog[data-dialog="price-tiers"] [data-price-tier-form] select{
  width:100%;
  min-height:46px;
  font-size:15px;
}
dialog[data-dialog="price-tiers"] .wv-config-preview{
  margin:4px 0 6px;
  padding:15px;
}
dialog[data-dialog="price-tiers"] .wv-config-preview-head{
  align-items:flex-start;
  flex-direction:column;
  gap:4px;
}
dialog[data-dialog="price-tiers"] .wv-config-preview-head>span{
  font-size:14px;
}
dialog[data-dialog="price-tiers"] .wv-config-preview-head>small{
  font-size:14px;
  line-height:1.4;
}
dialog[data-dialog="price-tiers"] .wv-config-preview-grid{
  grid-template-columns:1fr;
  gap:10px;
}
dialog[data-dialog="price-tiers"] .wv-config-preview-grid>article{
  padding:13px;
}
dialog[data-dialog="price-tiers"] .wv-preview-attendance{
  grid-template-columns:minmax(0,1fr) auto;
}
dialog[data-dialog="price-tiers"] .wv-preview-attendance>strong{
  font-size:16px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
dialog[data-dialog="price-tiers"] .wv-preview-attendance>b{
  align-self:center;
  font-size:20px;
}
dialog[data-dialog="price-tiers"] .wv-preview-product-card{
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
}
dialog[data-dialog="price-tiers"] .wv-preview-product-card>div:nth-child(2)>strong,
dialog[data-dialog="price-tiers"] .wv-preview-product-card>div:nth-child(2)>span{
  overflow-wrap:anywhere;
}
dialog[data-dialog="price-tiers"] .wv-preview-product-prices{
  grid-column:1/-1;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  flex-wrap:wrap;
  padding-top:4px;
  text-align:left;
}
dialog[data-dialog="price-tiers"] .wv-preview-product-prices>b{
  font-size:18px;
}
dialog[data-dialog="price-tiers"] .wv-preview-tier{
  width:auto;
  max-width:100%;
  white-space:normal;
  line-height:1.3;
}
dialog[data-dialog="price-tiers"] button[type="submit"]{
  min-height:48px;
  font-size:15px;
}
dialog[data-dialog="price-tiers"] .wv-dialog-static>small{
  font-size:13px;
  line-height:1.45;
}

@media(max-width:620px){
  dialog[data-dialog="price-tiers"]{
    width:calc(100% - 12px);
    max-height:96vh;
  }
  dialog[data-dialog="price-tiers"] .wv-dialog-static{
    max-height:96vh;
    padding:20px 14px 18px;
  }
  dialog[data-dialog="price-tiers"] .wv-dialog-static>h2{
    margin-right:44px;
    font-size:25px;
  }
  dialog[data-dialog="price-tiers"] [data-price-tier-product]{
    margin-right:0;
  }
  dialog[data-dialog="price-tiers"] [data-price-tier-form] .wv-form-grid{
    grid-template-columns:1fr;
  }
  dialog[data-dialog="price-tiers"] .wv-tier-list article{
    grid-template-columns:minmax(0,1fr) auto;
  }
  dialog[data-dialog="price-tiers"] .wv-tier-list article>button{
    grid-column:2;
    grid-row:1/3;
  }
  dialog[data-dialog="price-tiers"] .wv-preview-attendance{
    grid-template-columns:1fr;
  }
  dialog[data-dialog="price-tiers"] .wv-preview-attendance>b{
    grid-column:1;
    grid-row:auto;
    justify-self:start;
  }
}


/* v24.2.4 RC3 — Pagamento misto explícito na Nova venda */
.wv-payment-mode{
  display:flex;
  gap:6px;
  width:100%;
  padding:4px;
  border:1px solid #d9e6ee;
  border-radius:11px;
  background:#f5f9fc;
}
.wv-payment-mode button{
  flex:1;
  min-height:38px;
  padding:7px 10px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#557087;
  font-size:13px;
  font-weight:900;
}
.wv-payment-mode button.active{
  background:#fff;
  color:#0872c8;
  box-shadow:0 2px 8px rgba(23,69,105,.08);
}
.wv-mixed-payment-panel{
  display:grid;
  gap:9px;
  padding:11px;
  border:1px solid #cfe2ee;
  border-radius:12px;
  background:#f8fcff;
}
.wv-mixed-payment-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.wv-mixed-payment-grid label{
  display:grid;
  gap:5px;
  min-width:0;
  color:#4d6b84;
  font-size:12px;
  font-weight:900;
}
.wv-mixed-payment-grid input{
  width:100%;
  min-width:0;
  min-height:40px;
  padding:0 9px!important;
  border:1px solid #cbdfea;
  border-radius:9px;
  background:#fff;
  color:#173f68;
  font-size:14px!important;
  font-weight:850;
}
.wv-mixed-payment-balance{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:9px;
  background:#eef5f9;
  color:#536e84;
  font-size:13px;
  font-weight:850;
}
.wv-mixed-payment-balance.ok{background:#edf9f3;color:#147252}
.wv-mixed-payment-balance.pending{background:#fff8e8;color:#8b6413}
.wv-mixed-payment-balance.over{background:#fff0f1;color:#a33a43}
.wv-mixed-payment-panel>small{
  color:#75899a;
  font-size:12px;
  line-height:1.4;
}
.wv-item-payment.is-mixed{
  display:grid!important;
  gap:3px;
}
.wv-item-payment.is-mixed>span{
  color:#5f7890;
  font-size:12px;
  font-weight:850;
}
.wv-item-payment.is-mixed>strong{
  color:#0872c8;
  font-size:13px;
  line-height:1.3;
}
@media(max-width:480px){
  .wv-mixed-payment-grid{grid-template-columns:1fr}
}


/* v24.2.4 RC4 — Nova venda / Produtos: layout adaptativo real em 100% de zoom.
   Evita cartões estreitos, rótulos cortados e faixas Atacado/Revenda espremidas. */

.wv-panel[data-water-panel="sale"] .wv-product-grid{
  grid-template-columns:repeat(auto-fit,minmax(205px,1fr))!important;
  gap:12px;
}

/* Cada família só permanece na mesma linha enquanto houver largura útil real.
   Isso faz o grid reagir à largura do painel, não apenas ao viewport. */
.wv-panel[data-water-panel="sale"] .wv-product-family{
  min-width:0;
  min-height:258px;
  padding:14px;
  container-type:inline-size;
}

.wv-product-family-head>small{
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  line-height:1.25;
  text-align:center;
}

.wv-product-family-head h3{
  max-width:100%;
  font-size:16px;
  line-height:1.25;
  overflow-wrap:normal;
  word-break:normal;
}

.wv-product-family-head>em{
  font-size:13px;
  line-height:1.25;
}

/* Variantes normais: nome e preço ocupam colunas próprias.
   O nome pode quebrar em palavras, mas nunca é truncado com "...". */
.wv-product-variant{
  min-height:48px;
  padding:9px 10px;
  overflow:visible;
}

.wv-product-variant-main{
  display:grid;
  grid-template-columns:minmax(72px,1fr) auto;
  align-items:center;
  gap:8px;
  min-width:0;
}

.wv-product-variant-main b{
  min-width:0;
  overflow:visible;
  color:#365b78;
  font-size:14px;
  line-height:1.2;
  text-overflow:clip;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
}

.wv-product-price{
  min-width:max-content;
  justify-self:end;
}

.wv-product-price strong,
.wv-product-variant-main strong{
  font-size:17px;
  line-height:1.05;
}

.wv-product-variant>small{
  margin-top:2px;
  font-size:12px;
  line-height:1.25;
  white-space:normal;
}

/* Preço sem rótulo: permanece centralizado e sem colisão. */
.wv-product-variant.price-only .wv-product-variant-main{
  grid-template-columns:1fr;
  justify-items:center;
}
.wv-product-variant.price-only .wv-product-price{
  justify-self:center;
}

/* Faixas de preço (Atacado / Revendedor): largura mínima para o nome
   e preço sempre isolado à direita. */
.wv-panel[data-water-panel="sale"] .wv-product-tier-action{
  display:grid;
  grid-template-columns:minmax(82px,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:50px;
  padding:8px 10px;
  overflow:visible;
}

.wv-panel[data-water-panel="sale"] .wv-product-tier-action>span{
  display:grid;
  gap:2px;
  min-width:0;
}

.wv-panel[data-water-panel="sale"] .wv-product-tier-action b{
  font-size:13px;
  line-height:1.18;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
}

.wv-panel[data-water-panel="sale"] .wv-product-tier-action small{
  font-size:12px;
  line-height:1.2;
  white-space:normal;
}

.wv-panel[data-water-panel="sale"] .wv-product-tier-action>strong{
  justify-self:end;
  font-size:16px;
  line-height:1.05;
  white-space:nowrap;
}

/* Estoque: mantém o selo dentro do cartão e permite quebra limpa se necessário. */
.wv-product-variant-stock,
.wv-product-family-stock{
  max-width:100%;
  box-sizing:border-box;
  white-space:normal;
  text-align:center;
  justify-content:center;
}
.wv-product-family-stock{
  justify-self:center;
}

/* Se um cartão ficar realmente estreito, empilha rótulo e preço dentro dele
   em vez de reduzir fonte ou cortar texto. */
@container (max-width:190px){
  .wv-product-variant-main{
    grid-template-columns:1fr;
    justify-items:start;
    gap:4px;
  }
  .wv-product-price{
    justify-self:start;
  }
  .wv-panel[data-water-panel="sale"] .wv-product-tier-action{
    grid-template-columns:1fr;
    gap:4px;
  }
  .wv-panel[data-water-panel="sale"] .wv-product-tier-action>strong{
    justify-self:start;
  }
}

/* Tablet: duas colunas confortáveis; celular: uma coluna.
   Não reduzimos os textos importantes para "fazer caber". */
@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px;
  }
}
@media(max-width:520px){
  .wv-panel[data-water-panel="sale"] .wv-product-grid{
    grid-template-columns:1fr!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-product-family{
    min-height:0;
  }
}


/* v24.2.4 RC5 — Resumo dos pagamentos: controle segmentado refinado e clicável */
.wv-payment-mode{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  width:100%;
  padding:5px;
  border:1px solid #cfe0eb;
  border-radius:14px;
  background:#f2f7fb;
  box-sizing:border-box;
}
.wv-payment-mode button{
  position:relative;
  z-index:1;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:9px 12px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#5d7790;
  font-size:15px;
  font-weight:850;
  line-height:1.2;
  text-align:center;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}
.wv-payment-mode button:hover{
  color:#0b66ae;
  background:#eaf4fb;
}
.wv-payment-mode button.active,
.wv-payment-mode button[aria-pressed="true"]{
  border-color:#dce9f2;
  background:#fff;
  color:#086fc8;
  box-shadow:0 3px 10px rgba(18,62,99,.09);
}
.wv-payment-mode button:focus-visible{
  outline:3px solid rgba(8,120,209,.18);
  outline-offset:2px;
}

.wv-mixed-payment-panel{
  margin-top:2px;
}
@media(max-width:420px){
  .wv-payment-mode{
    grid-template-columns:1fr;
  }
}


/* v24.2.4 RC6 — venda comum a prazo para Revendedores */
.wv-sale-credit-condition{
  display:grid;
  gap:9px;
  margin-bottom:10px;
  padding:11px;
  border:1px solid #cfe2ee;
  border-radius:13px;
  background:#f7fbfe;
}
.wv-sale-credit-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
}
.wv-sale-credit-head>div:first-child{
  display:grid;
  gap:2px;
  min-width:0;
}
.wv-sale-credit-head small{
  color:#0a78cf;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
}
.wv-sale-credit-head strong{
  color:#244c6d;
  font-size:14px;
  line-height:1.25;
}
.wv-sale-condition-toggle{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  padding:4px;
  border:1px solid #d4e3ec;
  border-radius:10px;
  background:#eef5f9;
}
.wv-sale-condition-toggle button{
  min-height:36px;
  padding:7px 9px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:#60798f;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.wv-sale-condition-toggle button.active,
.wv-sale-condition-toggle button[aria-pressed="true"]{
  border-color:#dbe9f1;
  background:#fff;
  color:#0874ca;
  box-shadow:0 2px 7px rgba(21,69,103,.08);
}
.wv-sale-condition-toggle button:disabled{
  cursor:not-allowed;
  opacity:.72;
}
.wv-sale-credit-fields{
  display:grid;
  grid-template-columns:minmax(145px,.55fr) minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding-top:8px;
  border-top:1px solid #dfebf2;
}
.wv-sale-credit-fields>label{
  display:grid;
  gap:5px;
  color:#4d6c84;
  font-size:12px;
  font-weight:900;
}
.wv-sale-credit-fields input{
  width:100%;
  min-height:40px;
  padding:0 9px;
  border:1px solid #cbdfea;
  border-radius:9px;
  background:#fff;
  color:#173f68;
  font:800 14px/1 "Nunito",sans-serif;
}
.wv-sale-credit-fields>div{
  display:flex;
  align-items:flex-start;
  gap:8px;
  min-width:0;
  color:#0d6ea9;
}
.wv-sale-credit-fields>div svg{
  flex:0 0 18px;
  width:18px;
  height:18px;
  margin-top:1px;
}
.wv-sale-credit-fields>div span{
  display:grid;
  gap:2px;
}
.wv-sale-credit-fields>div strong{
  font-size:13px;
}
.wv-sale-credit-fields>div small{
  color:#71879a;
  font-size:12px;
  line-height:1.35;
}

@media(max-width:560px){
  .wv-sale-credit-head,
  .wv-sale-credit-fields{
    grid-template-columns:1fr;
  }
  .wv-sale-condition-toggle{
    width:100%;
  }
}


/* v24.2.4 RC7 — Relatórios / Detalhamento das vendas:
   edição administrativa sem comprimir as colunas existentes. */

.wv-report-sales-head.has-admin-action,
.wv-report-sale-row.has-admin-action{
  grid-template-columns:
    124px
    minmax(220px,1.45fr)
    minmax(126px,.82fr)
    minmax(132px,.82fr)
    minmax(100px,.68fr)
    88px
    minmax(94px,104px);
  gap:10px;
}

.wv-report-sale-admin{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
}

.wv-report-sale-edit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:100%;
  min-height:38px;
  padding:7px 9px;
  border:1px solid #c9deec;
  border-radius:10px;
  background:#f7fbfe;
  color:#0872c8;
  font-family:"Nunito",sans-serif;
  font-size:13px;
  font-weight:900;
  line-height:1.1;
  cursor:pointer;
  white-space:nowrap;
}

.wv-report-sale-edit svg{
  flex:0 0 16px;
  width:16px;
  height:16px;
}

.wv-report-sale-edit:hover{
  border-color:#aad2e9;
  background:#eaf6fc;
}

.wv-report-sale-edit.special{
  color:#755514;
  border-color:#ead9ad;
  background:#fff9e9;
}

.wv-report-sale-edit:disabled{
  cursor:not-allowed;
  color:#8394a2;
  border-color:#dce5eb;
  background:#f3f6f8;
  opacity:.82;
}

@media(max-width:1220px){
  .wv-report-sales-head.has-admin-action,
  .wv-report-sale-row.has-admin-action{
    grid-template-columns:
      112px
      minmax(190px,1.35fr)
      minmax(110px,.76fr)
      minmax(118px,.76fr)
      minmax(92px,.62fr)
      82px
      44px;
  }
  .wv-report-sale-edit{
    width:40px;
    min-width:40px;
    height:40px;
    padding:0;
  }
  .wv-report-sale-edit span{
    display:none;
  }
}

@media(max-width:760px){
  .wv-report-sales-head.has-admin-action{
    display:none;
  }
  .wv-report-sale-row.has-admin-action{
    grid-template-columns:1fr auto;
    gap:7px 12px;
    padding:13px;
  }
  .wv-report-sale-row.has-admin-action>time,
  .wv-report-sale-row.has-admin-action>.wv-report-sale-main,
  .wv-report-sale-row.has-admin-action>span{
    grid-column:1;
  }
  .wv-report-sale-row.has-admin-action>b{
    grid-column:1;
    justify-self:start;
  }
  .wv-report-sale-row.has-admin-action>.wv-report-sale-admin{
    grid-column:2;
    grid-row:1 / span 3;
    align-self:start;
  }
  .wv-report-sale-row.has-admin-action .wv-report-sale-edit{
    width:auto;
    min-width:44px;
    padding:8px 10px;
  }
  .wv-report-sale-row.has-admin-action .wv-report-sale-edit span{
    display:inline;
  }
}


/* v24.2.4 RC8 — Caixa anterior: retroativo real x migração histórica */
.wv-historical-cutover{
  display:grid;
  gap:4px;
  margin-top:10px;
  padding:11px 12px;
  border:1px solid #d8e6ef;
  border-radius:11px;
  background:#f7fbfe;
}
.wv-historical-cutover strong{color:#274f70;font-size:13px}
.wv-historical-cutover small{color:#6c8193;font-size:12px;line-height:1.45}
.wv-historical-note.operational{border-color:#bfe3d0;background:#effaf4}
.wv-historical-note.operational b{color:#16704e}
.wv-historical-note.migration{border-color:#eadcb3;background:#fff9ea}
.wv-historical-note.migration b{color:#8b6413}
.wv-historical-tag.operational{
  color:#0872c8;
  border-color:#bcdcf0;
  background:#edf8ff;
}


/* ==========================================================
   v24.2.5 ESTÁVEL — Caixa / Distribuidora
   Base consolidada após RC1–RC8.
   Futuras alterações devem ser pontuais e de baixo risco.
   ========================================================== */


/* ==========================================================
   v24.2.6 — PACK DE PEQUENOS AJUSTES
   ========================================================== */
.wv-report-line,.wv-report-line.has-rank{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info value" "bar bar";gap:5px 10px;align-items:center}.wv-report-line.has-rank{grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:"rank info value" "rank bar bar"}.wv-report-line>.wv-report-rank{grid-area:rank;align-self:center}.wv-report-line>div{grid-area:info;min-width:0}.wv-report-line>.wv-report-bar{grid-area:bar;width:100%;min-width:0}.wv-report-line>b{grid-area:value;justify-self:end}.wv-report-line>div strong{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.3}.wv-report-line>div small{white-space:normal;line-height:1.3}
.wv-report-detail-toolbar{display:grid;grid-template-columns:auto minmax(160px,210px) minmax(150px,190px) minmax(160px,1fr);align-items:end;gap:10px;margin:2px 0 12px;padding:11px;border:1px solid #dbe8f0;border-radius:13px;background:#f7fbfe}.wv-report-detail-scope{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #d4e3ec;border-radius:10px;background:#eef5f9}.wv-report-detail-scope button{min-height:38px;padding:7px 13px;border:1px solid transparent;border-radius:8px;background:transparent;color:#60798f;font:900 13px/1 "Nunito",sans-serif}.wv-report-detail-scope button.active{border-color:#dce9f1;background:#fff;color:#0874ca;box-shadow:0 2px 7px rgba(21,69,103,.08)}.wv-report-detail-toolbar>label{display:grid;gap:5px;min-width:0;color:#60788e;font-size:12px;font-weight:900}.wv-report-detail-toolbar input,.wv-report-detail-toolbar select{width:100%;min-width:0;min-height:40px;padding:0 10px;border:1px solid #cadde9;border-radius:9px;background:#fff;color:#173f68;font:800 14px/1 "Nunito",sans-serif}.wv-report-detail-period{display:grid;justify-self:end;min-width:150px;text-align:right}.wv-report-detail-period small{color:#7890a2;font-size:11px;font-weight:950;letter-spacing:.08em}.wv-report-detail-period strong{margin-top:2px;color:#153f69;font-size:14px;line-height:1.25}.wv-report-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding-top:13px}.wv-report-pagination>button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #cfe0ea;border-radius:10px;background:#fff;color:#0873c9}.wv-report-pagination>button svg{width:18px;height:18px}.wv-report-pagination>button:disabled{cursor:not-allowed;opacity:.35}.wv-report-pagination>div{display:grid;min-width:145px;text-align:center}.wv-report-pagination strong{color:#173f68;font-size:14px}.wv-report-pagination small{margin-top:1px;color:#788c9e;font-size:12px}
.wv-stock-main-actions{display:flex!important;width:auto!important;grid-template-columns:none!important}.wv-stock-main-actions>.wv-secondary{width:auto;min-width:0}
.staff-app[data-view="water"] .wv-today-heading,.staff-app[data-view="water"] .wv-sale-heading,.staff-app[data-view="water"] .wv-customers-heading,.staff-app[data-view="water"] .wv-reseller-heading,.staff-app[data-view="water"] .wv-stock-heading,.staff-app[data-view="water"] .wv-report-heading{align-items:center!important;padding-top:22px!important;padding-bottom:0!important;margin-bottom:20px!important}.staff-app[data-view="water"] .wv-stock-panel [data-stock-common]{gap:0!important}.staff-app[data-view="water"] .wv-stock-heading{margin-bottom:20px!important}.staff-app[data-view="water"] .wv-stock-summary-grid{margin-bottom:18px!important}.staff-app[data-view="water"] .wv-stock-toolbar{margin-bottom:18px!important}.staff-app[data-view="water"] .wv-today-heading>div:first-child,.staff-app[data-view="water"] .wv-sale-heading>div:first-child,.staff-app[data-view="water"] .wv-customers-heading>div:first-child,.staff-app[data-view="water"] .wv-reseller-heading>div:first-child,.staff-app[data-view="water"] .wv-stock-heading>div:first-child,.staff-app[data-view="water"] .wv-report-heading>div:first-child{position:relative;min-width:0}.staff-app[data-view="water"] .wv-today-heading>div:first-child::after,.staff-app[data-view="water"] .wv-sale-heading>div:first-child::after,.staff-app[data-view="water"] .wv-customers-heading>div:first-child::after,.staff-app[data-view="water"] .wv-reseller-heading>div:first-child::after,.staff-app[data-view="water"] .wv-stock-heading>div:first-child::after,.staff-app[data-view="water"] .wv-report-heading>div:first-child::after{content:"";position:static!important;display:block;width:58px;height:3px;margin-top:11px;border-radius:999px;background:linear-gradient(90deg,var(--module-primary),var(--module-secondary));opacity:.72}.staff-app[data-view="water"] .wv-today-heading h1, .staff-app[data-view="water"] .wv-sale-heading h1, .staff-app[data-view="water"] .wv-customers-heading h1, .staff-app[data-view="water"] .wv-reseller-heading h1, .staff-app[data-view="water"] .wv-stock-heading h1, .staff-app[data-view="water"] .wv-report-heading h1{margin:0 0 6px!important;color:#092d68!important;font:900 clamp(34px,3vw,42px)/1.02 "Nunito",sans-serif!important;letter-spacing:-.035em!important}.staff-app[data-view="water"] .wv-today-heading p, .staff-app[data-view="water"] .wv-sale-heading p, .staff-app[data-view="water"] .wv-customers-heading p, .staff-app[data-view="water"] .wv-reseller-heading p, .staff-app[data-view="water"] .wv-stock-heading p, .staff-app[data-view="water"] .wv-report-heading p{margin:0!important;color:#516b8d!important;font-size:16px!important;line-height:1.45!important}
.staff-app[data-view="water"] .wv-sidebar nav button,.staff-app[data-view="water"] .wv-sidebar nav button[data-water-tab="sale"]{margin:0!important;background:transparent!important;color:rgba(241,248,255,.86)!important;box-shadow:none!important}.staff-app[data-view="water"] .wv-sidebar nav button:hover,.staff-app[data-view="water"] .wv-sidebar nav button[data-water-tab="sale"]:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}.staff-app[data-view="water"] .wv-sidebar nav button.active,.staff-app[data-view="water"] .wv-sidebar nav button[data-water-tab="sale"].active{background:linear-gradient(135deg,#1493e7,#15b7d2)!important;color:#fff!important;box-shadow:0 9px 22px rgba(0,22,66,.16)!important}
.wv-panel[data-water-panel="sale"] .wv-sale-step.is-collapsed{min-height:0!important;padding:14px 20px!important;border-color:#dce7ee!important;background:rgba(255,255,255,.72)!important;box-shadow:none!important}.wv-panel[data-water-panel="sale"] .wv-sale-step.is-collapsed>.wv-step-title{margin-bottom:0!important}.wv-panel[data-water-panel="sale"] .wv-sale-step.is-collapsed> :not(.wv-step-title){display:none!important}.wv-panel[data-water-panel="sale"] .wv-sale-step.is-collapsed .wv-step-title>b{background:#edf3f7;color:#7a91a4;box-shadow:inset 0 0 0 1px #dce7ed}.wv-panel[data-water-panel="sale"] .wv-sale-step.is-collapsed .wv-step-title h2{color:#365875}.wv-panel[data-water-panel="sale"] .wv-sale-step.is-collapsed .wv-step-title p{color:#8799a8}
@media(max-width:1180px){.wv-report-detail-toolbar{grid-template-columns:auto minmax(150px,1fr) minmax(145px,1fr)}.wv-report-detail-period{grid-column:1/-1;justify-self:start;text-align:left}}
@media(max-width:760px){.wv-report-detail-toolbar{grid-template-columns:1fr 1fr}.wv-report-detail-scope{grid-column:1/-1}.wv-report-detail-period{grid-column:1/-1}.wv-report-detail-size{grid-column:1/-1}.staff-app[data-view="water"] .wv-today-heading,.staff-app[data-view="water"] .wv-sale-heading,.staff-app[data-view="water"] .wv-customers-heading,.staff-app[data-view="water"] .wv-reseller-heading,.staff-app[data-view="water"] .wv-stock-heading,.staff-app[data-view="water"] .wv-report-heading{align-items:flex-start!important;padding-top:16px!important}.staff-app[data-view="water"] .wv-today-heading h1, .staff-app[data-view="water"] .wv-sale-heading h1, .staff-app[data-view="water"] .wv-customers-heading h1, .staff-app[data-view="water"] .wv-reseller-heading h1, .staff-app[data-view="water"] .wv-stock-heading h1, .staff-app[data-view="water"] .wv-report-heading h1{font-size:31px!important}.wv-stock-main-actions{width:100%!important}.wv-stock-main-actions>.wv-secondary{width:100%}}
@media(max-width:480px){.wv-report-detail-toolbar{grid-template-columns:1fr}.wv-report-detail-toolbar>label,.wv-report-detail-period,.wv-report-detail-size{grid-column:1}}


/* ==========================================================
   v24.3.0 — RELATÓRIOS FASE 2 / RESULTADO DAS VENDAS
   ========================================================== */
.wv-financial-breadcrumb{display:flex;align-items:center;gap:8px;margin:18px 0 10px;color:#7890a3;font-size:13px;font-weight:850}.wv-financial-breadcrumb button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#0b75c9;font:900 13px/1.2 "Nunito",sans-serif;padding:0;cursor:pointer}.wv-financial-breadcrumb svg{width:16px;height:16px}.wv-financial-heading{align-items:center!important;padding-top:0!important;margin-bottom:20px!important}.wv-financial-heading>div:first-child::after{content:"";display:block;width:58px;height:3px;margin-top:11px;border-radius:999px;background:linear-gradient(90deg,var(--module-primary),var(--module-secondary));opacity:.72}.wv-financial-heading h1{margin:0 0 6px;color:#092d68;font:900 clamp(34px,3vw,42px)/1.02 "Nunito",sans-serif;letter-spacing:-.035em}.wv-financial-heading p{margin:0;color:#516b8d;font-size:16px;line-height:1.45}.wv-financial-filters{margin-bottom:14px}.wv-financial-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.wv-financial-strip article{display:grid;gap:5px;min-width:0;padding:15px 16px;border:1px solid #dce8ef;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(23,65,98,.045)}.wv-financial-strip small{color:#6d8497;font-size:11px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.wv-financial-strip strong{color:#0a3768;font-size:clamp(20px,1.8vw,27px);font-weight:950;line-height:1.1;overflow-wrap:anywhere}.wv-financial-strip span{color:#7b8fa0;font-size:12px;line-height:1.3}.wv-financial-coverage{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;padding:11px 13px;border:1px solid #bfe3d0;border-radius:12px;background:#effaf4;color:#176c4d}.wv-financial-coverage.partial{border-color:#ead9a9;background:#fff9e8;color:#805e14}.wv-financial-coverage>span svg{width:18px;height:18px}.wv-financial-coverage strong{display:block;font-size:13px}.wv-financial-coverage p{margin:2px 0 0;color:inherit;font-size:12px;line-height:1.4}.wv-financial-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.wv-financial-ranking{display:grid;gap:8px}.wv-financial-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px;border:1px solid #e0e9ef;border-radius:12px;background:#fbfdff}.wv-financial-row>div:first-child{min-width:0}.wv-financial-row strong{display:block;color:#173f68;font-size:14px;line-height:1.3}.wv-financial-row small{display:block;margin-top:2px;color:#73899a;font-size:12px;line-height:1.35}.wv-financial-row>div>span{display:block;height:5px;margin-top:8px;border-radius:999px;background:#e8f1f6;overflow:hidden}.wv-financial-row>div>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b78cf,#14bdd0)}.wv-financial-row dl{display:grid;grid-template-columns:repeat(2,minmax(105px,1fr));gap:5px 12px;margin:0}.wv-financial-row dl>div{display:grid}.wv-financial-row dt{color:#8093a2;font-size:10px;font-weight:900;text-transform:uppercase}.wv-financial-row dd{margin:0;color:#214b6d;font-size:13px;font-weight:900;text-align:right}.wv-financial-detail-card{margin-bottom:28px}.wv-financial-detail{display:grid;gap:7px}.wv-financial-detail-row{display:grid;grid-template-columns:125px minmax(210px,1.3fr) repeat(4,minmax(105px,.62fr));align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #e7eef3}.wv-financial-detail-row time{color:#698197;font-size:12px}.wv-financial-detail-row>div{min-width:0}.wv-financial-detail-row>div strong{display:block;color:#214a6b;font-size:13px}.wv-financial-detail-row>div small{display:block;margin-top:2px;color:#7a8e9f;font-size:12px;white-space:normal}.wv-financial-detail-row>span{display:grid;gap:2px}.wv-financial-detail-row>span small{color:#8294a3;font-size:10px;font-weight:900;text-transform:uppercase}.wv-financial-detail-row>span b{color:#173f68;font-size:13px}.wv-financial-error{margin-bottom:12px;padding:11px 13px;border:1px solid #efc9cc;border-radius:11px;background:#fff3f4;color:#9d343c;font-weight:800}.wv-financial-config-dialog{width:min(1080px,calc(100% - 24px));max-height:94vh}.wv-financial-config-dialog .wv-dialog-static{max-height:94vh;overflow:auto}.wv-financial-config-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.wv-financial-config-card{display:grid;gap:10px;padding:14px;border:1px solid #dce8ef;border-radius:13px;background:#f9fcfe}.wv-financial-config-card h3{margin:0;color:#173f68;font-size:16px}.wv-financial-config-card label{display:grid;gap:5px;color:#567188;font-size:12px;font-weight:900}.wv-financial-config-card input,.wv-financial-config-card select{width:100%;min-width:0;min-height:42px;padding:0 10px;border:1px solid #cbdde8;border-radius:9px;background:#fff;color:#173f68;font:800 14px/1 "Nunito",sans-serif}.wv-financial-config-card>small{color:#718798;font-size:12px;line-height:1.4}.wv-financial-preview{padding:9px 10px;border:1px dashed #bcd4e3;border-radius:9px;background:#f1f8fc;color:#4b6e86;font-size:12px;font-weight:850}.wv-financial-current{margin-top:10px}.wv-financial-current>[data-financial-current]{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.wv-financial-current article{padding:10px 11px;border:1px solid #e1e9ee;border-radius:10px;background:#fff}.wv-financial-current article strong{display:block;color:#244d6c;font-size:13px}.wv-financial-current article small{display:block;margin-top:3px;color:#778b9b;font-size:12px;line-height:1.35}.wv-financial-init{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px;border:1px solid #ead9ad;border-radius:12px;background:#fff9e9}.wv-financial-init>div{display:grid;gap:2px}.wv-financial-init strong{color:#725516;font-size:13px}.wv-financial-init small{color:#8c7a51;font-size:12px;line-height:1.35}
@media(max-width:1120px){.wv-financial-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.wv-financial-grid{grid-template-columns:1fr}.wv-financial-detail-row{grid-template-columns:105px minmax(180px,1fr) repeat(2,minmax(95px,.6fr))}.wv-financial-detail-row>span:nth-of-type(n/**/+3){display:none}}
@media(max-width:760px){.wv-financial-strip{grid-template-columns:1fr 1fr}.wv-financial-config-grid,.wv-financial-current>[data-financial-current]{grid-template-columns:1fr}.wv-financial-detail-row{grid-template-columns:1fr auto;gap:5px 10px;border:1px solid #e2eaf0;border-radius:11px}.wv-financial-detail-row time,.wv-financial-detail-row>div{grid-column:1}.wv-financial-detail-row>span{grid-column:2}.wv-financial-detail-row>span:nth-of-type(n/**/+3){display:grid}.wv-financial-row{grid-template-columns:1fr}.wv-financial-row dl{grid-template-columns:1fr 1fr}.wv-financial-init{align-items:flex-start;flex-direction:column}.wv-financial-init button{width:100%}}
@media(max-width:480px){.wv-financial-strip{grid-template-columns:1fr}.wv-financial-row dl{grid-template-columns:1fr}.wv-financial-row dd{text-align:left}.wv-financial-detail-row{grid-template-columns:1fr}.wv-financial-detail-row>span{grid-column:1}.wv-financial-heading h1{font-size:31px}}


/* ==========================================================
   v24.3.1 — Relatórios + Resultado das vendas + Conexão Premiada
   ========================================================== */

/* 1) Relatórios: filtros respiram em 100% e quebram em duas linhas
      antes de começar a comprimir campos e botões. */
.wv-report-filters-v2,
.wv-financial-filters{
  min-width:0;
}
.wv-report-filters-v2 .wv-filter-pills,
.wv-financial-filters .wv-filter-pills{
  min-width:0;
}
.wv-report-filters-v2 label,
.wv-financial-filters label{
  min-width:0;
}
.wv-report-filters-v2 input,
.wv-report-filters-v2 select,
.wv-financial-filters input,
.wv-financial-filters select{
  min-width:0;
}

@media(max-width:1700px){
  .wv-report-filters-v2,
  .wv-financial-filters{
    display:grid!important;
    grid-template-columns:minmax(150px,.7fr) minmax(190px,1fr) minmax(160px,.8fr) minmax(160px,.8fr) auto!important;
    gap:11px!important;
    align-items:end!important;
  }
  .wv-report-filters-v2 .wv-filter-pills,
  .wv-financial-filters .wv-filter-pills{
    grid-column:1/-1;
    width:100%;
    margin:0!important;
  }
  .wv-report-filters-v2 .wv-filter-pills button,
  .wv-financial-filters .wv-filter-pills button{
    min-height:44px;
    padding-inline:18px;
    font-size:15px;
  }
}

/* 2) Resultado das vendas fica sozinho no local de ação do cabeçalho. */
.wv-report-result-button{
  min-height:48px;
  padding:0 18px;
  border-radius:12px;
  font-size:15px;
  white-space:nowrap;
}

/* 3 + 5) Resultado das vendas: cabeçalho limpo, ações lado a lado e
          tipografia compatível com o restante do módulo. */
.wv-financial-breadcrumb{display:none!important}
.wv-financial-heading{
  align-items:center!important;
  padding-top:22px!important;
  margin-bottom:20px!important;
}
.wv-financial-heading-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.wv-financial-heading-actions>button{
  min-height:48px;
  padding:0 17px;
  border-radius:12px;
  font-size:15px;
  font-weight:850;
}
.wv-financial-back-button{
  color:#315b7b!important;
  background:#fff!important;
}
.wv-financial-heading h1{
  font-size:clamp(34px,3vw,42px)!important;
}
.wv-financial-heading p{
  font-size:16px!important;
  line-height:1.45!important;
}

/* Filtros do Resultado: mesmos tamanhos visuais do relatório principal. */
.wv-financial-filters{
  padding:14px 16px!important;
  border-radius:16px!important;
}
.wv-financial-filters label{
  gap:6px!important;
  color:#43617d!important;
  font-size:14px!important;
}
.wv-financial-filters input,
.wv-financial-filters select{
  min-height:46px!important;
  padding:0 12px!important;
  border-radius:11px!important;
  font-size:15px!important;
}
.wv-financial-filters [data-run-financial]{
  min-height:46px;
  padding:0 18px;
  border-radius:11px;
  font-size:15px;
}

/* KPIs financeiros — eliminar aparência pequena. */
.wv-financial-strip{
  gap:12px!important;
  margin-bottom:14px!important;
}
.wv-financial-strip article{
  min-height:132px;
  padding:18px!important;
}
.wv-financial-strip small{
  font-size:13px!important;
  line-height:1.3;
}
.wv-financial-strip strong{
  font-size:clamp(24px,2vw,31px)!important;
  line-height:1.12!important;
}
.wv-financial-strip span{
  font-size:14px!important;
  line-height:1.4!important;
}
.wv-financial-coverage{
  gap:12px!important;
  padding:14px 16px!important;
}
.wv-financial-coverage strong{
  font-size:15px!important;
}
.wv-financial-coverage p{
  font-size:14px!important;
}

/* Cards de resultado. */
.wv-financial-grid{
  gap:16px!important;
}
.wv-financial-grid .wv-card{
  padding:18px!important;
}
.wv-financial-grid .wv-report-card-head h2,
.wv-financial-detail-card .wv-report-card-head h2{
  font-size:20px!important;
}
.wv-financial-grid .wv-report-card-head p,
.wv-financial-detail-card .wv-report-card-head p{
  font-size:14px!important;
}
.wv-financial-row{
  padding:14px!important;
}
.wv-financial-row strong{
  font-size:15px!important;
}
.wv-financial-row small{
  font-size:13px!important;
}
.wv-financial-row dt{
  font-size:11px!important;
}
.wv-financial-row dd{
  font-size:14px!important;
}
.wv-financial-detail-row{
  padding:12px 13px!important;
}
.wv-financial-detail-row time,
.wv-financial-detail-row>div small{
  font-size:13px!important;
}
.wv-financial-detail-row>div strong,
.wv-financial-detail-row>span b{
  font-size:14px!important;
}
.wv-financial-detail-row>span small{
  font-size:11px!important;
}

/* v25.11.86 — removido bloco legado .wv-promo-* (layout de cupons desativado). */
@media(max-width:900px){
  .wv-financial-heading{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .wv-financial-heading-actions{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .wv-financial-heading-actions>button{
    width:100%;
  }
}

@media(max-width:760px){
  .wv-report-filters-v2,
  .wv-financial-filters{
    grid-template-columns:1fr 1fr!important;
  }
  .wv-report-filters-v2 .wv-filter-pills,
  .wv-financial-filters .wv-filter-pills{
    grid-column:1/-1!important;
    overflow-x:auto;
  }
  .wv-report-filters-v2 [data-run-report],
  .wv-financial-filters [data-run-financial]{
    grid-column:1/-1!important;
  }
  .wv-financial-heading-actions{
    grid-template-columns:1fr;
  }
}

@media(max-width:480px){
  .wv-report-filters-v2,
  .wv-financial-filters{
    grid-template-columns:1fr!important;
  }
  .wv-report-filters-v2>*,
  .wv-financial-filters>*{
    grid-column:1!important;
  }
}


/* ==========================================================
   v24.3.2 — Polimento fino:
   Conexão Premiada + Configurar custos e taxas
   ========================================================== */

/* v25.11.86 — removido polimento legado da antiga lista de cupons. */

/* ----------------------------------------------------------
   3) RESULTADO DAS VENDAS — CONFIGURAR CUSTOS E TAXAS
   Reorganização visual sem alterar regras ou dados.
   ---------------------------------------------------------- */

.wv-financial-config-dialog{
  width:min(1060px,calc(100% - 24px))!important;
  max-height:94vh!important;
}

.wv-financial-config-dialog .wv-dialog-static{
  max-height:94vh!important;
  padding:26px 28px 28px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}

.wv-financial-config-dialog .wv-dialog-static>span{
  font-size:12px!important;
  letter-spacing:.10em!important;
}

.wv-financial-config-dialog .wv-dialog-static>h2{
  margin:8px 52px 5px 0!important;
  font-size:27px!important;
  line-height:1.15!important;
}

.wv-financial-config-dialog .wv-dialog-static>p{
  margin:0 52px 18px 0!important;
  max-width:760px;
  font-size:14px!important;
  line-height:1.45!important;
}

/* Grid principal:
   - Cobertura ocupa uma faixa compacta no topo
   - Custo do produto ocupa largura total
   - Taxa por região e Taxa por produto ficam lado a lado */
.wv-financial-config-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:14px!important;
  margin:0 0 18px!important;
}

.wv-financial-config-card{
  min-width:0!important;
  padding:18px!important;
  gap:12px!important;
  border:1px solid #d9e7ef!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(19,63,97,.035)!important;
}

.wv-financial-config-card h3{
  margin:0 0 3px!important;
  color:#123f6e!important;
  font-size:18px!important;
  line-height:1.25!important;
}

/* Início da cobertura — tira o grande espaço vazio. */
.wv-financial-config-grid>[data-financial-settings-form]{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:minmax(190px,.65fr) minmax(190px,.55fr) minmax(280px,1fr) auto!important;
  align-items:end!important;
  gap:12px 18px!important;
  padding:16px 18px!important;
  background:#f8fbfd!important;
}

.wv-financial-config-grid>[data-financial-settings-form] h3{
  grid-column:1!important;
  align-self:center!important;
  margin:0!important;
}

.wv-financial-config-grid>[data-financial-settings-form] label{
  grid-column:2!important;
  margin:0!important;
}

.wv-financial-config-grid>[data-financial-settings-form]>small{
  grid-column:3!important;
  align-self:center!important;
  margin:0!important;
}

.wv-financial-config-grid>[data-financial-settings-form]>button{
  grid-column:4!important;
  align-self:end!important;
}

/* Custo do produto — ganha largura total e usa o espaço de forma útil. */
.wv-financial-config-grid>[data-financial-cost-form]{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(170px,.55fr) minmax(170px,.55fr)!important;
  align-items:end!important;
  gap:12px 14px!important;
}

.wv-financial-config-grid>[data-financial-cost-form] h3{
  grid-column:1/-1!important;
}

.wv-financial-config-grid>[data-financial-cost-form]>label:first-of-type{
  grid-column:1!important;
}

.wv-financial-config-grid>[data-financial-cost-form]>.wv-form-grid{
  grid-column:2/-1!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}

.wv-financial-config-grid>[data-financial-cost-form]>label:nth-of-type(2){
  grid-column:1/3!important;
}

.wv-financial-config-grid>[data-financial-cost-form]>.wv-financial-preview{
  grid-column:1/3!important;
}

.wv-financial-config-grid>[data-financial-cost-form]>button{
  grid-column:3!important;
  grid-row:4!important;
  align-self:stretch!important;
}

/* Taxa por região / produto: compactas e proporcionais. */
.wv-financial-config-grid>[data-financial-region-form],
.wv-financial-config-grid>[data-financial-product-delivery-form]{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  align-content:start!important;
  gap:11px 12px!important;
}

.wv-financial-config-grid>[data-financial-region-form] h3,
.wv-financial-config-grid>[data-financial-product-delivery-form] h3{
  grid-column:1/-1!important;
}

.wv-financial-config-grid>[data-financial-region-form]>label:first-of-type,
.wv-financial-config-grid>[data-financial-product-delivery-form]>label:first-of-type{
  grid-column:1/-1!important;
}

.wv-financial-config-grid>[data-financial-region-form]>.wv-form-grid,
.wv-financial-config-grid>[data-financial-product-delivery-form]>.wv-form-grid{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:11px!important;
}

.wv-financial-config-grid>[data-financial-region-form]>.wv-form-grid>label:last-child,
.wv-financial-config-grid>[data-financial-product-delivery-form]>.wv-form-grid>label:last-child{
  grid-column:1/-1!important;
}

.wv-financial-config-grid>[data-financial-region-form]>label:nth-of-type(2),
.wv-financial-config-grid>[data-financial-product-delivery-form]>label:nth-of-type(2){
  grid-column:1/-1!important;
}

.wv-financial-config-grid>[data-financial-region-form]>.wv-financial-preview,
.wv-financial-config-grid>[data-financial-product-delivery-form]>.wv-financial-preview{
  grid-column:1/-1!important;
}

.wv-financial-config-grid>[data-financial-region-form]>button,
.wv-financial-config-grid>[data-financial-product-delivery-form]>button{
  grid-column:1/-1!important;
  justify-self:end!important;
}

/* Campos e botões no mesmo padrão visual. */
.wv-financial-config-card label{
  gap:6px!important;
  color:#4f6d85!important;
  font-size:13px!important;
  line-height:1.2!important;
}

.wv-financial-config-card input,
.wv-financial-config-card select{
  min-height:46px!important;
  padding:0 12px!important;
  border-radius:10px!important;
  font-size:14px!important;
}

.wv-financial-config-card>small{
  color:#6f8496!important;
  font-size:13px!important;
  line-height:1.45!important;
}

.wv-financial-preview{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  padding:9px 11px!important;
  border-radius:10px!important;
  font-size:12px!important;
}

.wv-financial-config-card>button,
.wv-financial-init>button{
  width:auto!important;
  min-width:178px!important;
  min-height:46px!important;
  padding:0 18px!important;
  justify-self:end!important;
  border-radius:11px!important;
  font-size:14px!important;
}

/* Configuração atual mais limpa e alinhada. */
.wv-financial-current{
  margin-top:4px!important;
  padding-top:18px!important;
  border-top:1px solid #e2ebf1;
}

.wv-financial-current>.wv-report-card-head{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
}

.wv-financial-current>.wv-report-card-head>span{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  padding:0!important;
  border-radius:11px!important;
}

.wv-financial-current>.wv-report-card-head>span svg{
  width:19px!important;
  height:19px!important;
}

.wv-financial-current>.wv-report-card-head h3{
  margin:0 0 3px!important;
  font-size:20px!important;
}

.wv-financial-current>.wv-report-card-head p{
  margin:0!important;
  font-size:14px!important;
}

.wv-financial-current>[data-financial-current]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
  margin-top:12px!important;
}

.wv-financial-current article{
  padding:12px 13px!important;
  border-radius:11px!important;
  background:#fbfdff!important;
}

.wv-financial-current article strong{
  font-size:14px!important;
  line-height:1.3!important;
}

.wv-financial-current article small{
  margin-top:4px!important;
  font-size:12px!important;
  line-height:1.4!important;
}

.wv-financial-init{
  margin-top:16px!important;
  padding:13px 15px!important;
  border-radius:12px!important;
}

.wv-financial-init strong{
  font-size:14px!important;
}

.wv-financial-init small{
  font-size:13px!important;
}

@media(max-width:900px){
  .wv-financial-config-grid>[data-financial-settings-form]{
    grid-template-columns:1fr 1fr!important;
  }
  .wv-financial-config-grid>[data-financial-settings-form] h3{
    grid-column:1/-1!important;
  }
  .wv-financial-config-grid>[data-financial-settings-form] label{
    grid-column:1!important;
  }
  .wv-financial-config-grid>[data-financial-settings-form]>small{
    grid-column:1/-1!important;
  }
  .wv-financial-config-grid>[data-financial-settings-form]>button{
    grid-column:2!important;
    grid-row:2!important;
  }

  .wv-financial-config-grid>[data-financial-cost-form]{
    grid-template-columns:1fr 1fr!important;
  }
  .wv-financial-config-grid>[data-financial-cost-form]>label:first-of-type,
  .wv-financial-config-grid>[data-financial-cost-form]>.wv-form-grid,
  .wv-financial-config-grid>[data-financial-cost-form]>label:nth-of-type(2),
  .wv-financial-config-grid>[data-financial-cost-form]>.wv-financial-preview{
    grid-column:1/-1!important;
  }
  .wv-financial-config-grid>[data-financial-cost-form]>button{
    grid-column:1/-1!important;
    grid-row:auto!important;
  }
}

@media(max-width:720px){
  .wv-financial-config-dialog .wv-dialog-static{
    padding:22px 14px 18px!important;
  }
  .wv-financial-config-grid{
    grid-template-columns:1fr!important;
  }
  .wv-financial-config-grid>[data-financial-settings-form],
  .wv-financial-config-grid>[data-financial-cost-form],
  .wv-financial-config-grid>[data-financial-region-form],
  .wv-financial-config-grid>[data-financial-product-delivery-form]{
    grid-column:1!important;
    grid-template-columns:1fr!important;
  }
  .wv-financial-config-grid>[data-financial-settings-form]>*,
  .wv-financial-config-grid>[data-financial-cost-form]>*,
  .wv-financial-config-grid>[data-financial-region-form]>*,
  .wv-financial-config-grid>[data-financial-product-delivery-form]>*{
    grid-column:1!important;
    grid-row:auto!important;
  }
  .wv-financial-config-grid .wv-form-grid{
    grid-template-columns:1fr!important;
  }
  .wv-financial-current>[data-financial-current]{
    grid-template-columns:1fr!important;
  }
  .wv-financial-config-card>button,
  .wv-financial-init>button{
    width:100%!important;
    justify-self:stretch!important;
  }
}


/* ==========================================================
   v24.3.3 — Conexão Premiada + navegação lateral
   ========================================================== */

/* v25.11.86 — removido bloco legado de ações de cupons. */

/* ==========================================================
   v24.3.4 — MOBILE POLIDO + ROLAGEM CORRIGIDA
   ========================================================== */

.wv-mobile-overlay{display:none}

@media(max-width:900px){
  .staff-app[data-view="water"]{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:100svh!important;
    padding:0 0 calc(86px + env(safe-area-inset-bottom))!important;
    overflow:visible!important;
    background:#f3f8fb!important;
  }

  .staff-app[data-view="water"]>.wv-workspace{
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:100svh!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
  }

  .staff-app[data-view="water"] .wv-content{
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    padding:18px 14px calc(104px + env(safe-area-inset-bottom))!important;
    overflow:visible!important;
  }

  .wv-mobilebar{
    position:sticky!important;
    z-index:46!important;
    top:0!important;
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:11px!important;
    min-height:66px!important;
    padding:9px 14px!important;
    border-bottom:1px solid #dbe7ef!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 7px 20px rgba(16,58,92,.07)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }

  .wv-mobilebar .wv-menu{
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    padding:0!important;
    border:1px solid #d7e8f2!important;
    border-radius:13px!important;
    background:#edf7fd!important;
    color:#0873c9!important;
    box-shadow:none!important;
  }
  .wv-mobilebar .wv-menu svg{width:21px!important;height:21px!important}
  .wv-mobilebar>div{display:grid!important;gap:1px!important;min-width:0!important}
  .wv-mobilebar b{
    overflow:hidden!important;
    color:#0a3568!important;
    font:900 16px/1.2 "Nunito",sans-serif!important;
    letter-spacing:0!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .wv-mobilebar small{
    color:#71869a!important;
    font:750 12px/1.25 "Nunito",sans-serif!important;
  }

  .wv-sidebar{
    position:fixed!important;
    z-index:80!important;
    inset:0 auto 0 0!important;
    width:min(304px,86vw)!important;
    height:100dvh!important;
    padding:18px 14px calc(18px + env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    border-radius:0 22px 22px 0!important;
    box-shadow:20px 0 55px rgba(2,30,61,.26)!important;
    transform:translateX(-108%)!important;
    transition:transform .22s ease!important;
  }
  .wv-sidebar.open{transform:none!important}
  .wv-sidebar-top{padding:0 4px 12px!important}
  .wv-sidebar .wv-brand{padding:5px 7px 14px!important}
  .wv-sidebar .wv-brand img{max-width:188px!important}
  .wv-sidebar .wv-module-name{margin:0 6px 10px!important}
  .wv-sidebar nav{gap:5px!important}
  .wv-sidebar nav button{
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    min-height:50px!important;
    padding:6px 10px!important;
    border-radius:12px!important;
    font-size:14px!important;
  }
  .wv-sidebar nav button svg{
    width:20px!important;
    height:20px!important;
    box-sizing:content-box!important;
    padding:8px!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.08)!important;
  }
  .wv-sidebar nav button.active svg{background:rgba(255,255,255,.18)!important}

  .wv-mobile-overlay{
    position:fixed!important;
    z-index:70!important;
    inset:0!important;
    display:block!important;
    border:0!important;
    background:rgba(5,30,55,.40)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:opacity .2s ease!important;
  }
  .wv-mobile-overlay.open{opacity:1!important;pointer-events:auto!important}
  html.wv-mobile-menu-open{overflow:hidden!important}

  .wv-mobile-nav{
    position:fixed!important;
    z-index:60!important;
    right:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    left:8px!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    height:auto!important;
    min-height:70px!important;
    padding:7px 6px!important;
    border:1px solid #d4e4ed!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 16px 40px rgba(10,50,82,.17)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }
  .wv-mobile-nav button,
  .wv-mobile-nav button[data-water-tab="sale"]{
    position:relative!important;
    z-index:1!important;
    display:grid!important;
    place-items:center!important;
    align-content:center!important;
    gap:3px!important;
    min-width:0!important;
    min-height:54px!important;
    padding:5px 2px!important;
    border:0!important;
    border-radius:12px!important;
    background:transparent!important;
    color:#71879a!important;
    font:850 11px/1.1 "Nunito",sans-serif!important;
  }
  .wv-mobile-nav button[data-water-tab="sale"]::before{display:none!important}
  .wv-mobile-nav button svg{
    width:20px!important;
    height:20px!important;
    box-sizing:content-box!important;
    padding:5px!important;
    border-radius:10px!important;
    background:transparent!important;
    color:inherit!important;
  }
  .wv-mobile-nav button.active{background:#eef8fe!important;color:#0874cc!important}
  .wv-mobile-nav button.active svg{background:#dff1fd!important}
  .wv-mobile-nav button span{
    overflow:hidden!important;
    max-width:100%!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .staff-app[data-view="water"] .wv-heading,
  .staff-app[data-view="water"] .wv-financial-heading{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:14px!important;
    padding-top:8px!important;
    margin-bottom:17px!important;
  }
  .staff-app[data-view="water"] .wv-heading h1, .staff-app[data-view="water"] .wv-financial-heading h1{
    font-size:30px!important;
    line-height:1.04!important;
  }
  .staff-app[data-view="water"] .wv-heading p, .staff-app[data-view="water"] .wv-financial-heading p{
    font-size:14px!important;
    line-height:1.45!important;
  }
  .staff-app[data-view="water"] .wv-heading-actions,
  .staff-app[data-view="water"] .wv-financial-heading-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    gap:8px!important;
  }
  .staff-app[data-view="water"] .wv-heading-actions>*,
  .staff-app[data-view="water"] .wv-financial-heading-actions>*{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
  }

  .staff-app[data-view="water"] .wv-card,
  .staff-app[data-view="water"] .wv-sale-step,
  .staff-app[data-view="water"] .wv-dashboard-card,
  .staff-app[data-view="water"] .wv-report-detail-card{
    border-radius:15px!important;
    min-width:0!important;
  }

  .wv-kpis, .wv-kpis.compact, .wv-report-kpis, .wv-reseller-kpis, .wv-stock-summary-grid, .wv-financial-strip{
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
  }
  .wv-kpis article, .wv-report-kpis article, .wv-reseller-kpis article, .wv-stock-summary-grid article, .wv-financial-strip article{min-width:0!important}

  .wv-report-filters-v2,
  .wv-financial-filters{
    grid-template-columns:1fr 1fr!important;
    min-width:0!important;
  }
  .wv-report-filters-v2 .wv-filter-pills,
  .wv-financial-filters .wv-filter-pills,
  .wv-report-id-filter,
  .wv-report-run,
  .wv-financial-filters [data-run-financial]{grid-column:1/-1!important}

  .wv-responsive-list,
  .wv-reseller-load-table,
  .wv-table,
  .wv-report-sales-table,
  .wv-price-table{
    -webkit-overflow-scrolling:touch!important;
  }

  .staff-app[data-view="water"] dialog.wv-dialog,
  .staff-app[data-view="water"] .wv-financial-config-dialog,
  .staff-app[data-view="water"] .wv-prices-dialog{
    width:calc(100% - 12px)!important;
    max-width:none!important;
    max-height:calc(100dvh - 12px)!important;
    margin:auto!important;
    border-radius:20px!important;
    overflow:hidden!important;
  }
  .staff-app[data-view="water"] dialog.wv-dialog>form,
  .staff-app[data-view="water"] dialog.wv-dialog>.wv-dialog-static,
  .staff-app[data-view="water"] .wv-financial-config-dialog>.wv-dialog-static,
  .staff-app[data-view="water"] .wv-prices-dialog>.wv-dialog-static{
    max-height:calc(100dvh - 12px)!important;
    padding:22px 15px calc(24px + env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
  }
  .staff-app[data-view="water"] .wv-dialog-close{
    top:12px!important;
    right:12px!important;
    width:40px!important;
    height:40px!important;
  }

  .wv-financial-grid{grid-template-columns:1fr!important}

  
  
  
  
  

  .wv-sale-layout{grid-template-columns:1fr!important}
  .wv-order-card{position:static!important}
}

@media(max-width:560px){
  .staff-app[data-view="water"] .wv-content{padding-inline:11px!important}

  .staff-app[data-view="water"] .wv-heading h1, .staff-app[data-view="water"] .wv-financial-heading h1{font-size:27px!important}

  .wv-kpis, .wv-report-kpis, .wv-reseller-kpis, .wv-stock-summary-grid, .wv-financial-strip{grid-template-columns:1fr!important}

  .wv-kpis.compact{grid-template-columns:1fr 1fr!important}

  .wv-report-filters-v2,
  .wv-financial-filters{grid-template-columns:1fr!important}
  .wv-report-filters-v2>*,
  .wv-financial-filters>*{grid-column:1!important}

  
  

  .wv-mobile-nav{
    right:6px!important;
    left:6px!important;
    padding-inline:4px!important;
  }
  .wv-mobile-nav button{font-size:10px!important}
  .wv-mobile-nav button svg{
    width:19px!important;
    height:19px!important;
    padding:4px!important;
  }
}


/* v24.3.5 — blindagem da interface canônica do Caixa */
.water-canonical-host>.staff-mobile,
.water-canonical-host>.workspace:not(.wv-workspace),
.water-canonical-host>aside:not(.wv-sidebar){
  display:none!important;
}
.water-canonical-host.wv-canonical-ready{
  visibility:visible!important;
}

/* v24.4.0 — análises comerciais e hábitos */
.wv-sale-period-block{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(360px,1.2fr);align-items:center;gap:14px;margin-top:14px;padding:13px 14px;border:1px solid #dbe8f0;border-radius:13px;background:#f8fbfd}
.wv-sale-period-block>div:first-child{display:grid;gap:2px}.wv-sale-period-block strong{color:#244d6e;font-size:14px}.wv-sale-period-block small{color:#74899b;font-size:12px;line-height:1.35}


.wv-report-heading-actions{display:flex!important;flex-wrap:wrap;gap:8px!important}.wv-report-heading-actions>button{min-height:48px}
.wv-commercial-heading{align-items:center!important;padding-top:22px!important;margin-bottom:20px!important}.wv-commercial-heading>div:first-child{position:relative}.wv-commercial-heading>div:first-child::after{content:"";display:block;width:58px;height:3px;margin-top:11px;border-radius:999px;background:linear-gradient(90deg,var(--module-primary),var(--module-secondary));opacity:.72}.wv-commercial-heading h1{margin:0 0 6px!important;color:#092d68!important;font:900 clamp(34px,3vw,42px)/1.02 "Nunito",sans-serif!important;letter-spacing:-.035em!important}.wv-commercial-heading p{margin:0!important;color:#516b8d!important;font-size:16px!important}
.wv-commercial-filters{display:grid!important;grid-template-columns:minmax(200px,1fr) minmax(160px,.6fr) minmax(160px,.6fr) auto!important;gap:11px!important;align-items:end!important}.wv-commercial-filters .wv-filter-pills{grid-column:1/-1}.wv-commercial-filters label{display:grid;gap:6px;color:#4a6780;font-size:13px;font-weight:900}.wv-commercial-filters input,.wv-commercial-filters select{min-height:44px;padding:0 11px;border:1px solid #cadae7;border-radius:10px;background:#fff;color:#173f68;font:800 14px/1 "Nunito",sans-serif}.wv-commercial-filters [data-run-commercial]{min-height:44px}
.wv-commercial-error{margin:12px 0;padding:12px;border-radius:11px;background:#fff1f2;color:#a33a43}
.wv-commercial-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.wv-commercial-kpis article{display:grid;gap:5px;min-height:112px;padding:17px;border:1px solid #d8e7ef;border-radius:15px;background:#fff}.wv-commercial-kpis small{color:#71869a;font-size:12px;font-weight:950;text-transform:uppercase}.wv-commercial-kpis strong{color:#0b3d6f;font-size:27px}.wv-commercial-kpis span{color:#788b9b;font-size:13px}
.wv-commercial-trend-card{margin-bottom:15px;padding:18px!important}.wv-commercial-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:14px}.wv-commercial-card-head>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}.wv-commercial-card-head>div:first-child>span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#edf7fd;color:#0876ce}.wv-commercial-card-head svg{width:20px;height:20px}.wv-commercial-card-head h2{margin:0;color:#113e6b;font-size:20px}.wv-commercial-card-head p{margin:2px 0 0;color:#75899b;font-size:13px}
.wv-commercial-metric-toggle{display:flex;gap:4px;padding:4px;border:1px solid #d4e3ec;border-radius:10px;background:#eef5f9}.wv-commercial-metric-toggle button{min-height:36px;padding:7px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#60798f;font:850 12px/1 "Nunito",sans-serif}.wv-commercial-metric-toggle button.active{background:#fff;border-color:#dce8ef;color:#0874ca}
.wv-commercial-chart{min-height:250px;border:1px solid #e1ebf1;border-radius:13px;background:linear-gradient(#fff,#fbfdff);overflow:hidden}.wv-commercial-chart-scroll{overflow-x:auto}.wv-commercial-chart svg{display:block;width:100%;min-width:640px;height:250px}.wv-commercial-chart line{stroke:#e6eef3}.wv-commercial-chart .trend{fill:none;stroke:#0c91dd;stroke-width:3}.wv-commercial-chart circle{fill:#11bad0;stroke:#fff;stroke-width:2}.wv-commercial-chart text{font-family:"Nunito",sans-serif;text-anchor:middle;fill:#6f8497}.wv-commercial-chart .value{font-size:11px;font-weight:900;fill:#174c75}.wv-commercial-chart .label{font-size:10px;font-weight:800}
.wv-commercial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.wv-commercial-grid>.wv-card{padding:17px!important}.wv-commercial-list article{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.65fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #e6eef3}.wv-commercial-list article:last-child{border-bottom:0}.wv-commercial-list article>div{display:grid;gap:1px;min-width:0}.wv-commercial-list strong{color:#174669;font-size:14px}.wv-commercial-list small{color:#7a8e9f;font-size:12px}.wv-commercial-list article>span{display:block;height:7px;border-radius:999px;background:#e7f0f5;overflow:hidden}.wv-commercial-list article>span i{display:block;height:100%;background:linear-gradient(90deg,#0d8ee0,#15b9c9)}.wv-commercial-list article>b{color:#103f70;font-size:14px;white-space:nowrap}.wv-commercial-empty{display:grid;place-items:center;min-height:140px;padding:20px;color:#7a8e9f;text-align:center}.wv-commercial-coverage{color:#758a9b;font-size:12px}
.wv-customer-habits{margin:18px 0;padding:17px;border:1px solid #d7e6ef;border-radius:15px;background:#f9fcfe}.wv-customer-habits .wv-customer-section-head>small{color:#74899b;font-size:12px}.wv-customer-habit-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}.wv-customer-habit-kpis article{display:grid;gap:4px;padding:12px;border:1px solid #dfebf2;border-radius:11px;background:#fff}.wv-customer-habit-kpis small{color:#7890a2;font-size:10px;font-weight:950}.wv-customer-habit-kpis strong{color:#123f6b;font-size:14px}.wv-customer-habit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.wv-customer-habit-grid>div{padding:12px;border:1px solid #e0eaf0;border-radius:11px;background:#fff}.wv-customer-habit-grid h4{margin:0 0 8px;color:#365a75;font-size:13px}.wv-customer-habit-grid article{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #edf2f5}.wv-customer-habit-grid article:last-child{border:0}.wv-customer-habit-grid span,.wv-customer-habit-grid b{font-size:12px}.wv-customer-habits>p{margin:10px 0 0;color:#7b8f9f;font-size:12px}
.wv-workspace{scroll-behavior:auto!important}
@media(max-width:900px){.wv-sale-period-block{grid-template-columns:1fr}.wv-commercial-heading{align-items:flex-start!important;flex-direction:column!important}.wv-commercial-filters{grid-template-columns:1fr 1fr!important}.wv-commercial-filters .wv-filter-pills,.wv-commercial-filters [data-run-commercial]{grid-column:1/-1}.wv-commercial-kpis{grid-template-columns:1fr 1fr}.wv-commercial-grid{grid-template-columns:1fr}.wv-commercial-card-head{flex-direction:column}.wv-commercial-metric-toggle{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.wv-customer-habit-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.wv-commercial-filters{grid-template-columns:1fr!important}.wv-commercial-filters>*{grid-column:1!important}.wv-commercial-kpis{grid-template-columns:1fr}.wv-commercial-list article{grid-template-columns:minmax(0,1fr) auto}.wv-commercial-list article>span{grid-column:1/-1}.wv-customer-habit-kpis,.wv-customer-habit-grid{grid-template-columns:1fr}}


/* v24.4.0 FINAL — período automático com possibilidade de ajuste manual */
.wv-sale-period-block>div:first-child{
  align-content:start;
}
.wv-sale-period-auto{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  width:max-content;
  min-height:32px;
  margin-top:7px;
  padding:5px 9px;
  border:1px solid #cfe2ee;
  border-radius:9px;
  background:#fff;
  color:#0874ca;
  font:850 12px/1 "Nunito",sans-serif;
}
.wv-sale-period-auto svg{
  width:15px;
  height:15px;
}
.wv-sale-period-auto:hover{
  background:#edf8fe;
}
.wv-sale-period-auto[hidden]{
  display:none!important;
}
@media(max-width:560px){
  .wv-sale-period-auto{
    width:100%;
    justify-content:center;
    min-height:38px;
  }
}


/* v25.8.11 — nome informado somente na venda */





@media(max-width:720px){.wv-sale-customer-actions .wv-inline-actions{display:flex;flex-wrap:wrap;gap:7px}}


/* v25.9.1 — polimento incremental das evoluções recentes */
.wv-responsible-with-jubinha{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0}.wv-responsible-with-jubinha>span{min-width:0}.wv-responsible-with-jubinha em{display:inline-flex;align-items:center;padding:2px 6px;border:1px solid #b9e3f5;border-radius:999px;background:#e6f7ff;color:#0876b8;font-size:8px;line-height:1.2;font-style:normal;font-weight:950;white-space:nowrap;letter-spacing:.02em}
/* "Informar apenas o nome" usa a mesma linguagem visual dos controles já existentes. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-actions .wv-inline-actions{align-items:center;gap:8px}
@media(max-width:760px){.wv-today-heading .wv-heading-actions{flex-wrap:wrap}.wv-sale-customer-actions .wv-inline-actions{display:flex;flex-wrap:wrap;gap:7px}}


/* v25.9.2 — Ultra Visual Sale Bridge */
.wv-jubinha-bridge-banner{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;margin:0 0 14px;padding:10px 13px;border:1px solid rgba(9,140,210,.18);border-radius:15px;background:linear-gradient(135deg,rgba(236,249,255,.98),rgba(245,253,255,.98));box-shadow:0 8px 22px rgba(12,102,157,.07);color:#275774}
.wv-jubinha-bridge-banner[hidden]{display:none!important}.wv-jubinha-bridge-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#0878dc,#0bb8d3);color:#fff;font-weight:950;box-shadow:0 7px 15px rgba(6,119,186,.2)}
.wv-jubinha-bridge-banner>div{display:grid;gap:1px;min-width:0}.wv-jubinha-bridge-banner small{font-size:8px;font-weight:950;letter-spacing:.08em;color:#4b89aa}.wv-jubinha-bridge-banner strong{font-size:11.5px;line-height:1.3;color:#24516d}.wv-jubinha-bridge-banner>em{padding:5px 8px;border-radius:999px;background:#fff;color:#0b7fbd;font-size:9px;font-style:normal;font-weight:950;box-shadow:inset 0 0 0 1px rgba(10,133,196,.1)}
.wv-jubinha-preview-active .wv-sale-flow,.wv-jubinha-preview-active .wv-order-card{position:relative}.wv-jubinha-preview-active [data-submit-sale]{opacity:.48;pointer-events:none}.wv-jubinha-preview-active [data-clear-cart],.wv-jubinha-preview-active [data-clear-customer],.wv-jubinha-preview-active .wv-sale-flow input,.wv-jubinha-preview-active .wv-sale-flow button:not([data-water-tab]),.wv-jubinha-preview-active .wv-order-card input,.wv-jubinha-preview-active .wv-order-card select,.wv-jubinha-preview-active .wv-order-card textarea,.wv-jubinha-preview-active .wv-order-card button:not([data-submit-sale]){pointer-events:none}
.wv-jubinha-fill{position:relative;z-index:2;animation:wvJubinhaFill .52s ease both}.wv-jubinha-value-change{animation:wvJubinhaValue .62s ease both!important}
@keyframes wvJubinhaFill{0%{box-shadow:0 0 0 0 rgba(13,174,220,0);transform:translateY(0)}35%{box-shadow:0 0 0 4px rgba(13,174,220,.16),0 10px 24px rgba(10,122,190,.12);transform:translateY(-1px)}100%{box-shadow:0 0 0 0 rgba(13,174,220,0);transform:translateY(0)}}
@keyframes wvJubinhaValue{0%{background:#fff}35%{background:#e7fbff;box-shadow:0 0 0 4px rgba(17,199,220,.18)}100%{background:#fff;box-shadow:none}}
.wv-jubinha-conflict-dialog .wv-dialog-static{max-width:470px}.wv-jubinha-dialog-kicker{display:inline-flex;margin-bottom:5px;padding:4px 7px;border-radius:999px;background:#e8f7ff;color:#087cb9;font-size:8px;font-weight:950;letter-spacing:.08em}.wv-jubinha-conflict-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 3px;padding:11px 12px;border:1px solid #e3edf3;border-radius:12px;background:#f8fbfd}.wv-jubinha-conflict-summary span{font-size:9px;color:#758c9c;font-weight:850}.wv-jubinha-conflict-summary strong{font-size:10px;color:#315c76}.wv-jubinha-sale-success{animation:wvJubinhaSaleSuccess 2.5s ease both}@keyframes wvJubinhaSaleSuccess{0%,18%{box-shadow:0 0 0 4px rgba(25,202,132,.18),0 12px 28px rgba(20,147,103,.12);background:#f0fff8}100%{box-shadow:none;background:transparent}}
@media(max-width:720px){.wv-jubinha-bridge-banner{grid-template-columns:34px minmax(0,1fr) auto;margin-inline:0;padding:9px 10px}.wv-jubinha-bridge-mark{width:34px;height:34px}.wv-jubinha-bridge-banner strong{font-size:10.5px}.wv-jubinha-bridge-banner>em{font-size:8px}}
@media(prefers-reduced-motion:reduce){.wv-jubinha-fill,.wv-jubinha-value-change,.wv-jubinha-sale-success{animation:none!important}}

/* v25.9.4 — Jubinha: rascunho em tempo real dentro da Nova Venda */
.wv-jubinha-preview-active .wv-jubinha-bridge-banner{position:sticky;top:0;z-index:8;border-color:rgba(8,139,211,.28);background:linear-gradient(135deg,#eefaff,#f8fdff);box-shadow:0 10px 26px rgba(9,104,165,.10)}
.wv-jubinha-preview-active .wv-jubinha-bridge-banner strong{font-size:12px;color:#164e72}
.wv-jubinha-draft-items{display:grid;gap:7px;margin:0 0 12px;padding:10px 11px;border:1px dashed #9fd5ea;border-radius:12px;background:#f4fbfe}
.wv-jubinha-draft-items>small{color:#4a86a6;font-size:8px;font-weight:950;letter-spacing:.06em}
.wv-jubinha-draft-items>div{display:flex;flex-wrap:wrap;gap:6px}
.wv-jubinha-draft-items span{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid #cce7f3;border-radius:999px;background:#fff;color:#285a77;font-size:9px;font-weight:900;box-shadow:0 2px 7px rgba(17,85,128,.04)}
.wv-jubinha-preview-active .wv-sale-flow,.wv-jubinha-preview-active .wv-order-card{transition:opacity .16s ease}
.wv-jubinha-preview-active .wv-sale-step,.wv-jubinha-preview-active .wv-order-card{border-color:rgba(25,139,199,.13)}
.wv-jubinha-preview-active [data-submit-sale]{cursor:not-allowed}
@media(max-width:720px){.wv-jubinha-draft-items{padding:9px}.wv-jubinha-draft-items span{font-size:8.5px}}

/* v25.10.2 — Revendedores: pagamento misto e edição segura da Carga completa */
.wv-reseller-load-payment{
  display:grid;
  gap:10px;
  margin:12px 0;
  padding:12px;
  border:1px solid #d6e6ef;
  border-radius:14px;
  background:#f8fbfd;
}
.wv-reseller-load-payment[hidden]{display:none!important}
.wv-reseller-load-payment>.wv-form-grid{margin:0}
.wv-reseller-load-payment .wv-mixed-payment-panel{margin:0}
@media(max-width:520px){
  .wv-reseller-load-payment{padding:10px}
}


/* v25.10.3 — Hotfix de interação do modal Carga completa */
.wv-reseller-load-dialog,
.wv-reseller-load-dialog>form{
  pointer-events:auto!important;
}
.wv-reseller-load-dialog button,
.wv-reseller-load-dialog input,
.wv-reseller-load-dialog select,
.wv-reseller-load-dialog textarea,
.wv-reseller-load-dialog label{
  pointer-events:auto!important;
}
.wv-reseller-load-dialog [data-reseller-load-payment-mode],
.wv-reseller-load-dialog [data-close-dialog]{
  position:relative;
  z-index:4;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.wv-reseller-load-dialog .wv-reseller-load-payment{
  position:relative;
  z-index:2;
}

/* v25.10.4 — garante ação e área de toque do botão Salvar alterações */
.wv-reseller-load-dialog [data-reseller-load-submit]{
  position:relative;
  z-index:5;
  pointer-events:auto!important;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}


/* v25.10.29 — polimento do painel principal do Caixa */
.wv-module-name{display:flex!important;align-items:center;gap:7px!important;white-space:nowrap}.wv-module-name b,.wv-module-name small,.wv-module-name span{font-size:14px!important;line-height:1.2}.wv-module-name b{letter-spacing:.08em!important}.wv-module-name span{color:rgba(255,255,255,.48);font-weight:800}.wv-module-name small{color:rgba(255,255,255,.72)!important;font-weight:700!important}
.wv-sidebar-app{display:flex;align-items:center;gap:13px;width:100%;min-height:46px;padding:0 13px;border:0;border-radius:10px;background:transparent;color:rgba(241,248,255,.82);font-size:15px;font-weight:700;text-decoration:none;transition:background .18s ease,color .18s ease}.wv-sidebar-app svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.wv-sidebar-app:hover,.wv-sidebar-app:focus-visible{background:rgba(255,255,255,.09);color:#fff;outline:none}.wv-sidebar-app:active{background:rgba(255,255,255,.09);color:#fff}.wv-sidebar-footer .wv-sidebar-app{margin-bottom:3px}
.wv-quick-stock-card .wv-card-head-title h2{white-space:nowrap}.wv-quick-stock-card .wv-card-head{align-items:center}
.wv-cash-state-title strong{font-weight:900}
@media(max-width:900px){.wv-module-name{gap:6px!important}.wv-sidebar-app{min-height:48px;font-size:15px}}


/* v25.10.30 — polimento visual da seção Estoque rápido */
.wv-quick-stock-card{padding:20px 20px 18px}
.wv-quick-stock-card .wv-card-head{align-items:center;gap:18px;margin-bottom:18px}
.wv-quick-stock-card .wv-card-head-title{align-items:center;gap:14px}
.wv-quick-stock-card .wv-card-head-title h2{margin:0;color:#133f6f;font-size:1.95rem;line-height:1.02;font-weight:900;white-space:nowrap;letter-spacing:-.02em}
.wv-quick-stock-card .wv-card-head-icon.stock{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:linear-gradient(180deg,#fff7e9 0%,#fff2d4 100%);border:1px solid #eed6a0;color:#f4ab00;box-shadow:inset 0 1px 0 rgba(255,255,255,.78)}
.wv-quick-stock-card .wv-card-head-icon.stock .wv-media-icon img{filter:drop-shadow(0 4px 8px rgba(223,157,17,.12))}
.wv-quick-stock-card .wv-link{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#1c67c6;font-size:1rem;font-weight:800;line-height:1.2;white-space:nowrap}
.wv-quick-stock-card .wv-link svg{width:16px;height:16px;stroke-width:2.35}
.wv-quick-stock-card .wv-link:hover{color:#1157b1}
.wv-quick-stock-card .wv-link:hover svg{transform:translateX(3px)}
.wv-panel[data-water-panel="today"] .wv-quick-stock{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:14px;overflow:visible;padding:0;scroll-snap-type:none;align-items:stretch}
.wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item{display:grid;grid-template-rows:auto 1px auto auto;align-content:start;gap:14px;min-width:0;min-height:206px;padding:18px 18px 16px;border-radius:18px;border:1px solid #d7e7f3;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 10px 26px rgba(19,63,101,.045);overflow:hidden}
.wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item.low{border-color:#ecd7ab;background:linear-gradient(180deg,#fffdf8 0%,#fff8eb 100%);box-shadow:0 10px 24px rgba(149,104,26,.045)}
.wv-quick-stock-meta{display:grid;gap:6px;min-width:0}
.wv-quick-stock-brand{display:block;margin:0;color:#a96b12;font-size:.82rem;line-height:1.1;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item.normal .wv-quick-stock-brand{color:#1664c2}
.wv-quick-stock-name{display:block;margin:0;color:#153b6c;font-size:1.02rem;line-height:1.25;font-weight:900;white-space:normal;word-break:break-word}
.wv-quick-stock-divider{width:100%;height:1px;background:linear-gradient(90deg,rgba(196,216,232,.9),rgba(196,216,232,.35));border-radius:999px}
.wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item.low .wv-quick-stock-divider{background:linear-gradient(90deg,rgba(230,211,168,.95),rgba(230,211,168,.4))}
.wv-quick-stock-count{display:grid;gap:4px;align-content:start}
.wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-count strong{display:block;margin:0;color:#0b2f67;font-size:4rem;line-height:.95;font-weight:900;letter-spacing:-.05em}
.wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-count span{display:block;margin:0;color:#6b8298;font-size:1rem;line-height:1.2;font-weight:700}
.wv-quick-stock-badge{display:inline-flex;align-items:center;gap:8px;align-self:end;justify-self:start;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid transparent;font-size:.96rem;font-weight:800;line-height:1.1;white-space:nowrap}
.wv-quick-stock-badge svg{flex:0 0 16px;width:16px;height:16px;stroke-width:2.2}
.wv-quick-stock-badge em{font-style:normal}
.wv-quick-stock-badge.normal{background:#edf5ff;border-color:#d7e6f8;color:#165db8}
.wv-quick-stock-badge.low{background:#fff1d9;border-color:#f2ddaf;color:#b06a08}
@media(max-width:1260px){
  .wv-panel[data-water-panel="today"] .wv-quick-stock{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .wv-quick-stock-card{padding:18px 18px 16px}
  .wv-quick-stock-card .wv-card-head{margin-bottom:16px}
  .wv-quick-stock-card .wv-card-head-title h2{font-size:1.8rem}
  .wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item{min-height:196px;padding:17px 17px 15px}
  .wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-count strong{font-size:3.6rem}
}
@media(max-width:720px){
  .wv-quick-stock-card .wv-card-head{align-items:flex-start;gap:12px}
  .wv-quick-stock-card .wv-link{font-size:.95rem}
  .wv-panel[data-water-panel="today"] .wv-quick-stock{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible;padding:0}
  .wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item{min-height:188px;padding:16px 15px 14px}
  .wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-count strong{font-size:3.2rem}
}
@media(max-width:560px){
  .wv-quick-stock-card .wv-card-head{flex-direction:column;align-items:flex-start}
  .wv-quick-stock-card .wv-link{margin-left:66px}
  .wv-panel[data-water-panel="today"] .wv-quick-stock{grid-template-columns:1fr}
  .wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item{min-height:auto}
}
@media(max-width:430px){
  .wv-quick-stock-card{padding:16px 14px 15px}
  .wv-quick-stock-card .wv-card-head-title{gap:12px}
  .wv-quick-stock-card .wv-card-head-icon.stock{width:46px;height:46px;flex-basis:46px}
  .wv-quick-stock-card .wv-card-head-title h2{font-size:1.55rem;white-space:normal}
  .wv-quick-stock-card .wv-link{margin-left:58px;font-size:.92rem}
  .wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item{gap:12px;padding:15px 14px 14px;border-radius:16px}
  .wv-quick-stock-brand{font-size:.78rem}
  .wv-quick-stock-name{font-size:.98rem}
  .wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-count strong{font-size:2.95rem}
  .wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-count span{font-size:.95rem}
  .wv-quick-stock-badge{font-size:.9rem;padding:0 12px}
}


/* v25.10.31 — Status do Caixa + Visão geral do Movimento de hoje */
.wv-panel[data-water-panel="today"] .wv-cash-strip{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  min-height:82px;margin-bottom:14px;padding:13px 16px;
  border:1px solid #d9e6ef;border-radius:17px;background:#fff;
  box-shadow:0 8px 24px rgba(19,63,101,.04)
}
.wv-panel[data-water-panel="today"] .wv-cash-strip>.wv-cash-state{
  display:grid;grid-template-columns:52px auto minmax(220px,1fr);align-items:center;
  gap:14px;flex:1;min-width:0
}
.wv-panel[data-water-panel="today"] .wv-cash-state-icon{
  width:52px;height:52px;flex-basis:52px
}
.wv-panel[data-water-panel="today"] .wv-cash-state-icon .wv-media-icon.status{width:52px;height:52px}
.wv-panel[data-water-panel="today"] .wv-cash-state-title{display:grid;gap:5px;min-width:150px}
.wv-panel[data-water-panel="today"] .wv-cash-state-title small{
  margin:0;color:#5c7590;font-size:.78rem;font-weight:800;line-height:1.1
}
.wv-cash-status-badge{
  display:inline-flex!important;align-items:center;gap:8px;justify-self:start;
  width:max-content;max-width:100%;min-height:32px;margin:0!important;padding:0 11px;
  border:1px solid transparent;border-radius:999px;font-size:.93rem!important;
  font-weight:850!important;line-height:1!important;white-space:nowrap
}
.wv-cash-status-badge i{width:8px;height:8px;border-radius:50%;flex:0 0 8px}
.wv-cash-status-badge.open{background:#edf9f4;border-color:#d8efe4;color:#176947!important}
.wv-cash-status-badge.open i{background:#29b96f;box-shadow:0 0 0 3px rgba(41,185,111,.10)}
.wv-cash-status-badge.closed{background:#f1f5f8;border-color:#e0e8ee;color:#5b7084!important}
.wv-cash-status-badge.closed i{background:#91a1af}
.wv-panel[data-water-panel="today"] .wv-cash-strip p{
  min-width:0;margin:0;padding-left:16px;border-left:1px solid #e1eaf1;
  color:#667c93;font-size:.88rem;line-height:1.35
}
.wv-panel[data-water-panel="today"] .wv-cash-strip p b{color:#355572;font-weight:850}
.wv-panel[data-water-panel="today"] .wv-cash-strip>.wv-primary,
.wv-panel[data-water-panel="today"] .wv-cash-strip>.wv-secondary{
  flex:0 0 auto;min-height:44px;padding:0 17px;border-radius:11px;font-size:.88rem
}

/* Família 1: visão geral do dia */
.wv-panel[data-water-panel="today"]>.wv-kpis{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:11px
}
.wv-panel[data-water-panel="today"]>.wv-kpis article{
  position:relative;display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;
  gap:13px;min-width:0;min-height:116px;padding:17px 18px;
  border:1px solid #d8e6f1;border-radius:17px;background:#fff;
  box-shadow:0 7px 22px rgba(21,64,104,.035);overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease
}
.wv-panel[data-water-panel="today"]>.wv-kpis article.sales{background:linear-gradient(180deg,#fff 0%,#f5f9ff 100%);border-color:#d6e5f4}
.wv-panel[data-water-panel="today"]>.wv-kpis article.received{background:linear-gradient(180deg,#fbfffd 0%,#eef9f4 100%);border-color:#cfe9dc;box-shadow:0 8px 24px rgba(31,116,81,.055)}
.wv-panel[data-water-panel="today"]>.wv-kpis article.chances{background:linear-gradient(180deg,#fffef9 0%,#fff8e7 100%);border-color:#eddfb8}
.wv-panel[data-water-panel="today"]>.wv-kpis article::after{display:none}
.wv-panel[data-water-panel="today"] .wv-kpi-icon{
  display:grid;place-items:center;width:50px;height:50px;flex-basis:50px;padding:5px!important;
  border-radius:14px!important;box-shadow:none!important
}
.wv-panel[data-water-panel="today"] .wv-kpis article.sales .wv-kpi-icon{background:#eaf4ff!important}
.wv-panel[data-water-panel="today"] .wv-kpis article.received .wv-kpi-icon{background:#e9f8f0!important}
.wv-panel[data-water-panel="today"] .wv-kpis article.chances .wv-kpi-icon{background:#fff4d7!important}
.wv-panel[data-water-panel="today"] .wv-kpi-icon .wv-media-icon{width:100%;height:100%}
.wv-panel[data-water-panel="today"]>.wv-kpis article>div{display:grid;align-content:center;min-width:0;z-index:1}
.wv-panel[data-water-panel="today"] .wv-kpis small{
  margin:0;color:#355677;font-size:.82rem;line-height:1.15;font-weight:850;letter-spacing:0;text-transform:none
}
.wv-panel[data-water-panel="today"] .wv-kpis strong{
  display:block;margin:5px 0 0;color:#0b2f67;font-size:2.35rem;line-height:.98;font-weight:900;letter-spacing:-.035em;white-space:nowrap
}
.wv-panel[data-water-panel="today"] .wv-kpis article.received strong{font-size:2.5rem;color:#0d5d49}
.wv-panel[data-water-panel="today"] .wv-kpis em{
  display:block;margin-top:5px;color:#71859a;font-size:.76rem;line-height:1.15;font-style:normal;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.wv-panel[data-water-panel="today"]>.wv-kpis article:hover{border-color:#c4d9e9;box-shadow:0 9px 24px rgba(21,64,104,.05)}

/* Família 2: distribuição dos recebimentos */
.wv-panel[data-water-panel="today"]>.wv-payment-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:16px
}
.wv-panel[data-water-panel="today"] .wv-payment-grid article{
  position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;
  justify-content:stretch;gap:11px;min-width:0;min-height:72px;padding:11px 14px;
  border-radius:15px;box-shadow:0 6px 18px rgba(24,72,113,.025);overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease
}
.wv-panel[data-water-panel="today"] .wv-payment-grid article.cash{border:1px solid #d1eadf;background:linear-gradient(180deg,#fbfffd,#eef9f4);color:#176a50}
.wv-panel[data-water-panel="today"] .wv-payment-grid article.pix{border:1px solid #d5e6f6;background:linear-gradient(180deg,#fcfeff,#eef7ff);color:#155f9e}
.wv-panel[data-water-panel="today"] .wv-payment-grid article.card{border:1px solid #ded8f3;background:linear-gradient(180deg,#fefeff,#f5f2ff);color:#5d4aa4}
.wv-panel[data-water-panel="today"] .wv-payment-grid article::after{display:none}
.wv-panel[data-water-panel="today"] .wv-pay-icon{
  display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;padding:4px!important;border-radius:12px!important;box-shadow:none!important
}
.wv-panel[data-water-panel="today"] .wv-payment-grid article.cash .wv-pay-icon{background:#e3f6ec!important}
.wv-panel[data-water-panel="today"] .wv-payment-grid article.pix .wv-pay-icon{background:#e4f1ff!important}
.wv-panel[data-water-panel="today"] .wv-payment-grid article.card .wv-pay-icon{background:#ece7ff!important}
.wv-panel[data-water-panel="today"] .wv-pay-icon .wv-media-icon{width:100%;height:100%}
.wv-panel[data-water-panel="today"] .wv-payment-grid article>div{display:grid;gap:3px;min-width:0}
.wv-panel[data-water-panel="today"] .wv-payment-grid small{margin:0;font-size:.8rem;line-height:1.1;font-weight:850;letter-spacing:0;text-transform:none;opacity:1}
.wv-panel[data-water-panel="today"] .wv-payment-grid strong{font-size:1.55rem;line-height:1.05;font-weight:850;letter-spacing:-.025em;color:inherit;white-space:nowrap}
.wv-panel[data-water-panel="today"] .wv-payment-grid article:hover{box-shadow:0 8px 22px rgba(21,64,104,.045)}

/* Estoque rápido: sem linha divisória e badges com ícones circulares próprios */
.wv-quick-stock-divider{display:none!important}
.wv-panel[data-water-panel="today"] .wv-quick-stock .wv-quick-stock-item{grid-template-rows:auto auto auto}
.wv-quick-stock-badge svg{width:18px;height:18px;flex:0 0 18px;stroke-width:1.9}
.wv-quick-stock-badge.low svg{color:#b96a00}
.wv-quick-stock-badge.normal svg{color:#1768c7}

@media(max-width:900px){
  .wv-panel[data-water-panel="today"] .wv-cash-strip{align-items:stretch;flex-direction:column}
  .wv-panel[data-water-panel="today"] .wv-cash-strip>.wv-cash-state{grid-template-columns:52px minmax(0,1fr)}
  .wv-panel[data-water-panel="today"] .wv-cash-strip p{grid-column:1/-1;padding:10px 0 0;border-top:1px solid #e4ecf2;border-left:0}
  .wv-panel[data-water-panel="today"] .wv-cash-strip>button{width:100%}
  .wv-panel[data-water-panel="today"]>.wv-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .wv-panel[data-water-panel="today"]>.wv-kpis article:last-child{grid-column:1/-1}
  .wv-panel[data-water-panel="today"]>.wv-payment-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow:visible!important;padding-bottom:0;scroll-snap-type:none}
  .wv-panel[data-water-panel="today"]>.wv-payment-grid>*{min-width:0;flex-shrink:1!important}
}
@media(max-width:720px){
  .wv-panel[data-water-panel="today"]>.wv-kpis article{min-height:108px;padding:15px}
  .wv-panel[data-water-panel="today"] .wv-kpis strong{font-size:2rem}
  .wv-panel[data-water-panel="today"] .wv-kpis article.received strong{font-size:2.08rem}
  .wv-panel[data-water-panel="today"]>.wv-payment-grid{grid-template-columns:1fr!important}
  .wv-panel[data-water-panel="today"] .wv-payment-grid article{min-height:68px;grid-template-columns:40px minmax(0,1fr)}
}
@media(max-width:560px){
  .wv-panel[data-water-panel="today"]>.wv-kpis{grid-template-columns:1fr!important}
  .wv-panel[data-water-panel="today"]>.wv-kpis article:last-child{grid-column:auto}
  .wv-panel[data-water-panel="today"]>.wv-kpis article{grid-template-columns:46px minmax(0,1fr);min-height:100px}
  .wv-panel[data-water-panel="today"] .wv-kpi-icon{width:46px;height:46px;flex-basis:46px}
  .wv-panel[data-water-panel="today"] .wv-kpis strong,.wv-panel[data-water-panel="today"] .wv-kpis article.received strong{font-size:1.9rem}
}


/* v25.10.32b — overrides finais para remover fundo extra dos ícones e centralizar badges */
.wv-panel[data-water-panel="today"] .wv-kpis article .wv-kpi-icon,
.wv-panel[data-water-panel="today"] .wv-payment-grid article .wv-pay-icon,
.wv-panel[data-water-panel="today"] .wv-cash-state-icon,
.wv-quick-stock-card .wv-card-head-icon.stock{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.wv-panel[data-water-panel="today"] .wv-kpis article .wv-kpi-icon,
.wv-panel[data-water-panel="today"] .wv-cash-state-icon{width:52px!important;height:52px!important;flex-basis:52px!important}
.wv-panel[data-water-panel="today"] .wv-payment-grid article .wv-pay-icon{width:42px!important;height:42px!important;flex-basis:42px!important}
.wv-quick-stock-card .wv-card-head-icon.stock{width:56px!important;height:56px!important;flex-basis:56px!important}
.wv-panel[data-water-panel="today"] .wv-kpi-icon .wv-media-icon,
.wv-panel[data-water-panel="today"] .wv-pay-icon .wv-media-icon,
.wv-panel[data-water-panel="today"] .wv-cash-state-icon .wv-media-icon.status,
.wv-quick-stock-card .wv-card-head-icon.stock .wv-media-icon{width:100%!important;height:100%!important;display:block}
.wv-panel[data-water-panel="today"] .wv-kpi-icon .wv-media-icon img,
.wv-panel[data-water-panel="today"] .wv-pay-icon .wv-media-icon img,
.wv-panel[data-water-panel="today"] .wv-cash-state-icon .wv-media-icon.status img,
.wv-quick-stock-card .wv-card-head-icon.stock .wv-media-icon img{width:100%!important;height:100%!important;display:block;object-fit:contain}
.wv-quick-stock-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:40px!important;
  padding:0 14px 0 12px!important;
  line-height:1!important;
}
.wv-quick-stock-badge svg{
  display:block!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  vertical-align:middle!important;
}
.wv-quick-stock-badge em{
  display:block!important;
  margin:0!important;
  line-height:1!important;
  transform:none!important;
}
@media(max-width:430px){
  .wv-quick-stock-card .wv-card-head-icon.stock{width:50px!important;height:50px!important;flex-basis:50px!important}
}


/* v25.10.33 — refinamento do status do caixa + ajustes finos de ícones/estoque */
.wv-panel[data-water-panel="today"] .wv-cash-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:92px;padding:16px 18px;border-radius:18px}
.wv-panel[data-water-panel="today"] .wv-cash-strip>.wv-cash-state{grid-template-columns:52px minmax(180px,.9fr) minmax(260px,1fr);gap:16px;align-items:center;flex:1}
.wv-panel[data-water-panel="today"] .wv-cash-state-title{gap:4px}
.wv-panel[data-water-panel="today"] .wv-cash-state-title small{font-size:13px;letter-spacing:.02em}
.wv-panel[data-water-panel="today"] .wv-cash-state-title strong{font-size:22px;line-height:1.05}
.wv-panel[data-water-panel="today"] .wv-cash-strip p{display:flex;align-items:center;min-height:48px;margin:0;padding-left:18px;border-left:1px solid #dce7ef;font-size:14px;line-height:1.35;color:#5a7391}
.wv-panel[data-water-panel="today"] .wv-cash-strip-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.wv-panel[data-water-panel="today"] .wv-cash-history-button{min-height:46px;padding:0 16px;border-color:#b8d7e8;background:rgba(255,255,255,.92);color:#0a4f8e;font-size:15px;box-shadow:0 8px 22px rgba(20,64,104,.06);backdrop-filter:blur(8px)}
.wv-panel[data-water-panel="today"] .wv-cash-history-button svg{width:18px;height:18px}
.wv-panel[data-water-panel="today"] .wv-cash-strip .wv-secondary:not(.wv-cash-history-button),
.wv-panel[data-water-panel="today"] .wv-cash-strip .wv-primary{min-height:46px;padding:0 18px;border-radius:12px;font-size:15px}
.wv-panel[data-water-panel="today"] .wv-quick-stock-name{font-size:1.16rem;line-height:1.22}
/* eliminar sensação de fundo extra dos ícones, fazendo o asset preencher melhor sua área */
.wv-panel[data-water-panel="today"] .wv-kpi-icon,
.wv-panel[data-water-panel="today"] .wv-pay-icon,
.wv-panel[data-water-panel="today"] .wv-cash-state-icon,
.wv-quick-stock-card .wv-card-head-icon.stock{overflow:hidden!important}
.wv-panel[data-water-panel="today"] .wv-kpi-icon .wv-media-icon img,
.wv-panel[data-water-panel="today"] .wv-pay-icon .wv-media-icon img,
.wv-panel[data-water-panel="today"] .wv-cash-state-icon .wv-media-icon.status img,
.wv-quick-stock-card .wv-card-head-icon.stock .wv-media-icon img{transform:scale(1.08);transform-origin:center center}
@media(max-width:980px){
  .wv-panel[data-water-panel="today"] .wv-cash-strip{align-items:stretch;flex-direction:column}
  .wv-panel[data-water-panel="today"] .wv-cash-strip>.wv-cash-state{grid-template-columns:52px minmax(0,1fr)}
  .wv-panel[data-water-panel="today"] .wv-cash-strip p{grid-column:1/-1;min-height:0;padding:10px 0 0;border-left:0;border-top:1px solid #e1ebf2}
  .wv-panel[data-water-panel="today"] .wv-cash-strip-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}
}
@media(max-width:760px){
  .wv-panel[data-water-panel="today"] .wv-cash-strip-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .wv-panel[data-water-panel="today"] .wv-cash-strip-actions>button{width:100%}
  .wv-panel[data-water-panel="today"] .wv-quick-stock-name{font-size:1.1rem}
}


/* v25.10.34 — marcador de build para invalidação integral do cache do Caixa. */


/* v25.10.35 — refino do card de caixa */
.wv-panel[data-water-panel="today"] .wv-cash-state-icon{
  width:56px!important;height:56px!important;flex-basis:56px!important;overflow:hidden!important
}
.wv-panel[data-water-panel="today"] .wv-cash-state-icon .wv-media-icon.status{
  width:56px!important;height:56px!important
}
.wv-panel[data-water-panel="today"] .wv-cash-state-title{
  display:flex!important;align-items:center!important;min-width:190px;min-height:56px;gap:0!important
}
.wv-panel[data-water-panel="today"] .wv-cash-state-title small{display:none!important}
.wv-panel[data-water-panel="today"] .wv-cash-status-badge{
  min-height:46px!important;padding:0 16px!important;
  font-family:"Nunito",sans-serif!important;font-size:1.55rem!important;font-weight:900!important;
  line-height:1!important;letter-spacing:-.025em;align-items:center!important
}
.wv-panel[data-water-panel="today"] .wv-cash-status-badge i{
  width:9px;height:9px;flex:0 0 9px
}
.wv-panel[data-water-panel="today"] .wv-cash-strip p{
  display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap
}
.wv-panel[data-water-panel="today"] .wv-cash-strip p span,
.wv-panel[data-water-panel="today"] .wv-cash-strip p b{display:inline-block}
@media(max-width:980px){
  .wv-panel[data-water-panel="today"] .wv-cash-state-title{min-width:0;min-height:52px}
  .wv-panel[data-water-panel="today"] .wv-cash-status-badge{font-size:1.4rem!important;min-height:44px!important}
}
@media(max-width:430px){
  .wv-panel[data-water-panel="today"] .wv-cash-state-icon,
  .wv-panel[data-water-panel="today"] .wv-cash-state-icon .wv-media-icon.status{width:52px!important;height:52px!important;flex-basis:52px!important}
  .wv-panel[data-water-panel="today"] .wv-cash-status-badge{font-size:1.25rem!important;padding:0 13px!important}
}


/* v25.10.36 — KPIs sem microtexto */
.wv-panel[data-water-panel="today"]>.wv-kpis article>div{
  gap:7px;
}
.wv-panel[data-water-panel="today"] .wv-kpis strong{
  margin-top:0;
}


/* v25.10.37 — correção consolidada do peso tipográfico dos botões do card do caixa */
.wv-panel[data-water-panel="today"] .wv-cash-strip-actions .wv-cash-history-button,
.wv-panel[data-water-panel="today"] .wv-cash-strip-actions [data-close-cash]{
  font-family:"Nunito",sans-serif!important;
  font-weight:600!important;
  letter-spacing:0!important;
}

/* v25.10.38 — polimento de Últimos registros + exclusão dentro da edição */
.wv-recent-card{
  overflow:hidden;
}
.wv-recent-card .wv-card-head{
  align-items:center;
  gap:18px;
  margin-bottom:18px;
}
.wv-recent-card .wv-card-head-title{
  align-items:center;
  gap:14px;
}
.wv-recent-card .wv-card-head-title h2{
  margin:0;
  color:#133f6f;
  font-size:1.95rem;
  line-height:1.02;
  font-weight:900;
  white-space:nowrap;
  letter-spacing:-.02em;
}
.wv-recent-card .wv-card-head-icon.records{
  display:grid;
  place-items:center;
  flex:0 0 56px;
  width:56px!important;
  height:56px!important;
  border-radius:16px;
  background:linear-gradient(180deg,#fff6ee 0%,#fff1e6 100%);
  border:1px solid #f2d0bc;
  color:#ff6e32;
  overflow:hidden!important;
}
.wv-recent-card .wv-card-head-icon.records .wv-media-icon,
.wv-recent-card .wv-card-head-icon.records .wv-media-icon img{
  width:100%!important;
  height:100%!important;
  display:block;
  object-fit:contain;
}
.wv-recent-card .wv-card-head-icon.records .wv-media-icon img{
  transform:scale(1.05);
  transform-origin:center center;
  filter:drop-shadow(0 4px 8px rgba(255,110,50,.10));
}
.wv-recent-card .wv-link{
  font-size:1rem;
  font-weight:800;
}
.wv-recent-head,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
  display:grid;
  grid-template-columns:170px 130px minmax(210px,1.1fr) minmax(255px,1.45fr) 146px 126px 170px 128px;
  gap:0;
  align-items:stretch;
  min-width:1335px;
}
.wv-recent-head{
  padding:0;
  border:1px solid #dce8f0;
  border-bottom:0;
  border-radius:14px 14px 0 0;
  background:#f6f9fc;
  color:#68809a;
  font-size:13px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.wv-recent-head>span,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>*{
  min-width:0;
  padding:14px 18px;
  border-right:1px solid #e3edf4;
}
.wv-recent-head>span:last-child,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>*:last-child{
  border-right:0;
}
.wv-recent-card .wv-responsive-list{
  overflow-x:auto;
  border:1px solid #dce8f0;
  border-top:0;
  border-radius:0 0 14px 14px;
  background:#fff;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
  min-width:1335px;
  padding:0;
  border-top:1px solid #e6eef4;
  background:#fff;
  transition:background-color .18s ease;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row:first-child{
  border-top:0;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row:hover{
  background:#fbfdff;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row time,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-list-turn,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-list-payment,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>b,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-list-responsible,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-row-actions,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-readonly{
  display:flex;
  align-items:center;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row time{
  gap:8px;
  font-size:15px;
  line-height:1.35;
  color:#456685;
  font-weight:700;
}
.wv-turn-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
.wv-turn-badge svg{width:18px;height:18px;stroke-width:2;fill:none}
.wv-turn-badge em{font-style:normal}
.wv-turn-badge.morning{background:#eef7ff;border-color:#d6e7fb;color:#1d62cf}
.wv-turn-badge.afternoon{background:#fff6e8;border-color:#f3e2b9;color:#b66c03}
.wv-turn-badge.night{background:#f0ebff;border-color:#ddd4fb;color:#6545d1}
.wv-turn-badge.unknown{background:#f1f5f8;border-color:#dbe6ee;color:#55718c}
.wv-list-customer,.wv-list-items{
  display:grid;
  align-content:center;
  min-width:0;
}
.wv-list-customer strong,
.wv-list-items strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:15px!important;
  line-height:1.3;
  color:#143a67;
}
.wv-list-items small{
  margin-top:5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px!important;
  line-height:1.3;
  color:#6a8198;
}
.wv-payment-icon-group{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
}
.wv-payment-icon-group.empty{
  justify-content:center;
  color:#8aa0b2;
  font-size:16px;
  font-weight:700;
}
.wv-payment-icon-chip{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid transparent;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}
.wv-payment-icon-chip .wv-media-icon,
.wv-payment-icon-chip .wv-media-icon img{
  width:100%!important;
  height:100%!important;
  display:block;
  object-fit:contain;
}
.wv-payment-icon-chip .wv-media-icon img{
  transform:scale(1.02);
  transform-origin:center center;
}
.wv-payment-icon-chip.cash{background:linear-gradient(180deg,#effcf7 0%,#e8f8f1 100%);border-color:#cfeee1}
.wv-payment-icon-chip.pix{background:linear-gradient(180deg,#eff8ff 0%,#e6f3ff 100%);border-color:#d0e5f8}
.wv-payment-icon-chip.card{background:linear-gradient(180deg,#f5f1ff 0%,#efe9ff 100%);border-color:#dfd3fa}
.wv-payment-icon-chip.neutral{background:linear-gradient(180deg,#f4f8fb 0%,#edf3f7 100%);border-color:#dbe5ec}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>b{
  justify-content:flex-start;
  font-size:16px;
  line-height:1.2;
  color:#123965;
  font-weight:900;
  text-align:left;
}
.wv-list-responsible{
  font-size:14px!important;
  line-height:1.3;
  color:#52708c!important;
  font-weight:700;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions{
  justify-content:center;
  gap:0;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button{
  min-height:44px;
  min-width:110px;
  justify-content:center;
  padding:0 14px;
  border:1px solid #d6e5f4;
  border-radius:13px;
  background:#fff;
  color:#0b6ee0;
  font-size:14px;
  font-weight:800;
  box-shadow:none;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button svg{
  width:18px;
  height:18px;
}
.wv-recent-card .wv-readonly{
  justify-content:center;
  color:#7890a4;
  font-size:13px;
  font-weight:700;
}
.wv-edit-sale-actions{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.wv-edit-sale-actions>button{
  flex:1;
  min-height:46px;
  border-radius:12px;
}
@media(max-width:1360px){
  .wv-recent-head,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    min-width:1260px;
    grid-template-columns:158px 122px minmax(190px,1fr) minmax(235px,1.3fr) 136px 120px 160px 120px;
  }
}
@media(max-width:720px){
  .wv-recent-card .wv-card-head{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:16px}
  .wv-recent-card .wv-card-head-title{gap:12px}
  .wv-recent-card .wv-card-head-icon.records{width:46px!important;height:46px!important;flex-basis:46px!important}
  .wv-recent-card .wv-card-head-title h2{font-size:1.55rem;white-space:normal}
  .wv-recent-head{display:none}
  .wv-recent-card .wv-responsive-list{overflow:visible;border:0;background:transparent}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    min-width:0;
    grid-template-columns:1fr auto;
    gap:8px 12px;
    margin-top:10px;
    padding:14px;
    border:1px solid #dce7ef;
    border-radius:14px;
    background:#fff;
    box-shadow:0 5px 14px rgba(18,61,100,.035);
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row:first-child{margin-top:0;border-top:1px solid #dce7ef}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>*{padding:0;border-right:0}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row time{grid-column:1;grid-row:1;font-size:14px;font-weight:800}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-list-turn{grid-column:2;grid-row:1;justify-content:flex-end}
  .wv-list-customer{grid-column:1/-1!important}
  .wv-list-customer strong{font-size:15px!important;white-space:normal}
  .wv-list-items{grid-column:1/-1!important}
  .wv-list-items strong{font-size:14px!important;white-space:normal}
  .wv-list-items small{white-space:normal}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-list-payment{grid-column:1;grid-row:auto;justify-content:flex-start}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>b{grid-column:2;justify-content:flex-end;font-size:18px;text-align:right}
  .wv-list-responsible{grid-column:1/-1!important}
  .wv-list-responsible::before{content:"Registrado por ";font-weight:500;color:#708399}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions,
  .wv-recent-card .wv-readonly{grid-column:1/-1!important;justify-content:flex-start;margin-top:4px}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button{min-height:40px;font-size:14px}
  .wv-edit-sale-actions{display:grid;grid-template-columns:1fr 1fr}
}

/* v25.10.39 — Últimos registros compacto + turnos por asset + auditoria administrativa */
.wv-recent-card .wv-card-head-icon.records{
  width:56px!important;
  height:56px!important;
  flex-basis:56px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.wv-recent-card .wv-card-head-icon.records .wv-media-icon,
.wv-recent-card .wv-card-head-icon.records .wv-media-icon img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:contain!important;
}
.wv-recent-card .wv-card-head-icon.records .wv-media-icon img{
  transform:none!important;
  filter:none!important;
}
.wv-recent-head,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
  grid-template-columns:150px 70px minmax(150px,.95fr) minmax(210px,1.35fr) 126px 120px 112px!important;
  min-width:0!important;
  width:100%;
}
.wv-recent-card .wv-responsive-list{
  overflow-x:visible!important;
}
.wv-recent-head>span,
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>*{
  padding:13px 14px;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-list-turn{
  display:flex;
  align-items:center;
  justify-content:center;
}
.wv-turn-icon{
  display:block;
  width:46px;
  height:46px;
  flex:0 0 46px;
  overflow:hidden;
  line-height:0;
}
.wv-turn-icon .wv-media-icon,
.wv-turn-icon .wv-media-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.wv-turn-icon .wv-media-icon img{
  transform:none!important;
  filter:none!important;
}
.wv-payment-icon-group{
  gap:6px!important;
}
.wv-payment-icon-chip{
  width:42px!important;
  height:42px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden;
}
.wv-payment-icon-chip.cash,
.wv-payment-icon-chip.pix,
.wv-payment-icon-chip.card,
.wv-payment-icon-chip.neutral{
  border:0!important;
  background:transparent!important;
}
.wv-payment-icon-chip .wv-media-icon,
.wv-payment-icon-chip .wv-media-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.wv-payment-icon-chip .wv-media-icon img{
  transform:none!important;
  filter:none!important;
}
.wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button{
  min-width:96px;
}
.wv-sale-heading-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  flex-wrap:wrap;
}
.wv-sale-heading-actions .wv-sale-audit-button{
  min-height:46px;
  padding:0 16px;
  border-color:#c6dceb;
  background:rgba(255,255,255,.9);
  color:#315d7f;
  font-size:15px;
  font-weight:700;
  box-shadow:0 8px 22px rgba(20,64,104,.045);
}
.wv-sale-heading-actions .wv-sale-audit-button svg{
  width:18px;
  height:18px;
}
.wv-sale-audit-content{
  display:grid;
  gap:10px;
}
.wv-sale-audit-content article{
  display:grid;
  gap:4px;
  padding:14px 15px;
  border:1px solid #dce8ef;
  border-radius:13px;
  background:#f9fcfe;
}
.wv-sale-audit-content article.muted{
  background:#fbfcfd;
}
.wv-sale-audit-content small{
  color:#6e8498;
  font-size:12px;
  font-weight:850;
  letter-spacing:.06em;
}
.wv-sale-audit-content strong{
  color:#153b68;
  font-size:17px;
  line-height:1.25;
}
.wv-sale-audit-content span{
  color:#6d8296;
  font-size:13px;
  line-height:1.35;
}
@media(max-width:1180px) and (min-width:721px){
  .wv-recent-head,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    grid-template-columns:138px 62px minmax(132px,.9fr) minmax(188px,1.2fr) 118px 110px 102px!important;
  }
  .wv-recent-head>span,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>*{
    padding-inline:10px;
  }
  .wv-turn-icon{width:42px;height:42px;flex-basis:42px}
  .wv-payment-icon-chip{width:38px!important;height:38px!important}
}
@media(max-width:720px){
  .wv-recent-card .wv-card-head-icon.records{width:46px!important;height:46px!important;flex-basis:46px!important}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    grid-template-columns:1fr auto!important;
    width:auto;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row .wv-list-turn{
    grid-column:2;
    grid-row:1;
    justify-content:flex-end;
  }
  .wv-turn-icon{width:42px;height:42px;flex-basis:42px}
  .wv-sale-heading-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  .wv-sale-heading-actions>button{width:100%}
}

/* v25.10.40 — Últimos registros: borda inferior, cabeçalho centralizado e tipografia ampliada sem alterar altura das linhas */
@media(min-width:721px){
  .wv-recent-card .wv-responsive-list{
    overflow:hidden!important;
    border:1px solid #dce8f0!important;
    border-top:0!important;
    border-radius:0 0 14px 14px!important;
    background:#fff;
  }
  .wv-recent-card .wv-responsive-list .wv-list-row:last-child{
    border-radius:0 0 13px 13px;
  }
  .wv-recent-head{
    min-height:44px;
    font-size:26px!important;
    line-height:1!important;
  }
  .wv-recent-head>span{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0 8px!important;
    line-height:1!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    box-sizing:border-box;
    overflow:hidden;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>*{
    box-sizing:border-box;
    min-height:0;
    max-height:67px;
    padding:4px 10px!important;
    overflow:hidden;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row time{
    font-size:30px!important;
    line-height:1!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-customer,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items{
    gap:0!important;
    align-content:center;
    overflow:hidden;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-customer strong,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items strong{
    display:block;
    width:100%;
    font-size:30px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items small{
    display:block;
    width:100%;
    margin-top:2px!important;
    font-size:26px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>b{
    font-size:32px!important;
    line-height:1!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button{
    min-width:0!important;
    width:100%;
    min-height:44px;
    padding:0 8px!important;
    font-size:28px!important;
    line-height:1!important;
    gap:4px;
    overflow:hidden;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button svg{
    flex:0 0 18px;
    width:18px;
    height:18px;
  }
  .wv-recent-head,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    grid-template-columns:145px 64px minmax(145px,.9fr) minmax(205px,1.28fr) 120px 132px 142px!important;
  }
}

/* v25.10.41 — Últimos registros: tipografia intermediária e cabeçalhos protegidos */
@media(min-width:721px){
  .wv-recent-head{
    min-height:48px!important;
    font-size:17px!important;
    line-height:1.08!important;
  }
  .wv-recent-head>span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    padding:4px 8px!important;
    line-height:1.08!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>*{
    max-height:67px!important;
    padding:4px 10px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row time{
    font-size:19px!important;
    line-height:1.05!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-customer strong,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items strong{
    font-size:19px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items small{
    margin-top:3px!important;
    font-size:16px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>b{
    font-size:21px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button{
    font-size:17px!important;
    line-height:1!important;
  }
}
@media(max-width:1180px) and (min-width:721px){
  .wv-recent-head{font-size:15px!important}
  .wv-recent-head>span{padding-inline:6px!important}
}


/* v25.10.42 — Últimos registros: ação compacta por ícone e espaço devolvido à data/hora */
@media(min-width:721px){
  .wv-recent-head,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    grid-template-columns:185px 64px minmax(140px,.88fr) minmax(205px,1.28fr) 120px 128px 64px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row time{
    font-size:17px!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-customer strong,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items strong{
    font-size:17px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items small{
    font-size:15px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>b{
    font-size:19px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions{
    justify-content:center!important;
    padding-left:6px!important;
    padding-right:6px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button{
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:11px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions button svg{
    width:20px!important;
    height:20px!important;
    margin:0!important;
  }
}
@media(max-width:1180px) and (min-width:721px){
  .wv-recent-head,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    grid-template-columns:176px 60px minmax(128px,.82fr) minmax(184px,1.15fr) 112px 118px 58px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row time{font-size:16px!important}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-customer strong,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items strong{font-size:16px!important}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items small{font-size:14px!important}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>b{font-size:17px!important}
}

/* v25.10.43 — Últimos registros: redistribuição de colunas e respiro lateral */
@media(min-width:721px){
  .wv-recent-head,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    grid-template-columns:180px 78px minmax(135px,.85fr) minmax(155px,1fr) 154px 128px 76px!important;
  }
  .wv-recent-head>span,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row>*{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-turn,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-payment,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items{
    align-content:center!important;
    overflow:hidden!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:16px!important;
    line-height:1.04!important;
    max-height:33px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items small{
    display:block!important;
    margin-top:2px!important;
    font-size:13px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-payment-icon-group{
    justify-content:center!important;
    gap:6px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions{
    justify-content:center!important;
  }
}
@media(max-width:1180px) and (min-width:721px){
  .wv-recent-head,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-row{
    grid-template-columns:168px 74px minmax(116px,.8fr) minmax(145px,.95fr) 148px 118px 72px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-turn,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-payment,
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-row-actions{
    padding-left:9px!important;
    padding-right:9px!important;
  }
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items strong{font-size:15px!important}
  .wv-panel[data-water-panel="today"] .wv-recent-card .wv-list-items small{font-size:12.5px!important}
}


/* v25.10.45 — Tabela de valores: novos ícones de regiões + tipografia refinada */
.wv-price-region-icon{
  width:56px;
  height:56px;
  padding:0;
  border:0;
  border-radius:14px;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.wv-price-region-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.wv-price-region-card.active .wv-price-region-icon{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}
.wv-price-region-copy strong{
  font-size:15px;
  line-height:1.24;
}
.wv-price-region-copy small{
  font-size:13px;
}
.wv-price-region-panel-head h3{
  font-size:24px;
}
.wv-price-region-panel-head p{
  font-size:15px;
}
.wv-price-group-title h4{
  font-size:18px;
}
.wv-price-product-group>p{
  font-size:14px;
}
.wv-price-consult-row,
.wv-price-edit-row{
  min-height:64px;
}
.wv-price-consult-name>strong{
  font-size:16px;
  line-height:1.32;
}
.wv-price-consult-name>small{
  font-size:14px;
  line-height:1.3;
}
.wv-price-consult-values small{
  font-size:13px;
}
.wv-price-consult-values b{
  font-size:18px;
}
.wv-price-edit-row>label small{
  font-size:13px;
}
.wv-price-edit-row>label input{
  font-size:14px;
}
.wv-price-save{
  font-size:14px;
}
.wv-price-admin-more>div button{
  font-size:14px;
}
@media(max-width:900px){
  .wv-price-region-icon{width:50px;height:50px}
  .wv-price-region-copy strong{font-size:14px}
  .wv-price-region-copy small{font-size:12px}
  .wv-price-consult-name>strong{font-size:15px}
  .wv-price-consult-name>small{font-size:13px}
  .wv-price-consult-values b{font-size:17px}
}
@media(max-width:620px){
  .wv-price-region-icon{width:46px;height:46px}
  .wv-price-region-panel-head h3{font-size:22px}
  .wv-price-group-title h4{font-size:17px}
  .wv-price-consult-name>strong{font-size:14px}
  .wv-price-consult-name>small{font-size:12px}
}

/* v25.10.47 — Venda em rota + ícones regionais sem fundo residual */
.wv-route-sale{
  display:flex!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:flex-start;
  gap:10px!important;
  margin:10px 0 0;
  padding:11px 12px;
  border:1px solid #e6d7aa;
  border-radius:11px;
  background:#fffaf0;
  color:#684d10!important;
  cursor:pointer;
}
.wv-route-sale[hidden]{display:none!important}
.wv-route-sale input{
  width:18px!important;
  height:18px!important;
  margin:1px 0 0!important;
  padding:0!important;
  accent-color:#0a78cf;
}
.wv-route-sale span{display:grid;gap:1px;min-width:0}
.wv-route-sale strong{font-size:14px;line-height:1.2;color:#684d10}
.wv-route-sale small{font-size:12px;line-height:1.3;color:#866b2d}
.wv-route-sale:has(input:checked){border-color:#a9d4ee;background:#f2f9fe}
.wv-route-sale:has(input:checked) strong{color:#0a558c}
.wv-route-sale:has(input:checked) small{color:#547991}

.wv-price-region-icon,
.wv-price-region-card.active .wv-price-region-icon{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.wv-price-region-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
}


/* v25.10.48 — Tabela de valores: tipografia ampliada e cabeçalho mais limpo */
.wv-prices-title{display:grid;align-content:center}
.wv-price-region-copy strong{font-size:16px!important;line-height:1.25!important}
.wv-price-region-copy small{font-size:14px!important;line-height:1.2!important}
.wv-price-group-title h4{font-size:20px!important;line-height:1.2!important}
.wv-price-product-group>p{font-size:15px!important;line-height:1.4!important}
.wv-price-consult-row,.wv-price-edit-row{min-height:70px}
.wv-price-consult-name>strong{font-size:18px!important;line-height:1.3!important}
.wv-price-consult-name>small{font-size:15px!important;line-height:1.3!important}
.wv-price-consult-values small{font-size:14px!important;line-height:1.2!important}
.wv-price-consult-values b{font-size:20px!important;line-height:1.2!important}
.wv-price-edit-row>label small{font-size:14px!important;line-height:1.2!important}
.wv-price-edit-row>label input{font-size:16px!important;min-height:44px!important}
.wv-price-save{font-size:15px!important;min-height:44px!important}
.wv-price-admin-more>summary{width:44px!important;height:44px!important}
.wv-price-admin-more>div button{font-size:15px!important}
.wv-tier-inline span{font-size:13px!important;line-height:1.3!important}
@media(max-width:900px){
  .wv-price-region-copy strong{font-size:15px!important}
  .wv-price-region-copy small{font-size:13px!important}
  .wv-price-group-title h4{font-size:19px!important}
  .wv-price-consult-name>strong{font-size:17px!important}
  .wv-price-consult-name>small{font-size:14px!important}
  .wv-price-consult-values b{font-size:19px!important}
}
@media(max-width:620px){
  .wv-price-region-copy strong{font-size:14px!important}
  .wv-price-region-copy small{font-size:12px!important}
  .wv-price-group-title h4{font-size:17px!important}
  .wv-price-consult-name>strong{font-size:16px!important}
  .wv-price-consult-name>small{font-size:13px!important}
  .wv-price-consult-values b{font-size:17px!important}
}


/* v25.10.49 — Tabela de valores: inputs compactos + identidade visual por região */
/* Inputs menores, preservando a tipografia maior aprovada. */
.wv-price-edit-row{
  grid-template-columns:minmax(0,1fr) minmax(82px,90px) minmax(82px,90px) auto 40px!important;
  gap:9px!important;
}
.wv-price-edit-row>label input{
  min-height:38px!important;
  height:38px!important;
  padding:0 8px!important;
  font-size:15px!important;
}
.wv-price-save{
  min-height:38px!important;
  height:38px!important;
  padding:0 10px!important;
}
.wv-price-admin-more>summary{
  width:38px!important;
  height:38px!important;
}

/* Paletas suaves e distintas, derivadas dos ícones de cada região. */
.wv-price-region-card.theme-distribuidora,
.wv-price-region-panel.theme-distribuidora{--wv-region-accent:#6557df;--wv-region-border:#bbb6f2;--wv-region-bg:#f3f1ff;--wv-region-bg-strong:#ebe8ff}
.wv-price-region-card.theme-farol,
.wv-price-region-panel.theme-farol{--wv-region-accent:#168fd0;--wv-region-border:#a9d9ef;--wv-region-bg:#eef9ff;--wv-region-bg-strong:#e0f4ff}
.wv-price-region-card.theme-praia-funda,
.wv-price-region-panel.theme-praia-funda{--wv-region-accent:#168d6d;--wv-region-border:#afe0cf;--wv-region-bg:#effbf6;--wv-region-bg-strong:#e0f7ed}
.wv-price-region-card.theme-vai-quem-quer,
.wv-price-region-panel.theme-vai-quem-quer{--wv-region-accent:#df7818;--wv-region-border:#f2c38f;--wv-region-bg:#fff5e9;--wv-region-bg-strong:#ffe9cf}
.wv-price-region-card.theme-fazendinha,
.wv-price-region-panel.theme-fazendinha{--wv-region-accent:#b98a08;--wv-region-border:#e8d27d;--wv-region-bg:#fff9df;--wv-region-bg-strong:#fff2b9}

/* A região selecionada ganha a cor da própria área, sem competir com o conteúdo. */
.wv-price-region-card.active{
  border-color:var(--wv-region-border)!important;
  background:linear-gradient(180deg,#fff 0%,var(--wv-region-bg-strong) 100%)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--wv-region-accent) 12%,transparent),0 8px 20px rgba(20,64,104,.06)!important;
}
.wv-price-region-card.active .wv-price-region-copy strong,
.wv-price-region-card.active .wv-price-region-copy small,
.wv-price-region-card.active .wv-price-region-arrow{
  color:var(--wv-region-accent)!important;
}
.wv-price-region-panel{
  position:relative;
  border-color:var(--wv-region-border)!important;
  background:linear-gradient(180deg,var(--wv-region-bg) 0%,#fff 44%,#fff 100%)!important;
  box-shadow:0 10px 28px color-mix(in srgb,var(--wv-region-accent) 8%,transparent)!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.wv-price-region-panel::before{
  content:"";
  position:absolute;
  top:0;
  left:18px;
  right:18px;
  height:3px;
  border-radius:0 0 999px 999px;
  background:var(--wv-region-accent);
  opacity:.78;
  pointer-events:none;
}
.wv-price-region-panel .wv-price-consult-row,
.wv-price-region-panel .wv-price-edit-row{
  background:rgba(255,255,255,.84)!important;
  border-color:color-mix(in srgb,var(--wv-region-border) 60%,#e1eaf0)!important;
}
@media(max-width:900px){
  .wv-price-edit-row{grid-template-columns:minmax(0,1fr) minmax(78px,88px) minmax(78px,88px)!important}
}
@media(max-width:620px){
  .wv-price-edit-row{grid-template-columns:1fr!important}
  .wv-price-edit-row>label input{width:100%!important}
}

/* v25.10.50 — Tabela de valores: agrupamento compacto por marca */
.wv-price-product-group>div.wv-price-brand-list{
  display:grid;
  gap:10px;
  min-width:0;
}
.wv-price-brand-card{
  position:relative;
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  min-width:0;
  overflow:visible;
  border:1px solid #dbe7ef;
  border-radius:14px;
  background:rgba(255,255,255,.9);
  box-shadow:0 5px 14px rgba(20,64,104,.035);
}
.wv-price-brand-identity{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:0;
  padding:12px 10px;
  border-right:1px solid #e2ebf1;
  text-align:center;
}
.wv-price-brand-thumb{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:12px;
  background:#eef7fd;
}
.wv-price-brand-thumb img{
  display:block;
  width:40px;
  height:40px;
  object-fit:contain;
}
.wv-price-brand-identity>strong{
  max-width:100%;
  color:#123c69;
  font-size:17px;
  line-height:1.15;
  font-weight:900;
  overflow-wrap:anywhere;
}
.wv-price-brand-products{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(168px,1fr));
  min-width:0;
  align-items:stretch;
}
.wv-price-brand-product{
  position:relative;
  z-index:1;
  display:grid;
  align-content:start;
  gap:8px;
  min-width:0;
  padding:11px 12px;
  border-left:1px solid #e2ebf1;
  background:transparent;
}
.wv-price-brand-product:first-child{border-left:0}
.wv-price-brand-product:has(.wv-price-admin-more[open]){z-index:70}
.wv-price-brand-product.inactive{opacity:.58}
.wv-price-brand-product-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
  min-height:22px;
}
.wv-price-brand-product-head>strong{
  min-width:0;
  color:#16466f;
  font-size:16px;
  line-height:1.15;
  font-weight:900;
  overflow-wrap:anywhere;
}
.wv-price-brand-product-head>small{
  flex:0 0 auto;
  color:#8a98a5;
  font-size:11px;
  font-weight:850;
}
.wv-price-brand-read{
  display:flex;
  align-items:flex-end;
  gap:14px;
  flex-wrap:wrap;
}
.wv-price-brand-read>span{
  display:grid;
  gap:2px;
  min-width:72px;
}
.wv-price-brand-read small{
  color:#73899c;
  font-size:13px;
  line-height:1.1;
}
.wv-price-brand-read b{
  color:#0b2f67;
  font-size:20px;
  line-height:1.1;
}
.wv-price-brand-read .cash b{color:#8a6417}
.wv-price-brand-edit{
  display:grid;
  grid-template-columns:minmax(64px,1fr) minmax(64px,1fr);
  align-items:end;
  gap:7px 8px;
  min-width:0;
}
.wv-price-brand-edit>label{
  display:grid;
  gap:3px;
  min-width:0;
}
.wv-price-brand-edit>label small{
  color:#71879a;
  font-size:12px;
  line-height:1.1;
  font-weight:850;
}
.wv-price-brand-edit>label input{
  width:100%;
  min-width:0;
  height:34px!important;
  min-height:34px!important;
  padding:0 7px!important;
  border:1px solid #c8dce8;
  border-radius:8px;
  background:#fff;
  color:#153e67;
  font-size:14px!important;
  font-weight:750;
}
.wv-price-brand-edit .wv-price-save{
  justify-self:start;
  min-height:34px!important;
  height:34px!important;
  padding:0 10px!important;
  font-size:13px!important;
}
.wv-price-brand-edit .wv-price-admin-more{
  justify-self:end;
  align-self:end;
}
.wv-price-brand-edit .wv-price-admin-more>summary{
  width:34px!important;
  height:34px!important;
}
.wv-price-brand-product>.wv-tier-inline{
  margin-top:0;
  padding-top:3px;
}
.wv-price-brand-product>.wv-tier-inline span{
  font-size:12px!important;
}
.wv-price-region-panel .wv-price-brand-card{
  border-color:color-mix(in srgb,var(--wv-region-border) 55%,#dbe7ef);
}

@media(min-width:1221px){
  .wv-price-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
}
@media(max-width:1220px){
  .wv-price-brand-card{grid-template-columns:126px minmax(0,1fr)}
  .wv-price-brand-products{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
}
@media(max-width:760px){
  .wv-price-brand-card{grid-template-columns:96px minmax(0,1fr)}
  .wv-price-brand-identity{padding:10px 8px}
  .wv-price-brand-thumb{width:46px;height:46px}
  .wv-price-brand-thumb img{width:35px;height:35px}
  .wv-price-brand-identity>strong{font-size:15px}
  .wv-price-brand-products{grid-template-columns:1fr}
  .wv-price-brand-product{border-left:1px solid #e2ebf1;border-top:1px solid #e2ebf1}
  .wv-price-brand-product:first-child{border-top:0}
}
@media(max-width:520px){
  .wv-price-brand-card{grid-template-columns:1fr}
  .wv-price-brand-identity{
    flex-direction:row;
    justify-content:flex-start;
    padding:9px 10px;
    border-right:0;
    border-bottom:1px solid #e2ebf1;
    text-align:left;
  }
  .wv-price-brand-thumb{width:40px;height:40px}
  .wv-price-brand-thumb img{width:31px;height:31px}
  .wv-price-brand-product{border-left:0}
}

/* v25.10.51 — Tabela de valores: faixas corrigidas, menus exclusivos e legibilidade +1 */
.wv-prices-head h2{
  font-size:32px!important;
}
.wv-price-region-copy strong{
  font-size:17px!important;
}
.wv-price-region-copy small{
  font-size:15px!important;
}
.wv-price-group-title h4{
  font-size:22px!important;
}
.wv-price-brand-identity>strong{
  font-size:19px!important;
}
.wv-price-brand-product-head>strong{
  font-size:18px!important;
}
.wv-price-brand-product-head>small{
  font-size:12px!important;
}
.wv-price-brand-read small{
  font-size:14px!important;
}
.wv-price-brand-read b{
  font-size:22px!important;
}
.wv-price-brand-edit>label small{
  font-size:13px!important;
}
.wv-price-brand-edit>label input{
  font-size:16px!important;
}
.wv-price-brand-edit .wv-price-save{
  font-size:14px!important;
}
.wv-price-brand-product>.wv-tier-inline span{
  font-size:14px!important;
  line-height:1.3!important;
}
.wv-price-admin-more>div button{
  font-size:16px!important;
}

/* Administrador mantém o título no canto; consulta fica centralizada. */
.staff-app[data-view="water"][data-water-role="attendant"] .wv-prices-head,
.staff-app[data-view="water"][data-water-role="viewer"] .wv-prices-head{
  grid-template-columns:1fr!important;
  justify-items:center;
  padding-left:64px!important;
  padding-right:64px!important;
  text-align:center;
}
.staff-app[data-view="water"][data-water-role="attendant"] .wv-prices-title,
.staff-app[data-view="water"][data-water-role="viewer"] .wv-prices-title{
  justify-items:center;
  text-align:center;
}

/* Faixas de preço: edição e cadastro no mesmo formulário, sem prévia visual. */
dialog[data-dialog="price-tiers"] .wv-tier-form-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:14px;
  border-top:1px solid #e1eaf0;
}
dialog[data-dialog="price-tiers"] .wv-tier-form-head>strong{
  color:#123c69;
  font-size:17px;
  line-height:1.2;
  font-weight:900;
}
dialog[data-dialog="price-tiers"] .wv-tier-form-head>button{
  font-size:14px;
}
dialog[data-dialog="price-tiers"] .wv-tier-list article{
  grid-template-columns:minmax(0,1fr) auto auto!important;
}
.wv-tier-row-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
.wv-tier-row-actions>button{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid #c7dce8;
  border-radius:9px;
  background:#fff;
  color:#0b68ad;
}
.wv-tier-row-actions>button:hover{
  border-color:#91c4df;
  background:#f1f9fd;
}
.wv-tier-row-actions>button:last-child{
  color:#b53b45;
}
.wv-tier-row-actions svg{
  width:16px;
  height:16px;
}
dialog[data-dialog="price-tiers"] [data-price-tier-form] label{
  font-size:15px!important;
}
dialog[data-dialog="price-tiers"] [data-price-tier-form] input,
dialog[data-dialog="price-tiers"] [data-price-tier-form] select{
  font-size:16px!important;
}
dialog[data-dialog="price-tiers"] button[type="submit"]{
  font-size:16px!important;
}

@media(max-width:760px){
  .wv-prices-head h2{font-size:29px!important}
  .wv-price-region-copy strong{font-size:16px!important}
  .wv-price-region-copy small{font-size:14px!important}
  .wv-price-group-title h4{font-size:20px!important}
  .wv-price-brand-identity>strong{font-size:17px!important}
  .wv-price-brand-product-head>strong{font-size:17px!important}
  .wv-price-brand-read b{font-size:20px!important}
  .staff-app[data-view="water"][data-water-role="attendant"] .wv-prices-head,
  .staff-app[data-view="water"][data-water-role="viewer"] .wv-prices-head{
    padding-left:46px!important;
    padding-right:46px!important;
  }
}
@media(max-width:620px){
  dialog[data-dialog="price-tiers"] .wv-tier-list article{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  dialog[data-dialog="price-tiers"] .wv-tier-list article>b{
    grid-column:1;
  }
  dialog[data-dialog="price-tiers"] .wv-tier-row-actions{
    grid-column:2;
    grid-row:1/3;
  }
}


/* v25.10.52 — Tabela de valores: dinheiro neutro e faixas regionais isoladas */
.wv-price-brand-read .cash,
.wv-price-consult-values .cash{
  background:transparent!important;
  border-color:transparent!important;
  color:inherit!important;
}
.wv-price-brand-read .cash b,
.wv-price-consult-values .cash b{
  color:#0b2f67!important;
}
.wv-price-brand-read .cash small,
.wv-price-brand-cash>small{
  color:#71879a!important;
}
.wv-price-brand-cash input{
  background:#fff!important;
  border-color:#c8dce8!important;
  color:#153e67!important;
  box-shadow:none!important;
}

/* v25.10.54 — Modal Nova região: estrutura compacta e consistente com a Tabela de Valores */
.wv-region-dialog{
  width:min(760px,calc(100% - 28px));
  border-radius:22px;
}
.wv-region-dialog form{
  gap:20px;
  padding:28px 30px 30px;
  border-radius:22px;
  overflow:auto;
}
.wv-region-dialog-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-width:0;
}
.wv-region-dialog-title{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.wv-region-dialog-title-icon{
  display:grid;
  place-items:center;
  flex:0 0 48px;
  width:48px;
  height:48px;
  border-radius:14px;
  background:#edf7ff;
  color:#0a78d1;
}
.wv-region-dialog-title-icon svg{
  width:27px;
  height:27px;
  stroke-width:2;
}
.wv-region-dialog .wv-region-dialog-title h2{
  margin:0;
  color:#0b3569;
  font:900 28px/1.05 "Nunito",sans-serif;
  letter-spacing:-.025em;
}
.wv-region-dialog-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}
.wv-region-dialog .wv-region-save-top{
  min-width:108px;
  min-height:44px;
  padding:0 18px;
  border-radius:11px;
  font-size:15px;
}
.wv-region-dialog .wv-dialog-close{
  position:static;
  width:44px;
  height:44px;
  border-radius:11px;
  flex:0 0 44px;
}
.wv-region-dialog .wv-dialog-close svg{
  width:22px;
  height:22px;
}
.wv-region-dialog .wv-service-type-field{
  gap:10px;
}
.wv-region-dialog .wv-service-type-field legend{
  margin:0 0 5px;
  color:#153f69;
  font-size:15px;
  font-weight:900;
}
.wv-region-dialog .wv-service-type-field label>span{
  min-height:54px;
  gap:10px;
  padding:0 16px;
  border-radius:12px;
  background:#fff;
  font-size:16px;
  font-weight:900;
}
.wv-region-dialog .wv-service-type-field label>span svg{
  width:24px;
  height:24px;
}
.wv-region-dialog .wv-service-type-field input:checked+span{
  border-color:#258fe0;
  background:#eef7ff;
  box-shadow:inset 0 0 0 1px rgba(37,143,224,.12);
}
.wv-region-dialog .wv-region-field{
  gap:7px;
  color:#153f69;
  font-size:15px;
  font-weight:900;
}
.wv-region-dialog .wv-region-field input{
  min-height:50px;
  padding:0 14px;
  border-radius:11px;
  background:#fff;
  color:#163e68;
  font-size:16px;
  font-weight:750;
}
.wv-region-dialog .wv-region-field input::placeholder{
  color:#7f92a8;
  font-weight:650;
}
.wv-region-dialog .wv-region-numeric-grid{
  gap:14px;
}
.wv-region-dialog [data-region-mode="new"] .wv-region-advanced-field,
.wv-region-dialog [data-region-mode="new"] .wv-region-field>small{
  display:none!important;
}
.wv-region-dialog [data-region-mode="new"]{
  gap:22px;
}
@media(max-width:620px){
  .wv-region-dialog form{
    gap:16px;
    padding:20px 16px 18px;
  }
  .wv-region-dialog-head{
    align-items:flex-start;
  }
  .wv-region-dialog-title{
    gap:10px;
  }
  .wv-region-dialog-title-icon{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
  .wv-region-dialog .wv-region-dialog-title h2{
    font-size:23px;
  }
  .wv-region-dialog-head-actions{
    gap:7px;
  }
  .wv-region-dialog .wv-region-save-top{
    min-width:84px;
    min-height:42px;
    padding-inline:13px;
    font-size:14px;
  }
  .wv-region-dialog .wv-dialog-close{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
  .wv-region-dialog .wv-service-type-field,
  .wv-region-dialog .wv-region-numeric-grid{
    grid-template-columns:1fr;
  }
}

/* v25.10.55 — Modal Nova região: compacto e sem rolagem horizontal */
.wv-region-dialog{
  width:min(620px,calc(100% - 28px));
  max-width:620px;
  overflow:hidden!important;
}
.wv-region-dialog form{
  width:100%;
  max-width:100%;
  min-width:0;
  gap:14px;
  padding:22px 24px 24px;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
.wv-region-dialog form>*{
  min-width:0;
  max-width:100%;
}
.wv-region-dialog-head{
  gap:12px;
}
.wv-region-dialog-title{
  gap:11px;
}
.wv-region-dialog-title-icon{
  width:42px;
  height:42px;
  flex-basis:42px;
  border-radius:12px;
}
.wv-region-dialog-title-icon svg{
  width:24px;
  height:24px;
}
.wv-region-dialog .wv-region-dialog-title h2{
  font-size:24px;
}
.wv-region-dialog-head-actions{
  gap:8px;
}
.wv-region-dialog .wv-region-save-top{
  min-width:92px;
  min-height:40px;
  padding:0 14px;
  font-size:14px;
}
.wv-region-dialog .wv-dialog-close{
  width:40px;
  height:40px;
  flex-basis:40px;
}
.wv-region-dialog .wv-service-type-field{
  width:100%;
  min-width:0;
  gap:8px;
}
.wv-region-dialog .wv-service-type-field label,
.wv-region-dialog .wv-service-type-field label>span{
  min-width:0;
  max-width:100%;
}
.wv-region-dialog .wv-service-type-field legend{
  margin-bottom:2px;
  font-size:14px;
}
.wv-region-dialog .wv-service-type-field label>span{
  min-height:46px;
  padding:0 12px;
  font-size:15px;
}
.wv-region-dialog .wv-service-type-field label>span svg{
  width:21px;
  height:21px;
}
.wv-region-dialog .wv-region-field{
  min-width:0;
  gap:5px;
  font-size:14px;
}
.wv-region-dialog .wv-region-field input{
  width:100%;
  min-width:0;
  min-height:44px;
  padding:0 12px;
  font-size:15px;
}
.wv-region-dialog .wv-region-numeric-grid{
  width:100%;
  min-width:0;
  gap:10px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.wv-region-dialog [data-region-mode="new"]{
  gap:14px;
}
@media(max-width:620px){
  .wv-region-dialog{
    width:min(540px,calc(100% - 16px));
  }
  .wv-region-dialog form{
    padding:18px 14px 16px;
    gap:12px;
  }
  .wv-region-dialog .wv-region-dialog-title h2{
    font-size:21px;
  }
  .wv-region-dialog-title-icon{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
  .wv-region-dialog .wv-region-save-top{
    min-width:76px;
    min-height:38px;
    padding-inline:11px;
    font-size:13px;
  }
  .wv-region-dialog .wv-dialog-close{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
  .wv-region-dialog .wv-region-numeric-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:440px){
  .wv-region-dialog-head{
    align-items:center;
  }
  .wv-region-dialog .wv-region-numeric-grid,
  .wv-region-dialog .wv-service-type-field{
    grid-template-columns:1fr;
  }
}

/* v25.10.56 — Modais Nova/Editar região: compactação final e ações de edição */
.wv-region-dialog{
  width:min(570px,calc(100% - 24px));
  max-width:570px;
  overflow:hidden!important;
}
.wv-region-dialog form{
  gap:12px;
  padding:20px 22px 22px;
  overflow-x:hidden!important;
}
.wv-region-dialog-head{
  gap:10px;
  margin-bottom:1px;
}
.wv-region-dialog-title{
  gap:10px;
}
.wv-region-dialog-title-icon{
  width:40px;
  height:40px;
  flex-basis:40px;
  border-radius:11px;
}
.wv-region-dialog-title-icon svg{
  width:22px;
  height:22px;
}
.wv-region-dialog .wv-region-dialog-title h2{
  font-size:23px;
}
.wv-region-dialog-head-actions{
  gap:7px;
}
.wv-region-dialog .wv-region-save-top{
  min-width:82px;
  min-height:38px;
  padding:0 13px;
  border-radius:10px;
  font-size:13px;
}
.wv-region-dialog .wv-dialog-close{
  width:38px;
  height:38px;
  flex-basis:38px;
  border-radius:10px;
}
.wv-region-dialog .wv-dialog-close svg{
  width:20px;
  height:20px;
}
.wv-region-dialog .wv-service-type-field{
  gap:7px;
}
.wv-region-dialog .wv-service-type-field legend{
  margin-bottom:1px;
  font-size:13px;
}
.wv-region-dialog .wv-service-type-field label>span{
  min-height:42px;
  padding:0 11px;
  border-radius:10px;
  font-size:14px;
}
.wv-region-dialog .wv-service-type-field label>span svg{
  width:20px;
  height:20px;
}
.wv-region-dialog .wv-region-field,
.wv-region-dialog .wv-region-note{
  display:grid;
  gap:4px;
  color:#153f69;
  font-size:13px;
  font-weight:900;
}
.wv-region-dialog .wv-region-field input{
  min-height:42px;
  padding:0 11px;
  border-radius:10px;
  font-size:14px;
}
.wv-region-dialog .wv-region-numeric-grid{
  display:grid;
  grid-template-columns:minmax(118px,145px) minmax(142px,170px);
  justify-content:start;
  gap:10px;
  width:auto;
  max-width:100%;
}
.wv-region-dialog .wv-region-numeric-grid .wv-region-field{
  width:100%;
}
.wv-region-dialog .wv-region-numeric-grid input{
  text-align:left;
}
.wv-region-dialog .wv-region-note textarea{
  width:100%;
  min-height:72px;
  max-height:130px;
  padding:10px 11px;
  border:1px solid #c8dce8;
  border-radius:10px;
  background:#fff;
  color:#163e68;
  font:750 14px/1.35 "Nunito",sans-serif;
  resize:vertical;
}
.wv-region-dialog .wv-region-note textarea::placeholder{
  color:#8a9bad;
  font-weight:650;
}
.wv-region-dialog .wv-region-footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:2px;
  padding-top:2px;
}
.wv-region-dialog .wv-region-active-toggle{
  display:inline-flex!important;
  align-items:center;
  gap:9px;
  min-width:0;
  color:#244d70;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}
.wv-region-dialog .wv-region-active-toggle input{
  appearance:none;
  -webkit-appearance:none;
  position:relative;
  width:36px;
  height:21px;
  margin:0;
  border:1px solid #b9cddd;
  border-radius:999px;
  background:#dfe9f0;
  transition:.16s ease;
  cursor:pointer;
}
.wv-region-dialog .wv-region-active-toggle input::after{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:15px;
  height:15px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 4px rgba(18,55,87,.18);
  transition:.16s ease;
}
.wv-region-dialog .wv-region-active-toggle input:checked{
  border-color:#4e9fd4;
  background:#1786cf;
}
.wv-region-dialog .wv-region-active-toggle input:checked::after{
  transform:translateX(15px);
}
.wv-region-dialog .wv-region-delete{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:38px;
  padding:0 12px;
  border:1px solid #edc5c8;
  border-radius:10px;
  background:#fff7f7;
  color:#b63a43;
  font-size:13px;
  font-weight:900;
}
.wv-region-dialog .wv-region-delete:hover{
  border-color:#e3aeb3;
  background:#fff1f2;
}
.wv-region-dialog .wv-region-delete svg{
  width:16px;
  height:16px;
}
.wv-region-dialog [data-region-mode="new"] .wv-region-advanced-field{
  display:none!important;
}
.wv-region-dialog [data-region-mode="new"],
.wv-region-dialog [data-region-mode="edit"]{
  gap:12px;
}
@media(max-width:620px){
  .wv-region-dialog{
    width:min(540px,calc(100% - 16px));
  }
  .wv-region-dialog form{
    gap:11px;
    padding:17px 14px 16px;
  }
  .wv-region-dialog .wv-region-dialog-title h2{
    font-size:20px;
  }
  .wv-region-dialog-title-icon{
    width:36px;
    height:36px;
    flex-basis:36px;
  }
  .wv-region-dialog .wv-region-save-top{
    min-width:70px;
    min-height:36px;
    padding-inline:10px;
  }
  .wv-region-dialog .wv-dialog-close{
    width:36px;
    height:36px;
    flex-basis:36px;
  }
  .wv-region-dialog .wv-region-numeric-grid{
    grid-template-columns:minmax(110px,140px) minmax(135px,165px);
  }
}
@media(max-width:380px){
  .wv-region-dialog .wv-region-numeric-grid,
  .wv-region-dialog .wv-service-type-field{
    grid-template-columns:1fr;
  }
  .wv-region-dialog .wv-region-footer-row{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* v25.10.57 — Modais de região: proporção mais vertical, campos compactos e tipografia maior */
.wv-region-dialog{
  width:min(480px,calc(100% - 24px));
  max-width:480px;
  overflow:hidden!important;
}
.wv-region-dialog form{
  width:100%;
  box-sizing:border-box;
  gap:14px;
  padding:22px 24px 24px;
  overflow-x:hidden!important;
}
.wv-region-dialog-head{
  align-items:center;
  gap:10px;
  margin-bottom:2px;
}
.wv-region-dialog-title{
  gap:11px;
}
.wv-region-dialog-title-icon{
  width:43px;
  height:43px;
  flex-basis:43px;
  border-radius:12px;
}
.wv-region-dialog-title-icon svg{
  width:24px;
  height:24px;
}
.wv-region-dialog .wv-region-dialog-title h2{
  font-size:25px;
  line-height:1.08;
}
.wv-region-dialog-head-actions{
  gap:7px;
}
.wv-region-dialog .wv-region-save-top{
  min-width:84px;
  min-height:42px;
  padding:0 14px;
  border-radius:10px;
  font-size:15px;
}
.wv-region-dialog .wv-dialog-close{
  width:42px;
  height:42px;
  flex-basis:42px;
  border-radius:10px;
}
.wv-region-dialog .wv-dialog-close svg{
  width:21px;
  height:21px;
}
.wv-region-dialog .wv-service-type-field{
  grid-template-columns:repeat(2,minmax(0,160px));
  justify-content:start;
  gap:10px;
  width:max-content;
  max-width:100%;
}
.wv-region-dialog .wv-service-type-field legend{
  margin-bottom:2px;
  font-size:15px;
  line-height:1.25;
}
.wv-region-dialog .wv-service-type-field label>span{
  min-height:48px;
  padding:0 13px;
  border-radius:11px;
  font-size:16px;
  line-height:1.15;
}
.wv-region-dialog .wv-service-type-field label>span svg{
  width:22px;
  height:22px;
}
.wv-region-dialog .wv-region-field,
.wv-region-dialog .wv-region-note{
  gap:5px;
  font-size:15px;
  line-height:1.2;
}
.wv-region-dialog .wv-region-field input{
  min-height:46px;
  padding:0 12px;
  border-radius:10px;
  font-size:16px;
}
.wv-region-dialog .wv-region-field input::placeholder{
  font-size:15px;
}
.wv-region-dialog .wv-region-numeric-grid{
  grid-template-columns:128px 150px;
  justify-content:start;
  gap:10px;
  width:max-content;
  max-width:100%;
}
.wv-region-dialog .wv-region-numeric-grid .wv-region-field{
  width:100%;
}
.wv-region-dialog .wv-region-numeric-grid input{
  min-height:44px;
  font-size:16px;
}
.wv-region-dialog .wv-region-note textarea{
  min-height:78px;
  max-height:126px;
  padding:11px 12px;
  border-radius:10px;
  font:750 15px/1.4 "Nunito",sans-serif;
}
.wv-region-dialog .wv-region-footer-row{
  gap:12px;
  margin-top:3px;
  padding-top:1px;
}
.wv-region-dialog .wv-region-active-toggle{
  gap:9px;
  font-size:14px;
}
.wv-region-dialog .wv-region-delete{
  min-height:40px;
  padding:0 12px;
  font-size:14px;
}
@media(max-width:520px){
  .wv-region-dialog{
    width:min(456px,calc(100% - 16px));
  }
  .wv-region-dialog form{
    gap:13px;
    padding:19px 16px 18px;
  }
  .wv-region-dialog .wv-region-dialog-title h2{
    font-size:23px;
  }
  .wv-region-dialog-title-icon{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .wv-region-dialog .wv-region-save-top{
    min-width:76px;
    min-height:40px;
    padding-inline:12px;
    font-size:14px;
  }
  .wv-region-dialog .wv-dialog-close{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .wv-region-dialog .wv-service-type-field{
    grid-template-columns:repeat(2,minmax(0,145px));
  }
  .wv-region-dialog .wv-region-numeric-grid{
    grid-template-columns:120px 142px;
  }
}
@media(max-width:380px){
  .wv-region-dialog .wv-service-type-field{
    width:100%;
    grid-template-columns:1fr 1fr;
  }
  .wv-region-dialog .wv-region-numeric-grid{
    width:100%;
    grid-template-columns:1fr 1fr;
  }
  .wv-region-dialog .wv-region-footer-row{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* v25.10.58 — Modais de região: nome mais curto e campos recentralizados */
.wv-region-dialog .wv-service-type-field{
  justify-content:center;
  margin-inline:auto;
}
.wv-region-dialog .wv-region-numeric-grid{
  justify-content:center;
  margin-inline:auto;
}
.wv-region-dialog .wv-region-field:has(input[name="name"]){
  width:min(350px,100%);
  justify-self:center;
  margin-inline:auto;
}
.wv-region-dialog .wv-region-field:has(input[name="name"]) input{
  width:100%;
}
.wv-region-dialog .wv-region-note{
  width:min(380px,100%);
  justify-self:center;
  margin-inline:auto;
}
@media(max-width:520px){
  .wv-region-dialog .wv-region-field:has(input[name="name"]),
  .wv-region-dialog .wv-region-note{
    width:100%;
  }
}

/* v25.10.59 — Modais de região: resgate da proporção visual anterior, mais próximos do conceito aprovado */
.wv-region-dialog{
  width:min(620px,calc(100% - 28px));
  max-width:620px;
}
.wv-region-dialog form{
  gap:18px;
  padding:26px 28px 28px;
}
.wv-region-dialog-head{
  gap:14px;
  margin-bottom:4px;
}
.wv-region-dialog-title{
  gap:14px;
}
.wv-region-dialog-title-icon{
  width:52px;
  height:52px;
  flex-basis:52px;
  border-radius:15px;
}
.wv-region-dialog-title-icon svg{
  width:28px;
  height:28px;
}
.wv-region-dialog .wv-region-dialog-title h2{
  font-size:30px;
  line-height:1.05;
}
.wv-region-dialog-head-actions{
  gap:10px;
}
.wv-region-dialog .wv-region-save-top{
  min-width:116px;
  min-height:48px;
  padding:0 20px;
  border-radius:13px;
  font-size:16px;
}
.wv-region-dialog .wv-dialog-close{
  width:46px;
  height:46px;
  flex-basis:46px;
  border-radius:13px;
}
.wv-region-dialog .wv-dialog-close svg{
  width:24px;
  height:24px;
}
.wv-region-dialog .wv-service-type-field{
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:stretch;
  width:100%;
  gap:12px;
  margin-inline:0;
}
.wv-region-dialog .wv-service-type-field legend{
  margin-bottom:4px;
  font-size:18px;
}
.wv-region-dialog .wv-service-type-field label>span{
  min-height:58px;
  padding:0 18px;
  border-radius:14px;
  font-size:18px;
  justify-content:center;
}
.wv-region-dialog .wv-service-type-field label>span svg{
  width:25px;
  height:25px;
}
.wv-region-dialog .wv-region-field,
.wv-region-dialog .wv-region-note{
  gap:7px;
  font-size:17px;
}
.wv-region-dialog .wv-region-field:has(input[name="name"]){
  width:100%;
  max-width:none;
  justify-self:stretch;
  margin-inline:0;
}
.wv-region-dialog .wv-region-field input{
  min-height:56px;
  padding:0 16px;
  border-radius:14px;
  font-size:18px;
}
.wv-region-dialog .wv-region-field input::placeholder{
  font-size:17px;
}
.wv-region-dialog .wv-region-numeric-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:stretch;
  width:100%;
  gap:14px;
  margin-inline:0;
}
.wv-region-dialog .wv-region-numeric-grid .wv-region-field{
  width:100%;
}
.wv-region-dialog .wv-region-numeric-grid input{
  min-height:54px;
  font-size:18px;
}
.wv-region-dialog .wv-region-note{
  width:100%;
  max-width:none;
  justify-self:stretch;
  margin-inline:0;
}
.wv-region-dialog .wv-region-note textarea{
  min-height:96px;
  max-height:148px;
  padding:13px 16px;
  border-radius:14px;
  font:750 17px/1.42 "Nunito",sans-serif;
}
.wv-region-dialog .wv-region-footer-row{
  gap:14px;
  margin-top:6px;
  padding-top:4px;
}
.wv-region-dialog .wv-region-active-toggle{
  gap:10px;
  font-size:16px;
}
.wv-region-dialog .wv-region-delete{
  min-height:42px;
  padding:0 14px;
  border-radius:11px;
  font-size:14px;
}
@media(max-width:620px){
  .wv-region-dialog{
    width:min(560px,calc(100% - 18px));
    max-width:560px;
  }
  .wv-region-dialog form{
    gap:16px;
    padding:22px 18px 20px;
  }
  .wv-region-dialog .wv-region-dialog-title h2{
    font-size:27px;
  }
  .wv-region-dialog-title-icon{
    width:46px;
    height:46px;
    flex-basis:46px;
  }
  .wv-region-dialog .wv-region-save-top{
    min-width:100px;
    min-height:44px;
    font-size:15px;
  }
  .wv-region-dialog .wv-dialog-close{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
  .wv-region-dialog .wv-service-type-field legend,
  .wv-region-dialog .wv-region-field,
  .wv-region-dialog .wv-region-note{
    font-size:16px;
  }
  .wv-region-dialog .wv-service-type-field label>span{
    min-height:54px;
    font-size:17px;
  }
  .wv-region-dialog .wv-region-field input,
  .wv-region-dialog .wv-region-numeric-grid input{
    min-height:50px;
    font-size:17px;
  }
  .wv-region-dialog .wv-region-note textarea{
    min-height:88px;
    font-size:16px;
  }
}
@media(max-width:440px){
  .wv-region-dialog{
    width:min(100%,calc(100% - 12px));
  }
  .wv-region-dialog form{
    gap:14px;
    padding:18px 14px 16px;
  }
  .wv-region-dialog-head{
    align-items:flex-start;
  }
  .wv-region-dialog-title-icon{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .wv-region-dialog .wv-region-dialog-title h2{
    font-size:23px;
  }
  .wv-region-dialog .wv-region-save-top{
    min-width:82px;
    min-height:40px;
    padding-inline:14px;
    font-size:14px;
  }
  .wv-region-dialog .wv-dialog-close{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .wv-region-dialog .wv-service-type-field,
  .wv-region-dialog .wv-region-numeric-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .wv-region-dialog .wv-service-type-field label>span{
    min-height:50px;
    font-size:16px;
  }
  .wv-region-dialog .wv-region-field input,
  .wv-region-dialog .wv-region-numeric-grid input{
    min-height:48px;
    font-size:16px;
  }
}

/* v25.10.60 — Modais Nova/Editar região: conceito aprovado, porém compacto e sem excesso de espaçamento */
.wv-region-dialog{
  width:min(560px,calc(100% - 24px));
  max-width:560px;
  overflow:hidden!important;
}
.wv-region-dialog form{
  width:100%;
  box-sizing:border-box;
  gap:11px;
  padding:19px 22px 21px;
  overflow-x:hidden!important;
}
.wv-region-dialog-head{
  align-items:center;
  gap:10px;
  margin-bottom:1px;
}
.wv-region-dialog-title{
  gap:11px;
}
.wv-region-dialog-title-icon{
  width:44px;
  height:44px;
  flex-basis:44px;
  border-radius:12px;
}
.wv-region-dialog-title-icon svg{
  width:24px;
  height:24px;
}
.wv-region-dialog .wv-region-dialog-title h2{
  font-size:27px;
  line-height:1.06;
}
.wv-region-dialog-head-actions{
  gap:7px;
}
.wv-region-dialog .wv-region-save-top{
  min-width:96px;
  min-height:42px;
  padding:0 15px;
  border-radius:11px;
  font-size:15px;
}
.wv-region-dialog .wv-dialog-close{
  width:42px;
  height:42px;
  flex-basis:42px;
  border-radius:11px;
}
.wv-region-dialog .wv-dialog-close svg{
  width:21px;
  height:21px;
}

/* Atendimento: mantém a leitura visual da referência, ocupando a linha sem alongar o modal. */
.wv-region-dialog .wv-service-type-field{
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:stretch;
  width:100%;
  max-width:none;
  gap:9px;
  margin:0;
}
.wv-region-dialog .wv-service-type-field legend{
  margin:0 0 2px;
  font-size:16px;
  line-height:1.2;
}
.wv-region-dialog .wv-service-type-field label>span{
  min-height:48px;
  padding:0 13px;
  border-radius:11px;
  font-size:17px;
  line-height:1.1;
  justify-content:center;
}
.wv-region-dialog .wv-service-type-field label>span svg{
  width:22px;
  height:22px;
}

/* Campos principais: grandes o suficiente para leitura, mas sem respiro vertical excessivo. */
.wv-region-dialog .wv-region-field,
.wv-region-dialog .wv-region-note{
  gap:4px;
  font-size:16px;
  line-height:1.15;
}
.wv-region-dialog .wv-region-field:has(input[name="name"]){
  width:100%;
  max-width:none;
  margin:0;
  justify-self:stretch;
}
.wv-region-dialog .wv-region-field input{
  min-height:47px;
  padding:0 13px;
  border-radius:11px;
  font-size:17px;
}
.wv-region-dialog .wv-region-field input::placeholder{
  font-size:16px;
}
.wv-region-dialog .wv-region-numeric-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:stretch;
  width:100%;
  max-width:none;
  gap:10px;
  margin:0;
}
.wv-region-dialog .wv-region-numeric-grid .wv-region-field{
  width:100%;
}
.wv-region-dialog .wv-region-numeric-grid input{
  min-height:46px;
  font-size:17px;
}

/* Edição: observação e linha final compactas, sem criar um rodapé espaçado. */
.wv-region-dialog .wv-region-note{
  width:100%;
  max-width:none;
  margin:0;
  justify-self:stretch;
}
.wv-region-dialog .wv-region-note textarea{
  min-height:74px;
  max-height:116px;
  padding:10px 12px;
  border-radius:11px;
  font:750 16px/1.35 "Nunito",sans-serif;
}
.wv-region-dialog .wv-region-footer-row{
  gap:12px;
  margin-top:1px;
  padding-top:1px;
}
.wv-region-dialog .wv-region-active-toggle{
  gap:8px;
  font-size:15px;
}
.wv-region-dialog .wv-region-delete{
  min-height:38px;
  padding:0 12px;
  border-radius:10px;
  font-size:13px;
}

.wv-region-dialog [data-region-mode="new"],
.wv-region-dialog [data-region-mode="edit"]{
  gap:11px;
}

@media(max-width:580px){
  .wv-region-dialog{
    width:min(520px,calc(100% - 16px));
  }
  .wv-region-dialog form{
    gap:10px;
    padding:17px 15px 17px;
  }
  .wv-region-dialog .wv-region-dialog-title h2{
    font-size:24px;
  }
  .wv-region-dialog-title-icon{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .wv-region-dialog .wv-region-save-top{
    min-width:84px;
    min-height:40px;
    padding-inline:12px;
    font-size:14px;
  }
  .wv-region-dialog .wv-dialog-close{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .wv-region-dialog .wv-service-type-field legend,
  .wv-region-dialog .wv-region-field,
  .wv-region-dialog .wv-region-note{
    font-size:15px;
  }
  .wv-region-dialog .wv-service-type-field label>span{
    min-height:46px;
    font-size:16px;
  }
  .wv-region-dialog .wv-region-field input,
  .wv-region-dialog .wv-region-numeric-grid input{
    min-height:44px;
    font-size:16px;
  }
}
@media(max-width:390px){
  .wv-region-dialog .wv-service-type-field,
  .wv-region-dialog .wv-region-numeric-grid{
    grid-template-columns:1fr;
  }
  .wv-region-dialog .wv-region-footer-row{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* v25.10.61 — Modal Novo preço regional: mesma família visual dos modais de região */
dialog.wv-price-new-dialog{
  width:min(620px,calc(100% - 24px));
  max-width:620px;
  overflow:hidden!important;
  border-radius:22px;
}
dialog.wv-price-new-dialog form{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  gap:15px;
  padding:24px 26px 26px;
  overflow-x:hidden!important;
  background:#fff;
}
.wv-price-new-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  min-width:0;
  margin-bottom:2px;
}
.wv-price-new-title{
  display:grid;
  gap:4px;
  min-width:0;
}
dialog.wv-price-new-dialog .wv-price-new-title h2{
  margin:0;
  color:#0b3569;
  font:900 28px/1.06 "Nunito",sans-serif;
  letter-spacing:-.025em;
}
dialog.wv-price-new-dialog .wv-price-new-title p{
  margin:0;
  color:#667e95;
  font:700 15px/1.35 "Nunito",sans-serif;
}
.wv-price-new-head-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
}
dialog.wv-price-new-dialog .wv-price-new-save{
  min-width:96px;
  min-height:42px;
  padding:0 16px;
  border-radius:11px;
  font-size:15px;
}
dialog.wv-price-new-dialog .wv-dialog-close{
  position:static;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:11px;
}
dialog.wv-price-new-dialog .wv-dialog-close svg{
  width:21px;
  height:21px;
}
dialog.wv-price-new-dialog .wv-price-new-field{
  display:grid;
  gap:6px;
  min-width:0;
  color:#153f69;
  font-size:16px;
  font-weight:900;
  line-height:1.2;
}
dialog.wv-price-new-dialog .wv-price-new-field>small{
  display:inline;
  color:#70869a;
  font-size:13px;
  font-weight:750;
}
dialog.wv-price-new-dialog .wv-price-new-field input,
dialog.wv-price-new-dialog .wv-price-new-field select{
  width:100%;
  min-width:0;
  min-height:50px;
  padding:0 14px;
  border:1px solid #c8dce8;
  border-radius:12px;
  background:#fff;
  color:#163e68;
  font:800 16px/1 "Nunito",sans-serif;
  box-shadow:none;
}
dialog.wv-price-new-dialog .wv-price-new-field select{
  padding-right:40px;
  cursor:pointer;
}
dialog.wv-price-new-dialog .wv-price-new-field input::placeholder{
  color:#8294a9;
  font-weight:650;
}
dialog.wv-price-new-dialog .wv-price-new-grid{
  grid-template-columns:1fr 1fr;
  gap:12px;
}
dialog.wv-price-new-dialog .wv-price-new-help{
  margin-top:-3px;
  color:#7b8ea0;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}
@media(max-width:620px){
  dialog.wv-price-new-dialog{
    width:min(560px,calc(100% - 16px));
  }
  dialog.wv-price-new-dialog form{
    gap:13px;
    padding:20px 16px 18px;
  }
  dialog.wv-price-new-dialog .wv-price-new-title h2{
    font-size:24px;
  }
  dialog.wv-price-new-dialog .wv-price-new-title p{
    font-size:14px;
  }
  dialog.wv-price-new-dialog .wv-price-new-save{
    min-width:82px;
    min-height:40px;
    padding-inline:13px;
    font-size:14px;
  }
  dialog.wv-price-new-dialog .wv-dialog-close{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  dialog.wv-price-new-dialog .wv-price-new-field{
    font-size:15px;
  }
  dialog.wv-price-new-dialog .wv-price-new-field input,
  dialog.wv-price-new-dialog .wv-price-new-field select{
    min-height:48px;
    font-size:15px;
  }
}
@media(max-width:440px){
  .wv-price-new-head{
    gap:9px;
  }
  dialog.wv-price-new-dialog .wv-price-new-title h2{
    font-size:21px;
  }
  dialog.wv-price-new-dialog .wv-price-new-title p{
    font-size:13px;
  }
  dialog.wv-price-new-dialog .wv-price-new-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
}

/* v25.10.62 — Confirmação de exclusão de região: visual dedicado e botão estável */
.wv-dialog.wv-confirm-region-delete{
  width:min(560px,calc(100% - 24px));
  max-width:560px;
  border-radius:22px;
  overflow:hidden;
}
.wv-dialog.wv-confirm-region-delete form{
  display:grid;
  gap:18px;
  padding:28px 30px 26px;
  border-radius:22px;
  overflow:hidden;
}
.wv-dialog.wv-confirm-region-delete form>span{
  display:none!important;
}
.wv-dialog.wv-confirm-region-delete h2{
  margin:0;
  padding-right:54px;
  color:#0b3569;
  font:900 30px/1.08 "Nunito",sans-serif;
  letter-spacing:-.025em;
}
.wv-dialog.wv-confirm-region-delete p[data-confirm-message]{
  margin:0;
  color:#627a93;
  font:700 17px/1.5 "Nunito",sans-serif;
  white-space:pre-line;
}
.wv-dialog.wv-confirm-region-delete .wv-dialog-close{
  top:20px;
  right:20px;
  width:44px;
  height:44px;
  border-radius:12px;
  background:#eef6fb;
  color:#617b95;
}
.wv-dialog.wv-confirm-region-delete .wv-dialog-close svg{
  width:23px;
  height:23px;
}
.wv-dialog.wv-confirm-region-delete .wv-dialog-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:10px;
  margin-top:4px;
}
.wv-dialog.wv-confirm-region-delete .wv-dialog-actions .wv-secondary,
.wv-dialog.wv-confirm-region-delete .wv-dialog-actions .wv-danger{
  min-height:46px;
  height:46px;
  border-radius:12px;
  font:900 15px/1 "Nunito",sans-serif;
  white-space:nowrap;
}
.wv-dialog.wv-confirm-region-delete .wv-dialog-actions .wv-secondary{
  width:120px;
  min-width:120px;
  padding:0 16px;
  border:1px solid #c7dceb;
  background:#fff;
  color:#0b4b88;
  box-shadow:none;
}
.wv-dialog.wv-confirm-region-delete .wv-dialog-actions .wv-danger{
  width:190px;
  min-width:190px;
  max-width:190px;
  padding:0 14px;
  border:1px solid #d8444f;
  background:linear-gradient(135deg,#d94450,#cf3542);
  color:#fff;
  box-shadow:0 8px 18px rgba(190,48,61,.14);
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease;
}
.wv-dialog.wv-confirm-region-delete .wv-dialog-actions .wv-danger:disabled{
  opacity:.68;
  cursor:not-allowed;
  transform:none;
}
.wv-dialog.wv-confirm-region-delete .wv-dialog-actions .wv-danger:not(:disabled):hover{
  border-color:#c93442;
  background:linear-gradient(135deg,#d43c49,#c92f3d);
  box-shadow:0 10px 22px rgba(190,48,61,.18);
}
@media(max-width:440px){
  .wv-dialog.wv-confirm-region-delete{
    width:min(100%,calc(100% - 12px));
  }
  .wv-dialog.wv-confirm-region-delete form{
    gap:15px;
    padding:22px 14px 18px;
  }
  .wv-dialog.wv-confirm-region-delete h2{
    padding-right:48px;
    font-size:25px;
  }
  .wv-dialog.wv-confirm-region-delete p[data-confirm-message]{
    font-size:15px;
    line-height:1.45;
  }
  .wv-dialog.wv-confirm-region-delete .wv-dialog-close{
    top:14px;
    right:14px;
    width:40px;
    height:40px;
  }
  .wv-dialog.wv-confirm-region-delete .wv-dialog-actions{
    gap:8px;
  }
  .wv-dialog.wv-confirm-region-delete .wv-dialog-actions .wv-secondary{
    width:112px;
    min-width:112px;
  }
  .wv-dialog.wv-confirm-region-delete .wv-dialog-actions .wv-danger{
    width:180px;
    min-width:180px;
    max-width:180px;
    font-size:14px;
  }
}


/* v25.10.67 — Nova venda: bloco Cliente compacto, operacional e alinhado ao painel */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card{
  padding:18px 20px 19px;
  border-color:rgba(83,145,190,.24);
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.wv-sale-customer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.wv-sale-customer-title{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.wv-sale-customer-icon{
  display:grid;
  place-items:center;
  flex:0 0 54px;
  width:54px;
  height:54px;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 7px 18px rgba(28,116,190,.10);
}
.wv-sale-customer-icon img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-title h2{
  margin:0;
  color:#133f6f;
  font:900 1.95rem/1.02 "Nunito",sans-serif;
  letter-spacing:-.02em;
}




.wv-sale-customer-search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  max-width:760px;
}
.wv-sale-customer-search-row .wv-customer-search{
  min-width:0;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row .wv-customer-search input{
  min-height:46px;
}
.wv-panel[data-water-panel="sale"] .wv-unidentified-inline{
  min-width:118px;
  min-height:46px;
  padding:9px 14px;
  justify-content:center;
  white-space:nowrap;
}
.wv-panel[data-water-panel="sale"] .wv-unidentified-inline .wv-unidentified-check{
  position:static;
  flex:0 0 auto;
  margin-right:5px;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card .wv-selected-customer{
  margin-top:10px;
}

@media(max-width:900px){
  .wv-sale-customer-head{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  
}
@media(max-width:720px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card{
    padding:16px;
  }
  .wv-sale-customer-icon{
    width:48px;
    height:48px;
    flex-basis:48px;
    border-radius:14px;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-title h2{
    font-size:1.55rem;
  }
  
  
  .wv-sale-customer-search-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
  }
  .wv-panel[data-water-panel="sale"] .wv-unidentified-inline{
    min-width:104px;
    padding-inline:10px;
  }
}
@media(max-width:520px){
  
  .wv-sale-customer-search-row{
    grid-template-columns:1fr;
  }
  .wv-panel[data-water-panel="sale"] .wv-unidentified-inline{
    width:100%;
  }
}


/* v25.10.68 — Nova venda: ícone Cliente preservado + nome avulso integrado ao campo */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-icon{
  width:58px;
  height:58px;
  flex-basis:58px;
  overflow:visible;
  border-radius:0;
  box-shadow:none;
  background:transparent;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-icon img{
  width:52px;
  height:52px;
  object-fit:contain;
  border-radius:16px;
  box-shadow:0 7px 18px rgba(28,116,190,.10);
}

.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
  max-width:760px;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box{
  min-width:0;
  overflow:visible;
  border:1px solid #c9ddea;
  border-radius:12px;
  background:#fbfdff;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box>span.wv-sale-customer-search-icon{
  z-index:2;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box input{
  min-height:46px;
  padding-right:176px;
  border:0!important;
  border-radius:11px;
  background:transparent!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box:focus-within{
  border-color:#62add9;
  box-shadow:0 0 0 4px rgba(8,120,209,.08);
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-button{
  position:absolute;
  z-index:3;
  top:5px;
  right:5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  max-width:164px;
  padding:0 11px;
  border:1px solid #c5dce9;
  border-radius:9px;
  background:#edf7fb;
  color:#164c75;
  font:900 12px/1 "Nunito",sans-serif;
  white-space:nowrap;
  cursor:pointer;
  transition:.16s ease;
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-button:hover{
  border-color:#8fc8e5;
  background:#e5f4fb;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active{
  border-color:#1589e4;
  background:#f2f9ff;
  box-shadow:0 0 0 3px rgba(21,137,228,.13);
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active>span.wv-sale-customer-search-icon{
  color:#1589e4;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active input{
  padding-right:145px;
  color:#123f69;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active .wv-name-only-inline-button{
  right:43px;
  max-width:96px;
  border-color:#1589e4;
  background:#1589e4;
  color:#fff;
  box-shadow:0 6px 14px rgba(21,137,228,.18);
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-cancel{
  position:static!important;
  z-index:3;
  grid-column:3!important;
  justify-self:end!important;
  align-self:center!important;
  inset:auto!important;
  transform:none!important;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  margin:0!important;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#6d879a;
  cursor:pointer;
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-cancel[hidden]{display:none!important}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-cancel:hover{background:#e3f1fa;color:#165f92}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-cancel svg{width:17px;height:17px}

@media(max-width:720px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-icon{
    width:52px;
    height:52px;
    flex-basis:52px;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-icon img{
    width:47px;
    height:47px;
    border-radius:14px;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box input{
    padding-right:151px;
  }
  .wv-panel[data-water-panel="sale"] .wv-name-only-inline-button{
    max-width:140px;
    padding-inline:9px;
    font-size:11px;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active input{
    padding-right:133px;
  }
}


/* v25.10.69 — Nova venda: ícone Cliente limpo + "Só nome" externo, compacto e com tooltip */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-icon{
  width:56px;
  height:56px;
  flex-basis:56px;
  display:grid;
  place-items:center;
  overflow:visible;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-icon img{
  display:block;
  width:48px;
  height:48px;
  object-fit:contain;
  object-position:center;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:8px;
  max-width:780px;
  align-items:center;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box{
  min-width:0;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box input{
  min-height:46px;
  padding-right:46px!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-mode-button{
  position:relative;
  overflow:visible;
  min-width:104px;
  min-height:46px;
  padding:9px 13px;
  justify-content:center;
  white-space:nowrap;
  font-size:14px!important;
  font-weight:900!important;
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-button{
  position:relative!important;
  inset:auto!important;
  max-width:none!important;
  height:auto!important;
  border:1px solid #c6dce9!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--wv-navy)!important;
  box-shadow:none!important;
  transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-button:hover{
  border-color:#8dc3e5!important;
  background:#f7fbfe!important;
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-button.active{
  border-color:#3a9ee0!important;
  background:linear-gradient(180deg,#f3faff,#eaf6ff)!important;
  color:#0b4f87!important;
  box-shadow:inset 0 0 0 1px rgba(58,158,224,.16)!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 39px!important;
  align-items:center!important;
  min-height:46px!important;
  padding:0 4px 0 0!important;
  border:1px solid #c9ddea!important;
  border-radius:12px!important;
  background:#fbfdff!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active:focus-within{
  border-color:#75b8e2!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active>span.wv-sale-customer-search-icon{
  position:static!important;
  grid-column:1!important;
  justify-self:center!important;
  color:#1589e4!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active input{
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  padding:0 6px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active .wv-name-only-inline-button{
  position:relative!important;
  inset:auto!important;
}
@media(max-width:720px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:7px;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-mode-button{
    min-width:96px;
    padding-inline:10px;
    font-size:13px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-icon{
    width:52px;
    height:52px;
    flex-basis:52px;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-icon img{
    width:44px;
    height:44px;
  }
}
@media(max-width:560px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .wv-panel[data-water-panel="sale"] .wv-unidentified-inline:not(.wv-name-only-inline-button){
    grid-column:2;
  }
  .wv-panel[data-water-panel="sale"] .wv-name-only-inline-button{
    grid-column:2;
    grid-row:1;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box{
    grid-row:1 / span 2;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-mode-button{
    min-width:102px;
    min-height:40px;
  }
}


/* v25.10.70 — Nova venda: ícone Cliente preservado, verificações verdes e edição de Só nome */
/* Usa a mesma lógica de enquadramento dos ícones do card Abrir caixa: área fixa e imagem inteira dentro dela. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-icon{
  display:grid!important;
  place-items:center!important;
  width:54px!important;
  height:54px!important;
  flex:0 0 54px!important;
  padding:3px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:drop-shadow(0 4px 8px rgba(20,58,94,.08))!important;
}
/* Todos os marcadores de verificação da Nova venda passam do azul para o verde. */
.wv-panel[data-water-panel="sale"] .wv-unidentified-check{
  background:#15956d!important;
  color:#fff!important;
  box-shadow:0 4px 10px rgba(21,149,109,.20)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-check{
  color:#15956d!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card.active .wv-region-check{
  background:#15956d!important;
  color:#fff!important;
  box-shadow:0 3px 8px rgba(21,149,109,.20)!important;
}
/* Verificação dentro do card de nome informado / cliente selecionado. */



@media(max-width:720px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-icon{
    width:50px!important;
    height:50px!important;
    flex-basis:50px!important;
    padding:3px!important;
  }
  
}


/* v25.10.71 — Nova venda: Novo cliente ao lado de Só nome + checks embutidos e período verificado */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head{
  justify-content:flex-start!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
  grid-template-columns:minmax(0,1fr) auto auto auto!important;
  gap:8px!important;
  width:100%;
  max-width:900px;
}
.wv-panel[data-water-panel="sale"] .wv-new-customer-inline,
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-button,
.wv-panel[data-water-panel="sale"] .wv-no-customer-inline{
  min-height:46px!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
}
.wv-panel[data-water-panel="sale"] .wv-new-customer-inline{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:118px;
  padding-inline:12px!important;
  border:1px solid #c6dce9!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--wv-navy)!important;
  box-shadow:none!important;
  white-space:nowrap;
}
.wv-panel[data-water-panel="sale"] .wv-new-customer-inline svg{
  width:16px!important;
  height:16px!important;
  stroke-width:2.4!important;
}
.wv-panel[data-water-panel="sale"] .wv-new-customer-inline:hover{
  border-color:#8dc3e5!important;
  background:#f7fbfe!important;
}
/* O check de Sem cliente fica dentro do próprio botão e não altera suas dimensões. */
.wv-panel[data-water-panel="sale"] .wv-no-customer-inline{
  position:relative!important;
  width:116px!important;
  min-width:116px!important;
  max-width:116px!important;
  padding:9px 28px 9px 10px!important;
  box-sizing:border-box!important;
}
.wv-panel[data-water-panel="sale"] .wv-no-customer-inline .wv-unidentified-check{
  position:absolute!important;
  top:50%!important;
  right:7px!important;
  left:auto!important;
  transform:translateY(-50%)!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  border-radius:999px!important;
  pointer-events:none;
}
.wv-panel[data-water-panel="sale"] .wv-no-customer-inline .wv-unidentified-check svg{
  width:12px!important;
  height:12px!important;
}
/* Verificação verde embutida no período selecionado, sem deslocar os botões. */




@media(max-width:860px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
    grid-template-columns:minmax(0,1fr) auto auto!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-no-customer-inline{
    grid-column:3;
  }
  .wv-panel[data-water-panel="sale"] .wv-new-customer-inline{
    grid-column:2;
  }
  .wv-panel[data-water-panel="sale"] .wv-name-only-inline-button{
    grid-column:3;
  }
}
@media(max-width:620px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box{
    grid-column:1/-1;
  }
  .wv-panel[data-water-panel="sale"] .wv-new-customer-inline,
  .wv-panel[data-water-panel="sale"] .wv-name-only-inline-button,
  .wv-panel[data-water-panel="sale"] .wv-no-customer-inline{
    grid-column:auto!important;
    grid-row:auto!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-new-customer-inline{
    min-width:0;
  }
}


/* v25.10.72 — Nova venda: barra expansível, botões modais e checks sobrepostos */
/* A barra ocupa suavemente o espaço dos outros modos sem aumentar o bloco. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
  overflow:visible;
  transition:grid-template-columns .24s cubic-bezier(.2,.72,.2,1),gap .24s ease;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box{
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.wv-panel[data-water-panel="sale"] .wv-sale-mode-button{
  overflow:hidden;
  transition:opacity .18s ease,transform .22s ease,max-width .24s ease,min-width .24s ease,padding .22s ease,border-width .18s ease;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode[data-customer-action-mode="new"]{
  grid-template-columns:minmax(0,1fr) auto 0 0!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode[data-customer-action-mode="name"]{
  grid-template-columns:minmax(0,1fr) 0 auto 0!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode[data-customer-action-mode="unidentified"]{
  grid-template-columns:minmax(0,1fr) 0 0 auto!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button:not(.mode-current){
  min-width:0!important;
  width:0!important;
  max-width:0!important;
  padding-left:0!important;
  padding-right:0!important;
  border-left-width:0!important;
  border-right-width:0!important;
  opacity:0!important;
  transform:translateX(10px) scale(.94);
  pointer-events:none!important;
  white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button.mode-current{
  opacity:1;
  transform:none;
}
/* Novo cliente recebe o mesmo tooltip compacto dos demais. */
.wv-panel[data-water-panel="sale"] .wv-new-customer-inline{
  position:relative!important;
}
/* Só nome: o botão externo cancela o modo; o check dentro da barra confirma. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active input{
  padding-right:6px!important;
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-cancel{
  color:#fff!important;
  background:#168fd0!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-cancel:hover{
  background:#0f7fc0!important;
  color:#fff!important;
}
.wv-panel[data-water-panel="sale"] .wv-name-only-inline-cancel svg{
  width:16px!important;
  height:16px!important;
  stroke-width:2.8!important;
}
/* Sem cliente: texto geometricamente central; o check fica sobreposto no canto. */
.wv-panel[data-water-panel="sale"] .wv-no-customer-inline{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:9px 12px!important;
  text-align:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-no-customer-inline .wv-unidentified-check{
  top:5px!important;
  right:5px!important;
  transform:none!important;
  width:17px!important;
  height:17px!important;
  z-index:2;
}
.wv-panel[data-water-panel="sale"] .wv-no-customer-inline .wv-unidentified-check svg{
  width:11px!important;
  height:11px!important;
}
/* Todos os checks informativos da Nova venda flutuam num canto sem participar do layout. */
.wv-panel[data-water-panel="sale"] .wv-selected-customer{
  position:relative!important;
}


.wv-panel[data-water-panel="sale"] .wv-region-check{
  position:absolute!important;
  top:7px!important;
  right:7px!important;
  width:19px!important;
  height:19px!important;
  margin:0!important;
  z-index:3;
  pointer-events:none;
}
.wv-panel[data-water-panel="sale"] .wv-region-check svg{
  width:12px!important;
  height:12px!important;
}


/* Produtos escolhidos: apenas o check verde sobreposto; nenhuma alteração de borda/fundo. */
.wv-panel[data-water-panel="sale"] .wv-product-variant,
.wv-panel[data-water-panel="sale"] .wv-product-tier-action{
  position:relative!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-choice-check{
  position:absolute;
  z-index:4;
  top:5px;
  right:5px;
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  margin:0;
  border-radius:999px;
  background:#15956d;
  color:#fff;
  font-style:normal;
  opacity:0;
  transform:scale(.78);
  transition:opacity .14s ease,transform .14s ease;
  pointer-events:none;
  box-shadow:0 3px 8px rgba(21,149,109,.18);
}
.wv-panel[data-water-panel="sale"] .wv-product-choice-check svg{
  width:11px!important;
  height:11px!important;
  stroke-width:2.8!important;
}
.wv-panel[data-water-panel="sale"] [data-add-price].is-selected .wv-product-choice-check{
  opacity:1;
  transform:scale(1);
}
@media(max-width:860px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode .wv-sale-customer-search-box{
    grid-column:1!important;
    grid-row:1!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button.mode-current{
    grid-column:2!important;
    grid-row:1!important;
  }
}
/* Mantém os tooltips dos botões visíveis; somente os modos recolhidos recortam o conteúdo. */
.wv-panel[data-water-panel="sale"] .wv-sale-mode-button{overflow:visible!important}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button:not(.mode-current){overflow:hidden!important}


/* v25.10.74 — Nova venda: seleção de cliente integrada, reimplementada sobre a base estável v25.10.72 */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.selection-confirmed{
  position:relative!important;
  border-color:#80cbae!important;
  background:linear-gradient(180deg,#f6fcf9 0%,#eef9f4 100%)!important;
  box-shadow:0 0 0 3px rgba(21,149,109,.09)!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.selection-confirmed>span.wv-sale-customer-search-icon{color:#15956d!important}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.selection-confirmed input{
  color:#164f3d!important;
  font-weight:900!important;
  padding-right:40px!important;
  cursor:default!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-selected-check{
  position:absolute!important;z-index:8;top:5px;right:5px;display:grid;place-items:center;
  width:18px;height:18px;margin:0;border-radius:999px;background:#15956d;color:#fff;
  box-shadow:0 3px 8px rgba(21,149,109,.18);font-style:normal;pointer-events:none;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-selected-check[hidden]{display:none!important}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-selected-check svg{width:11px!important;height:11px!important;stroke-width:2.8!important}

/* Seleção concluída: some com os modos e usa o espaço para Alterar / Excluir. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-customer-selection{
  grid-template-columns:minmax(0,1fr) auto auto!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-customer-selection .wv-sale-mode-button{display:none!important}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-selection-action{
  display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:46px;
  padding:9px 13px;border:1px solid #c6dce9;border-radius:11px;background:#fff;color:#174d77;
  font:900 14px/1 "Nunito",sans-serif;cursor:pointer;white-space:nowrap;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-selection-action[hidden]{display:none!important}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-selection-action:hover{border-color:#8dc3e5;background:#f5fbfe;transform:translateY(-1px)}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-selection-action.is-remove{border-color:#edc9cd;background:#fffafa;color:#b33c46}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-selection-action.is-remove:hover{border-color:#e2adb3;background:#fff2f3}

/* O bloco inferior deixa de repetir o nome: contém somente os três dados do cadastro. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card .wv-selected-customer{
  display:block;min-height:0;margin-top:12px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-meta article{
  display:grid;gap:4px;min-width:0;padding:11px 13px;border:1px solid #dce8ef;border-radius:12px;background:#fbfdff;
}
/* Referência visual: cards de Estoque rápido do Início — rótulo forte + valor principal maior. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-meta small{
  display:block;margin:0;color:#0c72be;font-size:12px!important;line-height:1.15;font-weight:900!important;letter-spacing:.035em;text-transform:uppercase;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-meta strong{
  display:block;min-width:0;overflow:hidden;color:#0b2f67!important;font-size:17px!important;line-height:1.15;font-weight:900!important;text-overflow:ellipsis;white-space:nowrap;
}
/* Sem cliente confirmado: o campo principal fica verde; o check continua sobreposto e não altera dimensões. */
.wv-panel[data-water-panel="sale"] .wv-no-customer-inline.active{
  border-color:#83cdb0!important;background:linear-gradient(180deg,#f5fcf8,#eefaf4)!important;color:#164f3d!important;
}
@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-customer-selection{grid-template-columns:minmax(0,1fr) auto auto!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-selection-action{min-width:66px;padding-inline:10px;font-size:13px}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-meta{gap:8px}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-meta article{padding:10px}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-meta strong{font-size:15px!important}
}
@media(max-width:560px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-customer-selection{grid-template-columns:1fr 1fr!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row.has-customer-selection .wv-sale-customer-search-box{grid-column:1/-1!important;grid-row:auto!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-selection-action{width:100%}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-meta{grid-template-columns:1fr}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-meta strong{font-size:16px!important}
}


/* v25.10.75 — Cliente: dados cadastrais compactos na faixa superior, sem aumentar o bloco para baixo */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:22px!important;
  margin-bottom:12px!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head>.wv-selected-customer{
  display:block!important;
  min-width:0!important;
  width:min(100%,560px)!important;
  justify-self:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head>.wv-selected-customer[hidden]{display:none!important}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta article{
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  gap:2px!important;
  min-width:0!important;
  min-height:46px!important;
  padding:6px 10px!important;
  border:1px solid #dce8ef!important;
  border-radius:10px!important;
  background:#fbfdff!important;
  text-align:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta small{
  display:block!important;
  margin:0!important;
  color:#0c72be!important;
  font-size:12px!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta strong{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  color:#0b2f67!important;
  font-size:17px!important;
  line-height:1.05!important;
  font-weight:900!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head{
    grid-template-columns:auto minmax(0,1fr)!important;
    column-gap:14px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head>.wv-selected-customer{width:100%!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta article{padding-inline:7px!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta small{font-size:11.5px!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta strong{font-size:15px!important}
}
@media(max-width:620px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head{
    grid-template-columns:1fr!important;
    row-gap:9px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head>.wv-selected-customer{justify-self:stretch!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta{gap:5px!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta article{min-height:42px!important;padding:5px 6px!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta small{font-size:9px!important;letter-spacing:0!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta strong{font-size:14px!important}
}


/* v25.10.76 — Cliente: metadados em uma única linha, sem cards */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head>.wv-selected-customer{
  width:auto!important;
  max-width:100%!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  max-width:100%!important;
  min-height:0!important;
  color:#0b2f67!important;
  font:900 15px/1.15 "Nunito",sans-serif!important;
  letter-spacing:-.01em!important;
  white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta>span{
  display:inline!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0b2f67!important;
  font:inherit!important;
  text-transform:none!important;
  letter-spacing:inherit!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta .wv-sale-customer-meta-id,
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta .wv-sale-customer-meta-orders{
  font-weight:900!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta .wv-sale-customer-meta-phone{
  font-weight:800!important;
}

@media(max-width:900px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta{
    gap:5px!important;
    font-size:14px!important;
  }
}
@media(max-width:620px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head>.wv-selected-customer{
    justify-self:center!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta{
    flex-wrap:wrap!important;
    row-gap:2px!important;
    font-size:13px!important;
  }
}


/* v25.10.77 — Cliente: metadados compactos em cápsulas no canto superior direito */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head{
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head>.wv-selected-customer{
  width:auto!important;
  max-width:100%!important;
  justify-self:end!important;
  margin:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  width:auto!important;
  max-width:100%!important;
  min-height:0!important;
  color:#727d88!important;
  font:900 14px/1.05 "Nunito",sans-serif!important;
  letter-spacing:-.01em!important;
  white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta>span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:29px!important;
  margin:0!important;
  padding:5px 9px!important;
  border:1px solid #dfe5eb!important;
  border-radius:9px!important;
  background:#f8fafb!important;
  box-shadow:none!important;
  color:#727d88!important;
  font:inherit!important;
  text-transform:none!important;
  letter-spacing:inherit!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta .wv-sale-customer-meta-phone{
  font-weight:800!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta .wv-sale-customer-meta-reseller{
  border-color:#c9e9fa!important;
  background:#eef9ff!important;
  color:#4b9bc8!important;
  font-weight:900!important;
}

@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta{
    gap:5px!important;
    font-size:13px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta>span{
    min-height:27px!important;
    padding:4px 7px!important;
    border-radius:8px!important;
  }
}
@media(max-width:620px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head{
    grid-template-columns:1fr!important;
    row-gap:8px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head>.wv-selected-customer{
    justify-self:end!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-head .wv-sale-customer-meta{
    justify-content:flex-end!important;
  }
}


/* v25.10.78 — Nova venda: Atendimento alinhado ao Cliente + regiões da Tabela de Valores + Turno compacto */
.wv-panel[data-water-panel="sale"] .wv-sale-attendance-head{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin-bottom:16px!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-attendance-icon{
  display:grid!important;
  place-items:center!important;
  width:54px!important;
  height:54px!important;
  flex:0 0 54px!important;
  padding:3px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-attendance-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:drop-shadow(0 4px 8px rgba(20,58,94,.08))!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-attendance-head h2{
  margin:0!important;
  color:#133f6f!important;
  font:900 1.95rem/1.02 "Nunito",sans-serif!important;
  letter-spacing:-.02em!important;
}

/* As mesmas paletas e os mesmos ícones usados na Tabela de Valores. */
.wv-panel[data-water-panel="sale"] .wv-region-card.theme-distribuidora{--wv-sale-region-accent:#6557df;--wv-sale-region-border:#bbb6f2;--wv-sale-region-bg:#f3f1ff;--wv-sale-region-bg-strong:#ebe8ff}
.wv-panel[data-water-panel="sale"] .wv-region-card.theme-farol{--wv-sale-region-accent:#168fd0;--wv-sale-region-border:#a9d9ef;--wv-sale-region-bg:#eef9ff;--wv-sale-region-bg-strong:#e0f4ff}
.wv-panel[data-water-panel="sale"] .wv-region-card.theme-praia-funda{--wv-sale-region-accent:#168d6d;--wv-sale-region-border:#afe0cf;--wv-sale-region-bg:#effbf6;--wv-sale-region-bg-strong:#e0f7ed}
.wv-panel[data-water-panel="sale"] .wv-region-card.theme-vai-quem-quer{--wv-sale-region-accent:#df7818;--wv-sale-region-border:#f2c38f;--wv-sale-region-bg:#fff5e9;--wv-sale-region-bg-strong:#ffe9cf}
.wv-panel[data-water-panel="sale"] .wv-region-card.theme-fazendinha{--wv-sale-region-accent:#b98a08;--wv-sale-region-border:#e8d27d;--wv-sale-region-bg:#fff9df;--wv-sale-region-bg-strong:#fff2b9}
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card[class*="theme-"],
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card[class*="theme-"]{
  border-color:var(--wv-sale-region-border)!important;
  background:linear-gradient(180deg,#fff 0%,var(--wv-sale-region-bg) 100%)!important;
  box-shadow:0 6px 18px color-mix(in srgb,var(--wv-sale-region-accent) 6%,transparent)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card[class*="theme-"]:hover,
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card[class*="theme-"]:hover{
  border-color:var(--wv-sale-region-accent)!important;
  background:linear-gradient(180deg,#fff 0%,var(--wv-sale-region-bg-strong) 100%)!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--wv-sale-region-accent) 10%,transparent)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card[class*="theme-"].active,
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card[class*="theme-"].active{
  border-color:var(--wv-sale-region-accent)!important;
  background:linear-gradient(180deg,#fff 0%,var(--wv-sale-region-bg-strong) 100%)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--wv-sale-region-accent) 12%,transparent),0 8px 20px color-mix(in srgb,var(--wv-sale-region-accent) 10%,transparent)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"] .wv-region-badge{
  border:1px solid color-mix(in srgb,var(--wv-sale-region-accent) 20%,transparent)!important;
  background:color-mix(in srgb,var(--wv-sale-region-bg) 86%,#fff)!important;
  color:var(--wv-sale-region-accent)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"] .wv-region-icon{
  width:48px!important;
  height:48px!important;
  margin:4px 0 1px!important;
  color:inherit!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"] .wv-region-icon img{
  display:block!important;
  width:46px!important;
  height:46px!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:drop-shadow(0 4px 8px color-mix(in srgb,var(--wv-sale-region-accent) 12%,transparent))!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"] .wv-region-name{
  color:#12375f!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"] .wv-region-min{
  color:var(--wv-sale-region-accent)!important;
  font-weight:800!important;
  text-transform:none!important;
}

/* Turno da venda: toggle segmentado de três posições com um único indicador móvel. */
.wv-panel[data-water-panel="sale"] .wv-sale-period-block{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  margin-top:14px!important;
  padding:10px 12px!important;
  border:1px solid #dbe8f0!important;
  border-radius:13px!important;
  background:#f8fbfd!important;
}


@media(hover:hover){
  
}













@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-sale-attendance-icon{
    width:50px!important;
    height:50px!important;
    flex-basis:50px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-attendance-head h2{font-size:1.55rem!important}
  .wv-panel[data-water-panel="sale"] .wv-sale-period-block{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  
}



/* v25.10.80 — Nova venda: regiões neutras até seleção + turno em linha gradiente. */
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card[class*="theme-"],
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card[class*="theme-"]{
  border-color:#d7e3ea!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbfd 100%)!important;
  box-shadow:0 5px 14px rgba(24,65,95,.045)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card[class*="theme-"]:hover,
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card[class*="theme-"]:hover{
  border-color:#aec9d9!important;
  background:linear-gradient(180deg,#fff 0%,#f2f8fb 100%)!important;
  box-shadow:0 7px 16px rgba(24,65,95,.07)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"]:not(.active) .wv-region-badge{
  border-color:#dce6ec!important;
  background:#f5f8fa!important;
  color:#73899a!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"]:not(.active) .wv-region-min{
  color:#71879a!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card[class*="theme-"].active,
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card[class*="theme-"].active{
  border-color:var(--wv-sale-region-accent)!important;
  background:linear-gradient(180deg,#fff 0%,var(--wv-sale-region-bg-strong) 100%)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--wv-sale-region-accent) 12%,transparent),0 8px 20px color-mix(in srgb,var(--wv-sale-region-accent) 10%,transparent)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"].active .wv-region-badge{
  border-color:color-mix(in srgb,var(--wv-sale-region-accent) 24%,transparent)!important;
  background:color-mix(in srgb,var(--wv-sale-region-bg) 88%,#fff)!important;
  color:var(--wv-sale-region-accent)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"].active .wv-region-min{
  color:var(--wv-sale-region-accent)!important;
}












@media(hover:hover){
  
}


@media(max-width:760px){
  
}


/* v25.10.81 — Nova venda: faixa de turno mais longa para evidenciar o gradiente. */
@media(min-width:761px){
  
  
}
@media(max-width:760px){
  
}

/* v25.10.82 — Nova venda: progresso cromático do turno até a opção selecionada. */









/* v25.10.83 — Nova venda: transição suave do progresso cromático do turno. */














/* v25.10.84 — Nova venda: seletor de turno no topo direito, sem placa de seleção. */
.wv-panel[data-water-panel="sale"] .wv-attendance-step{
  position:relative!important;
}
@media(min-width:761px){
  .wv-panel[data-water-panel="sale"] .wv-sale-attendance-head{
    padding-right:52%!important;
    min-height:54px!important;
  }
  
  
}


@media(max-width:760px){
  
  
}


/* v25.10.85 — Nova venda: turno automático/manual, faixa levemente menor e seleção única verde das regiões. */
@media(min-width:761px){
  .wv-panel[data-water-panel="sale"] .wv-sale-attendance-head{
    padding-right:46%!important;
  }
  
}
/* A seleção regional passa a ter uma única linguagem visual verde, sem reaproveitar a paleta individual da região. */
.wv-panel[data-water-panel="sale"] .wv-region-grid .wv-region-card[class*="theme-"].active,
.wv-panel[data-water-panel="sale"] .wv-more-regions .wv-region-card[class*="theme-"].active{
  border-color:#83cdb0!important;
  background:linear-gradient(180deg,#f8fdfb 0%,#eefaf4 100%)!important;
  box-shadow:0 0 0 2px rgba(21,149,109,.09),0 8px 20px rgba(21,149,109,.09)!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"].active .wv-region-badge{
  border-color:#b8dfce!important;
  background:#edf8f3!important;
  color:#167253!important;
}
.wv-panel[data-water-panel="sale"] .wv-region-card[class*="theme-"].active .wv-region-min{
  color:#167253!important;
}

/* v25.10.86 — Nova venda: turno sem bordas brancas + cabeçalho Produtos alinhado a Cliente/Atendimento. */
/* O estado do turno continua indicado pelo gradiente progressivo e pela cor do ícone ativo,
   sem contornos ou divisórias brancas adicionais. */




.wv-panel[data-water-panel="sale"] .wv-products-head{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  margin-bottom:16px!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-products-icon{
  display:grid!important;
  place-items:center!important;
  width:54px!important;
  height:54px!important;
  flex:0 0 54px!important;
  padding:2px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-products-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:drop-shadow(0 4px 8px rgba(20,58,94,.08))!important;
}
.wv-panel[data-water-panel="sale"] .wv-products-head h2{
  margin:0!important;
  color:#133f6f!important;
  font:900 1.95rem/1.02 "Nunito",sans-serif!important;
  letter-spacing:-.02em!important;
}
@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-sale-products-icon{
    width:50px!important;
    height:50px!important;
    flex-basis:50px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-products-head h2{
    font-size:1.55rem!important;
  }
}



/* v25.11.6 — Nova venda / Produtos canônico: Garrafões e Pacotes na mesma estrutura; PAC./REC./COM. com descrições. */
.wv-panel[data-water-panel="sale"] .wv-product-categories{
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:9px;width:max-content;max-width:100%;margin:-3px 0 12px;
}
.wv-panel[data-water-panel="sale"] .wv-product-categories button{
  min-height:36px;padding:7px 13px;border:1px solid #d6e2ea;border-radius:11px;background:#fff;color:#647b90;font:850 14px/1 "Nunito",sans-serif;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease;
}
.wv-panel[data-water-panel="sale"] .wv-product-categories button:hover{border-color:#9ec8e6;background:#f8fbfd;color:#25689d}
.wv-panel[data-water-panel="sale"] .wv-product-categories button.active{border-color:#54a8df;background:#eef8ff;color:#0b6aaa;box-shadow:inset 0 0 0 1px rgba(84,168,223,.08)}
.wv-panel[data-water-panel="sale"] .wv-product-grid{
  grid-template-columns:repeat(auto-fill,248px)!important;gap:10px!important;justify-content:start!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family{
  position:relative;display:block!important;width:248px!important;max-width:248px!important;box-sizing:border-box!important;min-height:0!important;padding:9px 7px 8px!important;border:1px solid #d9e4eb!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.wv-panel[data-water-panel="sale"] .wv-product-family.is-selected{border-color:#82c9ad!important;background:#fbfefc!important;box-shadow:0 0 0 2px rgba(21,149,109,.07)!important}
.wv-panel[data-water-panel="sale"] .wv-product-family-id{
  display:grid!important;grid-template-columns:max-content 7px max-content!important;align-items:center!important;justify-content:center!important;min-width:0!important;gap:3px!important;margin:0 0 11px!important;white-space:nowrap!important;overflow:visible!important;padding-top:2px!important;text-align:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-id>small{
  color:#0872c6!important;font-size:19px!important;font-weight:900!important;line-height:1.24!important;letter-spacing:-.025em!important;white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-id>span{
  color:#9bb2c6!important;font-size:11px!important;font-weight:900!important;line-height:1.2!important;text-align:center!important;white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-id>h3{
  min-width:0!important;margin:0!important;color:#0f4677!important;font-size:19px!important;font-weight:900!important;line-height:1.24!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;letter-spacing:-.018em!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-id>em{
  display:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-body{
  display:grid!important;grid-template-columns:68px 154px!important;align-items:center!important;gap:8px!important;min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-card-left,
.wv-panel[data-water-panel="sale"] .wv-product-card-right{min-width:0!important}
.wv-panel[data-water-panel="sale"] .wv-product-card-left{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-thumb{
  width:64px!important;height:64px!important;margin:0!important;display:grid!important;place-items:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-thumb img{
  max-width:60px!important;max-height:60px!important;object-fit:contain!important;filter:drop-shadow(0 3px 5px rgba(8,68,112,.07))!important;
}
/* Garrafão menor para o estoque caber imediatamente abaixo sem quebrar linha. */
.wv-panel[data-water-panel="sale"] .wv-product-family.category-bottles .wv-product-family-thumb{
  width:50px!important;height:52px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family.category-bottles .wv-product-family-thumb img{
  max-width:42px!important;max-height:48px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-card-right{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-variants{
  display:grid!important;justify-items:start!important;align-content:center!important;gap:9px!important;margin:0!important;width:auto!important;max-width:100%!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-option-group{
  display:grid!important;justify-items:start!important;gap:4px!important;width:auto!important;max-width:100%!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-variant{
  width:154px!important;min-width:154px!important;max-width:154px!important;min-height:38px!important;padding:6px 8px!important;box-sizing:border-box!important;border:1px solid #d9e6ee!important;border-radius:8px!important;background:#fbfdfe!important;box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-variant:hover{border-color:#8cc6e7!important;background:#f4fbff!important;box-shadow:none!important;transform:none!important}
.wv-panel[data-water-panel="sale"] .wv-product-variant.is-selected{border-color:#82c9ad!important;background:#f4fbf7!important}
.wv-panel[data-water-panel="sale"] .wv-product-variant-main{
  display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:center!important;justify-content:stretch!important;column-gap:5px!important;min-width:0!important;width:100%!important;text-align:left!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-variant.price-only{min-width:104px!important}
.wv-panel[data-water-panel="sale"] .wv-product-variant.price-only .wv-product-variant-main{display:flex!important;justify-content:center!important;text-align:center!important}
.wv-panel[data-water-panel="sale"] .wv-product-variant-main b{
  color:#60758a!important;font-size:16px!important;font-weight:950!important;letter-spacing:.02em!important;white-space:nowrap!important;text-align:left!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-price,
.wv-panel[data-water-panel="sale"] .wv-product-variant.price-only .wv-product-price{min-width:0!important;justify-self:end!important;text-align:right!important}
.wv-panel[data-water-panel="sale"] .wv-product-price strong,
.wv-panel[data-water-panel="sale"] .wv-product-variant-main strong{
  color:#0e4677!important;font-size:21px!important;font-weight:950!important;line-height:1.04!important;white-space:nowrap!important;text-align:right!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-variant>small{display:none!important}
.wv-panel[data-water-panel="sale"] .wv-product-tier-actions{display:flex!important;flex-wrap:wrap!important;gap:4px!important}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;min-height:28px!important;padding:4px 7px!important;border:1px solid #dde7ed!important;border-radius:8px!important;background:#f8fafb!important;color:#607589!important;box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action:hover{border-color:#9ac9e5!important;background:#f2f9fd!important}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action.is-selected{border-color:#8acdb4!important;background:#f3faf7!important}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action>span{color:#667c8f!important;font-size:13.5px!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important}
.wv-panel[data-water-panel="sale"] .wv-product-tier-action>span strong{color:#385b78!important;font-size:14.5px!important;font-weight:950!important}

/* Pacotes seguem a mesma organização dos Garrafões: opção principal em linha e atacado secundário alinhado. */
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages .wv-product-variant{
  width:154px!important;min-width:154px!important;max-width:154px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages .wv-product-variant-main{
  grid-template-columns:40px minmax(0,1fr)!important;column-gap:5px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages .wv-product-tier-actions{
  display:grid!important;grid-template-columns:1fr!important;width:154px!important;gap:5px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages .wv-product-tier-action{
  width:154px!important;min-width:154px!important;max-width:154px!important;min-height:31px!important;padding:5px 8px!important;box-sizing:border-box!important;justify-content:flex-start!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages .wv-product-tier-action>span{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;width:100%!important;text-align:left!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-stock-row{
  display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:0!important;width:68px!important;max-width:68px!important;margin:2px 0 0!important;padding:0!important;white-space:nowrap!important;overflow:visible!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-stock,
.wv-panel[data-water-panel="sale"] .wv-product-family-stock.available,
.wv-panel[data-water-panel="sale"] .wv-product-family-stock.low,
.wv-panel[data-water-panel="sale"] .wv-product-family-stock.empty,
.wv-panel[data-water-panel="sale"] .wv-product-family-stock.historical{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:68px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#8799ab!important;gap:4px!important;white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-stock::before{display:none!important}
.wv-panel[data-water-panel="sale"] .wv-product-family-stock .wv-product-stock-icon{display:grid!important;place-items:center!important;width:15px!important;height:15px!important;flex:0 0 15px!important;color:#8799ab!important}
.wv-panel[data-water-panel="sale"] .wv-product-family-stock .wv-product-stock-icon svg{width:15px!important;height:15px!important;stroke:#8799ab!important;stroke-width:1.9!important}
.wv-panel[data-water-panel="sale"] .wv-product-family-stock>b{margin:0!important;color:#8799ab!important;font-size:14px!important;font-weight:900!important}
.wv-panel[data-water-panel="sale"] .wv-product-family-stock>strong{color:#7f92a6!important;font-size:16.5px!important;font-weight:900!important}
.wv-panel[data-water-panel="sale"] .wv-product-choice-check{top:3px!important;right:3px!important;width:16px!important;height:16px!important}
.wv-panel[data-water-panel="sale"] .wv-product-choice-check svg{width:10px!important;height:10px!important}
@media(max-width:980px){
  .wv-panel[data-water-panel="sale"] .wv-product-grid{grid-template-columns:repeat(auto-fill,248px)!important;justify-content:start!important}
}
@media(max-width:640px){
  .wv-panel[data-water-panel="sale"] .wv-product-family{width:248px!important;max-width:248px!important;padding:9px 7px 8px!important}
  .wv-panel[data-water-panel="sale"] .wv-product-family-id>small,
  .wv-panel[data-water-panel="sale"] .wv-product-family-id>h3{font-size:19px!important;font-weight:900!important}
  .wv-panel[data-water-panel="sale"] .wv-product-family-body{grid-template-columns:68px 154px!important;gap:8px!important}
  .wv-panel[data-water-panel="sale"] .wv-product-categories button{min-height:35px!important;padding:7px 12px!important}
}
@media(max-width:480px){
  .wv-panel[data-water-panel="sale"] .wv-product-grid{grid-template-columns:1fr!important}
  .wv-panel[data-water-panel="sale"] .wv-product-family{width:100%!important;max-width:none!important}
  .wv-panel[data-water-panel="sale"] .wv-product-family-body{grid-template-columns:62px minmax(0,1fr)!important;gap:7px!important}
  .wv-panel[data-water-panel="sale"] .wv-product-variant{width:154px!important;min-width:154px!important;max-width:154px!important;padding:6px 8px!important;box-sizing:border-box!important}
  .wv-panel[data-water-panel="sale"] .wv-product-variant-main strong{font-size:21px!important}
}

/* v25.10.94 — Nova venda / Toggle de turno canônico: proporção corrigida e gradiente quente → azul por estado. */
.wv-panel[data-water-panel="sale"] .wv-attendance-step{position:relative!important}
@media(min-width:761px){
  .wv-panel[data-water-panel="sale"] .wv-sale-attendance-head{
    min-height:54px!important;
    padding-right:214px!important;
    margin-bottom:10px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-period-block.wv-shift-slot{
    position:absolute!important;
    top:8px!important;
    right:18px!important;
    z-index:6!important;
    width:190px!important;
    height:46px!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle{
  --wv-warm-scale:.34;
  --wv-night-scale:0;
  position:relative!important;
  width:190px!important;
  height:46px!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  align-items:center!important;
  justify-items:center!important;
  gap:0!important;
  padding:5px 6px!important;
  border:1px solid #dbe3ea!important;
  border-radius:23px!important;
  background:linear-gradient(180deg,rgba(252,253,254,.98),rgba(244,247,249,.98))!important;
  box-shadow:0 5px 12px rgba(25,48,70,.05),inset 0 1px 0 rgba(255,255,255,.98)!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="morning"]{
  --wv-warm-scale:.34;
  --wv-night-scale:0;
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="afternoon"]{
  --wv-warm-scale:.76;
  --wv-night-scale:0;
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="night"]{
  --wv-warm-scale:.62;
  --wv-night-scale:1;
}
.wv-panel[data-water-panel="sale"] .wv-shift-rail{
  position:absolute!important;
  left:29px!important;
  right:29px!important;
  top:50%!important;
  height:7px!important;
  transform:translateY(-50%)!important;
  z-index:0!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#e9edf1 0%,#dfe5ea 100%)!important;
  box-shadow:inset 0 1px 2px rgba(95,119,143,.09)!important;
  pointer-events:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-rail-warm,
.wv-panel[data-water-panel="sale"] .wv-shift-rail-night{
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  display:block!important;
  pointer-events:none!important;
  transition:transform .36s cubic-bezier(.22,.61,.36,1),opacity .30s ease,filter .30s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-rail-warm{
  left:0!important;
  width:100%!important;
  transform-origin:left center!important;
  transform:scaleX(var(--wv-warm-scale))!important;
  background:linear-gradient(90deg,#fff0a5 0%,#ffdc5d 42%,#ffb13d 76%,rgba(255,177,61,0) 100%)!important;
  box-shadow:0 0 8px rgba(255,185,60,.16)!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="morning"] .wv-shift-rail-warm{
  background:linear-gradient(90deg,#fff3ad 0%,#ffdc60 68%,rgba(255,216,77,0) 100%)!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="afternoon"] .wv-shift-rail-warm{
  background:linear-gradient(90deg,#fff0a5 0%,#ffd84d 40%,#ffae3d 68%,rgba(255,174,61,0) 100%)!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="night"] .wv-shift-rail-warm{
  background:linear-gradient(90deg,#fff0a5 0%,#ffd84d 38%,#ffad39 72%,rgba(255,173,57,.18) 100%)!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-rail-night{
  left:62%!important;
  right:0!important;
  transform-origin:left center!important;
  transform:scaleX(var(--wv-night-scale))!important;
  opacity:var(--wv-night-scale)!important;
  background:linear-gradient(90deg,rgba(49,104,210,0) 0%,rgba(49,104,210,.18) 14%,rgba(49,104,210,.48) 34%,#315fca 58%,#173d96 82%,#0b2a70 100%)!important;
  box-shadow:0 0 8px rgba(28,72,165,.16)!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-active-halo{
  position:absolute!important;
  top:5px!important;
  width:36px!important;
  height:36px!important;
  box-sizing:border-box!important;
  z-index:1!important;
  left:18px!important;
  border:1px solid rgba(242,174,49,.62)!important;
  border-radius:12px!important;
  background:rgba(255,249,236,.58)!important;
  box-shadow:0 3px 9px rgba(244,174,43,.12)!important;
  pointer-events:none!important;
  transition:left .34s cubic-bezier(.22,.61,.36,1),border-color .28s ease,box-shadow .28s ease,background .28s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="morning"] .wv-shift-active-halo{left:18px!important}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="afternoon"] .wv-shift-active-halo{left:77px!important}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="night"] .wv-shift-active-halo{
  left:136px!important;
  border-color:rgba(45,84,175,.55)!important;
  background:rgba(237,243,255,.68)!important;
  box-shadow:0 3px 9px rgba(38,76,165,.12)!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-choice{
  position:relative!important;
  z-index:2!important;
  width:46px!important;
  height:36px!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
  transform:none!important;
  cursor:pointer!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-icon{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:11px!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  transition:transform .32s cubic-bezier(.22,.61,.36,1),filter .28s ease,opacity .28s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-icon img{
  display:block!important;
  width:34px!important;
  height:34px!important;
  object-fit:contain!important;
  border-radius:10px!important;
  filter:grayscale(1) saturate(0) brightness(1.06) opacity(.56)!important;
  opacity:.78!important;
  transition:filter .32s ease,opacity .32s ease,transform .32s cubic-bezier(.22,.61,.36,1)!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-choice.active .wv-shift-icon{transform:translateY(-1px) scale(1.025)!important}
.wv-panel[data-water-panel="sale"] .wv-shift-choice.active .wv-shift-icon img{filter:none!important;opacity:1!important;transform:scale(1.005)!important}
.wv-panel[data-water-panel="sale"] .wv-shift-choice:hover .wv-shift-icon{transform:translateY(-1px)!important}
.wv-panel[data-water-panel="sale"] .wv-shift-choice.active:hover .wv-shift-icon{transform:translateY(-1px) scale(1.025)!important}
.wv-panel[data-water-panel="sale"] .wv-shift-choice:focus-visible{outline:none!important}
.wv-panel[data-water-panel="sale"] .wv-shift-choice:focus-visible .wv-shift-icon{box-shadow:0 0 0 2px rgba(244,177,50,.18)!important}
@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-sale-period-block.wv-shift-slot{
    width:100%!important;
    height:auto!important;
    margin:10px 0 0!important;
    padding:0!important;
    display:flex!important;
    justify-content:center!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-shift-toggle{width:190px!important;height:46px!important}
}

/* v25.11.8 — Nova venda / Resumo da venda: tipografia ampliada para leitura em 100% sem perder compacidade. */
.wv-panel[data-water-panel="sale"] .wv-order-card{
  padding:16px!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(14,57,93,.07)!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:0!important;
  border:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-head h2{
  margin:0!important;
  color:#103a69!important;
  font-size:22px!important;
  font-weight:950!important;
  line-height:1.12!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-head button{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-height:28px!important;
  padding:4px 7px!important;
  border-radius:8px!important;
  color:#8293a1!important;
  font-size:12.5px!important;
  font-weight:850!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-head button:hover{background:#fff3f4!important;color:#b24851!important}
.wv-panel[data-water-panel="sale"] .wv-order-head button svg{width:13px!important;height:13px!important}
.wv-panel[data-water-panel="sale"] .wv-order-context{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:10px 0 8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-chip{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  padding:5px 8px!important;
  border:1px solid #e1e8ee!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  color:#60758a!important;
  font-size:12.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-chip>i{
  width:6px!important;height:6px!important;flex:0 0 6px!important;border-radius:999px!important;background:currentColor!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-chip.customer{border-color:#f2d7eb!important;background:#fff7fc!important;color:#a85491!important}
.wv-panel[data-water-panel="sale"] .wv-order-chip.attendance{border-color:#d4eadf!important;background:#f5fbf8!important;color:#337d64!important}
.wv-panel[data-water-panel="sale"] .wv-order-chip span{font-weight:900!important}
.wv-panel[data-water-panel="sale"] .wv-order-chip em{font-style:normal!important;opacity:.58!important}
.wv-panel[data-water-panel="sale"] .wv-order-chip strong{
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:inherit!important;font-size:12.5px!important;font-weight:850!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart{
  display:grid!important;
  gap:7px!important;
  max-height:330px!important;
  margin:8px 0 10px!important;
  padding:0 2px 0 0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart .wv-cart-item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:10px 30px 10px 8px!important;
  border:1px solid #e2ebf1!important;
  border-radius:12px!important;
  background:#fbfdfe!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart .wv-cart-item.price-override{border-color:#efd8a7!important;background:#fffdf7!important}






.wv-panel[data-water-panel="sale"] .wv-cart-rule-chip{
  display:inline-flex!important;align-items:center!important;min-height:18px!important;padding:2px 5px!important;border-radius:999px!important;background:#edf7fd!important;color:#0872b8!important;font-size:11.5px!important;font-weight:900!important;line-height:1!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-rule-chip.warning{background:#fff4dc!important;color:#976312!important}



















.wv-panel[data-water-panel="sale"] .wv-cart-empty{padding:18px 8px!important}
.wv-panel[data-water-panel="sale"] .wv-order-total{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:4px 0 9px!important;padding:10px 12px!important;border:1px solid #d9eaf5!important;border-radius:12px!important;background:linear-gradient(135deg,#f5fbff,#edf8fd)!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-total>div{display:grid!important;gap:1px!important}
.wv-panel[data-water-panel="sale"] .wv-order-total span{color:#285675!important;font-size:14.5px!important;font-weight:900!important}
.wv-panel[data-water-panel="sale"] .wv-order-total small{max-width:180px!important;color:#72889a!important;font-size:11.5px!important;line-height:1.2!important}
.wv-panel[data-water-panel="sale"] .wv-order-total strong{color:#073c72!important;font-size:29px!important;font-weight:950!important;letter-spacing:-.035em!important;white-space:nowrap!important}
.wv-panel[data-water-panel="sale"] .wv-route-sale{margin:0 0 8px!important;padding:7px 9px!important;border-radius:9px!important}
.wv-panel[data-water-panel="sale"] .wv-payment{
  display:grid!important;gap:7px!important;margin-top:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment>h3{display:none!important}














.wv-panel[data-water-panel="sale"] .wv-mixed-payment-panel{
  gap:6px!important;margin:0!important;padding:8px!important;border-radius:10px!important;
}
.wv-panel[data-water-panel="sale"] .wv-mixed-payment-grid{gap:5px!important}
.wv-panel[data-water-panel="sale"] .wv-mixed-payment-grid label{gap:3px!important;font-size:12px!important}
.wv-panel[data-water-panel="sale"] .wv-mixed-payment-grid input{min-height:33px!important;padding:0 7px!important;font-size:13.5px!important}
.wv-panel[data-water-panel="sale"] .wv-mixed-payment-panel>small{display:none!important}
.wv-panel[data-water-panel="sale"] .wv-mixed-payment-balance{padding:6px 8px!important;font-size:11.5px!important}
.wv-panel[data-water-panel="sale"] .wv-sale-credit-condition{margin:0!important;padding:8px!important;border-radius:10px!important}










.wv-panel[data-water-panel="sale"] .wv-submit-sale{
  min-height:50px!important;margin-top:10px!important;border-radius:12px!important;font-size:17px!important;
}
@media(max-width:430px){
  .wv-panel[data-water-panel="sale"] .wv-order-card{padding:14px!important}
  .wv-panel[data-water-panel="sale"] .wv-order-context{display:grid!important;grid-template-columns:1fr!important}
  .wv-panel[data-water-panel="sale"] .wv-order-chip{max-width:100%!important}
  .wv-panel[data-water-panel="sale"] .wv-cart .wv-cart-item{grid-template-columns:36px minmax(0,1fr)!important;padding-right:29px!important}
  
  .wv-panel[data-water-panel="sale"] .wv-mixed-payment-grid{grid-template-columns:1fr!important}
  .wv-panel[data-water-panel="sale"] .wv-order-total strong{font-size:27px!important}
}


/* v25.11.13 — Cliente compacto: uma única linha estrutural, sem linha vazia superior/inferior */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card{
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  align-self:start!important;
  padding:18px 20px 19px!important;
  transition:border-color .28s ease,box-shadow .28s ease,background .28s ease;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-layout{
  display:block;
  min-height:0;
  height:auto;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-title h2{
  opacity:1;
  transition:opacity .16s ease;
}
/*
  No estado compacto, todo o conteúdo vira UMA faixa flex real:
  [ícone fixo] [cliente selecionado + Alterar + Excluir] [metadados, quando existirem].
  O ícone não ganha uma linha própria e o card termina logo após essa faixa.
*/
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-layout{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  height:auto!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-head{
  display:contents!important;
  margin:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-title{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 0 54px!important;
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  gap:0!important;
  margin:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-title h2{
  display:none!important;
}
/* v25.11.14 — Compactação preserva exatamente o mesmo tamanho do ícone no estado normal. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-icon{
  flex:0 0 54px!important;
  width:54px!important;
  height:54px!important;
  margin:0!important;
  align-self:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-icon img{
  width:100%!important;
  height:100%!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-search-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  gap:9px!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-search-box,
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-search-box input{
  min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-search-box input{
  min-height:46px!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-selection-action{
  min-height:46px!important;
  min-width:76px!important;
  padding:9px 13px!important;
  border-radius:11px!important;
  font-size:14px!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-selected-customer{
  flex:0 1 auto!important;
  width:auto!important;
  max-width:min(100%,430px)!important;
  min-width:0!important;
  margin:0!important;
  align-self:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-selected-customer[hidden]{
  display:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-meta>span{
  min-height:29px!important;
  padding:5px 9px!important;
  border-radius:9px!important;
  font-size:14px!important;
  white-space:nowrap!important;
}
/* O fluxo inteiro da Nova venda sempre mede cada card pelo próprio conteúdo. */
.wv-panel[data-water-panel="sale"] .wv-sale-flow{
  align-content:start!important;
  grid-auto-rows:max-content!important;
}
@media(max-width:1180px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-layout{
    flex-wrap:wrap!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-selected-customer:not([hidden]){
    flex:1 0 calc(100% - 70px)!important;
    margin-left:70px!important;
    max-width:calc(100% - 70px)!important;
  }
}
@media(max-width:720px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card{
    padding:16px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-title{
    flex-basis:50px!important;
    width:50px!important;
    min-width:50px!important;
    max-width:50px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-icon{
    flex-basis:50px!important;
    width:50px!important;
    height:50px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-icon img{
    width:100%!important;
    height:100%!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-selected-customer:not([hidden]){
    flex-basis:100%!important;
    margin-left:60px!important;
    max-width:calc(100% - 60px)!important;
  }
}
@media(max-width:560px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-layout{
    align-items:flex-start!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-search-row.has-customer-selection{
    grid-template-columns:1fr 1fr!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-search-row.has-customer-selection .wv-sale-customer-search-box{
    grid-column:1/-1!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-selection-action{
    width:100%!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card,
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-title h2{transition:none!important}
}


/* v25.11.15 — Atendimento compacto após seleção: remove apenas tarjas, preservando ícone e tipografia. */
.wv-panel[data-water-panel="sale"] .wv-attendance-step .wv-region-card{
  transition:min-height .28s cubic-bezier(.22,.61,.36,1),padding .28s cubic-bezier(.22,.61,.36,1),border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-attendance-step .wv-region-badge,
.wv-panel[data-water-panel="sale"] .wv-attendance-step .wv-region-min{
  transition:opacity .16s ease,transform .22s ease,max-height .22s ease,margin .22s ease,padding .22s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-region-grid .wv-region-card,
.wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-more-regions .wv-region-card{
  grid-template-rows:0 48px minmax(42px,1fr) 0!important;
  min-height:112px!important;
  padding:9px 10px!important;
}
.wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-region-badge,
.wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-region-min{
  min-height:0!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  border-top-width:0!important;
  border-bottom-width:0!important;
  opacity:0!important;
  visibility:hidden!important;
  overflow:hidden!important;
  transform:scale(.96)!important;
  pointer-events:none!important;
}
/* Ícone e nome mantêm exatamente as medidas/fontes já aprovadas; só as tarjas deixam de consumir altura. */
.wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-region-icon{
  width:48px!important;
  height:48px!important;
  margin:4px 0 1px!important;
}
.wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-region-icon img{
  width:46px!important;
  height:46px!important;
}
.wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-region-name{
  font-size:15px!important;
  line-height:1.28!important;
}
@media(max-width:720px){
  .wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-region-grid .wv-region-card,
  .wv-panel[data-water-panel="sale"] .wv-attendance-step.is-region-compact .wv-more-regions .wv-region-card{
    min-height:110px!important;
    padding:8px 9px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .wv-panel[data-water-panel="sale"] .wv-attendance-step .wv-region-card,
  .wv-panel[data-water-panel="sale"] .wv-attendance-step .wv-region-badge,
  .wv-panel[data-water-panel="sale"] .wv-attendance-step .wv-region-min{transition:none!important}
}

/* v25.11.16 — Produtos: categorias centralizadas na mesma linha do título, sem alterar tipografia. */
.wv-panel[data-water-panel="sale"] .wv-products-topline{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-height:54px!important;
  margin-bottom:16px!important;
}
.wv-panel[data-water-panel="sale"] .wv-products-topline .wv-products-head{
  flex:0 0 auto!important;
  margin-bottom:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-products-topline .wv-product-categories{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  width:max-content!important;
  max-width:none!important;
  margin:0!important;
}
@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-products-topline{
    gap:10px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-products-topline .wv-product-categories{
    position:static!important;
    transform:none!important;
    margin-left:auto!important;
    justify-content:flex-end!important;
  }
}


/* v25.11.18 — Nova venda: Produtos visível no bloqueio + Resumo da Venda reestruturado. */

/* Produtos: o cabeçalho deve continuar visível mesmo antes de Cliente/Atendimento serem concluídos. */
.wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed > .wv-products-topline{
  display:flex!important;
  align-items:center!important;
  opacity:1!important;
  pointer-events:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed > .wv-products-topline .wv-products-head{
  display:flex!important;
  opacity:1!important;
}
.wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed > .wv-products-topline .wv-product-categories{
  display:flex!important;
  opacity:1!important;
}

/* Resumo: título central, sem ação Limpar, com divisor discreto e curto. */
.wv-panel[data-water-panel="sale"] .wv-order-head{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  padding:2px 0 0!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-head h2{
  margin:0!important;
  color:#103a69!important;
  font-size:44px!important;
  font-weight:950!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  text-align:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-divider{
  width:82%!important;
  height:1px!important;
  margin:10px auto 0!important;
  background:linear-gradient(90deg,transparent 0,#e2eaf0 13%,#e2eaf0 87%,transparent 100%)!important;
  opacity:.82!important;
}

/* Cliente e Atendimento: somente o valor/status, sem rótulos nem pontos decorativos. */
.wv-panel[data-water-panel="sale"] .wv-order-context{
  gap:7px!important;
  margin:9px 0 8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-chip{
  min-height:30px!important;
  padding:6px 10px!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-chip strong{
  font-size:13px!important;
  font-weight:900!important;
}

/* Produto: tipo + marca ficam como a única identificação textual principal. */


/* Pagamento misto: os campos aparecem dentro do próprio card selecionado. */
.wv-panel[data-water-panel="sale"] .wv-cart .wv-cart-item.has-inline-mixed{
  align-items:start!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed{
  grid-column:2 / 4!important;
  display:grid!important;
  gap:6px!important;
  width:100%!important;
  margin:4px 0 1px!important;
  padding:8px!important;
  border:1px solid #dbe7ef!important;
  border-radius:10px!important;
  background:#f8fbfd!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid label{
  min-width:0!important;
  color:#506f87!important;
  font-size:11.5px!important;
  font-weight:900!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid input{
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  border-radius:8px!important;
  background:#fff!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-balance{
  margin:0!important;
}

@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed > .wv-products-topline{
    display:flex!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-order-head h2{
    font-size:38px!important;
  }
}
@media(max-width:430px){
  .wv-panel[data-water-panel="sale"] .wv-order-head h2{
    font-size:34px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-order-divider{
    width:88%!important;
    margin-top:8px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed{
    grid-column:2 / -1!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid{
    grid-template-columns:1fr!important;
  }
}

/* v25.11.19 — Nova venda: refinamento do Resumo, produto em linha e transição Tarde → Noite. */

/* Resumo: tamanho intermediário após o teste 2x. */
.wv-panel[data-water-panel="sale"] .wv-order-head h2{
  font-size:32px!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-divider{
  margin-top:8px!important;
}

/* Cliente e região: um nível acima de legibilidade, sem aumentar os cards. */
.wv-panel[data-water-panel="sale"] .wv-order-chip strong{
  font-size:15.5px!important;
  font-weight:950!important;
  line-height:1.08!important;
}

/* Produto: identificação em uma linha própria, no mesmo espírito do resumo Cliente/Região. */
.wv-panel[data-water-panel="sale"] .wv-cart .wv-cart-item{
  align-items:center!important;
}





/* O preço unitário "R$ X cada" deixa de fazer parte do resumo visual. */


/* Tarde → Noite: a faixa quente permanece; o azul nasce pela direita e avança suavemente. */
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="night"]{
  --wv-warm-scale:.76;
  --wv-night-scale:1;
}
.wv-panel[data-water-panel="sale"] .wv-shift-toggle[data-active="night"] .wv-shift-rail-warm{
  background:linear-gradient(90deg,#fff0a5 0%,#ffd84d 39%,#ffae3d 68%,rgba(255,174,61,0) 100%)!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-rail-night{
  left:50%!important;
  right:0!important;
  transform-origin:right center!important;
  background:linear-gradient(90deg,rgba(49,104,210,0) 0%,rgba(49,104,210,.08) 18%,rgba(49,104,210,.34) 38%,#315fca 62%,#173d96 84%,#0b2a70 100%)!important;
}

/* Noite inativa: neutraliza o fundo escuro do próprio asset; selecionada, a imagem volta intacta. */
.wv-panel[data-water-panel="sale"] .wv-shift-choice[data-sale-period="night"]:not(.active) .wv-shift-icon{
  background:transparent!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-choice[data-sale-period="night"]:not(.active) .wv-shift-icon img{
  filter:grayscale(1) saturate(0) brightness(1.8) contrast(.58)!important;
  opacity:.34!important;
}
.wv-panel[data-water-panel="sale"] .wv-shift-choice[data-sale-period="night"].active .wv-shift-icon img{
  filter:none!important;
  opacity:1!important;
}

@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-order-head h2{font-size:29px!important}
  .wv-panel[data-water-panel="sale"] .wv-order-chip strong{font-size:15px!important}
  
}
@media(max-width:430px){
  .wv-panel[data-water-panel="sale"] .wv-order-head h2{font-size:27px!important}
  
}


/* v25.11.20 — Nova venda: fluxo guiado, edição Só nome protegida e Resumo progressivo. */

/* Produtos: enquanto o passo ainda estiver bloqueado, mostra somente a identidade do bloco.
   Garrafões / Pacotes só aparecem quando Atendimento já liberou Produtos. */
.wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed > .wv-products-topline .wv-product-categories{
  display:none!important;
}

/* Cliente / Só nome: durante a edição, não manter o check verde confirmado sobre o botão azul de salvar. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-selected-check{
  display:none!important;
}
/* A edição deve usar a estrutura normal, nunca a geometria do Cliente compactado. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing{
  height:auto!important;
  min-height:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-layout{
  display:block!important;
  width:100%!important;
  min-height:0!important;
}
/* As outras escolhas continuam visíveis, mas ficam bloqueadas pela lógica.
   O clique nelas serve apenas para chamar a atenção de volta ao nome em edição. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-search-row.has-action-mode[data-customer-action-mode="name"]{
  grid-template-columns:minmax(0,1fr) auto auto auto!important;
  gap:8px!important;
  max-width:100%!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button:not(.mode-current){
  width:auto!important;
  min-width:104px!important;
  max-width:none!important;
  padding-left:13px!important;
  padding-right:13px!important;
  border-left-width:1px!important;
  border-right-width:1px!important;
  opacity:.55!important;
  transform:none!important;
  pointer-events:auto!important;
  cursor:not-allowed!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button:not(.mode-current):hover{
  opacity:.72!important;
  background:#f7fbf8!important;
  border-color:#a8d7c4!important;
}

/* Feedback visual quando o atendente tenta abandonar uma edição de nome em andamento. */
@keyframes wv-sale-customer-continue-pulse{
  0%{border-color:rgba(83,145,190,.24);box-shadow:0 9px 28px rgba(21,64,104,.045)}
  28%{border-color:#16b875;box-shadow:0 0 0 5px rgba(22,184,117,.24),0 0 30px rgba(22,184,117,.32),0 12px 32px rgba(21,110,76,.12)}
  58%{border-color:#20cf87;box-shadow:0 0 0 3px rgba(32,207,135,.18),0 0 20px rgba(32,207,135,.22),0 10px 28px rgba(21,110,76,.08)}
  100%{border-color:rgba(83,145,190,.24);box-shadow:0 9px 28px rgba(21,64,104,.045)}
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-continue-pulse{
  animation:wv-sale-customer-continue-pulse .70s cubic-bezier(.22,.7,.24,1)!important;
}

/* Resumo progressivo: o painel cresce conforme a venda ganha contexto. */
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-card]{
  transition:padding .24s ease,border-radius .24s ease,box-shadow .24s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-card .is-summary-hidden{
  display:none!important;
}
/* Sem nenhum dado: somente Total. */
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] [data-summary-head],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] [data-summary-context],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] [data-summary-cart],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] [data-route-sale-box],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] [data-summary-payment],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] [data-edit-sale-banner],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] [data-edit-sale-actions],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] [data-summary-submit]{
  display:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"]{
  padding:9px 12px!important;
  border-radius:15px!important;
  box-shadow:0 8px 22px rgba(14,57,93,.055)!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] .wv-order-total{
  min-height:52px!important;
  margin:0!important;
  padding:7px 5px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] .wv-order-total span{
  font-size:15px!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="empty"] .wv-order-total strong{
  font-size:29px!important;
}
/* Cliente ou Atendimento preenchidos, mas ainda sem produto: mostra contexto + Total, sem controles prematuros. */
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="customer"] [data-summary-cart],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="customer"] [data-route-sale-box],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="customer"] [data-summary-payment],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="customer"] [data-edit-sale-banner],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="customer"] [data-edit-sale-actions],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="customer"] [data-summary-submit],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="region"] [data-summary-cart],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="region"] [data-route-sale-box],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="region"] [data-summary-payment],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="region"] [data-edit-sale-banner],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="region"] [data-edit-sale-actions],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="region"] [data-summary-submit]{
  display:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="customer"] [data-summary-head],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="customer"] [data-summary-context],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="region"] [data-summary-head],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="region"] [data-summary-context],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="items"] [data-summary-head],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="items"] [data-summary-context],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="items"] [data-summary-cart],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="items"] [data-summary-payment],
.wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-stage="items"] [data-summary-submit]{
  animation:wv-summary-reveal .20s ease-out both;
}
@keyframes wv-summary-reveal{
  from{opacity:.55;transform:translateY(-3px)}
  to{opacity:1;transform:none}
}

@media(max-width:560px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-search-row.has-action-mode[data-customer-action-mode="name"]{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-search-box{
    grid-column:1 / -1!important;
    grid-row:1!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-new-customer-inline{
    grid-column:1!important;
    grid-row:2!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-name-only-inline-button{
    grid-column:2!important;
    grid-row:2!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-no-customer-inline{
    grid-column:3!important;
    grid-row:2!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-mode-button,
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button:not(.mode-current){
    width:100%!important;
    min-width:0!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-continue-pulse{animation:none!important;border-color:#16b875!important;box-shadow:0 0 0 3px rgba(22,184,117,.18)!important}
  .wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-card]{transition:none!important}
  .wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-card] [data-summary-head],
  .wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-card] [data-summary-context],
  .wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-card] [data-summary-cart],
  .wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-card] [data-summary-payment],
  .wv-panel[data-water-panel="sale"] .wv-order-card[data-summary-card] [data-summary-submit]{animation:none!important}
}

/* v25.11.21 — Nova venda: identificação do produto fora do pagamento e bloqueio das etapas inferiores durante edição do Cliente. */

/* Produto: tipo + marca passam a ser uma linha própria, no mesmo nível visual de Cliente e Região. */
.wv-panel[data-water-panel="sale"] .wv-cart-entry{
  display:grid!important;
  gap:5px!important;
  min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context{
  justify-self:start!important;
  width:auto!important;
  max-width:100%!important;
  min-height:30px!important;
  padding:6px 10px!important;
  border-color:#dce8f1!important;
  background:#f7fafc!important;
  color:#285675!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context>strong{
  font-size:15.5px!important;
  font-weight:950!important;
  line-height:1.08!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context .wv-cart-rule-chip{
  flex:0 0 auto!important;
}
/* A caixa abaixo fica reservada aos controles do item: quantidade, valor e forma de pagamento. */
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-item{
  margin:0!important;
}

/* Durante a edição de Só nome, os próprios controles do Cliente continuam normais e utilizáveis. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button:not(.mode-current){
  opacity:1!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-name-editing .wv-sale-customer-search-row.has-action-mode .wv-sale-mode-button:not(.mode-current):hover{
  opacity:1!important;
}

/* O bloqueio ocorre somente nas etapas abaixo do Cliente até a alteração ser confirmada. */
.wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-attendance-step,
.wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-products-step,
.wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-order-card,
.wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-mobile-checkout{
  opacity:.66!important;
  filter:saturate(.72)!important;
  cursor:not-allowed!important;
  transition:opacity .18s ease,filter .18s ease!important;
}
.wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-attendance-step *,
.wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-products-step *,
.wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-order-card *,
.wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-mobile-checkout *{
  cursor:not-allowed!important;
}

@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context>strong{font-size:15px!important}
}
@media(prefers-reduced-motion:reduce){
  .wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-attendance-step,
  .wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-products-step,
  .wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-order-card,
  .wv-panel[data-water-panel="sale"].is-customer-edit-pending .wv-mobile-checkout{transition:none!important}
}

/* v25.11.26 — Nova venda: barra operacional ultracompacta + popover fora do fluxo rolável. */
.wv-panel[data-water-panel="sale"] .wv-cart{
  display:grid!important;
  gap:8px!important;
  max-height:350px!important;
  margin:10px 0!important;
  padding:0!important;
  overflow-x:hidden!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry{
  display:grid!important;
  gap:5px!important;
  min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context{
  justify-self:start!important;
  width:auto!important;
  max-width:100%!important;
  min-height:0!important;
  padding:5px 10px!important;
  border:1px solid #dfe9f1!important;
  border-radius:999px!important;
  background:#f7fafc!important;
  color:#285675!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-item.wv-cart-operation-bar{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:6px!important;
  border:1px solid #dce9f1!important;
  border-radius:17px!important;
  background:#fff!important;
  box-shadow:0 6px 16px rgba(17,68,106,.05)!important;
  overflow:visible!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-opline{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-cluster{flex:1.08 1 0!important;min-width:0!important}
.wv-panel[data-water-panel="sale"] .wv-cart-qty-cluster{flex:.72 1 0!important;min-width:0!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-cluster{flex:.92 1 0!important;min-width:0!important}
.wv-panel[data-water-panel="sale"] .wv-cart-clear-cluster{flex:0 0 30px!important;min-width:30px!important;justify-content:center!important}
.wv-panel[data-water-panel="sale"] .wv-cart-price-cluster,
.wv-panel[data-water-panel="sale"] .wv-cart-qty-cluster,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-cluster,
.wv-panel[data-water-panel="sale"] .wv-cart-clear-cluster{display:flex!important;align-items:center!important}
.wv-panel[data-water-panel="sale"] .wv-cart-price-shell{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:2px!important;
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  padding:0 4px 0 8px!important;
  border:1px solid #d8e8f3!important;
  border-radius:13px!important;
  background:#fbfdff!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-display{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  color:#0b4f97!important;
  font:900 16px/1 "Nunito",sans-serif!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-icon-button{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 27px!important;
  width:27px!important;
  min-width:27px!important;
  height:27px!important;
  padding:0!important;
  border:1px solid #cfe4f3!important;
  border-radius:9px!important;
  background:#eaf6ff!important;
  color:#1382eb!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-icon-button svg{width:14px!important;height:14px!important}
.wv-panel[data-water-panel="sale"] .wv-cart-icon-button:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-icon-button:focus-visible{background:#e1f0fb!important;border-color:#b7d6ec!important;box-shadow:0 4px 10px rgba(12,98,166,.1)!important;outline:none!important}
.wv-panel[data-water-panel="sale"] .wv-cart-stepper{
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr) 24px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  padding:0!important;
  border:1px solid #d8e8f3!important;
  border-radius:13px!important;
  background:#fff!important;
  gap:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-stepper button{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  padding:0!important;
  border:0!important;
  border-radius:11px!important;
  background:#eaf6ff!important;
  color:#1680e4!important;
  transition:background .15s ease,color .15s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-stepper button:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-stepper button:focus-visible{background:#deeffd!important;color:#0f6fc6!important;outline:none!important}
.wv-panel[data-water-panel="sale"] .wv-cart-stepper button svg{width:13px!important;height:13px!important}
.wv-panel[data-water-panel="sale"] .wv-cart-stepper input[data-cart-quantity]{
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0b4f97!important;
  text-align:center!important;
  font:900 15px/1 "Nunito",sans-serif!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-stepper input[data-cart-quantity]:focus{outline:none!important;box-shadow:none!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-wrap{position:relative!important;width:100%!important;min-width:0!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger{
  display:grid!important;
  grid-template-columns:15px minmax(0,1fr) 9px!important;
  align-items:center!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  padding:0 6px!important;
  border:1px solid #8fd0ff!important;
  border-radius:13px!important;
  background:#edf7ff!important;
  color:#0f74d8!important;
  font:900 10.5px/1.1 "Nunito",sans-serif!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger:focus-visible{background:#e5f3ff!important;border-color:#79c2f8!important;box-shadow:0 5px 12px rgba(15,115,201,.1)!important;outline:none!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger-icon{display:grid!important;place-items:center!important;min-width:0!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger-icon svg{width:15px!important;height:15px!important}


.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger-caret{display:grid!important;place-items:center!important;min-width:0!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger-caret svg{width:9px!important;height:9px!important;transform:rotate(90deg)!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.cash{border-color:#cfe8dc!important;background:#f2fbf6!important;color:#27755c!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.card{border-color:#d9d5ef!important;background:#f7f5ff!important;color:#6655a0!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.mixed,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.is-credit{border-color:#d8e5ee!important;background:#f4f9fc!important;color:#456b89!important}

/* Popover fixo no viewport: não aumenta nem a largura nem a altura rolável do carrinho. */


.wv-panel[data-water-panel="sale"] .wv-cart-payment-option{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  width:100%!important;
  padding:9px 10px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:#fbfdff!important;
  color:#2f5977!important;
  font:800 12.5px/1.2 "Nunito",sans-serif!important;
  transition:background .15s ease,border-color .15s ease,color .15s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-option-main{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}


.wv-panel[data-water-panel="sale"] .wv-cart-payment-option:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-option:focus-visible{background:#eef7ff!important;border-color:#c9e1f2!important;outline:none!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-option.is-selected{background:#edf7ff!important;border-color:#b9daf2!important;color:#0f74d8!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-option.cash.is-selected{background:#eefbf4!important;border-color:#c8e6d7!important;color:#27755c!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-option.card.is-selected{background:#f5f3ff!important;border-color:#d8d3ee!important;color:#6655a0!important}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-option.mixed.is-selected{background:#f3f8fc!important;border-color:#d7e4ed!important;color:#456b89!important}
.wv-panel[data-water-panel="sale"] .wv-cart-clear{
  width:29px!important;
  min-width:29px!important;
  height:29px!important;
  flex:0 0 29px!important;
  border-radius:9px!important;
  background:#ebf8ff!important;
  border-color:#d6e9f5!important;
  color:#2ab3ea!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-clear:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-clear:focus-visible{background:#fffaf0!important;border-color:#e6d7aa!important;color:#9d700f!important;box-shadow:0 4px 10px rgba(157,112,15,.1)!important}


.wv-panel[data-water-panel="sale"] .wv-cart-inline-secondary{display:grid!important;gap:7px!important;padding-top:1px!important}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed{margin:0!important;padding:7px!important;border-radius:13px!important}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid label{min-width:0!important;font-size:10.5px!important}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid input{width:100%!important;min-width:0!important;height:28px!important}
@keyframes wvSalePaymentPopoverIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes wvSalePaymentPopoverUp{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}

/* Produtos fechado: mesmo respiro superior/inferior dos blocos compactos. */
.wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed{
  min-height:0!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
  align-content:start!important;
}
.wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed > .wv-products-topline{
  min-height:0!important;
  margin-bottom:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed > .wv-product-grid,
.wv-panel[data-water-panel="sale"] .wv-products-step.is-collapsed > [data-no-products]{display:none!important}

@media(max-width:520px){
  .wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-item.wv-cart-operation-bar{padding:5px!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-opline{gap:3px!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-price-display{font-size:15px!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-price-cluster{flex:1.12 1 0!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-qty-cluster{flex:.7 1 0!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-payment-cluster{flex:.9 1 0!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-clear-cluster{flex-basis:28px!important;min-width:28px!important}
}
@media(prefers-reduced-motion:reduce){
  .wv-panel[data-water-panel="sale"] .wv-cart-icon-button,.wv-panel[data-water-panel="sale"] .wv-cart-stepper button,.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger,.wv-panel[data-water-panel="sale"] .wv-cart-payment-option{transition:none!important}
  
}

/* v25.11.27 — Popover de pagamento em portal global, fora do carrinho e de qualquer overflow. */
.wv-sale-payment-portal{
  position:fixed!important;
  z-index:2147483000!important;
  display:grid!important;
  gap:8px!important;
  padding:10px!important;
  margin:0!important;
  border:1px solid #d8e7f0!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 22px 46px rgba(12,54,88,.22)!important;
  overflow:hidden!important;
  pointer-events:auto!important;
  box-sizing:border-box!important;
  isolation:isolate!important;
  animation:wvSalePaymentPortalIn .15s ease!important;
}
.wv-sale-payment-portal.opens-upward{animation:wvSalePaymentPortalUp .15s ease!important}
.wv-sale-payment-portal .wv-cart-payment-option{
  appearance:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:9px 11px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  background:#fbfdff!important;
  color:#2f5977!important;
  font:800 13px/1.2 "Nunito",sans-serif!important;
  text-align:left!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease!important;
}
.wv-sale-payment-portal .wv-cart-payment-option-main{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
}




.wv-sale-payment-portal .wv-cart-payment-option:hover,
.wv-sale-payment-portal .wv-cart-payment-option:focus-visible{
  background:#eef7ff!important;
  border-color:#c9e1f2!important;
  box-shadow:0 5px 12px rgba(15,115,201,.08)!important;
  outline:none!important;
}
.wv-sale-payment-portal .wv-cart-payment-option.is-selected{
  background:#edf7ff!important;
  border-color:#b9daf2!important;
  color:#0f74d8!important;
}
.wv-sale-payment-portal .wv-cart-payment-option.cash.is-selected{background:#eefbf4!important;border-color:#c8e6d7!important;color:#27755c!important}
.wv-sale-payment-portal .wv-cart-payment-option.card.is-selected{background:#f5f3ff!important;border-color:#d8d3ee!important;color:#6655a0!important}
.wv-sale-payment-portal .wv-cart-payment-option.mixed.is-selected{background:#f3f8fc!important;border-color:#d7e4ed!important;color:#456b89!important}
@keyframes wvSalePaymentPortalIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes wvSalePaymentPortalUp{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  .wv-sale-payment-portal{animation:none!important}
  .wv-sale-payment-portal .wv-cart-payment-option{transition:none!important}
}

/* v25.11.28 — Pagamentos por ícones + vassoura sem cabo. */
.wv-panel[data-water-panel="sale"] .wv-payment-stack,
.wv-sale-payment-portal .wv-payment-stack{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack-icon,
.wv-sale-payment-portal .wv-payment-stack-icon{
  display:grid!important;
  place-items:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack:not(.mixed) .wv-payment-stack-icon svg,
.wv-sale-payment-portal .wv-payment-stack:not(.mixed) .wv-payment-stack-icon svg{
  width:16px!important;
  height:16px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed,
.wv-sale-payment-portal .wv-payment-stack.mixed{
  min-width:34px!important;
  height:16px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon,
.wv-sale-payment-portal .wv-payment-stack.mixed .wv-payment-stack-icon{
  width:16px!important;
  height:16px!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:0 0 0 1px rgba(212,228,238,.9)!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon svg,
.wv-sale-payment-portal .wv-payment-stack.mixed .wv-payment-stack-icon svg{
  width:12px!important;
  height:12px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon + .wv-payment-stack-icon,
.wv-sale-payment-portal .wv-payment-stack.mixed .wv-payment-stack-icon + .wv-payment-stack-icon{
  margin-left:-5px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon.cash,
.wv-sale-payment-portal .wv-payment-stack.mixed .wv-payment-stack-icon.cash{z-index:2!important}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon.card,
.wv-sale-payment-portal .wv-payment-stack.mixed .wv-payment-stack-icon.card{z-index:3!important}

.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger{
  grid-template-columns:minmax(0,1fr) 9px!important;
  justify-items:center!important;
  gap:4px!important;
  padding:0 7px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger-icon{
  width:auto!important;
}





.wv-sale-payment-portal{
  grid-template-columns:repeat(4,minmax(42px,1fr))!important;
  gap:8px!important;
  padding:10px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option{
  position:relative!important;
  justify-content:center!important;
  gap:0!important;
  min-width:42px!important;
  min-height:42px!important;
  padding:0!important;
  border-radius:13px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option-main{
  justify-content:center!important;
  gap:0!important;
}


.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack:not(.mixed) .wv-payment-stack-icon svg{width:18px!important;height:18px!important}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed{min-width:38px!important;height:18px!important}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed .wv-payment-stack-icon{width:18px!important;height:18px!important}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed .wv-payment-stack-icon svg{width:13px!important;height:13px!important}

@media(prefers-reduced-motion:reduce){
  
}

/* v25.11.29 — Ícones oficiais de pagamento, popover centralizado e tooltips unificados. */
.wv-panel[data-water-panel="sale"] .wv-payment-system-icon,
.wv-sale-payment-portal .wv-payment-system-icon{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  transform:none!important;
  filter:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack:not(.mixed) .wv-payment-stack-icon{
  width:21px!important;
  height:21px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed{
  min-width:38px!important;
  height:20px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon{
  width:20px!important;
  height:20px!important;
  overflow:hidden!important;
  border-radius:7px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon + .wv-payment-stack-icon{
  margin-left:-6px!important;
}

/* Com somente ícone, pagamento fica menor; Limpar ganha a mesma altura dos controles. */
.wv-panel[data-water-panel="sale"] .wv-cart-payment-cluster{
  flex:.68 1 0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-clear-cluster{
  flex:0 0 40px!important;
  min-width:40px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger{
  height:38px!important;
  min-height:38px!important;
  grid-template-columns:minmax(20px,1fr) 8px!important;
  padding:0 7px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-clear{
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border-radius:12px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-clear svg{
  width:19px!important;
  height:19px!important;
}

/* Popover compacto, em linha, com os mesmos assets de Últimos registros. */
.wv-sale-payment-portal{
  grid-template-columns:repeat(4,44px)!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:0!important;
  padding:9px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:5px!important;
  border-radius:13px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack:not(.mixed) .wv-payment-stack-icon{
  width:30px!important;
  height:30px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed{
  min-width:38px!important;
  height:22px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed .wv-payment-stack-icon{
  width:22px!important;
  height:22px!important;
  overflow:hidden!important;
  border-radius:8px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed .wv-payment-stack-icon + .wv-payment-stack-icon{
  margin-left:-7px!important;
}

/* Padrão único de descrição/tooltip para a Nova venda. */




@media(max-width:520px){
  .wv-panel[data-water-panel="sale"] .wv-cart-payment-cluster{flex:.62 1 0!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-clear-cluster{flex-basis:38px!important;min-width:38px!important}
}
@media(prefers-reduced-motion:reduce){
  
}

/* v25.11.30 — Popover centralizado, sem bolinha de seleção e tooltips globais completos. */
.wv-sale-payment-portal{
  width:184px!important;
  max-width:calc(100vw - 16px)!important;
  grid-template-columns:repeat(4,37px)!important;
  justify-content:center!important;
  gap:5px!important;
  padding:8px!important;
  overflow:visible!important;
}
.wv-sale-payment-portal .wv-cart-payment-option{
  width:37px!important;
  min-width:37px!important;
  height:40px!important;
  min-height:40px!important;
  padding:4px!important;
  overflow:visible!important;
}

.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack:not(.mixed) .wv-payment-stack-icon{
  width:27px!important;
  height:27px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed{
  min-width:34px!important;
  height:20px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed .wv-payment-stack-icon{
  width:20px!important;
  height:20px!important;
}
.wv-sale-payment-portal .wv-cart-payment-option .wv-payment-stack.mixed .wv-payment-stack-icon + .wv-payment-stack-icon{
  margin-left:-7px!important;
}

/* Os tooltips da Nova venda agora são um portal global. Desliga pseudo-elementos antigos para evitar corte/duplicidade. */

.wv-sale-global-tooltip{
  position:fixed!important;
  z-index:2147483647!important;
  display:block!important;
  width:max-content!important;
  max-width:min(320px,calc(100vw - 16px))!important;
  padding:7px 10px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:10px!important;
  background:rgba(9,42,70,.96)!important;
  box-shadow:0 10px 22px rgba(9,42,70,.20)!important;
  color:#fff!important;
  font:800 11px/1.3 "Nunito",sans-serif!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  pointer-events:none!important;
  box-sizing:border-box!important;
  animation:wvSaleGlobalTooltipIn .12s ease!important;
}
.wv-sale-global-tooltip.opens-below{animation-name:wvSaleGlobalTooltipDown!important}
@keyframes wvSaleGlobalTooltipIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@keyframes wvSaleGlobalTooltipDown{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  .wv-sale-global-tooltip{animation:none!important}
}

/* v25.11.31 — Resumo: pagamento/limpar brancos, controles mais enxutos e remoção das áreas financeiras auxiliares. */
.wv-panel[data-water-panel="sale"] .wv-cart-payment-cluster{
  flex:0 0 58px!important;
  min-width:58px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-wrap{
  width:58px!important;
  min-width:58px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.cash,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.card,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.mixed,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.is-credit{
  width:58px!important;
  min-width:58px!important;
  background:#fff!important;
  border-color:#d7e6f0!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger:focus-visible{
  background:#f8fbfd!important;
  border-color:#bdd9eb!important;
  box-shadow:0 4px 10px rgba(12,98,166,.08)!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack:not(.mixed) .wv-payment-stack-icon{
  width:24px!important;
  height:24px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed{
  min-width:42px!important;
  height:22px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon{
  width:22px!important;
  height:22px!important;
}
.wv-panel[data-water-panel="sale"] .wv-payment-stack.mixed .wv-payment-stack-icon + .wv-payment-stack-icon{
  margin-left:-7px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-clear{
  background:#fff!important;
  border-color:#d7e6f0!important;
  color:#2aaee3!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-clear:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-clear:focus-visible{
  background:#fffaf0!important;
  border-color:#e6d7aa!important;
  color:#9d700f!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-clear svg{
  width:20px!important;
  height:20px!important;
}
/* Segurança visual: estes controles foram aposentados da Nova venda. */

@media(max-width:520px){
  .wv-panel[data-water-panel="sale"] .wv-cart-payment-cluster{flex-basis:56px!important;min-width:56px!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-payment-wrap,
  .wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger{width:56px!important;min-width:56px!important}
}

/* v25.11.32 — Misto individual por item + refinamentos de Cliente e Resumo. */

/* Misto: cada item abre sua própria área, com respiro real abaixo da barra operacional. */
.wv-panel[data-water-panel="sale"] .wv-cart-inline-secondary{
  padding-top:10px!important;
  margin-top:2px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed{
  width:100%!important;
  margin:0!important;
  padding:10px 10px 9px!important;
  border-radius:14px!important;
  background:#f8fbfd!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid label{
  display:grid!important;
  justify-items:center!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  color:#476986!important;
  font:900 12.5px/1.15 "Nunito",sans-serif!important;
  text-align:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid label>span{
  display:block!important;
  width:100%!important;
  text-align:center!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid input{
  appearance:textfield!important;
  -moz-appearance:textfield!important;
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  padding:0 7px!important;
  border:1px solid #d5e5ef!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#123f70!important;
  text-align:center!important;
  font:900 14.5px/1 "Nunito",sans-serif!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid input::-webkit-outer-spin-button,
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid input::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid input:focus{
  outline:none!important;
  border-color:#8fc8e8!important;
  box-shadow:0 0 0 2px rgba(8,125,213,.11)!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-balance{
  min-height:30px!important;
  margin-top:7px!important;
  padding:6px 9px!important;
  border-radius:10px!important;
  text-align:center!important;
  font:900 12.5px/1.2 "Nunito",sans-serif!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-balance span,
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-balance strong{
  font-size:12.5px!important;
  line-height:1.2!important;
}

/* Ícone Misto dentro do botão principal: compacto o suficiente para nunca escapar. */
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.mixed .wv-payment-stack.mixed{
  min-width:30px!important;
  width:30px!important;
  height:17px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.mixed .wv-payment-stack.mixed .wv-payment-stack-icon{
  width:16px!important;
  height:16px!important;
  border-radius:6px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger.mixed .wv-payment-stack.mixed .wv-payment-stack-icon + .wv-payment-stack-icon{
  margin-left:-9px!important;
}

/* Resumo: mais leitura e line-height suficiente para Á/acentos não serem cortados. */
.wv-panel[data-water-panel="sale"] .wv-order-context .wv-order-chip,
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context{
  min-height:34px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
  overflow:visible!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-context .wv-order-chip strong,
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context>strong{
  display:block!important;
  overflow:visible!important;
  font-size:17px!important;
  font-weight:950!important;
  line-height:1.34!important;
  padding-top:1px!important;
  padding-bottom:1px!important;
}

@media(max-width:760px){
  .wv-panel[data-water-panel="sale"] .wv-order-context .wv-order-chip strong,
  .wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context>strong{font-size:16.5px!important}
}
@media(max-width:560px){
  .wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid{grid-template-columns:1fr!important}
}

/* v25.11.34 — Resumo: contexto em linhas próprias + Misto alinhado à barra operacional. */
.wv-panel[data-water-panel="sale"] .wv-order-context{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  margin:9px 0 8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-context .wv-order-chip{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  justify-self:stretch!important;
  border-radius:13px!important;
  padding:7px 12px!important;
}
.wv-panel[data-water-panel="sale"] .wv-order-context .wv-order-chip strong{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  text-overflow:clip!important;
  line-height:1.32!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  justify-self:stretch!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  box-sizing:border-box!important;
  border-radius:13px!important;
  padding:7px 12px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context>strong{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  text-overflow:clip!important;
  line-height:1.32!important;
}

/* O bloco Misto acompanha exatamente as bordas internas da barra operacional. */
.wv-panel[data-water-panel="sale"] .wv-cart-inline-secondary{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding:10px 0 0!important;
  margin:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:10px!important;
  border-radius:13px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid label,
.wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid input{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:560px){
  .wv-panel[data-water-panel="sale"] .wv-order-context .wv-order-chip,
  .wv-panel[data-water-panel="sale"] .wv-cart-entry .wv-cart-product-context{
    min-height:36px!important;
    padding:7px 10px!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-cart-inline-mixed .wv-mixed-payment-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
}


/* v25.11.36 — Verificado pagamento, hover Registrar e Cliente compacto limpo. */
/* Cliente compactado: mostrar somente a seleção principal, como no fluxo Só nome. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-selected-customer,
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-selected-customer:not([hidden]),
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-head>.wv-selected-customer,
.wv-panel[data-water-panel="sale"] .wv-sale-customer-card.is-context-compact .wv-sale-customer-meta{
  display:none!important;
}

/* Pagamento escolhido: check verde parcialmente sobreposto ao canto do botão. */
.wv-panel[data-water-panel="sale"] .wv-cart-payment-wrap{overflow:visible!important;}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-trigger{position:relative!important;overflow:visible!important;}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-selected-check{
  position:absolute!important;
  z-index:8!important;
  top:-6px!important;
  right:-6px!important;
  display:grid!important;
  place-items:center!important;
  width:17px!important;
  height:17px!important;
  margin:0!important;
  border-radius:999px!important;
  background:#15956d!important;
  color:#fff!important;
  box-shadow:0 3px 8px rgba(21,149,109,.22)!important;
  font-style:normal!important;
  pointer-events:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-payment-selected-check svg{
  width:10px!important;
  height:10px!important;
  stroke-width:2.8!important;
}

/* Registrar venda: confirmação visual verde no hover/foco. */
.wv-panel[data-water-panel="sale"] .wv-submit-sale{
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-submit-sale:hover,
.wv-panel[data-water-panel="sale"] .wv-submit-sale:focus-visible{
  background:#15956d!important;
  border-color:#15956d!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(21,149,109,.24)!important;
  outline:none!important;
}

/* Observação removida; a seção de pagamento não cria espaço vazio quando condição a prazo não está disponível. */

.wv-panel[data-water-panel="sale"] [data-summary-payment]:has(> [data-sale-credit-condition][hidden]){
  display:none!important;
  margin:0!important;
}
@media(prefers-reduced-motion:reduce){
  .wv-panel[data-water-panel="sale"] .wv-submit-sale{transition:none!important;}
}


/* v25.11.39 — Nova venda: tooltips canônicos, contexto progressivo e refinamentos visuais pontuais. */
/* Só nome: restaura o realce azul aprovado em volta de toda a caixa de edição. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active,
.wv-panel[data-water-panel="sale"] .wv-sale-customer-search-box.name-only-active:focus-within{
  border-color:#1589e4!important;
  background:#f2f9ff!important;
  box-shadow:0 0 0 3px rgba(21,137,228,.13)!important;
}

/* O sistema novo de tooltip é o único ativo. */
.wv-sale-global-tooltip{
  font:800 12.5px/1.35 "Nunito",sans-serif!important;
  padding:8px 11px!important;
}

/* Contexto progressivo: nunca reservar a linha Região antes da seleção. */
.wv-panel[data-water-panel="sale"] [data-summary-region][hidden],
.wv-panel[data-water-panel="sale"] [data-summary-customer][hidden]{
  display:none!important;
}

/* Editar valor permanece neutro; o amarelo aparece somente no hover/foco, como em Limpar. */
.wv-panel[data-water-panel="sale"] .wv-cart-edit-price{
  background:#fff!important;
  border-color:#d7e6f0!important;
  color:#2aaee3!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-edit-price:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-edit-price:focus-visible{
  background:#fffaf0!important;
  border-color:#e6d7aa!important;
  color:#9d700f!important;
  box-shadow:0 4px 10px rgba(157,112,15,.10)!important;
}

/* Total e ação principal recebem um nível adicional de leitura. */
.wv-panel[data-water-panel="sale"] .wv-order-total span{
  font-size:18px!important;
}
.wv-panel[data-water-panel="sale"] .wv-submit-sale{
  font-size:18px!important;
}

/* Informações adicionais do Cliente participam do tooltip global sem alterar o bloco. */
.wv-panel[data-water-panel="sale"] .wv-sale-customer-meta>span[data-tooltip]{
  cursor:help!important;
}

/* Pacote 500 ml: recupera espaço horizontal apenas no cabeçalho do nome, sem alargar todos os cards. */
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages.is-package-500 .wv-product-family-id{
  width:calc(100% + 12px)!important;
  max-width:calc(100% + 12px)!important;
  margin-left:-6px!important;
  margin-right:-6px!important;
  grid-template-columns:max-content 6px minmax(0,max-content)!important;
  gap:2px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages.is-package-500 .wv-product-family-id>h3{
  letter-spacing:-.025em!important;
}

/* Preserva a responsividade estável do Cliente após remover apenas o tooltip legado. */
@media(max-width:520px){
  .wv-panel[data-water-panel="sale"] .wv-sale-customer-search-row{
    grid-template-columns:1fr;
  }
  .wv-panel[data-water-panel="sale"] .wv-unidentified-inline{
    width:max-content;
    min-width:112px;
  }
}


/* v25.11.41 — Revendedores: Carga completa mista de 24 garrafões + frete global. */
.wv-reseller-load-dialog{width:min(100% - 28px,820px)}
.wv-reseller-load-composer{display:grid;gap:10px;margin:10px 0 12px;padding:13px;border:1px solid #d7e6ef;border-radius:15px;background:#fbfdff}
.wv-reseller-load-composer>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wv-reseller-load-composer>header>div{display:grid;gap:2px}
.wv-reseller-load-composer>header span,.wv-reseller-service-block>span{color:#6b8396;font-size:11px;font-weight:950;letter-spacing:.06em}
.wv-reseller-load-composer>header strong{color:#143f69;font-size:17px}
.wv-reseller-load-composer>header>b{min-width:70px;padding:7px 10px;border-radius:999px;background:#eef5f9;color:#42647d;text-align:center;font-size:14px}
.wv-reseller-load-composer>header>b.ok{background:#e8f8ef;color:#188357}
.wv-reseller-load-composer>header>b.over{background:#fff0ed;color:#b54435}
.wv-reseller-load-options{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0!important}
.wv-reseller-load-product{display:grid;grid-template-columns:minmax(180px,1fr) 142px 110px;align-items:center;gap:12px;padding:10px 11px;border:1px solid #dce8ef;border-radius:12px;background:#fff;transition:.16s}
.wv-reseller-load-product.active{border-color:#9ed5ba;background:#fbfffc;box-shadow:0 0 0 2px rgba(43,159,100,.055)}
.wv-reseller-load-product-name{display:grid;gap:2px;min-width:0}
.wv-reseller-load-product-name strong{color:#153f68;font-size:15px;overflow-wrap:anywhere}
.wv-reseller-load-product-name small{color:#71879a;font-size:12px}
.wv-reseller-load-stepper{display:grid;grid-template-columns:36px 54px 36px;align-items:center;gap:4px}
.wv-reseller-load-stepper button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #d2e1e9;border-radius:10px;background:#fff;color:#116fae}
.wv-reseller-load-stepper button:hover{background:#eef8fe;border-color:#b8dcef}
.wv-reseller-load-stepper button svg{width:16px;height:16px}
.wv-reseller-load-stepper input{width:54px;height:36px;padding:0 4px;border:1px solid #c9dce7;border-radius:10px;background:#fafdff;color:#123f69;text-align:center;font-size:15px;font-weight:900;-moz-appearance:textfield}
.wv-reseller-load-stepper input::-webkit-inner-spin-button,.wv-reseller-load-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.wv-reseller-load-product>b{justify-self:end;color:#0b568c;font-size:15px}
.wv-reseller-load-count-note{min-height:20px;color:#7a8e9d;font-size:13px;font-weight:800;text-align:right}
.wv-reseller-load-count-note.ok{color:#208459}.wv-reseller-load-count-note.over{color:#b54538}
.wv-reseller-service-block{display:grid;gap:7px;margin:2px 0 12px}
.wv-reseller-service-toggle{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wv-reseller-service-toggle label{position:relative;cursor:pointer}
.wv-reseller-service-toggle input{position:absolute;opacity:0;pointer-events:none}
.wv-reseller-service-toggle label>span{display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;min-height:58px;padding:9px 12px;border:1px solid #d6e5ed;border-radius:12px;background:#fff;transition:.16s}
.wv-reseller-service-toggle label>span svg{grid-row:1/3;width:21px;height:21px;color:#1480c5}
.wv-reseller-service-toggle label>span b{color:#164269;font-size:14px}.wv-reseller-service-toggle label>span small{color:#71879a;font-size:12px}
.wv-reseller-service-toggle label.active>span,.wv-reseller-service-toggle input:checked+span{border-color:#67b992;background:#f0fbf5;box-shadow:0 0 0 2px rgba(39,145,91,.055)}
.wv-reseller-load-preview{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:13px!important}
.wv-reseller-load-preview-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
.wv-reseller-load-preview-head>div{display:grid;gap:1px}.wv-reseller-load-preview-head>b{color:#1a875a;font-size:15px}
.wv-reseller-load-preview-item{display:grid!important;grid-template-columns:minmax(0,1fr) 95px 105px;align-items:center;gap:8px;padding:7px 0;border-top:1px solid #e3edf2}
.wv-reseller-load-preview-item span{color:#355d79!important;font-size:13px!important}.wv-reseller-load-preview-item em{color:#71879a;font-size:12px;font-style:normal;text-align:right}.wv-reseller-load-preview-item strong{text-align:right;color:#153f68!important;font-size:14px!important}
.wv-reseller-load-preview-empty{padding:8px 0;color:#8093a2;font-size:13px}
.wv-reseller-load-preview-totals{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:9px;border-top:1px solid #dce8ee}
.wv-reseller-load-preview-totals span{display:grid;gap:2px;padding:8px 9px;border-radius:10px;background:#fff;color:#6d8497!important;font-size:11px!important;text-transform:uppercase;font-weight:900}
.wv-reseller-load-preview-totals b,.wv-reseller-load-preview-totals strong{color:#123f69;font-size:15px!important;text-transform:none}.wv-reseller-load-preview-totals .total{background:#edf8ff}.wv-reseller-load-preview-totals .total strong{color:#075c98;font-size:18px!important}
.wv-reseller-load-preview>p{grid-column:auto!important;margin:0!important;padding-top:7px!important}
.wv-reseller-config-dialog{width:min(100% - 28px,980px)}
.wv-reseller-config-freight{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto;align-items:end;gap:10px;margin:14px 0 4px;padding:13px;border:1px solid #cfe3ee;border-radius:14px;background:#f5fbfe}
.wv-reseller-config-freight>div{display:grid;gap:2px}.wv-reseller-config-freight>div span{color:#5f7c90;font-size:11px;font-weight:950;letter-spacing:.06em}.wv-reseller-config-freight>div strong{color:#133f69;font-size:16px}.wv-reseller-config-freight>div small{color:#768b9a;font-size:12px}
.wv-reseller-config-freight label{display:grid;gap:5px;color:#4d6a80;font-size:12px;font-weight:850}.wv-reseller-config-freight input{height:42px;padding:0 10px;border:1px solid #cbdfe9;border-radius:10px;background:#fff;color:#173f64;font-size:14px}
.wv-reseller-config-products{display:grid;gap:0}
.wv-reseller-config-row{grid-template-columns:minmax(150px,.9fr) minmax(190px,1.2fr) minmax(130px,.7fr) minmax(120px,.7fr) auto!important}
.wv-reseller-config-brand small b{color:#0d6fae}
.wv-reseller-config-more{align-self:end;position:relative}
.wv-reseller-config-more summary{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 10px;border:1px solid #d6e4ec;border-radius:10px;background:#fff;color:#526f84;font-size:12px;font-weight:900;cursor:pointer;list-style:none}
.wv-reseller-config-more summary::-webkit-details-marker{display:none}.wv-reseller-config-more[open]{grid-column:1/-2;padding:9px;border:1px solid #e0eaf0;border-radius:11px;background:#fbfdff}.wv-reseller-config-more[open] summary{margin-bottom:8px;min-height:32px;background:#f2f7fa}.wv-reseller-config-more label{max-width:240px}
.wv-load-composition-detail{margin:12px 0;padding:12px;border:1px solid #dce8ef;border-radius:12px;background:#fbfdff}.wv-load-composition-detail h3{margin:0 0 7px;color:#123d6c;font-size:15px}.wv-load-composition-detail>div{display:grid;grid-template-columns:minmax(0,1fr) 105px 110px;gap:8px;align-items:center;padding:7px 0;border-top:1px solid #e7eef3}.wv-load-composition-detail>div:first-of-type{border-top:0}.wv-load-composition-detail span{color:#345f7d;font-size:13px}.wv-load-composition-detail em{color:#71879a;font-size:12px;font-style:normal;text-align:right}.wv-load-composition-detail strong{color:#123f69;font-size:14px;text-align:right}
@media(max-width:720px){.wv-reseller-load-product{grid-template-columns:1fr auto}.wv-reseller-load-product>b{grid-column:1/-1;justify-self:end}.wv-reseller-service-toggle{grid-template-columns:1fr}.wv-reseller-load-preview-item{grid-template-columns:1fr auto}.wv-reseller-load-preview-item em{grid-column:1}.wv-reseller-load-preview-item strong{grid-column:2;grid-row:1/3}.wv-reseller-load-preview-totals{grid-template-columns:1fr}.wv-reseller-config-freight{grid-template-columns:1fr}.wv-reseller-config-row{grid-template-columns:1fr!important}.wv-reseller-config-more[open]{grid-column:auto}.wv-load-composition-detail>div{grid-template-columns:1fr auto}.wv-load-composition-detail em{grid-column:1}.wv-load-composition-detail strong{grid-column:2;grid-row:1/3}}

/* v25.11.42 — Revendedores: carga base de 24 + unidades extras. */
.wv-reseller-load-dialog{width:min(100% - 28px,900px)}
.wv-reseller-extra-gate{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-2px 0 12px;padding:10px 12px;border:1px dashed #c9dce8;border-radius:12px;background:#fbfdff}
.wv-reseller-extra-gate small{color:#748a9b;font-size:12px;font-weight:800}
.wv-reseller-extras{display:grid;gap:9px;margin:0 0 12px;padding:13px;border:1px solid #d8e6ee;border-radius:15px;background:#fbfdff}
.wv-reseller-extras>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.wv-reseller-extras>header>div{display:grid;gap:2px}
.wv-reseller-extras>header span,.wv-reseller-config-extras span{color:#6b8396;font-size:11px;font-weight:950;letter-spacing:.06em}
.wv-reseller-extras>header strong,.wv-reseller-config-extras strong{color:#143f69;font-size:16px}
.wv-reseller-extras>header small,.wv-reseller-config-extras small{color:#738899;font-size:12px;line-height:1.35}
.wv-reseller-extras>header .wv-text{min-height:32px;padding:5px 8px;color:#687f90;font-size:12px}
.wv-reseller-extra-options{display:grid;gap:8px}
.wv-reseller-extra-product{display:grid;grid-template-columns:minmax(135px,.9fr) 126px minmax(205px,1.15fr) 95px;align-items:center;gap:10px;padding:10px 11px;border:1px solid #dce8ef;border-radius:12px;background:#fff;transition:.16s}
.wv-reseller-extra-product.active{border-color:#b9d9ca;background:#fcfffd}
.wv-reseller-extra-product.needs-price{border-color:#e7c66e;background:#fffdf6}
.wv-reseller-extra-name{display:grid;gap:2px;min-width:0}
.wv-reseller-extra-name strong{color:#153f68;font-size:14px;overflow-wrap:anywhere}
.wv-reseller-extra-name small{color:#71879a;font-size:11.5px}
.wv-reseller-load-stepper.compact{grid-template-columns:32px 50px 32px;gap:3px}
.wv-reseller-load-stepper.compact button{width:32px;height:34px;border-radius:9px}
.wv-reseller-load-stepper.compact input{width:50px;height:34px;font-size:14px}
.wv-reseller-extra-price{display:grid;gap:4px;min-width:0;color:#557186;font-size:11px;font-weight:900}
.wv-reseller-extra-price select{width:100%;height:36px;min-width:0;padding:0 9px;border:1px solid #cbdde7;border-radius:9px;background:#fff;color:#173f64;font-size:12.5px;font-weight:800}
.wv-reseller-extra-product>b{justify-self:end;color:#0b568c;font-size:14px}
.wv-reseller-extra-custom{grid-column:1/-1;display:grid;grid-template-columns:minmax(150px,.65fr) minmax(190px,1fr) minmax(190px,1fr);gap:8px;padding:9px;margin-top:1px;border-top:1px solid #e3edf2;background:#f8fbfd;border-radius:10px}
.wv-reseller-extra-custom[hidden]{display:none!important}
.wv-reseller-extra-custom label{display:grid;gap:4px;color:#557186;font-size:11px;font-weight:900}
.wv-reseller-extra-custom input,.wv-reseller-extra-custom select{width:100%;height:36px;min-width:0;padding:0 9px;border:1px solid #cbdde7;border-radius:9px;background:#fff;color:#173f64;font-size:13px}
.wv-reseller-extra-note{color:#738899;font-size:12px;font-weight:800;text-align:right}
.wv-reseller-load-preview-group{display:grid;gap:0;padding-top:5px}
.wv-reseller-load-preview-group>small{padding:0 0 4px;color:#6c8497!important;font-size:10.5px!important;font-weight:950;letter-spacing:.06em}
.wv-reseller-load-preview-group.extras{margin-top:2px;padding-top:8px;border-top:1px dashed #cedfe8}
.wv-reseller-load-preview-item.extra{background:#fbfdf8;border-radius:8px;padding-left:7px;padding-right:7px}
.wv-reseller-load-preview-item.extra span small{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:999px;background:#eef4f7;color:#60798c!important;font-size:9.5px!important;font-weight:900}
.wv-reseller-config-extras{display:grid;grid-template-columns:1fr;gap:3px;margin:8px 0 4px;padding:11px 13px;border:1px solid #e2e9d0;border-radius:12px;background:#fffdf6}
.wv-load-composition-detail>small{display:block;margin:7px 0 3px;color:#6b8396;font-size:10.5px;font-weight:950;letter-spacing:.06em}
.wv-load-composition-detail>small.extras-title{margin-top:11px;padding-top:9px;border-top:1px dashed #d3e1e8;color:#7a6b35}
.wv-load-composition-detail>div.extra{background:#fffdf7;border-radius:8px;padding-left:7px;padding-right:7px}
.wv-load-composition-detail>div.extra span small{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:999px;background:#f4f0df;color:#776a3a;font-size:9.5px;font-weight:900}
@media(max-width:820px){.wv-reseller-extra-product{grid-template-columns:minmax(0,1fr) auto}.wv-reseller-extra-price{grid-column:1/-1}.wv-reseller-extra-product>b{grid-column:2;grid-row:1}.wv-reseller-extra-custom{grid-template-columns:1fr 1fr}.wv-reseller-extra-custom label:last-child{grid-column:1/-1}}
@media(max-width:560px){.wv-reseller-extra-gate,.wv-reseller-extras>header{align-items:stretch;flex-direction:column}.wv-reseller-extra-gate .wv-secondary{width:100%}.wv-reseller-extra-product{grid-template-columns:1fr auto}.wv-reseller-extra-custom{grid-template-columns:1fr}.wv-reseller-extra-custom label:last-child{grid-column:auto}}

/* v25.11.44 — Clientes: paginação progressiva em lotes de 30. */
.wv-panel[data-water-panel="customers"] .wv-customer-pagination{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;margin-top:12px;padding:10px 14px;border:1px solid #dce8ef;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(20,63,95,.025)}
.wv-panel[data-water-panel="customers"] .wv-customer-pagination>span{color:#647f96;font-size:13px;font-weight:850}
.wv-panel[data-water-panel="customers"] .wv-customer-pagination>[data-customer-load-more]{min-width:160px;min-height:38px;padding:8px 14px}
.wv-panel[data-water-panel="customers"] .wv-customer-pagination>small{color:#6f879a;font-size:12px;font-weight:800}
@media(max-width:720px){.wv-panel[data-water-panel="customers"] .wv-customer-pagination{flex-direction:column;gap:8px}.wv-panel[data-water-panel="customers"] .wv-customer-pagination>[data-customer-load-more]{width:100%}}

/* v25.11.45 — Revendedores: histórico de devoluções com estorno auditável. */
.wv-load-return-row>div{display:grid;gap:2px;min-width:0}
.wv-load-return-row .wv-load-return-undo{flex:0 0 auto;color:#b42318;font-weight:900}
.wv-load-return-row.is-cancelled{opacity:.6}
.wv-load-return-row.is-cancelled b{text-decoration:line-through}
.wv-load-return-row.is-cancelled span{font-style:italic}


/* ==========================================================
   v25.11.86 — CONEXÃO PREMIADA / CP2 — CONTRATO VISUAL CANÔNICO
   ----------------------------------------------------------
   Este bloco é a única fonte de estilo da interface CP2 atual.
   Não reutilizar classes legadas .wv-promo-*.
   Escopo: aba Conexão Premiada + vínculo CP2 em Clientes.
   ========================================================== */
.wv-chances-panel{
  --chance-navy:#0b3f73;
  --chance-blue:#0d76c9;
  --chance-line:#dce8f0;
  --chance-soft:#f7fbfe;
  --chance-muted:#6f8598;
  display:grid;
  gap:16px;
  min-width:0;
}
.wv-chances-panel [hidden],
.wv-promotion-config-warning[hidden]{display:none!important}

/* Cabeçalho */
.wv-chances-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:2px 2px 0;min-width:0}
.wv-chances-heading>div:first-child{min-width:0}
.wv-chances-heading>div:first-child>span{display:block;margin-bottom:3px;color:#698297;font:900 11px/1.2 "Nunito",sans-serif;letter-spacing:.1em}
.wv-chances-heading h1{margin:0;color:var(--chance-navy);font:800 clamp(29px,3vw,38px)/1.08 "Baloo 2",sans-serif}
.wv-chances-heading p{margin:5px 0 0;color:#607a90;font:700 13px/1.45 "Nunito",sans-serif}
.wv-chances-heading .wv-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:9px;flex-wrap:wrap}
.wv-chances-heading .wv-heading-actions>a,
.wv-chances-heading .wv-heading-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px}
.wv-chances-heading .wv-heading-actions svg{width:16px;height:16px}
.wv-chances-panel .wv-promotion-form-link{text-decoration:none;white-space:nowrap}

/* Regra e identificação da campanha */
.wv-chances-rule{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #d8e7f0;border-radius:14px;background:linear-gradient(135deg,#f8fcff,#f2f8fc);box-shadow:0 4px 14px rgba(14,66,108,.035)}
.wv-chances-rule-icon{display:grid!important;place-items:center;width:38px;height:38px;flex:0 0 38px;margin:0!important;border-radius:11px;background:#e7f4fc;color:#0875c9;letter-spacing:0!important}
.wv-chances-rule-icon svg{width:19px;height:19px}
.wv-chances-rule>div{display:grid;gap:2px;min-width:0}
.wv-chances-rule strong{color:#174d78;font:900 14px/1.3 "Nunito",sans-serif}
.wv-chances-rule small{color:#70879a;font:750 12px/1.35 "Nunito",sans-serif}

.wv-chances-panel .wv-promotion-campaign-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #dbe8f0;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(13,62,99,.025)}
.wv-chances-panel .wv-promotion-campaign-strip>span{display:grid;gap:3px;min-width:0;padding:11px 14px;border-right:1px solid #e7eef3}
.wv-chances-panel .wv-promotion-campaign-strip>span:last-child{border-right:0}
.wv-chances-panel .wv-promotion-campaign-strip small{color:#7b8fa0;font:900 10px/1.2 "Nunito",sans-serif;letter-spacing:.07em;text-transform:uppercase}
.wv-chances-panel .wv-promotion-campaign-strip strong{overflow:hidden;color:#173f61;font:900 13px/1.3 "Nunito",sans-serif;text-overflow:ellipsis;white-space:nowrap}

/* KPIs */
.wv-chances-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.wv-chances-summary article{display:flex;align-items:center;gap:11px;min-width:0;padding:13px 14px;border:1px solid var(--chance-line);border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(13,62,99,.035)}
.wv-chances-summary article>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#eff7fc;color:#1776b8}
.wv-chances-summary article>span svg{width:19px;height:19px}
.wv-chances-summary article>div{display:grid;gap:1px;min-width:0}
.wv-chances-summary small{color:#75899a;font:850 10.5px/1.2 "Nunito",sans-serif;text-transform:uppercase;letter-spacing:.045em}
.wv-chances-summary strong{overflow:hidden;color:#143f63;font:900 18px/1.2 "Nunito",sans-serif;text-overflow:ellipsis;white-space:nowrap}

/* Abas — nunca depender do estilo padrão do navegador */
.wv-chances-panel .wv-promotion-tabs{display:inline-flex;align-items:center;justify-self:start;gap:4px;padding:4px;border:1px solid #d6e5ee;border-radius:13px;background:#eef5f9;box-shadow:inset 0 1px 2px rgba(21,65,99,.035)}
.wv-chances-panel .wv-promotion-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:37px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:#5f788c;font:900 12.5px/1 "Nunito",sans-serif;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease}
.wv-chances-panel .wv-promotion-tabs button:hover{color:#176da8;background:rgba(255,255,255,.58)}
.wv-chances-panel .wv-promotion-tabs button.active{background:#fff;color:#096eba;box-shadow:0 3px 9px rgba(16,75,116,.08)}
.wv-chances-panel .wv-promotion-tabs button b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e6f3fc;color:#096eba;font:900 10px/1 "Nunito",sans-serif}
.wv-chances-panel .wv-promotion-view{display:grid;gap:12px;min-width:0}

/* Ferramentas e filtros */
.wv-chances-tools{display:flex;align-items:center;gap:10px;justify-content:space-between;padding-top:2px}
.wv-chances-search{flex:1 1 360px;max-width:520px}
.wv-chances-scopes{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.wv-chances-scopes button{min-height:34px;padding:0 11px;border:1px solid #d6e4ed;border-radius:999px;background:#fff;color:#60798e;font:850 12px/1 "Nunito",sans-serif;cursor:pointer;transition:.15s ease}
.wv-chances-scopes button:hover{border-color:#b9d5e7;background:#f6fbfe;color:#176ca7}
.wv-chances-scopes button.active{border-color:#8dc6e8;background:#eaf6fd;color:#096eba;box-shadow:inset 0 0 0 1px rgba(13,118,201,.04)}

/* Participantes */
.wv-promotion-participants-head,
.wv-promotion-participant-row{display:grid;grid-template-columns:minmax(155px,.88fr) minmax(220px,1.28fr) minmax(180px,1.05fr) minmax(155px,.88fr) minmax(100px,.55fr) minmax(120px,.68fr);gap:14px;align-items:center}
.wv-promotion-participants-head{padding:0 14px 6px;color:#7d91a2;font:900 10.5px/1.2 "Nunito",sans-serif;text-transform:uppercase;letter-spacing:.055em}
.wv-promotion-participants-list{display:grid;gap:8px}
.wv-promotion-participant-row{min-width:0;min-height:86px;padding:12px 14px;border:1px solid var(--chance-line);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(13,62,99,.025);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.wv-promotion-participant-row:hover{border-color:#c8dfea;box-shadow:0 7px 19px rgba(13,62,99,.055);transform:translateY(-1px)}
.wv-promotion-participant-row>div{min-width:0}
.wv-promotion-participant-row .wv-promotion-id,
.wv-promotion-origin,
.wv-promotion-link,
.wv-promotion-chance-cell,
.wv-promotion-status{display:grid;align-content:center;gap:4px;min-width:0}
.wv-promotion-participant-row .wv-promotion-id small{display:none}
.wv-promotion-participant-row .wv-promotion-id strong{overflow:hidden;color:#153f69;font:900 13.5px/1.25 "Nunito",sans-serif;text-overflow:ellipsis;white-space:nowrap}
.wv-chances-person{display:flex;align-items:center;gap:10px;min-width:0}
.wv-chances-person>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#eef6fb;color:#0d6fab;font:950 12px/1 "Nunito",sans-serif;letter-spacing:.02em}
.wv-chances-person>div{display:grid;gap:2px;min-width:0}
.wv-chances-person strong{overflow:hidden;color:#173f61;font:900 13.5px/1.25 "Nunito",sans-serif;text-overflow:ellipsis;white-space:nowrap}
.wv-chances-person small{overflow:hidden;color:#7890a1;font:750 11.5px/1.25 "Nunito",sans-serif;text-overflow:ellipsis;white-space:nowrap}
.wv-promotion-origin b,.wv-promotion-link b,.wv-promotion-chance-cell b{display:block;overflow:hidden;color:#173f61;font:900 13px/1.28 "Nunito",sans-serif;text-overflow:ellipsis;white-space:nowrap}
.wv-promotion-origin small,.wv-promotion-link small,.wv-promotion-chance-cell small,.wv-promotion-status small{display:-webkit-box;overflow:hidden;color:#7890a1;font:750 11.5px/1.35 "Nunito",sans-serif;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.wv-promotion-chance-cell b{font-size:16px}
.wv-promotion-status>span{display:inline-flex;align-items:center;justify-self:start;min-height:24px;padding:3px 8px;border-radius:999px;background:#eef5fa;color:#42647e;font:900 11.5px/1 "Nunito",sans-serif;white-space:nowrap}
.wv-promotion-status>span.is-approved,.wv-promotion-status>span.is-active{background:#eaf8f1;color:#217651}
.wv-promotion-status>span.is-pending,.wv-promotion-status>span.is-setup{background:#fff7e8;color:#8a651d}
.wv-promotion-status>span.is-test{background:#eef5ff;color:#236caa}
.wv-promotion-status>span.is-rejected,.wv-promotion-status>span.is-cancelled,.wv-promotion-status>span.is-blocked{background:#fff0f0;color:#a54848}

/* Estado vazio */
.wv-chances-empty{display:flex;align-items:center;justify-content:center;gap:12px;min-height:130px;padding:24px;border:1px dashed #cfdee7;border-radius:14px;background:#fbfdfe;color:#6d8496;text-align:left}
.wv-chances-empty>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#edf6fb;color:#2a7caf}
.wv-chances-empty>div{display:grid;gap:2px}.wv-chances-empty strong{color:#325c79;font:900 13px/1.3 "Nunito",sans-serif}.wv-chances-empty p{margin:0;font:750 12px/1.35 "Nunito",sans-serif}

/* Verificação */
.wv-chances-panel .wv-promotion-verification-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #dce8ef;border-radius:14px;background:#f8fbfd}
.wv-promotion-verification-intro>div{display:grid;gap:2px;min-width:0}
.wv-promotion-verification-intro strong{color:#17466d;font:900 13.5px/1.3 "Nunito",sans-serif}
.wv-promotion-verification-intro p{margin:0;color:#71889a;font:750 11.5px/1.4 "Nunito",sans-serif}
.wv-promotion-verification-intro>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#eaf6fd;color:#176fa9;font:900 11px/1 "Nunito",sans-serif}
.wv-promotion-queue-head,.wv-promotion-queue-row{display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(130px,.72fr) minmax(190px,1.15fr) minmax(90px,.48fr) minmax(130px,.72fr) minmax(150px,.82fr);gap:12px;align-items:center}
.wv-promotion-queue-head{padding:0 14px 6px;color:#7d91a2;font:900 10.5px/1.2 "Nunito",sans-serif;text-transform:uppercase;letter-spacing:.055em}
.wv-promotion-queue{display:grid;gap:8px}
.wv-promotion-queue-row{min-width:0;padding:12px 14px;border:1px solid var(--chance-line);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(13,62,99,.025)}
.wv-promotion-queue-row>div{display:grid;gap:3px;min-width:0}
.wv-promotion-queue-row strong,.wv-promotion-queue-row b{display:block;overflow:hidden;color:#173f61;font:900 12.5px/1.3 "Nunito",sans-serif;text-overflow:ellipsis;white-space:nowrap}
.wv-promotion-queue-row small{display:block;overflow:hidden;color:#7890a1;font:750 11px/1.35 "Nunito",sans-serif;text-overflow:ellipsis;white-space:nowrap}
.wv-promotion-queue-status>span{display:inline-flex;align-items:center;justify-self:start;min-height:24px;padding:3px 8px;border-radius:999px;background:#eef5fa;color:#42647e;font:900 11px/1 "Nunito",sans-serif}
.wv-promotion-queue-status>span.is-approved{background:#eaf8f1;color:#217651}.wv-promotion-queue-status>span.is-pending{background:#fff7e8;color:#8a651d}.wv-promotion-queue-status>span.is-rejected,.wv-promotion-queue-status>span.is-cancelled{background:#fff0f0;color:#a54848}
.wv-promotion-queue-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:6px}
.wv-promotion-queue-actions button{min-height:34px;padding:0 9px;border:1px solid #cfe0ea;border-radius:9px;background:#fff;color:#174b70;font:900 11px/1 "Nunito",sans-serif;cursor:pointer}
.wv-promotion-queue-actions button.approve{border-color:#bfe5d3;color:#217651;background:#f3fbf7}.wv-promotion-queue-actions button.reject{border-color:#efd0d0;color:#a54848;background:#fff7f7}

/* Modal de configuração */
.wv-promotion-config-dialog{width:min(940px,calc(100% - 32px));max-height:calc(100vh - 32px);border-radius:20px;background:#fff;overflow:hidden;box-sizing:border-box}
.wv-promotion-config-dialog form{width:100%;max-width:none;box-sizing:border-box;gap:13px;max-height:calc(100vh - 32px);padding:26px 30px 24px;background:#fff;overflow:auto}
.wv-promotion-config-dialog h2{font-size:1.55rem;letter-spacing:-.025em}
.wv-promotion-config-dialog>form>p{max-width:760px;font-size:.82rem}
.wv-promotion-config-warning{display:grid;gap:3px;margin:0;padding:10px 12px;border:1px solid #f0d89d;border-radius:11px;background:#fff9e9;color:#725b1e}
.wv-promotion-config-warning strong{font:900 12.5px/1.3 "Nunito",sans-serif}.wv-promotion-config-warning span{font:750 11.5px/1.35 "Nunito",sans-serif}
.wv-promotion-config-identity{display:grid;grid-template-columns:150px minmax(300px,1fr) 190px;gap:10px}
.wv-promotion-config-identity>div{display:grid;align-content:center;gap:4px;min-width:0;min-height:68px;padding:11px 13px;border:1px solid #d8e6ef;border-radius:13px;background:#f7fbfd}
.wv-promotion-config-identity small{color:#71869a;font:900 10.5px/1.2 "Nunito",sans-serif;letter-spacing:.08em}
.wv-promotion-config-identity strong{display:block;color:#123f68;font:900 14px/1.25 "Nunito",sans-serif;white-space:normal;overflow-wrap:anywhere}
.wv-promotion-config-identity .name strong{font-size:14.5px}
.wv-promotion-config-group{display:grid;gap:10px;padding:12px 13px;border:1px solid #dbe8ef;border-radius:14px;background:#fbfdff}
.wv-promotion-config-group>header{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.wv-promotion-config-group>header small{color:#6f8598;font:900 10.5px/1.2 "Nunito",sans-serif;letter-spacing:.09em}
.wv-promotion-config-group>header h3{margin:0;color:#113f69;font:900 14.5px/1.2 "Nunito",sans-serif}
.wv-promotion-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.wv-promotion-config-grid.dates{grid-template-columns:repeat(3,minmax(0,1fr))}
.wv-promotion-field{display:grid;gap:5px;color:#315674;font:850 12.5px/1.25 "Nunito",sans-serif}.wv-promotion-field>span{color:#315674;font:850 12.5px/1.25 "Nunito",sans-serif}
.wv-promotion-field input,.wv-promotion-field select{width:100%;box-sizing:border-box;min-height:43px;padding:0 12px;border:1px solid #c7dce9;border-radius:10px;background:#fff;color:#163b61;font:800 13.5px/1.2 "Nunito",sans-serif}
.wv-promotion-field input:focus,.wv-promotion-field select:focus{border-color:#6bb9e6;box-shadow:0 0 0 3px rgba(8,120,209,.09)}
.wv-promotion-field-money .wv-promotion-input-wrap{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;min-height:43px;border:1px solid #c7dce9;border-radius:10px;background:#fff;overflow:hidden}.wv-promotion-field-money .wv-promotion-input-wrap b{display:grid;place-items:center;align-self:stretch;background:#f3f8fb;color:#2a5678;font:900 13px/1 "Nunito",sans-serif;border-right:1px solid #d9e6ee}.wv-promotion-field-money .wv-promotion-input-wrap input{min-height:41px;border:0;border-radius:0;box-shadow:none;background:transparent}.wv-promotion-field-money .wv-promotion-input-wrap:focus-within{border-color:#6bb9e6;box-shadow:0 0 0 3px rgba(8,120,209,.09)}
.wv-promotion-config-preview{display:grid;gap:3px;margin-top:0;padding:10px 12px;border:1px solid #dbe8ef;border-radius:11px;background:#f7fbfd;color:#55748a}.wv-promotion-config-preview strong{color:#234f6f;font:900 12px/1.3 "Nunito",sans-serif}.wv-promotion-config-preview span{font:750 11.5px/1.4 "Nunito",sans-serif}
.wv-promotion-config-actions{justify-content:flex-end;gap:9px;padding-top:1px}.wv-promotion-config-actions>button{min-height:44px;padding:0 16px;border-radius:12px}

/* Clientes — selo CP2 na lista */
.wv-panel[data-water-panel="customers"] .wv-customer-name-line,.wv-panel[data-water-panel="customers"] .wv-customer-id-line{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.wv-panel[data-water-panel="customers"] .wv-customer-name-line strong{min-width:0;max-width:100%}
.wv-panel[data-water-panel="customers"] .wv-customer-id-line{gap:6px}
.wv-panel[data-water-panel="customers"] .wv-customer-id-line .wv-promotion-id{display:inline-flex;align-items:center;min-height:24px;max-width:100%;padding:3px 8px;border:1px solid #c9def0;border-radius:999px;background:#f4f9fd;color:#155e94;font:900 12px/1 "Nunito",sans-serif;font-style:normal;white-space:nowrap}
.wv-panel[data-water-panel="customers"] .wv-customer-id-line .wv-water-id{font-style:normal}
.wv-panel[data-water-panel="customers"] .wv-customer-promo-tag{display:inline-flex;align-items:center;justify-self:start;width:max-content;max-width:100%;margin-top:1px;padding:3px 8px;border-radius:999px;background:#eef7ff;color:#2172a8;font:800 11.5px/1.2 "Nunito",sans-serif;font-style:normal;white-space:normal}.wv-panel[data-water-panel="customers"] .wv-customer-promo-tag.forms{background:#f0f8ff;color:#176a9e}.wv-panel[data-water-panel="customers"] .wv-customer-promo-tag.linked{background:#edf8f4;color:#25795b}

/* Clientes — detalhe/vínculo CP2 */
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-identifiers{display:flex;align-items:stretch;gap:10px;min-width:0;flex-wrap:wrap}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-id{display:grid;align-content:center;gap:3px;min-width:130px;padding:9px 11px;border:1px solid #dce8ef;border-radius:11px;background:#fff}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-id small{color:#71869a;font:900 10px/1.2 "Nunito",sans-serif;letter-spacing:.08em}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-id strong{color:#0874c9;font:900 17px/1.18 "Nunito",sans-serif;overflow-wrap:anywhere}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-id em{color:#6f8596;font:800 10.5px/1.25 "Nunito",sans-serif;font-style:normal}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-id.promotion{min-width:210px;border-color:#cbe1f0;background:linear-gradient(135deg,#f7fbff,#eef7fd)}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-id.promotion strong{color:#135f94}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta{display:grid;grid-template-columns:minmax(190px,.55fr) minmax(0,1.45fr);gap:16px;align-items:center;padding:14px 16px;border:1px solid #d8e7ef;border-radius:14px;background:linear-gradient(135deg,#f8fcff,#f4f9fc)}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta>div{display:grid;gap:2px;min-width:0}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta>div>span{color:#0871c8;font:950 10.5px/1.2 "Nunito",sans-serif;letter-spacing:.1em}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta h3{margin:0;color:#173f61;font:900 17px/1.2 "Nunito",sans-serif}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta dl>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid #e2ebf1;border-radius:10px;background:#fff}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta dt{color:#7a8fa0;font:850 10px/1.2 "Nunito",sans-serif}
.wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta dd{margin:0;overflow-wrap:anywhere;color:#173f61;font:900 12px/1.35 "Nunito",sans-serif}

/* Responsividade */

@media(max-width:1280px){
  .wv-chances-tools{align-items:stretch;flex-direction:column}.wv-chances-search{max-width:none;flex-basis:auto}.wv-chances-scopes{justify-content:flex-start}
  .wv-promotion-participants-head{display:none}
  .wv-promotion-participant-row{grid-template-columns:minmax(150px,.8fr) minmax(220px,1.25fr) minmax(180px,1fr);gap:10px 12px}
  .wv-promotion-participant-row .wv-promotion-id small{display:block;color:#8295a5;font:800 10px/1.2 "Nunito",sans-serif;text-transform:uppercase;letter-spacing:.05em}
  .wv-promotion-link,.wv-promotion-chance-cell,.wv-promotion-status{padding:9px 10px;border-radius:10px;background:#f7fafc}
}
@media(max-width:1180px){
  .wv-promotion-participants-head,.wv-promotion-participant-row{grid-template-columns:minmax(145px,.8fr) minmax(200px,1.2fr) minmax(155px,.9fr) minmax(140px,.82fr) minmax(92px,.5fr) minmax(112px,.64fr);gap:10px}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta{grid-template-columns:1fr}
}
@media(max-width:980px){
  .wv-chances-panel .wv-promotion-campaign-strip{grid-template-columns:1fr 1fr}
  .wv-chances-panel .wv-promotion-campaign-strip>span:nth-child(2){border-right:0}
  .wv-chances-panel .wv-promotion-campaign-strip>span:nth-child(-n/**/+2){border-bottom:1px solid #e7eef3}
  .wv-promotion-queue-head{display:none}.wv-promotion-queue-row{grid-template-columns:1fr 1fr;gap:10px 14px}.wv-promotion-queue-actions{grid-column:1/-1;justify-content:flex-start}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta dl{grid-template-columns:1fr 1fr}
}
@media(max-width:860px){
  .wv-chances-heading{align-items:stretch;flex-direction:column}.wv-chances-heading .wv-heading-actions{justify-content:flex-start;width:100%}.wv-chances-heading .wv-heading-actions>*{flex:1 1 auto}
  .wv-chances-tools{align-items:stretch;flex-direction:column}.wv-chances-search{max-width:none;flex-basis:auto}.wv-chances-scopes{justify-content:flex-start}
  .wv-promotion-participants-head{display:none}.wv-promotion-participant-row{grid-template-columns:1fr 1fr;gap:10px 14px}.wv-promotion-participant-row .wv-promotion-id small{display:block;color:#8295a5;font:800 10px/1.2 "Nunito",sans-serif;text-transform:uppercase;letter-spacing:.05em}.wv-promotion-participant-row .wv-chances-person{grid-column:1/-1}.wv-promotion-origin,.wv-promotion-link,.wv-promotion-chance-cell,.wv-promotion-status{padding:9px 10px;border-radius:10px;background:#f7fafc}
  .wv-promotion-config-dialog{width:min(720px,calc(100% - 20px));max-height:calc(100vh - 20px)}.wv-promotion-config-dialog form{max-height:calc(100vh - 20px);padding:22px 18px 18px}.wv-promotion-config-identity{grid-template-columns:1fr 1fr}.wv-promotion-config-identity .name{grid-column:1/-1;grid-row:1}.wv-promotion-config-grid.dates{grid-template-columns:1fr 1fr}.wv-promotion-config-grid.dates>label:last-child{grid-column:1/-1}
}
@media(max-width:720px){
  .wv-chances-summary{grid-template-columns:1fr 1fr;gap:8px}.wv-chances-summary article{padding:11px}.wv-chances-summary article>span{width:34px;height:34px;flex-basis:34px}.wv-chances-summary strong{font-size:15px}
  .wv-chances-panel .wv-promotion-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;box-sizing:border-box}.wv-chances-panel .wv-promotion-tabs button{width:100%;padding-inline:9px}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-identifiers{display:grid;grid-template-columns:1fr 1fr;width:100%}.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-id.promotion{min-width:0}.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-id{min-width:0}
}
@media(max-width:600px){
  .wv-promotion-config-identity,.wv-promotion-config-grid,.wv-promotion-config-grid.dates{grid-template-columns:1fr}.wv-promotion-config-identity .name,.wv-promotion-config-grid.dates>label:last-child{grid-column:auto;grid-row:auto}.wv-promotion-config-actions{display:grid;grid-template-columns:1fr}.wv-promotion-config-actions>button{width:100%}
  .wv-dialog[data-dialog="customer-detail"] .wv-customer-promotion-meta dl{grid-template-columns:1fr}
}
@media(max-width:560px){
  .wv-chances-summary{grid-template-columns:1fr}.wv-chances-scopes{display:grid;grid-template-columns:1fr 1fr;width:100%}.wv-chances-scopes button{width:100%}
  .wv-chances-panel .wv-promotion-campaign-strip{grid-template-columns:1fr}.wv-chances-panel .wv-promotion-campaign-strip>span{border-right:0;border-bottom:1px solid #e7eef3!important}.wv-chances-panel .wv-promotion-campaign-strip>span:last-child{border-bottom:0!important}
  .wv-chances-panel .wv-promotion-tabs{grid-template-columns:1fr}.wv-promotion-participant-row{grid-template-columns:1fr}.wv-promotion-participant-row .wv-chances-person{grid-column:auto}.wv-promotion-queue-row{grid-template-columns:1fr}.wv-promotion-queue-actions{grid-column:auto}
  .wv-promotion-verification-intro{align-items:flex-start!important;flex-direction:column}.wv-dialog[data-dialog="customer-detail"] .wv-customer-detail-identifiers{grid-template-columns:1fr}
}

/* v25.11.90 — garantias finais do modal Cliente após o bloco responsivo global. */
.wv-customer-dialog .wv-customer-dialog-icon img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(min-width:561px){
  .staff-app[data-view="water"] dialog.wv-dialog.wv-customer-dialog.is-new-customer{
    max-height:none;
    overflow:visible;
  }
  .staff-app[data-view="water"] dialog.wv-dialog.wv-customer-dialog.is-new-customer>form{
    max-height:none;
    overflow:visible;
  }
}

/* v25.11.92 — Cliente: alinhamento final, dropdown canônico e leitura confortável. */
.wv-customer-dialog.is-new-customer .wv-customer-id-card,
.wv-customer-dialog.is-edit-customer .wv-customer-id-card{
  justify-items:center;
  text-align:center;
}
.wv-customer-dialog.is-edit-customer .wv-customer-field-label{
  display:flex;
  align-items:center;
  min-height:22px;
  color:#123d72;
  font:900 16px/1.2 "Nunito",sans-serif;
}
.wv-customer-dialog.is-edit-customer .wv-required-indicator{
  margin-left:4px;
  color:#d92d20;
}
.wv-customer-dialog.is-new-customer .wv-customer-type-field,
.wv-customer-dialog.is-edit-customer .wv-customer-type-field{
  min-width:0;
}
.wv-customer-dialog.is-new-customer .wv-customer-address-field,
.wv-customer-dialog.is-new-customer .wv-customer-type-field{
  align-self:start;
}
.wv-customer-dialog.is-new-customer .wv-customer-address-shell,
.wv-customer-dialog.is-new-customer .wv-customer-type-trigger{
  height:56px;
  min-height:56px;
  border-radius:16px;
}
.wv-customer-dialog.is-new-customer .wv-customer-address-shell input[name="address"]{
  font-size:16.5px;
}
.wv-customer-dialog .wv-customer-type-menu{
  will-change:opacity,transform;
}
.wv-customer-dialog .wv-customer-type-menu button{
  min-height:52px;
}
.wv-customer-dialog .wv-customer-type-menu button strong{
  font-size:14.5px;
}
.wv-customer-dialog .wv-customer-type-menu button small{
  font-size:12.5px;
}
/* O portal global é o único padrão de descrição do Caixa. */
.staff-app[data-view="water"] [data-tooltip]{
  --wv-tooltip-enabled:1;
}
@media(max-width:820px){
  .wv-customer-dialog .wv-customer-type-menu{position:static;margin-top:7px;box-shadow:0 12px 28px rgba(18,55,87,.12)}
}

/* v25.11.96 — Edição de valor em segunda linha sem alterar a linha principal consolidada. */
.wv-panel[data-water-panel="sale"] .wv-cart.has-price-editor{
  max-height:none!important;
  overflow:visible!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry.is-price-editing{
  gap:7px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-shell.is-editing{
  border-color:#69afe0!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(8,120,209,.08)!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-input{
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  padding:0 2px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0b4f97!important;
  font:900 15px/1 "Nunito",sans-serif!important;
  outline:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-edit-price.is-active{
  border-color:#9bcce9!important;
  background:#dff0fc!important;
  color:#096cad!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor{
  position:relative!important;
  display:grid!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:10px!important;
  border:1px solid #d9e7ef!important;
  border-radius:14px!important;
  background:#f7fbfe!important;
  animation:wvCartPriceEditorIn .18s ease!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor.theme-pix{
  border-color:#cde4f3!important;
  background:#f4faff!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor.theme-cash{
  border-color:#d4e9df!important;
  background:#f6fbf8!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor.theme-card{
  border-color:#e1dcf0!important;
  background:#faf8ff!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor.theme-mixed{
  border-color:#dbe6ee!important;
  background:#f7fafc!important;
}
@keyframes wvCartPriceEditorIn{
  from{opacity:0;transform:translateY(-4px)}
  to{opacity:1;transform:translateY(0)}
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reference{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:7px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reference>div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-width:0!important;
  padding:7px 9px!important;
  border:1px solid rgba(190,213,228,.78)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.78)!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reference small{
  color:#668096!important;
  font-size:10.5px!important;
  font-weight:850!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reference strong{
  color:#17476f!important;
  font-size:12.5px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-row{
  display:grid!important;
  grid-template-columns:minmax(150px,1fr) auto!important;
  align-items:end!important;
  gap:9px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-field,
.wv-panel[data-water-panel="sale"] .wv-cart-price-note{
  display:grid!important;
  gap:5px!important;
  min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-field>span,
.wv-panel[data-water-panel="sale"] .wv-cart-price-note>span{
  color:#214d75!important;
  font-size:11.5px!important;
  font-weight:900!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-select{
  position:relative!important;
  min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-trigger{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  padding:0 11px!important;
  border:1px solid #c9dce8!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#173f69!important;
  font:800 12.5px/1.1 "Nunito",sans-serif!important;
  text-align:left!important;
  cursor:pointer!important;
  outline:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-trigger:not(.is-filled)>span{color:#7a90a4!important}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-trigger i{color:#1a639f!important;font-style:normal!important}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-trigger:focus-visible,
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-trigger[aria-expanded="true"]{
  border-color:#78b8df!important;
  box-shadow:0 0 0 3px rgba(8,120,209,.08)!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  min-width:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions>button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
  min-height:40px!important;
  padding:0 9px!important;
  border-radius:12px!important;
  font:850 10.5px/1 "Nunito",sans-serif!important;
  white-space:nowrap!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-secondary{
  border:1px solid #c9dce8!important;
  background:#fff!important;
  color:#245276!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-primary.positive{
  min-width:136px!important;
  border:1px solid #b8dfcf!important;
  background:#eaf8f2!important;
  color:#16835f!important;
  box-shadow:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions [data-inline-price-standard]{min-width:106px!important}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-primary.positive:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-primary.positive:focus-visible{
  border-color:#72c2a1!important;
  background:#dff4eb!important;
  color:#0f7553!important;
  outline:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .icon-only{
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  padding:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions svg{width:14px!important;height:14px!important}
.wv-panel[data-water-panel="sale"] .wv-cart-price-note input{
  width:100%!important;
  height:38px!important;
  padding:0 10px!important;
  border:1px solid #c9dce8!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#173f69!important;
  font:800 12px/1 "Nunito",sans-serif!important;
  outline:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-note input:focus{
  border-color:#78b8df!important;
  box-shadow:0 0 0 3px rgba(8,120,209,.08)!important;
}
@media(max-width:700px){
  .wv-panel[data-water-panel="sale"] .wv-cart-price-editor-row{grid-template-columns:1fr!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions{justify-content:stretch!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions>button:not(.icon-only){flex:1 1 0!important}
}
@media(max-width:460px){
  .wv-panel[data-water-panel="sale"] .wv-cart-price-reference{grid-template-columns:1fr!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions{display:grid!important;grid-template-columns:1fr 1fr 40px!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions>button{width:100%!important}
  .wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-primary.positive span{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .wv-panel[data-water-panel="sale"] .wv-cart-price-editor{animation:none!important}
}

/* v25.11.98 — Resumo da venda: ações compactas + popover global + lista de clientes em lotes de 15. */
.wv-panel[data-water-panel="sale"] .wv-cart-entry.is-price-editing{
  position:relative!important;
  z-index:40!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-secondary,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-row,
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-field,
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-select{
  position:relative!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-inline-secondary,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor{
  overflow:visible!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-reason-field>span,
.wv-panel[data-water-panel="sale"] .wv-cart-price-note>span{
  font-size:12.8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions{
  gap:8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions>button{
  min-height:40px!important;
  border-radius:12px!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-restore,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-confirm,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-cancel{
  display:grid!important;
  place-items:center!important;
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  padding:0!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-restore{
  border:1px solid #c9dce8!important;
  background:#fff!important;
  color:#245276!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-restore:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-restore:focus-visible{
  border-color:#b8d6e8!important;
  background:#eef7fd!important;
  color:#0f6fae!important;
  outline:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-confirm{
  border:1px solid #1591d2!important;
  background:#168fd0!important;
  color:#fff!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-confirm:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-confirm:focus-visible{
  background:#0f7fc0!important;
  border-color:#0f7fc0!important;
  color:#fff!important;
  outline:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-cancel{
  border:1px solid #c9dce8!important;
  background:#fff!important;
  color:#245276!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-cancel:hover,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-cancel:focus-visible{
  background:#fffaf0!important;
  border-color:#e6d7aa!important;
  color:#9d700f!important;
  outline:none!important;
  box-shadow:0 4px 10px rgba(157,112,15,.1)!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-restore svg,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-confirm svg,
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions .wv-cart-inline-cancel svg{
  width:16px!important;
  height:16px!important;
  stroke-width:2.5!important;
}
.wv-inline-price-reason-portal{
  position:fixed!important;
  z-index:2147483200!important;
  display:grid!important;
  gap:4px!important;
  padding:8px!important;
  border:1px solid #d8e5ed!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 18px 38px rgba(15,54,88,.16)!important;
  animation:wvInlinePriceReasonPortalIn .15s ease!important;
}
.wv-inline-price-reason-portal.opens-upward{
  animation:wvInlinePriceReasonPortalUp .15s ease!important;
}
.wv-inline-price-reason-portal button{
  min-height:38px!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#244e70!important;
  font:800 12.5px/1.2 "Nunito",sans-serif!important;
  text-align:left!important;
  cursor:pointer!important;
}
.wv-inline-price-reason-portal button:hover,
.wv-inline-price-reason-portal button:focus-visible,
.wv-inline-price-reason-portal button.active{
  background:#edf6fc!important;
  color:#0d5f9e!important;
  outline:none!important;
}
@keyframes wvInlinePriceReasonPortalIn{
  from{opacity:0;transform:translateY(-4px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes wvInlinePriceReasonPortalUp{
  from{opacity:0;transform:translateY(4px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:460px){
  .wv-panel[data-water-panel="sale"] .wv-cart-price-editor-actions{
    display:grid!important;
    grid-template-columns:repeat(3,40px)!important;
    justify-content:end!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .wv-inline-price-reason-portal{animation:none!important}
}

/* v25.11.99 — estabilidade do editor de valor + grade de produtos mais eficiente */
.wv-panel[data-water-panel="sale"] .wv-cart-price-editor{
  animation:none!important;
  transform:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-cart-entry.is-price-editing .wv-cart-price-editor-row,
.wv-panel[data-water-panel="sale"] .wv-cart-entry.is-price-editing .wv-cart-price-reason-field,
.wv-panel[data-water-panel="sale"] .wv-cart-entry.is-price-editing .wv-cart-price-reason-select{
  backface-visibility:hidden;
  transform:translateZ(0);
}

/* O tooltip de Quantidade pertence ao conjunto inteiro (- / valor / +), não apenas ao botão +. */
.wv-panel[data-water-panel="sale"] .wv-cart-qty-cluster{
  position:relative!important;
}

/* Produtos: cards levemente mais flexíveis para aproveitar a primeira linha sem comprimir a tipografia. */
.wv-panel[data-water-panel="sale"] .wv-product-grid{
  grid-template-columns:repeat(auto-fit,minmax(225px,1fr))!important;
  gap:9px!important;
  justify-content:stretch!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:9px 6px 8px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-id>small,
.wv-panel[data-water-panel="sale"] .wv-product-family-id>h3{
  font-size:18px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-body{
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:7px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-thumb{
  width:56px!important;
  height:58px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family-thumb img{
  max-width:54px!important;
  max-height:54px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-variant,
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages .wv-product-variant{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages .wv-product-tier-actions,
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages .wv-product-tier-action{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-variant-main b{
  font-size:15.5px!important;
}
.wv-panel[data-water-panel="sale"] .wv-product-price strong,
.wv-panel[data-water-panel="sale"] .wv-product-variant-main strong{
  font-size:20px!important;
}
@media(max-width:480px){
  .wv-panel[data-water-panel="sale"] .wv-product-grid{
    grid-template-columns:1fr!important;
  }
  .wv-panel[data-water-panel="sale"] .wv-product-family-id>small,
  .wv-panel[data-water-panel="sale"] .wv-product-family-id>h3{
    font-size:18px!important;
  }
}

/* v25.12.00 — Registros por dia + ordenação estrutural de produtos/preços */
.wv-reports-panel.is-daily-records > :not(.wv-report-heading):not(.wv-report-daily-view){display:none!important}
.wv-report-heading-actions .wv-report-daily-button.active{
  border-color:#a9d1e9!important;
  background:#eef7fd!important;
  color:#0b65a7!important;
}
.wv-report-daily-view{
  display:grid;
  gap:14px;
  animation:wvDailyRecordsIn .16s ease;
}
@keyframes wvDailyRecordsIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
.wv-daily-records-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border:1px solid #dce8f1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 22px rgba(19,63,101,.035);
}
.wv-daily-records-top>div:first-child{display:grid;gap:4px}
.wv-daily-records-top .wv-back-link{justify-self:start;margin-bottom:2px}
.wv-daily-records-top h2{margin:0;color:#0b3768;font-size:25px;line-height:1.08;font-weight:900;letter-spacing:-.025em}
.wv-daily-records-top p{margin:0;color:#6f8598;font-size:13px;line-height:1.35}
.wv-daily-date-nav{display:grid;grid-template-columns:40px minmax(168px,200px) 40px;align-items:end;gap:7px}
.wv-daily-date-nav>button{
  display:grid;place-items:center;width:40px;height:42px;padding:0;border:1px solid #cfe0eb;border-radius:12px;background:#f5f9fc;color:#155589
}
.wv-daily-date-nav>button:hover:not(:disabled),.wv-daily-date-nav>button:focus-visible{background:#edf6fc;border-color:#b9d7e9;outline:none}
.wv-daily-date-nav>button:disabled{opacity:.4;cursor:not-allowed}
.wv-daily-date-nav label{display:grid;gap:5px;color:#315674;font-size:12px;font-weight:900}
.wv-daily-date-nav input{min-height:42px;padding:0 11px;border:1px solid #cfe0eb;border-radius:12px;background:#fff;color:#173f68;font-size:14px;font-weight:800;outline:none}
.wv-daily-date-nav input:focus{border-color:#78b8df;box-shadow:0 0 0 3px rgba(8,120,209,.08)}
.wv-daily-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wv-daily-summary-grid article{
  display:grid;gap:4px;min-height:82px;padding:14px 16px;border:1px solid #dce8f1;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(19,63,101,.03)
}
.wv-daily-summary-grid small{color:#698095;font-size:11px;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.wv-daily-summary-grid strong{color:#0b3c70;font-size:24px;line-height:1;font-weight:900}
.wv-daily-payments{display:flex;gap:8px;flex-wrap:wrap}
.wv-daily-payment-chip{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 11px;border:1px solid #dbe7ef;border-radius:12px;background:#fff}
.wv-daily-payment-chip small{font-size:11px;font-weight:900;color:#647e94}
.wv-daily-payment-chip strong{font-size:13px;color:#173f68}
.wv-daily-payment-chip.pix{background:#f2f9ff;border-color:#cde4f4}.wv-daily-payment-chip.cash{background:#f3fbf7;border-color:#d0e9dc}.wv-daily-payment-chip.card{background:#f8f6ff;border-color:#ddd8ef}
.wv-daily-records-card{padding:0!important;overflow-x:auto!important}
.wv-daily-records-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #e3ecf2;background:#fff}
.wv-daily-records-card-head>div{display:grid;gap:2px}.wv-daily-records-card-head h2{margin:0;color:#173f68;font-size:18px;font-weight:900}.wv-daily-records-card-head p{margin:0;color:#788c9d;font-size:12px}.wv-daily-records-card-head>span{color:#6f8496;font-size:12px;font-weight:850}
.wv-daily-records-head,.wv-daily-record-row{
  display:grid;
  grid-template-columns:145px 76px minmax(170px,1.05fr) minmax(205px,1.25fr) 112px 100px 92px;
  gap:12px;
  align-items:center;
  min-width:1030px;
}
.wv-daily-records-head{padding:9px 12px;background:#f3f8fb;color:#58738c;font-size:11px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
.wv-daily-record-row{padding:10px 12px;border-top:1px solid #e7eef3;background:#fff;transition:background .15s ease}
.wv-daily-record-row:hover{background:#fbfdff}
.wv-daily-record-row time{display:flex;align-items:center;gap:6px;color:#617b92;font-size:12.5px}
.wv-daily-record-row .wv-list-customer,.wv-daily-record-row .wv-list-items{min-width:0}
.wv-daily-record-row .wv-list-customer strong,.wv-daily-record-row .wv-list-items strong{display:block;overflow:hidden;color:#173f68;font-size:13px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.wv-daily-record-row .wv-list-items small{display:block;margin-top:2px;overflow:hidden;color:#7d90a0;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}
.wv-daily-record-row>b{justify-self:end;color:#0b3f73;font-size:14px}
.wv-daily-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.wv-daily-action{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #cfe0eb;border-radius:10px;background:#f5f9fc;color:#155589}
.wv-daily-action:hover:not(:disabled),.wv-daily-action:focus-visible{background:#eaf5fc;border-color:#b5d3e6;outline:none}
.wv-daily-action.danger{background:#fff;border-color:#ead8d8;color:#a14b50}.wv-daily-action.danger:hover:not(:disabled){background:#fff3f3;border-color:#e4c5c7;color:#a8373f}
.wv-daily-action:disabled{opacity:.42;cursor:not-allowed}
.wv-daily-action svg{width:15px;height:15px}
.wv-daily-pagination{min-width:1030px;padding:12px 16px;border-top:1px solid #e7eef3;background:#fff}

/* Pacotes usam exatamente a mesma largura estrutural dos demais cards, preservando espaço para 3 por linha quando houver largura. */
.wv-panel[data-water-panel="sale"] .wv-product-family.category-packages{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

@media(max-width:780px){
  .wv-daily-records-top{align-items:stretch;flex-direction:column}
  .wv-daily-date-nav{grid-template-columns:40px minmax(0,1fr) 40px}
  .wv-daily-summary-grid{grid-template-columns:1fr 1fr}
  .wv-daily-summary-grid article:first-child{grid-column:1/-1}
}
@media(max-width:480px){
  .wv-daily-summary-grid{grid-template-columns:1fr}
  .wv-daily-summary-grid article:first-child{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){.wv-report-daily-view{animation:none}}

/* v25.12.11 — resumo integrado de garrafões vendidos */
.wv-bottle-sales-report{margin:0 0 14px!important;padding:16px;border:1px solid var(--report-border);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(20,64,104,.03)}
.wv-bottle-sales-summary{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px}
.wv-bottle-sales-summary article{display:grid;gap:3px;min-width:0;padding:14px 15px;border:1px solid #e2ecf4;border-radius:14px;background:#f9fcff}
.wv-bottle-sales-summary article.is-total{background:#eef7ff;border-color:#d5e8f8}
.wv-bottle-sales-summary small{font-size:13px;font-weight:900;color:#53718b;text-transform:uppercase;letter-spacing:.025em}
.wv-bottle-sales-summary strong{font-size:30px;line-height:1;color:#123b68;overflow-wrap:anywhere}
.wv-bottle-sales-summary span{font-size:13px;line-height:1.3;color:#71879a;font-weight:750}
.wv-bottle-sales-note{margin:10px 1px 0;color:#71879a;font-size:13px;line-height:1.35;font-weight:700}
@media(max-width:760px){.wv-bottle-sales-summary{grid-template-columns:1fr 1fr}.wv-bottle-sales-summary article.is-total{grid-column:1/-1}.wv-bottle-sales-summary strong{font-size:27px}}
@media(max-width:480px){.wv-bottle-sales-summary{grid-template-columns:1fr}.wv-bottle-sales-summary article.is-total{grid-column:auto}.wv-bottle-sales-report{padding:14px}.wv-bottle-sales-summary article{padding:12px 13px}}
