.v5-sale-sheet{margin:0 0 22px;border:1px solid #55242d;border-radius:20px;background:linear-gradient(145deg,#171316,#100f11);box-shadow:0 22px 55px #0006;overflow:hidden;animation:v5-sheet-in .25s ease-out}@keyframes v5-sheet-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.v5-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;border-bottom:1px solid #452128;background:linear-gradient(110deg,#2b1218,#171316 55%)}.v5-sheet-head small,.v5-payment-head small{font-size:9px;font-weight:900;letter-spacing:.18em;color:#ff6272}.v5-sheet-head h2{margin:3px 0 2px;font-size:23px}.v5-sheet-head p{margin:0;color:var(--muted);font-size:12px}.v5-sheet-head>div:last-child{display:grid;text-align:right}.v5-sheet-head>div:last-child span{font-size:9px;text-transform:uppercase;letter-spacing:.15em;color:var(--muted)}.v5-sheet-head>div:last-child b{font:900 25px 'Bricolage Grotesque';color:#ff4559}
.v5-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:0 0 3px;scrollbar-color:#e51e35 #25191e}.v5-sale-table{width:100%;min-width:1420px;border-collapse:separate;border-spacing:0;background:#121013}.v5-sale-table th{padding:9px 8px;background:#25171c;border-right:1px solid #3b292f;border-bottom:1px solid #4b2b34;color:#cbbec4;font-size:9px;text-transform:uppercase;letter-spacing:.08em;text-align:left;white-space:nowrap}.v5-sale-table th small{font-size:8px;color:#ff6675}.v5-sale-table td{position:relative;padding:8px;border-right:1px solid #2f272b;border-bottom:1px solid #2f272b;vertical-align:middle;min-width:115px}.v5-sale-table td:nth-child(2){min-width:240px}.v5-sale-table td:last-child{min-width:245px;border-right:0}.v5-sale-table tr:hover td{background:#191518}.v5-sale-table select,.v5-sale-table input{width:100%;height:39px;min-width:0;border:1px solid #40343a;border-radius:8px;background:#1d191c;color:#fff;padding:7px 8px;font-size:11px}.v5-sale-table select:focus,.v5-sale-table input:focus{outline:0;border-color:#e7243a;box-shadow:0 0 0 2px #e7243a22}.v5-sale-table b{white-space:nowrap}.v5-sale-table .v5-small{min-width:70px;width:70px}.v5-code{display:block;margin-top:4px;color:#ff6978;font-size:9px}.v5-repeat-client{color:#b8abb2;font-size:11px}.v5-select-plus{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:5px}.v5-select-plus button{border:1px solid #69303b;border-radius:8px;background:#32171e;color:#ff7180;font-size:19px;cursor:pointer}.v5-row-actions{display:flex;gap:5px;align-items:center}.v5-row-actions button{height:32px;border:1px solid #4b353c;border-radius:8px;background:#211a1e;color:#e9dfe4;padding:0 8px;font-size:9px;font-weight:800;white-space:nowrap;cursor:pointer}.v5-row-actions button:hover{border-color:#ee2940;color:#ff7381}.v5-row-actions .v5-remove-row{width:30px;padding:0;color:#ff6e7d;background:#31161d}.v5-os-row td{background:#121821}.v5-os-row:hover td{background:#171f2a!important}.v5-os-row select{border-color:#314c65;background:#17212b}.v5-service-list{display:grid;gap:4px;font-size:10px}.v5-service-list span{display:flex;justify-content:space-between;gap:10px;color:#c8d2dc}.v5-service-list b{color:#68c6ff}.v5-locked{display:block;padding:10px;border-radius:8px;background:#172a24;color:#71ddb0;font-size:10px;white-space:nowrap}
.v5-payment-sheet{margin:16px;border:1px solid #594221;border-radius:16px;overflow:hidden;background:#17140f}.v5-payment-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#261c10;border-bottom:1px solid #49361f}.v5-payment-head h3{margin:2px 0 0}.v5-payment-head strong{color:#ffc25e}.v5-payment-rows{display:grid}.v5-payment-row{display:grid;grid-template-columns:120px minmax(180px,1fr) 190px 100px 36px;gap:8px;align-items:center;padding:9px 14px;border-bottom:1px solid #332a20}.v5-payment-row span{color:#cbbca8;font-size:11px;font-weight:800}.v5-payment-row select,.v5-payment-row input{height:39px;border:1px solid #4a3c28;border-radius:8px;background:#201b15;color:#fff;padding:7px}.v5-payment-row button{height:34px;border:1px solid #5b3437;border-radius:8px;background:#32181b;color:#ff7580}.v5-payment-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px}.v5-payment-actions span{color:#c9bcae}.v5-payment-actions b{color:#ffc25e}.v5-sheet-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 16px 16px}.v5-sheet-footer .err{margin-right:auto}.v5-launch{min-width:170px;background:linear-gradient(135deg,#f12940,#bd1025)!important;box-shadow:0 10px 25px #d51a3038}.v5-money{font-variant-numeric:tabular-nums}
@media(max-width:800px){.v5-sheet-head{align-items:flex-start}.v5-payment-row{grid-template-columns:1fr 1fr}.v5-payment-row span{grid-column:1/-1}.v5-payment-actions,.v5-sheet-footer{align-items:stretch;flex-direction:column}.v5-sheet-footer .err{margin:0}.v5-launch{width:100%}}

/* Refinamento premium/planilha */
.v5-sale-sheet{border-color:#3a3035;border-left:4px solid var(--red);background:#111012;box-shadow:0 16px 38px #0004}.v5-sheet-head{display:grid;grid-template-columns:auto minmax(310px,520px) auto;padding:13px 16px;background:#191619;border-bottom-color:#332b30}.v5-sale-identity{display:grid;gap:2px}.v5-sale-identity span{font-size:8px!important;color:var(--muted)!important;letter-spacing:.14em}.v5-sale-identity b{font-size:13px}.v5-sale-client{display:grid;gap:4px}.v5-sale-client label{display:flex;align-items:center;gap:6px;color:#b9adb4;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.v5-sale-client label svg{width:14px;height:14px}.v5-sale-client select{height:36px;border:1px solid #3d3438;border-radius:8px;background:#211d20;color:#fff;padding:6px 9px}.v5-sale-total{display:grid;text-align:right}.v5-sale-total span{font-size:8px!important;color:var(--muted)!important;text-transform:uppercase;letter-spacing:.12em}.v5-sale-total b{font:900 23px 'Bricolage Grotesque';color:#fff!important}
.v5-sheet-section{overflow-x:auto}.v5-sale-table{min-width:1140px;table-layout:fixed}.v5-sale-table th{height:31px;padding:7px 9px;background:#211d20;border-right:0;border-bottom-color:#393136;color:#9f959b}.v5-sale-table th:first-child{width:35%}.v5-sale-table th:nth-child(2){width:6%}.v5-sale-table th:nth-child(3){width:11%}.v5-sale-table th:nth-child(4){width:11%}.v5-sale-table th:nth-child(5){width:8%}.v5-sale-table th:nth-child(6){width:14%}.v5-sale-table th:nth-child(7){width:12%}.v5-sale-table th:last-child{width:42px}.v5-sale-table td{min-width:0!important;height:55px;padding:6px 8px;border-right:0;border-bottom-color:#2b2528}.v5-sheet-row td:first-child{border-left:3px solid #70666b}.v5-sheet-row.v5-cat-capas td:first-child{border-left-color:#e52a40}.v5-sheet-row.v5-cat-produtos td:first-child{border-left-color:#78838f}.v5-sheet-row.v5-cat-servi-os td:first-child,.v5-os-row td:first-child{border-left-color:#4f8db9}.v5-sheet-row.v5-cat-celulares td:first-child{border-left-color:#8d75a4}.v5-product-main{width:auto}.v5-product-search-cell{position:relative}.v5-product-search-cell input{padding-left:28px}.v5-search-icon{position:absolute;left:9px;top:8px;color:#82787e;z-index:1;font-size:18px}.v5-code{display:flex;align-items:center;gap:6px;margin:3px 0 0 3px;color:#827a7f}.v5-code span{padding:2px 5px;border-radius:4px;background:#282126;color:#cbbfc5;font-size:7px;font-weight:900;text-transform:uppercase}.v5-line-total b{font:800 14px 'Bricolage Grotesque';color:#fff}.v5-warranty-chip{display:inline-flex;align-items:center;gap:5px;height:30px;border:1px solid #37343a;border-radius:15px;background:#211f22;color:#aaa2a8;padding:0 9px;font-size:10px;font-weight:800;cursor:pointer}.v5-warranty-chip svg{width:13px;height:13px}.v5-warranty-chip.changed{border-color:#8a611e;background:#2c2314;color:#ffc45b}.v5-commission-chip{height:32px!important;border-radius:16px!important;font-size:9px!important;background:#211d20!important}.v5-icon-action{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#81777d;cursor:pointer}.v5-icon-action svg{width:15px;height:15px}.v5-icon-action:hover{background:#32171d;color:#ff5d6e}.v5-add-line{margin:8px 12px 10px;border:1px dashed #4c3f45;border-radius:8px;background:transparent;color:#c4b9bf;padding:7px 12px;font-size:10px;font-weight:800;cursor:pointer}.v5-add-line:hover{border-color:#d82a3e;color:#fff}.v5-sale-actions{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;border-top:1px solid #2c2529}.v5-pay-trigger{background:#292328!important;color:#fff!important;border:1px solid #494047!important}.v5-pay-trigger svg{width:15px;height:15px;vertical-align:middle;margin-right:5px}.v5-section-label{padding:10px 12px 5px;color:#77bde9;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.v5-section-label svg{width:14px;height:14px;vertical-align:middle}.v5-os-table{min-width:1280px}.v5-os-table th:first-child{width:13%}.v5-os-table th:nth-child(2){width:13%}.v5-os-table th:nth-child(3){width:13%}.v5-os-table th:nth-child(4){width:20%}.v5-os-table th:nth-child(5){width:12%}.v5-os-table th:nth-child(6){width:10%}.v5-os-table th:nth-child(7){width:12%}.v5-os-table th:nth-child(8){width:12%}
.v5-payment-sheet{border-color:#3d3630;background:#151312}.v5-payment-head{padding:11px 14px;background:#211c17;border-bottom-color:#393129}.v5-payment-head strong{color:#fff}.v5-payment-row{padding:7px 12px}.v5-payment-actions{padding:10px 12px}.v5-payment-balance{display:flex;align-items:center;gap:18px}.v5-payment-balance span{font-size:10px}.v5-payment-balance strong{font-size:12px}.v5-payment-balance.pending strong{color:#f2b64e}.v5-payment-balance.over strong{color:#ff6b78}.v5-payment-balance.complete strong{color:#5ed29f}.v5-sheet-footer{padding:4px 14px 14px}.v5-launch:disabled{opacity:.35;cursor:not-allowed;box-shadow:none}.v5-launch:not(:disabled){box-shadow:0 9px 24px #d51a3040}
@media(max-width:900px){.v5-sheet-head{grid-template-columns:1fr 1fr}.v5-sale-client{grid-column:1/-1;grid-row:2}.v5-sale-total{grid-column:2;grid-row:1}.v5-payment-balance{align-items:flex-end;flex-direction:column;gap:2px}}

/* Vendas do dia em blocos de planilha */
.v5-day-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin-bottom:10px;padding:10px 12px;border:1px solid #312a2e;border-radius:12px;background:#161416}.v5-day-top .sales-list-heading{margin:0!important;padding:0!important;border:0!important}.v5-day-summary{display:flex;justify-content:center;gap:14px;color:#8f878c;font-size:10px}.v5-day-summary b{color:#fff}.v5-filter-toggle{display:flex;align-items:center;gap:5px;height:30px;border:1px solid #40363b;border-radius:8px;background:#211d20;color:#c2b7bd;padding:0 10px;font-size:9px;font-weight:800;cursor:pointer}.v5-filter-toggle svg{width:13px;height:13px}.v5-filter-toggle.active{border-color:#b32739;color:#fff}.v5-day-filters{display:grid;grid-template-columns:minmax(160px,1fr) repeat(3,minmax(120px,auto)) auto;gap:7px;margin-bottom:10px;padding:9px;border:1px solid #342c30;border-radius:10px;background:#151315}.v5-day-filters input,.v5-day-filters select{height:33px;border:1px solid #3b3337;border-radius:7px;background:#211e20;color:#fff;padding:5px 8px;font-size:10px}.v5-day-filters label{display:flex;align-items:center;gap:6px;color:#b6abb1;font-size:10px;white-space:nowrap}.v5-day-filters label input{width:auto;height:auto}.v5-day-blocks{display:grid;gap:8px}.v5-day-sale{border:1px solid #332c30;border-left:3px solid #676066;border-radius:11px;background:#141214;overflow:visible;transition:border-color .15s}.v5-day-sale:hover{border-color:#51434a;border-left-color:#db263b}.v5-day-sale>header{position:relative;display:grid;grid-template-columns:26px auto auto minmax(110px,1fr) auto auto auto 32px;align-items:center;gap:9px;min-height:42px;padding:5px 8px;color:#9f969b;font-size:9px}.v5-day-sale>header svg{width:12px;height:12px;vertical-align:middle}.v5-day-sale>header strong{font:800 14px 'Bricolage Grotesque';color:#fff;white-space:nowrap}.v5-collapse{border:0;background:transparent;color:#a99fa4;cursor:pointer;font-size:14px}.v5-sale-number{padding:4px 6px;border-radius:5px;background:#292326;color:#d8cdd2!important;font-size:8px;font-weight:900;letter-spacing:.05em;white-space:nowrap}.v5-day-lines{border-top:1px solid #2c2729;overflow:auto}.v5-day-lines table{width:100%;border-collapse:collapse;min-width:660px}.v5-day-lines th{padding:5px 8px;background:#1b181a;color:#7d7579;font-size:8px;text-align:left;text-transform:uppercase;letter-spacing:.06em}.v5-day-lines th:nth-child(2){width:44%}.v5-day-lines td{padding:6px 8px;border-top:1px solid #242123;color:#bdb3b8;font-size:9px}.v5-day-lines td:nth-child(2) b{display:block;color:#eee7ea;font-size:10px}.v5-day-lines td:nth-child(2) small{display:block;color:#776f74;font-size:8px;margin-top:1px}.v5-day-cat{display:inline-flex;align-items:center;gap:5px;font-size:8px;font-weight:900;text-transform:uppercase}.v5-day-cat i{display:block;width:3px;height:18px;border-radius:3px;background:#747077}.v5-day-cat.capa i{background:#e32c41}.v5-day-cat.servico i{background:#4f8db9}.v5-day-cat.celular i{background:#8d75a4}.v5-day-warranty{display:inline-flex;align-items:center;gap:3px;padding:3px 6px;border-radius:9px;background:#232124;color:#aaa2a7;font-size:8px}.v5-day-warranty svg{width:10px;height:10px}.v5-day-sale.collapsed .v5-day-lines{display:none}.v5-sale-menu{position:relative}.v5-sale-menu summary{list-style:none;width:28px;height:27px;display:grid;place-items:center;border-radius:7px;cursor:pointer;color:#b1a7ac}.v5-sale-menu summary::-webkit-details-marker{display:none}.v5-sale-menu[open] summary{background:#292326;color:#fff}.v5-sale-menu>div{position:absolute;z-index:20;right:0;top:31px;width:155px;padding:5px;border:1px solid #42383d;border-radius:9px;background:#1d191c;box-shadow:0 14px 30px #0008}.v5-sale-menu button{width:100%;border:0;border-radius:6px;background:transparent;color:#d1c7cc;padding:7px 8px;text-align:left;font-size:9px;cursor:pointer}.v5-sale-menu button:hover{background:#30252a;color:#fff}
@media(max-width:1050px){.v5-day-top{grid-template-columns:1fr auto}.v5-day-summary{grid-column:1/-1;grid-row:2;justify-content:flex-start}.v5-day-filters{grid-template-columns:1fr 1fr}.v5-day-sale>header{grid-template-columns:24px auto auto 1fr auto 30px}.v5-day-sale>header>span:nth-of-type(3),.v5-day-sale>header>span:nth-of-type(4){display:none}}

/* Ajustes de seleção, acabamento vermelho e fechamento da venda */
.v5-sale-sheet{border-left-width:7px;border-top-color:#76202d;background:linear-gradient(180deg,#151214,#100f11)}
.v5-sheet-head{background:linear-gradient(105deg,#3b1019 0,#211419 23%,#191619 58%)}
.v5-sale-table th{border-top:2px solid #951d2d}.v5-sheet-row td:first-child{box-shadow:inset 3px 0 0 #d51d34}
.v5-product-search-cell{z-index:3}.v5-product-search-cell input{padding-right:38px}.v5-product-open{position:absolute;z-index:3;right:3px;top:3px;width:32px;height:33px;border:0;border-left:1px solid #3c3237;background:#211c20;color:#fff;border-radius:0 7px 7px 0;cursor:pointer}.v5-product-open:hover{background:#3a1820;color:#ff5365}
.v5-product-results{position:absolute;z-index:80;top:43px;left:0;width:min(540px,75vw);max-height:330px;overflow:auto;padding:6px;border:1px solid #722433;border-radius:11px;background:#1a1619;box-shadow:0 18px 45px #000b}.v5-product-results button{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:9px;width:100%;padding:7px;border:0;border-radius:8px;background:transparent;color:#fff;text-align:left;cursor:pointer}.v5-product-results button:hover{background:#351820}.v5-product-results button+button{border-top:1px solid #2f272b}.v5-product-results button span:last-child{display:grid;gap:2px}.v5-product-results button b{overflow:hidden;text-overflow:ellipsis}.v5-product-results button small{color:#948990;font-size:9px}.v5-product-results>p{margin:8px;color:#a79da2;font-size:10px}.v5-result-thumb{display:grid!important;place-items:center!important;width:34px;height:34px;border-radius:7px;background:#fff;color:#4b4146;overflow:hidden}.v5-result-thumb img{width:100%;height:100%;object-fit:cover}
.v5-warranty-chip.months-3{border-color:#3d3940;background:#211f22;color:#aaa2a8}.v5-warranty-chip.months-6{border-color:#9b6818;background:#30230f;color:#ffc34f}.v5-warranty-chip.months-12{border-color:#21865e;background:#112b22;color:#62dfa9;box-shadow:0 0 0 1px #21865e22}
.v5-bottom-actions{display:flex;align-items:center;gap:8px;padding:11px 13px;border-top:2px solid #861d2c;background:linear-gradient(90deg,#1f1216,#151315)}.v5-bottom-actions .v5-add-line{margin:0}.v5-bottom-actions #v5AddOS{border:1px dashed #5a424a;background:transparent;color:#d7cbd1}.v5-bottom-actions .v5-pay-trigger{margin-left:auto;min-width:180px;background:linear-gradient(135deg,#ed263d,#b80f24)!important;border-color:#ef4054!important;font-weight:900;box-shadow:0 8px 22px #ca162d35}
.v5-payment-overlay{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:#050405b8;backdrop-filter:blur(5px);animation:v5-sheet-in .18s ease-out}.v5-payment-overlay .v5-payment-sheet{width:min(780px,94vw);max-height:88vh;margin:0;overflow:auto;border:1px solid #8d2634;border-top:5px solid #e7233a;border-radius:17px;background:#181416;box-shadow:0 30px 90px #000}.v5-payment-head{position:relative;background:linear-gradient(110deg,#3a1119,#211719)}.v5-payment-close{width:32px;height:32px;margin-left:5px;border:1px solid #6b3640;border-radius:50%;background:#27191d;color:#ff8b96;font-size:20px;cursor:pointer}.v5-payment-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 14px;border-top:1px solid #3b2c31}.v5-payment-footer .err{margin-right:auto;color:#ff6978;font-size:11px}
.v5-day-sale>header{grid-template-columns:26px auto auto minmax(85px,1fr) auto auto auto auto auto 32px}.v5-guarantee-direct{height:27px;border:1px solid #324e43;border-radius:7px;background:#15271f;color:#72dbaa;padding:0 8px;font-size:8px;font-weight:900;cursor:pointer;white-space:nowrap}.v5-guarantee-direct.save{border-color:#63303a;background:#2b171c;color:#ff8793}.v5-guarantee-direct:hover{filter:brightness(1.25)}
@media(max-width:1100px){.v5-guarantee-direct{display:none}.v5-day-sale>header{grid-template-columns:24px auto auto 1fr auto auto auto 30px}}

/* Segunda revisão: lista livre, blocos ativos e ações por tipo */
.v5-sale-sheet{overflow:visible}.v5-sheet-section{overflow:visible}.v5-sale-table{overflow:visible}.v5-sale-table tbody,.v5-sale-table tr,.v5-sale-table td{overflow:visible}
.v5-sheet-row td:first-child,.v5-os-row td:first-child{border-left:0!important;box-shadow:none!important}.v5-sale-table th{border-top:0}.v5-product-results{top:calc(100% + 5px);max-height:290px}.v5-product-results button{grid-template-columns:42px minmax(0,1fr)}
.v5-sale-table td.v5-active-field{background:#851a2a!important}.v5-sale-table td.v5-active-field input,.v5-sale-table td.v5-active-field select,.v5-sale-table td.v5-active-field .v5-warranty-chip{border-color:#ff8794;background:#4b121c!important}.v5-sale-table td.v5-active-field .v5-code,.v5-sale-table td.v5-active-field .v5-code span{color:#fff}
.v5-sale-sheet[data-active-block="product"]{border-left-color:#ed2038}.v5-sale-sheet[data-active-block="os"]{border-left-color:#22b884}.v5-sale-sheet[data-active-block="warranty"]{border-left-color:#e6b83f}
.v5-bottom-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(190px,1.25fr);gap:9px}.v5-bottom-actions .v5-add-line,.v5-bottom-actions #v5AddOS{display:flex;align-items:center;gap:10px;min-height:64px;margin:0;padding:10px 13px;border:1px solid #6b2632;border-radius:13px;background:#251418;color:#fff;text-align:left}.v5-bottom-actions .v5-add-line svg,.v5-bottom-actions #v5AddOS svg{width:24px;height:24px;flex:0 0 auto}.v5-bottom-actions .v5-add-line span,.v5-bottom-actions #v5AddOS span{display:grid;gap:2px}.v5-bottom-actions .v5-add-line b,.v5-bottom-actions #v5AddOS b{font-size:12px}.v5-bottom-actions .v5-add-line small,.v5-bottom-actions #v5AddOS small{color:#a89ca2;font-size:8px}.v5-bottom-actions #v5AddProduct{border-color:#852333;background:#2c141a}.v5-bottom-actions #v5AddOS{border-color:#1e6a53;background:#11251f}.v5-bottom-actions #v5AddOS svg{color:#38d3a2}.v5-bottom-actions #v5AddWarranty{border-color:#84651f;background:#29220f}.v5-bottom-actions #v5AddWarranty svg{color:#f0c246}.v5-bottom-actions .v5-pay-trigger{height:64px;margin:0;border-radius:13px!important}
.v5-warranty-section{border-top:1px solid #6f551c;background:#17140d}.v5-warranty-section .v5-section-label{color:#f0c44c}.v5-warranty-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto 34px;align-items:center;gap:10px;padding:10px 13px;border-top:1px solid #332b1a}.v5-warranty-row>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#40320f;color:#f1c84d}.v5-warranty-row>span svg{width:19px}.v5-warranty-row>div{display:grid;gap:2px}.v5-warranty-row small{color:#a99d80}.v5-warranty-row>button:not(.v5-icon-action){height:34px;border:1px solid #82671f;border-radius:8px;background:#372c12;color:#f4cf62;padding:0 12px;font-weight:800;cursor:pointer}.v5-warranty-row.v5-active-field{background:#765815}.v5-guarantee-direct.save{display:none}
.v5-bottom-actions .v5-pay-trigger.warranty-finish{background:linear-gradient(135deg,#d3a21f,#8b6610)!important;border-color:#f1c652!important;color:#171106!important}
.v4-sales-header .sales-focus-btn{position:relative;overflow:hidden}.v4-sales-header .sales-focus-btn:focus:after,.v4-sales-header .sales-focus-btn:active:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:4px;border-radius:4px 4px 0 0;background:#ef2840}.v4-sales-header .sales-focus-btn.os:focus:after,.v4-sales-header .sales-focus-btn.os:active:after{background:#22c994}.v4-sales-header .sales-focus-btn.quote:focus:after,.v4-sales-header .sales-focus-btn.quote:active:after{background:#e9bd43}.v4-sales-header .sales-focus-btn.warranty:focus:after,.v4-sales-header .sales-focus-btn.warranty:active:after{background:#b96bd5}
@media(max-width:1050px){.v5-bottom-actions{grid-template-columns:1fr 1fr}.v5-bottom-actions .v5-pay-trigger{grid-column:1/-1}}

/* Terceira revisão: a linha inteira indica o bloco ativo */
.v5-sale-table td.v5-active-field{background:inherit!important}.v5-sheet-row.v5-active-row td{transition:background .16s,border-color .16s}.v5-sale-table:not(.v5-os-table):not(.v5-warranty-table) .v5-sheet-row.v5-active-row td{background:#661521!important;border-top-color:#8d2634;border-bottom-color:#8d2634}.v5-sale-table:not(.v5-os-table):not(.v5-warranty-table) .v5-sheet-row.v5-active-row input,.v5-sale-table:not(.v5-os-table):not(.v5-warranty-table) .v5-sheet-row.v5-active-row select{background:#3b121a!important;border-color:#a53847}.v5-os-row td{background:#101d19!important}.v5-os-row:hover td{background:#14261f!important}.v5-os-row.v5-active-row td{background:#164b3b!important;border-top-color:#237a5f;border-bottom-color:#237a5f}.v5-os-row.v5-active-row select{background:#10372c!important;border-color:#359978}.v5-os-section .v5-section-label{color:#54d5aa}.v5-warranty-data-row td{background:#1d190d!important}.v5-warranty-data-row.v5-active-row td{background:#5a4815!important;border-top-color:#896d20;border-bottom-color:#896d20}.v5-warranty-data-row.v5-active-row input,.v5-warranty-data-row.v5-active-row select{background:#3d310f!important;border-color:#a88728}
.v5-warranty-table{min-width:1320px}.v5-warranty-table th:first-child{width:22%}.v5-warranty-table th:nth-child(2){width:17%}.v5-warranty-table th:nth-child(3){width:14%}.v5-warranty-table th:nth-child(4){width:21%}.v5-warranty-table th:nth-child(5){width:6%}.v5-warranty-table th:nth-child(6){width:10%}.v5-warranty-table th:nth-child(7){width:14%}.v5-inline-error{min-height:0;padding:0 14px;color:#ff6b79;font-size:10px}.v5-inline-error:not(:empty){padding-top:10px}
.v5-bottom-actions{display:flex;gap:7px;padding:9px 12px;background:#131113;border-top:1px solid #30282c}.v5-bottom-actions .v5-add-line,.v5-bottom-actions #v5AddOS{display:inline-flex;min-height:34px;width:auto;padding:6px 10px;border:1px dashed #51444a;border-radius:8px;background:transparent;color:#c8bdc2}.v5-bottom-actions .v5-add-line svg,.v5-bottom-actions #v5AddOS svg{width:14px;height:14px}.v5-bottom-actions .v5-add-line span,.v5-bottom-actions #v5AddOS span{display:block}.v5-bottom-actions .v5-add-line b,.v5-bottom-actions #v5AddOS b{font-size:9px}.v5-bottom-actions .v5-add-line small,.v5-bottom-actions #v5AddOS small{display:none}.v5-bottom-actions #v5AddProduct,.v5-bottom-actions #v5AddOS,.v5-bottom-actions #v5AddWarranty{border-color:#51444a;background:transparent;color:#c8bdc2}.v5-bottom-actions #v5AddProduct:hover{border-color:#c52a3d;color:#ff7381}.v5-bottom-actions #v5AddOS:hover{border-color:#278467;color:#62d9b3}.v5-bottom-actions #v5AddWarranty:hover{border-color:#99771f;color:#f1c754}.v5-bottom-actions .v5-pay-trigger{height:38px;min-height:38px;margin-left:auto;padding:0 22px;border-radius:9px!important}.v5-product-results{z-index:300}
@media(max-width:1050px){.v5-bottom-actions{display:flex;flex-wrap:wrap}.v5-bottom-actions .v5-pay-trigger{width:100%;margin-left:0}}

/* Lista ativa sempre acima das demais linhas */
.v5-sale-table tbody{position:relative}.v5-sheet-row{position:relative;z-index:1}.v5-sheet-row.v5-picker-open{z-index:900!important}.v5-sheet-row.v5-picker-open td{z-index:901}.v5-sheet-row.v5-picker-open .v5-product-results{z-index:9999!important;box-shadow:0 22px 60px #000}
.v5-refund-details td{padding:0!important;background:#241d0c!important;border-top:1px solid #5d4919!important}.v5-refund-details>td>div{display:grid;grid-template-columns:auto minmax(210px,300px) minmax(180px,1fr) auto minmax(220px,1fr);align-items:center;gap:9px;padding:9px 13px}.v5-refund-details b{color:#efca5e;font-size:10px}.v5-refund-details select,.v5-refund-details input{height:34px!important;border-color:#6f581e!important;background:#30260d!important}.v5-refund-details button{height:34px;border:1px solid #947523;border-radius:8px;background:#44350e;color:#f4d06a;padding:0 12px;font-size:9px;font-weight:900;cursor:pointer}.v5-refund-details small{color:#c8b982;font-size:9px}
@media(max-width:1100px){.v5-refund-details>td>div{grid-template-columns:1fr 1fr}.v5-refund-details small{grid-column:1/-1}}

/* Garantia dinâmica por tipo de ação */
.v5-warranty-lines{display:grid}.v5-warranty-data-row{padding:10px 12px;border-top:1px solid #4b3b13;background:#1d190d}.v5-warranty-data-row.v5-active-row{background:#594714!important}.v5-warranty-dynamic{display:flex;align-items:end;gap:8px;width:100%;overflow-x:auto}.v5-w-field{display:grid;gap:4px;min-width:120px;flex:1}.v5-w-field>span{color:#a89454;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.v5-w-field.product{min-width:220px;flex:1.4}.v5-w-field.condition{min-width:225px;flex:1.25}.v5-w-field.action{min-width:215px;flex:1.2}.v5-w-field.qty{min-width:68px;max-width:78px}.v5-w-field.money{min-width:135px;max-width:165px}.v5-w-field.refund{min-width:230px;flex:1.2}.v5-w-field.pix{min-width:230px;flex:1.2}.v5-w-field.seller{min-width:170px}.v5-w-field input,.v5-w-field select{width:100%;height:38px;border:1px solid #69551e;border-radius:8px;background:#30270e;color:#fff;padding:7px 9px;font-size:10px}.v5-warranty-data-row.v5-active-row .v5-w-field input,.v5-warranty-data-row.v5-active-row .v5-w-field select{background:#3f320f;border-color:#ab892b}.v5-pix-notice{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 10px;min-width:275px;padding:7px 9px;border:1px solid #82691f;border-radius:9px;background:#342a0d}.v5-pix-notice b{color:#f1cb59;font-size:10px}.v5-pix-notice span{color:#c9bb8e;font-size:8px}.v5-pix-notice button{grid-column:2;grid-row:1/3;height:32px;border:1px solid #a58628;border-radius:7px;background:#4c3c0d;color:#ffe28a;padding:0 9px;font-size:8px;font-weight:900;cursor:pointer}.v5-warranty-dynamic>.v5-icon-action{flex:0 0 31px;margin-bottom:3px}.v5-warranty-dynamic.refund,.v5-warranty-dynamic.lower{min-width:1480px}.v5-warranty-dynamic.higher{min-width:1330px}
