/* Ajustes comunes de accesibilidad y adaptación. Se carga después de los estilos de cada espacio. */
:root{--cgk-blue:#0968d8;--cgk-navy:#133657;--cgk-muted:#5f7288;--cgk-border:#dce5ef;--cgk-header:80px;--cgk-radius:14px}
*,*:before,*:after{box-sizing:border-box}
html{scroll-padding-top:100px;-webkit-text-size-adjust:100%}
body{margin:0;color:var(--cgk-navy)}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}
button,a{touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #70aff3!important;outline-offset:3px}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #91c6ff;outline-offset:2px;border-color:var(--cgk-blue)!important}
img{max-width:100%}
.btn{min-height:44px;line-height:1.4;white-space:normal;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.btn.full{width:100%}
.error{overflow-wrap:anywhere;line-height:1.6}
.row-note{font-size:12px!important;line-height:1.6!important;max-width:none}
.basic-text-button{min-height:40px;line-height:1.5}
.basic-kicker{font-size:11px;line-height:1.5}

/* Inicio: todos los accesos permanecen visibles, también con teclado o pantalla táctil. */
.scene-header nav{gap:7px;background:transparent;border:0;padding:0;min-width:0}
.scene-header nav a{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:10px 15px!important;border:0!important;border-radius:9px;color:#4c637e;font-size:14px!important;line-height:1.45;text-decoration:none;transition:background-color .18s,color .18s,box-shadow .18s}
.scene-header nav a.scene-nav-active{background:#eaf3ff;color:#075fc7;box-shadow:inset 0 -2px #1776e6}
.scene-header nav a:hover,.scene-header nav a:focus-visible{color:#075fc7;background:#e3efff;box-shadow:inset 0 -2px #1776e6}
.scene-header nav a:active{background:#d5e7fe}
.scene-header>div{width:min(1400px,calc(100% - 64px));gap:24px}
.scene-main{max-width:1280px}
.scene-app .scene-amount-row>label,.scene-app .cgk-period-picker legend,.scene-app .cgk-date-picker legend{font-size:15px;line-height:1.5}
.scene-app .cgk-range-limits{font-size:12px;line-height:1.6}
.scene-app .cgk-period-picker button{min-height:46px;font-size:16px}
.scene-app .cgk-date-options button{min-height:78px}
.scene-app .cgk-date-options button>span{font-size:13px}.scene-app .cgk-date-options button strong{font-size:15px}
.scene-app .cgk-date-options button i{flex:none}
.scene-app .cgk-quote-top>span{font-size:15px}.scene-app .cgk-quote-top small{font-size:13px;line-height:1.5}
.scene-app .cgk-quote-breakdown>div,.scene-app .cgk-quote-breakdown strong{font-size:14px;line-height:1.6}
.scene-app .cgk-quote-total strong{font-size:23px}
.scene-app .cgk-schedule-button{font-size:14px;min-height:44px;margin:0;padding:12px 0}
.scene-app .scene-result .cgk-continue{font-size:15px;min-height:49px}
.scene-app .scene-result .cgk-rate-explanation{font-size:11px;line-height:1.7;margin-top:16px}
.scene-footer{font-size:11px;line-height:1.6}
.scene-decor{opacity:.35}
.scene-amount-step,.scene-date-step,.scene-result{min-width:0}
.scene-app .scene-controls input[type=range]{min-height:24px;margin:8px 0;accent-color:var(--cgk-blue);cursor:pointer}
.scene-app .scene-result{min-height:0}

/* Encabezado de las cuentas: sin enlaces repetidos y sin controles pequeños. */
.admin-full-page>.portal-toolbar{height:var(--cgk-header);min-height:var(--cgk-header);flex-wrap:nowrap;gap:18px;position:sticky;top:0;background:#fffffffa;backdrop-filter:blur(12px);padding:0 max(28px,calc((100vw - 1400px)/2));z-index:20}
.portal-toolbar .portal-brand-group{min-width:0;gap:20px}.portal-toolbar .portal-brand-group h2{white-space:nowrap;font-size:13px}
.portal-toolbar nav{gap:8px!important;flex:none}
.portal-toolbar nav button,.portal-toolbar nav a{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:8px;font-size:13px;line-height:1.4;color:#506a86;text-decoration:none;white-space:nowrap}
.portal-toolbar nav button:hover,.portal-toolbar nav a:hover{background:#edf4fd;color:#075fc7}
.portal-toolbar nav [data-action=logout]{background:#f1f5fa;color:#3c5977}
.portal-toolbar .portal-close{display:none}
.admin-full-page>.portal-body{min-width:0;width:100%;height:auto;overflow:visible}
.portal-content{min-width:0}
.portal-body h1,.portal-body h2,.portal-body h3{overflow-wrap:break-word}

/* Administración: jerarquía y áreas de trabajo propias. */
.admin-full-page:has(.admin-dashboard){background:#f3f6fa}
.admin-full-page:has(.admin-dashboard)>.portal-body{max-width:1440px;padding:34px 30px 56px}
.admin-dashboard{display:grid;gap:25px;min-width:0}
.admin-dashboard .basic-page-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin:0}
.admin-dashboard .basic-page-title h1{font-size:32px;font-weight:650;letter-spacing:-.04em;line-height:1.2;margin:7px 0 12px}
.admin-dashboard .basic-page-title p{font-size:14px;line-height:1.6;color:var(--cgk-muted);margin:0}
.admin-dashboard .basic-page-title>button{grid-column:1/-1;justify-self:start}
.admin-dashboard .row-actions{min-width:0;gap:10px}
.admin-dashboard .basic-page-title .btn{font-size:14px;padding:12px 17px;min-height:46px}
.admin-dashboard .basic-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}
.admin-dashboard .basic-stats .basic-card{position:relative;padding:23px!important;border:1px solid var(--cgk-border);border-radius:13px;box-shadow:0 3px 12px #19365503}
.admin-dashboard .basic-stats span{font-size:13px;line-height:1.5;color:#6a7e94}.admin-dashboard .basic-stats strong{font-size:32px;letter-spacing:-.035em;line-height:1.3;margin-top:12px;overflow-wrap:anywhere}
.admin-dashboard .basic-stats .basic-card:nth-child(3){border-top:3px solid #1d74dc}.admin-dashboard .basic-stats .basic-card:nth-child(4){border-top:3px solid #2d9780}
.admin-dashboard .basic-tabs{display:flex;gap:7px;overflow-x:auto;white-space:nowrap;border:1px solid #dce5ef;border-radius:12px;background:#eaf0f7;padding:6px;margin:0;scrollbar-width:thin}
.admin-dashboard .basic-tabs button{padding:12px 18px;min-height:46px;background:transparent;font-size:14px;color:#586f88;border-radius:8px;flex:1;border:0}
.admin-dashboard .basic-tabs button:hover{background:#f7faff;color:#0a63c2}.admin-dashboard .basic-tabs button.active{background:#173e69;color:#fff;box-shadow:0 3px 8px #15395915}
.admin-dashboard .basic-card{border-radius:14px;border:1px solid var(--cgk-border);box-shadow:none;padding:25px!important;min-width:0}
.admin-dashboard .basic-section-heading{align-items:start;gap:18px;margin-bottom:18px}
.admin-dashboard .basic-section-heading h2{font-size:21px;font-weight:600;letter-spacing:-.025em;margin:0 0 8px}
.admin-dashboard .basic-section-heading p{font-size:14px;line-height:1.65;color:var(--cgk-muted);margin:0}
.admin-dashboard .portal-data-card{overflow:visible}
.basic-table{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:9px}
.basic-table table{width:100%;border-collapse:collapse;table-layout:auto}
.basic-table th{background:#f4f7fb;font-size:13px!important;font-weight:500;line-height:1.5;color:#667c94;padding:15px 14px!important;white-space:normal}
.basic-table td{font-size:14px!important;line-height:1.65;padding:18px 14px!important;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;border-bottom:1px solid #e8edf3}
.basic-table tr:last-child td{border-bottom:0}
.basic-table td .btn,.basic-table td .basic-text-button{font-size:13px!important;padding:9px 12px;min-height:42px}
.basic-badge{font-size:12px!important;line-height:1.5;padding:6px 9px}
.admin-dashboard .basic-loan-summary{background:#f0f5fc;border:1px solid #e1e9f3;border-radius:11px;padding:23px;gap:20px}
.admin-dashboard .basic-loan-summary span,.admin-dashboard .basic-loan-summary small{font-size:13px;line-height:1.6}
.admin-dashboard .basic-loan-summary strong{font-size:30px}.portal-loan-heading{flex-wrap:wrap;gap:14px}.portal-loan-heading label{font-size:14px!important}.portal-loan-heading select{min-height:46px;font-size:16px;flex:1;min-width:180px}.portal-loan-heading .btn{min-height:44px;font-size:14px}
.portal-loan-tabs button{font-size:14px!important;min-height:44px;padding:11px 15px}
.portal-pager{padding-top:18px;font-size:13px;flex-wrap:wrap;gap:14px}.portal-pager button{min-width:42px;min-height:42px;font-size:16px}.portal-pager>div{gap:12px}
.admin-dashboard .collection-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-method{min-width:0}.collection-method p,.method-holder,.method-heading small{font-size:13px;line-height:1.7}.method-heading strong{font-size:16px}.method-destination{flex-wrap:wrap;justify-content:space-between}.method-destination strong{font-size:16px;overflow-wrap:anywhere;min-width:0}.method-bank-line>span{font-size:12px}.method-qr-preview span,.method-qr-preview strong{font-size:13px;line-height:1.65}.method-qr-preview .btn{min-height:42px;font-size:13px}.setup-empty{padding:28px 16px}.setup-empty p,.portal-empty p{font-size:14px!important;line-height:1.8}

/* Cliente: texto legible, secuencia pagar → registrar → ver confirmación. */
.account-shell{gap:32px}.account-sidebar{width:auto;padding-right:22px}.account-sidebar nav button{min-height:50px;font-size:14px;padding:14px;line-height:1.5}.account-sidebar-label{font-size:11px}.account-sidebar-bottom p{font-size:13px}.account-sidebar-bottom a{font-size:12px;min-height:40px}
.account-content.client-dashboard{padding-top:30px;gap:22px}
.account-welcome>div>span{font-size:11px}.account-welcome h1{font-size:31px}.account-welcome p{font-size:14px;color:#62788f}.account-profile strong,.account-profile small{font-size:12px}
.account-payment-hero{min-height:290px;padding:30px}.account-eyebrow{font-size:12px}.account-hero-amount{font-size:clamp(35px,4vw,52px)}.account-payment-hero p{font-size:14px;line-height:1.75}.account-hero-actions{flex-wrap:wrap;gap:17px}.account-hero-actions .btn.green{min-height:46px;font-size:14px}.account-hero-link{font-size:13px;min-height:44px;line-height:1.6;text-align:left}
.account-balance-card>span{font-size:14px}.account-balance-card>strong{font-size:30px}.account-balance-card>p{font-size:13px;color:#647b92}.account-balance-card dl>div{font-size:13px;line-height:1.6}.account-payoff-link,.account-outline-link{font-size:13px;line-height:1.65;min-height:36px}.account-balance-card>small{font-size:12px;color:#71869d}
.account-document-note strong{font-size:13px}.account-document-note span{font-size:12px;color:#788ba0}.account-document-note button{font-size:12px}
.account-credit-terms{grid-template-columns:1fr 1fr;gap:13px 20px}.account-credit-terms span{font-size:12px;line-height:1.6}.account-credit-terms strong{white-space:nowrap}
.account-request-hero h2{font-size:27px}.account-request-hero>p{font-size:14px;color:#637b93}.account-status-pill{font-size:12px}.account-request-numbers span{font-size:12px}.account-request-numbers strong{font-size:23px}.account-request-progress>span{font-size:12px;line-height:1.6}.account-request-progress{gap:13px}
.account-quick-card h3,.account-preview-card h3,.account-reports-card h3{font-size:17px;line-height:1.4}.account-quick-card p{font-size:13px;max-width:none;color:#697f96}.account-quick-card .btn{font-size:14px;min-height:44px;margin-left:0}.account-soon{font-size:12px;color:#6d839b}
.account-next-list strong{font-size:14px}.account-next-list>div>div>span{font-size:13px;color:#6c8298}.account-next-list b{font-size:16px}.account-next-list small{font-size:11px;min-width:75px}.account-installment-number{width:36px;height:36px;font-size:14px}
.account-review-notice strong{font-size:14px}.account-review-notice span{font-size:13px}.account-review-notice button{font-size:13px;min-height:42px}.account-neutral-note{font-size:13px;line-height:1.8;color:#647b93}
.account-section-intro h2{font-size:26px}.account-section-intro p,.account-reports-card>p{font-size:14px;line-height:1.75;color:#617991}.account-section-intro .btn{font-size:14px;min-height:46px}
.account-empty p{font-size:14px;line-height:1.8}.account-confirmed-list>div{font-size:14px}.account-confirmed-list small{font-size:12px}.account-footer{font-size:12px;line-height:1.6}.account-client-details{font-size:13px}.account-client-details summary{min-height:44px;display:list-item;padding:10px 0}.account-client-details dl{gap:14px}.account-content .basic-section-heading h2{font-size:22px}.account-content .basic-section-heading p{font-size:14px}.account-content .method-heading strong{font-size:16px}.account-content .method-holder{font-size:13px}.account-content .method-heading small{font-size:12px}.account-content .collection-method p{font-size:13px}.account-content .basic-table th{font-size:13px!important}.account-content .basic-table td{font-size:14px!important}

/* Formularios y ventanas, incluidos registro, DNI, pagos y créditos manuales. */
.admin-full-page .basic-auth{max-width:520px;margin:32px auto 50px}.admin-full-page .basic-auth .basic-card{padding:30px!important;border:1px solid var(--cgk-border);border-radius:15px;background:#fff;box-shadow:0 12px 40px #13365707}
.admin-full-page .basic-auth h1{font-size:28px;line-height:1.25;letter-spacing:-.035em}.admin-full-page .basic-auth p{font-size:14px;line-height:1.8}.admin-full-page #basic-auth-form{display:flex!important;flex-direction:column;gap:19px;margin-top:22px}.admin-full-page #basic-auth-form>.field,.admin-full-page #basic-auth-form .identity-grid{grid-column:auto;grid-row:auto}
.field{min-width:0}.field label,.portal-content #basic-auth-form .field label{font-size:14px;line-height:1.6;font-weight:500}
.field input,.field select,.field textarea,.portal-content #basic-auth-form .field input{font-size:16px!important;line-height:1.5;min-height:46px;width:100%;min-width:0;padding:11px 12px!important;border:1px solid #cfdceb;border-radius:8px;color:#173b60;background:#fff}
.field small,.basic-field-help,.fine{font-size:12px!important;line-height:1.8;color:#687e96}.field textarea{resize:vertical;min-height:90px}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:13px!important;line-height:1.8!important}.check-row input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:var(--cgk-blue)}
.identity-grid{gap:18px}.identity-grid>.field{min-width:0}.identity-grid input[type=file]{min-width:0;max-width:100%;font-size:13px!important;overflow:hidden}.identity-grid input[type=file]::file-selector-button{padding:8px 10px;border:0;border-radius:5px;background:#edf3fc;color:#275981;margin-right:8px;font:inherit}
.portal-content #basic-auth-form [type=submit]{min-height:47px;font-size:15px}.basic-auth-alternative{font-size:14px!important;line-height:1.7}.basic-auth-alternative .btn{font-size:14px!important;min-height:44px!important}.basic-auth-alternative>strong{font-size:14px!important}
#modal{width:min(760px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:25px;overflow:auto;overscroll-behavior:contain;border:1px solid #d3dfec;margin:auto;border-radius:15px}
#modal .basic-section-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:18px}#modal h2{font-size:24px;line-height:1.3;margin:0;letter-spacing:-.025em}#modal .basic-close{width:40px;min-width:40px;height:40px;min-height:40px;font-size:21px;flex:none}#modal p{font-size:14px;line-height:1.8;color:#5e768e}#modal .field{margin:0}#modal .field input,#modal .field select,#modal .field textarea{min-height:46px;font-size:16px!important}#modal form{gap:18px}#modal .btn{font-size:14px;min-height:46px}#modal .check-row{font-size:13px}#modal .payment-proof{max-height:45dvh}.report-details{grid-template-columns:140px minmax(0,1fr);gap:13px;font-size:14px;line-height:1.6}.report-details dd{min-width:0;overflow-wrap:anywhere}.payment-form-summary{font-size:14px;line-height:1.8}.payoff-summary>div{font-size:14px;line-height:1.6}.payoff-summary .payoff-total{font-size:16px}.payoff-modal-note{font-size:13px!important}.manual-copy-number{display:block;user-select:all;overflow-wrap:anywhere;padding:22px;background:#edf4fc;color:#174372;font-size:20px;line-height:1.6;border-radius:10px;margin:20px 0}.help-grid{display:grid;gap:22px;margin-top:25px}.help-grid article{border-top:1px solid #dfe7f1;padding-top:20px}.help-grid h2{font-size:20px}.help-grid p{font-size:15px;line-height:1.8}
#toast{max-width:min(520px,calc(100% - 32px));white-space:normal;font-size:14px;line-height:1.7;overflow-wrap:anywhere;z-index:100}

@media(min-width:1001px) and (min-height:820px){
 .scene-app{grid-template-rows:88px minmax(0,1fr) 40px}.scene-main{grid-template-rows:80px minmax(0,610px);align-content:center;padding:16px 0 24px;gap:16px}.scene-app .scene-planner{max-height:610px;grid-template-columns:1.1fr 1fr}.scene-controls{padding:30px 36px;gap:28px}.scene-app .scene-result{padding:28px 32px}.scene-app .cgk-quote-top>strong{font-size:clamp(39px,4.1vw,60px)}
}
/* Las pantallas bajas y móviles tienen desplazamiento natural, sin recortar el formulario. */
@media(max-width:1000px),(max-height:819px){
 html,body{height:auto;min-height:100%;overflow-y:auto;overflow-x:clip}#app{height:auto;min-height:100dvh}.scene-app{height:auto;min-height:100dvh;overflow:visible;grid-template-rows:auto auto auto}.scene-header{position:relative}.scene-header>div{min-height:80px;height:auto;padding:14px 0;gap:18px}.scene-main{height:auto;min-height:0;grid-template-rows:auto auto;width:min(900px,calc(100% - 40px));padding:24px 0 30px;gap:23px}.scene-heading{min-height:45px}.scene-app .scene-heading h1{font-size:30px;line-height:1.25}.scene-app .scene-planner{height:auto;min-height:0;max-height:none;grid-template-rows:auto;grid-template-columns:minmax(0,1fr);align-self:auto;border-radius:16px}.scene-step-nav,.scene-next{display:none!important}.scene-planner .cgk-planner-heading{display:none;grid-row:auto;grid-column:auto;height:auto}.scene-app .scene-controls{display:flex!important;flex-direction:column;grid-row:auto;grid-column:1;padding:28px;gap:30px;overflow:visible;min-height:0;justify-content:flex-start}.scene-app .scene-controls .scene-amount-step,.scene-app .scene-controls .scene-date-step{display:flex!important;min-height:0;flex:none;flex-direction:column;gap:0}.scene-app .scene-result{display:flex!important;grid-row:auto;grid-column:1;min-height:390px;max-height:none;padding:28px;overflow:visible}.scene-result:before,.scene-result:after{display:none}.scene-app .scene-result .cgk-quote{flex:none;display:flex;justify-content:flex-start;min-height:0}.scene-app .cgk-quote-top{padding:22px 0;gap:9px}.scene-app .cgk-quote-top>strong{font-size:44px}.scene-app .cgk-quote-top small{font-size:13px}.scene-app .cgk-quote-breakdown>div,.scene-app .cgk-quote-breakdown strong{font-size:14px}.scene-app .cgk-quote-total strong{font-size:24px}.scene-app .scene-result .cgk-rate-explanation{font-size:12px}.scene-app .scene-amount-row input{font-size:46px!important;width:200px!important;text-align:left}.scene-app .scene-amount-row .cgk-amount-input{justify-content:flex-start}.scene-app .cgk-period-picker{margin-bottom:27px}.scene-app .cgk-period-picker legend small{font-size:12px;margin-left:8px}.scene-app .cgk-date-options{grid-template-columns:1fr 1fr;gap:12px}.scene-app .cgk-date-options button{min-height:78px;padding:13px 38px 13px 14px}.scene-app .cgk-date-options button[aria-pressed=true]{padding:12px 37px 12px 13px}.scene-app .cgk-date-options button strong{font-size:15px}.scene-app .cgk-date-options button i{width:20px;height:20px;right:11px}.scene-app .cgk-date-options button>span{font-size:13px}.scene-app .cgk-continue{font-size:15px;min-height:48px}.scene-footer{min-height:44px;width:calc(100% - 40px);padding:10px 0 16px;font-size:11px;flex-wrap:wrap;gap:10px}.scene-live{display:none}.scene-decor{display:none}
}
@media(min-width:1001px) and (max-height:819px){.scene-main{width:min(1280px,calc(100% - 64px))}.scene-app .scene-planner{grid-template-columns:1.1fr 1fr}.scene-app .scene-result{grid-column:2;grid-row:1}.scene-app .scene-controls{grid-column:1;grid-row:1;justify-content:center}.scene-app .scene-header>div{min-height:80px}}
@media(max-width:1100px){
 .admin-dashboard .basic-page-title{grid-template-columns:1fr}.admin-dashboard .basic-page-title .row-actions{justify-content:flex-start}.admin-dashboard .basic-stats{gap:14px}.admin-dashboard .basic-stats strong{font-size:28px}.admin-dashboard .basic-tabs button{padding:11px 13px;font-size:13px}.account-shell{grid-template-columns:175px minmax(0,1fr);gap:24px}.account-main-grid{grid-template-columns:1fr}.account-balance-card{display:flex;gap:0}.account-balance-card>span{margin-top:15px}.account-balance-card dl{width:100%;border-top:1px solid #e7edf4;margin-top:15px;padding-top:15px}.account-balance-card>p{margin-top:10px}.account-bottom-grid{grid-template-columns:1fr}.account-content .collection-method-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
 :root{--cgk-header:72px}.scene-header>div{width:calc(100% - 32px);display:flex;flex-wrap:wrap;gap:12px;justify-content:center;padding:14px 0 12px}.scene-header .brand-art{width:183px;height:43px}.scene-header .brand-art img{width:207px;height:155.25px;top:-56px;left:-12px}.scene-header nav{width:100%;margin:0;display:grid;grid-template-columns:.7fr 1.15fr 1.35fr;gap:5px}.scene-header nav a{font-size:12px!important;padding:8px 6px!important;min-height:48px;line-height:1.4}.scene-main{width:calc(100% - 32px);padding-top:22px}.scene-app .scene-heading h1{font-size:26px}.scene-app .scene-controls{padding:23px 21px;gap:27px}.scene-app .scene-result{padding:24px 21px}.scene-app .cgk-period-picker>div{gap:6px}.scene-app .cgk-period-picker button{font-size:15px;min-height:44px}.scene-app .scene-amount-row>label,.scene-app .cgk-period-picker legend,.scene-app .cgk-date-picker legend{font-size:15px}.scene-app .cgk-quote-top>strong{font-size:42px}.scene-footer>span:nth-child(2){display:none}
 .admin-full-page>.portal-toolbar{height:var(--cgk-header);min-height:var(--cgk-header);padding:0 16px;gap:8px;flex-wrap:nowrap}.portal-toolbar .portal-brand-group{gap:0}.portal-toolbar .portal-brand-group h2{display:none}.portal-toolbar .brand-art{width:156px;height:37px}.portal-toolbar .brand-art img{width:176px;height:132px;top:-47px;left:-10px}.portal-toolbar nav{gap:3px!important}.portal-toolbar nav button,.portal-toolbar nav a{font-size:12px;padding:9px;min-height:42px}.portal-toolbar nav a{display:none}
 .admin-full-page:has(.admin-dashboard)>.portal-body{padding:24px 16px 40px}.admin-dashboard{gap:21px}.admin-dashboard .basic-page-title{gap:17px}.admin-dashboard .basic-page-title h1{font-size:27px;line-height:1.25}.admin-dashboard .basic-page-title p{font-size:14px}.admin-dashboard .basic-page-title .row-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.admin-dashboard .basic-page-title .btn{font-size:13px;min-height:48px;padding:11px}.admin-dashboard .basic-stats{grid-template-columns:1fr 1fr;gap:12px}.admin-dashboard .basic-stats .basic-card{padding:18px!important}.admin-dashboard .basic-stats strong{font-size:28px}.admin-dashboard .basic-stats span{font-size:12px}.admin-dashboard .basic-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;white-space:normal;padding:6px}.admin-dashboard .basic-tabs button{min-height:44px;font-size:13px;padding:10px 8px}.admin-dashboard .basic-tabs button:last-child{grid-column:1/-1}.admin-dashboard .basic-card{padding:19px!important}.admin-dashboard .basic-section-heading h2{font-size:20px}.admin-dashboard .basic-section-heading{margin-bottom:14px;flex-wrap:wrap}.admin-dashboard .basic-section-heading .btn{min-height:44px;font-size:13px}.admin-dashboard .basic-loan-summary{grid-template-columns:1fr;gap:17px}.admin-dashboard .basic-loan-summary>div{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8px}.admin-dashboard .basic-loan-summary strong{text-align:right;font-size:27px}.admin-dashboard .basic-loan-summary small{grid-column:2;text-align:right}.portal-loan-heading{flex-direction:column;align-items:stretch}.portal-loan-heading select{width:100%;min-width:0;flex:none}.portal-loan-heading .btn{width:100%;white-space:normal}.admin-dashboard .collection-method-grid{grid-template-columns:1fr}
 .admin-full-page:has(.account-shell)>.portal-body{padding:0 16px}.account-shell{display:flex;flex-direction:column;gap:0}.account-sidebar{top:var(--cgk-header);width:100%;padding:11px 0;background:#f5f7fa;z-index:10;border:0;border-bottom:1px solid #dfe7f0;min-height:0}.account-sidebar-label,.account-sidebar-bottom{display:none}.account-sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:5px}.account-sidebar nav button{flex-direction:column;justify-content:center;gap:6px;padding:10px 3px;min-height:64px;font-size:12px;line-height:1.25;position:relative}.account-sidebar nav button svg{width:20px;height:20px}.account-sidebar nav button[aria-current]{box-shadow:inset 0 -2px var(--cgk-blue)}.account-sidebar nav b{position:absolute;right:8px;top:6px;width:17px;height:17px;min-width:17px;font-size:10px;line-height:17px}.account-welcome h1{font-size:27px}.account-welcome p{font-size:13px}.account-welcome>div>span{font-size:10px}.account-content.client-dashboard{padding-top:24px;gap:20px}.account-payment-hero{min-height:285px;padding:25px}.account-hero-amount{font-size:42px}.account-hero-actions{align-items:flex-start;gap:15px}.account-hero-actions .btn.green{font-size:14px;min-height:46px}.account-hero-link{font-size:13px}.account-hero-stamp{right:-30px;opacity:.07}.account-balance-card{padding:24px}.account-balance-card dl>div{font-size:13px}.account-balance-card>p,.account-balance-card>small{font-size:13px}.account-main-grid,.account-bottom-grid{gap:18px}.account-balance-card>strong{font-size:30px}.account-credit-terms{grid-template-columns:1fr;padding:18px}.account-credit-terms span{font-size:13px}.account-request-hero{padding:24px}.account-request-hero h2{font-size:25px}.account-request-hero>p{font-size:14px}.account-request-numbers{gap:20px;display:grid;grid-template-columns:1fr 1fr}.account-request-numbers>div:last-child{grid-column:1/-1}.account-request-numbers span{font-size:12px}.account-request-numbers strong{font-size:25px}.account-request-progress{gap:8px;flex-wrap:wrap}.account-request-progress>span{min-width:75px;font-size:11px}.account-section-intro{align-items:start;flex-wrap:wrap;gap:12px}.account-section-intro h2{font-size:25px}.account-section-intro p{font-size:14px}.account-section-intro .btn{width:100%;font-size:14px;min-height:46px}.account-quick-card{padding:23px;gap:14px}.account-quick-card>div{min-width:0}.account-quick-card .btn{width:100%;margin-left:0;font-size:14px}.account-soon{margin-left:0;font-size:12px}.account-next-list>div{flex-wrap:wrap;gap:12px}.account-next-list>div>div{flex:1;min-width:130px}.account-next-list>div>div>span{font-size:12px}.account-next-list strong{font-size:14px}.account-next-list b{font-size:16px}.account-next-list small{font-size:11px;min-width:auto}.account-document-note{padding:18px 2px 0;gap:12px}.account-document-note strong{font-size:13px}.account-document-note span{font-size:12px}.account-document-note .account-outline-link{font-size:13px;min-height:40px}.account-review-notice{padding:17px}.account-review-notice span{font-size:13px}.account-review-notice button{font-size:13px;margin-left:0;min-height:42px}.account-neutral-note{font-size:13px;align-items:flex-start}.account-footer{font-size:11px;line-height:1.6}.account-loan-select{flex-direction:column;align-items:start;font-size:14px;gap:8px}.account-loan-select select{max-width:none;width:100%;min-height:46px;font-size:16px}.method-qr-preview{gap:16px}.method-qr-preview strong,.method-qr-preview span{font-size:13px}.method-bank-line strong{font-size:15px}.method-bank-line>span{font-size:12px}.account-content .collection-method{padding:20px}.account-client-details dl{font-size:13px;grid-template-columns:105px 1fr}
 .identity-grid{grid-template-columns:1fr!important;gap:18px}.identity-documents{grid-template-columns:1fr;gap:18px}.admin-full-page .basic-auth{margin:24px auto 40px;width:100%;max-width:520px}.admin-full-page .basic-auth .basic-card{padding:24px 20px!important}.admin-full-page .basic-auth h1{font-size:27px}.admin-full-page .basic-auth:has(.identity-grid){max-width:none!important}.admin-full-page .basic-auth .fine{display:block}
 #modal{width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:22px 18px;padding-bottom:max(22px,env(safe-area-inset-bottom));border-radius:13px}#modal h2{font-size:23px}#modal .basic-section-heading{gap:12px}#modal .report-details{grid-template-columns:1fr;gap:5px}#modal .report-details dd{margin-bottom:11px}#modal .payoff-summary{padding:19px;gap:16px}#modal .payoff-summary>div{font-size:13px}#modal .payoff-total strong{font-size:25px}.payoff-summary>div>span{max-width:65%}#modal .basic-quote-total{display:flex;flex-wrap:wrap;gap:15px;font-size:14px}
 /* Las tablas se convierten en fichas; cada dato mantiene su encabezado. */
 .basic-table{overflow:visible;border-radius:0}.basic-table table,.basic-table tbody{display:block;width:100%;min-width:0}.basic-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.basic-table tr{display:block;background:#fff;border:1px solid #dfe7f1;border-radius:10px;padding:7px 16px;margin-bottom:14px}.basic-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;text-align:right!important;padding:12px 0!important;border:0!important;border-bottom:1px solid #edf1f6!important;font-size:14px!important;min-width:0;line-height:1.7;flex-wrap:wrap}.basic-table td:last-child{border-bottom:0!important}.basic-table td:before{content:attr(data-label);text-align:left;font-size:12px;color:#7c8fa4;line-height:1.6;font-weight:400;flex:0 0 30%;max-width:40%}.basic-table td:first-child{padding-top:15px!important}.basic-table td>small{flex-basis:100%;text-align:right}.basic-table td>.row-actions{justify-content:flex-end;flex:1;min-width:0;gap:8px}.basic-table td .btn,.basic-table td .basic-text-button{min-height:44px;font-size:13px!important;padding:10px}.basic-table td>strong{font-size:14px}.basic-table td button,.basic-table td .btn{max-width:100%}.basic-table td>button{margin-left:auto}.basic-table td>small.row-note{font-size:12px!important}.basic-table td>span.basic-badge{margin-left:auto}.basic-table td>div.row-actions>.btn{flex:1 1 105px}.basic-table td>div.row-actions>.basic-text-button{flex:1 1 100px}.basic-table td .row-note{font-size:12px!important}.account-content .basic-table td{padding:12px 0!important;font-size:14px!important}.portal-pager{font-size:12px;gap:14px}
}
@media(max-width:380px){.scene-header nav a{font-size:11px!important}.scene-app .scene-controls,.scene-app .scene-result{padding:22px 18px}.scene-app .cgk-date-options{grid-template-columns:1fr}.scene-app .cgk-period-picker>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.scene-app .scene-amount-row input{font-size:42px!important;width:170px!important}.scene-app .scene-heading h1{font-size:24px}.portal-toolbar .brand-art{width:130px;height:32px}.portal-toolbar .brand-art img{width:149px;height:111.75px;left:-9px;top:-40px}.portal-toolbar nav button{font-size:11px;padding:8px}.admin-dashboard .basic-page-title .row-actions{grid-template-columns:1fr}.admin-dashboard .basic-stats strong{font-size:25px}.admin-dashboard .basic-stats .basic-card{padding:16px!important}.account-sidebar nav button{font-size:11px}.account-request-numbers{gap:16px}.account-hero-amount{font-size:36px}.account-request-progress>span{font-size:11px;min-width:60px}.account-quick-card{padding:20px}.basic-table tr{padding:6px 13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.scene-cube{animation:none!important}}

/* Evita mínimos intrínsecos del grid y el flex:0 heredado que solapaba controles. */
.scene-app{grid-template-columns:minmax(0,1fr)}.scene-header,.scene-header>div,.scene-main,.scene-planner,.scene-controls,.scene-result{min-width:0;max-width:100%}.scene-header{width:100%}.scene-app .scene-heading h1{white-space:normal}.scene-app fieldset{min-inline-size:0}.scene-header nav a{min-width:0;overflow-wrap:break-word}.scene-app .scene-controls .scene-amount-step,.scene-app .scene-controls .scene-date-step{flex:0 0 auto!important;height:auto!important}
@media(max-width:1000px),(max-height:819px){.scene-app .scene-planner{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}.scene-main{min-width:0}.scene-app .scene-controls{min-width:0}.scene-app .scene-amount-row input{max-width:calc(100vw - 140px)}.scene-app .cgk-quote-top>strong{font-size:clamp(27px,9vw,44px)}.scene-app .cgk-date-options{min-width:0}.scene-app .cgk-date-options button{min-width:0}.scene-app .cgk-period-picker>div{min-width:0}}
@media(min-width:1001px) and (max-height:819px){.scene-app .scene-planner{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}}

.info-page{height:auto;min-height:100dvh;overflow:auto;background:#f5f7fa}.info-header{max-width:1060px;margin:auto;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.info-content{max-width:850px;margin:28px auto 60px;padding:32px;background:#fff;border:1px solid #dce5ef;border-radius:16px}.info-content h1{font-size:36px;line-height:1.2;letter-spacing:-.04em}.info-lead{font-size:16px;color:#698199;line-height:1.8}.info-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #dce5ef;padding-top:24px;margin-top:30px;font-size:14px}@media(max-width:650px){.info-header{padding:18px 16px}.info-header .brand-art{width:155px;height:37px}.info-header .brand-art img{width:176px;height:132px;top:-47px;left:-10px}.info-header .btn{font-size:13px}.info-content{margin:10px 16px 35px;padding:24px 20px}.info-content h1{font-size:29px}.info-lead{font-size:15px}}@media(max-width:380px){.admin-dashboard .basic-stats{grid-template-columns:1fr}.admin-dashboard .basic-stats .basic-card{padding:20px!important}}

/* El registro anterior colocaba campos del DNI en columnas implícitas de pocos píxeles. */
.portal-content #basic-auth-form .field{grid-column:auto!important;grid-row:auto!important;width:100%;min-width:0}.portal-content #basic-auth-form .identity-grid{width:100%;min-width:0}.portal-content #basic-auth-form .identity-grid>.field{min-width:0;width:100%}
@media(max-width:340px){.portal-toolbar .brand-art{width:118px;height:29px}.portal-toolbar .brand-art img{width:134px;height:100.5px;left:-8px;top:-36px}.portal-toolbar nav button{font-size:10px;padding:8px 6px}}

/* Registro de clientes: bloques claros y documentos con vista previa. */
.registration-shell{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.65fr);align-items:start;gap:32px;max-width:1260px;margin:28px auto 60px;color:#123553}
.registration-intro{position:sticky;top:110px;background:#102f50;color:#fff;border-radius:22px;padding:38px 30px;overflow:hidden;border:1px solid #24486b;box-shadow:0 16px 38px #12355312}
.registration-intro>img{width:56px;height:56px;background:#fff;border-radius:14px;padding:6px;margin-bottom:30px}.registration-intro .basic-kicker{display:block;color:#90c6ff;font-size:10px;letter-spacing:.12em}
.registration-intro h1{font-size:clamp(26px,2.8vw,36px);line-height:1.2;color:#fff;letter-spacing:-.04em;margin:16px 0 20px}.registration-intro>p{font-size:14px;color:#b9cee2;line-height:1.85}
.registration-intro ol{list-style:none;padding:0;margin:36px 0;display:grid;gap:22px}.registration-intro li{display:flex;align-items:center;gap:12px;font-size:14px}.registration-intro li>span{display:grid;place-items:center;border:1px solid #55728f;border-radius:50%;width:30px;height:30px;color:#add4ff;font-size:12px}
.registration-intro-foot{border-top:1px solid #355573;padding-top:26px;font-size:13px;color:#adc3d8;line-height:1.9}.registration-intro-foot a{display:block;color:#fff;font-weight:600}
.registration-form-card{background:#fff;border:1px solid #dce5ef;border-radius:22px;padding:34px;min-width:0;box-shadow:0 12px 40px #13365705}.registration-form-card .basic-back{font-size:13px;display:inline-block;margin:0 0 28px}.registration-form-card header .basic-kicker{font-size:10px;letter-spacing:.12em}.registration-form-card h2{font-size:32px;letter-spacing:-.04em;margin:9px 0 10px}.registration-form-card header>p{color:#70859a;font-size:14px;line-height:1.7}.registration-form-card .basic-selected-plan{margin-top:22px;font-size:13px}
.portal-content .registration-form-card #basic-auth-form{display:flex!important;flex-direction:column;gap:0;margin-top:0}.registration-section{padding:27px 0 25px;margin:0;border:0;min-width:0;border-bottom:1px solid #e8edf4}.registration-section legend{float:left;display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;letter-spacing:-.02em;width:100%;margin-bottom:18px}.registration-section legend>span{font-size:11px;color:#0070e3;background:#eef5ff;border-radius:8px;padding:7px 8px;font-weight:600}.registration-section legend+*{clear:both}.registration-section>p{color:#6b8199;font-size:13px;line-height:1.75;margin:0 0 18px}.registration-section .identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.registration-section .field{margin:0!important}.registration-section .field label{display:block;font-size:13px!important;font-weight:500}.registration-section input,.registration-section select{margin-top:7px}.registration-section .field small{font-size:11px;color:#748ba3;display:block;margin-top:7px;font-weight:400}.identity-location-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.registration-section select:disabled{background:#f4f6f9;color:#97a6b6}.registration-section [hidden],.identity-upload [hidden]{display:none!important}
.identity-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.identity-upload{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:#fafcfe;border:1px dashed #c2d3e5;border-radius:12px;padding:17px 14px;cursor:pointer;min-width:0}.identity-upload:hover,.identity-upload:focus-within{border-color:#0075f2;background:#f1f7ff;box-shadow:0 0 0 3px #0075f211}.identity-upload-icon{border-radius:10px;background:#e8f1ff;color:#1675dc;display:grid;place-items:center;width:32px;height:32px;font-size:22px}.identity-upload strong{font-size:12px;color:#153d65;line-height:1.6}.identity-upload>span:not(.identity-upload-icon){font-size:11px;color:#768ba0;line-height:1.6}.identity-upload input{position:absolute;width:1px!important;height:1px!important;min-height:0!important;opacity:0;padding:0!important;bottom:18px;left:18px}.identity-upload .identity-file-status{margin-top:auto;padding-top:5px;color:#006bdc!important;font-weight:600;overflow-wrap:anywhere}.identity-upload img{width:100%;height:105px;object-fit:contain;border-radius:6px;background:#eaf0f5}.identity-upload.has-photo{border-style:solid;border-color:#96c6b2;background:#f5fbf8}
.registration-help{display:block;font-size:12px;color:#73889f;line-height:1.8;margin-top:12px}.registration-bank-note{padding:16px 18px;border-radius:10px;background:#edf6ff;display:flex;flex-direction:column;gap:7px;margin-top:20px;border-left:3px solid #0072eb}.registration-bank-note strong{font-size:13px;color:#0e548b}.registration-bank-note span{font-size:12px;color:#577995;line-height:1.8}.registration-consent{margin:25px 0 0!important;align-items:flex-start!important;font-size:12px!important;line-height:1.8!important;color:#658099}.registration-consent input{width:18px!important;min-height:18px!important;height:18px!important;margin-top:3px!important;flex-shrink:0}.registration-consent a{color:#006be4;text-decoration:underline}.registration-submit{display:flex;justify-content:space-between;align-items:center;padding:16px 20px!important;border-radius:10px!important;min-height:54px!important;font-size:15px!important;box-shadow:0 4px 0 #004b9c!important}.registration-submit-help{text-align:center}.registration-form-card .error:empty{display:none}.registration-form-card .error{margin:18px 0;color:#ad2633}
.account-hero-actions .account-register-payment{background:#0875f4!important;border:1px solid #4c9eff!important;color:#fff!important;min-height:49px;padding:13px 20px!important;border-radius:10px;box-shadow:0 4px 0 #004caa,0 7px 18px #001e5a30;font-size:14px;font-weight:650}.account-hero-actions .account-register-payment:hover:not(:disabled){background:#258bff!important;transform:translateY(-2px)}.account-hero-actions .account-register-payment:focus-visible{outline:3px solid #a8d4ff;outline-offset:4px}.account-hero-actions .account-register-payment:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.identity-documents{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}.identity-documents figure{min-width:0}.report-details dd{overflow-wrap:anywhere}
@media(max-width:1050px){.registration-shell{grid-template-columns:minmax(210px,.65fr) minmax(0,1.65fr);gap:22px}.registration-intro{padding:28px 22px}.registration-form-card{padding:26px}.identity-location-grid{grid-template-columns:1fr}.identity-upload-grid{grid-template-columns:1fr}.identity-upload{display:grid;grid-template-columns:36px minmax(0,1fr);gap:4px 12px}.identity-upload-icon{grid-row:1/4}.identity-upload .identity-file-status{grid-column:2}.identity-upload img{grid-column:1/-1;height:150px}}
@media(max-width:760px){.registration-shell{grid-template-columns:minmax(0,1fr);margin:14px auto 35px;gap:16px}.registration-intro{position:static;padding:24px;display:grid;grid-template-columns:46px minmax(0,1fr);gap:0 16px;border-radius:16px}.registration-intro>img{width:46px;height:46px;margin:0;grid-row:1/3}.registration-intro h1{font-size:23px;margin:8px 0 0}.registration-intro h1 br{display:none}.registration-intro>p,.registration-intro ol,.registration-intro-foot{display:none}.registration-form-card{padding:23px 20px;border-radius:16px}.registration-form-card h2{font-size:28px}.registration-form-card .basic-back{margin-bottom:20px}.registration-section legend{font-size:16px}.registration-section .identity-grid{grid-template-columns:1fr}.registration-section{padding:25px 0}.registration-consent{font-size:12px!important}.registration-submit{font-size:14px!important}.account-hero-actions .account-register-payment{width:100%;justify-content:center}.account-hero-actions{gap:14px}}

.planner-level{font-size:11px;color:#607b98;font-weight:500;margin-left:12px;letter-spacing:0}.account-credit-level{border:1px solid #cbdff4;border-left:4px solid #0875f4;background:#f1f7ff;border-radius:12px;padding:23px 25px;display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.account-credit-level h2{font-size:18px;letter-spacing:-.02em;line-height:1.6;margin:9px 0 5px}.account-credit-level p{font-size:13px;color:#668099;line-height:1.8;margin:0}.level-badge{display:inline-block;font-size:10px;letter-spacing:.08em;font-weight:700;color:#0069d6;background:#dcecff;padding:6px 9px;border-radius:6px}.account-credit-level details{max-width:370px;flex:0 1 340px;padding-top:8px}.account-credit-level summary{cursor:pointer;color:#0068d6;font-size:13px;font-weight:600;min-height:36px}.account-credit-level details p{margin:10px 0}.account-credit-level ol{padding:0;list-style:none;display:grid;gap:7px}.account-credit-level li{padding:10px 12px;background:#fff;border-radius:8px;font-size:12px;color:#335775}.account-credit-level li small{display:block;margin-top:5px;color:#8295a8;font-size:11px}.account-credit-level li[aria-current]{box-shadow:inset 3px 0 #0075f2;background:#e4efff}.account-request-draft{padding:22px 25px;border:1px solid #c2d8f2;border-radius:12px;background:#fff;display:flex;justify-content:space-between;gap:20px;align-items:center}.account-request-draft strong{font-size:15px}.account-request-draft p{font-size:13px;color:#6b8298;line-height:1.7;margin:8px 0 0}.account-request-draft>div:last-child{display:flex;gap:12px;align-items:center;flex-shrink:0}.account-request-draft .btn{font-size:13px;min-height:44px;padding:12px 16px}
@media(max-width:760px){.planner-level{display:block;margin:5px 0 0;font-size:10px}.account-credit-level,.account-request-draft{padding:20px;flex-direction:column;gap:16px}.account-credit-level details{max-width:none;flex:0 0 auto;width:100%;padding:0}.account-credit-level h2{font-size:17px}.account-request-draft>div:last-child{width:100%;flex-wrap:wrap}.account-request-draft .btn{flex:1;justify-content:center}}

@media(max-width:760px){.registration-intro-foot{display:block!important;grid-column:1/-1;margin-top:18px;padding-top:16px}.registration-intro-foot a{display:inline-block;margin-left:8px}}

.security-enrollment{max-width:450px;margin:auto}.security-enrollment img{display:block;width:230px;max-width:100%;margin:20px auto}.security-enrollment code{display:block;overflow-wrap:anywhere;background:#edf4fd;padding:14px;border-radius:8px}.recovery-codes{display:grid;grid-template-columns:1fr;gap:10px;margin:24px 0}.recovery-codes code{overflow-wrap:anywhere;background:#f0f5fb;padding:10px;font-size:12px}.security-status{padding:20px;background:#f0f6fe;border-radius:12px;margin-bottom:20px}.account-request-draft{margin-bottom:6px}.account-confirmed-list a{font-size:12px;color:#006ce5}.identity-upload>input[name=proof]{position:static;width:100%!important;height:auto!important;opacity:1}.identity-upload>img[data-file-preview]{max-width:100%;height:160px;object-fit:contain}#modal form .field{margin:16px 0}.row-actions{flex-wrap:wrap}

.admin-search-row{background:#fff;border:1px solid #dbe5ef;border-radius:12px;padding:18px;margin:20px 0}.admin-search-row label{display:block;font-size:13px;color:#657e99;margin-bottom:9px}.admin-search-row>div{display:flex;gap:12px}.admin-search-row input{flex:1;min-width:0;border:1px solid #ccdaea;border-radius:8px;padding:12px;font-size:16px}.admin-finance-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.admin-finance-totals span{padding:17px 20px;border:1px solid #d9e4ef;border-radius:12px;background:white;font-size:12px;color:#6c829b}.admin-finance-totals strong{display:block;margin-top:9px;font-size:21px;color:#123b61}@media(max-width:760px){.admin-finance-totals{grid-template-columns:1fr}.admin-search-row{padding:15px}.admin-search-row>div{gap:8px}.admin-search-row button{padding:10px!important;font-size:13px}}

@media(max-width:760px){.admin-scroll-page{--cgk-header:116px}.admin-full-page>.portal-toolbar{height:auto!important;min-height:106px!important;flex-wrap:wrap!important;align-content:center;justify-content:space-between;gap:6px!important;padding:12px 16px!important}.portal-toolbar .portal-brand-group{width:100%;flex:none}.portal-toolbar nav{display:flex!important;flex-wrap:wrap;width:100%;justify-content:flex-end;gap:4px!important;min-width:0}.portal-toolbar nav [data-action=refresh-data]{display:none}.portal-toolbar nav button{font-size:12px!important;padding:8px 10px!important;min-height:38px}.portal-toolbar nav a{display:none}}

.admin-search-row select{margin:8px 0 0;padding:10px;border:1px solid #cdddeb;border-radius:8px;font-size:15px;max-width:100%}.admin-date-filters{margin-top:14px;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-date-filters input{width:100%;max-width:100%;font-size:15px;min-width:0}@media(max-width:380px){.admin-date-filters{grid-template-columns:1fr}}
/* Estado inmediato de navegación y formularios de corrección */
.admin-loading{position:relative;opacity:.62;pointer-events:none;transition:opacity .12s ease}
.admin-loading::before{content:'Cargando sección…';position:absolute;top:16px;right:20px;padding:8px 12px;background:#123c63;color:#fff;border-radius:8px;z-index:2;font-size:13px}
.basic-tabs button{transition:background .12s,color .12s,box-shadow .12s}
.document-state{max-width:240px;line-height:1.5}
.document-review-summary,.correction-instructions{display:grid;gap:8px;padding:18px;background:#edf5ff;border:1px solid #ccdef6;border-radius:12px;margin-bottom:20px}
.correction-instructions p{margin:0;color:#143b61;font-weight:600}
.observation-history{margin:18px 0;padding:16px;border:1px solid #d4e1ef;border-radius:12px}
.observation-history article{padding:12px 0;border-bottom:1px solid #e2e9f1}
.observation-history p{margin:8px 0}.observation-history small{color:#60758a}
.correction-pending{border-color:#98d7c3;background:#effbf6}
.contact-channel{display:grid;grid-template-columns:1fr auto;gap:12px;margin:14px 0;padding:18px;border:1px solid #d4e1ef;border-radius:12px}
.contact-channel label{align-self:end}.contact-channel p{grid-column:1/-1;margin:0;font-size:14px}
.contact-confirmed{border-color:#279b7b;background:#f2fbf7}
@media(max-width:600px){.contact-channel{grid-template-columns:1fr}.contact-channel button{width:100%}.document-review-summary{padding:12px}.admin-loading::before{right:10px;top:8px}}
/* Administración: tablas legibles y filtros alineados */
.admin-dashboard{--admin-surface:#fff;--admin-line:#dce6f0;gap:22px}
.admin-dashboard .admin-filter-bar{display:block;margin:0;padding:20px 22px;border:1px solid var(--admin-line);border-radius:14px;background:var(--admin-surface);min-width:0}
.admin-filter-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:16px}.admin-filter-heading strong{font-size:14px;color:#173e61}.admin-filter-heading>span{font-size:12px;color:#7c8ea2}
.admin-filter-controls{display:flex;align-items:flex-end;gap:14px;min-width:0}.admin-filter-controls>label{display:grid;gap:7px;margin:0;min-width:0}.admin-filter-controls label>span{font-size:12px;font-weight:500;line-height:1.4;color:#637c95}.admin-filter-controls .filter-search{flex:1 1 280px}.admin-filter-controls .filter-status{flex:0 1 190px}.admin-filter-controls .filter-date{flex:0 1 160px}
.admin-filter-controls input,.admin-filter-controls select{width:100%;box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:10px 12px;border:1px solid #cedbea;border-radius:8px;background:#fbfcfe;font:inherit;font-size:14px;color:#173a5d;min-width:0;outline:none}.admin-filter-controls input:focus,.admin-filter-controls select:focus{border-color:#1676df;box-shadow:0 0 0 3px #0878ec12;background:white}.admin-filter-controls input::placeholder{color:#91a0b0;font-size:13px}
.filter-buttons{display:flex;align-items:center;gap:12px;flex:none}.filter-buttons .btn{min-height:44px;font-size:13px;padding:10px 16px;white-space:nowrap}.filter-reset{border:0;background:none;color:#637b92;font-size:12px;min-height:44px;padding:8px 2px;cursor:pointer}.filter-reset:hover{color:#0569cb;text-decoration:underline}
.admin-dashboard .admin-finance-totals{margin:0;gap:14px}.admin-dashboard .admin-finance-totals>span{padding:15px 19px;border-radius:11px;background:#f8fbff;border-color:#e1e9f2}.admin-finance-totals strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-dashboard .basic-table .amount-cell{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums;font-weight:500;color:#173e62}
@media(min-width:761px){.request-table table{table-layout:fixed;min-width:1000px}.request-table .request-client-col{width:23%}.request-table .amount-col{width:11%;white-space:nowrap}.request-table .count-col{width:6%;text-align:center}.request-table .request-state-col{width:23%}.request-table .request-actions-col{width:26%}.request-table .count-cell{text-align:center}.request-table .amount-cell{min-width:105px}.admin-dashboard .basic-table th:last-child{padding-right:22px!important}}
.request-client{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.request-client strong{font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:break-word}.request-client .row-note{margin:0}.request-profile-link{padding:4px 0;border:0;background:none;color:#0a6acc;text-align:left;font-size:12px;font-weight:500;line-height:1.6;cursor:pointer}.request-profile-link:hover{text-decoration:underline}.request-profile-link span{margin-left:4px}
.request-state-cell>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.request-state-cell .row-note{margin:0;font-size:12px;line-height:1.6}.request-state-cell .decision-note{max-width:260px}.manual-badge{background:#eaf1f9;color:#476c8e;white-space:nowrap}.request-actions{display:flex;flex-direction:column;gap:8px;max-width:260px}.request-decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.request-table .request-actions .btn{padding:8px 12px;min-height:38px;font-size:12px!important;border-radius:8px}.request-actions button:disabled{opacity:.45;cursor:not-allowed}.request-correction-action{background:#f7faff;border:1px solid #d4e2f2;border-radius:7px;min-height:36px;padding:7px 12px;color:#476a8b;font-size:12px;cursor:pointer}.request-correction-action:hover{background:#edf5ff;border-color:#a8c9ed}.request-secondary-actions{display:flex;gap:20px;align-items:center}.request-table .request-secondary-actions .basic-text-button{padding:3px 0;min-height:28px;font-size:12px!important}
.admin-dashboard .basic-stats strong{font-variant-numeric:tabular-nums;white-space:nowrap}.admin-dashboard .portal-data-card .basic-table{border:1px solid #e7edf5;border-radius:10px}.admin-dashboard .basic-table tbody tr{transition:background .12s}.admin-dashboard .basic-table tbody tr:hover{background:#fbfdff}.admin-dashboard .basic-table th{font-weight:500;background:#f5f8fc}.admin-dashboard .basic-section-heading{align-items:center}.admin-dashboard .portal-loan-heading{gap:14px;padding-bottom:18px;border-bottom:1px solid #e6edf5}.admin-dashboard .portal-loan-heading label{font-size:13px;color:#647d96}.admin-dashboard .portal-loan-heading select{border:1px solid #cfdeed;border-radius:8px;padding:11px 13px;background:#fbfdff;font-size:14px;min-width:0}.admin-dashboard .collection-method{border-radius:12px;padding:24px;border:1px solid #e0e8f1;background:#fff}.admin-dashboard .collection-method .method-destination strong{font-variant-numeric:tabular-nums}.admin-dashboard .collection-method .btn{border-radius:8px}
@media(max-width:1200px) and (min-width:761px){.admin-filter-controls{flex-wrap:wrap}.admin-filter-controls .filter-search{flex-basis:calc(65% - 14px)}.admin-filter-controls .filter-status{flex:1 1 25%}.admin-filter-controls .filter-date{flex:1 1 25%}.filter-buttons{margin-left:auto}.admin-dashboard .basic-tabs button{font-size:13px;padding:11px 12px}}
@media(max-width:760px){.admin-dashboard .admin-filter-bar{padding:18px}.admin-filter-heading{display:block}.admin-filter-heading>span{display:block;margin-top:5px}.admin-filter-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-filter-controls .filter-search,.admin-filter-controls .filter-status,.filter-buttons{grid-column:1/-1}.filter-buttons .btn{flex:1}.filter-buttons{width:100%;gap:18px}.admin-filter-controls .filter-date{width:100%}.admin-filter-controls input,.admin-filter-controls select{font-size:16px;height:46px}.admin-dashboard .portal-data-card .basic-table{border:0;border-radius:0}.request-table table{min-width:0;table-layout:auto}.request-table td.request-client-cell{display:block;text-align:left!important}.request-table td.request-client-cell:before{display:none}.request-client strong{font-size:15px}.request-profile-link{min-height:34px;display:flex;align-items:center;font-size:13px}.request-state-cell>div{align-items:flex-end;max-width:65%;margin-left:auto}.request-table .request-actions-cell{display:block;text-align:left!important}.request-table .request-actions-cell:before{display:none}.request-actions{max-width:none;gap:10px}.request-table .request-actions .btn{min-height:44px;font-size:13px!important}.request-correction-action{min-height:42px;font-size:13px}.request-secondary-actions{justify-content:space-between}.request-table .request-secondary-actions .basic-text-button{min-height:38px}.request-table .amount-cell{white-space:nowrap!important;overflow-wrap:normal!important}.request-table .basic-badge{max-width:100%}.admin-dashboard .collection-method{padding:20px}.admin-dashboard .admin-finance-totals{grid-template-columns:1fr}.admin-dashboard .basic-table td.amount-cell{white-space:nowrap!important;overflow-wrap:normal!important}}
@media(min-width:761px) and (max-width:1100px){
 .admin-dashboard .request-table{overflow:visible;border:0!important;border-radius:0!important}.request-table table,.request-table tbody{display:block;width:100%;min-width:0}.request-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.request-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e0e8f1;border-radius:12px;margin-bottom:16px;padding:18px 20px;background:#fff;gap:0 18px}.admin-dashboard .request-table td{display:flex;flex-direction:column;align-items:flex-start;border:0;padding:12px 0!important;min-width:0}.request-table td:before{content:attr(data-label);font-size:11px;color:#7890a7;margin-bottom:5px}.request-table .request-client-cell{grid-column:1/3}.request-table .request-state-cell{grid-column:3;grid-row:1;align-items:flex-end!important;justify-content:center}.request-table .request-state-cell:before,.request-table .request-client-cell:before,.request-table .request-actions-cell:before{display:none}.request-table .request-state-cell>div{align-items:flex-end}.request-table .request-actions-cell{grid-column:1/-1;border-top:1px solid #edf1f6!important;margin-top:4px}.request-table .request-actions{flex-direction:row;align-items:center;max-width:none;flex-wrap:wrap;gap:12px}.request-table .request-decision-actions{min-width:185px}.request-table .request-correction-action{min-width:165px}.request-table .request-secondary-actions{gap:20px;margin-left:8px}.request-table td.count-cell{text-align:left}
}
.admin-dashboard .basic-page-title{display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px 28px}.admin-title-copy{flex:1 1 400px}.admin-dashboard .admin-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.admin-dashboard .basic-page-title h1{font-size:30px}.admin-utility-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#8293a6;min-height:30px;margin-top:-8px}.admin-review-shortcut{display:inline-flex;gap:8px;align-items:center;background:none;color:#1769bc;font-size:12px;padding:0;min-height:32px;border:0;cursor:pointer}.admin-review-shortcut>span{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:6px;background:#e5f0ff;color:#1367bd;font-weight:600}.admin-export-link{font-size:12px;color:#557491;text-decoration:none;padding:5px 0}.admin-export-link:hover{color:#096acc;text-decoration:underline}.admin-export-link>span{margin-left:6px}
@media(max-width:1200px){.admin-title-copy{flex-basis:100%}.admin-dashboard .admin-heading-actions{justify-content:flex-start}.admin-dashboard .basic-page-title h1{font-size:28px}}
@media(max-width:760px){.admin-dashboard .basic-page-title .admin-heading-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px}.admin-dashboard .basic-page-title h1{font-size:26px}.admin-utility-bar{gap:12px;flex-wrap:wrap;margin-top:-6px}.admin-export-link,.admin-review-shortcut{font-size:11px}.admin-title-copy{flex-basis:100%;min-width:0}}
@media(max-width:380px){.admin-dashboard .basic-page-title .admin-heading-actions{grid-template-columns:1fr}}
.admin-client-identity{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.admin-client-identity .row-note{margin:0}.admin-client-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;max-width:300px}.admin-client-actions>.row-note{flex-basis:100%;margin:0}.admin-dashboard .basic-table .admin-client-actions .btn{margin-left:0}.admin-client-actions .basic-text-button{padding:5px 0!important}
@media(max-width:760px){.admin-dashboard .basic-table td:before{flex-basis:40%;overflow-wrap:normal;word-break:normal}.client-table td.client-identity-cell{display:block;text-align:left!important}.client-table td.client-identity-cell:before{display:none}.client-table td.client-actions-cell{display:block;text-align:left!important}.client-table td.client-actions-cell:before{display:none}.admin-client-identity strong{font-size:15px;line-height:1.6}.admin-client-actions{display:grid;grid-template-columns:1fr;gap:4px;max-width:none}.admin-client-actions .basic-text-button{text-align:left;min-height:40px!important}.admin-client-actions .btn{justify-self:start}.admin-client-actions .row-note{text-align:left!important;margin-top:6px}}
.admin-corrections-inbox{background:#eff8f4;border:1px solid #bbdfcd;border-left:4px solid #278369;border-radius:12px;padding:20px 23px}.admin-corrections-heading{display:flex;gap:13px;align-items:flex-start}.admin-corrections-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#d9f0e4;color:#216d53;font-weight:700;flex:none}.admin-corrections-heading strong{font-size:15px;color:#235943}.admin-corrections-heading p{margin:6px 0 0;font-size:13px;color:#607e70;line-height:1.6}.admin-correction-items{margin-top:15px;border-top:1px solid #d2e7dc}.admin-correction-items article{padding:13px 0 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-correction-items article>div{display:grid;gap:5px;min-width:0}.admin-correction-items strong{font-size:13px;color:#254f3e}.admin-correction-items small,.correction-date{font-size:11px;color:#678879;line-height:1.7}.request-state-cell .correction-state{color:#21785e;font-weight:600;background:#edf8f2;border-radius:6px;padding:6px 8px}.admin-payoff-button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:17px 20px;background:#f2f7fd;border:1px solid #c7dbf1;border-radius:10px;margin:0 0 22px;color:#175e9f;cursor:pointer;text-align:left}.admin-payoff-button>span:first-child{display:grid;gap:5px}.admin-payoff-button strong{font-size:14px;font-weight:600}.admin-payoff-button small{font-size:12px;color:#6986a1}.admin-payoff-button:hover{background:#e8f2fe;border-color:#8bb6e4}.admin-payoff-button>span:last-child{font-size:22px}.payoff-admin-note{background:#f2f6fc;border:1px solid #dbe6f2;padding:16px 18px;border-radius:9px;margin:20px 0}.payoff-admin-note strong{font-size:13px;color:#234d75}.payoff-admin-note p{font-size:12px!important;margin:7px 0 0}@media(max-width:760px){.admin-corrections-inbox{padding:18px 16px}.admin-correction-items article{align-items:stretch;flex-direction:column;gap:10px}.admin-correction-items .btn{width:100%}.admin-payoff-button{padding:16px}.admin-payoff-button strong{font-size:13px}.admin-payoff-button small{font-size:12px}}
