/* C19 · presentación compartida, con y sin cabina. */
#workspace :is(.ci-kpi strong,.ci-big .value).ci-value-text{font-size:18px;line-height:1.35;letter-spacing:0;overflow-wrap:anywhere;white-space:normal}
#workspace :is(.ci-kpi strong,.ci-big .value).ci-value-long{font-size:14px}
#bankabilityScore{min-height:88px;padding:8px 0;margin:0;line-height:1.05}
.ci-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}
:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td){box-sizing:border-box;min-width:0;max-width:none;width:auto;white-space:normal;overflow-wrap:anywhere;text-align:left!important;padding:10px 6px;font-size:11px}
:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):first-child{width:18%;min-width:0;max-width:none}
@media(min-width:601px){body:not(.ci-cabina-active) :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(2){width:12%}body:not(.ci-cabina-active) :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(3){width:18%}body:not(.ci-cabina-active) :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(4){width:12%}body:not(.ci-cabina-active) :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(5){width:18%}body:not(.ci-cabina-active) :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(6){width:14%}body:not(.ci-cabina-active) :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):last-child{width:5%}}
/* Encabezados: nunca se parten a media palabra; las celdas de datos sí pueden. */
:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified th{overflow-wrap:normal;word-break:normal;hyphens:manual}
.ci-list-evidence{display:block;margin-top:4px;font-size:9px;line-height:1.4;color:var(--muted)}
.ci-list-icon{display:inline-block;font-size:19px;font-weight:700;line-height:1.2}.ci-list-icon-success{color:#68e0a2}.ci-list-icon-danger{color:#ff9696}.ci-list-icon-warning{color:#ffce68}.ci-list-icon-muted{color:#c0cad8}
@media(prefers-color-scheme:light){.ci-cabina .ci-list-icon-success{color:#126238}.ci-cabina .ci-list-icon-danger{color:#a41f30}.ci-cabina .ci-list-icon-warning{color:#795000}.ci-cabina .ci-list-icon-muted{color:#4a5568}}
@media(max-width:600px){
 :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified{display:block}
 .ci-screening-unified thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .ci-screening-unified tbody{display:grid;gap:12px}.ci-screening-unified tr{display:block;border:1px solid var(--line);border-radius:12px;padding:10px}
 :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified tbody td{display:grid;grid-template-columns:minmax(96px,38%) minmax(0,1fr);gap:10px;width:100%;max-width:none;padding:6px 0;border:0}
 :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified tbody td:first-child{width:100%;min-width:0;max-width:none}
 .ci-screening-unified tbody td::before{content:attr(data-label);font-weight:600;color:var(--muted)}
 .ci-screening-unified .ci-list-evidence{grid-column:2;margin-top:-6px}.ci-screening-unified tbody td:last-child::before{content:''}
}
/* Cabina: con el centro angosto (paneles ensanchados o ventana mediana) la tabla de listas se apila igual que en móvil. */
.ci-cabina-center{container-type:inline-size}
@container (min-width:701px){:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(2){width:12%}:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(3){width:18%}:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(4){width:12%}:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(5){width:18%}:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):nth-child(6){width:14%}:is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified :is(th,td):last-child{width:5%}}
@container (max-width:700px){
 :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified{display:block}
 .ci-screening-unified thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .ci-screening-unified tbody{display:grid;gap:12px}.ci-screening-unified tr{display:block;border:1px solid var(--line);border-radius:12px;padding:10px}
 :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified tbody td{display:grid;grid-template-columns:minmax(96px,38%) minmax(0,1fr);gap:10px;width:100%;max-width:none;padding:6px 0;border:0}
 :is(#listScreeningResults,#legacyListScreeningResults,.ci-report-section) .ci-screening-unified tbody td:first-child{width:100%;min-width:0;max-width:none}
 .ci-screening-unified tbody td::before{content:attr(data-label);font-weight:600;color:var(--muted)}
 .ci-screening-unified .ci-list-evidence{grid-column:2;margin-top:-6px}.ci-screening-unified tbody td:last-child::before{content:''}
}
/* Tipografía por roles (v0.7.25). Un cambio aquí se respeta en toda la herramienta, como los estilos de Word. */
:root{--ci-fs-nota:11px;--ci-fs-tabla:12px;--ci-fs-texto:14px;--ci-fs-t3:14px;--ci-fs-t2:16px;--ci-fs-t1:20px;--ci-fs-cifra:20px;--ci-fs-cifra-texto:12px;--ci-fs-cifra-hero:40px;--ci-lh-texto:1.5;--ci-lh-titulo:1.3}
/* Título 1 · título de sección */
:is(#workspace,.ci-cabina-right) :is(.ci-title,.ci-profile strong,.ci-cutoff){font-size:var(--ci-fs-t1);line-height:var(--ci-lh-titulo);font-weight:700}
/* Título 2 · subtítulo de tarjeta */
:is(#workspace,.ci-cabina-right) :is(.ci-card>h3,.ci-pad>h3,.ci-layer>h3,.ci-profile h3,.ci-summary-columns h3,.ci-task strong){font-size:var(--ci-fs-t2);line-height:var(--ci-lh-titulo);font-weight:700}
/* Título 3 · título de gráfica o panel y encabezados */
:is(#workspace,.ci-cabina-right) :is(.ci-chart h3,.ci-panel h3,.ci-progressive-details>summary){font-size:var(--ci-fs-t3);line-height:var(--ci-lh-titulo);font-weight:700}
/* Texto · párrafos y explicaciones */
:is(#workspace,.ci-cabina-right) :is(p.ci-sub,div.ci-sub,span.ci-sub,.ci-result-guide span){font-size:var(--ci-fs-texto);line-height:var(--ci-lh-texto)}
/* Tabla · celdas y encabezados */
:is(#workspace,.ci-cabina-right) :is(.ci-table,.ci-table th,.ci-table td,.ci-report table){font-size:var(--ci-fs-tabla)}
:is(#workspace,.ci-cabina-right) .ci-table th{font-weight:700}
/* Nota · avisos, ayudas y estados */
:is(#workspace,.ci-cabina-right) :is(.ci-disclaimer,.ci-scroll-hint,.ci-status,.ci-progress,.ci-warning,.ci-bridge,.ci-actions-list,.ci-summary-columns li,.ci-insight span,.ci-insight strong,.ci-method-row .name,.ci-bank-row strong,.ci-task small,.ci-profile span,.ci-list-evidence,.ci-insight small){font-size:var(--ci-fs-nota)}
:is(#workspace,.ci-cabina-right) :is(.ci-insight strong,.ci-bridge strong,.ci-bank-row strong){font-weight:600}
/* Etiqueta · rótulo en mayúsculas sobre una cifra */
:is(#workspace,.ci-cabina-right) :is(.ci-kpi span,.ci-big .label,.ci-score-metrics span,.ci-bank-row span,.ci-progressive-details>summary span,.ci-price-hero .eyebrow){font-size:var(--ci-fs-nota);text-transform:uppercase;font-weight:600;letter-spacing:.06em}
/* Cifra · valor destacado */
:is(#workspace,.ci-cabina-right) :is(.ci-kpi strong,.ci-score-metrics strong){font-size:var(--ci-fs-cifra);line-height:1.2}
:is(#workspace,.ci-cabina-right) :is(.ci-big .value,.ci-price-hero .spread,.ci-bank-score){font-size:var(--ci-fs-cifra-hero)}
/* Cifra de texto largo (sustituye a la cifra grande cuando el valor es una frase) */
:is(#workspace,.ci-cabina-right) :is(.ci-kpi strong,.ci-big .value).ci-value-text{font-size:var(--ci-fs-cifra-texto);font-weight:500;line-height:var(--ci-lh-texto)}
:is(#workspace,.ci-cabina-right) :is(.ci-kpi strong,.ci-big .value).ci-value-long{font-size:var(--ci-fs-cifra-texto)}
/* Panel del motor (B2): hereda los roles tipográficos y los tokens de la herramienta; no define otra escala. */
.ci-motor{margin-top:16px}
.ci-motor-controls{display:grid;gap:8px;max-width:520px;margin:14px 0}
.ci-motor-controls label{font-size:var(--ci-fs-texto);font-weight:600}
.ci-motor-controls select,.ci-motor-controls textarea{background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;font-size:var(--ci-fs-texto)}
.ci-motor .ci-note{font-size:var(--ci-fs-nota);color:var(--muted);line-height:1.5;margin:0}
.ci-motor-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:16px 0}
.ci-motor-kpi{display:grid;gap:2px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}
.ci-motor-kpi span,.ci-motor-kpi em{font-size:var(--ci-fs-nota);color:var(--muted);font-style:normal}
.ci-motor-kpi strong{font-size:var(--ci-fs-cifra);font-weight:700;font-variant-numeric:tabular-nums}
.ci-motor-notices{margin:10px 0}.ci-motor-notices summary{cursor:pointer;font-size:var(--ci-fs-t3);font-weight:700}.ci-motor-notices li{font-size:var(--ci-fs-texto);line-height:var(--ci-lh-texto);margin:6px 0}
.ci-motor-fx{margin-top:22px}
.ci-motor-callout,.ci-motor-ok{margin:10px 0;padding:10px 12px;font-size:var(--ci-fs-texto);line-height:var(--ci-lh-texto);color:var(--text)}
.ci-motor-callout{border-left:3px solid #f0b45e;background:rgba(240,180,94,.1)}
.ci-motor-ok{border-left:3px solid var(--accent);background:rgba(94,234,212,.08)}
.ci-motor-error{color:#fca5a5;font-size:var(--ci-fs-texto);line-height:var(--ci-lh-texto);margin:8px 0}
.ci-cabina .ci-motor-error{color:#b42318}
.ci-motor-table{min-width:640px}
.ci-motor-table caption{text-align:left;padding:0 0 8px;color:var(--muted);font-size:var(--ci-fs-nota)}
.ci-motor-table th[scope=row]{text-align:left;font-weight:600}
.ci-motor-table td{font-variant-numeric:tabular-nums}
.ci-motor :is(select,textarea,button,.ci-table-scroll):focus-visible,.ci-motor-notices summary:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.ci-motor .ci-table-scroll{overflow-x:auto}
@media(max-width:640px){.ci-motor-controls{max-width:none}.ci-motor-kpis{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ci-motor *{transition:none!important}}
.ci-motor-fx h3{font-size:var(--ci-fs-t2);line-height:var(--ci-lh-titulo,1.3);margin:0 0 4px}
.ci-motor-table th[scope=row]{background:transparent}
.ci-motor-notices summary{display:flex;align-items:center;min-height:32px}
/* Moratorio por crédito (B6) */
.ci-moratorium{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:12px}
.ci-moratorium legend{padding:0 6px;font-size:var(--ci-fs-t3);font-weight:700}
.ci-moratorium-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:10px 14px;align-items:end;margin:12px 0}
.ci-moratorium-row strong{font-size:var(--ci-fs-texto)}
.ci-moratorium-row label{display:grid;gap:4px;font-size:var(--ci-fs-nota);color:var(--muted)}
.ci-moratorium-error{grid-column:1/-1;margin:0;color:#fca5a5;font-size:var(--ci-fs-nota)}
.ci-cabina .ci-moratorium-error{color:#b42318}
.ci-moratorium :is(input):focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
@media(max-width:640px){.ci-moratorium-row{grid-template-columns:1fr}}
