:root{--ink:#183339;--muted:#5c7479;--green:#125c4b;--lime:#d9f1c7;--line:#dce5e1;--surface:#fff;--bg:#f4f7f4;--amber:#8b5914}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--green);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button,a,summary{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #60a18e}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}.demo-strip{text-align:center;background:#e4eddc;color:#395337;font-size:11px;font-weight:750;letter-spacing:.13em;padding:8px 12px}.topbar{max-width:1160px;margin:auto;padding:24px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;gap:9px;align-items:center;color:var(--ink);font-size:17px;letter-spacing:-.5px}.brand strong{font-weight:500}.brand-mark{display:inline-grid;place-items:center;background:var(--green);color:white;width:32px;height:35px;border-radius:9px 9px 13px 13px;font-weight:800;margin-right:4px}nav{display:flex;gap:24px;font-size:13px;font-weight:600}.shell{max-width:1100px;margin:45px auto;padding:0 28px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:var(--green)}h1{font-size:clamp(30px,4.5vw,48px);letter-spacing:-1.8px;line-height:1.12;font-weight:650;margin:12px 0 16px;max-width:800px}h2{font-size:20px;line-height:1.3;letter-spacing:-.4px;margin:0 0 6px}p{margin:6px 0 14px}.intro{max-width:690px;color:var(--muted);margin-bottom:28px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:26px;align-items:start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:20px;box-shadow:0 3px 14px #18333903}.section-heading{display:flex;gap:14px;margin-bottom:24px}.section-heading p{font-size:13px;color:var(--muted);margin:0}.step{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;background:#eaf3ed;color:var(--green);border-radius:50%;font-size:13px;font-weight:750}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}.field{display:flex;flex-direction:column;min-width:0}.field.wide{grid-column:1/-1}.field>label{font-size:14px;font-weight:600;margin-bottom:8px}.required{color:var(--green)}input:not([type=checkbox]),select,textarea{border:1px solid #cad8d0;background:#fcfdfb;border-radius:8px;padding:11px 12px;width:100%;min-width:0;color:var(--ink);min-height:46px}input[aria-invalid=true],select[aria-invalid=true]{border-color:#b8493f;background:#fff5f3}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.fact small{display:block;color:var(--muted);font-size:11px}.fact strong{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}.fact{min-width:0}.message{background:#edf3ef;color:#35584c;border:1px solid #d4e4d9;padding:13px 17px;margin:0 0 24px;border-radius:10px;font-size:14px}.error{background:#fff3ee;color:#8b362c;border-color:#efc8bf}.side-card{position:sticky;top:24px}.progress-number{font-size:42px;letter-spacing:-2px;font-weight:650;line-height:1.7}progress{width:100%;height:7px;border:0;background:#e7eeea;border-radius:8px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#e7eeea}progress::-webkit-progress-value{background:var(--green)}progress::-moz-progress-bar{background:var(--green)}.side-card p{font-size:12px;color:var(--muted);margin-top:12px}.side-card strong{font-size:13px;overflow-wrap:anywhere}hr{border:0;border-top:1px solid var(--line);margin:20px 0}.badge{display:inline-block;font-size:11px;font-weight:750;line-height:1.4;border-radius:20px;padding:6px 11px;background:#e7f2e9;color:var(--green)}.badge.warning{background:#fff0d8;color:var(--amber)}.actions{display:flex;gap:12px;justify-content:flex-end;margin:20px 0 30px}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;border-radius:8px;padding:11px 18px;border:1px solid var(--green);font-size:13px;font-weight:650;min-height:46px}.primary{background:var(--green);color:#fff}.primary:hover{background:#084838}.secondary{background:white;color:var(--green)}.secondary:hover{background:#eaf3ed}.disabled{opacity:.45;pointer-events:none}.link-button{background:none;border:0;color:var(--green);padding:9px 0;text-align:left;font-size:12px;font-weight:600}.decl-title{margin:32px 0 18px;padding-top:26px;border-top:1px solid var(--line)}.declaration{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:9px;padding:15px;margin:10px 0;font-size:13px;line-height:1.65}.declaration input{accent-color:var(--green);width:18px;height:18px;flex:0 0 18px;margin-top:4px}.beneficiary{padding:16px;border:1px solid var(--line);border-radius:10px;margin:12px 0;min-width:0}.beneficiary legend{font-size:13px;font-weight:650}.beneficiary .fields{gap:14px}.beneficiary label{font-size:12px}.tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.tool-actions .button{font-size:12px}.success{background:#edf5e7;border-color:#cee0bf}.source-list{font-size:12px;color:var(--muted);margin-top:12px}.source-list p{padding:8px 0;border-bottom:1px solid var(--line)}details{margin-top:20px;font-size:12px}summary{cursor:pointer;color:var(--green);font-weight:600}pre{background:#f0f4ef;padding:16px;border-radius:8px;max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}footer{font-size:11px;color:var(--muted);border-top:1px solid var(--line);margin-top:40px;padding:20px 0}.hero{padding:18px 0 15px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.invitation-card{padding:28px}.invitation-card .type-icon{font-size:13px;background:#e6f0e9;color:var(--green);width:42px;height:42px;display:grid;place-items:center;border-radius:12px;margin-bottom:22px;font-weight:750}.invitation-card h2{font-size:25px}.invitation-card p{font-size:14px;color:var(--muted)}.invitation-card .button{width:100%;margin-top:14px}.card-meta{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.banner{display:flex;align-items:center;gap:20px;background:var(--green);color:#fff;border-radius:14px;padding:23px 28px;margin:25px 0}.banner p{margin:0;flex:1;font-size:14px}.banner a{color:#e0f0d1;font-size:13px;white-space:nowrap}.note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;font-size:13px;color:var(--muted);margin:30px 0}.note-grid strong{display:block;color:var(--ink);margin-bottom:4px}.endpoint{border-bottom:1px solid var(--line);padding:14px 0}.method{font-weight:800;color:var(--green);font-size:11px;margin-right:10px}code{overflow-wrap:anywhere;font-size:12px}.endpoint summary{overflow-wrap:anywhere}@media(max-width:760px){.topbar{padding:18px;gap:12px}.brand{font-size:14px;gap:5px}.brand-mark{margin-right:3px}nav{gap:15px;font-size:11px}.shell{padding:0 18px;margin-top:28px}.layout{grid-template-columns:1fr}.layout aside{grid-row:1}.side-card{position:static;padding:18px;margin-bottom:0}.progress-number{font-size:28px;line-height:1.8}.side-card hr,.side-card .muted,.side-card strong,.side-card .badge{display:none}.side-card p{margin-bottom:0}.side-card .link-button{padding:4px 0}.panel{padding:20px}.fields,.cards{grid-template-columns:1fr}.facts{gap:14px}.actions{position:sticky;bottom:0;background:#f4f7f4f2;padding:12px 0;z-index:3}.actions .button{flex:1;font-size:12px;padding:11px 12px}.banner{display:block;padding:22px}.banner a{display:block;margin-top:12px}.note-grid{grid-template-columns:1fr;gap:16px}h1{letter-spacing:-1px}.beneficiary .fields{grid-template-columns:1fr}.tool-actions .button{flex:1 1 100%}}

/* Encuesta de cliente: identidad tipográfica sin logotipo de marca no autorizado. */
.client-survey{--green:#123e59;--ink:#183547;--muted:#597080;--bg:#f3f6fa;--line:#dce5ec;background:radial-gradient(ellipse at 85% 0,#e1edf7 0,transparent 48%),var(--bg)}
.client-survey .topbar{max-width:1160px;padding:25px 30px}.client-brand{font-size:23px;font-weight:800;letter-spacing:2.5px;color:#123e59;line-height:1.3}.client-brand span{display:block;font-size:10px;letter-spacing:2px;font-weight:550;color:var(--muted);margin-top:5px;text-transform:uppercase}.header-note{font-size:12px;color:var(--muted)}
.client-survey .shell{max-width:1060px;margin-top:44px}.client-survey .welcome{margin-bottom:30px}.client-survey h1{max-width:740px;font-size:clamp(32px,4vw,46px);letter-spacing:-1.5px}.client-survey .intro{font-size:17px;max-width:600px;margin-bottom:15px}.phase-note{font-size:12px;color:var(--muted)}.client-survey .panel{box-shadow:0 5px 24px #123e5905;border-radius:18px}.client-survey .known-data{font-size:14px;margin-top:0}.known-data summary{font-size:14px;list-style-position:inside}.known-data>p{font-size:12px;margin:18px 0}.client-survey .side-card p{line-height:1.7}.client-survey .message{background:#eaf1f7;border-color:#d6e3ee;color:#234e6b}.client-survey .error{background:#fff3ee;color:#8b362c;border-color:#efc8bf}.client-survey .step{background:#eaf1f7}.client-survey .primary:hover{background:#0b2e45}.client-survey .secondary:hover{background:#edf3f8}.client-survey .actions{background:#f3f6faed}.client-survey .declaration-help{color:var(--muted);font-size:13px}.client-survey .declaration:has(input[aria-invalid=true]){border-color:#b8493f;background:#fff5f3}.field-error{font-size:12px;color:#9a372d;margin-top:7px}.receipt-icon{width:50px;height:50px;display:grid;place-items:center;background:#dcebdc;border-radius:50%;font-size:26px;color:#22653c;margin-bottom:20px}.client-survey .success{background:#f6fbf5}.client-survey .success h2{font-size:26px;margin:13px 0}.client-survey footer{display:flex;gap:30px;justify-content:space-between}.client-survey footer span{max-width:570px}.client-survey .side-card .save-help{display:block}.client-survey .progress-number{color:#123e59}.client-survey .declaration input{accent-color:#123e59}
@media(max-width:760px){.client-survey .topbar{padding:20px}.client-brand{font-size:19px}.header-note{display:none}.client-survey .shell{margin-top:30px}.client-survey .welcome{margin-bottom:22px}.client-survey .intro{font-size:15px}.client-survey .side-card{padding:18px 20px}.client-survey .side-card p{font-size:11px}.client-survey .side-card .save-help{display:none}.client-survey .actions{gap:8px}.client-survey .actions .button{min-height:52px;font-size:11px}.client-survey footer{display:block}.client-survey footer span{display:block;margin-top:12px}.client-survey .known-data{padding:20px}.client-survey .layout{gap:18px}.client-survey .side-card .link-button{display:none}.client-survey .facts{grid-template-columns:1fr 1fr}.client-survey .success h2{font-size:24px}}

/* Secciones cortas y revisión explícita de sugerencias. */
.client-survey .fields{grid-template-columns:1fr}.client-survey .layout{grid-template-columns:minmax(0,1fr) 250px}.client-survey .autosave-status{font-size:12px;color:#345e49;padding:10px 12px;border-radius:8px;background:#edf5ed;margin:0 0 20px;min-height:38px}.client-survey .suggested-value{font-size:17px;font-weight:600;background:#f0f5fa;border-radius:8px;padding:13px 15px;overflow-wrap:anywhere}.client-survey .field[data-sugerencia]{border:1px solid #dce5ec;border-radius:12px;padding:16px}.client-survey .field[data-sugerencia] small{font-size:12px;margin-top:7px}.client-survey .field>label{font-size:16px}.client-survey .declaration{font-size:14px;padding:18px}.client-survey .actions .button{min-height:52px}.client-survey .section-heading{margin-bottom:16px}.client-survey .facts .fact small:last-child{font-size:10px;margin-top:5px}.client-survey #declaraciones:empty{display:none}.client-survey #preguntas:empty{display:none}
@media(max-width:760px){.client-survey .layout{grid-template-columns:1fr}.client-survey .welcome{margin-bottom:18px}.client-survey .welcome h1{font-size:30px}.client-survey .side-card{padding:13px 18px}.client-survey .progress-number{font-size:25px;line-height:1.5}.client-survey .side-card>p:last-of-type{display:none}.client-survey .fields{gap:18px}.client-survey .field>label{font-size:15px}.client-survey #preguntas-panel{min-height:290px}.client-survey .actions .button{font-size:13px;min-height:52px}.client-survey .actions{position:static;margin-top:14px}.client-survey .panel{margin-bottom:14px}.client-survey footer{margin-top:24px}.client-survey input:not([type=checkbox]),.client-survey select{min-height:50px}.client-survey .beneficiary .fields{gap:15px}.client-survey .beneficiary label{font-size:13px}}

.client-survey .section-heading>.step{display:none}
@media(max-width:760px){.client-survey .shell{margin-top:20px}.client-survey .welcome>.eyebrow{display:none}.client-survey .welcome h1{font-size:27px;line-height:1.18;margin:6px 0 10px}.client-survey .welcome .intro{font-size:14px;margin-bottom:8px}.client-survey .welcome{margin-bottom:16px}.client-survey .phase-note{font-size:11px;margin:0}.client-survey .message{padding:10px 12px;font-size:13px;margin-bottom:18px}.client-survey .side-card{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:14px 18px;align-items:center}.client-survey .side-card>.eyebrow{grid-column:1;grid-row:1;font-size:10px}.client-survey .side-card .progress-number{grid-column:2;grid-row:1;line-height:1.3;font-size:24px}.client-survey .side-card progress,.client-survey #progreso-texto{grid-column:1/-1}.client-survey #progreso-texto{margin:0;font-size:11px}.client-survey .side-card>p:not(#progreso-texto){display:none}.client-survey .layout{gap:14px}.client-survey .actions .button{white-space:nowrap;font-size:12px}.client-survey .panel{padding:18px}}

/* Portal de una sola página: sin navegación por pasos. */
.client-survey .survey-section{padding:10px 0 30px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.client-survey .survey-section:last-child{border-bottom:0;margin-bottom:0}.survey-section h3{font-size:18px;font-weight:650;letter-spacing:-.3px;margin:0 0 22px}
.client-survey .survey-section .fields,.client-survey #sugerencias{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.client-survey .autosave-status{background:none;padding:0;margin:0 0 24px;min-height:20px;color:var(--muted);font-size:12px}
.client-survey #sugerencias:empty{display:none}.client-survey #sugerencias{margin-top:22px}.client-survey .field[data-sugerencia]{padding:0;border:0}.client-survey .field[data-sugerencia] small{line-height:1.4;font-size:11px}
.client-survey .actions{position:static;background:transparent}.client-survey #finalizar{min-width:180px;font-size:16px;border-radius:12px}.client-survey .declaration input{width:24px;height:24px;flex-basis:24px}.client-survey .field>label{font-size:14px}.client-survey .known-data summary{min-height:30px}.client-survey .fact .link-button{min-height:44px}
@media(max-width:760px){.client-survey .survey-section .fields,.client-survey #sugerencias{grid-template-columns:1fr}.client-survey .survey-section{padding:6px 0 24px;margin-bottom:20px}.client-survey .declaration{padding:14px;font-size:13px}.client-survey .actions{padding:0}.client-survey #finalizar{width:100%;min-height:56px}.client-survey .side-card{position:static}}

.client-survey .send-note{font-size:12px;line-height:1.6;color:var(--muted);max-width:470px;margin:0 auto 0 0}.client-survey .actions{align-items:center}@media(max-width:760px){.client-survey .actions{flex-direction:column;align-items:stretch}.client-survey .send-note{margin:0 0 12px}}

/* Procedencia disponible sin recargar la página ni sustituir verificaciones. */
.client-survey .provenance{font-size:11px;margin:8px 0 0;overflow-wrap:anywhere}.client-survey .provenance summary{font-size:11px;padding:8px 0;min-height:36px}.client-survey .provenance p{margin:3px 0;color:var(--muted);font-size:11px;line-height:1.6}.client-survey .fact .provenance{grid-column:1/-1}

.client-survey .profile-help{font-size:13px;color:var(--muted);line-height:1.6;max-width:650px;margin:0 0 12px}

.client-survey .retry-save{margin:0 0 20px;min-height:48px}

.client-survey input[readonly],.client-survey select:disabled{background:#edf2f6;color:#28465b;opacity:1;cursor:default}.declarations-text{font-size:14px;line-height:1.7}.declarations-text p{padding:12px 0;border-bottom:1px solid var(--line)}

/* Revisión de experiencia: datos de origen compactos y lectura por secciones. */
.client-survey .topbar{padding-top:20px;padding-bottom:20px}
.client-survey .welcome{margin-bottom:24px}.client-survey .intro{font-size:16px;line-height:1.65}
.client-survey .survey-section{padding:8px 0 26px;margin-bottom:22px}
.client-survey .survey-section h3{margin-bottom:7px;color:#123e59;font-size:19px}
.client-survey .section-help{font-size:12px;color:#526b7c;line-height:1.6;margin:0 0 20px;max-width:620px}
.client-survey .field:has(input[readonly]),.client-survey .field:has(select:disabled){background:#f3f7fb;border:1px solid #e2eaf1;border-radius:12px;padding:13px 15px;gap:2px}
.client-survey .field input[readonly],.client-survey .field select:disabled{background:transparent;border:0;padding:4px 0;min-height:32px;font-size:16px;font-weight:600;border-radius:0}
.client-survey .field:has(input[readonly])>label,.client-survey .field:has(select:disabled)>label{color:#526b7c;font-weight:500;font-size:12px;margin-bottom:2px}
.client-survey .field>small:not(.field-error){color:#526b7c;font-size:11px;line-height:1.55}
.client-survey .field .provenance{margin-top:2px}.client-survey .field .provenance summary{min-height:32px;padding:5px 0}
.client-survey input:not([type=checkbox]),.client-survey select{font-size:16px}
.client-survey .declarations-text{background:#f7f9fc;border:1px solid #e1e8f0;border-radius:12px;padding:5px 18px}
.client-survey .declarations-text p:last-child{border:0;margin-bottom:0}
.client-survey .declaration{border:2px solid #cadbe8;background:#fff;gap:14px}
@media(max-width:760px){.client-survey .topbar{padding:17px 20px}.client-survey .shell{padding:0 14px}.client-survey .intro{font-size:14px}.client-survey .survey-section h3{font-size:18px}.client-survey .section-help{font-size:12px;margin-bottom:16px}.client-survey .field:has(input[readonly]),.client-survey .field:has(select:disabled){padding:12px 14px}.client-survey .panel{border-radius:15px}.client-survey #finalizar{box-shadow:0 4px 12px #123e591c}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.client-survey .data-review{border:1px solid var(--line);border-radius:12px;padding:15px 18px;margin:0 0 18px;background:#f8fafc}.client-survey .data-review>summary{display:list-item;font-size:15px;min-height:44px;align-content:center}.client-survey .data-review>summary h3{display:inline;font-size:16px;margin:0}.client-survey .data-review[open]>summary{margin-bottom:15px}

.client-survey #precargas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.client-survey #datos-conocidos>summary{min-height:48px}.client-survey [data-precargado]>label{font-weight:500}.client-survey #precargas input[readonly]{background:transparent;border:0;min-height:32px;padding:4px 0}@media(max-width:760px){.client-survey #precargas{grid-template-columns:1fr}}

/* PJ: marca corporativa existente y encabezado compacto; sin cambios de datos. */
.client-survey .demo-strip{padding:5px 12px;font-size:10px;letter-spacing:.07em;background:#eaf0f5;color:#345367}
.client-survey .topbar{padding:14px 24px;gap:16px}
.client-survey .client-brand{line-height:1;letter-spacing:0;display:flex;flex-direction:column;gap:5px}
.client-survey .corporate-logo{display:block;width:225px;max-width:100%;height:auto}
.client-survey .client-brand span{margin:0;font-size:9px;letter-spacing:1.5px}
.client-survey .shell{margin-top:20px}
.client-survey .welcome{margin-bottom:14px}
.client-survey .welcome h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:0 0 5px}
.client-survey .profile-help{display:none}
.client-survey .phase-note{margin:0;font-size:12px}
.client-survey:has(#contenido:not([hidden])) #estado{display:none}
.client-survey .layout{gap:18px}
.client-survey .panel{padding:20px;margin-bottom:14px;border-radius:14px}
.client-survey .known-data>summary{min-height:32px;font-size:14px}
.client-survey .section-heading{margin-bottom:8px}
.client-survey .section-heading h2{font-size:19px}
.client-survey .autosave-status{margin-bottom:14px;min-height:18px;font-size:11px}
.client-survey .survey-section{padding:4px 0 20px;margin-bottom:18px}
.client-survey .survey-section h3{font-size:18px;margin-bottom:6px}
.client-survey .section-help{margin-bottom:14px}
.client-survey .decl-title{margin:24px 0 12px;padding-top:20px;font-size:18px}
@media(max-width:760px){
 .client-survey .topbar{padding:12px 16px}
 .client-survey .corporate-logo{width:190px}
 .client-survey .shell{margin-top:14px;padding:0 12px}
 .client-survey .welcome{margin-bottom:12px}
 .client-survey .welcome h1{font-size:24px;line-height:1.2;margin-bottom:4px}
 .client-survey .phase-note{font-size:11px}
 .client-survey .layout{gap:10px}
 .client-survey .panel{padding:15px;margin-bottom:10px;border-radius:13px}
 .client-survey .side-card{padding:11px 15px;gap:5px 10px}
 .client-survey .side-card .progress-number{font-size:23px}
 .client-survey .known-data{padding:12px 15px}
 .client-survey #datos-conocidos>summary{min-height:32px}
 .client-survey .section-heading h2{font-size:18px}
 .client-survey .section-heading p{font-size:12px}
 .client-survey .survey-section .fields{gap:16px}
 .client-survey .survey-section h3{font-size:17px}
}

/* PJ: pregunta de renta como primer encabezado, etiqueta accesible sin duplicado visual. */


/* PJ: indicacion unica y detalles condicionales cerrados al abrir. */
.client-survey .required-notice{margin:0 2px 12px;font-size:12px;color:var(--muted);line-height:1.5}
.client-survey .required-notice strong{color:var(--ink)}
.client-survey .section-help{display:none}
.client-survey .conditional-details{grid-column:1/-1;margin:0;border:1px solid var(--line);border-radius:10px;padding:0 13px;font-size:13px}
.client-survey .conditional-details>summary{padding:10px 0;min-height:44px}
.client-survey .conditional-details[open]>.fields{padding:4px 0 14px}

.client-survey .beneficiary-required-note{font-size:13px;line-height:1.6;color:var(--ink);background:#edf3f8;border-left:3px solid #547a96;padding:10px 12px;margin:0 0 14px;border-radius:0 7px 7px 0}

/* Lectura limpia: trazabilidad conservada en datos, sin avisos por cada campo. */
.client-survey{font-family:"Segoe UI Variable Text","Segoe UI",Aptos,system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.client-survey h1{font-weight:650;letter-spacing:-.7px}
.client-survey h2,.client-survey .survey-section h3{font-weight:600;letter-spacing:-.3px}
.client-survey .field>label{font-weight:500;line-height:1.5}
.client-survey #precargas{gap:12px;margin-top:15px}
.client-survey #precargas .field{padding:12px 15px;gap:3px;border-radius:12px;background:#f5f8fb;border-color:#e2e9f0}
.client-survey #precargas .field>label{font-size:12px;color:#587083;margin:0;font-weight:500}
.client-survey #precargas input[readonly],.client-survey #precargas select:disabled{font-family:inherit;font-size:17px;font-weight:550;line-height:1.45;letter-spacing:-.15px;min-height:30px;padding:3px 0}
.client-survey .provenance{display:none}
@media(max-width:760px){.client-survey #precargas{gap:10px}.client-survey #precargas .field{padding:11px 13px}.client-survey #precargas input[readonly],.client-survey #precargas select:disabled{font-size:16px}.client-survey .field>label{font-size:14px}}

/* ===== Capa sarlaft-e1 (2026-11-21): página única con secciones, barra de avance fija, autoguardado por campo, accesibilidad. Base = CSS APROBADO intacto arriba. ===== */
.skip-link{position:absolute;left:-999px;top:0;background:#123e59;color:#fff;padding:12px 16px;z-index:10;border-radius:0 0 8px 0}
.skip-link:focus{left:0}
.client-survey :focus-visible{outline:3px solid #1b6fa8;outline-offset:3px}
.client-survey .badge-precargado{display:inline-block;margin-left:8px;font-size:11px;font-weight:700;line-height:1.3;border-radius:999px;padding:3px 9px;background:#fff0d8;color:#6b4209;vertical-align:middle}
.client-survey .field .nota{font-size:12px;color:#4d6577;margin:6px 0 0}
.client-survey .field-error{color:#a12d22;font-size:13px;font-weight:600;margin-top:6px;line-height:1.4}
.client-survey .field-error::before{content:"⚠ "}
.client-survey .survey-section .fields{grid-template-columns:1fr 1fr}
.client-survey .declaration{min-height:44px}
.client-survey .autosave-status{font-size:13px;color:#355a48;min-height:22px}
.client-survey .autosave-status[data-estado=offline],.client-survey .autosave-status[data-estado=error]{color:#8b4a0b;font-weight:600}
.client-survey #completado h2{font-size:24px}
.client-survey .beneficiary .button{min-height:44px}
.client-survey .layout>aside.barra-avance{position:sticky;top:12px;align-self:start;z-index:5}
.client-survey .barra-avance .side-card{position:static}
.client-survey .barra-avance .autosave-status{margin:10px 0 0}
.client-survey .form-section{padding:8px 0 26px;margin:0 0 22px;border-bottom:1px solid var(--line);scroll-margin-top:120px}
.client-survey .form-section:last-child{border-bottom:0}
.client-survey .form-section-title{font-size:21px;margin:8px 0 14px}
.client-survey .section-state{font-size:13px;font-weight:600;color:#8b4a0b}
.client-survey .section-state[data-completa=true]{color:#1d6b46}
.client-survey .field{scroll-margin-top:140px}
.client-survey .final-actions{margin:8px 0 0;padding-top:18px;border-top:1px solid var(--line)}
.client-survey .final-actions .button{min-height:48px;min-width:200px;font-size:16px;border-radius:12px}
.client-survey .faltantes{background:#fff3ee;border:1px solid #efc8bf;color:#8b362c;border-radius:10px;padding:12px 16px;margin:0 0 14px}
.client-survey .faltantes-titulo{font-weight:700;margin:0 0 6px}
.client-survey .faltantes ul{margin:0;padding-left:18px}
.client-survey .faltantes .link-button{color:#8b362c;text-decoration:underline;font-size:14px;padding:4px 0;min-height:32px}
/* Vista compacta: tarjetas de secciones precargadas */
.client-survey .vista-controles{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 12px}
.client-survey .vista-controles .button{min-height:44px}
.client-survey .summary-card{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 14px;background:#f7fafc}
.client-survey .summary-card[data-confirmada=true]{background:#f1f8f4;border-color:#bfe0cc}
.client-survey .summary-card h3{margin:0 0 2px}
.client-survey .summary-meta{margin:0 0 10px;font-size:14px;color:#597080}
.client-survey .summary-card[data-confirmada=true] .summary-meta{color:#1d6b46;font-weight:600}
.client-survey .summary-list{display:grid;grid-template-columns:minmax(140px,max-content) 1fr;gap:4px 14px;margin:0 0 12px;font-size:14px}
.client-survey .summary-list dt{color:#597080}
.client-survey .summary-list dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.client-survey .summary-actions{display:flex;flex-wrap:wrap;gap:10px}
.client-survey .summary-actions .button,.client-survey .survey-section>.button{min-height:44px;min-width:140px}
.client-survey .summary-card .button:focus-visible{outline:3px solid #123e59;outline-offset:2px}
/* Niveles de edición: reporte de error en datos bloqueados */
.client-survey .field .reportar{align-self:flex-start;min-height:44px;font-size:14px;text-decoration:underline}
.client-survey .field .reportar:disabled{text-decoration:none;color:#1d6b46;opacity:1;cursor:default}
.client-survey .badge-precargado[data-nivel=BLOQUEADO]{background:#e8eef3;color:#123e59}
.client-survey .badge-precargado[data-nivel=LIBRE]{background:#eef6ea;color:#1d6b46}
/* Solo lectura: el valor completo se parte en líneas (los input no hacen salto de línea). */
.client-survey .field input.valor-oculto{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}
.client-survey .valor-completo{font-size:16px;font-weight:600;line-height:1.4;padding:4px 0;overflow-wrap:anywhere;color:#28465b}
/* sarlaft.ux_claridad + compartir (2026-11-23): encabezado, guía de 3 pasos, interruptor de vista, ayudas, compartir y cierre. */
.client-survey .encabezado{margin:2px 0 6px;font-size:15px;color:var(--muted)}
.client-survey .encabezado strong{color:#123e59}
.client-survey .guia{display:flex;gap:8px;list-style:none;margin:0 0 14px;padding:0;counter-reset:none}
.client-survey .guia li{flex:1;display:flex;align-items:center;gap:8px;min-height:48px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:14px;color:var(--muted)}
.client-survey .guia-boton{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:inherit;width:100%;min-height:inherit;cursor:pointer;font:inherit;color:inherit}
.client-survey .guia-boton:focus-visible{outline:3px solid #123e59;outline-offset:4px;border-radius:8px}
.client-survey .datos-lectura .summary-list{margin:0 0 8px}
.client-survey #reportar-datos{margin:4px 0 0;min-height:44px}
.client-survey .guia-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#e8eef3;color:#123e59;font-weight:700;flex:0 0 26px}
.client-survey .guia li[data-estado=actual]{border:2px solid #123e59;color:#123e59;font-weight:700}
.client-survey .guia li[data-estado=actual] .guia-num{background:#123e59;color:#fff}
.client-survey .guia li[data-estado=hecho]{color:#1d6b46}
.client-survey .guia li[data-estado=hecho] .guia-num{background:#d9efe2;color:#1d6b46}
.client-survey .vista-switch{display:inline-flex;border:1px solid #9fb6c7;border-radius:12px;overflow:hidden}
.client-survey .vista-opcion{min-height:48px;padding:8px 16px;border:0;background:#fff;color:#123e59;font:inherit;font-size:15px;cursor:pointer}
.client-survey .vista-opcion+.vista-opcion{border-left:1px solid #9fb6c7}
.client-survey .vista-opcion[aria-pressed=true]{background:#123e59;color:#fff;font-weight:600}
.client-survey .ayuda-boton{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-left:6px;border-radius:50%;border:2px solid #547a96;background:#fff;color:#123e59;font-weight:700;font-size:15px;cursor:pointer;vertical-align:middle}
.client-survey .ayuda-boton[aria-expanded=true]{background:#123e59;color:#fff}
.client-survey .ayuda-texto{font-size:14px;line-height:1.6;background:#edf3f8;border-left:3px solid #547a96;padding:10px 12px;margin:4px 0 8px;border-radius:0 8px 8px 0}
.client-survey .no-aplica{min-height:48px;margin:0 0 14px;white-space:normal;text-align:left}
.client-survey .no-aplica[aria-pressed=true]{background:#e9f5ee;border-color:#1d6b46;color:#1d6b46}
.client-survey .compartir{margin-top:12px}
.client-survey .compartir>.button{width:100%;min-height:48px}
.client-survey .compartir-panel{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.client-survey .compartir-panel .button{min-height:48px}
.client-survey .compartir-panel input{min-height:44px;width:100%}
.client-survey .compartir-aviso{font-size:13px;line-height:1.5;background:#fff4e0;border-left:3px solid #b7791f;padding:8px 10px;margin:0;border-radius:0 8px 8px 0}
.client-survey .compartir-estado{font-size:13px;margin:0;min-height:18px}
.client-survey .si-no-opcion{min-height:48px;min-width:72px}
@media(max-width:760px){
 .client-survey .summary-list{grid-template-columns:1fr;gap:0}
 .client-survey .summary-list dd{margin:0 0 8px}
 .client-survey .summary-actions .button,.client-survey .vista-controles .button{width:100%}
 .client-survey .survey-section .fields{grid-template-columns:1fr}
 .client-survey .layout>aside.barra-avance{top:0;margin:0 -14px;border-radius:0}
 .client-survey .barra-avance .side-card{border-radius:0 0 12px 12px;box-shadow:0 4px 12px #123e5914}
 .client-survey .barra-avance .autosave-status{font-size:11px;min-height:0;padding:4px 0;margin:4px 0 0;grid-column:1/-1}
 .client-survey .final-actions .button{width:100%}
 .client-survey .form-section-title{font-size:19px}
 .client-survey .field>label{font-size:15px}
 .client-survey .guia{gap:4px}.client-survey .guia li{font-size:12px;line-height:1.25;padding:6px;gap:5px;min-height:44px}.client-survey .guia-num{width:22px;height:22px;flex-basis:22px}
 .client-survey .vista-switch{display:flex;width:100%}
 .client-survey .vista-opcion{flex:1;font-size:14px;padding:8px}
 .client-survey .quien .fields{grid-template-columns:1fr}
 .client-survey .quien-acciones .button{width:100%}
 .client-survey .compartir-flujo{margin:0 0 14px}
 .client-survey .compartir-flujo>.button{width:100%}
 .client-survey .barra-avance .side-card{padding:10px 16px}
 .client-survey .barra-avance .progress-number{font-size:22px;line-height:1.3}
}
/* sarlaft.ux_si_no: Sí/No como botones (el select queda como dato, oculto) y «No aplica ninguna» */
.client-survey .si-no-dato{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.si-no{display:flex;gap:10px}.si-no-opcion{flex:1;min-height:48px;border:1px solid #cad8d0;background:#fcfdfb;color:var(--ink);border-radius:10px;font-weight:650;font-size:15px}.si-no-opcion[aria-checked=true]{background:var(--green);border-color:var(--green);color:#fff}.si-no-opcion:disabled{opacity:.6;cursor:default}.no-aplica{margin:0 0 14px}.no-aplica[aria-pressed=true]{background:#eaf3ed}
/* Beneficiarios (Fredy 2026-11-24): «Eliminar» discreto en la fila del título (arriba a la derecha) con papelera y
   confirmación; % visible; aviso de suma. */
.client-survey .beneficiary legend{float:left;width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0;margin:0 0 14px}
.client-survey .beneficiary>.fields{clear:both;width:100%}
.eliminar-benef{display:inline-flex;align-items:center;gap:5px;background:none;border:0;padding:6px 2px;min-height:36px;color:#8b362c;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
.eliminar-benef .papelera{width:14px;height:14px;fill:currentColor}
.eliminar-benef:hover{text-decoration:underline}
.confirmar-eliminar{clear:both;display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#fff5f3;border:1px solid #efc8bf;border-radius:8px;padding:10px 12px;margin:0 0 14px}
.confirmar-eliminar p{margin:0;flex:1 1 100%;font-size:13px;font-weight:600;color:#8b362c}
.confirmar-eliminar .button{min-height:40px;font-size:12px}
.porcentaje-caja{position:relative;display:flex;align-items:center}
.porcentaje-caja input{padding-right:34px}
.porcentaje-signo{position:absolute;right:12px;font-weight:650;color:var(--muted);pointer-events:none}
.aviso-suma{font-size:13px;font-weight:600;color:#8b5914;background:#fff6e5;border:1px solid #f0d9a8;border-radius:8px;padding:9px 12px;margin:6px 0 12px}
