.cash-control-page{max-width:1450px!important}.cash-legal-note{margin:0 0 18px;padding:16px 18px;display:flex;gap:13px;align-items:flex-start;border:1px solid #f1d37c;border-left:5px solid #ffd400;border-radius:14px;background:#fffaf0}.cash-legal-note>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;background:#ffd400;color:#3d3300;font-family:Montserrat,sans-serif;font-weight:900}.cash-legal-note strong{font-size:10px}.cash-legal-note p{margin:5px 0 0;color:#675f45;font-size:9px;line-height:1.55}
.cash-list-panel,.cash-open-form,.cash-users,.reconciliation-form,.reconciliation-result,.cash-review{padding:24px!important}.cash-shift-list{display:grid;gap:8px}.cash-shift-list>a{display:grid;grid-template-columns:1fr 1.25fr .65fr 120px 18px;gap:14px;align-items:center;padding:15px;border:1px solid #e1e6df;border-radius:14px;color:#273029;text-decoration:none}.cash-shift-list>a:hover{border-color:#b7d8b1;background:#fafcf9}.cash-shift-list small,.cash-shift-list strong{display:block}.cash-shift-list small{margin-bottom:5px;color:#7b837c;font-size:8px;letter-spacing:.08em}.cash-shift-list strong{font-size:9px}.cash-shift-list b{color:#278f16;font-size:18px}.cash-difference{color:#c51220!important}.cash-state{padding:8px 10px;border-radius:999px;background:#eef1ed;color:#687069;font-size:8px;font-weight:700;text-align:center}.cash-state.open{background:#edf4ff;color:#275d9a}.cash-state.difference_review,.cash-state.observed{background:#fff2d1;color:#6d5700}.cash-state.approved,.cash-state.reconciled{background:#eaf7e7;color:#217517}.cash-state.big{min-width:135px;font-size:9px}
.cash-open-form>.form-grid{margin-bottom:20px}.cash-team-select{margin:8px 0 20px}.cash-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cash-team-grid label{cursor:pointer}.cash-team-grid input{position:absolute;opacity:0}.cash-team-grid>label>span{min-height:70px;padding:12px;display:grid;grid-template-columns:38px 1fr;column-gap:10px;align-items:center;border:1px solid #e1e6df;border-radius:13px}.cash-team-grid i{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eff4ed;color:#278f16;font-family:Montserrat,sans-serif;font-style:normal;font-weight:900}.cash-team-grid strong,.cash-team-grid small{display:block}.cash-team-grid strong{font-size:9px}.cash-team-grid small{color:#747d75;font-size:8px}.cash-team-grid input:checked+span{border-color:#278f16;background:#f1f8ef}.cash-team-grid input:checked+span i{background:#278f16;color:#fff}.cash-open-form>label,.cash-review>label{display:grid;gap:7px;color:#39423a;font-size:9px;font-weight:700}.cash-user-pills{display:flex;gap:8px;flex-wrap:wrap}.cash-user-pills span{padding:8px 11px;border-radius:999px;background:#eef7eb;color:#246f1c;font-size:9px;font-weight:700}
.reconciliation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.reconciliation-group{padding:17px;border:1px solid #e1e6df;border-radius:15px;background:#fafcf9}.reconciliation-group h3{margin:0 0 13px;font-family:Montserrat,sans-serif;font-size:13px;font-weight:900;text-transform:uppercase}.reconciliation-group h3:not(:first-child){margin-top:18px}.reconciliation-group label{display:grid;gap:6px;margin-bottom:10px;color:#566058;font-size:8px;font-weight:700}.reconciliation-group input,.reconciliation-group textarea{width:100%}.cash-safeguard{margin:15px 0 0;padding:13px 15px;border-left:4px solid #278f16;border-radius:10px;background:#f1f8ef;color:#365037;font-size:9px;line-height:1.5}.reconciliation-form .form-actions,.cash-open-form .form-actions{margin-top:15px;display:flex;justify-content:flex-end}
.result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.result-grid article{padding:17px;border:1px solid #e1e6df;border-top:4px solid #278f16;border-radius:15px}.result-grid article.danger{border-top-color:#f01422;background:#fff7f7}.result-grid small,.result-grid strong,.result-grid span{display:block}.result-grid small{color:#737c74;font-size:8px}.result-grid strong{margin:8px 0;font-family:Montserrat,sans-serif;font-size:21px;font-weight:900}.result-grid span{color:#727b73;font-size:8px}.cash-explanation{margin-top:14px;padding:15px;border-radius:12px;background:#f7f8f6}.cash-explanation strong{font-size:9px}.cash-explanation p{margin:6px 0;color:#4f5951;font-size:10px;line-height:1.55}.cash-explanation small{color:#727b73;font-size:8px}.review-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}
@media(max-width:1000px){.cash-shift-list>a{grid-template-columns:1fr 1fr}.cash-shift-list>a>b{display:none}.reconciliation-grid{grid-template-columns:1fr 1fr}.reconciliation-group:last-child{grid-column:1/-1}.cash-team-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.cash-shift-list>a,.reconciliation-grid,.result-grid,.cash-team-grid{grid-template-columns:1fr}.reconciliation-group:last-child{grid-column:auto}.cash-state{width:max-content}.review-actions{display:grid}.review-actions button{width:100%}}

/* Recepción, vencimientos y mermas */
.inventory-control-page{max-width:1450px!important}.inventory-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:0 0 15px}.inventory-kpis>a{min-height:120px;padding:18px;display:block;border:1px solid #dfe5dc;border-top:4px solid #278f16;border-radius:17px;background:#fff;color:#263028;text-decoration:none}.inventory-kpis>a.warning{border-top-color:#ffd400}.inventory-kpis>a.danger{border-top-color:#f01422;background:#fff8f8}.inventory-kpis small,.inventory-kpis strong,.inventory-kpis span{display:block}.inventory-kpis small{color:#747d75;font-size:8px;font-weight:700;letter-spacing:.1em}.inventory-kpis strong{margin:8px 0;font-family:Montserrat,sans-serif;font-size:27px;font-weight:900}.inventory-kpis span{color:#747d75;font-size:8px}.inventory-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:0 0 16px}.inventory-shortcuts a{padding:15px 17px;display:grid;grid-template-columns:1fr 30px;border:1px solid #dfe5dc;border-radius:14px;background:#fff;color:#263028;text-decoration:none}.inventory-shortcuts strong,.inventory-shortcuts small{display:block}.inventory-shortcuts strong{font-size:10px}.inventory-shortcuts small{margin-top:4px;color:#747d75;font-size:8px}.inventory-shortcuts b{grid-column:2;grid-row:1/3;align-self:center;color:#278f16;font-size:18px}.receiving-list,.receiving-new-form,.receiving-product-search,.receipt-lines,.receipt-issue-form,.receipt-complete,.expiry-list,.waste-new,.waste-history{padding:24px!important}.receiving-rows{display:grid;gap:8px}.receiving-rows>a{display:grid;grid-template-columns:.75fr 1.3fr .7fr 130px 18px;gap:13px;align-items:center;padding:14px;border:1px solid #e1e6df;border-radius:13px;color:#263028;text-decoration:none}.receiving-rows>a:hover{border-color:#b8d8b2;background:#fafcf9}.receiving-rows small,.receiving-rows strong{display:block}.receiving-rows small{margin-bottom:4px;color:#767f77;font-size:8px}.receiving-rows strong{font-size:9px}.receiving-rows>b{color:#278f16;font-size:18px}.receipt-state{padding:8px 10px;border-radius:999px;background:#eef1ed;color:#687069;font-size:8px;font-weight:700;text-align:center}.receipt-state.draft{background:#edf4ff;color:#275e9d}.receipt-state.observed{background:#fff5d5;color:#705900}.receipt-state.completed{background:#eaf7e7;color:#217517}.receipt-state.big{min-width:150px;font-size:9px}.receiving-new-form .form-actions{display:flex;justify-content:flex-end;margin-top:15px}
.inline-search{display:flex;gap:8px}.inline-search input{flex:1}.receiving-line-form{display:grid;grid-template-columns:1.6fr repeat(4,.75fr) auto;gap:9px;align-items:end;margin-top:15px;padding-top:15px;border-top:1px solid #e2e7df}.receiving-line-form label,.add-lot-form label,.receipt-issue-form label,.waste-new label{display:grid;gap:6px;color:#566058;font-size:8px;font-weight:700}.receipt-line-list{display:grid;gap:11px}.receipt-line{padding:17px;border:1px solid #e1e6df;border-left:5px solid #f01422;border-radius:14px}.receipt-line.balanced{border-left-color:#278f16}.receipt-line-head{display:flex;justify-content:space-between;gap:12px}.receipt-line-head small{color:#777f78;font-size:8px}.receipt-line-head h3{margin:5px 0 4px;font-family:Montserrat,sans-serif;font-size:13px;font-weight:900;text-transform:uppercase}.receipt-line-head p{margin:0;color:#727b73;font-size:8px}.receipt-line-head>span{height:max-content;padding:7px 9px;border-radius:999px;background:#fff0f1;color:#bd101d;font-size:8px;font-weight:700}.receipt-line.balanced .receipt-line-head>span{background:#eaf7e7;color:#207317}.lot-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.lot-list>span{padding:9px 11px;border-radius:10px;background:#f5f7f4}.lot-list strong,.lot-list small{display:block}.lot-list strong{font-size:8px}.lot-list small{margin-top:3px;color:#707970;font-size:8px}.add-lot-form{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:8px;margin-top:11px}.receipt-issue{margin-top:12px;padding:13px;border-left:4px solid #ffd400;border-radius:10px;background:#fffaf0}.receipt-issue>strong{font-size:8px}.receipt-issue>p{margin:5px 0;color:#655f4b;font-size:9px}.receipt-issue>form{display:grid;grid-template-columns:1fr 1.4fr auto;gap:7px}.receipt-final-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:15px}.receipt-issue-form{display:grid;gap:9px}.receipt-complete{display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#18221a,#2d3f31)!important;color:#fff}.receipt-complete h2{color:#fff!important}.receipt-complete p{color:#d8e0d9;font-size:10px;line-height:1.6}.receipt-complete button{margin-top:30px;background:#ffd400!important;color:#292300!important}
.expiry-horizons{display:flex;gap:7px;margin:0 0 15px}.expiry-horizons a{padding:10px 14px;border:1px solid #dfe5dc;border-radius:999px;background:#fff;color:#687168;font-size:9px;font-weight:700;text-decoration:none}.expiry-horizons a.active{background:#278f16;color:#fff}.expiry-rows{display:grid;gap:8px}.expiry-row{display:grid;grid-template-columns:88px 1.5fr .7fr 120px;gap:13px;align-items:center;padding:14px;border:1px solid #e1e6df;border-left:5px solid #278f16;border-radius:13px}.expiry-row.bucket-30{border-left-color:#ffd400;background:#fffdf5}.expiry-row.bucket-expired{border-left-color:#f01422;background:#fff7f7}.expiry-days{padding:7px 8px;border-radius:999px;background:#eef7eb;color:#217317;font-size:8px;font-weight:700;text-align:center}.bucket-30 .expiry-days{background:#fff3c0;color:#6e5700}.bucket-expired .expiry-days{background:#ffe7e9;color:#b7101b}.expiry-row strong,.expiry-row small{display:block}.expiry-row strong{font-size:9px}.expiry-row small{margin-bottom:4px;color:#737c74;font-size:8px}.expiry-row>a{color:#278f16;font-size:9px;font-weight:700;text-align:right;text-decoration:none}
.waste-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:15px}.waste-new>form{display:grid;gap:10px}.waste-list{display:grid;gap:9px}.waste-list>article{padding:14px;border:1px solid #e1e6df;border-radius:13px}.waste-list strong,.waste-list small{display:block}.waste-list strong{margin:8px 0 4px;font-size:10px}.waste-list small{color:#747d75;font-size:8px}.waste-list p{margin:8px 0;color:#4e5850;font-size:9px;line-height:1.5}.waste-list form{display:grid;grid-template-columns:1fr auto auto;gap:7px;margin-top:10px}.waste-state{padding:6px 8px;border-radius:999px;background:#fff3cc;color:#6f5800;font-size:7px;font-weight:700}.waste-state.approved{background:#eaf7e7;color:#217517}.waste-state.rejected{background:#ffe9eb;color:#b5101b}
@media(max-width:1050px){.inventory-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.receiving-line-form{grid-template-columns:1fr 1fr 1fr}.receipt-final-grid,.waste-grid{grid-template-columns:1fr}.receiving-rows>a{grid-template-columns:1fr 1fr}.receiving-rows>a>b{display:none}}
@media(max-width:700px){.inventory-kpis,.inventory-shortcuts,.receiving-line-form,.receipt-final-grid{grid-template-columns:1fr}.receiving-rows>a,.expiry-row{grid-template-columns:1fr}.expiry-row>a{text-align:left}.add-lot-form,.receipt-issue>form,.waste-list form{grid-template-columns:1fr}.receipt-line-head{flex-direction:column}.receipt-line-head>span{width:max-content}}

/* Cierre de caja: declaración simple del efectivo dentro del sobre */
.cash-envelope-page{max-width:1280px!important;font-family:Poppins,sans-serif}.cash-envelope-heading{align-items:center}.cash-envelope-heading h1{max-width:760px}.cash-envelope-heading p{max-width:760px;font-size:13px;line-height:1.6}.cash-primary-action,.cash-print-button,.cash-save-envelope{min-height:48px;padding:13px 20px!important;font-size:13px!important;font-weight:700!important}.cash-envelope-instructions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.cash-envelope-instructions article{display:flex;align-items:center;gap:13px;padding:16px 18px;border:1px solid #dfe6dc;border-radius:15px;background:#fff}.cash-envelope-instructions b{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:50%;background:#278f16;color:#fff;font-size:15px}.cash-envelope-instructions small,.cash-envelope-instructions strong{display:block}.cash-envelope-instructions small{margin-bottom:3px;color:#667067;font-size:10px;font-weight:700;letter-spacing:.08em}.cash-envelope-instructions strong{color:#1e2820;font-size:12px}.cash-envelope-history{padding:24px!important}.cash-envelope-list{display:grid;gap:9px}.cash-envelope-list>a{display:grid;grid-template-columns:.62fr .9fr 1.05fr 1fr .8fr 20px;gap:14px;align-items:center;padding:16px 17px;border:1px solid #e0e6de;border-radius:14px;background:#fff;color:#253027;text-decoration:none}.cash-envelope-list>a:hover{border-color:#278f16;background:#f8fcf7}.cash-envelope-list small,.cash-envelope-list strong{display:block}.cash-envelope-list small{margin-bottom:5px;color:#747d75;font-size:9px;font-weight:700;letter-spacing:.07em}.cash-envelope-list strong{font-size:11px}.cash-envelope-list>a>b{color:#278f16;font-size:20px}.cash-envelope-row-total strong{font-size:17px;color:#1e6f17}.cash-envelope-empty{padding:44px 20px;text-align:center}.cash-envelope-empty>span{width:54px;height:54px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:#eef7eb;color:#278f16;font-size:22px;font-weight:800}.cash-envelope-empty h3{margin:0;font-size:17px}.cash-envelope-empty p{margin:7px auto 18px;max-width:480px;color:#657066;font-size:12px}.cash-envelope-form{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.cash-denomination-panel{padding:0!important;overflow:hidden}.cash-denomination-head,.cash-denomination-row{display:grid;grid-template-columns:minmax(210px,1fr) 220px 150px;gap:16px;align-items:center}.cash-denomination-head{padding:12px 20px;border-bottom:1px solid #dfe5dc;background:#f4f7f3;color:#637064;font-size:9px;font-weight:700;letter-spacing:.08em}.cash-denomination-head span:last-child{text-align:right}.cash-denomination-row{min-height:72px;padding:10px 20px;border-bottom:1px solid #e7ebe5;transition:background .15s ease,border-color .15s ease}.cash-denomination-row.has-value{background:#f4faf2;border-bottom-color:#cfe4ca}.cash-denomination-label{display:flex;align-items:center;gap:13px}.cash-denomination-label small,.cash-denomination-label strong{display:block}.cash-denomination-label small{margin-bottom:2px;color:#707a71;font-size:9px;font-weight:700;letter-spacing:.06em}.cash-denomination-label strong{font-size:17px}.cash-money-mark{display:grid;place-items:center;flex:0 0 auto;background:#edf5ea;color:#217817;font-weight:800}.cash-money-mark.bill{width:48px;height:32px;border:2px solid #7dbb72;border-radius:6px;font-size:18px}.cash-money-mark.coin{width:38px;height:38px;border:2px solid #d3af19;border-radius:50%;background:#fff8d8;color:#655500;font-size:13px}.cash-counter{display:grid;grid-template-columns:44px 1fr 44px;align-items:stretch;height:44px}.cash-counter button,.cash-counter input{min-width:0;height:44px;border:1px solid #cfd7cd;background:#fff;color:#202a21;font:700 16px Poppins,sans-serif;text-align:center}.cash-counter button{cursor:pointer;font-size:22px;line-height:1}.cash-counter button:first-child{border-radius:10px 0 0 10px}.cash-counter button:last-child{border-radius:0 10px 10px 0}.cash-counter button:hover{border-color:#278f16;background:#eef7eb;color:#1f7318}.cash-counter input{border-right:0;border-left:0;border-radius:0;appearance:textfield}.cash-counter input::-webkit-inner-spin-button,.cash-counter input::-webkit-outer-spin-button{margin:0;appearance:none}.cash-denomination-row output{font-size:16px;font-weight:800;text-align:right}.cash-denomination-row:not(.has-value) output{color:#8a928b;font-weight:600}.cash-clear-count{margin:13px 20px 16px;padding:8px 0;border:0;background:transparent;color:#555f56;font:600 11px Poppins,sans-serif;text-decoration:underline;cursor:pointer}.cash-envelope-summary{position:sticky;top:18px;display:grid;gap:13px}.cash-live-total{padding:24px;border-radius:18px;background:#18261a;color:#fff;box-shadow:0 12px 30px rgba(24,38,26,.16)}.cash-live-total small,.cash-live-total output{display:block}.cash-live-total small{color:#d9e5d7;font-size:10px;font-weight:700;letter-spacing:.09em}.cash-live-total output{margin:9px 0 4px;font-size:38px;font-weight:800;letter-spacing:-.04em}.cash-live-total p{margin:0;color:#c9d5c8;font-size:11px}.cash-envelope-confirmation{display:grid;gap:16px;padding:20px!important}.cash-envelope-notes{display:grid;gap:7px;color:#313b32;font-size:11px;font-weight:700}.cash-envelope-notes>span{color:#737d74;font-weight:500}.cash-envelope-notes textarea{width:100%;min-height:82px;padding:11px;border:1px solid #ccd4ca;border-radius:10px;font:400 12px Poppins,sans-serif;resize:vertical}.cash-confirm-check{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;padding:13px;border-radius:11px;background:#f3f7f2;color:#344036;font-size:11px;line-height:1.5;cursor:pointer}.cash-confirm-check input{width:18px;height:18px;margin:0;accent-color:#278f16}.cash-save-envelope{width:100%;border:0;border-radius:10px;background:#278f16!important;color:#fff!important;cursor:pointer}.cash-save-envelope:hover{background:#207813!important}.cash-after-save{display:block;color:#6c756d;font-size:10px;line-height:1.45;text-align:center}.cash-envelope-detail-page{max-width:980px!important}.cash-envelope-receipt{width:min(100%,620px);margin:0 auto;padding:28px;border:2px solid #202820;border-radius:4px;background:#fff;color:#121712;font-family:Poppins,sans-serif}.cash-envelope-receipt>header{display:flex;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:3px solid #1d251e}.cash-receipt-brand strong,.cash-receipt-brand span{display:block}.cash-receipt-brand strong{font-size:23px;font-weight:900;letter-spacing:.04em}.cash-receipt-brand span{margin-top:2px;font-size:7px;font-weight:700;letter-spacing:.12em}.cash-receipt-title{text-align:right}.cash-receipt-title small{font-size:8px;font-weight:700;letter-spacing:.13em}.cash-receipt-title h1{margin:3px 0 7px;font-size:20px}.cash-receipt-title>span{padding:5px 8px;border:1px solid #1d251e;font-size:8px;font-weight:800;letter-spacing:.08em}.cash-receipt-meta{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:19px 0;border:1px solid #b7bdb8}.cash-receipt-meta>div{padding:10px 12px;border-right:1px solid #b7bdb8;border-bottom:1px solid #b7bdb8}.cash-receipt-meta>div:nth-child(2n){border-right:0}.cash-receipt-meta>div:nth-last-child(-n+2){border-bottom:0}.cash-receipt-meta small,.cash-receipt-meta strong{display:block}.cash-receipt-meta small{margin-bottom:3px;font-size:7px;font-weight:700;letter-spacing:.08em}.cash-receipt-meta strong{font-size:10px}.cash-receipt-table{width:100%;border-collapse:collapse;font-size:10px}.cash-receipt-table th,.cash-receipt-table td{padding:8px 9px;border-bottom:1px solid #c9ceca;text-align:left}.cash-receipt-table th{border-top:1px solid #202820;border-bottom:2px solid #202820;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.cash-receipt-table th:nth-child(2),.cash-receipt-table td:nth-child(2){text-align:center}.cash-receipt-table th:last-child,.cash-receipt-table td:last-child{text-align:right}.cash-receipt-total{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:15px 0;border-top:3px solid #202820;border-bottom:3px solid #202820}.cash-receipt-total span{font-size:10px;font-weight:800;letter-spacing:.08em}.cash-receipt-total strong{font-size:27px}.cash-receipt-note{margin-top:16px;padding:11px;border:1px solid #c9ceca}.cash-receipt-note small{font-size:7px;font-weight:700;letter-spacing:.08em}.cash-receipt-note p{margin:5px 0 0;font-size:9px;line-height:1.5}.cash-envelope-receipt>footer{display:flex;justify-content:space-between;gap:14px;margin-top:18px;color:#545c55;font-size:7px}.cash-receipt-actions{display:flex;justify-content:center;gap:10px;margin:18px 0 0}
html #portal-content.cash-envelope-page .cash-live-total small,html #portal-content.cash-envelope-page .cash-live-total p{color:#d9e5d7!important}html #portal-content.cash-envelope-page .cash-live-total output{color:#fff!important}
.cash-envelope-days{display:grid;gap:18px}.cash-envelope-day{overflow:hidden;border:1px solid #dfe6dc;border-radius:16px;background:#f8faf7}.cash-envelope-day-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #dfe6dc;background:#eef4ec}.cash-envelope-day-head span{color:#5f6a60;font-size:9px;font-weight:800;letter-spacing:.1em}.cash-envelope-day-head time{color:#1d291f;font-size:14px;font-weight:800}.cash-envelope-day .cash-envelope-list{gap:7px;padding:9px}.cash-envelope-day .cash-envelope-list>a{border-radius:10px}.cash-print-launch{display:grid;gap:6px;justify-items:end}.cash-print-launch small{color:#677168;font-size:9px;font-weight:600}
@media(max-width:900px){.cash-envelope-form{grid-template-columns:1fr}.cash-envelope-summary{position:static;grid-template-columns:1fr 1fr}.cash-live-total{min-height:100%;display:flex;flex-direction:column;justify-content:center}.cash-envelope-list>a{grid-template-columns:1fr 1fr}.cash-envelope-list>a>b{display:none}}
@media(max-width:650px){.cash-envelope-instructions,.cash-envelope-summary{grid-template-columns:1fr}.cash-denomination-head{display:none}.cash-denomination-row{grid-template-columns:1fr 190px;gap:8px 12px;padding:12px 14px}.cash-denomination-row output{grid-column:2;text-align:center}.cash-envelope-list>a{grid-template-columns:1fr}.cash-envelope-row-total strong{font-size:20px}.cash-envelope-day-head{align-items:flex-start;flex-direction:column;gap:3px}.cash-print-launch{width:100%;justify-items:stretch;text-align:center}.cash-envelope-receipt{padding:18px}.cash-envelope-receipt>header{display:block}.cash-receipt-title{margin-top:16px;text-align:left}.cash-receipt-actions{display:grid}.cash-receipt-actions>*{width:100%;text-align:center}}
/* Comprobantes separados: detalle interior y portada */
.cash-register-field{display:grid;gap:7px;color:#313b32;font-size:11px;font-weight:700}.cash-register-field input{width:100%;height:44px;padding:0 11px;border:1px solid #ccd4ca;border-radius:10px;background:#fff;color:#1c261e;font:600 12px Poppins,sans-serif}.cash-register-field small{color:#6f7970;font-size:9px;font-weight:500;line-height:1.45}.cash-receipt-page-head{margin:22px 0 16px;overflow:visible}.cash-receipt-page-head .eyebrow{margin:0 0 8px;color:#278f16;font-size:12px;font-weight:800;letter-spacing:.12em}.cash-receipt-page-head h1{margin:0;color:#18221b;font-family:Poppins,sans-serif;font-size:38px;font-weight:900;line-height:1.12;letter-spacing:-.035em}.cash-receipt-page-head p{margin:10px 0 0;max-width:760px;color:#505b52;font-size:14px;line-height:1.6}.cash-print-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 10px}.cash-print-option{display:grid;grid-template-columns:1fr auto;gap:6px 18px;align-items:center;padding:18px;border:1px solid #dce4da;border-top:4px solid #278f16;border-radius:15px;background:#fff}.cash-print-option>span{grid-column:1;color:#278f16;font-size:9px;font-weight:800;letter-spacing:.1em}.cash-print-option h2{grid-column:1;margin:0;color:#1b251d;font-size:18px;line-height:1.2}.cash-print-option p{grid-column:1;margin:2px 0 0;color:#657067;font-size:10px;line-height:1.5}.cash-print-option .button{grid-column:2;grid-row:1/4;min-width:205px;text-align:center}.cash-print-option-cover{border-top-color:#18261a}.cash-print-option-cover>span{color:#18261a}.cash-print-option-cover .button{background:#18261a!important;color:#fff!important}.cash-print-help{margin:0 0 20px;color:#69736b;font-size:10px}.cash-print-area{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;align-items:start}.cash-preview-section{min-width:0}.cash-preview-caption{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;padding:0 3px}.cash-preview-caption span{color:#6e786f;font-size:9px;font-weight:800;letter-spacing:.1em}.cash-preview-caption strong{font-size:11px}.cash-envelope-cover{width:100%;margin:0;padding:24px;border:2px solid #202820;border-radius:4px;background:#fff;color:#121712;font-family:Poppins,sans-serif}.cash-cover-header{display:flex;justify-content:space-between;gap:14px;align-items:center;padding-bottom:13px;border-bottom:3px solid #202820}.cash-cover-header strong{font-size:20px;font-weight:900;letter-spacing:.04em}.cash-cover-header span{font-size:9px;font-weight:800;letter-spacing:.12em}.cash-cover-title{padding:20px 0 17px;text-align:center}.cash-cover-title small{display:block;color:#59625a;font-size:8px;font-weight:800;letter-spacing:.12em}.cash-cover-title h1{margin:5px 0 8px;color:#141a15;font-size:28px;font-weight:900;line-height:1.1;overflow-wrap:anywhere}.cash-cover-title>strong{display:inline-block;padding:6px 10px;border:1px solid #202820;font-size:10px;letter-spacing:.08em}.cash-cover-data{display:grid;grid-template-columns:1fr 1fr;margin:0;border:1px solid #aeb5af}.cash-cover-data>div{min-width:0;padding:10px;border-right:1px solid #aeb5af;border-bottom:1px solid #aeb5af}.cash-cover-data>div:nth-child(2n){border-right:0}.cash-cover-data>div:nth-last-child(-n+2){border-bottom:0}.cash-cover-data dt{color:#5e675f;font-size:7px;font-weight:800;letter-spacing:.08em}.cash-cover-data dd{margin:4px 0 0;color:#121712;font-size:10px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}.cash-envelope-cover>footer{margin-top:15px;padding:9px;border:2px solid #202820;font-size:9px;font-weight:900;letter-spacing:.1em;text-align:center}
@media screen{html #portal-content.cash-envelope-detail-page{max-width:1180px!important;overflow:visible!important}html #portal-content.cash-envelope-detail-page .cash-detail-screen,html #portal-content.cash-envelope-detail-page .cash-receipt-page-head,html #portal-content.cash-envelope-detail-page .cash-receipt-page-head>*{overflow:visible!important;clip-path:none!important;transform:none!important}html #portal-content.cash-envelope-detail-page .cash-receipt-page-head .eyebrow{margin:0 0 8px!important;padding-left:2px!important;text-indent:0!important;font-size:12px!important;line-height:1.35!important;letter-spacing:.12em!important}html #portal-content.cash-envelope-detail-page .cash-receipt-page-head h1{margin:0!important;font-size:38px!important;line-height:1.12!important;letter-spacing:-.035em!important}html #portal-content.cash-envelope-detail-page .cash-receipt-page-head p{margin:10px 0 0!important;font-size:14px!important;line-height:1.6!important}html #portal-content.cash-envelope-detail-page .cash-cover-title h1{margin:5px 0 8px!important;font-size:28px!important;line-height:1.1!important}html #portal-content.cash-envelope-detail-page .cash-envelope-receipt{width:100%!important;max-width:none!important;margin:0!important;padding:24px!important}html #portal-content.cash-envelope-detail-page .cash-envelope-receipt>header{display:grid!important;grid-template-columns:155px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}html #portal-content.cash-envelope-detail-page .cash-receipt-brand{min-width:0!important}html #portal-content.cash-envelope-detail-page .cash-receipt-brand strong{display:block!important;font-size:23px!important;line-height:1.1!important;letter-spacing:.04em!important;white-space:nowrap!important;word-break:normal!important}html #portal-content.cash-envelope-detail-page .cash-receipt-brand span{display:block!important;font-size:7px!important;line-height:1.3!important}html #portal-content.cash-envelope-detail-page .cash-receipt-title{min-width:0!important;text-align:right!important}html #portal-content.cash-envelope-detail-page .cash-receipt-title small{font-size:8px!important;line-height:1.2!important}html #portal-content.cash-envelope-detail-page .cash-receipt-title h1{margin:4px 0 8px!important;font-size:28px!important;line-height:1.05!important;letter-spacing:-.025em!important;overflow-wrap:normal!important;word-break:normal!important}html #portal-content.cash-envelope-detail-page .cash-receipt-title>span{font-size:8px!important;line-height:1!important}}
@media screen and (max-width:1000px){.cash-print-area{grid-template-columns:1fr}.cash-envelope-cover{max-width:620px;margin:0 auto}.cash-preview-cover{margin-top:6px}}
@media screen and (max-width:760px){.cash-print-options{grid-template-columns:1fr}.cash-print-option{grid-template-columns:1fr}.cash-print-option .button{grid-column:1;grid-row:auto;width:100%;min-width:0}.cash-receipt-page-head h1{font-size:31px}.cash-print-area{display:block}.cash-preview-section+.cash-preview-section{margin-top:20px}html #portal-content.cash-envelope-detail-page .cash-envelope-receipt>header{grid-template-columns:1fr!important}html #portal-content.cash-envelope-detail-page .cash-receipt-title{text-align:left!important}}
@media print{
@page cash-detail{size:80mm 82mm;margin:0}
@page cash-cover{size:80mm 82mm;margin:0}
html,body{width:80mm!important;min-width:80mm!important;max-width:80mm!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important}
body{-webkit-print-color-adjust:exact;print-color-adjust:exact}
html[data-cash-print] body>:not(main#portal-content){display:none!important;visibility:hidden!important}
html[data-cash-print] body>header.topbar.app-topbar,html[data-cash-print] body>a.skip-link,html[data-cash-print] body>dialog.appearance-dialog{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
html[data-cash-print] body>main#portal-content.cash-envelope-detail-page{display:block!important;position:absolute!important;inset:2mm auto auto 2mm!important;width:76mm!important;min-width:76mm!important;max-width:76mm!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important}
html[data-cash-print] body>main#portal-content.cash-envelope-detail-page>:not(.cash-print-area){display:none!important;visibility:hidden!important}
html[data-cash-print] .cash-screen-only{display:none!important;visibility:hidden!important}
html[data-cash-print] .cash-print-area{display:block!important;width:76mm!important;margin:0!important;padding:0!important}
html[data-cash-print] .cash-preview-section{display:none!important;width:76mm!important;margin:0!important;padding:0!important;border:0!important}
html[data-cash-print="detail"] .cash-preview-detail,html[data-cash-print="cover"] .cash-preview-cover{display:block!important}
html:not([data-cash-print]) .cash-preview-detail{display:block!important}
.cash-envelope-receipt-detail{page:cash-detail;box-sizing:border-box;width:76mm!important;min-width:76mm!important;max-width:76mm!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;break-inside:avoid-page!important;page-break-inside:avoid!important;font-family:Arial,sans-serif!important}
.cash-envelope-receipt-detail>header{display:grid!important;grid-template-columns:.82fr 1.18fr!important;gap:2mm!important;align-items:end!important;padding:0 0 2mm!important;border-bottom:.6mm solid #000!important}
.cash-envelope-receipt-detail .cash-receipt-brand strong{font-size:12pt!important;line-height:1!important;white-space:nowrap!important}.cash-envelope-receipt-detail .cash-receipt-brand span{display:none!important}.cash-envelope-receipt-detail .cash-receipt-title{margin:0!important;text-align:right!important}.cash-envelope-receipt-detail .cash-receipt-title small{display:none!important}.cash-envelope-receipt-detail .cash-receipt-title h1{margin:0 0 1mm!important;font-size:10pt!important;line-height:1!important;letter-spacing:0!important}.cash-envelope-receipt-detail .cash-receipt-title>span{padding:.7mm 1mm!important;border:.3mm solid #000!important;font-size:5pt!important;line-height:1!important;letter-spacing:.04em!important}
.cash-envelope-receipt-detail .cash-receipt-meta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin:2mm 0!important;border:.25mm solid #000!important;break-inside:avoid!important}.cash-envelope-receipt-detail .cash-receipt-meta>div{min-width:0!important;padding:1mm 1.2mm!important;border-right:.2mm solid #000!important;border-bottom:.2mm solid #000!important}.cash-envelope-receipt-detail .cash-receipt-meta small{margin:0 0 .3mm!important;font-size:5pt!important;line-height:1!important}.cash-envelope-receipt-detail .cash-receipt-meta strong{font-size:6.7pt!important;line-height:1.1!important;overflow-wrap:anywhere!important}
.cash-envelope-receipt-detail .cash-receipt-table{width:100%!important;border-collapse:collapse!important;font-size:6.7pt!important;line-height:1.05!important;break-inside:avoid!important}.cash-envelope-receipt-detail .cash-receipt-table th,.cash-envelope-receipt-detail .cash-receipt-table td{padding:.6mm .7mm!important;border-bottom:.2mm solid #777!important}.cash-envelope-receipt-detail .cash-receipt-table th{border-top:.3mm solid #000!important;border-bottom:.45mm solid #000!important;font-size:5.5pt!important;letter-spacing:.04em!important}
.cash-envelope-receipt-detail .cash-receipt-total{display:flex!important;margin-top:1.2mm!important;padding:1.1mm 0!important;border-top:.6mm solid #000!important;border-bottom:.6mm solid #000!important;break-inside:avoid!important}.cash-envelope-receipt-detail .cash-receipt-total span{font-size:6pt!important}.cash-envelope-receipt-detail .cash-receipt-total strong{font-size:14pt!important;line-height:1!important}
.cash-envelope-receipt-detail .cash-receipt-note{max-height:6.5mm!important;margin-top:1mm!important;padding:.7mm!important;border:.25mm solid #000!important;overflow:hidden!important;break-inside:avoid!important}.cash-envelope-receipt-detail .cash-receipt-note small{font-size:5pt!important}.cash-envelope-receipt-detail .cash-receipt-note p{display:-webkit-box!important;margin:.3mm 0 0!important;overflow:hidden!important;font-size:5.5pt!important;line-height:1.1!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:1!important}.cash-envelope-receipt-detail>footer{display:flex!important;justify-content:space-between!important;margin-top:1mm!important;color:#000!important;font-size:5pt!important;line-height:1!important}
.cash-envelope-cover{page:cash-cover;box-sizing:border-box;width:76mm!important;min-width:76mm!important;max-width:76mm!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;break-inside:avoid-page!important;page-break-inside:avoid!important;font-family:Arial,sans-serif!important}
.cash-cover-header{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:2mm!important;padding:0 0 1.5mm!important;border-bottom:.6mm solid #000!important}.cash-cover-header strong{font-size:11pt!important;line-height:1!important;white-space:nowrap!important}.cash-cover-header span{font-size:5.5pt!important;line-height:1!important;letter-spacing:.08em!important}
.cash-cover-title{padding:2mm 0 1.5mm!important;text-align:center!important}.cash-cover-title small{display:block!important;font-size:5pt!important;line-height:1!important;letter-spacing:.1em!important}.cash-cover-title h1{margin:.8mm 0 1mm!important;font-size:15pt!important;line-height:1!important;letter-spacing:-.02em!important;overflow-wrap:anywhere!important}.cash-cover-title>strong{display:inline-block!important;padding:.7mm 1.2mm!important;border:.3mm solid #000!important;font-size:6.5pt!important;line-height:1!important;letter-spacing:.06em!important}
.cash-cover-data{display:grid!important;grid-template-columns:1fr 1fr!important;margin:0!important;border:.25mm solid #000!important}.cash-cover-data>div{min-width:0!important;padding:1mm 1.2mm!important;border-right:.2mm solid #000!important;border-bottom:.2mm solid #000!important}.cash-cover-data dt{font-size:5pt!important;line-height:1!important;letter-spacing:.06em!important}.cash-cover-data dd{margin:.4mm 0 0!important;font-size:6.5pt!important;line-height:1.1!important;overflow-wrap:anywhere!important}.cash-envelope-cover>footer{margin-top:1.5mm!important;padding:1.2mm!important;border:.5mm solid #000!important;font-size:6pt!important;line-height:1!important;letter-spacing:.08em!important;text-align:center!important}
html[data-cash-print] [data-print-receipt],html[data-cash-print] [data-print-receipt] *{box-sizing:border-box;color:#000!important;background:#fff!important}
}
