@charset "UTF-8";.solicitudes-page{padding:1.5rem;background:#f4f7fb;min-height:100%}.hero-content{display:flex;align-items:center;gap:.9rem;min-width:0}.hero-white h1{margin:0;color:#2c4f7a;font-size:2rem;font-weight:800;letter-spacing:-.2px}.hero-white p{margin:.2rem 0 0;color:#5d6f86;font-size:1.1rem;font-weight:600}.hero-panel{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.4rem 1.6rem;border-radius:24px;background:linear-gradient(135deg,#7aa5dc,#5f8fc9 45%,#7aa5dc);color:#fff;box-shadow:0 16px 34px #466eaa2e;margin-bottom:1.25rem}.hero-left{display:flex;align-items:center;gap:1rem}.hero-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:#ffffff29;font-size:1.6rem}.hero-panel h1{margin:0;font-size:2rem;font-weight:800}.hero-panel p{margin:.25rem 0 0;font-size:1.05rem;opacity:.95}.hero-action{width:42px;height:42px;border:none;border-radius:12px;background:#ffffff2e;color:#fff;font-size:1rem}.resume-grid{display:flex;flex-wrap:nowrap;gap:.85rem;margin-bottom:1.2rem;align-items:stretch;overflow-x:auto;overflow-y:hidden;padding-bottom:.75rem;scroll-padding-inline:.25rem;scroll-snap-type:x proximity;scrollbar-width:thin;width:100%}.resume-card{flex:0 0 215px;min-width:215px;min-height:150px;background:#fff;border-radius:14px;padding:.7rem .85rem;box-shadow:0 10px 24px #0f172a0f;border:1px solid #e7edf5}.resume-card strong{display:block;margin-top:.55rem;font-size:1.8rem;line-height:1.05;color:#23446f}button.resume-card{appearance:none;text-align:left;font:inherit}.resume-card.status-filter{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.resume-card.status-filter:hover{transform:translateY(-2px);box-shadow:0 14px 28px #0f172a1a}.resume-card.status-filter.active-filter{outline:3px solid rgba(47,111,189,.35);box-shadow:0 16px 32px #2f6fbd2e;transform:translateY(-2px)}.resume-card.status-filter.warning.active-filter{outline-color:#d89a1f6b;box-shadow:0 16px 32px #d89a1f2e}.resume-card.status-filter.success.active-filter{outline-color:#2f8f625c;box-shadow:0 16px 32px #2f8f6229}.resume-card.status-filter.reprogram.active-filter{outline-color:#4f7ea861;box-shadow:0 16px 32px #4f7ea82b}.resume-card.status-filter.danger.active-filter{outline-color:#d85c5c61;box-shadow:0 16px 32px #d85c5c29}.resume-card.status-filter.clarification.active-filter{outline-color:#6650b561;box-shadow:0 16px 32px #6650b52b}.resume-label{font-size:.78rem;color:#6b7280;font-weight:600}.resume-grid>.resume-card:first-child{border-top:4px solid var(--status-info);background:linear-gradient(180deg,var(--status-info-bg) 0%,#ffffff 72%)}.resume-card.warning{--resume-tone: var(--status-warning);--resume-currency-bg: #fffaf0;--resume-currency-border: #efd9a6;border-top:4px solid var(--status-warning);background:linear-gradient(180deg,var(--status-warning-bg) 0%,#ffffff 72%)}.resume-card.success{--resume-tone: var(--status-success);--resume-currency-bg: #f7fbf9;--resume-currency-border: #d7eadf;border-top:4px solid var(--status-success);background:linear-gradient(180deg,var(--status-success-bg) 0%,#ffffff 72%)}.resume-card.approved{--resume-tone: var(--status-approved);--resume-currency-bg: #f7fbf9;--resume-currency-border: #d7eadf;border-top:4px solid var(--status-approved);background:linear-gradient(180deg,var(--status-approved-bg) 0%,#ffffff 72%)}.resume-card.paid{--resume-tone: var(--status-paid);--resume-currency-bg: #f4fffc;--resume-currency-border: #c5ebe4;border-top:4px solid var(--status-paid);background:linear-gradient(180deg,var(--status-paid-bg) 0%,#ffffff 72%)}.resume-card.reprogram{--resume-tone: var(--status-reprogram);--resume-currency-bg: #f5faff;--resume-currency-border: #c9dbec;border-top:4px solid var(--status-reprogram);background:linear-gradient(180deg,var(--status-reprogram-bg) 0%,#ffffff 72%)}.resume-card.danger{--resume-tone: var(--status-danger);--resume-currency-bg: #fff7f7;--resume-currency-border: #f2c7c7;border-top:4px solid var(--status-danger);background:linear-gradient(180deg,var(--status-danger-bg) 0%,#ffffff 72%)}.resume-card.clarification{--resume-tone: var(--status-clarification);--resume-currency-bg: #faf8ff;--resume-currency-border: #d8cdf4;border-top:4px solid var(--status-clarification);background:linear-gradient(180deg,var(--status-clarification-bg) 0%,#ffffff 72%)}.resume-card.info{--resume-tone: var(--status-info);--resume-currency-bg: #f8fbff;--resume-currency-border: #c8daf0;border-top:4px solid var(--status-info);background:linear-gradient(180deg,var(--status-info-bg) 0%,#ffffff 72%)}.amount-resume{border-top-color:var(--resume-tone, var(--status-paid));background:linear-gradient(180deg,var(--status-paid-bg) 0%,#ffffff 72%);flex:0 0 445px;min-width:445px;display:flex;flex-direction:column;gap:.75rem}.currency-breakdown{display:grid;grid-template-columns:repeat(2,minmax(135px,1fr));gap:.65rem;margin-top:.25rem}.currency-total{appearance:none;background:var(--resume-currency-bg, #f7fbf9);border:1px solid var(--resume-currency-border, #d7eadf);border-radius:12px;cursor:pointer;min-width:0;padding:.7rem .75rem;text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.currency-total:hover{border-color:var(--resume-tone, #49a36d);box-shadow:0 10px 22px #0f172a1a;transform:translateY(-2px)}.currency-total span{color:var(--resume-tone, #4f6f5f);display:block;font-size:.8rem;font-weight:900;margin-bottom:.2rem}.currency-total strong{color:#23446f;font-size:clamp(.9rem,1.6vw,1.08rem);line-height:1.2;margin:0;overflow-wrap:normal;white-space:nowrap}.currency-total small{color:#6b7280;display:block;font-size:.72rem;font-weight:700;margin-top:.25rem}.selected-currency-label{color:var(--resume-tone, #4f6f5f);font-size:.85rem;font-weight:900}.resume-card.neutral{--resume-tone: var(--status-neutral);--resume-currency-bg: #f9fbfd;--resume-currency-border: #d8e1eb;border-top:4px solid #8b9eb3;background:linear-gradient(180deg,#f9fbfd,#fff 72%)}.hero-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}.charts-toggle{height:42px;border-radius:12px;font-weight:800;white-space:nowrap}.charts-toggle mat-icon{margin-right:6px}.analytics-panel{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.25fr) minmax(220px,.65fr);gap:1rem;max-height:0;margin:0;opacity:0;overflow:hidden;transform:translateY(-10px);transition:max-height .36s ease,opacity .24s ease,transform .36s ease,margin .36s ease;pointer-events:none}.analytics-panel.analytics-open{max-height:760px;margin:0 0 1.2rem;opacity:1;transform:translateY(0);pointer-events:auto}.analytics-card{background:#fff;border:1px solid #e7edf5;border-radius:20px;box-shadow:0 10px 24px #0f172a0f;padding:1rem}.analytics-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.9rem}.analytics-heading h2{margin:.15rem 0 0;color:#23446f;font-size:1.05rem;font-weight:800}.analytics-heading strong{color:#2b4d7a;font-size:1.1rem;white-space:nowrap}.eyebrow{display:block;color:#6b7280;font-size:.78rem;font-weight:800;letter-spacing:.3px;text-transform:uppercase}.bar-list{display:grid;gap:.7rem}.pie-layout{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);gap:1rem;align-items:center}.pie-chart-wrap{display:flex;justify-content:center}.pie-chart{width:190px;height:190px;border-radius:50%;position:relative;box-shadow:inset 0 0 0 1px #d9e4f2,0 16px 30px #2563eb24}.pie-center{position:absolute;inset:28px;border-radius:50%;background:linear-gradient(180deg,#fff,#f8fbff);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 18px #0f172a1a}.pie-center strong{color:#23446f;font-size:1.8rem;font-weight:900;line-height:1}.pie-center span{margin-top:.3rem;color:#6b7280;font-size:.82rem;font-weight:700}.pie-legend{display:grid;gap:.65rem}.legend-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;width:100%;border:1px solid #d8e5f3;border-radius:12px;background:linear-gradient(180deg,#fff,#f5f9ff);padding:.65rem .75rem;font:inherit;color:inherit;text-align:left;cursor:pointer;box-shadow:0 8px 18px #0f172a0d}.legend-row:hover{border-color:#93c5fd;background:linear-gradient(180deg,#fff,#eff6ff);box-shadow:0 12px 24px #2563eb1a}.legend-dot{width:12px;height:12px;border-radius:50%;flex:0 0 12px;box-shadow:0 0 0 4px #0f172a14}.legend-label{color:#1f3b63;font-size:.9rem;font-weight:800}.legend-row strong{color:#0f172a;font-size:.9rem}.chart-row{display:grid;grid-template-columns:minmax(110px,150px) minmax(120px,1fr) minmax(42px,auto);align-items:center;gap:.75rem;width:100%;border:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:left}.chart-label{color:#4b5563;font-size:.88rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-row strong{color:#243b5a;font-size:.9rem;text-align:right;white-space:nowrap}.chart-track{height:12px;overflow:hidden;border-radius:999px;background:#eef4fb}.chart-fill{display:block;height:100%;border-radius:inherit;background:var(--status-neutral)}.chart-fill.warning{background:var(--status-warning)}.chart-fill.success{background:var(--status-success)}.chart-fill.approved{background:var(--status-approved)}.chart-fill.paid{background:var(--status-paid)}.chart-fill.reprogram{background:var(--status-reprogram)}.chart-fill.danger{background:var(--status-danger)}.chart-fill.clarification{background:var(--status-clarification)}.chart-fill.info{background:var(--status-info)}.chart-fill.money{background:#46658a}.chart-empty{margin:0;color:#6b7280;font-weight:700}.mini-chart{display:flex;flex-direction:column;justify-content:center}.mini-chart strong{color:#23446f;font-size:1.8rem;font-weight:900;line-height:1.1;margin-top:.25rem}.mini-chart p{color:#6b7280;font-weight:700;margin:.35rem 0 0}.mini-divider{height:1px;background:#e5edf7;margin:1rem 0}.filters-panel{display:grid;grid-template-columns:minmax(260px,1.1fr) auto minmax(420px,auto);gap:1.25rem;align-items:center;background:#fff;border-radius:20px;padding:1rem 1.25rem;box-shadow:0 10px 24px #0f172a0f;border:1px solid #e7edf5;margin-bottom:.9rem}.filter-item{display:flex;flex-direction:column;gap:.45rem}.filter-item label{font-size:.9rem;font-weight:700;color:#4b5563}.filter-item select,.filter-item input{height:46px;border-radius:14px;border:1px solid #d9e2ec;padding:0 .9rem;background:#f9fbfd;outline:none}.filter-actions{display:flex;gap:.75rem;flex-wrap:nowrap;align-items:center;border-left:1px solid #dfe7f2;padding-left:1.25rem}.filter-tools{border-left:1px solid #dfe7f2;padding-left:1.25rem;min-width:0}.filters-panel .hero-actions{justify-content:flex-end;width:100%}.filters-panel .currency-switch{background:#fff;border-color:#d9e2ec;min-height:46px}.filters-panel .currency-option{min-height:38px}.filters-panel .currency-option.active{background:#1f66d1;color:#fff;box-shadow:0 10px 20px #1f66d133}.filter-actions .action-btn:first-child{background:#1f66d1;border-color:#1f66d1;color:#fff;box-shadow:0 10px 20px #1f66d133}.filter-actions .action-btn:first-child mat-icon{color:#fff}.cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;align-items:stretch;grid-auto-rows:1fr;width:100%}.request-card{background:#fff;border-radius:20px;padding:1rem;border:1px solid #e8edf3;box-shadow:0 12px 28px #0f172a0f;display:flex;flex-direction:column;min-height:405px;min-width:0;height:100%;width:100%;transition:transform .2s ease,box-shadow .2s ease}.request-card:hover{box-shadow:0 18px 34px #0f172a1a}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.request-id{font-size:.88rem;font-weight:700;color:#697586}.card-body h3{margin:0;font-size:1rem;font-weight:800;color:#365f91;line-height:1.35;min-height:auto}.concepto,.area{margin:0 0 .5rem;color:#5f6b7a;font-size:.9rem}.summary-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem}.summary-left{min-width:0;flex:1}.detail-line{margin-top:.35rem;margin-bottom:0}.facturas-count{min-width:92px;padding:.45rem .7rem;border-radius:12px;border:1px solid #d8e2ef;background:#f8fbff;text-align:center;display:flex;flex-direction:column;line-height:1.1;gap:.2rem}.count-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;font-weight:700}.facturas-count strong{font-size:1.15rem;color:#355d90}.invoice-table-wrap{margin-top:.8rem;border:1px solid #e3eaf3;border-radius:12px;overflow-x:auto;overflow-y:hidden;background:#fff}.invoice-table{width:100%;min-width:340px;border-collapse:collapse;font-size:.9rem}.invoice-table th,.invoice-table td{padding:.5rem .65rem;text-align:left;border-bottom:1px solid #eef2f8}.invoice-table th{background:#f6f9fe;color:#4b5a6d;font-weight:800;font-size:.8rem;letter-spacing:.2px;text-transform:uppercase}.invoice-table tr:last-child td{border-bottom:none}.amount{margin-top:1.2rem;font-size:2rem;font-weight:900;color:#46658a;letter-spacing:-.5px}.amount span{font-size:1rem;font-weight:700;color:#7a8696}.status-badge{display:inline-flex;align-items:center;padding:.45rem .85rem;border-radius:999px;font-size:.82rem;font-weight:800}.status-badge.warning{background:#fff4dd;color:var(--status-warning);border:1px solid #f0d08b}.status-badge.info{background:#eaf3ff;color:var(--status-info);border:1px solid #bed4f5}.status-badge.success{background:#e8f7ee;color:var(--status-success);border:1px solid #bde2cb}.status-badge.approved{background:#e8f7ee;color:var(--status-approved);border:1px solid #bde2cb}.status-badge.paid{background:#e7f8f5;color:var(--status-paid);border:1px solid #bce5dc}.status-badge.danger{background:#fde8e8;color:var(--status-danger);border:1px solid #f8b4b4}.action-btn{height:42px;border-radius:12px;font-weight:700;padding:0 14px}.action-btn mat-icon{margin-right:6px}.approve-btn{box-shadow:0 8px 18px #1976d240}.empty-state{margin-top:1rem;background:#fff;border:1px dashed #c9d5e4;border-radius:16px;padding:1rem;color:#5f6b7a;font-weight:600}.diag-banner{margin-top:.75rem;margin-bottom:.75rem;background:#fff7ed;border:1px solid #fdba74;color:#9a3412;border-radius:12px;padding:.65rem .85rem;font-size:.92rem;font-weight:700}.diag-detail{margin-top:.4rem;font-size:.82rem;font-weight:600;color:#7c2d12;word-break:break-word}.loading-state{background:#fff;border:1px solid #d8e3f2;border-radius:18px;color:#46627f;font-weight:500;margin-bottom:1rem;padding:1.5rem 1.25rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}@media(max-width:1200px){.filters-panel{grid-template-columns:1fr}.filter-actions,.filter-tools{border-left:0;border-top:1px solid #dfe7f2;padding-left:0;padding-top:1rem}.filters-panel .hero-actions{justify-content:flex-start}}@media(max-width:1500px){.cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1120px){.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:768px){.solicitudes-page{padding:1rem}.analytics-panel,.pie-layout,.chart-row{grid-template-columns:1fr}.hero-white{padding:1rem;border-radius:18px}.hero-actions{width:100%;flex-direction:column;align-items:stretch;justify-content:stretch}.charts-toggle{width:100%;justify-content:center}.currency-switch{width:100%;display:flex;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;padding-bottom:2px;scrollbar-width:thin}.currency-option{flex:0 0 auto;min-width:88px;width:auto}.hero-white h1{font-size:1.6rem}.hero-white p{font-size:.95rem}.filters-panel{grid-template-columns:1fr}.filter-actions{flex-wrap:wrap;width:100%}.filter-actions .action-btn{flex:1 1 170px}.currency-breakdown{grid-template-columns:repeat(2,minmax(175px,1fr));gap:.55rem}.amount-resume{min-width:445px}.currency-total strong{white-space:normal}.amount-resume .currency-total{padding:.65rem .7rem}.amount-resume .currency-total strong{font-size:clamp(.92rem,4.2vw,1.1rem);line-height:1.15;overflow-wrap:normal;white-space:nowrap}.amount{font-size:1.7rem}.card-top{gap:.6rem;align-items:flex-start;flex-direction:row;justify-content:space-between}.summary-row{flex-direction:column;gap:.65rem}.facturas-count{width:100%;min-width:0;align-items:stretch;padding:.5rem .75rem}.count-label{margin:0}.card-actions .action-btn{flex:1 1 150px}}@media(max-width:576px){.solicitudes-page{padding:.75rem}.hero-white{padding:.85rem;margin-bottom:.9rem}.hero-icon{width:52px;height:52px;border-radius:16px;font-size:1.25rem}.hero-white h1{font-size:1.35rem}.hero-content{width:100%}.currency-switch{gap:6px;padding:6px}.currency-option{min-height:40px;padding:0 .45rem;font-size:.9rem}.filters-panel .currency-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;overflow:visible;padding:6px;border-radius:14px}.filters-panel .currency-option{width:100%;min-width:0;min-height:40px;padding:0 .5rem;text-align:center}.pie-chart{width:170px;height:170px}.resume-card{min-width:215px}.resume-card{padding:.85rem .95rem}.resume-card strong{font-size:1.8rem}.filters-panel{padding:.85rem;border-radius:14px}.request-card{padding:.9rem;border-radius:16px;min-height:0}.card-body h3{font-size:1.03rem}.amount{font-size:1.45rem;margin-top:.9rem}.action-btn{height:40px;border-radius:10px;padding:0 10px;font-size:.92rem}}@media(max-width:768px){.cards-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-inline:0;overflow:visible;padding:0;width:100%}.cards-grid .request-card{width:100%}}@media(max-width:576px){.amount-resume .currency-total strong{font-size:clamp(.92rem,4.2vw,1.1rem);line-height:1.15}.cards-grid{margin-inline:0;padding-inline:0}}@media(max-width:420px){.hero-content{gap:.6rem;align-items:flex-start}.hero-white h1{font-size:1.22rem}.hero-white p{font-size:.86rem}.resume-label{font-size:.82rem}.diag-banner{font-size:.85rem;padding:.55rem .7rem}.currency-option{font-size:.85rem;padding:0 .35rem}}.card-id-block{display:flex;flex-direction:column;gap:.1rem}.card-id-label{font-size:.7rem;font-weight:800;color:#9aa3b0;letter-spacing:.5px;text-transform:uppercase}.card-id-number{font-size:1.2rem;font-weight:900;color:#1a2e45}.card-badges{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end;align-items:center;flex-shrink:0}hr.card-divider{border:none;border-top:1px solid #edf1f7;margin:.85rem 0}.card-meta-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-top:.85rem}.card-meta-left{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1}.card-meta-right{display:flex;flex-direction:column;gap:.15rem;text-align:right;flex-shrink:0}.card-meta-label{font-size:.7rem;font-weight:800;color:#9aa3b0;letter-spacing:.5px;text-transform:uppercase}.card-meta-value{font-size:.95rem;color:#1a2e45;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.card-amount{font-size:1.25rem;font-weight:900;color:#1a2e45;white-space:nowrap}.card-currency{font-size:.78rem;font-weight:700;color:#9aa3b0;margin-left:.2rem}.facturas-bar{display:inline-flex;align-items:center;gap:.65rem;margin-top:1rem;background:#f5f8fc;border-radius:12px;padding:.6rem .85rem;border:1px solid transparent;cursor:pointer;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.facturas-bar:hover{background:#eef5ff;border-color:#c8daf4;box-shadow:0 10px 20px #2f6fbd1a;transform:translateY(-1px)}.facturas-bar:focus-visible{outline:3px solid rgba(47,111,189,.22);outline-offset:3px}.facturas-bar-label{font-size:.88rem;font-weight:600;color:#4b5563}.facturas-badge{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 .45rem;border-radius:999px;background:#d8e6f8;color:#2c4f7a;font-size:.82rem;font-weight:800}.ver-detalle-link{color:#2f6fbd;font-size:.88rem;font-weight:700;white-space:nowrap}.facturas-bar:hover .ver-detalle-link{color:#1f5da8}@media(max-width:576px){.card-actions{grid-template-columns:repeat(2,1fr)}.card-meta-value{max-width:120px}}.hero-white{display:flex;justify-content:space-between;align-items:center;padding:1.4rem 1.6rem;border-radius:24px;background:#fff;border:1.5px solid #d4e2f4;box-shadow:0 10px 25px #5078b414;margin-bottom:1.2rem;position:relative;overflow:hidden}.hero-white:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#7da8e3,#5d8fd8)}.hero-content{display:flex;align-items:center;gap:1rem}.hero-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#7da8e3,#5d8fd8);color:#fff;font-size:1.3rem;box-shadow:0 10px 20px #5d8fd840}.hero-white h1{margin:0;font-size:1.5rem;font-weight:800;color:#2b4d7a}.hero-white p{margin:0;font-size:.95rem;color:#6b7280}.hero-action{border:none;background:#f1f5f9;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#4b5563}.hero-white{display:flex;align-items:center;justify-content:space-between;gap:1rem}.currency-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border-radius:14px;background:#eef4ff;border:1px solid #d8e3f2;flex-shrink:0}.currency-option{min-width:72px;min-height:38px;border:0;border-radius:10px;padding:0 .9rem;background:transparent;color:#46627f;font-weight:800;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.currency-option:hover{background:#ffffffb3}.currency-option.active{background:#fff;color:#2c4f7a;box-shadow:0 8px 18px #2c4f7a24}@media(max-width:768px){.hero-white{align-items:flex-start;flex-direction:column}.currency-switch{width:100%}.currency-option{flex:initial}.filters-panel .currency-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;overflow:visible;padding:6px}.filters-panel .currency-option{width:100%;min-width:0;flex:initial}}.detalle-page{padding:1.35rem;background:radial-gradient(1200px 500px at 10% -5%,#dbe9ff 0%,transparent 55%),radial-gradient(900px 400px at 100% 0%,#e5f4ef 0%,transparent 50%),#f4f7fb;min-height:100%}.info-card{margin-bottom:1rem;border-radius:18px;border:1px solid #d9e4ef;padding:.95rem 1.05rem;background:#fff;box-shadow:0 12px 26px #0f172a12}.info-card.mat-mdc-card,.pay-card.mat-mdc-card,.pay-table-card.mat-mdc-card,.pay-checks.mat-mdc-card{--mdc-elevated-card-container-color: #ffffff;background:#fff!important}.row{display:grid;gap:1.05rem;margin-bottom:.75rem}.row:last-child{margin-bottom:0}.row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.row.one{grid-template-columns:1fr}.cell .label{color:#9aa3b0;font-size:.7rem;font-weight:800;margin-bottom:.25rem;letter-spacing:.5px;text-transform:uppercase}.cell .value{color:#1f2f45;font-size:1.02rem;font-weight:800;line-height:1.3;word-break:break-word}h2{margin:.2rem 0 .8rem;color:#1f3452;font-size:1.85rem;letter-spacing:-.2px}@media(max-width:980px){.row.three,.row.two{grid-template-columns:1fr}.info-card{padding:.85rem .9rem;border-radius:14px}}@media(max-width:768px){.detalle-page{padding:1rem}.cell .label{font-size:.88rem}.cell .value{font-size:.96rem}h2{font-size:1.55rem}}@media(max-width:576px){.detalle-page{padding:.75rem}.info-card{margin-bottom:.75rem;padding:.72rem .78rem}.row{gap:.7rem;margin-bottom:.6rem}h2{font-size:1.35rem}}@media(max-width:420px){.cell .value{font-size:.92rem}}html{color-scheme:light;--mat-sys-background: light-dark(#faf9fd, #121316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f2f0f4, #2f3033);--mat-sys-inverse-primary: light-dark(#abc7ff, #005cbb);--mat-sys-inverse-surface: light-dark(#2f3033, #e3e2e6);--mat-sys-on-background: light-dark(#1a1b1f, #e3e2e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #002f65);--mat-sys-on-primary-container: light-dark(#00458f, #d7e3ff);--mat-sys-on-primary-fixed: light-dark(#001b3f, #001b3f);--mat-sys-on-primary-fixed-variant: light-dark(#00458f, #00458f);--mat-sys-on-secondary: light-dark(#ffffff, #283041);--mat-sys-on-secondary-container: light-dark(#3e4759, #dae2f9);--mat-sys-on-secondary-fixed: light-dark(#131c2b, #131c2b);--mat-sys-on-secondary-fixed-variant: light-dark(#3e4759, #3e4759);--mat-sys-on-surface: light-dark(#1a1b1f, #e3e2e6);--mat-sys-on-surface-variant: light-dark(#44474e, #e0e2ec);--mat-sys-on-tertiary: light-dark(#ffffff, #002f65);--mat-sys-on-tertiary-container: light-dark(#00458f, #d7e3ff);--mat-sys-on-tertiary-fixed: light-dark(#001b3f, #001b3f);--mat-sys-on-tertiary-fixed-variant: light-dark(#00458f, #00458f);--mat-sys-outline: light-dark(#74777f, #8e9099);--mat-sys-outline-variant: light-dark(#c4c6d0, #44474e);--mat-sys-primary: light-dark(#005cbb, #abc7ff);--mat-sys-primary-container: light-dark(#d7e3ff, #00458f);--mat-sys-primary-fixed: light-dark(#d7e3ff, #d7e3ff);--mat-sys-primary-fixed-dim: light-dark(#abc7ff, #abc7ff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#565e71, #bec6dc);--mat-sys-secondary-container: light-dark(#dae2f9, #3e4759);--mat-sys-secondary-fixed: light-dark(#dae2f9, #dae2f9);--mat-sys-secondary-fixed-dim: light-dark(#bec6dc, #bec6dc);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#faf9fd, #121316);--mat-sys-surface-bright: light-dark(#faf9fd, #38393c);--mat-sys-surface-container: light-dark(#efedf0, #1f2022);--mat-sys-surface-container-high: light-dark(#e9e7eb, #292a2c);--mat-sys-surface-container-highest: light-dark(#e3e2e6, #343537);--mat-sys-surface-container-low: light-dark(#f4f3f6, #1a1b1f);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0d0e11);--mat-sys-surface-dim: light-dark(#dbd9dd, #121316);--mat-sys-surface-tint: light-dark(#005cbb, #abc7ff);--mat-sys-surface-variant: light-dark(#e0e2ec, #44474e);--mat-sys-tertiary: light-dark(#005cbb, #abc7ff);--mat-sys-tertiary-container: light-dark(#d7e3ff, #00458f);--mat-sys-tertiary-fixed: light-dark(#d7e3ff, #d7e3ff);--mat-sys-tertiary-fixed-dim: light-dark(#abc7ff, #abc7ff);--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}html,body{height:100%;margin:0}body{font-family:Roboto,Arial,sans-serif;background:#f4f7fb;color:#1b1b1f}:root{--status-warning: #d89a1f;--status-warning-bg: #fffdf8;--status-success: #2f8f62;--status-success-bg: #f8fdfb;--status-approved: #2f8f62;--status-approved-bg: #f8fdfb;--status-paid: #1f9d8a;--status-paid-bg: #f7fffd;--status-reprogram: #4f7ea8;--status-reprogram-bg: #f7fbff;--status-danger: #d85c5c;--status-danger-bg: #fff8f8;--status-clarification: #6650b5;--status-clarification-bg: #faf8ff;--status-info: #2f6fbd;--status-info-bg: #f8fbff;--status-neutral: #8b9eb3}*{box-sizing:border-box}a{color:inherit;text-decoration:none}mat-card{border-radius:20px!important}table{width:100%}.panel-toggle{appearance:none;border:1px solid #c9dbf2;border-radius:16px;background:linear-gradient(180deg,#fff,#f5f9ff);color:#24466e;cursor:pointer;display:inline-flex;align-items:center;gap:.65rem;min-height:50px;padding:.5rem .9rem;font:inherit;box-shadow:0 10px 22px #2563eb14;transition:border-color .22s ease,box-shadow .22s ease,background .22s ease,transform .22s ease}.panel-toggle:focus-visible{outline:3px solid rgba(31,102,209,.24);outline-offset:3px}.panel-toggle:hover{border-color:#83afe8;background:linear-gradient(180deg,#fff,#edf5ff);box-shadow:0 16px 32px #2563eb29;transform:translateY(-2px)}.panel-toggle:active{transform:translateY(0)}.panel-toggle mat-icon{align-items:center;background:#1f66d1;border-radius:12px;color:#fff;display:inline-flex;height:36px;justify-content:center;transition:background .24s ease,transform .24s ease;width:36px}.panel-toggle-open mat-icon{background:#526d93}.panel-toggle:hover mat-icon{transform:scale(1.06)}.panel-toggle-copy{display:grid;gap:.05rem;line-height:1.1;text-align:left}.panel-toggle-copy strong{color:#18375e;font-size:1.15rem;font-weight:900}.panel-toggle-copy small{color:#607086;font-size:.75rem;font-weight:800;white-space:nowrap}.collapsible-panel{max-height:0;opacity:0;overflow:hidden;transform:translateY(-18px) scale(.985);transform-origin:top center;transition:max-height .7s cubic-bezier(.22,1,.36,1),opacity .38s ease,transform .55s cubic-bezier(.22,1,.36,1),margin .5s ease;margin-bottom:0;pointer-events:none;will-change:max-height,opacity,transform}.collapsible-panel.panel-open{max-height:1600px;opacity:1;transform:translateY(0) scale(1);margin-bottom:.2rem;pointer-events:auto}.collapsible-panel.panel-open .resume-grid,.collapsible-panel.panel-open .filters-panel,.collapsible-panel.panel-open .analytics-panel{animation:panel-content-in .52s cubic-bezier(.22,1,.36,1) both}.collapsible-panel.panel-open .filters-panel{animation-delay:.06s}.collapsible-panel.panel-open .analytics-panel{animation-delay:.1s}@keyframes panel-content-in{0%{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}.action-result-dialog-panel .mat-mdc-dialog-container,.approval-dialog-panel .mat-mdc-dialog-container{--mdc-dialog-container-shape: 22px}.action-result-dialog-panel .mat-mdc-dialog-surface,.approval-dialog-panel .mat-mdc-dialog-surface{border-radius:22px;box-shadow:0 28px 80px #0f172a47;overflow:visible}.approval-dialog-backdrop{background:#2f6fbd7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.reprogram-calendar .mat-datepicker-content{border-radius:18px;box-shadow:0 24px 60px #0f172a38;overflow:hidden}.reprogram-calendar .mat-calendar{background:#fff}.reprogram-calendar .mat-calendar-header{padding:10px 10px 0}.reprogram-calendar .mat-calendar-period-button,.reprogram-calendar .mat-calendar-previous-button,.reprogram-calendar .mat-calendar-next-button{color:#243b5a}.reprogram-calendar .mat-calendar-body-selected{background-color:#c9921e;color:#fff}.reprogram-calendar .mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:#c9921e}.reprogram-calendar .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background:#eef2f7;color:#a3adbb;cursor:not-allowed;opacity:.58;text-decoration:line-through}.reprogram-calendar .mat-calendar-body-disabled{cursor:not-allowed;pointer-events:none}@media(max-width:768px){.panel-toggle{width:auto;max-width:100%;min-height:50px;justify-content:flex-start;margin-left:auto;padding:.5rem .85rem;border-radius:15px}.panel-toggle-copy{display:grid;min-width:0}.panel-toggle-copy small{white-space:normal}}.top-actions{display:flex;align-items:center;justify-content:space-between;margin-bottom:.9rem;gap:.75rem}.left-actions,.right-actions{display:flex;align-items:center;gap:.55rem}.back-btn{border-radius:999px;padding:.15rem .65rem;font-weight:700}.history-btn{border-radius:999px;padding:.2rem .85rem;font-weight:700;background:linear-gradient(135deg,#2f66bc,#24539b)}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 0;gap:8px;color:#46627f;font-size:14px}.error-box{background:#fde8e8;color:#9b1c1c;border:1px solid #f8b4b4;border-radius:14px;padding:.95rem 1.05rem;font-weight:600;box-shadow:0 10px 24px #9b1c1c1f}.error-detail{margin-top:.45rem;font-size:.82rem;font-weight:600;word-break:break-word}.hero-card{margin-bottom:1rem;border-radius:18px;padding:1rem 1.15rem;border:1px solid #dbe5f1;background:linear-gradient(140deg,#fff,#f8fbff);box-shadow:0 14px 30px #1f304c17}.hero-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.hero-row h1{margin:0;color:#1f3452;font-size:2.15rem;font-weight:800;letter-spacing:-.3px}.hero-card p{margin:.4rem 0 0;color:#607189;font-size:.95rem;font-weight:500}.status-chip{display:inline-flex;align-items:center;padding:.48rem .95rem;border-radius:999px;background:#fff2d8;color:#9c6200;border:1px solid #eac980;font-weight:800;box-shadow:inset 0 0 0 1px #ffffff80}.facturas-table-wrap{overflow-x:auto;border-radius:14px}.facturas-table{width:100%;min-width:720px;border:1px solid #dbe5ef;border-radius:14px;overflow:hidden}.facturas-table .mat-mdc-header-cell{background:linear-gradient(180deg,#dce7f3,#d5e2ef);color:#1f334f;font-weight:800;border-bottom:1px solid #c8d7e6}.facturas-table .mat-mdc-cell{color:#2c3e57;font-weight:600}.facturas-table .mat-column-acciones{width:110px;min-width:110px}.factura-actions{display:flex;gap:.5rem;align-items:center}.table-action-icon{width:36px;height:36px;border-radius:10px;background:#f4f7fb;border:1px solid #d9e2ec;color:#2f6fbd}.table-action-icon[disabled]{color:#94a3b8;border-color:#e2e8f0;background:#f8fafc;opacity:.45}.facturas-table .mat-mdc-row:nth-child(2n){background:#f9fbfe}.total-row{margin-top:1rem;text-align:right;font-size:1.28rem;font-weight:800;color:#1d3557}.monto-letra{margin-top:.6rem;font-size:1.02rem;color:#23344c}.monto-letra strong{color:#10253f}body:has(.historico-backdrop){overflow:hidden}.historico-backdrop{position:fixed;inset:0;background:#09122180;display:flex;justify-content:center;align-items:center;padding:1rem;z-index:1200;overscroll-behavior:contain}.historico-modal{width:min(1100px,100%);max-height:88vh;border-radius:16px;background:#fff;border:1px solid #d8e2ef;box-shadow:0 22px 40px #10253f4d;display:flex;flex-direction:column;overflow:hidden}.historico-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:1px solid #e3ebf4;background:linear-gradient(180deg,#f7faff,#f0f5fc)}.historico-header h3{margin:0;font-size:1.2rem;font-weight:800;color:#1f3452}.historico-body{padding:.95rem 1rem;overflow:auto}.historico-help{margin:0 0 .8rem;color:#607189;font-weight:600}.historico-table-wrap{border-radius:12px;overflow-x:auto;overflow-y:hidden}.historico-table-wrap .facturas-table .mat-column-fecha{min-width:150px;width:150px;white-space:nowrap}.historico-table-wrap .facturas-table .mat-column-estatus{min-width:150px;width:150px}.history-status{display:inline-flex;align-items:center;justify-content:center;min-width:118px;max-width:100%;padding:.35rem .65rem;border-radius:999px;font-size:.82rem;font-weight:900;line-height:1.15;white-space:normal;text-align:center}.history-status.warning{background:#fff4dd;color:#a56a00;border:1px solid #f0d08b}.history-status.info{background:#eaf3ff;color:#2f6fbd;border:1px solid #bed4f5}.history-status.success{background:#e8f7ee;color:#2d8a56;border:1px solid #bde2cb}.history-status.danger{background:#fde8e8;color:#9b1c1c;border:1px solid #f8b4b4}.history-status.neutral{background:#f1f5f9;color:#475569;border:1px solid #cbd5e1}.historico-table-wrap .facturas-table .mat-mdc-cell,.historico-table-wrap .facturas-table .mat-mdc-header-cell{vertical-align:middle}.empty-historico{border:1px dashed #c9d7e9;border-radius:12px;background:#f7fbff;color:#4f637f;font-weight:600;padding:1rem;text-align:center}.historico-footer{border-top:1px solid #e3ebf4;padding:.7rem 1rem;display:flex;justify-content:flex-end}.factura-modal{width:min(760px,100%)}.factura-modal-body{display:grid;gap:1rem}.factura-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.factura-detail-field,.factura-detail-block{display:flex;flex-direction:column;gap:.4rem}.factura-detail-field span,.factura-detail-block span{color:#4b5563;font-size:.9rem;font-weight:700}.factura-detail-field strong,.factura-detail-block strong{min-height:48px;border:1px solid #d9e2ec;border-radius:12px;background:#f4f7fb;color:#223654;display:flex;align-items:center;padding:.8rem .9rem;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}.factura-detail-block strong{min-height:88px;align-items:flex-start}.factura-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.factura-form-field{display:grid;gap:.45rem;min-width:0}.factura-form-field label{color:#6b7788;font-size:.78rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.factura-input,.factura-currency-input{min-height:48px;border:1px solid #d9e4ef;border-radius:12px;background:#f8fbff;color:#1f2f45;display:flex;align-items:center;gap:.5rem;padding:.72rem .85rem;font-size:.98rem;font-weight:800;line-height:1.3;overflow-wrap:anywhere;word-break:break-word}.factura-input-select{justify-content:space-between}.factura-input-select mat-icon{color:#526579;flex:0 0 auto}.factura-input-right{justify-content:flex-end;text-align:right}.factura-currency-input{background:#fff;border-color:#cfdceb}.currency-prefix{color:#60758d;font-weight:900}.currency-value{color:#17314f;font-weight:900}.pdf-modal{width:min(1100px,100%)}.pdf-modal-body{display:grid;gap:.85rem;position:relative}.pdf-toolbar,.pdf-footer{display:flex;align-items:center;justify-content:center;gap:.75rem;flex-wrap:wrap}.pdf-toolbar-group{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.pdf-toolbar-label{font-weight:700;color:#1f3452;min-width:58px;text-align:center}.pdf-viewer-shell{border:1px solid #d8e3f2;border-radius:14px;background:#fff;overflow:hidden}.pdf-viewer-frame{width:100%;min-height:70vh;display:block;background:#fff}.pdf-loading-overlay{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.pdf-loading-backdrop{position:absolute;inset:0;background:#0f172a73;border-radius:14px}.pdf-loading-content{position:relative;z-index:1;display:flex;align-items:center;gap:.8rem;color:#fff;font-weight:700}.tramite-card{padding:1.25rem 1.55rem!important}.tramite-groups{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.75rem}.tramite-group{min-width:0}.tramite-group-title{color:#9aa3b0;font-size:.76rem;font-weight:900;letter-spacing:.04em;margin-bottom:.65rem;text-transform:uppercase}.tramite-chips{display:grid;gap:.7rem}.tramite-chip{align-items:center;display:inline-flex;min-height:42px;padding:.65rem 1rem;border-radius:999px;font-size:.92rem;font-weight:800;line-height:1.2;width:100%}.tramite-active{background:#dbeafe;color:#1e3a8a}.tramite-inactive{background:#e5e7eb;color:#4b5563}.card-actions{margin-top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;padding-top:1rem}.card-btn{appearance:none;background:#fff;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.35rem;font:inherit;font-size:.88rem;font-weight:700;letter-spacing:.1px;min-height:46px;min-width:0;padding:0 .55rem;white-space:nowrap;transition:background .18s ease,color .18s ease,transform .15s ease}.card-btn mat-icon{font-size:16px;width:16px;height:16px;line-height:16px;flex-shrink:0}.card-btn:hover{transform:translateY(-1px)}.card-btn:active{transform:translateY(0);filter:brightness(.95)}.btn-aprobar{color:#1e7a4a;border:1.5px solid #1e7a4a}.btn-reprogramar{color:#c9921e;border:1.5px solid #c9921e}.btn-aclaracion{color:#6650b5;border:1.5px solid #6650b5}.btn-rechazar{color:#8b2b2b;border:1.5px solid #8b2b2b}.btn-aprobar:hover{background:#1e7a4a;color:#fff}.btn-reprogramar:hover{background:#c9921e;color:#fff}.btn-aclaracion:hover{background:#6650b5;color:#fff}.btn-rechazar:hover{background:#8b2b2b;color:#fff}.detalle-actions-card{margin-bottom:1rem;background:#fff;border-radius:18px;border:1px solid #d9e4ef;padding:1rem 1.05rem;box-shadow:0 12px 26px #0f172a12;display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.detalle-btn{appearance:none;border-radius:12px;cursor:pointer;font-size:.95rem;font-weight:400;height:52px;padding:0 .5rem;font-family:inherit;transition:background .18s ease,color .18s ease,transform .15s ease;display:flex;align-items:center;justify-content:center;gap:.4rem}.detalle-btn mat-icon{font-size:18px;width:18px;height:18px;line-height:18px;flex-shrink:0}.detalle-btn:hover{transform:translateY(-1px)}.detalle-btn-aprobar{background:#fff;color:#1e7a4a;border:1.5px solid #1e7a4a}.detalle-btn-reprogramar{background:#fff;color:#c9921e;border:1.5px solid #c9921e}.detalle-btn-aclaracion{background:#fff;color:#2c5282;border:1.5px solid #2c5282}.detalle-btn-rechazar{background:#fff;color:#8b2b2b;border:1.5px solid #8b2b2b}.detalle-btn-cancelar{background:#fff;color:#c0392b;border:1.5px solid #c0392b}.detalle-btn-aprobar:hover{background:#1e7a4a;color:#fff}.detalle-btn-reprogramar:hover{background:#c9921e;color:#fff}.detalle-btn-aclaracion:hover{background:#2c5282;color:#fff}.detalle-btn-rechazar:hover{background:#8b2b2b;color:#fff}.detalle-btn-cancelar:hover{background:#c0392b;color:#fff}.pay-page{min-height:100%;padding:1.35rem;background:radial-gradient(1200px 500px at 10% -5%,#dbe9ff 0%,transparent 55%),radial-gradient(900px 400px at 100% 0%,#e5f4ef 0%,transparent 50%),#f4f7fb;color:#20232a}.pay-card{border:1px solid #d9e4ef;border-radius:18px;background:#fff;box-shadow:0 12px 26px #0f172a12;margin-bottom:1rem}.pay-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:.95rem 1.05rem}.summary-cell{display:grid;gap:.25rem}.summary-cell span{color:#9aa3b0;font-size:.7rem;font-weight:800;letter-spacing:.5px;text-transform:uppercase}.summary-cell strong{color:#1f2f45;font-size:1.02rem;font-weight:800;line-height:1.3;word-break:break-word}.field{display:grid;gap:.35rem;color:#5b5e64;font-size:1rem}.field strong{color:#56595f;font-weight:900}.field-wide{grid-column:1/-1}.pay-info{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.9fr);gap:1.25rem;min-height:116px;margin-bottom:1.45rem;padding:1.2rem 1.05rem 1.15rem}.info-main{display:grid;gap:1.35rem}.type-field{justify-items:center;align-content:start}.pay-table-card{padding:1.15rem 1rem 1.2rem}.pay-table-card h2{margin:.2rem 0 .8rem;color:#1f3452;font-size:1.85rem;font-weight:800;letter-spacing:-.2px}.check-column h3{color:#9aa3b0;font-size:.76rem;font-weight:900;letter-spacing:.04em;margin:0;text-transform:uppercase}.pay-checks{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.75rem;padding:1.25rem 1.55rem}.check-column{display:grid;align-content:start;gap:.8rem;min-width:0}.chip-list{display:grid;gap:.7rem}.check-chip{align-items:center;background:#e5e8ed;border:0;border-radius:999px;color:#4b5563;display:inline-flex;font-size:.92rem;font-weight:800;line-height:1.2;min-height:42px;padding:.65rem 1rem;width:100%}.check-chip.is-active{background:#dbeafe;color:#1e3a8a}.table-wrap{overflow-x:auto;border:1px solid #dbe5ef;border-radius:14px}.pay-table{width:100%;border-collapse:collapse}.pay-table .mat-mdc-header-cell{background:linear-gradient(180deg,#dce7f3,#d5e2ef);color:#1f334f;font-weight:800;border-bottom:1px solid #c8d7e6}.pay-table .mat-mdc-cell{color:#2c3e57;font-weight:600;border-bottom:1px solid #eef2f8}.pay-table .mat-mdc-row:nth-child(2n){background:#f9fbfe}.pay-table .mat-mdc-header-cell,.pay-table .mat-mdc-cell{padding:.85rem 1rem}.pay-table .mat-column-acciones{width:110px;min-width:110px}.empty-comprobantes{border:1px dashed #c9d7e9;border-top:0;border-radius:0 0 8px 8px;background:#f7fbff;color:#4f637f;font-weight:700;padding:1rem;text-align:center}.pay-total{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.2rem;color:#0f172a;font-size:1rem;font-weight:900}.pay-letter{display:grid;gap:.35rem;margin-top:1.25rem;color:#0f172a;font-size:1rem}.pay-letter strong{font-weight:900}.history-step-header,.history-step-cell{text-align:center;white-space:nowrap}.history-step-cell mat-icon{color:#64748b;font-size:1rem;width:1rem;height:1rem}@media(max-width:980px){.hero-row{flex-direction:column;align-items:flex-start}.hero-row h1{font-size:1.7rem}.top-actions{flex-wrap:wrap}.left-actions,.right-actions{flex:1 1 220px}.left-actions .back-btn,.right-actions .history-btn{width:100%;justify-content:center}.hero-card{padding:.9rem 1rem}.facturas-table{min-width:640px}.detalle-actions-card{grid-template-columns:repeat(2,1fr)}}@media(max-width:980px){.pay-card{border-radius:14px}.pay-summary,.pay-info,.pay-table-card{padding-left:.9rem;padding-right:.9rem}}@media(max-width:900px){.pay-summary,.pay-info{grid-template-columns:1fr}}@media(max-width:768px){.hero-row h1{font-size:1.45rem}.hero-card p{font-size:.9rem}.pay-table-card h2{font-size:1.5rem}.status-chip{font-size:.85rem;padding:.38rem .8rem}.pay-checks{grid-template-columns:1fr}.facturas-table{min-width:560px}.factura-detail-grid,.factura-form-grid{grid-template-columns:1fr}.total-row{font-size:1.1rem}.monto-letra{font-size:.95rem}.historico-modal{width:100%;max-height:92vh;border-radius:12px}.historico-header{padding:.65rem .8rem}.historico-header h3{font-size:1.05rem}.historico-body{padding:.75rem .8rem}.historico-footer{padding:.6rem .8rem}.tramite-groups{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tramite-chip{white-space:normal}}@media(max-width:576px){.pay-page{padding:.75rem .75rem 2rem}.pay-card{border-radius:12px}.pay-table-card h2{font-size:1.3rem}.pay-total{justify-content:flex-start;flex-wrap:wrap}.back-btn,.history-btn{min-height:40px;font-size:.9rem}.hero-card{padding:.75rem .8rem;border-radius:14px}.hero-row{gap:.6rem}.hero-row h1{font-size:1.22rem;line-height:1.25}.historico-backdrop{padding:.5rem}.empty-historico{padding:.8rem;font-size:.92rem}.pdf-viewer-frame{min-height:56vh}.facturas-table{min-width:520px}}@media(max-width:480px){.detalle-actions-card,.tramite-groups{grid-template-columns:1fr}}@media(max-width:420px){.hero-card p{font-size:.84rem}.status-chip{font-size:.8rem}}
