.vfpb-portal-nav{display:flex;gap:7px;margin:0 0 14px;padding:5px;border:1px solid #dfe8f1;border-radius:13px;background:#eef3f8;width:max-content;max-width:100%;overflow:auto}.vfpb-portal-nav button{min-height:38px;padding:0 15px;border:0;border-radius:9px;background:transparent;color:#667d95;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.vfpb-portal-nav button.is-active{background:#fff;color:#176bd0;box-shadow:0 4px 12px rgba(25,62,100,.09)}.vfpi-wrap{display:block}.vfpi-hero{padding:24px;border:1px solid #dce8f3;border-radius:18px;background:linear-gradient(120deg,#eef6ff,#fff 52%,#effff1);box-shadow:0 8px 24px rgba(26,58,94,.045)}.vfpi-hero>span{display:block;color:#11a34d;font-size:11px;letter-spacing:.12em;font-weight:900}.vfpi-hero h1{margin:5px 0 4px;font-size:25px}.vfpi-hero p{margin:0;color:#718198;font-size:13px}.vfpi-progress{margin-top:16px;display:flex;align-items:center;gap:10px}.vfpi-progress>div{height:9px;flex:1;overflow:hidden;border-radius:999px;background:#e7edf4}.vfpi-progress i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#1b78e8,#19ae58);transition:.25s}.vfpi-progress strong{min-width:40px;color:#28455f;font-size:13px}.vfpi-card{margin-top:14px;overflow:hidden;border:1px solid #dde7f1;border-radius:16px;background:#fff}.vfpi-card-head{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf2f6}.vfpi-card-head h2{margin:0;font-size:15px}.vfpi-card-head p{margin:3px 0 0;color:#7c8da0;font-size:11px}.vfpi-card-head>span{padding:6px 9px;border-radius:999px;background:#eef6ff;color:#1769c3;font-size:11px;font-weight:800}.vfpi-process{border-bottom:1px solid #edf2f6}.vfpi-process:last-child{border-bottom:0}.vfpi-process-head{padding:13px 16px;display:flex;align-items:center;justify-content:space-between;background:#fbfdff}.vfpi-process-head strong{font-size:13px}.vfpi-process-head small{display:block;margin-top:3px;color:#8191a3;font-size:11px}.vfpi-step{padding:13px 16px;display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:start;border-top:1px solid #f0f3f6}.vfpi-step-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eef5fd;color:#2b72b9;font-size:14px;font-weight:900}.vfpi-step.done .vfpi-step-icon{background:#eaf8ef;color:#0a9149}.vfpi-step-main strong{display:block;font-size:13px}.vfpi-step-main p{margin:4px 0 0;color:#77899c;font-size:11.5px;line-height:1.45}.vfpi-meta{margin-top:7px;display:flex;gap:5px;flex-wrap:wrap}.vfpi-meta span{padding:4px 6px;border-radius:6px;background:#f2f6fa;color:#61768b;font-size:10px}.vfpi-meta span.review{background:#fff4df;color:#9b6716}.vfpi-step button{min-height:34px;padding:0 11px;border:1px solid #dce6ef;border-radius:8px;background:#fff;color:#176bc7;font-size:11px;font-weight:800;cursor:pointer}.vfpi-step button.primary{border-color:#1674e8;background:#1674e8;color:#fff}.vfpi-modal{position:fixed;inset:0;z-index:1200}.vfpi-modal[hidden]{display:none}.vfpi-backdrop{position:absolute;inset:0;background:rgba(9,30,54,.38);backdrop-filter:blur(2px)}.vfpi-panel{position:relative;width:min(620px,calc(100vw - 24px));max-height:calc(100vh - 30px);margin:15px auto;overflow:auto;border-radius:18px;background:#fff;box-shadow:0 30px 80px rgba(10,40,75,.24)}.vfpi-panel>header{padding:15px 17px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e8eef4}.vfpi-panel>header small{display:block;color:#11a34d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.vfpi-panel>header h2{margin:4px 0 0;font-size:18px}.vfpi-panel>header button{width:36px;height:36px;border:1px solid #dfe7ef;border-radius:9px;background:#fff;color:#6a7d91;font-size:18px}.vfpi-form{padding:17px}.vfpi-form .intro{margin:0 0 14px;color:#667b91;font-size:12px;line-height:1.55}.vfpi-form label{display:block;margin-bottom:12px}.vfpi-form label>span{display:block;margin-bottom:5px;color:#50677f;font-size:11.5px;font-weight:800}.vfpi-form input,.vfpi-form select,.vfpi-form textarea{width:100%;min-height:44px;padding:9px 11px;border:1px solid #d9e4ee;border-radius:10px;background:#fff;color:#193a5a;font:inherit;font-size:13px}.vfpi-form textarea{min-height:95px;resize:vertical}.vfpi-form .check{display:flex;align-items:flex-start;gap:8px}.vfpi-form .check input{width:auto;min-height:0;margin-top:2px}.vfpi-policy{max-height:260px;overflow:auto;margin-bottom:13px;padding:13px;border:1px solid #e3eaf1;border-radius:10px;background:#f9fbfd;color:#536a80;font-size:12px;line-height:1.6;white-space:pre-wrap}.vfpi-form button[type=submit]{width:100%;min-height:44px;border:0;border-radius:10px;background:#176fe0;color:#fff;font-weight:900;cursor:pointer}.vfpi-note{margin-top:8px;color:#7d8c9c;font-size:11px}.vfpi-empty{padding:28px;text-align:center;color:#8191a3;font-size:12px}@media(max-width:640px){.vfpb-portal-nav{width:100%}.vfpb-portal-nav button{flex:1}.vfpi-step{grid-template-columns:32px 1fr}.vfpi-step>button{grid-column:2;width:100%}.vfpi-card-head{align-items:flex-start}.vfpi-hero{padding:19px}.vfpi-panel{margin:8px auto;max-height:calc(100vh - 16px)}}

/* LAB24.8.7 — documento de referencia en lectura/aceptación */
.vfpi-wrap .vfpi-reference-doc{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0;padding:14px;border:1px solid #dbe4ee;border-radius:12px;background:#f8fafc}
.vfpi-wrap .vfpi-reference-doc>div{display:grid;gap:3px;min-width:0}
.vfpi-wrap .vfpi-reference-doc strong{color:#0f172a}
.vfpi-wrap .vfpi-reference-doc span{font-size:12px;color:#64748b;overflow-wrap:anywhere}
.vfpi-wrap .vfpi-reference-doc a{flex:0 0 auto;text-decoration:none;font-weight:800;border-radius:9px;padding:9px 12px;background:#0f172a;color:#fff}
@media (max-width:640px){.vfpi-wrap .vfpi-reference-doc{align-items:stretch;flex-direction:column}.vfpi-wrap .vfpi-reference-doc a{text-align:center}}


/* LAB24.8.9 — formulario externo y campos avanzados */
.vfpi-wrap .vfpi-external-link{display:flex;align-items:center;justify-content:center;min-height:46px;margin:4px 0 14px;padding:0 14px;border-radius:10px;background:#176fe0;color:#fff;text-decoration:none;font-size:13px;font-weight:900}
.vfpi-wrap .vfpi-external-confirm{margin-top:10px;padding:12px;border:1px solid #dbe6f0;border-radius:10px;background:#f8fbfe}
.vfpi-wrap .vfpi-external-missing{margin:4px 0 14px;padding:12px;border:1px solid #efd8d6;border-radius:10px;background:#fff7f6;color:#a54b45;font-size:12px}
.vfpi-wrap .vfpi-form-section{margin:18px 0 12px;padding:10px 12px;border-left:4px solid #176fe0;border-radius:0 9px 9px 0;background:#f2f7fd}
.vfpi-wrap .vfpi-form-section strong{display:block;color:#244766;font-size:13px}
.vfpi-wrap .vfpi-form-section p{margin:4px 0 0;color:#70859a;font-size:11px;line-height:1.45}
.vfpi-wrap .vfpi-choices{display:grid;gap:7px;padding:6px 0}
.vfpi-wrap .vfpi-choices .check{margin:0;padding:8px 10px;border:1px solid #e2e9f0;border-radius:9px;background:#fbfdff}
.vfpi-wrap .vfpi-acceptance{padding:12px;border:1px solid #cfe0ef;border-radius:10px;background:#f7fbff}
.vfpi-wrap .vfpi-acceptance span small{display:block;margin-top:4px;color:#75879a;font-size:10.5px;font-weight:500;line-height:1.4}


/* LAB24.8.12 — múltiples documentos y ubicación en formularios */
.vfpi-wrap .vfpi-reference-list{display:grid;gap:8px;margin:12px 0}.vfpi-wrap .vfpi-reference-list>strong{font-size:12px;color:#405b75}.vfpi-wrap .vfpi-reference-list .vfpi-reference-doc{margin:0}.vfpi-wrap .vfpi-location{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.vfpi-wrap .vfpi-location button{min-height:44px;padding:0 12px;border:1px solid #176fe0;border-radius:10px;background:#eef6ff;color:#176bc7;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}.vfpi-wrap .vfpi-location button:disabled{opacity:.55}.vfpi-wrap .vfpi-form input[type=file][multiple]{padding:8px;height:auto}
@media(max-width:520px){.vfpi-wrap .vfpi-location{grid-template-columns:1fr}.vfpi-wrap .vfpi-location button{width:100%}}
