.ct{max-width:1240px;margin:24px auto;color:#172442}.ct *{box-sizing:border-box}.ct-card{background:#fff;border:1px solid #dce3ef;border-radius:12px;padding:22px;margin-bottom:18px}.ct h1{font-size:28px;margin:0 0 8px}.ct h2{font-size:17px;margin:0 0 20px}.ct-muted,.ct small{color:#72809a}.ct-code{display:inline-block;font:700 14px monospace;letter-spacing:1px;background:#eaf0ff;color:#3759c9;border-radius:6px;padding:5px 9px;vertical-align:middle}.ct-hero{display:flex;gap:24px;align-items:center;justify-content:space-between}.ct-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.ct-stats>div{border-left:1px solid #e2e7f0;padding-left:20px}.ct b.ct-value{display:block;font-size:23px;margin-top:8px}.ct-positive{color:#13936c}.ct-negative{color:#cd5559}.ct-grid{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid #dce3ef;border-radius:8px;overflow:hidden}.ct-grid>div{text-align:center;padding:15px 8px;border-right:1px solid #e4e9f1}.ct-grid>div:last-child{border:0}.ct-grid b{display:block;font-size:20px;margin-top:8px}.ct-grid small{font-size:12px}.ct-scroll{overflow:auto}.ct table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.ct td,.ct th{text-align:right;padding:11px 12px;border-bottom:1px solid #e8edf4}.ct th{background:#f5f7fb;font-size:12px}.ct td:first-child,.ct th:first-child{text-align:left}.ct-table td:nth-child(2),.ct-table td:nth-child(3),.ct-table td:nth-child(4){text-align:left}.ct-empty{text-align:center;background:#f7f9fc;color:#72809a;padding:36px 16px;border-radius:8px}.ct-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:16px}.ct-toolbar h2{margin:0}.ct button{background:#fff;border:1px solid #d3ddef;border-radius:6px;color:#334c85;padding:7px 12px;cursor:pointer}.ct button[aria-pressed=true]{background:#1b294b;color:white}.ct-buttons{display:flex;gap:5px;flex-wrap:wrap}.ct svg{display:block;width:100%;height:auto}.ct-chart-label{display:flex;gap:24px;color:#4168d9;font-size:13px;margin-bottom:12px}.ct-chart-label span:last-child{color:#c3872b}.ct-composition{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.ct-composition h3{font-size:14px}.ct-bar{display:flex;gap:10px;align-items:center;margin:12px 0;font-size:12px}.ct-bar span:first-child{flex:1;overflow-wrap:anywhere}.ct-bar i{display:block;height:6px;background:#496cdb;border-radius:4px}.ct-risk{grid-template-columns:repeat(6,1fr)}.ct-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.ct-form input{width:100px;padding:10px;border:1px solid #ccd6e8;border-radius:6px;text-transform:uppercase;font:700 16px monospace}.ct-form button{background:#3759c9;color:white}.ct-note{font-size:12px;color:#72809a;margin:15px 0 0}.ct-error{color:#b54448}.ct-weight{width:80px;height:7px;border-radius:5px;background:#eef2f8;overflow:hidden}.ct-weight i{display:block;height:100%;background:#15936b}
@media(max-width:900px){.ct-hero{align-items:flex-start;flex-direction:column}.ct-stats{width:100%}.ct-grid{grid-template-columns:repeat(3,1fr)}.ct-composition{grid-template-columns:1fr}.ct-risk{grid-template-columns:repeat(3,1fr)}}@media(max-width:540px){.ct{margin:14px auto}.ct-card{padding:16px}.ct h1{font-size:23px}.ct-stats{gap:8px}.ct-stats>div{padding-left:8px}.ct b.ct-value{font-size:18px}.ct-grid{grid-template-columns:repeat(2,1fr)}.ct-grid b{font-size:18px}.ct-risk{grid-template-columns:repeat(2,1fr)}}


/* ── 14/10/2026 · Móvil: posiciones como tarjetas y tablas que no se salen ── */
.ct{width:100%}
.ct-card,.ct-hero>*{min-width:0}
.ct summary{color:#3759c9;cursor:pointer;padding:6px 0}
.ct details{margin-top:14px}
@media(max-width:700px){
.ct-table,.ct-table tbody{display:block}
.ct-table thead{display:none}
.ct-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;padding:14px 0;border-bottom:1px solid #e3e8f1}
.ct-table tr:last-child{border-bottom:0}
.ct-table td{display:block;padding:0!important;border:0!important;text-align:left!important;white-space:normal;min-width:0}
.ct-table td.ct-pos-name{grid-column:1/-1;font-size:15px}
.ct-table td.ct-pos-bar{grid-column:1/-1}
.ct-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;color:#7d8dab;margin-bottom:1px}
.ct-table td[colspan]{grid-column:1/-1}
.ct-scroll:has(.ct-table){overflow:visible}
.ct-buttons{flex-wrap:wrap}
.ct-buttons button{min-height:38px}
}
