.orders-view{min-height:calc(100vh - 54px);padding:18px clamp(18px,4vw,54px) 60px;background:#f3f5f9;color:#14203a}.orders-hero{min-height:94px;padding:20px 24px;border-radius:16px;background:linear-gradient(120deg,#111f50,#294bb8);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 13px 32px rgba(15,38,89,.14)}.orders-hero span,.orders-list-heading>div>span{color:#ff9ba5;font-size:9px;font-weight:900;letter-spacing:1.1px}.orders-hero h1{margin:3px 0 5px;font-size:26px}.orders-hero p{margin:0;color:#d2dcf1;font-size:12px}.orders-refresh{height:39px;padding:0 16px;border:1px solid rgba(255,255,255,.35);border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-weight:900;cursor:pointer}.orders-refresh:hover{background:rgba(255,255,255,.18)}.orders-refresh:disabled{opacity:.5;cursor:wait}
.orders-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.orders-kpis>div{min-height:91px;padding:15px 17px;border:1px solid #dfe4ed;border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(15,38,89,.04);display:flex;flex-direction:column;justify-content:center}.orders-kpis span{color:#7a8497;font-size:8px;font-weight:900;letter-spacing:.7px}.orders-kpis strong{margin:4px 0 2px;color:#14265d;font-size:23px}.orders-kpis small{color:#8b94a4;font-size:9px}
.orders-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.85fr);gap:14px;align-items:start}.orders-list-panel,.order-detail-panel{border:1px solid #dfe4ed;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(15,38,89,.05);overflow:hidden}.orders-list-heading{padding:17px 18px 12px;display:flex;align-items:end;justify-content:space-between;gap:16px}.orders-list-heading h2{margin:3px 0 0;color:#14265d;font-size:18px}.orders-list-heading>small{color:#7f899a;font-size:9px}.orders-filters{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:8px;padding:0 18px 14px}.orders-filters input,.orders-filters select,.order-payment-box input,.order-payment-box select{height:40px;border:1px solid #d8deea;border-radius:9px;background:#fbfcfe;color:#17233f;outline:0;font:inherit}.orders-filters input,.order-payment-box input{padding:0 11px}.orders-filters select,.order-payment-box select{padding:0 9px}.orders-filters input:focus,.orders-filters select:focus,.order-payment-box input:focus,.order-payment-box select:focus{border-color:#3150c8;box-shadow:0 0 0 3px rgba(49,80,200,.08);background:#fff}.orders-list{max-height:590px;overflow:auto;border-top:1px solid #e4e8f0}.order-card{width:100%;padding:13px 17px;border:0;border-bottom:1px solid #e9ecf2;background:#fff;color:#182541;display:grid;grid-template-columns:minmax(150px,1fr) minmax(135px,.8fr) auto;gap:12px;text-align:left;cursor:pointer}.order-card:hover{background:#f8f9fc}.order-card.active{background:#edf2ff;box-shadow:inset 4px 0 #d52835}.order-card>span{display:flex;flex-direction:column;gap:3px}.order-card b{color:#14265d;font-size:12px}.order-card strong{color:#2949bb;font-size:13px}.order-card small{color:#7e8798;font-size:9px}.order-card>span:last-child{align-items:flex-end;text-align:right}.order-status{display:inline-flex;width:max-content;padding:4px 8px;border-radius:99px;background:#fff3d8;color:#8a651a;font-size:8px;font-weight:900;text-transform:uppercase}.order-status.confirmed{background:#e9f0ff;color:#2850b9}.order-status.paid{background:#e8f7f0;color:#087454}.order-status.delivered{background:#e9f6f4;color:#146c62}.order-status.cancelled{background:#f3f4f7;color:#727b8b}.orders-empty{padding:48px 20px;text-align:center;color:#8790a0;font-size:11px}
.order-detail-panel{position:sticky;top:70px;min-height:390px}.order-detail-empty{min-height:390px;padding:35px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8790a0}.order-detail-empty b{margin-bottom:5px;color:#34405a;font-size:15px}.order-detail-empty span{max-width:260px;font-size:10px}.order-detail-heading{padding:18px;border-bottom:1px solid #e4e8ef;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.order-detail-heading h2{margin:7px 0 2px;color:#14265d;font-size:20px}.order-detail-heading small{color:#7c8799;font-size:9px}.order-detail-heading>strong{color:#2949bb;font-size:21px}.order-customer{margin:14px 16px;padding:12px;border-radius:10px;background:#f5f7fb;display:flex;flex-direction:column;gap:3px}.order-customer span{color:#7c8798;font-size:8px;font-weight:900;letter-spacing:.7px}.order-customer b{color:#172540;font-size:13px}.order-customer small{color:#707b8e;font-size:9px}.order-items{margin:0 16px;border:1px solid #e0e5ee;border-radius:10px;overflow:hidden}.order-item{padding:10px 11px;border-bottom:1px solid #e7eaf0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.order-item:last-child{border-bottom:0}.order-item span{display:flex;flex-direction:column;gap:2px}.order-item b{color:#172540;font-size:10px}.order-item small{color:#7f8999;font-size:8px}.order-item strong{align-self:center;color:#2949bb;font-size:11px}.order-payment-box{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 16px}.order-payment-box label{display:flex;flex-direction:column;gap:5px}.order-payment-box label>span{color:#5a667a;font-size:9px;font-weight:900}.order-action-message{min-height:15px;margin:0 16px 8px;color:#667188;font-size:10px}.order-action-message.error{color:#bc2833}.order-action-message.success{color:#087555;font-weight:800}.order-action-message.info{color:#2d4cc5}.order-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 16px 14px}.order-actions button{height:39px;padding:0 13px;border:0;border-radius:8px;font-weight:900;cursor:pointer}.order-next-action{background:#3150c8;color:#fff;box-shadow:0 6px 15px rgba(49,80,200,.17)}.order-next-action:hover{background:#243fab}.order-cancel-action{background:#fff0f2;color:#bd2936}.order-actions button:disabled{opacity:.45;cursor:wait}.order-closed{padding:10px 12px;border-radius:8px;background:#f2f4f7;color:#6f798b;font-size:9px;font-weight:800}.order-stock-note{margin:0 16px 16px;padding:11px 12px;border-radius:9px;background:#f1f8f5;color:#4a675e;display:flex;flex-direction:column;gap:3px;font-size:9px}.order-stock-note b{color:#087555;font-size:10px}
@media(max-width:1050px){.orders-workspace{grid-template-columns:1fr}.order-detail-panel{position:static}.orders-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.orders-view{padding:9px 10px 40px}.orders-hero{padding:16px;align-items:flex-start;flex-direction:column}.orders-refresh{width:100%}.orders-kpis{grid-template-columns:1fr 1fr;gap:8px}.orders-kpis>div{min-height:78px;padding:12px}.orders-kpis strong{font-size:19px}.orders-filters{grid-template-columns:1fr}.order-card{grid-template-columns:1fr auto}.order-card>span:nth-child(2){grid-column:1/-1}.order-payment-box{grid-template-columns:1fr}.order-detail-heading{flex-direction:column}.order-detail-heading>strong{font-size:25px}}
.cash-queue-count{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:3px;padding:0 5px;border-radius:99px;background:#e8ecf5;color:#6b768a;font-size:8px}.cash-queue-count.has-items{background:#d52d3a;color:#fff}.orders-filters{grid-template-columns:minmax(0,1fr) 165px 165px}.order-payment-box{grid-template-columns:1fr 1fr}.order-payment-box .order-status-note{grid-column:1/-1}.order-waiting-cashier{flex:1;min-width:210px;padding:9px 11px;border-radius:8px;background:#fff5dd;color:#7a5a17;display:flex;flex-direction:column;gap:2px}.order-waiting-cashier b{font-size:10px}.order-waiting-cashier span{font-size:8px}.cashier-charge-action{flex:1;min-width:180px;background:#d44e48}.cashier-charge-action:hover{background:#b93c38}
@media(max-width:900px){.orders-filters{grid-template-columns:1fr 1fr}.orders-filters input{grid-column:1/-1}}
@media(max-width:650px){.orders-filters,.order-payment-box{grid-template-columns:1fr}.orders-filters input,.order-payment-box .order-status-note{grid-column:auto}}

.cash-register-panel{margin:14px 0;border:1px solid #dbe2ec;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(15,38,89,.05);overflow:hidden}.cash-register-heading{padding:15px 18px;border-bottom:1px solid #e4e8f0;display:flex;align-items:center;justify-content:space-between;gap:18px}.cash-register-heading>div:first-child{min-width:0}.cash-register-heading span,.cash-subheading span,.cash-register-identity span,.cash-action-card>span{color:#bf303a;font-size:8px;font-weight:900;letter-spacing:.8px}.cash-register-heading h2{margin:3px 0 2px;color:#14265d;font-size:18px}.cash-register-heading p{margin:0;color:#7b8698;font-size:9px}.cash-register-status{display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:99px;background:#f2f4f7;color:#6d7789;font-size:9px;white-space:nowrap}.cash-register-status i{width:8px;height:8px;border-radius:50%;background:#9ca5b4}.cash-register-status.open{background:#e7f7ef;color:#087555}.cash-register-status.open i{background:#1d9b72;box-shadow:0 0 0 4px rgba(29,155,114,.11)}
.cash-register-closed{padding:14px 18px}.cash-register-callout{margin-bottom:12px;padding:10px 12px;border-radius:9px;background:#f4f7ff;color:#415074;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px}.cash-register-callout b{color:#2746aa;font-size:10px}.cash-open-form{display:grid;grid-template-columns:1fr 1fr 150px minmax(180px,1.2fr) auto;gap:9px;align-items:end}.cash-open-form label,.cash-action-card label{display:flex;flex-direction:column;gap:5px}.cash-open-form label>span,.cash-action-card label>span{color:#5d687c;font-size:8px;font-weight:900}.cash-open-form input,.cash-action-grid input,.cash-action-grid select,.cash-action-card input{width:100%;height:38px;padding:0 10px;border:1px solid #d7deea;border-radius:8px;background:#fbfcfe;color:#182540;outline:0;font:inherit}.cash-open-form input:focus,.cash-action-grid input:focus,.cash-action-grid select:focus,.cash-action-card input:focus{border-color:#3150c8;box-shadow:0 0 0 3px rgba(49,80,200,.08);background:#fff}.cash-open-form button,.cash-action-grid button,.cash-action-card.close button{height:38px;padding:0 14px;border:0;border-radius:8px;background:#3150c8;color:#fff;font-weight:900;cursor:pointer;white-space:nowrap}.cash-open-form button:disabled,.cash-action-grid button:disabled,.cash-action-card.close button:disabled{opacity:.45;cursor:wait}
.cash-register-open{padding:14px 18px 16px}.cash-register-identity{display:flex;justify-content:space-between;gap:20px;margin-bottom:11px;padding:10px 12px;border-radius:9px;background:#f6f8fc}.cash-register-identity>div{display:flex;flex-direction:column;gap:2px}.cash-register-identity>div:last-child{text-align:right;align-items:flex-end}.cash-register-identity b{color:#14265d;font-size:12px}.cash-register-identity small{color:#778296;font-size:8px}.cash-register-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:11px}.cash-register-totals>div{padding:11px 12px;border:1px solid #e0e5ee;border-radius:9px;display:flex;flex-direction:column;gap:3px}.cash-register-totals span{color:#7b8597;font-size:7px;font-weight:900;letter-spacing:.6px}.cash-register-totals strong{color:#17275a;font-size:16px}.cash-register-totals .cash-expected-total{border-color:#cfd9ff;background:#f2f5ff}.cash-register-totals .cash-expected-total strong{color:#2748bb}.cash-register-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,.8fr);gap:10px}.cash-movements-panel,.cash-register-actions{min-width:0}.cash-movements-panel{border:1px solid #e0e5ee;border-radius:10px;overflow:hidden}.cash-subheading{padding:11px 12px;border-bottom:1px solid #e7eaf0;display:flex;align-items:end;justify-content:space-between;gap:12px}.cash-subheading h3,.cash-action-card h3{margin:2px 0 0;color:#16265a;font-size:13px}.cash-subheading small{color:#818b9d;font-size:8px}.cash-movement-list{max-height:225px;overflow:auto}.cash-movement-row{padding:9px 11px;border-bottom:1px solid #ebedf2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.cash-movement-row:last-child{border-bottom:0}.cash-movement-row>span{display:flex;flex-direction:column;gap:2px}.cash-movement-row b{color:#213052;font-size:9px}.cash-movement-row small{color:#808a9a;font-size:7px}.cash-movement-row strong{align-self:center;color:#1f3ea2;font-size:10px}.cash-movement-row.out strong,.cash-movement-row.refund strong{color:#bc3039}.cash-empty{padding:34px 14px;text-align:center;color:#8791a2;font-size:9px}.cash-register-actions{display:grid;gap:9px}.cash-action-card{padding:11px 12px;border:1px solid #e0e5ee;border-radius:10px}.cash-action-card.close{border-color:#edd9db;background:#fffafa}.cash-action-grid{display:grid;grid-template-columns:1fr 120px;gap:7px;margin-top:9px}.cash-action-grid #cashMovementNote,.cash-action-grid button{grid-column:1/-1}.cash-action-card.close label{margin-top:8px}.cash-action-card.close button{width:100%;margin-top:9px;background:#bb3741}.cash-register-message{min-height:0;margin:0;padding:0 18px;color:#687388;font-size:9px}.cash-register-message:not(:empty){padding-bottom:13px}.cash-register-message.error{color:#bd2a35}.cash-register-message.success{color:#087555;font-weight:800}.cash-register-message.info{color:#2e4dc3}
@media(max-width:1050px){.cash-open-form{grid-template-columns:1fr 1fr 150px}.cash-open-form .cash-note-field{grid-column:1/3}.cash-register-workspace{grid-template-columns:1fr}.cash-register-actions{grid-template-columns:1fr 1fr}.cash-register-actions .cash-action-card{height:100%}}
@media(max-width:650px){.cash-register-heading,.cash-register-identity{align-items:flex-start;flex-direction:column}.cash-register-identity>div:last-child{text-align:left;align-items:flex-start}.cash-open-form,.cash-register-totals,.cash-register-actions{grid-template-columns:1fr}.cash-open-form .cash-note-field{grid-column:auto}.cash-open-form button{width:100%}.cash-register-totals{grid-template-columns:1fr 1fr}.cash-register-open,.cash-register-closed{padding:12px}.cash-register-callout{align-items:flex-start;flex-direction:column}}
.cash-register-history-panel{margin:0 18px 13px;border:1px solid #e0e5ee;border-radius:10px;overflow:hidden}.cash-register-history{max-height:185px;overflow:auto}.cash-history-row{padding:9px 11px;border-bottom:1px solid #ebedf2;display:grid;grid-template-columns:minmax(150px,1fr) minmax(130px,.8fr) minmax(110px,.7fr) auto;gap:10px;align-items:center}.cash-history-row:last-child{border-bottom:0}.cash-history-row>span{display:flex;flex-direction:column;gap:2px}.cash-history-row b{color:#1a2a54;font-size:9px}.cash-history-row small{color:#818a9b;font-size:7px}.cash-history-row strong{color:#087555;font-size:10px;text-align:right}.cash-history-row strong.difference{color:#bd2d38}
@media(max-width:650px){.cash-register-history-panel{margin:0 12px 12px}.cash-history-row{grid-template-columns:1fr auto}.cash-history-row>span:nth-child(2),.cash-history-row>span:nth-child(3){grid-column:1/-1}}
.cash-open-form select{width:100%;height:38px;padding:0 10px;border:1px solid #d7deea;border-radius:8px;background:#fbfcfe;color:#182540;outline:0;font:inherit}.cash-open-form select:focus{border-color:#3150c8;box-shadow:0 0 0 3px rgba(49,80,200,.08);background:#fff}.cash-register-unavailable{margin:14px 18px;padding:13px 15px;border:1px solid #d8e0f2;border-radius:10px;background:#f4f7ff;color:#55627a;display:flex;align-items:center;justify-content:space-between;gap:16px}.cash-register-unavailable[hidden]{display:none}.cash-register-unavailable b{color:#2343a9;font-size:11px}.cash-register-unavailable span{font-size:9px;text-align:right}.order-point-meta{color:#3150c8!important;font-weight:800}.cash-point-warning{display:block;margin:0 0 8px;color:#a96e12;font-size:8px;font-weight:800}
@media(max-width:650px){.cash-register-unavailable{align-items:flex-start;flex-direction:column}.cash-register-unavailable span{text-align:left}}

/* DTE asociado a la venta */
.order-fiscal-box{margin:14px 16px;padding:11px 12px;border:1px solid #dce3ef;border-radius:10px;background:#f9fbff}.order-fiscal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.order-fiscal-heading>div{display:flex;flex-direction:column;gap:2px}.order-fiscal-heading>div>span{color:#be2d38;font-size:7px;font-weight:950;letter-spacing:.8px}.order-fiscal-heading b{color:#172a60;font-size:11px}.order-fiscal-heading small{color:#758197;font-size:8px}.fiscal-status-badge{padding:5px 7px;border-radius:99px;background:#fff1d2;color:#825b14;font-size:7px;font-weight:950;white-space:nowrap}.fiscal-status-badge.sandbox_ready,.fiscal-status-badge.production_ready{background:#e2f5ed;color:#087555}.order-fiscal-documents{display:grid;gap:5px;margin-top:9px}.order-fiscal-documents>small{padding:7px 8px;border-radius:7px;background:#f0f3f8;color:#818b9d;font-size:8px}.order-fiscal-document{padding:7px 8px;border:1px solid #e1e6ef;border-radius:7px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.order-fiscal-document span{display:flex;flex-direction:column;gap:2px}.order-fiscal-document b{color:#172a60;font-size:8px}.order-fiscal-document small{color:#7c8799;font-size:7px}.order-fiscal-document em{padding:4px 6px;border-radius:99px;background:#fff3d7;color:#865e13;font-size:7px;font-style:normal;font-weight:950}.order-fiscal-document em.accepted,.order-fiscal-document em.issued{background:#e3f6ed;color:#087555}.order-fiscal-document em.failed,.order-fiscal-document em.rejected{background:#fff0f2;color:#b52b36}.order-fiscal-form{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.order-fiscal-form label{display:flex;flex-direction:column;gap:4px}.order-fiscal-form label>span{color:#5c687d;font-size:7px;font-weight:900}.order-fiscal-form input,.order-fiscal-form select{width:100%;height:34px;padding:0 8px;border:1px solid #d5ddea;border-radius:7px;background:#fff;color:#17233f;font:inherit;font-size:9px;outline:0}.order-fiscal-form input:focus,.order-fiscal-form select:focus{border-color:#3150c8;box-shadow:0 0 0 3px rgba(49,80,200,.08)}.order-fiscal-form .span-two{grid-column:1/-1}.order-fiscal-form button{grid-column:1/-1;height:36px;border:0;border-radius:8px;background:#3150c8;color:#fff;font-size:9px;font-weight:950;cursor:pointer}.order-fiscal-form button:disabled{opacity:.45;cursor:not-allowed}.order-fiscal-message{min-height:0;margin:7px 0 0;color:#69758b;font-size:8px}.order-fiscal-message.error{color:#bc2935}.order-fiscal-message.success{color:#087555;font-weight:850}.order-fiscal-message.info{color:#2e4dc3}
@media(max-width:650px){.order-fiscal-form{grid-template-columns:1fr}.order-fiscal-form .span-two,.order-fiscal-form button{grid-column:auto}}

/* Cobro rápido sin menús: pago, vuelto, multipago y DTE visible */
.order-payment-box{grid-template-columns:1fr 1fr}.order-payment-selector{grid-column:1/-1}.order-payment-selector>span,.order-cash-panel>span,.order-cash-panel label>span,.order-split-panel label>span,.order-fiscal-choice>span{display:block;margin-bottom:5px;color:#5a667a;font-size:9px;font-weight:900}.order-payment-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:4px;border-radius:10px;background:#edf0f6}.order-payment-buttons button{min-height:36px;border:0;border-radius:7px;background:transparent;color:#526078;font-size:8px;font-weight:900;cursor:pointer}.order-payment-buttons button.active{background:#3150c8;color:#fff;box-shadow:0 4px 10px rgba(46,75,193,.2)}.order-payment-buttons button:disabled{opacity:.45;cursor:not-allowed}.order-cash-panel,.order-split-panel{grid-column:1/-1;padding:10px;border:1px solid #e0e5ef;border-radius:9px;background:#f8faff}.order-cash-panel[hidden],.order-split-panel[hidden]{display:none}.order-cash-bills{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:8px}.order-cash-bills button{height:32px;border:1px solid #cdd7eb;border-radius:7px;background:#fff;color:#2443b6;font-size:8px;font-weight:900;cursor:pointer}.order-cash-panel label{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8px}.order-cash-panel output,.order-split-panel output{display:block;margin-top:8px;padding:8px;border-radius:7px;background:#e9f6f0;color:#087555;text-align:center;font-size:9px;font-weight:900}.order-cash-panel output.short{background:#fff2dc;color:#8c6414}.order-split-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px}.order-split-panel label{display:flex;flex-direction:column}.order-split-panel output{grid-column:1/-1;margin-top:0}.order-fiscal-choice{grid-column:1/-1}.order-fiscal-buttons{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border-radius:9px;background:#edf0f6}.order-fiscal-buttons button{height:34px;border:0;border-radius:7px;background:transparent;color:#526078;font-size:8px;font-weight:900;cursor:pointer}.order-fiscal-buttons button.active{background:#3150c8;color:#fff}.order-fiscal-advanced{grid-column:1/-1}.order-fiscal-advanced>span:after{content:" · Guía o nota de crédito";font-weight:500;color:#8490a3}
@media(max-width:650px){.order-payment-buttons{grid-template-columns:repeat(3,1fr)}.order-split-panel{grid-template-columns:1fr}.order-split-panel output{grid-column:auto}}
.order-price-variation{display:inline-flex;margin-left:4px;padding:3px 5px;border-radius:99px;font-style:normal;font-size:7px;font-weight:950}.order-price-variation.neutral{background:#eef1f5;color:#69758a}.order-price-variation.discount{background:#fff1da;color:#916000}.order-price-variation.increase{background:#e6f7ef;color:#087555}

/* Notas de Venta: cobro pendiente arriba y respaldo de pagos abajo. */
.sales-notes-view{padding-bottom:64px}.sales-notes-hero{background:linear-gradient(125deg,#17255f,#3150c8 67%,#445fd0)}.sales-notes-workspace{grid-template-columns:minmax(0,1.08fr) minmax(410px,.92fr)}.sales-notes-view .orders-filters{grid-template-columns:minmax(0,1fr) 210px}.sales-notes-view .order-detail-panel{top:76px}.paid-notes-panel{margin-top:18px;border:1px solid #dce2ec;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(19,38,87,.06);overflow:hidden}.paid-notes-heading{border-bottom:1px solid #e4e8ef}.paid-notes-filters{display:grid;grid-template-columns:minmax(260px,1fr) 220px 190px;gap:9px;padding:12px 15px;border-bottom:1px solid #e4e8ef;background:#fafbfe}.paid-notes-filters input,.paid-notes-filters select{width:100%;height:40px;padding:0 11px;border:1px solid #d3dbe8;border-radius:8px;background:#fff;color:#1b294d;font:inherit;font-size:10px;outline:0}.paid-notes-filters input:focus,.paid-notes-filters select:focus{border-color:#3150c8;box-shadow:0 0 0 3px rgba(49,80,200,.08)}.paid-notes-list{max-height:410px;overflow:auto}.paid-note-card{width:100%;padding:13px 15px;border:0;border-bottom:1px solid #e7eaf0;background:#fff;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(130px,.65fr) minmax(130px,.55fr);gap:14px;align-items:center;text-align:left;cursor:pointer}.paid-note-card:last-child{border-bottom:0}.paid-note-card:hover,.paid-note-card.active{background:#eef3ff}.paid-note-card.active{box-shadow:inset 4px 0 #c6323a}.paid-note-card span{min-width:0;display:flex;flex-direction:column;gap:3px}.paid-note-card b{overflow:hidden;color:#14265d;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.paid-note-card strong{color:#2949bb;font-size:12px}.paid-note-card em{color:#087555;font-size:9px;font-style:normal;font-weight:900}.paid-note-card small{overflow:hidden;color:#7c8799;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.paid-order-backup-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 16px 14px;padding:10px;border:1px solid #cdd8ef;border-radius:9px;background:#f4f7ff}.paid-order-backup-actions[hidden]{display:none}.paid-order-backup-actions button{min-height:36px;padding:0 10px;border:1px solid #c4d0e8;border-radius:8px;background:#fff;color:#2949bb;font-size:8px;font-weight:950;cursor:pointer}.paid-order-backup-actions button:first-child{border-color:#3150c8;background:#3150c8;color:#fff}.paid-order-backup-actions button:disabled{opacity:.5;cursor:wait}
@media(max-width:1050px){.sales-notes-workspace{grid-template-columns:1fr}.sales-notes-view .order-detail-panel{position:static}.paid-notes-filters{grid-template-columns:1fr 1fr}.paid-notes-filters input{grid-column:1/-1}}
@media(max-width:650px){.sales-notes-view .orders-filters,.paid-notes-filters{grid-template-columns:1fr}.paid-notes-filters input{grid-column:auto}.paid-note-card{grid-template-columns:1fr auto}.paid-note-card>span:last-child{grid-column:1/-1}.paid-order-backup-actions{grid-template-columns:1fr}}

/* Caja segura: operación contextual, cierre ciego y supervisión gerencial. */
.cash-register-heading-actions{display:flex;align-items:center;gap:9px}.cash-register-mode-switch{display:flex;padding:3px;border:1px solid #d8deea;border-radius:9px;background:#f0f3f8}.cash-register-mode-switch[hidden]{display:none}.cash-register-mode-switch button{height:30px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:#6a7488;font:inherit;font-size:8px;font-weight:900;cursor:pointer}.cash-register-mode-switch button.active{background:#fff;color:#2949bb;box-shadow:0 3px 9px rgba(25,47,103,.1)}
.cash-expected-total small{min-height:10px;color:#758197;font-size:7px}.cash-payment-reconciliation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 0 11px}.cash-payment-reconciliation>div{padding:8px 10px;border-radius:8px;background:#f5f7fb;display:flex;align-items:center;justify-content:space-between;gap:7px}.cash-payment-reconciliation span{color:#748095;font-size:7px;font-weight:900}.cash-payment-reconciliation b{color:#1b2c60;font-size:9px}.cash-action-card p{margin:5px 0 9px;color:#768196;font-size:8px;line-height:1.4}.cash-operation-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.cash-operation-buttons button{height:38px;border:1px solid #cfd8e9;border-radius:8px;background:#f8faff;color:#2949bb;font-size:8px;font-weight:950;cursor:pointer}.cash-operation-buttons button:nth-child(2),.cash-operation-buttons button:nth-child(3){color:#a52d37}.cash-operation-buttons button:hover{border-color:#3150c8;background:#eef2ff}.cash-action-card.close #openBlindCloseButton{width:100%;height:40px;border:0;border-radius:8px;background:#bb3741;color:#fff;font-weight:950;cursor:pointer}.cash-approval{display:inline-flex;padding:3px 5px;border-radius:99px;background:#eef1f5;color:#637086;font-size:6px;font-style:normal;font-weight:950}.cash-approval.pending{background:#fff2d8;color:#856018}.cash-approval.approved{background:#e4f6ed;color:#087555}.cash-approval.rejected{background:#ffedef;color:#ac2933}.cash-proof-button{align-self:flex-start;margin-top:3px;padding:3px 7px;border:1px solid #cad5e9;border-radius:6px;background:#fff;color:#2949bb;font-size:6px;font-weight:900;cursor:pointer}
.cash-manager-control{padding:14px 18px 16px}.cash-manager-control[hidden]{display:none}.cash-manager-control>.cash-subheading{padding:0 0 11px}.cash-manager-control>.cash-subheading button,.cash-control-filters button{height:34px;padding:0 11px;border:1px solid #ccd6e8;border-radius:7px;background:#fff;color:#2949bb;font-size:8px;font-weight:950;cursor:pointer}.cash-control-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;gap:7px;margin:11px 0}.cash-control-filters select{height:36px;padding:0 9px;border:1px solid #d4dce9;border-radius:8px;background:#fff;color:#1b294d;font:inherit;font-size:8px}.cash-control-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:11px}.cash-control-kpis>div{padding:10px 11px;border:1px solid #e0e5ee;border-radius:9px;display:flex;align-items:center;justify-content:space-between}.cash-control-kpis span{color:#798499;font-size:7px;font-weight:950}.cash-control-kpis strong{color:#17275a;font-size:17px}.cash-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.cash-control-grid>div,.cash-control-movements{border:1px solid #e0e5ee;border-radius:10px;overflow:hidden}.cash-control-grid h4,.cash-control-movements>h4{margin:0;padding:9px 11px;border-bottom:1px solid #e6eaf1;color:#17275a;font-size:10px}.cash-control-list{max-height:230px;overflow:auto}.cash-control-row,.cash-control-movement,.cash-control-alert{padding:9px 11px;border-bottom:1px solid #eceef3;display:flex;align-items:center;justify-content:space-between;gap:10px}.cash-control-row:last-child,.cash-control-movement:last-child,.cash-control-alert:last-child{border-bottom:0}.cash-control-row>span,.cash-control-movement>span,.cash-control-alert>span{min-width:0;display:flex;flex-direction:column;gap:2px}.cash-control-row b,.cash-control-movement b,.cash-control-alert b{overflow:hidden;color:#1a2a54;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.cash-control-row small,.cash-control-movement small,.cash-control-alert small{color:#808a9b;font-size:7px}.cash-control-row>span:last-child,.cash-control-movement>span:last-child{align-items:flex-end}.cash-control-row strong,.cash-control-movement strong,.cash-control-alert strong{color:#087555;font-size:9px}.cash-control-movement strong.negative{color:#b92d37}.cash-control-row button,.cash-control-movement button,.cash-control-alert button{padding:4px 7px;border:1px solid #cbd5e7;border-radius:6px;background:#fff;color:#2949bb;font-size:6px;font-weight:900;cursor:pointer}.cash-control-alert{display:grid;grid-template-columns:minmax(0,1fr) auto}.cash-control-alert>div{grid-column:1/-1;display:flex;gap:5px}.cash-control-alert>div button:last-child{color:#b62d37}.cash-control-alert.resolved{opacity:.68}.cash-control-status{display:inline-flex;padding:4px 6px;border-radius:99px;background:#eef1f5;color:#657186;font-size:6px;font-style:normal;font-weight:950}.cash-control-status.open{background:#e3f6ed;color:#087555}.cash-control-movements{margin-top:9px}.cash-control-settings{display:grid;grid-template-columns:minmax(170px,1fr) repeat(4,minmax(130px,1fr)) auto;gap:8px;align-items:end;margin-top:10px;padding:11px;border:1px solid #d6dfef;border-radius:10px;background:#f7f9fd}.cash-control-settings[hidden]{display:none}.cash-control-settings>div span{color:#be303a;font-size:7px;font-weight:950}.cash-control-settings h4{margin:2px 0 0;color:#17275a;font-size:11px}.cash-control-settings label{display:flex;flex-direction:column;gap:4px}.cash-control-settings label>span{color:#657187;font-size:7px;font-weight:900}.cash-control-settings input{height:34px;padding:0 8px;border:1px solid #d1daea;border-radius:7px;background:#fff;font:inherit;font-size:8px}.cash-control-settings .cash-setting-check{align-items:flex-start;flex-direction:row}.cash-control-settings .cash-setting-check input{width:16px;height:16px}.cash-control-settings button{height:34px;padding:0 11px;border:0;border-radius:7px;background:#3150c8;color:#fff;font-size:8px;font-weight:950;cursor:pointer}
.cash-dialog{position:fixed;inset:0;z-index:1200;padding:18px;background:rgba(10,20,48,.62);display:flex;align-items:center;justify-content:center}.cash-dialog[hidden]{display:none}.cash-dialog-card{width:min(520px,100%);max-height:calc(100vh - 36px);overflow:auto;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(4,13,39,.35)}.cash-dialog-heading{padding:15px 17px;border-bottom:1px solid #e3e7ef}.cash-dialog-heading span{color:#bf303a;font-size:7px;font-weight:950;letter-spacing:.8px}.cash-dialog-heading h3{margin:3px 0 0;color:#17275a;font-size:16px}.cash-dialog form{padding:15px 17px}.cash-dialog form>label,.cash-operation-extra>label,.cash-operation-remittance>label{display:flex;flex-direction:column;gap:5px;margin-bottom:9px}.cash-dialog label>span{color:#59667d;font-size:7px;font-weight:950}.cash-dialog input,.cash-dialog select{width:100%;height:38px;padding:0 10px;border:1px solid #d3dce9;border-radius:8px;background:#fbfcfe;color:#172440;font:inherit;font-size:9px;outline:0}.cash-dialog input[type=file]{padding:8px;height:auto}.cash-dialog input:focus,.cash-dialog select:focus{border-color:#3150c8;box-shadow:0 0 0 3px rgba(49,80,200,.08);background:#fff}.cash-dialog label small{color:#8590a2;font-size:7px}.cash-operation-extra[hidden],.cash-operation-remittance[hidden]{display:none}.cash-operation-remittance{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cash-operation-warning,.cash-blind-notice{margin:7px 0 10px;padding:9px 10px;border-radius:8px;background:#fff4db;color:#7c5c1b;font-size:8px}.cash-operation-warning[hidden]{display:none}.cash-dialog-message{min-height:12px;margin:7px 0;color:#69758a;font-size:8px}.cash-dialog-message.error{color:#ba2d37}.cash-dialog-message.info{color:#2949bb}.cash-dialog-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}.cash-dialog-actions button{height:38px;padding:0 13px;border:1px solid #ccd6e8;border-radius:8px;background:#fff;color:#2949bb;font-size:9px;font-weight:950;cursor:pointer}.cash-dialog-actions button:last-child{border-color:#3150c8;background:#3150c8;color:#fff}.cash-dialog-actions button:disabled{opacity:.5;cursor:wait}.cash-blind-card{width:min(720px,100%)}.cash-blind-notice{display:flex;flex-direction:column;gap:3px}.cash-denominations{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cash-denominations label{display:flex;flex-direction:column;gap:4px}.cash-blind-total{margin:10px 0;padding:10px 12px;border-radius:8px;background:#eef2ff;display:flex;align-items:center;justify-content:space-between;color:#2949bb}.cash-blind-total span{font-size:9px}.cash-blind-total strong{font-size:18px}body.cash-dialog-open{overflow:hidden}
@media(max-width:1050px){.cash-register-heading-actions{align-items:flex-end;flex-direction:column}.cash-payment-reconciliation{grid-template-columns:repeat(3,minmax(0,1fr))}.cash-control-grid{grid-template-columns:1fr}.cash-control-settings{grid-template-columns:1fr 1fr 1fr}.cash-control-settings>div{grid-column:1/-1}}
@media(max-width:650px){.cash-register-heading-actions{width:100%;align-items:stretch}.cash-register-mode-switch{display:grid;grid-template-columns:1fr 1fr}.cash-payment-reconciliation,.cash-control-kpis{grid-template-columns:1fr 1fr}.cash-operation-buttons,.cash-control-filters,.cash-denominations{grid-template-columns:1fr}.cash-operation-remittance,.cash-control-settings{grid-template-columns:1fr}.cash-control-settings>div{grid-column:auto}.cash-dialog{padding:8px;align-items:flex-end}.cash-dialog-card{max-height:94vh;border-radius:14px 14px 0 0}.cash-control-alert{grid-template-columns:1fr}.cash-control-alert>div{grid-column:auto}}

/* Recuperación segura de terminales ocupadas. */
.cash-register-status.occupied{background:#fff3dc;color:#8a5f14}.cash-register-status.occupied i{background:#dd961c}.cash-terminal-occupancy{margin:10px 0 0;padding:12px 14px;border:1px solid #efc77f;border-radius:10px;background:#fff7e8;display:flex;align-items:center;justify-content:space-between;gap:14px}.cash-terminal-occupancy[hidden]{display:none}.cash-terminal-occupancy>div:first-child{min-width:0;display:flex;flex-direction:column;gap:3px}.cash-terminal-occupancy span{color:#b56a12;font-size:7px;font-weight:950;letter-spacing:.7px}.cash-terminal-occupancy b{color:#6f4a0f;font-size:10px}.cash-terminal-occupancy small{color:#80683f;font-size:8px;line-height:1.45}.cash-terminal-occupancy-actions{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));flex:0 0 auto;gap:7px}.cash-terminal-occupancy-actions[hidden]{display:none}.cash-terminal-occupancy-actions button,.cash-control-recovery button{height:32px;padding:0 10px;border:1px solid #d4a953;border-radius:7px;background:#fff;color:#8b5d0e;font-size:7px;font-weight:950;cursor:pointer}.cash-terminal-occupancy-actions button[data-cash-operation],.cash-control-recovery button[data-cash-operation]{border-color:#b9c7ed;color:#2949bb}.cash-terminal-occupancy-actions button:last-child,.cash-control-recovery button:last-child{border-color:#c94a54;color:#aa2d37}.cash-control-recovery{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:5px!important;margin-top:5px}.cash-control-recovery button{height:26px;padding:0 7px}.cash-recovery-summary{margin:0 0 12px;padding:10px 11px;border-radius:8px;background:#f1f4fb;display:flex;flex-direction:column;gap:3px}.cash-recovery-summary[hidden]{display:none}.cash-recovery-summary b{color:#17275a;font-size:10px}.cash-recovery-summary span{color:#6f7b90;font-size:8px;line-height:1.4}
@media(max-width:760px){.cash-terminal-occupancy{align-items:flex-start;flex-direction:column}.cash-terminal-occupancy-actions{width:100%;display:grid;grid-template-columns:1fr}.cash-terminal-occupancy-actions button{width:100%}}
/* Caja: bandeja ámbar, cobro azul y confirmación verde. No escala global. */
#salesNotesView .sales-notes-hero{min-height:80px;border:2px solid #273779;box-shadow:none}
#salesNotesView .sales-notes-kpis>div{border-width:2px;min-height:78px}
#salesNotesView .sales-notes-kpis>div:nth-child(-n+2){border-color:#ebc884;background:#fffbf1}
#salesNotesView .sales-notes-kpis>div:nth-child(n+3){border-color:#aed8c8;background:#f2faf6}
#salesNotesView .cashier-workbench-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
#salesNotesView .cashier-workbench-tabs button{min-height:42px;padding:9px 17px;border:2px solid #ccd3e7;border-radius:10px;background:#fff;color:#293666;font:inherit;font-weight:800;cursor:pointer}
#salesNotesView .cashier-workbench-tabs button[aria-pressed=true]{border-color:#344fb2;background:#344fb2;color:#fff}
#cashierPendingBadge{display:inline-block;min-width:22px;padding:2px 6px;margin-left:5px;border-radius:8px;background:#fff2c9;color:#785511}
#salesNotesView .sales-notes-workspace{grid-template-columns:minmax(280px,.85fr) minmax(420px,1.5fr);gap:18px}
#salesNotesView .sales-notes-workspace>[hidden],#salesNotesView [hidden]{display:none!important}
#salesNotesView .orders-list-panel{border:2px solid #d4a653;background:#fffcf5;box-shadow:none}
#salesNotesView .orders-list-heading{border-bottom:1px solid #e4c793;background:#fff4d9;align-items:center}
#salesNotesView .orders-list-heading>div>span{color:#85611b}
#salesNotesView .orders-filters{grid-template-columns:1fr;padding:12px}
#salesNotesView .orders-list{padding:0 10px 10px;max-height:620px;border:0;scrollbar-gutter:stable}
#salesNotesView .order-card{grid-template-columns:minmax(0,1fr) auto;gap:9px;margin:8px 0;padding:13px;border:2px solid #e5d5b4;border-radius:11px;background:#fff}
#salesNotesView .order-card>span{min-width:0;overflow-wrap:anywhere}
#salesNotesView .order-card>span:nth-child(2){grid-column:auto;text-align:right;align-items:flex-end}
#salesNotesView .order-card>span:last-child{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;text-align:left}
#salesNotesView .order-card.active{background:#edf2ff;border-color:#4560bd;box-shadow:inset 4px 0 #4560bd}
#salesNotesView .order-card b{font-size:13px;line-height:1.4}
#salesNotesView .order-card small{font-size:11px;line-height:1.4;color:#62718b}
#salesNotesView .order-card strong{font-size:17px;white-space:nowrap}
#salesNotesView .order-detail-panel{position:static;min-width:0;border:2px solid #758ac9;box-shadow:none}
#salesNotesView .order-detail-heading{background:#eef2ff;border-bottom:2px solid #b5c3eb;align-items:center}
#salesNotesView .order-detail-heading>strong{font-size:30px;white-space:nowrap}
#salesNotesView .order-detail-heading small{font-size:11px;line-height:1.5}
#salesNotesView .order-customer{border:1px solid #d5def1;background:#f7f9fe}
#salesNotesView .order-items{max-height:260px;overflow:auto;scrollbar-gutter:stable}
#salesNotesView .order-item b{font-size:12px}
#salesNotesView .order-item small{font-size:10px;line-height:1.5}
#salesNotesView .order-item strong{font-size:13px;white-space:nowrap}
#salesNotesView .order-payment-selector>span,#salesNotesView .order-payment-box label>span{font-size:12px}
#salesNotesView .order-payment-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;background:transparent;padding:0}
#salesNotesView .order-payment-buttons button{min-height:46px;border:2px solid #b6c3e4;border-radius:9px;background:#fff;color:#344470;font-size:12px;box-shadow:none}
#salesNotesView .order-payment-buttons button.active{border-color:#364cb5;background:#364cb5;color:#fff;box-shadow:0 3px 8px #344fb22b}
#salesNotesView .order-payment-box input{min-width:0;width:100%;font-size:14px;border-width:2px}
#salesNotesView .order-cash-panel{padding:13px;border:2px solid #80baa4;background:#f0faf5;border-radius:11px}
#salesNotesView .order-cash-bills{display:flex;flex-wrap:wrap;gap:6px}
#salesNotesView .order-cash-bills button{min-height:36px;border:1px solid #8fc0ad;background:#fff;color:#235f49;font-size:11px;border-radius:7px;padding:6px 9px}
#salesNotesView #orderCashChange{display:block;padding:10px;background:#daeee4;color:#175b43;font-size:23px;font-weight:900;border-radius:8px}
#salesNotesView #orderCashChange.short{background:#fff2d4;color:#885613}
#salesNotesView .order-split-panel{border:2px solid #b0bce7;border-radius:11px;padding:12px;background:#f3f5ff}
#salesNotesView .cashier-charge-action{min-height:48px;height:auto;background:#27765a;font-size:15px;border:2px solid #1d654b}
#salesNotesView .cashier-charge-action:hover{background:#1d654b}
#salesNotesView .order-action-message{font-size:12px;line-height:1.5}
#salesNotesView .order-closed{width:100%;border:1px solid #a5cfba;background:#eaf7ef;color:#23604b;font-size:12px}
#salesNotesView .paid-notes-panel{margin:0;border:2px solid #80baa4;border-radius:15px;overflow:hidden}
#salesNotesView .paid-notes-heading{background:#eaf7ef;border-color:#a5cfba}
#salesNotesView .paid-notes-heading>div>span{color:#23604b}
#salesNotesView .paid-notes-filters{grid-template-columns:1fr;padding:12px}
#salesNotesView .paid-note-card{grid-template-columns:1fr auto;gap:10px;border-bottom:1px solid #cae4d8}
#salesNotesView .paid-note-card>span:last-child{grid-column:1/-1}
#salesNotesView .paid-note-card b{white-space:normal;font-size:12px}
#salesNotesView .paid-note-card small{font-size:10px}
#salesNotesView .paid-order-backup-actions button{font-size:11px;min-height:42px}
#salesNotesView .cashier-arrival{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;margin-bottom:14px;border:2px solid #d4a653;border-radius:10px;background:#fff4d9;color:#654910;font-size:13px}
#salesNotesView .cashier-arrival button{padding:7px 12px;background:#fff;border:1px solid #bc8d3b;border-radius:7px;color:#654910;font:inherit;cursor:pointer}
#salesNotesView button:focus-visible,#salesNotesView input:focus-visible,#salesNotesView select:focus-visible{outline:3px solid #f0b642;outline-offset:3px}
#salesNotesView button:disabled{opacity:.5;cursor:not-allowed}
.cashier-review-dialog{width:min(500px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:2px solid #448769;border-radius:17px;color:#1b2a46;background:#fff;box-shadow:0 24px 80px #091c3b55}
.cashier-review-dialog::backdrop{background:#132345a8}
.cashier-review-dialog header{padding:20px;background:#eaf7ef;border-bottom:1px solid #a5cfba}
.cashier-review-dialog header>span{color:#27664d;font-size:12px;font-weight:800}
.cashier-review-dialog h2{margin:5px 0;font-size:23px}
.cashier-review-dialog p{font-size:13px;line-height:1.5}
#cashierReviewSummary{padding:16px 20px}
#cashierReviewSummary dl{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;margin:0;font-size:14px}
#cashierReviewSummary dt{color:#607089}
#cashierReviewSummary dd{margin:0;text-align:right;font-weight:750;overflow-wrap:anywhere}
#cashierReviewSummary .cashier-review-total{display:flex;justify-content:space-between;align-items:center;padding:16px 0;margin-top:15px;border-top:2px solid #d5e8de;font-size:15px}
#cashierReviewSummary .cashier-review-total strong{font-size:30px;color:#226349}
#cashierReviewMessage{margin:0 20px;color:#a13131}
.cashier-review-dialog footer{display:flex;gap:10px;padding:20px}
.cashier-review-dialog footer button{min-height:44px;padding:10px 14px;border:2px solid #c8d6d0;border-radius:9px;background:#fff;color:#304c42;font:inherit;font-weight:800;cursor:pointer}
.cashier-review-dialog footer button:last-child{flex:1;background:#27765a;color:#fff;border-color:#1d654b}
.cashier-review-dialog button:disabled{opacity:.5;cursor:wait}
.cashier-review-dialog button:focus-visible{outline:3px solid #d49a30;outline-offset:3px}
@media(max-width:900px){#salesNotesView .sales-notes-workspace{grid-template-columns:1fr}#salesNotesView .orders-list{max-height:320px}#salesNotesView .paid-notes-list{max-height:350px}}
@media(max-width:500px){#salesNotesView .order-detail-heading{align-items:flex-start;flex-direction:column}#salesNotesView .order-payment-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}#salesNotesView .order-card{grid-template-columns:1fr}#salesNotesView .order-card>span:nth-child(2){text-align:left;align-items:flex-start}#salesNotesView .cashier-workbench-tabs button{flex:1;padding:8px}#salesNotesView .order-payment-box{grid-template-columns:1fr}.cashier-review-dialog footer{flex-direction:column}}

/* El turno de caja comparte la pantalla de cobro y su lenguaje visual. */
#salesNotesView #cashRegisterPanel{margin:14px 0 16px;border:2px solid #758ac9;border-radius:16px;box-shadow:none;background:#fff}
#salesNotesView #cashRegisterPanel .cash-register-heading{padding:17px 19px;border-bottom:2px solid #b5c3eb;background:#eef2ff}
#salesNotesView #cashRegisterPanel .cash-register-heading span,#salesNotesView #cashRegisterPanel .cash-subheading span,#salesNotesView #cashRegisterPanel .cash-register-identity span,#salesNotesView #cashRegisterPanel .cash-action-card>span{font-size:10px;letter-spacing:1px}
#salesNotesView #cashRegisterPanel .cash-register-heading h2{font-size:22px}
#salesNotesView #cashRegisterPanel .cash-register-heading p{font-size:11px;line-height:1.45;color:#566784}
#salesNotesView #cashRegisterPanel .cash-register-status{min-height:35px;padding:8px 13px;border:2px solid #cbd3e2;background:#fff;font-size:11px;font-weight:850}
#salesNotesView #cashRegisterPanel .cash-register-status.open{border-color:#8fcdb4;background:#eaf7ef}
#salesNotesView #cashRegisterPanel .cash-register-closed{padding:16px 19px 18px}
#salesNotesView #cashRegisterPanel .cash-register-callout{padding:12px 14px;border:2px solid #d4a653;background:#fff4d9;font-size:11px}
#salesNotesView #cashRegisterPanel .cash-register-callout b{font-size:13px;color:#654910}
#salesNotesView #cashRegisterPanel .cash-open-form label>span,#salesNotesView #cashRegisterPanel .cash-action-card label>span{font-size:10px}
#salesNotesView #cashRegisterPanel .cash-open-form input,#salesNotesView #cashRegisterPanel .cash-open-form select{height:44px;border-width:2px;font-size:12px}
#salesNotesView #cashRegisterPanel .cash-open-form button{height:44px;border:2px solid #253fa5;background:#344fb2;font-size:12px}
#salesNotesView #cashRegisterPanel .cash-register-open{padding:16px 19px 19px}
#salesNotesView #cashRegisterPanel .cash-register-identity{padding:12px 14px;border:1px solid #d7def0;background:#f7f9fe}
#salesNotesView #cashRegisterPanel .cash-register-identity b{font-size:14px}
#salesNotesView #cashRegisterPanel .cash-register-identity small{font-size:10px}
#salesNotesView #cashRegisterPanel .cash-register-totals{gap:10px}
#salesNotesView #cashRegisterPanel .cash-register-totals>div{min-height:78px;padding:13px;border-width:2px;background:#fff}
#salesNotesView #cashRegisterPanel .cash-register-totals>div:nth-child(2){border-color:#a5cfba;background:#f0faf5}
#salesNotesView #cashRegisterPanel .cash-register-totals>div:nth-child(3){border-color:#b5c3eb;background:#f2f5ff}
#salesNotesView #cashRegisterPanel .cash-register-totals .cash-expected-total{border-color:#ebc884;background:#fffbf1}
#salesNotesView #cashRegisterPanel .cash-register-totals span{font-size:9px}
#salesNotesView #cashRegisterPanel .cash-register-totals strong{font-size:21px}
#salesNotesView #cashRegisterPanel .cash-payment-reconciliation>div{min-height:39px;border:1px solid #d8deeb;background:#f8f9fc}
#salesNotesView #cashRegisterPanel .cash-payment-reconciliation span{font-size:9px}
#salesNotesView #cashRegisterPanel .cash-payment-reconciliation b{font-size:11px}
#salesNotesView #cashRegisterPanel .cash-movements-panel{border:2px solid #b5c3eb;background:#fff}
#salesNotesView #cashRegisterPanel .cash-subheading{padding:13px 14px;background:#eef2ff}
#salesNotesView #cashRegisterPanel .cash-subheading h3,#salesNotesView #cashRegisterPanel .cash-action-card h3{font-size:15px}
#salesNotesView #cashRegisterPanel .cash-subheading small{font-size:10px}
#salesNotesView #cashRegisterPanel .cash-movement-row{padding:11px 13px}
#salesNotesView #cashRegisterPanel .cash-movement-row b{font-size:11px}
#salesNotesView #cashRegisterPanel .cash-movement-row small{font-size:9px}
#salesNotesView #cashRegisterPanel .cash-movement-row strong{font-size:12px}
#salesNotesView #cashRegisterPanel .cash-action-card{padding:13px 14px;border:2px solid #b5c3eb;background:#f7f9fe}
#salesNotesView #cashRegisterPanel .cash-action-card.close{border-color:#e1a9ae;background:#fff5f5}
#salesNotesView #cashRegisterPanel .cash-action-card p{font-size:10px}
#salesNotesView #cashRegisterPanel .cash-operation-buttons button{height:42px;border-width:2px;background:#fff;font-size:10px}
#salesNotesView #cashRegisterPanel .cash-action-card.close #openBlindCloseButton{height:44px;border:2px solid #9f2932;background:#b83f47;font-size:12px}
#salesNotesView #cashRegisterPanel .cash-register-history-panel{border:2px solid #d7deeb}
#salesNotesView #cashRegisterPanel .cash-register-message{font-size:11px}
#salesNotesView #cashRegisterPanel .cash-manager-control{background:#fff}
@media(max-width:650px){#salesNotesView #cashRegisterPanel .cash-register-heading h2{font-size:19px}#salesNotesView #cashRegisterPanel .cash-register-totals>div{min-height:70px}#salesNotesView #cashRegisterPanel .cash-register-totals strong{font-size:18px}}
