/* PHM-FIN-007 · estilos aislados de Solicitud / Aprobación */
.f7{max-width:100%;min-width:0}.f7-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:8px 0 20px}.f7-head h2{margin:6px 0;font-size:26px}.f7-head p{margin:0;color:var(--muted)}.f7-eyebrow{font-size:11px;letter-spacing:.1em;font-weight:800;color:#667085}.f7-surface{padding:20px;background:#fff;border:1px solid #dce5eb;border-radius:16px}.f7-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}.f7-grow{flex:1}.f7-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;padding:12px 0;align-items:end}.f7-grid label,.f7-dialog label{margin:0;font-size:13px;font-weight:650}.f7-grid input,.f7-grid select,.f7-dialog input,.f7-dialog textarea,.f7-dialog select{margin-top:6px;font-size:15px}.f7-tablewrap{width:100%;max-width:100%;overflow:auto;border:1px solid #e3e8ee;border-radius:10px;margin:10px 0}.f7-table{width:100%;border-collapse:collapse;font-size:13px;background:white}.f7-table th{background:#f4f7fa;color:#475467;text-align:left;padding:12px;white-space:nowrap;border-bottom:1px solid #d8e5ec}.f7-table td{padding:12px;vertical-align:top;border-bottom:1px solid #eef1f4}.f7-table tr:last-child td{border:0}.f7-table small{display:block;font-size:11px;color:#667085;max-width:260px;margin-top:5px;line-height:1.4}.f7-table td.f7-money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.f7-summary{min-width:900px}.f7-summary td:first-child{min-width:175px}.f7-summary td:nth-child(3){min-width:145px}.f7-pager{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:15px;font-size:13px}.f7-empty{text-align:center!important;padding:38px!important;color:#667085}.f7-status{display:inline-block;padding:5px 9px;border-radius:30px;font-size:11px;font-weight:750;white-space:nowrap;background:#eef2f6;color:#344054}.f7-status.PENDING_APPROVAL{background:#fff2d5;color:#895900}.f7-status.APPROVED{background:#e7f7ed;color:#16643b}.f7-status.REJECTED,.f7-status.CANCELLED{background:#feecee;color:#972d36}.f7-status.DIRECT{background:#edf1ff;color:#384f99}.f7-dialog{box-sizing:border-box;border:1px solid #dce5eb;border-radius:18px;padding:0;width:min(1460px,96vw);max-width:96vw;max-height:92dvh;color:#111827;background:#fff;box-shadow:0 30px 90px #10182840}.f7-dialog[open]{display:flex;flex-direction:column}.f7-dialog::backdrop{background:#15202e80;backdrop-filter:blur(2px)}.f7-dialog.f7-small{width:min(760px,96vw)}.f7-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;border-bottom:1px solid #e8edf2;flex-shrink:0;background:#fff}.f7-dialog-head h2{font-size:22px;margin:5px 0 0}.f7-dialog-body{overflow:auto;overscroll-behavior:contain;padding:20px 24px;min-height:0;flex:1}.f7-dialog-foot{display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap;padding:16px 24px;border-top:1px solid #e8edf2;background:#f8fafc;flex-shrink:0}.f7-dialog .f7-amount{width:145px;min-width:145px;padding:9px;margin:0}.f7-dialog .f7-check{width:20px;height:20px;min-width:20px;margin:4px;accent-color:#0d617c;cursor:pointer}.f7-info,.f7-totals{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin:0 0 16px;font-size:13px}.f7-totals{justify-content:flex-end;padding:16px;border:1px solid #e4eaf0;background:#f8fafc;border-radius:10px;margin-top:18px}.f7-smalltext,.f7-footnote{font-size:12px;color:#667085;line-height:1.5}.f7-footnote{margin-top:16px}.f7-note{font-size:13px;color:#475467;line-height:1.5}.f7-msg{padding:12px 14px;border-radius:9px;background:#eef7fb;color:#164b65;font-size:13px;white-space:pre-wrap;line-height:1.5}.f7-msg.error{color:#9d252e;background:#fef0f0}.f7-msg.success{color:#165c37;background:#edf9f0}.f7-msg.warning{color:#865800;background:#fff5df}.f7-warning{color:#a5600a!important}.f7-dialog details{margin:12px 0}.f7-dialog summary{cursor:pointer;font-size:13px;font-weight:700;padding:8px 0}.f7-filterbox{background:#f8fafc;padding:6px 14px;border-radius:10px;border:1px solid #e5eaf0}.f7-history-warning{min-width:185px;color:#8a5a00;max-width:260px}.f7-history-warning p{font-size:11px}.f7-dialog input:disabled{background:#f2f4f7;color:#667085}.f7-dialog button:disabled{opacity:.45;cursor:not-allowed}.f7-dialog .f7-detail-table{min-width:1350px}.f7-excluded{background:#fafafa;border-radius:8px;padding:8px}.f7-dialog input:focus,.f7-dialog select:focus,.f7-dialog textarea:focus{outline:2px solid #7ec5de;outline-offset:1px}
@media(max-width:760px){.f7-head{align-items:flex-start;flex-direction:column;gap:14px}.f7-head h2{font-size:22px}.f7-surface{padding:12px}.f7-dialog{width:98vw;max-width:98vw;max-height:96dvh;border-radius:12px}.f7-dialog-head,.f7-dialog-body,.f7-dialog-foot{padding:14px}.f7-dialog-head h2{font-size:18px}.f7-dialog-foot{justify-content:flex-start}.f7-dialog input,.f7-dialog select,.f7-dialog textarea{font-size:16px}.f7-grid{grid-template-columns:1fr 1fr}.f7-totals{align-items:flex-start;flex-direction:column}.f7-dialog .f7-amount{width:130px;min-width:130px}.f7-table td,.f7-table th{padding:10px}.f7-toolbar>button{min-height:44px}}
@media(max-width:430px){.f7-grid{grid-template-columns:1fr}.f7-pager{justify-content:space-between;gap:8px}.f7-dialog-foot button{flex:1;min-width:120px}}
@media print{body:has(.f7-print){height:auto!important;overflow:visible!important;background:white!important}body:has(.f7-print)>*:not(.f7-print){display:none!important}.f7-dialog.f7-print{position:static!important;display:block!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;overflow:visible!important;border:0;box-shadow:none;margin:0}.f7-print .f7-dialog-body,.f7-print .f7-tablewrap{overflow:visible!important;max-height:none!important;padding:0;border:0}.f7-print .f7-dialog-foot,.f7-print button,.f7-print details,.f7-print .f7-msg{display:none!important}.f7-print table{min-width:0!important;font-size:8pt}.f7-print th,.f7-print td{white-space:normal!important;padding:4pt}.f7-print tr{break-inside:avoid}.f7-print th{background:#eee!important}.f7-print .f7-dialog-head{padding:0 0 12pt}.f7-print::backdrop{background:none}.f7-print{page:fin007landscape}@page fin007landscape{size:landscape;margin:10mm}}
