.pdv-sat-interface[data-pdv-sat-interface="v258-single-workspace"] .sat-workspace-tabs{grid-template-columns:repeat(2,minmax(180px,1fr))!important}
.pdv-sat-interface[data-pdv-sat-interface="v258-single-workspace"] .sat-workspace-tab.active{border-color:#198754!important;background:linear-gradient(135deg,#edf8f1,#f8fcf9)!important;color:#14532d!important;box-shadow:0 0 0 2px rgba(25,135,84,.1)!important}
.pdv-sat-interface[data-pdv-sat-interface="v258-single-workspace"] .sat-workspace-tab.active>span{background:#198754!important;color:#fff!important}
body.pdv-sat-route.pdv-sat-workspace-billing .pdv-sat-interface[data-pdv-sat-interface="v258-single-workspace"] [data-sat-main]{display:block!important}
.sat-rfc-mismatch-list{display:grid;gap:7px;max-height:260px;overflow:auto;margin-top:12px}
.sat-rfc-mismatch-row{display:flex;justify-content:space-between;gap:14px;padding:10px 12px;background:#fff;border:1px solid #f1d5aa;border-radius:10px;font-size:12px}
.sat-rfc-mismatch-row strong{overflow-wrap:anywhere}.sat-rfc-mismatch-row span{color:#9a5b00;white-space:nowrap}
.sat-info-warning{background:#fff8e8!important;border-color:#f2d49b!important;color:#805300!important}
@media(max-width:650px){.pdv-sat-interface[data-pdv-sat-interface="v258-single-workspace"] .sat-workspace-tabs{grid-template-columns:1fr!important}.sat-rfc-mismatch-row{flex-direction:column;gap:4px}.sat-rfc-mismatch-row span{white-space:normal}}
.sat-metrics-grid{display:grid;gap:12px;margin:0 0 14px}.sat-metric-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sat-metric-summary>div{display:grid;gap:5px;padding:14px 16px;background:#f6fbf8;border:1px solid #dceee3;border-radius:13px}.sat-metric-summary small{color:#65786d;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.sat-metric-summary strong{color:#164d31;font-size:19px}.sat-metric-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sat-metric-card{min-width:0;padding:15px;background:#fff;border:1px solid #e1ebe5;border-radius:15px;box-shadow:0 5px 16px rgba(20,60,35,.04)}.sat-metric-card h3{margin:0 0 12px;color:#214b35;font-size:13px}.sat-metric-bars{display:grid;gap:10px}.sat-metric-row{display:grid;grid-template-columns:minmax(95px,1fr) minmax(55px,1.1fr) auto;gap:8px;align-items:center}.sat-metric-label{display:grid;min-width:0}.sat-metric-label strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#253b2e}.sat-metric-label small{font-size:9px;color:#819187;overflow:hidden;text-overflow:ellipsis}.sat-metric-track{height:8px;background:#edf3ef;border-radius:999px;overflow:hidden}.sat-metric-track span{display:block;height:100%;background:linear-gradient(90deg,#3d9e66,#7fc992);border-radius:inherit}.sat-metric-row>b{font-size:10px;color:#315d40;white-space:nowrap}.sat-metric-empty{color:#89978f;font-size:12px;margin:0}.sat-metric-trend{grid-column:1/-1}.sat-month-chart{height:130px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px;align-items:end;border-bottom:1px solid #e2ebe5;padding:4px 2px 0}.sat-month-item{height:100%;display:grid;grid-template-rows:1fr auto;gap:4px;align-items:end;text-align:center}.sat-month-bars{height:100%;display:flex;align-items:end;justify-content:center;gap:3px}.sat-month-bars span{width:min(12px,36%);min-height:2px;border-radius:4px 4px 0 0}.sat-month-bars .issued,.sat-chart-legend .issued{background:#38a169}.sat-month-bars .received,.sat-chart-legend .received{background:#79b5d3}.sat-month-item small{font-size:9px;color:#76847b}.sat-chart-legend{display:flex;align-items:center;gap:14px;margin-top:9px;color:#63756a;font-size:10px}.sat-chart-legend span{display:flex;align-items:center;gap:5px}.sat-chart-legend i{width:8px;height:8px;border-radius:2px}.sat-chart-legend small{margin-left:auto}.sat-metric-scope{margin:0;color:#79877f;font-size:10px}
@media(max-width:900px){.sat-metric-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sat-metric-columns{grid-template-columns:1fr}.sat-metric-trend{grid-column:auto}}
@media(max-width:480px){.sat-metric-row{grid-template-columns:minmax(80px,1fr) 60px auto;gap:5px}.sat-month-chart{gap:2px}.sat-month-bars span{width:8px}.sat-chart-legend{flex-wrap:wrap}.sat-chart-legend small{width:100%;margin-left:0}}
.sat-product-review-card{margin-top:14px;padding:16px;background:#fbfdfb;border:1px solid #dfebe3;border-radius:16px}.sat-product-review-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.sat-product-review-head h3{margin:0 0 4px;color:#214b35;font-size:14px}.sat-product-review-head p{margin:0;color:#748279;font-size:11px}.sat-product-review-head>span{padding:6px 10px;background:#fff3d8;border-radius:999px;color:#8b600d;font-size:10px;font-weight:800;white-space:nowrap}.sat-product-review-table{overflow:auto;border:1px solid #e5ece7;border-radius:11px;background:#fff}.sat-product-review-table table{min-width:900px;width:100%;border-collapse:collapse}.sat-product-review-table th,.sat-product-review-table td{padding:9px 10px;border-bottom:1px solid #edf1ee;text-align:left;font-size:10px}.sat-product-review-table th{background:#f2f7f3;color:#637368;text-transform:uppercase;letter-spacing:.03em}.sat-product-review-table td strong{color:#294c36}.sat-product-review-table td small{display:block;color:#997117}.sat-product-review-table code{font-size:9px}.sat-product-review-empty{padding:18px;text-align:center;color:#718178;background:#fff;border:1px dashed #cbd9ce;border-radius:10px;font-size:12px}
.pdv-sat-interface[data-sat-workspace-current="recibido"] [data-sat-action="legacy-new"],.pdv-sat-interface[data-sat-workspace-current="recibido"] [data-sat-action="legacy-advance"],.pdv-sat-interface[data-sat-workspace-current="recibido"] [data-sat-action="legacy-source"]{display:none!important}
.pdv-sat-interface .sat-form-group select{width:100%;min-height:42px;border:1px solid #d4dfec;border-radius:10px;padding:0 11px;background:#fff;color:#20352a;outline:none}
.pdv-sat-interface .sat-form-group select:focus{border-color:#4d9d6f;box-shadow:0 0 0 3px rgba(25,135,84,.12)}

/* V276: la tabla Recibidas mantiene Clasificar visible sin desplazamiento horizontal. */
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table-wrap{overflow-x:hidden!important}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table{width:100%!important;min-width:0!important;table-layout:fixed}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(1),
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(1),
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(2),
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(2),
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(3),
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(3),
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(6),
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(6){display:none}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(4){width:92px}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(5){width:118px}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(8){width:98px}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(9){width:100px}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(10){width:104px}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(11){width:250px}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td{min-width:0;overflow-wrap:anywhere}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table .sat-actions{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table .sat-action{padding:6px 7px!important;font-size:10px!important;white-space:nowrap}
.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table [data-sat-action="classify-accounting"]{order:-1;border-color:#b4ddc2!important;background:#edf8f0!important;color:#12613a!important;font-weight:800}
.sat-review-branch{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:#42644f;font-size:11px;font-weight:700}
.sat-review-branch select{min-width:190px;padding:8px 10px;border:1px solid #d4e4d9;border-radius:9px;background:#fff;color:#264c35}
.sat-review-no-branch{display:block;margin:0 0 10px;color:#a15a21;font-size:11px}
.sat-product-review-table{overflow:hidden!important}
.sat-product-review-table table{width:100%;min-width:0!important;table-layout:fixed}
.sat-product-review-table th:nth-child(1){width:31%}.sat-product-review-table th:nth-child(2){width:25%}.sat-product-review-table th:nth-child(3){width:20%}.sat-product-review-table th:nth-child(4){width:24%}
.sat-product-review-table td{overflow-wrap:anywhere;vertical-align:top}
.sat-product-review-table td:nth-child(2)>span,.sat-product-review-table td:nth-child(2)>b{display:block;margin:0 0 4px}
.sat-product-review-table td code{display:block;overflow-wrap:anywhere;margin-top:5px}
.sat-review-actions{display:flex;flex-wrap:wrap;gap:5px}
.sat-review-actions .sat-action{white-space:normal!important;text-align:center;line-height:1.25}
@media(max-width:1050px){
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(4),.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(4){display:none}
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(5){width:120px}
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table th:nth-child(11){width:220px}
 .sat-product-review-table th:nth-child(1){width:36%}.sat-product-review-table th:nth-child(2){width:25%}.sat-product-review-table th:nth-child(3){width:20%}.sat-product-review-table th:nth-child(4){width:19%}
}
@media(max-width:720px){
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table,.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table tbody{display:block}
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table thead{display:none}
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table tr{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:12px;border-bottom:1px solid #e6eee8}
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td{display:block!important;border:0;padding:2px 3px!important}
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(7),.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(11){grid-column:1/-1}
 .pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(8),.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(9),.pdv-sat-interface[data-sat-workspace-current="recibido"] .sat-table td:nth-child(10){font-size:11px}
 .sat-product-review-table table,.sat-product-review-table tbody,.sat-product-review-table tr{display:block}
 .sat-product-review-table thead{display:none}
 .sat-product-review-table tr{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;border-bottom:1px solid #edf1ee}
 .sat-product-review-table td{display:block;border:0;padding:2px!important}
 .sat-product-review-table td:first-child,.sat-product-review-table td:last-child{grid-column:1/-1}
 .sat-review-branch{align-items:flex-start;flex-direction:column}.sat-review-branch select{width:100%}
}
.pdv-v276-warehouse-review{position:relative;z-index:1;width:100%;margin:14px 0 18px;padding:19px;background:#fff;border:1px solid #dbe9df;border-radius:16px;box-shadow:0 8px 22px rgba(25,75,43,.06);color:#233e2d}
.pdv-v276-warehouse-review>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.pdv-v276-warehouse-review h2{margin:0 0 4px;font-size:16px;color:#194c30}.pdv-v276-warehouse-review header p{margin:0;color:#75867b;font-size:11px}
.pdv-v276-warehouse-review header button{width:36px;height:36px;border:1px solid #d7e6dc;background:#f5faf6;border-radius:10px;color:#177044;font-size:19px;cursor:pointer}
.pdv-v276-warehouse-review label{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:11px;font-weight:700;color:#496353}
.pdv-v276-warehouse-review select{padding:7px 10px;border:1px solid #d3e1d7;border-radius:8px;background:#fff;color:#294a35}
.pdv-v276-review-list{display:grid;gap:8px}.pdv-v276-review-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid #e7eee9;border-radius:11px;background:#fcfefc}
.pdv-v276-review-list article strong{display:block;color:#294c36;font-size:12px;line-height:1.4}.pdv-v276-review-list small{display:block;margin-top:4px;color:#79877e;font-size:10px}.pdv-v276-review-list p{margin:5px 0 0;color:#506658;font-size:11px}.pdv-v276-review-copy{min-width:0;overflow-wrap:anywhere}
.pdv-v276-review-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.pdv-v276-review-actions button{padding:7px 9px;border:1px solid #d4e2d8;border-radius:8px;background:#fff;color:#405c49;font-size:10px;font-weight:700;cursor:pointer}.pdv-v276-review-actions button.primary{border-color:#15804b;background:#16804b;color:#fff}
.pdv-v276-review-actions button:disabled{opacity:.55;cursor:wait}.pdv-v276-empty{padding:14px;border:1px dashed #cbdccf;border-radius:10px;color:#75867b;text-align:center;font-size:12px}
@media(max-width:700px){.pdv-v276-review-list article{grid-template-columns:1fr}.pdv-v276-review-actions{justify-content:flex-start}.pdv-v276-warehouse-review label{align-items:flex-start;flex-direction:column}.pdv-v276-warehouse-review select{width:100%}}
.pdv-v276-kardex-sat{margin-top:14px;padding:17px;background:#fff;border:1px solid #dbe9df;border-radius:16px;box-shadow:0 8px 22px rgba(25,75,43,.06)}
.pdv-v276-kardex-sat>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pdv-v276-kardex-sat h2{margin:0 0 4px;color:#194c30;font-size:16px}.pdv-v276-kardex-sat header p{margin:0;color:#75867b;font-size:11px}.pdv-v276-kardex-actions{display:flex;align-items:center;gap:8px}.pdv-v276-kardex-sat header span{padding:8px 11px;background:#edf8f0;border:1px solid #d3ead9;border-radius:10px;color:#14653b;font-size:12px;font-weight:800;white-space:nowrap}.pdv-v276-kardex-actions button{width:36px;height:36px;border:1px solid #d3ead9;border-radius:10px;background:#f5faf6;color:#14653b;font-size:18px;cursor:pointer}.pdv-v276-kardex-actions button:hover{background:#e9f5ed}
.pdv-v276-kardex-table{overflow:auto;border:1px solid #e4ece6;border-radius:11px}.pdv-v276-kardex-table table{width:100%;min-width:680px;border-collapse:collapse}.pdv-v276-kardex-table th,.pdv-v276-kardex-table td{padding:9px 11px;border-bottom:1px solid #edf1ee;text-align:left;font-size:11px}.pdv-v276-kardex-table th{background:#f2f7f3;color:#607367;text-transform:uppercase;font-size:9px;letter-spacing:.03em}.pdv-v276-kardex-table td strong,.pdv-v276-kardex-table td small{display:block}.pdv-v276-kardex-table td strong{color:#294c36}.pdv-v276-kardex-table td small{margin-top:3px;color:#829087;font-size:9px;overflow-wrap:anywhere}.pdv-v276-kardex-status{display:inline-block;padding:4px 7px;border-radius:999px;background:#fff3d8;color:#8b600d;font-size:9px;font-weight:800}
@media(max-width:700px){.pdv-v276-kardex-sat>header{align-items:flex-start;flex-direction:column}}
.pdv-v276-error{color:#85433d;background:#fffaf9;border-color:#ead5d1}.pdv-v276-error button{margin:9px 0 0;padding:7px 11px;border:1px solid #d9b7b0;border-radius:8px;background:#fff;color:#704139;font-weight:700;cursor:pointer}
.pdv-v277-inventory-fallback{margin:0 0 18px;padding:18px;background:#fff;border:1px solid #dfe9e2;border-radius:16px;box-shadow:0 8px 22px rgba(25,75,43,.05);color:#243d2e}.pdv-v277-inventory-fallback>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pdv-v277-inventory-fallback h2{margin:0 0 4px;color:#194c30;font-size:16px}.pdv-v277-inventory-fallback header p{margin:0;color:#75867b;font-size:11px}.pdv-v277-inventory-fallback header button{width:36px;height:36px;border:1px solid #d3ead9;border-radius:10px;background:#f5faf6;color:#14653b;font-size:18px;cursor:pointer}.pdv-v277-inventory-table{overflow:auto;border:1px solid #e4ece6;border-radius:11px}.pdv-v277-inventory-table table{width:100%;min-width:760px;border-collapse:collapse}.pdv-v277-inventory-table th,.pdv-v277-inventory-table td{padding:9px 10px;border-bottom:1px solid #edf1ee;text-align:left;font-size:11px;white-space:nowrap}.pdv-v277-inventory-table th{background:#f2f7f3;color:#607367;text-transform:uppercase;font-size:9px;letter-spacing:.03em}.pdv-v277-inventory-table td strong,.pdv-v277-inventory-table td small{display:block}.pdv-v277-inventory-table td strong{color:#294c36}.pdv-v277-inventory-table td small{margin-top:3px;color:#829087;font-size:9px;white-space:normal;max-width:240px}
.pdv-v277-sync-warning{margin-bottom:10px;padding:10px 12px;border:1px solid #efdcac;border-radius:10px;background:#fff9e9;color:#765619;font-size:11px;line-height:1.45}

/* V278 · Inventario principal, cola de validación modal y operaciones de producto */
.pdv-v278-review-tools{margin:0 0 18px}.pdv-v278-review-trigger{width:100%;display:flex;align-items:center;gap:14px;padding:15px 18px;text-align:left;border:1px solid #d8e7dc;border-radius:15px;background:linear-gradient(110deg,#f4faf5,#fff);color:#244a32;cursor:pointer;box-shadow:0 5px 18px rgba(30,78,48,.045);transition:border-color .18s,box-shadow .18s,transform .18s}.pdv-v278-review-trigger:hover{border-color:#9ac9a7;box-shadow:0 9px 22px rgba(30,78,48,.09);transform:translateY(-1px)}.pdv-v278-review-trigger[hidden]{display:none}.pdv-v278-review-icon{width:39px;height:39px;display:grid;place-items:center;flex:none;border-radius:12px;background:#e3f2e7;color:#247447;font-size:20px;font-weight:700}.pdv-v278-review-label{display:grid;gap:3px;flex:1}.pdv-v278-review-label strong{font-size:14px}.pdv-v278-review-label small{font-size:11px;color:#728278}.pdv-v278-review-count{min-width:32px;height:32px;display:grid;place-items:center;padding:0 8px;border-radius:999px;background:#e8f0ea;color:#365b41;font-size:13px;font-weight:700}.pdv-v278-review-trigger.has-pending .pdv-v278-review-count{background:#dff2e4;color:#17663a}.pdv-v278-modal-backdrop{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(18,34,24,.52);backdrop-filter:blur(3px)}.pdv-v278-modal-backdrop[hidden]{display:none}.pdv-v278-modal{width:min(920px,96vw);max-height:min(88vh,900px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dce8df;border-radius:20px;background:#fff;box-shadow:0 24px 80px rgba(13,35,20,.28);color:#294334}.pdv-v278-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 17px;border-bottom:1px solid #e9efeb}.pdv-v278-modal>header h2{margin:4px 0 5px;color:#20482f;font-size:21px;line-height:1.25}.pdv-v278-modal>header p{max-width:690px;margin:0;color:#6e7e73;font-size:12px;line-height:1.5}.pdv-v278-eyebrow{display:block;color:#3d8154;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.pdv-v278-modal-close{width:36px;height:36px;flex:none;border:1px solid #e0e9e2;border-radius:11px;background:#f7faf8;color:#57705e;font-size:24px;line-height:1;cursor:pointer}.pdv-v278-modal-close:hover{background:#edf5ef;color:#1c6038}.pdv-v278-modal-content{overflow:auto;padding:16px 22px 22px}.pdv-v278-modal-content .pdv-v276-warehouse-review{margin:0;padding:0;border:0;border-radius:0;box-shadow:none}.pdv-v278-modal-content .pdv-v276-warehouse-review>header{display:none}.pdv-v278-modal-content .pdv-v276-review-list{max-height:none}.pdv-v278-inventory-header-actions{display:flex;align-items:center;gap:9px}.pdv-v278-inventory-header-actions button,.pdv-v278-product-actions button{min-height:35px;padding:0 12px;border:1px solid #d9e6dc;border-radius:9px;background:#fff;color:#315b3d;font-size:11px;font-weight:650;cursor:pointer;white-space:nowrap}.pdv-v278-inventory-header-actions .pdv-v278-create-product{border-color:#247447;background:#267849;color:#fff}.pdv-v278-inventory-header-actions .pdv-v278-create-product:hover{background:#1d663d}.pdv-v278-inventory-header-actions .pdv-v278-refresh{width:36px;padding:0;background:#f5faf6;color:#276c41;font-size:18px}.pdv-v278-inventory-summary{display:flex;justify-content:space-between;gap:14px;margin:0 0 12px;padding:10px 12px;border:1px solid #e5eee7;border-radius:10px;background:#f8fbf8;color:#758279;font-size:11px}.pdv-v278-inventory-summary strong{color:#285c39;font-size:13px}.pdv-v277-inventory-table{border-radius:12px}.pdv-v277-inventory-table table{min-width:1030px}.pdv-v277-inventory-table th,.pdv-v277-inventory-table td{padding:11px 10px}.pdv-v278-product-actions{display:flex;gap:6px}.pdv-v278-product-actions button{min-height:30px;padding:0 9px;font-size:10px}.pdv-v278-product-actions button:hover{background:#f2f8f3}.pdv-v278-product-actions button.danger,.pdv-v278-modal button.danger{border-color:#efcccc;background:#fff5f5;color:#a83232}.pdv-v278-product-actions button.danger:hover,.pdv-v278-modal button.danger:hover:not(:disabled){background:#fee9e9}.pdv-v278-product-backdrop{z-index:10060}.pdv-v278-product-modal{width:min(760px,96vw)}.pdv-v278-product-modal form{display:flex;min-height:0;flex-direction:column}.pdv-v278-product-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:20px 24px;overflow:auto}.pdv-v278-product-fields label{display:grid;gap:6px;color:#53685a;font-size:11px;font-weight:650}.pdv-v278-product-fields label.wide{grid-column:1/-1}.pdv-v278-product-fields input,.pdv-v278-product-fields textarea{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid #dbe6de;border-radius:9px;background:#fbfdfb;color:#263e2f;font:inherit;font-weight:400;outline:none}.pdv-v278-product-fields input:focus,.pdv-v278-product-fields textarea:focus,.pdv-v278-delete-check input:focus{border-color:#69aa7a;box-shadow:0 0 0 3px rgba(74,151,92,.12)}.pdv-v278-product-modal form>footer,.pdv-v278-delete-modal>footer{display:flex;justify-content:flex-end;gap:9px;padding:15px 24px 20px;border-top:1px solid #e9efeb}.pdv-v278-modal footer button{min-height:38px;padding:0 15px;border:1px solid #d9e6dc;border-radius:9px;background:#fff;color:#45604c;font-size:11px;font-weight:700;cursor:pointer}.pdv-v278-modal footer button.primary{border-color:#267849;background:#267849;color:#fff}.pdv-v278-modal footer button:disabled{opacity:.48;cursor:not-allowed}.pdv-v278-form-error{margin:0 24px 10px;padding:10px 12px;border:1px solid #f0cdcd;border-radius:9px;background:#fff5f5;color:#9d3030;font-size:11px}.pdv-v278-delete-modal{width:min(540px,96vw)}.pdv-v278-delete-modal>header h2{color:#793333}.pdv-v278-eyebrow.danger-text{color:#a53a3a}.pdv-v278-delete-check{padding:18px 24px 22px}.pdv-v278-delete-check label{display:grid;gap:8px;color:#57685b;font-size:12px}.pdv-v278-delete-check input{max-width:260px;padding:10px 11px;border:1px solid #dbe2dc;border-radius:9px;outline:none}.pdv-v278-delete-check small{color:#89928b;font-size:10px}.pdv-v278-delete-modal>footer{border-top:0;padding-top:0}.pdv-v278-modal-open{overflow:hidden}
.pdv-v278-modal-header-actions{display:flex;align-items:center;gap:8px}.pdv-v278-modal-refresh{width:36px;height:36px;flex:none;border:1px solid #d9e6dc;border-radius:10px;background:#f5faf6;color:#276c41;font-size:19px;cursor:pointer}.pdv-v278-modal-refresh:hover{background:#eaf5ed}
@media(max-width:760px){.pdv-v278-modal-backdrop{align-items:flex-end;padding:0}.pdv-v278-modal{width:100%;max-height:94vh;border-radius:18px 18px 0 0}.pdv-v278-modal>header{padding:18px}.pdv-v278-modal-content{padding:12px}.pdv-v278-product-fields{grid-template-columns:1fr;padding:16px}.pdv-v278-product-fields label.wide{grid-column:auto}.pdv-v278-product-modal form>footer,.pdv-v278-delete-modal>footer{padding:13px 16px 18px}.pdv-v278-inventory-fallback>header{align-items:flex-start}.pdv-v278-inventory-header-actions{gap:6px}.pdv-v278-inventory-header-actions .pdv-v278-create-product{padding:0 9px;font-size:10px}.pdv-v278-inventory-summary{flex-direction:column;gap:5px}.pdv-v278-review-label small{max-width:220px}}
/* V279 · flujos SAT personalizados, inventario automático y cuentas asociadas */
.pdv-v279-review-account{display:block;margin-top:7px;padding:6px 8px;border-radius:8px;background:#f5faf6;color:#607569!important;font-size:10px!important;line-height:1.45}.pdv-v279-review-account b{color:#28613c}.pdv-v279-review-more{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid #e2ece4;border-radius:10px;background:#f8fbf8;color:#66786c;font-size:11px}.pdv-v279-review-more button,.pdv-v279-product-search>button{min-height:34px;padding:0 12px;border:1px solid #cfe2d4;border-radius:9px;background:#fff;color:#28613c;font-size:11px;font-weight:700;cursor:pointer}.pdv-v279-review-more button:hover,.pdv-v279-product-search>button:hover{background:#edf7f0}.pdv-v279-modal-backdrop{position:fixed;inset:0;z-index:10100;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(18,34,24,.58);backdrop-filter:blur(4px)}.pdv-v279-modal-backdrop[hidden]{display:none}.pdv-v279-action-modal{width:min(720px,96vw);max-height:min(88vh,850px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dce8df;border-radius:20px;background:#fff;box-shadow:0 24px 80px rgba(13,35,20,.3);color:#294334}.pdv-v279-action-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 16px;border-bottom:1px solid #e9efeb}.pdv-v279-action-modal>header h2{margin:5px 0;color:#20482f;font-size:20px;line-height:1.25}.pdv-v279-action-modal>header p{margin:0;color:#6e7e73;font-size:12px}.pdv-v279-action-modal form{display:flex;min-height:0;flex-direction:column}.pdv-v279-action-content{display:grid;gap:13px;padding:18px 24px;overflow:auto}.pdv-v279-action-summary{display:grid;gap:7px;padding:14px 15px;border:1px solid #e1ece4;border-radius:12px;background:#f8fbf8}.pdv-v279-action-summary>strong{color:#294a34;font-size:14px;line-height:1.45}.pdv-v279-action-summary p{margin:0;color:#627469;font-size:11px}.pdv-v279-action-summary small{color:#839087;font-size:10px;overflow-wrap:anywhere}.pdv-v279-movement{justify-self:start;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800}.pdv-v279-movement.incoming{background:#e7f6eb;color:#21683b}.pdv-v279-movement.outgoing{background:#fff0e9;color:#a14b2d}.pdv-v279-action-account{display:flex;flex-wrap:wrap;align-items:center;gap:6px 13px;padding:12px 14px;border:1px solid #e3e9f2;border-radius:11px;background:#f8f9fc;color:#66718a;font-size:10px}.pdv-v279-action-account strong{width:100%;color:#3d506f;font-size:11px}.pdv-v279-create-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.pdv-v279-create-fields label,.pdv-v279-product-search label,.pdv-v279-action-branch{display:grid;gap:6px;color:#53685a;font-size:11px;font-weight:700}.pdv-v279-create-fields input,.pdv-v279-product-search input,.pdv-v279-action-branch select{width:100%;min-height:40px;box-sizing:border-box;padding:9px 11px;border:1px solid #dbe6de;border-radius:9px;background:#fbfdfb;color:#263e2f;font:inherit;font-weight:400;outline:none}.pdv-v279-create-fields input:focus,.pdv-v279-product-search input:focus,.pdv-v279-action-branch select:focus{border-color:#69aa7a;box-shadow:0 0 0 3px rgba(74,151,92,.12)}.pdv-v279-product-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.pdv-v279-product-search label{grid-column:1/-1}.pdv-v279-product-search [data-review-product-results]{grid-column:1/-1;display:grid;gap:6px;max-height:190px;overflow:auto}.pdv-v279-product-result{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e1e9e3;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.pdv-v279-product-result strong{color:#35523e;font-size:11px}.pdv-v279-product-result small{color:#7e8a81;font-size:10px}.pdv-v279-product-result.selected{border-color:#51a269;background:#edf8f0;box-shadow:0 0 0 2px rgba(57,137,79,.1)}.pdv-v279-search-message{margin:0;padding:9px;color:#7b8a7e;font-size:11px}.pdv-v279-search-message.error{color:#a43f3f}.pdv-v279-action-branch{padding:10px 12px;border:1px solid #e4ece6;border-radius:10px;background:#fbfdfb}.pdv-v279-action-error{padding:10px 12px;border:1px solid #f0cdcd;border-radius:9px;background:#fff5f5;color:#9d3030;font-size:11px;line-height:1.4}.pdv-v279-action-error[hidden]{display:none}.pdv-v279-action-modal>form>footer{display:flex;justify-content:flex-end;gap:9px;padding:14px 24px 20px;border-top:1px solid #e9efeb}.pdv-v279-action-modal>form>footer button{min-height:39px;padding:0 15px;border:1px solid #d9e6dc;border-radius:9px;background:#fff;color:#45604c;font-size:11px;font-weight:700;cursor:pointer}.pdv-v279-action-modal>form>footer button.primary{border-color:#267849;background:#267849;color:#fff}.pdv-v279-action-modal>form>footer button:disabled{opacity:.55;cursor:wait}.pdv-v279-toast{position:fixed;right:24px;bottom:24px;z-index:10200;max-width:min(480px,calc(100vw - 32px));padding:12px 16px;border:1px solid #b8ddc3;border-radius:12px;background:#eff9f1;color:#22603a;font-size:12px;font-weight:700;box-shadow:0 12px 32px rgba(20,55,30,.18);opacity:0;pointer-events:none;transform:translateY(9px);transition:opacity .18s,transform .18s}.pdv-v279-toast.visible{opacity:1;transform:translateY(0)}.pdv-v279-toast.error{border-color:#eccaca;background:#fff4f4;color:#9c3434}
@media(max-width:700px){.pdv-v279-modal-backdrop{align-items:flex-end;padding:0}.pdv-v279-action-modal{width:100%;max-height:94vh;border-radius:18px 18px 0 0}.pdv-v279-action-modal>header{padding:18px}.pdv-v279-action-content{padding:15px}.pdv-v279-create-fields{grid-template-columns:1fr}.pdv-v279-action-modal>form>footer{padding:13px 16px 18px}.pdv-v279-product-result{align-items:flex-start;flex-direction:column;gap:4px}.pdv-v279-toast{right:16px;bottom:16px}}
.pdv-v279-review-filters{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(210px,1fr) auto;gap:10px;align-items:end;margin:0 0 12px;padding:12px;background:#f6faf7;border:1px solid #e2ece5;border-radius:12px}
.pdv-v279-review-filters label{display:grid!important;align-items:stretch!important;gap:5px!important;margin:0!important;color:#496353;font-size:10px!important;font-weight:800}
.pdv-v279-review-filters input,.pdv-v279-review-filters select{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid #d3e1d7;border-radius:9px;background:#fff;color:#294a35;font:inherit;font-size:12px;outline:none}
.pdv-v279-review-filters input:focus,.pdv-v279-review-filters select:focus{border-color:#4c9b6d;box-shadow:0 0 0 3px rgba(25,135,84,.12)}
.pdv-v279-review-filters button{min-height:36px;padding:7px 11px;border:1px solid #d4e2d8;border-radius:9px;background:#fff;color:#42644f;font-size:10px;font-weight:800;cursor:pointer}
.pdv-v279-review-filters button:hover{background:#edf7f0;border-color:#b9d8c3}
@media(max-width:640px){.pdv-v279-review-filters{grid-template-columns:1fr}.pdv-v279-review-filters button{justify-self:start}}

/* V281 · tablero SAT configurable, compacto e interactivo */
.sat-analytics-filters{display:grid;gap:9px;margin:0 0 12px;padding:12px;border:1px solid #dfeae2;border-radius:13px;background:#fff;box-shadow:0 4px 15px rgba(27,71,42,.035)}
.sat-analytics-filter-main{display:grid;grid-template-columns:repeat(4,minmax(105px,1fr)) minmax(190px,1.8fr) auto auto auto;align-items:end;gap:8px}
.sat-analytics-field{display:grid;min-width:0;gap:4px;color:#627468;font-size:10px;font-weight:700}.sat-analytics-field input,.sat-analytics-field select{box-sizing:border-box;width:100%;height:36px;min-width:0;padding:0 9px;border:1px solid #dbe6de;border-radius:8px;background:#fbfdfb;color:#294333;font:inherit;font-size:11px;outline:none}.sat-analytics-field input:focus,.sat-analytics-field select:focus{border-color:#70ad7e;box-shadow:0 0 0 3px #26784918}
.sat-analytics-filter-main>button{height:36px;padding:0 11px;border:1px solid #d4e3d8;border-radius:8px;background:#f7faf7;color:#315b3e;font-size:10px;font-weight:750;white-space:nowrap;cursor:pointer}.sat-analytics-filter-main>button[type=submit]{border-color:#28784a;background:#28784a;color:white}.sat-analytics-filter-main>button:hover{filter:brightness(.97)}
.sat-analytics-more{border-top:1px solid #edf2ee;padding-top:7px}.sat-analytics-more summary{width:max-content;color:#39724a;font-size:10px;font-weight:750;cursor:pointer}.sat-analytics-filter-advanced{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:9px;padding:10px 2px 2px}
.sat-metric-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0 0 12px}.sat-metric-summary>div{display:grid;align-content:start;gap:5px;min-width:0;padding:11px 12px;border:1px solid #e1eae3;border-radius:12px;background:linear-gradient(145deg,#fff,#f8fbf8)}.sat-metric-summary small{color:#718075;font-size:9px;font-weight:700}.sat-metric-summary strong{overflow:hidden;color:#214b30;font-size:17px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.sat-metric-summary span{overflow:hidden;color:#87948a;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.sat-metric-summary button{justify-self:start;padding:0;border:0;background:none;color:#287548;font-size:9px;font-weight:750;text-align:left;cursor:pointer}
.sat-analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.sat-analytics-card{min-width:0;margin:0!important;padding:13px!important;border:1px solid #dfe9e2!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 15px rgba(27,71,42,.035)!important}.sat-analytics-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 10px!important;padding:0!important;border:0!important}.sat-analytics-card>header h3{margin:0;color:#244d32;font-size:13px;line-height:1.3}.sat-analytics-card>header p{margin:4px 0 0;color:#829087;font-size:9px;line-height:1.4}.sat-analytics-open-list{flex:none;padding:7px 9px;border:1px solid #d7e6da;border-radius:8px;background:#f8fbf8;color:#28613c;font-size:9px;font-weight:750;cursor:pointer}.sat-analytics-open-list:hover{background:#edf7ef}
.sat-analytics-bars{display:grid;gap:5px}.sat-analytics-bar-row{display:grid;width:100%;grid-template-columns:minmax(105px,1fr) minmax(80px,1.2fr) minmax(75px,auto);align-items:center;gap:8px;padding:5px 6px;border:0;border-radius:7px;background:#fff;text-align:left;cursor:pointer}.sat-analytics-bar-row:hover,.sat-analytics-legend button:hover{background:#f5faf6}.sat-analytics-bar-label{display:grid;min-width:0;gap:2px}.sat-analytics-bar-label strong{overflow:hidden;color:#405a48;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.sat-analytics-bar-label small{overflow:hidden;color:#89958c;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.sat-analytics-track{height:7px;overflow:hidden;border-radius:99px;background:#edf2ee}.sat-analytics-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#72b783,#24794a)}.sat-analytics-bar-row>b{color:#315d3f;font-size:9px;text-align:right;white-space:nowrap}.sat-analytics-chart-caption{margin:8px 0 0;color:#87938a;font-size:9px;line-height:1.45}
.sat-analytics-donut-layout{display:grid;grid-template-columns:minmax(100px,.65fr) minmax(0,1.5fr);align-items:center;gap:12px}.sat-analytics-donut{width:min(150px,100%);aspect-ratio:1;display:grid;place-items:center;margin:auto;border-radius:50%;position:relative}.sat-analytics-donut:before{content:"";position:absolute;inset:23%;border-radius:50%;background:#fff}.sat-analytics-donut>span{position:relative;display:grid;color:#244d32;font-size:15px;font-weight:800;text-align:center}.sat-analytics-donut>span small{color:#859188;font-size:8px;font-weight:600}.sat-analytics-legend{display:grid;max-height:210px;gap:2px;overflow:auto}.sat-analytics-legend button{display:grid;grid-template-columns:9px minmax(0,1fr);align-items:start;gap:7px;padding:5px;border:0;border-radius:6px;background:transparent;text-align:left;cursor:pointer}.sat-analytics-legend button>i{width:8px;height:8px;margin-top:3px;border-radius:50%}.sat-analytics-legend button span{display:grid;gap:2px;min-width:0}.sat-analytics-legend button strong{overflow:hidden;color:#405a48;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.sat-analytics-legend button small{color:#87938a;font-size:8px}
.sat-analytics-table-wrap{max-width:100%;overflow:auto;border:1px solid #e6eee8;border-radius:9px}.sat-analytics-table{width:100%;min-width:500px;border-collapse:collapse}.sat-analytics-table th,.sat-analytics-table td{padding:8px 9px;border-bottom:1px solid #edf2ee;color:#55675b;font-size:9px;text-align:left;vertical-align:top}.sat-analytics-table th{position:sticky;top:0;background:#f4f8f5;color:#6b7a70;font-size:8px;letter-spacing:.025em;text-transform:uppercase}.sat-analytics-table td strong,.sat-analytics-table td small{display:block}.sat-analytics-table td small{margin-top:3px;color:#8a968d;font-size:8px;line-height:1.4}.sat-analytics-row-link{display:grid;gap:2px;padding:0;border:0;background:none;color:#28613c;text-align:left;cursor:pointer}.sat-analytics-row-link:hover strong{text-decoration:underline}.sat-analytics-empty,.sat-analytics-loading,.sat-analytics-error{display:grid;gap:4px;padding:17px;border:1px dashed #dce8df;border-radius:10px;color:#78867c;font-size:10px;text-align:center}.sat-analytics-empty strong{color:#45634d;font-size:11px}.sat-analytics-error{border-color:#efd4d0;background:#fff9f8;color:#91483f}.sat-analytics-error button{justify-self:center;margin-top:5px;padding:7px 10px;border:1px solid #e2c2bd;border-radius:7px;background:#fff;color:#82443b;cursor:pointer}
.sat-analytics-month-bars{display:grid;grid-auto-columns:minmax(52px,1fr);grid-auto-flow:column;align-items:end;gap:5px;min-height:154px;padding:8px 2px 0;overflow-x:auto}.sat-analytics-month{display:grid;height:142px;grid-template-rows:1fr auto auto;align-items:end;gap:4px;min-width:48px;padding:0 3px 3px;border:0;border-radius:6px;background:transparent;color:#617267;cursor:pointer}.sat-analytics-month:hover{background:#f5faf6}.sat-analytics-month-pair{height:100%;display:flex;align-items:end;justify-content:center;gap:3px;border-bottom:1px solid #dfe8e1}.sat-analytics-month-pair i{width:11px;min-height:0;border-radius:4px 4px 0 0}.sat-analytics-month-pair .issued{background:#27834e}.sat-analytics-month-pair .received{background:#84bd91}.sat-analytics-month small{font-size:8px}.sat-analytics-month b{color:#5a6c60;font-size:8px;font-weight:650;white-space:nowrap}.sat-chart-legend{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:7px 2px;color:#627468;font-size:8px}.sat-chart-legend span{display:flex;align-items:center;gap:4px}.sat-chart-legend i{width:8px;height:8px;border-radius:3px;background:#27834e}.sat-chart-legend i.received{background:#84bd91}.sat-chart-legend small{color:#8a968d}.sat-analytics-line-wrap{width:100%;overflow:auto}.sat-analytics-line-wrap svg{display:block;width:100%;min-width:460px;height:auto}.sat-analytics-line-wrap .axis{stroke:#dce6df;stroke-width:1}.sat-analytics-line-wrap text{fill:#718075;font-size:9px}.sat-analytics-line-wrap polyline{fill:none;stroke-width:3}.sat-analytics-line-wrap .issued-line{stroke:#27834e}.sat-analytics-line-wrap .received-line{stroke:#84bd91}.sat-analytics-line-wrap circle{cursor:pointer}.sat-analytics-line-wrap .issued-dot{fill:#27834e}.sat-analytics-line-wrap .received-dot{fill:#84bd91}.sat-metric-scope{margin:8px 2px;color:#88948b;font-size:9px;line-height:1.4}
.sat-metric-config-modal{width:min(700px,96vw)!important;max-height:min(82vh,780px)!important}.sat-metric-config-list{display:grid;gap:7px}.sat-metric-config-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:12px;padding:9px 11px;border:1px solid #e5ede7;border-radius:9px;background:#fbfdfb}.sat-metric-config-row>label{display:flex;align-items:center;gap:9px;cursor:pointer}.sat-metric-config-row>label input{accent-color:#287849}.sat-metric-config-row>label span{display:grid;gap:3px}.sat-metric-config-row strong{color:#355842;font-size:11px}.sat-metric-config-row small{color:#87938a;font-size:9px}.sat-metric-config-row select{height:34px;padding:0 8px;border:1px solid #dbe6de;border-radius:8px;background:#fff;color:#355842;font-size:10px}
.sat-metric-list-dialog,.sat-metric-profile-dialog{width:min(1180px,97vw)!important;max-height:min(91vh,980px)!important}.sat-metric-list-modal,.sat-metric-profile-body{min-height:0;overflow:auto}.sat-analytics-list-search{display:grid;grid-template-columns:auto minmax(180px,1fr);align-items:center;gap:10px;margin:0 0 11px;color:#53685a;font-size:10px;font-weight:700}.sat-analytics-list-search input{height:36px;padding:0 10px;border:1px solid #dbe6de;border-radius:8px;background:#fbfdfb;font:inherit;font-weight:400}.sat-metric-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.sat-metric-detail-summary>div{display:grid;gap:4px;padding:10px 12px;border:1px solid #e1eae3;border-radius:10px;background:#f8fbf8}.sat-metric-detail-summary small{color:#7b897f;font-size:9px}.sat-metric-detail-summary strong{overflow-wrap:anywhere;color:#28593a;font-size:13px}.sat-metric-profile-chart{margin:0 0 13px!important}.sat-metric-profile-body>h4{margin:13px 0 8px;color:#365a40;font-size:12px}.sat-metric-doc-table{min-width:950px}.sat-metric-doc-table td{max-width:280px;overflow-wrap:anywhere;line-height:1.45}.sat-metric-tag-issued,.sat-metric-tag-received{display:inline-block;padding:4px 6px;border-radius:99px;background:#e8f5eb;color:#267448;font-size:8px;font-weight:750;white-space:nowrap}.sat-metric-tag-received{background:#edf3ed;color:#55735d}.sat-metric-pager{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 0 3px;color:#718075;font-size:10px}.sat-metric-pager button{padding:7px 11px;border:1px solid #d7e4da;border-radius:8px;background:#fff;color:#315b3e;font-size:10px;font-weight:700;cursor:pointer}.sat-metric-pager button:disabled{opacity:.45;cursor:default}
@media(max-width:1050px){.sat-analytics-filter-main{grid-template-columns:repeat(4,minmax(100px,1fr))}.sat-analytics-filter-main>.sat-analytics-search{grid-column:span 2}.sat-metric-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.sat-analytics-filter-advanced{grid-template-columns:repeat(3,minmax(120px,1fr))}}
@media(max-width:720px){.sat-analytics-filter-main{grid-template-columns:repeat(2,minmax(0,1fr))}.sat-analytics-filter-main>.sat-analytics-search{grid-column:1/-1}.sat-analytics-grid{grid-template-columns:1fr}.sat-metric-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sat-analytics-filter-advanced{grid-template-columns:repeat(2,minmax(0,1fr))}.sat-analytics-card{padding:11px!important}.sat-analytics-donut-layout{grid-template-columns:100px minmax(0,1fr)}.sat-metric-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sat-analytics-list-search{grid-template-columns:1fr;gap:5px}.sat-metric-list-dialog,.sat-metric-profile-dialog{width:100%!important;max-height:94vh!important}.sat-metric-pager{gap:6px;font-size:9px}.sat-metric-pager button{padding:7px}.sat-metric-config-row{grid-template-columns:minmax(0,1fr) 120px}}

/* V282 · filtros propios por contraparte y expediente histórico de producto */
.sat-metric-profile-filters{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr)) minmax(190px,1.5fr) auto;align-items:end;gap:8px;margin:0 0 13px;padding:11px;border:1px solid #dce9df;border-radius:12px;background:#f8fbf8}.sat-metric-profile-filters label{display:grid;min-width:0;gap:4px;color:#627468;font-size:9px;font-weight:750}.sat-metric-profile-filters input,.sat-metric-profile-filters select{box-sizing:border-box;width:100%;height:34px;min-width:0;padding:0 8px;border:1px solid #dbe6de;border-radius:8px;background:#fff;color:#294333;font:inherit;font-size:10px}.sat-metric-profile-filters button{height:34px;padding:0 12px;border:1px solid #28784a;border-radius:8px;background:#28784a;color:#fff;font-size:10px;font-weight:750;white-space:nowrap;cursor:pointer}.sat-metric-profile-filters .profile-search{grid-column:span 2}
.sat-product-history-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 13px}.sat-product-history-overview article{display:grid;align-content:start;gap:5px;min-width:0;padding:12px;border:1px solid #dfeae2;border-radius:11px;background:linear-gradient(145deg,#fff,#f7fbf8)}.sat-product-history-overview article small{color:#738177;font-size:9px;font-weight:750}.sat-product-history-overview article strong{color:#235535;font-size:17px;line-height:1.25}.sat-product-history-overview article span{color:#87938a;font-size:9px;line-height:1.45;overflow-wrap:anywhere}.sat-product-history-overview .last-sale{border-color:#cfe5d5;background:linear-gradient(145deg,#f2faf4,#fff)}
.sat-price-history{margin:0 0 12px!important}.sat-price-history>header strong{flex:none;color:#3f6e4b;font-size:10px}.sat-price-chart-wrap{width:100%;overflow:auto}.sat-price-chart-wrap svg{display:block;width:100%;min-width:500px;height:auto}.sat-price-chart-wrap .axis{stroke:#dce6df;stroke-width:1}.sat-price-chart-wrap text{fill:#718075;font-size:9px}.sat-price-line{fill:none;stroke:#267849;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.sat-price-point{stroke:#fff;stroke-width:1.8;cursor:pointer;transition:r .15s}.sat-price-point:hover{r:8}.sat-price-point.venta{fill:#187846}.sat-price-point.cotizacion{fill:#4e94bd}.sat-price-point.compra{fill:#e3a641}.sat-price-point.cfdi_emitido{fill:#5269a5}.sat-price-point.cfdi_recibido{fill:#946bb0}.sat-price-legend{display:flex;flex-wrap:wrap;gap:10px;margin:7px 1px}.sat-price-legend span{display:flex;align-items:center;gap:4px;color:#627468;font-size:8px}.sat-price-legend i{width:8px;height:8px;border-radius:50%;background:#187846}.sat-price-legend .sat-price-legend-cotizacion i{background:#4e94bd}.sat-price-legend .sat-price-legend-compra i{background:#e3a641}.sat-price-legend .sat-price-legend-cfdi_emitido i{background:#5269a5}.sat-price-legend .sat-price-legend-cfdi_recibido i{background:#946bb0}
.sat-product-history-note{margin:-2px 0 8px;color:#7a887e;font-size:9px;line-height:1.45}.sat-product-history-table{min-width:850px}.sat-product-history-table td{vertical-align:top}.sat-product-history-table td>strong{color:#3b5b45}.sat-product-history-table td small{color:#849087}.sat-product-history-table td:nth-child(5),.sat-product-history-table td:nth-child(6){white-space:nowrap}
@media(max-width:900px){.sat-metric-profile-filters{grid-template-columns:repeat(3,minmax(100px,1fr))}.sat-metric-profile-filters .profile-search{grid-column:span 2}.sat-product-history-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.sat-metric-profile-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sat-metric-profile-filters .profile-search{grid-column:1/-1}.sat-metric-profile-filters button{grid-column:1/-1}.sat-product-history-overview{grid-template-columns:1fr}.sat-product-history-overview article{padding:10px}.sat-product-history-overview article strong{font-size:15px}}

/* Tablero SAT compacto en la vista principal; detalle completo en modal */
.sat-metrics-compact-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;padding:0 2px}
.sat-metrics-compact-head h3{margin:0;color:#244d32;font-size:16px;line-height:1.25}
.sat-metrics-compact-head p{margin:3px 0 0;color:#829087;font-size:10px}
.sat-metrics-compact-head .sat-btn{flex:none;min-height:36px}
.sat-metric-summary-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 9px}
.sat-metric-summary-compact>div{gap:3px;padding:9px 11px;border-radius:11px}
.sat-metric-summary-compact small{font-size:9px}
.sat-metric-summary-compact strong{overflow:hidden;text-overflow:ellipsis;font-size:17px;white-space:nowrap}
.sat-metric-summary-compact span{color:#7e8c82;font-size:9px}
.sat-metric-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 9px}
.sat-metric-highlight{display:grid;min-width:0;gap:3px;padding:8px 11px;border:1px solid #e1ebe5;border-radius:10px;background:#fff;color:#315b3e;text-align:left;cursor:pointer}
.sat-metric-highlight:hover{border-color:#a9ceb2;background:#f7fbf8}
.sat-metric-highlight small{color:#7b897f;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.sat-metric-highlight strong{overflow:hidden;color:#244d32;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.sat-metric-highlight span{color:#718176;font-size:9px}
.sat-metric-highlight.is-empty{cursor:default}
.sat-metrics-compact-trend{padding:9px 12px!important}
.sat-metrics-compact-trend>header{margin-bottom:5px!important}
.sat-metrics-compact-trend>header h3{font-size:11px}
.sat-metrics-compact-trend>header p{font-size:8px}
.sat-metrics-compact-trend .sat-analytics-month-bars{height:112px;gap:5px}
.sat-metrics-full-dialog{width:min(1440px,98vw)!important;max-height:95vh!important}
.sat-metrics-full-body{min-height:0;overflow:auto}
.sat-metrics-full-body>.sat-analytics-filters{position:sticky;top:-1px;z-index:4;padding:6px 0;background:#fff}
@media(max-width:900px){.sat-metric-summary-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.sat-metrics-full-dialog{width:98vw!important}}
@media(max-width:620px){.sat-metrics-compact-head{align-items:stretch;flex-direction:column}.sat-metrics-compact-head .sat-btn{width:100%}.sat-metric-highlights{grid-template-columns:1fr}.sat-metrics-compact-trend .sat-analytics-month-bars{height:94px}.sat-metrics-full-dialog{width:100%!important;max-height:96vh!important}.sat-metrics-full-body>.sat-analytics-filters{position:static}}
