
/* ===== Rediseño a estilo plataforma, v2 (Hotman, 22-sep) ===== */
:root{--r-lg:18px;--r:12px}
body{font-size:13px}
svg.i{stroke-width:2.1}
/* cabecera */
.band{background:transparent;color:var(--ink);padding-bottom:var(--s3)}
.band::before{display:none}
.page{margin-top:0}
.nav{min-height:64px;padding:var(--s2) 0 0}
.brand{color:var(--ink)} .brand small{color:var(--ink-3)}
.brand .mark{width:38px;height:38px;box-shadow:none;border:1px solid var(--line)}
.links{background:var(--surface);border:1px solid var(--line-strong);box-shadow:none;border-radius:11px;padding:3px;gap:2px}
.links a{color:var(--ink-2);border-radius:8px;padding:7px 12px;font-size:12.5px}
.links a:hover{background:var(--surface-2);color:var(--ink)}
.links a:active{background:var(--surface-3)}
.links a[aria-current="page"]{background:var(--brand-soft);color:#0b63c4;box-shadow:none}
.hero{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:var(--s7);align-items:center;margin:var(--s5) 0 var(--s5)}
.eyebrow-pill{display:none}
.eyebrow-pill{background:var(--brand-soft);border-color:transparent;color:#0b63c4;font-size:11.5px;font-weight:600}
.eyebrow-pill svg.i{color:#0b63c4}
.hero h1{color:var(--ink);font-size:clamp(26px,3.4vw,34px);margin-top:0}
.hl{color:var(--brand)}
.hero .lede{color:var(--ink-2);font-size:14px;max-width:62ch;margin-top:var(--s2)}
.steps{display:grid;grid-template-columns:1fr;gap:0;border-left:2px solid var(--line);padding-left:var(--s4)}
.steps li{grid-template-columns:26px 1fr;gap:0 10px;padding:7px 0}
.glass{background:transparent;border:0;box-shadow:none;border-radius:0}
.steps .sn{width:26px;height:26px;font-size:12px;border-radius:8px;background:var(--brand-soft);color:#0b63c4}
.steps b{color:var(--ink);font-size:12.5px} .steps .d{color:var(--ink-3);font-size:11.5px}
@media (max-width:760px){.hero{grid-template-columns:1fr}.steps{display:none}}
/* panel izquierdo */
.layout{grid-template-columns:312px minmax(0,1fr);gap:var(--s5)}
.panel{box-shadow:none;border-radius:var(--r-lg)}
.phi{width:36px;height:36px;box-shadow:none;border-radius:10px} .phi svg.i{width:18px;height:18px}
.ph h2{font-size:15px} .ph .note{font-size:11.5px}
.gauge{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 14px;gap:14px;margin:var(--s4) 0 var(--s2)}
.ring{width:66px;height:66px;background:conic-gradient(from -90deg,var(--brand) 0,var(--brand) calc(var(--p)*1%),var(--surface-3) calc(var(--p)*1%) 100%)}
.ring-in{width:54px;height:54px;box-shadow:none} .ring-in b{font-size:17px} .ring-in small{font-size:9.5px;margin-top:2px}
.gtext b{font-size:13px;font-weight:600;color:var(--ink)} .gtext span{display:none}
.gtext b{line-height:1.25}
.area{grid-template-columns:34px minmax(0,1fr) 62px;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.ab{width:34px;height:34px;border-radius:10px} .ab svg.i{width:17px;height:17px}
.area label{font-size:12.5px} .area label small{font-size:10.5px}
.num{font-size:14px;font-weight:700;min-height:38px;border-radius:10px}
.fh{font-size:11.5px;font-weight:700;color:var(--ink);margin:var(--s4) 0 var(--s2);display:flex;align-items:center;gap:6px}
.fh svg.i{color:var(--brand-ink);width:15px;height:15px}
.fh-act{margin-left:auto;border:0;background:transparent;font:inherit;font-size:11.5px;font-weight:600;color:var(--brand-ink);cursor:pointer;padding:0}
.fh-act:hover{text-decoration:underline}
#unis{display:flex;flex-direction:column;gap:6px}
.uni-row{display:flex;align-items:center;gap:10px;width:100%;padding:7px 10px 7px 7px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:border-color var(--t-fast) var(--ease),background var(--t-fast) var(--ease)}
.uni-row:hover{border-color:var(--outline)}
.uni-row:focus-visible{outline:none;box-shadow:var(--ring)}
.uni-row .logo.xs{width:30px;height:30px;border-radius:9px;flex:none}
.uni-row .un{min-width:0;flex:1;display:flex;flex-direction:column;line-height:1.2}
.uni-row .un b{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uni-row .un small{font-size:10.5px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uni-row .chk{width:20px;height:20px;border-radius:7px;border:1.5px solid var(--line-strong);display:grid;place-items:center;flex:none;color:transparent;background:var(--surface)}
.uni-row .chk svg.i{width:13px;height:13px;stroke-width:2.6}
.uni-row[aria-pressed="true"]{border-color:var(--brand);background:var(--brand-soft)}
.uni-row[aria-pressed="true"] .chk{background:var(--brand);border-color:var(--brand);color:#fff}
.uni-row[aria-pressed="false"] .un b{color:var(--ink-2)}
.uni-row[aria-pressed="false"] .logo.xs{opacity:.55}
/* resultados */
.summary{gap:var(--s3);margin-bottom:var(--s3)}
.tile{box-shadow:none;border-radius:16px;padding:12px 14px;gap:12px}
.tile .ti{width:38px;height:38px;border-radius:11px;box-shadow:none} .tile .ti svg.i{width:18px;height:18px}
.tile .n{font-size:22px;font-weight:700;line-height:1.05} .tile .l{font-size:11.5px;color:var(--ink-2);line-height:1.25}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);margin:var(--s2) 0 var(--s3)}
.count{font-size:12.5px;color:var(--ink-2);font-weight:600}
.sortw{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-3)} .sortw label{font-weight:600}
.sortw .desp{min-width:190px} .sortw .desp-btn{min-height:38px;padding:8px 12px;font-size:12.5px}
.card{box-shadow:none;border-radius:var(--r-lg);border:1px solid var(--line);padding:16px}
.card.grid5{grid-template-columns:52px minmax(0,1fr) 176px;gap:12px 16px}
.card .logo{width:52px;height:52px;border-radius:14px}
.card .t{font-size:16px;font-weight:700;letter-spacing:-.01em} .card .u{font-size:12.5px;color:var(--ink-2)}
.rowline{margin-top:6px;gap:6px}
.st{font-size:11px;font-weight:700;padding:3px 9px}
.trend{font-size:11px;font-weight:600;padding:3px 9px;background:var(--surface-2);border:0}
.meter{margin-top:26px}
.meter .track{height:9px;background:var(--surface-3);box-shadow:none}
.meter .mark{top:-5px;height:19px;width:3px;border-radius:2px;background:var(--ink)}
.meter .mark span{font-size:10.5px;font-weight:700;bottom:22px;padding:2px 7px;border-radius:7px;box-shadow:var(--e1)}
.metrics{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.card.res .metric,.metric{display:flex;flex-direction:row;align-items:center;text-align:left;gap:10px;padding:10px 12px;background:var(--surface);border-right:1px solid var(--line);border-radius:0}
.metric:last-child{border-right:0}
.metric .mi{width:30px;height:30px;border-radius:9px;background:var(--brand-soft);color:var(--brand-ink);flex:none;display:grid;place-items:center} .metric .mi svg.i{width:15px;height:15px}
.metric .ml{font-size:11px;font-weight:600;color:var(--ink-2);line-height:1.2} .metric .mv{font-size:16px;font-weight:700;line-height:1.15}
.card.res .metric.crit .mi{background:var(--crit-soft);color:var(--crit)} .card.res .metric.warn .mi{background:var(--warn-soft);color:var(--warn)} .card.res .metric.ok .mi{background:var(--ok-soft);color:var(--ok)}
.acts{display:flex;flex-direction:column;gap:8px;align-self:start}
.btn{box-shadow:none;border-radius:10px;padding:9px 14px;font-size:12.5px;font-weight:600;min-height:38px}
.btn:hover{transform:none;box-shadow:none;background:var(--surface-2)}
.btn.primary{background:var(--brand);color:#fff;box-shadow:none} .btn.primary:hover{background:var(--brand-strong);transform:none}
.btn[aria-pressed="true"]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-ink)}
.acts .btn.primary{order:-1}
.detail{grid-column:1/-1}
.dcard{border-radius:14px;background:var(--surface-2)}
.dcard h4{font-size:11.5px;font-weight:700;color:var(--ink)}
.tip{border-radius:12px;font-size:12px}
@media (max-width:980px){.layout{grid-template-columns:1fr}.card.grid5{grid-template-columns:44px minmax(0,1fr)}.metrics{grid-column:1/-1}.acts{grid-column:1/-1;flex-direction:row}.acts .btn{flex:1}}
/* franja de comparar: tarjeta blanca flotante, como un aviso de la plataforma */
.cmpbar{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px -18px rgba(2,24,54,.35),0 2px 6px rgba(2,24,54,.06);padding:10px 12px 10px 14px;width:min(920px,calc(100% - var(--s6)))}
.cmpbar .stack .logo{border:2px solid var(--surface);width:34px;height:34px;border-radius:10px}
.cmpbar .cb-t b{font-size:13px;font-weight:600;color:var(--ink)}
.cmpbar .cb-t span{font-size:11.5px;color:var(--ink-3)}
.cmpbar .btn{min-height:36px;padding:8px 14px;font-size:12.5px}
.cmpbar .btn.ghost{background:var(--surface);border-color:var(--line-strong);color:var(--ink-2)}
.cmpbar .btn.ghost:hover{border-color:var(--outline);background:var(--surface-2);color:var(--ink)}
.cmpbar .btn.primary{background:var(--brand);color:#fff;border-color:transparent}
.cmpbar .btn.primary:hover{background:var(--brand-strong)}
.cmpbar .stack{align-items:center;gap:6px;padding-left:0}
.cmpbar .stack .logo{margin-left:0}
.cmpbar .stack .vs{display:inline-block;font-style:normal;font-size:10px;font-weight:700;color:var(--brand-ink);background:var(--brand-soft);border-radius:999px;padding:1px 7px;letter-spacing:.02em}
/* anillo del puntaje global: SVG con puntas redondeadas y degradado de marca */
.ring{position:relative;background:none;width:72px;height:72px}
.ring svg.anillo{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.ring svg.anillo .pista{fill:none;stroke:var(--surface-3);stroke-width:7}
.ring svg.anillo .valor{fill:none;stroke:url(#gradAnillo);stroke-width:7;stroke-linecap:round;transition:stroke-dashoffset .5s var(--ease)}
.ring-in{position:relative;width:auto;height:auto;background:transparent;box-shadow:none}
.ring-in b{font-size:19px;letter-spacing:-.02em} .ring-in small{font-size:9.5px;margin-top:1px;color:var(--ink-3)}
.gauge{padding:10px 14px 10px 10px}
.desp-busq{position:sticky;top:-6px;z-index:1;display:flex;align-items:center;gap:8px;margin:-6px -6px 6px;padding:8px 10px;background:var(--surface);border-bottom:1px solid var(--line)}
.desp-busq svg.i{width:15px;height:15px;color:var(--ink-3);flex:none}
.desp-busq input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:12.5px;color:var(--ink)}
.desp-busq input::placeholder{color:var(--ink-3)}
.desp-busq input::-webkit-search-cancel-button{-webkit-appearance:none}
.desp-nada{color:var(--ink-3)!important;cursor:default!important;background:transparent!important}
/* desplegable propio */
select.sel.oculto{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.desp{position:relative}
.desp-btn{display:flex;align-items:center;justify-content:space-between;gap:var(--s2);width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);font:inherit;font-size:13px;font-weight:600;color:var(--ink);text-align:left;cursor:pointer;transition:border-color var(--t-fast) var(--ease),box-shadow var(--t-fast) var(--ease)}
.desp-btn:hover{border-color:var(--outline)}
.desp-btn:focus-visible,.desp.abierto .desp-btn{outline:none;border-color:var(--brand);box-shadow:var(--ring)}
.desp-btn .txt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.desp-btn svg.i{width:14px;height:14px;color:var(--ink-3);transition:transform var(--t-fast) var(--ease)}
.desp.abierto .desp-btn svg.i{transform:rotate(180deg)}
.desp-panel{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:40;max-height:260px;overflow:auto;margin:0;padding:5px;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--e3)}
.desp-panel li{display:flex;align-items:center;justify-content:space-between;gap:var(--s2);padding:9px 10px;border-radius:8px;font-size:12.5px;color:var(--ink);cursor:pointer}
.desp-panel li:hover,.desp-panel li.activo{background:var(--surface-2)}
.desp-panel li[aria-selected="true"]{background:var(--brand-soft);color:#0b63c4;font-weight:600}
.desp-panel li[aria-selected="true"]::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--brand);flex:none}
.desp-panel li .op{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.desp-panel li small{font-size:11px;font-weight:600;color:var(--ink-3);background:var(--surface-2);border-radius:999px;padding:2px 8px;font-variant-numeric:tabular-nums;flex:none}
.desp-panel li[aria-selected="true"] small{background:#fff;color:var(--brand-ink)}
.desp-btn .txt{display:flex;align-items:center;gap:8px;min-width:0}
.desp-btn .txt .op{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.desp-btn .txt small{font-size:11px;font-weight:500;color:var(--ink-3);white-space:nowrap}
.desp-panel{padding:6px;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
.desp-panel::-webkit-scrollbar{width:6px}
.desp-panel::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:999px}
.desp-panel::-webkit-scrollbar-track{background:transparent}
*{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:999px}
::-webkit-scrollbar-track{background:transparent}
/* contadores que filtran, en la línea del encabezado */
.summary{display:none}
.toolbar{flex-direction:row;align-items:center;justify-content:space-between;gap:var(--s3);margin:var(--s2) 0 var(--s3)}
.sortw .desp{min-width:230px}
.cnt{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:-4px 0 12px}
.cnt-vacio{margin-bottom:12px}
.cnt button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:5px 10px 5px 8px;font:inherit;font-size:11.5px;font-weight:600;color:var(--ink-2);cursor:pointer;transition:border-color var(--t-fast) var(--ease),background var(--t-fast) var(--ease)}
.cnt button i{width:8px;height:8px;border-radius:50%;background:var(--c)}
.cnt button b{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.cnt button:hover{border-color:var(--outline)}
.cnt button[aria-pressed="true"]{background:color-mix(in srgb,var(--c) 12%,var(--surface));border-color:var(--c);color:var(--ink)}
.cnt button:focus-visible{outline:none;box-shadow:var(--ring)}
#resultados[data-filtro="ok"] .card.res:not(.ok),#resultados[data-filtro="warn"] .card.res:not(.warn),#resultados[data-filtro="crit"] .card.res:not(.crit){display:none}
.cnt-vacio{display:none;padding:28px;text-align:center;color:var(--ink-3);font-size:12.5px;border:1px dashed var(--line);border-radius:14px}
#resultados[data-vacio="1"] .cnt-vacio{display:block}
@media (max-width:640px){.links{width:100%;display:flex}.links a{flex:1;justify-content:center;padding:7px 6px;font-size:12px;gap:5px}}

/* Opción 3: dentro del panel izquierdo, como primer bloque */
.nav{justify-content:flex-start;min-height:60px}
.nav-panel{margin:0 0 var(--s4);padding:0 0 var(--s4);border-bottom:1px solid var(--line)}
.nav-panel .fh{margin-top:0}
.nav-panel .links{display:flex;flex-direction:column;gap:4px;background:transparent;border:0;padding:0}
.nav-panel .links a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;border:1px solid var(--line);font-size:12.5px;color:var(--ink)}
.nav-panel .links a svg.i{width:16px;height:16px;color:var(--brand-ink)}
.nav-panel .links a:hover{border-color:var(--outline);background:var(--surface)}
.nav-panel .links a[aria-current="page"]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-ink)}
@media (max-width:980px){.nav-panel .links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.nav-panel .links{grid-template-columns:1fr}}


/* Comparación: estilo de la plataforma */
.cmp-top .ph h2{font-size:20px;font-weight:700;letter-spacing:-.01em}
.cmp-head{background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 1px 2px rgba(11,29,66,.04),0 10px 24px -16px rgba(11,29,66,.22);padding:0;overflow:hidden}
.cmp-head::after{display:none}
.cmp-head .logo,.cmp-head .pn,.cmp-head .pi{position:relative;z-index:1}
.cmp-head .logo{margin:14px 14px 0;border:1px solid rgba(255,255,255,.7);background:#fff;box-shadow:0 2px 6px rgba(11,29,66,.18)}
.cmp-head .pn{font-size:14px;font-weight:700;margin:10px 14px 0;color:#fff}
.cmp-head .pi{font-size:12px;color:rgba(255,255,255,.85);opacity:1;font-weight:400;margin:2px 14px 14px}
.cmp-head::before{content:"";position:absolute;left:0;right:0;top:0;height:calc(100% - 72px);background:linear-gradient(135deg,#2094ff 0%,#4361ee 100%)}
.cmp-head .price{position:relative;z-index:1;margin:0;padding:12px 14px 14px;border-top:0;background:#fff;font-size:22px;font-weight:700;color:#dc2626}
.cmp-head .price.ok{color:#0e9f6e}
.cmp-head .price small{font-size:11px;font-weight:400;color:#64748b;opacity:1;letter-spacing:0;margin-top:3px}
.cmp-head .rm{background:rgba(255,255,255,.22);color:#fff;border-radius:999px;top:10px;right:10px}
.cmp-head .rm:hover{background:rgba(255,255,255,.38)}
.cmp-head.colhl{transform:none;border-color:#1a7de0;box-shadow:0 0 0 3px rgba(26,125,224,.12)}
.cmp-corner .big{font-size:28px;color:#0f172a}
.cmp-corner .big small{font-size:13px;font-weight:400;color:#64748b}
.cmp-corner .note{font-size:12px;color:#64748b}
.cmp-label{background:#fff;border:1px solid #e2e8f0;box-shadow:0 1px 2px rgba(11,29,66,.05);border-radius:999px;padding:6px 10px 6px 6px;font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;white-space:nowrap;color:#0f172a;min-height:48px;gap:10px}
.cmp-label .num{width:32px;height:32px;border-radius:50%;background:#eef6ff;color:#1a7de0}
.cmp-label .num svg.i{width:16px;height:16px}
.cmp-label.hl{background:#eef6ff;color:#0f172a;border-color:#1a7de0}
.cmp-label.hl .num{background:#1a7de0;color:#fff}
.cmp-cell{font-weight:400;font-size:13px;color:#0f172a;border-color:#e2e8f0}
.cmp-cell.alt{background:#f8fafc}
.cmp-cell.first{border-top-color:#e2e8f0}
.cmp-cell.last{border-bottom-color:#e2e8f0}
.cmp-cell.hl{background:#eef6ff}
.cmp-cell.colhl{border-left-color:#bfdbfe;border-right-color:#bfdbfe}
.cmp-cell .v.mono{font-weight:400}
.cmp-cell .v.big{font-weight:700;font-size:16px}
.cmp-cell .v.accent{color:#1a7de0;font-weight:700;font-size:16px}
.cmp-cell .s{font-size:11px;color:#64748b}
.cmp-cell a.s{color:#1a7de0;font-weight:600}
.cmp-cell .btn.colbtn{background:#1a7de0;color:#fff;border-radius:12px;box-shadow:none;font-weight:600;font-size:13px;min-height:40px}
.cmp-cell .btn.colbtn:hover{filter:none;background:#1569c4;box-shadow:none}
.cmp-add{border:1.5px dashed #cbd5e1;border-radius:16px;color:#64748b;background:#f8fafc}
.cmp-add b{color:#0f172a;font-weight:700}
.cmp-add svg.i{background:#fff;border-color:#e2e8f0;color:#1a7de0}
.cmp-add:hover{border-color:#1a7de0;background:#eef6ff;color:#1a7de0}
.bestchip{background:#ecfdf5;color:#0e9f6e;font-weight:600}
.dot{background:#1a7de0;box-shadow:0 0 0 6px rgba(26,125,224,.16)}


/* Comparación rediseñada (maqueta aprobada) */
.cmpdlg{background:#eef6ff;border-radius:20px;border:1px solid #e2e8f0}
.cmp-top{background:#fff;border-bottom:1px solid #e2e8f0;padding:18px 22px}
.cmp-top .ph .note{font-size:12px}
.cmp-scroll{padding:14px 22px 22px}
.c2-resumen{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.c2-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 12px 7px 8px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;font-size:12px;color:#334155}
.c2-pill svg.i{width:14px;height:14px}
.c2-pill b{color:#0f172a;font-weight:700}
.c2-pill i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eef6ff;color:#0b63c4;font-style:normal}
.c2-pill.ok i{background:#ecfdf5;color:#0e9f6e}
.c2-grid{display:grid;gap:0 12px;min-width:min-content;align-items:stretch}
.c2-corner{grid-column:1;grid-row:1;align-self:stretch;padding:0 0 12px}
.c2-mios{height:100%;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px;box-shadow:0 1px 2px rgba(11,29,66,.04),0 10px 24px -16px rgba(11,29,66,.22)}
.c2-mios .mh{display:flex;align-items:center;gap:8px}
.c2-mios .mh b{font-size:12.5px;font-weight:700}
.c2-ajustar,.c2-listo,.c2-hist-min,.c2-hoja-hist{display:none}
.c2-hist-full{display:contents}
.c2-mios .mg{display:flex;flex-direction:column;gap:6px}
.c2-mios .ma{display:flex;align-items:center;gap:8px}
.c2-mios .mi{width:26px;height:26px;border-radius:8px;background:var(--cs);color:var(--c);display:grid;place-items:center;flex:none}
.c2-mios .mi svg.i{width:14px;height:14px}
.c2-mios .mt{flex:1;min-width:0}
.c2-mios .mt span{display:block;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.c2-mios .mv{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;min-width:22px;text-align:right}
.c2-mios .rg{-webkit-appearance:none;appearance:none;display:block;width:100%;height:14px;margin:2px 0 0;padding:0;background:transparent;cursor:pointer;border:0}
.c2-mios .rg::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:linear-gradient(90deg,var(--c) var(--v),#e6edf7 var(--v))}
.c2-mios .rg::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#fff;border:2.5px solid var(--c);margin-top:-5px;box-shadow:0 1px 3px rgba(11,29,66,.25)}
.c2-mios .rg::-moz-range-track{height:4px;border-radius:999px;background:linear-gradient(90deg,var(--c) var(--v),#e6edf7 var(--v))}
.c2-mios .rg::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#fff;border:2.5px solid var(--c);box-shadow:0 1px 3px rgba(11,29,66,.25)}
.c2-mios .mf{margin-top:auto;display:flex;align-items:baseline;justify-content:space-between;border-top:1px solid #e2e8f0;padding-top:10px}
.c2-mios .mf small{font-size:11.5px;color:#64748b}
.c2-mios .mf b{font-size:18px;font-weight:700;color:#1a7de0}
.c2-head{grid-row:1;align-self:start;position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(11,29,66,.04),0 10px 24px -16px rgba(11,29,66,.22);margin-bottom:12px;display:flex;flex-direction:column;color:#0f172a}
.c2-head .rm{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;border:0;background:transparent;color:#64748b;display:grid;place-items:center;cursor:pointer;z-index:1}
.c2-head .rm:hover{background:#f4f7fb;color:#0f172a}
.c2-head .rm svg.i{width:16px;height:16px}
.c2-head .ch-top{display:flex;gap:12px;align-items:center;padding:14px 14px 0}
.c2-head .ch-top .logo{width:46px;height:46px;border-radius:12px;border:1px solid #e2e8f0;background:#fff}
.c2-head .ch-top b{display:block;font-size:15px;padding-right:28px;font-weight:700;line-height:1.2}
.c2-head .ch-top span{display:block;font-size:12px;color:#64748b;line-height:1.3;margin-top:1px}
.c2-head .ch-top small{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#64748b;margin-top:4px}
.c2-head .ch-top .un-c{display:none}
.c2-head .ch-top small svg.i{width:12px;height:12px}
.c2-head .ch-bar{padding:14px 14px 0}
.c2-head .track{position:relative;height:8px;border-radius:999px;background:#f4f7fb;border:1px solid #e2e8f0}
.c2-head .track .fill{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:#1a7de0}
.c2-head .track .mark{position:absolute;top:-5px;width:2px;height:16px;background:#0f172a;transform:translateX(-1px);border-radius:2px}
.c2-head .ch-leg{display:flex;justify-content:space-between;font-size:11px;color:#64748b;margin-top:6px}
.c2-head .ch-leg b{color:#0f172a;font-weight:700}
.c2-head .ch-gap{padding:10px 14px 14px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.c2-head .ch-gap b{font-size:24px;font-weight:700;color:#dc2626;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.c2-head .ch-gap.ok b{color:#0e9f6e}
.c2-head .ch-gap span{font-size:11.5px;color:#64748b}
.c2-head .ch-gap em{flex-basis:100%;justify-content:center;margin-top:4px;display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:11px;font-weight:600;color:#0e9f6e;background:#ecfdf5;padding:3px 8px;border-radius:999px}
.c2-head .ch-gap em svg.i{width:12px;height:12px}
.c2-add{grid-column:-2;grid-row:1 / span 40;border:1.5px dashed #cbd5e1;border-radius:16px;background:rgba(255,255,255,.55);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#64748b;font-size:12px;cursor:pointer;min-height:300px;font-family:inherit}
.c2-add:hover{border-color:#1a7de0;background:#eef6ff;color:#0b63c4}
.c2-add svg.i{width:22px;height:22px;padding:10px;box-sizing:content-box;border-radius:50%;background:#fff;border:1px solid #e2e8f0;color:#1a7de0}
.c2-add b{color:#0f172a;font-weight:700;font-size:13px}
.c2-sec{grid-column:1;margin:12px 4px 4px;font-size:11px;font-weight:700;color:#64748b;letter-spacing:.02em}
.c2-lab{grid-column:1;align-self:center;height:52px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:6px 12px 6px 6px;margin:4px 0;box-shadow:0 1px 2px rgba(11,29,66,.05);transition:background .15s,border-color .15s}
.c2-lab .ic{width:32px;height:32px;border-radius:50%;background:#eef6ff;color:#0b63c4;display:grid;place-items:center;flex:none}
.c2-lab .ic svg.i{width:16px;height:16px}
.c2-lab b{display:block;font-size:12.5px;font-weight:700;line-height:1.2;color:#0f172a}
.c2-lab.hl{background:#eef6ff;border-color:#1a7de0}
.c2-lab.hl .ic{background:#1a7de0;color:#fff}
.c2-cell{background:#fff;border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:12px 14px;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;font-weight:400;font-size:13px;color:#0f172a}
.c2-cell.gt{border-top:1px solid #e2e8f0;border-radius:14px 14px 0 0;margin-top:2px}
.c2-cell.gb{border-radius:0 0 14px 14px;margin-bottom:10px}
.c2-cell.gt.gb{border-radius:14px}
.c2-cell small{font-size:11px;color:#64748b}
.c2-cell .c2-num{font-size:14px;font-variant-numeric:tabular-nums}
.c2-cell b.c2-num{font-size:17px;font-weight:700}
.c2-cell .brand{color:#1a7de0}.c2-cell .okc{color:#0e9f6e}.c2-cell .badc{color:#dc2626}
.c2-muted{color:#64748b}
.c2-cell:has(.c2-best){flex-direction:row;gap:10px}
.c2-best{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#0e9f6e;background:#ecfdf5;padding:2px 8px;border-radius:999px}
.c2-best svg.i{width:12px;height:12px}
.c2-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600}
.c2-chip svg.i{width:13px;height:13px}
.c2-chip.bad{background:#fef2f2;color:#dc2626}.c2-chip.ok{background:#ecfdf5;color:#0e9f6e}
.c2-trend{display:inline-flex;align-items:center;gap:5px;font-weight:500}
.c2-trend svg.i{width:14px;height:14px}.c2-trend.up{color:#0e9f6e}.c2-trend.down{color:#dc2626}
.c2-spark{width:100%;max-width:240px;height:auto;display:block}
.c2-pesos{display:flex;gap:8px;align-items:flex-end;height:44px}
.c2-pesos span{display:flex;flex-direction:column;align-items:center;gap:3px;width:26px}
.c2-pesos i{display:block;width:100%;border-radius:4px 4px 2px 2px;background:#1a7de0;opacity:.85}
.c2-pesos b{font-size:9.5px;font-weight:600;color:#64748b}
.cmp-foot{padding:0 22px 18px}
@media (max-width:760px){.c2-grid{grid-template-columns:120px repeat(var(--cols),minmax(180px,1fr))!important}.c2-lab b{font-size:11px}.c2-lab .ic{width:26px;height:26px}.c2-lab .ic svg.i{width:14px;height:14px}.c2-corner{display:none}}

/* ===== Móvil (≤720px): filtros en un botón, navegación segmentada ===== */
@media (max-width:720px){
  .band .nav{min-height:0}
  .brand .mark{width:34px;height:34px}
  .brand b{font-size:14px}.brand small{font-size:10px}
  .hero{margin:10px 0 14px}
  .hero h1{font-size:24px;line-height:1.15}
  .hero .lede{font-size:13px;line-height:1.5;margin-top:8px}
  .hero .steps{display:none}
  .band{padding-bottom:18px}
  .page{padding-top:0}
  .layout{display:block}
  /* navegación segmentada */
  .m-seg{display:flex;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:4px;gap:4px;margin:-8px 0 12px;box-shadow:0 1px 2px rgba(11,29,66,.06)}
  .m-seg a{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 6px;border-radius:10px;font-size:12px;font-weight:600;color:#334155;text-decoration:none;white-space:nowrap}
  .m-seg a svg.i{width:14px;height:14px}
  .m-seg a[aria-current="page"]{background:#eef6ff;color:#0b63c4;box-shadow:inset 0 0 0 1px #bfdbfe}
  .nav-panel{display:none}
  /* barra de filtros */
  .m-bar{position:sticky;top:0;z-index:35;display:flex;align-items:center;gap:8px;padding:8px 0 10px;margin:0 0 6px;background:#eef6ff;box-shadow:0 8px 8px -8px rgba(11,29,66,.12)}
  .m-filtros{display:inline-flex;align-items:center;gap:8px;min-height:56px;padding:0 14px 0 10px;border-radius:12px;border:1px solid #1a7de0;background:#1a7de0;color:#fff;font:inherit;font-size:13px;font-weight:600;box-shadow:0 8px 20px -10px rgba(26,125,224,.7)}
  .m-filtros svg.i{width:18px;height:18px}
  .m-filtros b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#fff;color:#1a7de0;font-size:11px;font-weight:700}
  .m-resumen{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px}
  .m-resumen b{font-size:13px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .m-resumen small{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .m-resumen{display:none}
  .m-bar{justify-content:space-between}
  .m-hoja .mh-top b small{display:block;font-size:11.5px;font-weight:400;color:#64748b;margin-top:2px}
  .m-global{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;height:56px;padding:0 10px 0 8px;overflow:hidden;border-radius:12px;background:#fff;border:1px solid #e2e8f0;font:inherit;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(11,29,66,.05)}
  .m-global:active{background:#f4f7fb}
  .m-global .mg-est{display:flex;flex-direction:column;gap:3px;flex:none;padding-left:8px;border-left:1px solid #e2e8f0}
  .m-global .mg-est span{display:flex;align-items:center;gap:4px;font-size:10px;color:#64748b;line-height:1;white-space:nowrap}
  .m-global .mg-est i{width:7px;height:7px;border-radius:50%;background:var(--c);flex:none}
  .m-global .mg-est b{font-size:11px;font-weight:700;color:#0f172a;min-width:10px}
  .m-global .mg-der{display:flex;align-items:center;gap:6px;flex:none}
  .m-global .mg-ring{position:relative;width:34px;height:34px;flex:none}
  .m-global .mg-ring svg{width:34px;height:34px;transform:rotate(-90deg)}
  .m-global .mg-ring .pista{fill:none;stroke:#e6edf7;stroke-width:4}
  .m-global .mg-ring .valor{fill:none;stroke:url(#gradAnilloM);stroke-width:4;stroke-linecap:round;transition:stroke-dashoffset .4s}
  .m-global .mg-txt{display:flex;flex-direction:column;line-height:1;min-width:0}
  .m-global .mg-txt small{font-size:10px;color:#64748b;white-space:nowrap;font-weight:600}
  .m-global .mg-txt b{font-size:18px;font-weight:700;color:#0f172a;margin-top:2px;white-space:nowrap;line-height:1.1}
  .m-global .mg-txt b i{font-style:normal;font-size:11px;font-weight:400;color:#64748b;margin-left:3px}
  .m-global .mg-areas{margin-left:auto;display:flex;align-items:flex-end;gap:5px;height:30px;flex:none}
  .m-global .mg-areas span{display:flex;flex-direction:column;align-items:center;gap:2px;width:14px}
  .m-global .mg-areas i{display:block;width:100%;border-radius:3px 3px 1px 1px;background:var(--c);min-height:3px}
  .m-global .mg-areas small{font-size:7.5px;font-weight:700;color:#64748b;line-height:1}
  /* hoja de filtros */
  .m-velo{position:fixed;inset:0;z-index:60;background:rgba(15,23,42,.35);opacity:0;pointer-events:none;transition:opacity .25s}
  .m-velo.on{opacity:1;pointer-events:auto}
  .m-hoja{position:fixed;left:0;right:0;bottom:0;z-index:61;max-height:90dvh;display:flex;flex-direction:column;background:#f4f7fb;border-radius:22px 22px 0 0;box-shadow:0 -20px 50px -20px rgba(2,24,54,.5);transform:translateY(100%);transition:transform .35s cubic-bezier(.22,1,.36,1)}
  .m-hoja.on{transform:none}
  .m-hoja .mh-top{display:flex;align-items:center;gap:10px;padding:14px 16px 10px;border-bottom:1px solid #e2e8f0;background:#fff;border-radius:22px 22px 0 0}
  .m-hoja .mh-top::before{content:"";position:absolute;top:8px;left:50%;width:38px;height:4px;border-radius:999px;background:#cbd5e1;transform:translateX(-50%)}
  .m-hoja .mh-top b{flex:1;font-size:15px;font-weight:700;margin-top:6px}
  .m-hoja .mh-top .x{width:34px;height:34px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#64748b;margin-top:6px}
  .m-hoja .mh-body{flex:1;overflow-y:auto;padding:12px 16px 16px;-webkit-overflow-scrolling:touch}
  .m-hoja .panel.scores{margin:0;border:0;box-shadow:none;background:transparent;padding:0}
  .m-hoja .mh-foot{padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e2e8f0}
  .m-hoja .mh-foot .btn{width:100%;min-height:46px;border-radius:12px;background:#1a7de0;color:#fff;font-weight:600;font-size:14px;border:0}
  /* puntajes más compactos dentro de la hoja */
  .m-hoja .ph{margin-bottom:8px}.m-hoja .ph h2{font-size:15px}.m-hoja .ph .note{font-size:11px}
  .m-hoja .gauge{padding:10px 12px;margin-bottom:8px}
  .m-hoja .ring{width:56px;height:56px}
  .m-hoja .area{padding:8px 0}
  .m-hoja .area .ab{width:30px;height:30px}
  .m-hoja .area label{font-size:12.5px}
  .m-hoja .area .num{width:54px;min-height:40px;font-size:15px}
  .m-hoja .uni-row{padding:7px 8px}
  /* resultados */
  .toolbar{margin:0 0 8px;flex-wrap:nowrap;gap:8px;align-items:center}
  .toolbar .count{font-size:12px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sortw{flex:none;display:flex;align-items:center;gap:6px}
  .sortw label{display:none}
  .sortw .desp{min-width:150px}
  .sortw .desp-btn{min-height:40px;padding:0 10px;font-size:12.5px}
  .card.res{padding:12px}
  .card.res .logo{width:40px;height:40px}
  .card.res h3{font-size:15px}
  .card.res > .metrics{gap:8px;margin-top:10px}
  .card.res .metric{flex-direction:column;align-items:center;text-align:center;gap:6px;padding:12px 6px 10px;border:1px solid #e2e8f0;background:#fff;border-radius:12px}
  .card.res .metric .mi{display:grid;width:30px;height:30px;border-radius:8px}
  .card.res .metric .mi svg.i{width:15px;height:15px}
  .card.res .metric .ml{font-size:10.5px;white-space:normal;line-height:1.15;font-weight:600;color:#64748b}
  .card.res .metric .mv{font-size:17px;margin-top:1px;line-height:1.1}
  .card.res .metric > div{display:flex;flex-direction:column;align-items:center;gap:2px}
  .acts{flex-direction:row;flex-wrap:wrap}
  .acts .btn{flex:1 1 100%;min-height:42px}
  .acts .btn:not(.primary){flex:1 1 calc(50% - 4px)}
  .asst-fab{width:56px;height:56px;padding:0!important;gap:0!important;justify-content:center;right:14px;bottom:calc(16px + env(safe-area-inset-bottom))}
  .asst-fab span{display:none}
  .asst-fab img{width:44px;height:44px}
  body.has-cmp .asst-fab{bottom:calc(84px + env(safe-area-inset-bottom))}
  body.m-hoja-abierta{overflow:hidden}
  body:has(dialog[open]){overflow:hidden}
  /* ficha (carrera / universidad): cabecera azul centrada */
  .dlg-head{position:relative;top:auto;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:44px 16px 18px}
  .dlg-head .logo.lg{width:64px;height:64px;border-radius:16px;align-self:center;background:#fff;border:2px solid rgba(255,255,255,.9)}
  .dlg-head .dh{width:100%;display:flex;flex-direction:column;align-items:center}
  .dlg-head .dh-e{justify-content:center;font-size:10px;letter-spacing:0;background:rgba(255,255,255,.16);color:#fff;padding:3px 9px;border-radius:999px}
  .dlg-head h2{font-size:18px;line-height:1.2;margin-top:8px;text-wrap:balance}
  .dlg-head .dh-s{justify-content:center;font-size:12px;color:rgba(255,255,255,.88);margin-top:6px}
  .dlg-head .dh-s > *{justify-content:center}
  .dlg-head .x{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:999px;background:rgba(255,255,255,.2);color:#fff}
  dialog{scrollbar-width:none}
  dialog::-webkit-scrollbar{display:none}
  @media (max-width:380px){
    .m-filtros{padding:0 10px 0 8px;font-size:12px;gap:6px}
    .m-filtros b{min-width:18px;height:18px;font-size:10px}
    .m-global{gap:6px;padding:0 8px 0 6px}
    .m-global .mg-ring,.m-global .mg-ring svg{width:30px;height:30px}
    .m-global .mg-txt small{font-size:9px}
    .m-global .mg-txt b{font-size:16px}
    .m-global .mg-est span{font-size:9.5px;gap:3px}
    .m-global .mg-est{padding-left:6px}
  }
  /* Sobre los datos: la primera tarjeta ancha, las otras dos lado a lado */
  .sources .src-grid{display:grid;grid-template-columns:1fr;gap:10px}
  .sources .src{flex-direction:row;gap:12px;padding:12px;font-size:12px;line-height:1.45}
  .sources .src .si{width:32px;height:32px}
  .sources .src b{font-size:13px}
}

/* ===== Comparación en móvil: tabla con rótulos a la izquierda y una columna por programa ===== */
@media (max-width:720px){
  .cmpdlg{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0;background:#f4f7fb}
  .cmp-top{padding:12px 14px;gap:10px;flex-wrap:nowrap;align-items:center}
  .cmp-top .ph{flex:1;min-width:0;gap:8px}
  .cmp-top .ph .phi{width:32px;height:32px;border-radius:9px}
  .cmp-top .ph h2{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cmp-top .ph .note{display:none}
  .cmp-top .ct-r{gap:8px;flex:none}
  .cmp-top .switch{font-size:0;gap:0}
  .cmp-top .switch .sw{width:36px;height:22px}
  .cmp-top .switch .sw::after{width:14px;height:14px}
  .cmp-top .x{width:34px;height:34px}
  .cmp-scroll{padding:12px 12px 20px;overflow-x:hidden}
  .c2-scroller{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:14px}
  .c2-resumen{gap:6px;margin-bottom:12px;flex-direction:column}
  .c2-pill{font-size:10.5px;padding:7px 10px 7px 8px;width:100%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35}
  .c2-pill b{white-space:nowrap}
  .c2-pill i{display:inline-grid;vertical-align:middle;margin-right:5px;width:18px;height:18px}
  @media (max-width:380px){.c2-pill{font-size:9.5px}}
  .c2-grid.c2-abierta .c2-listo{display:inline-flex}
  .c2-lab,.c2-corner{position:sticky;left:0;z-index:2;background:#fff;box-shadow:1px 0 0 #e2e8f0}
  .c2-sec{position:sticky;left:0;justify-self:start;width:calc(100vw - 26px);box-sizing:border-box}
  .c2-pill i{width:20px;height:20px}
  .c2-pill svg.i{width:12px;height:12px}
  /* la tabla */
  .c2-grid{grid-template-columns:104px repeat(var(--n),minmax(96px,1fr))!important;gap:0;min-width:min-content;background:#fff;align-items:stretch}
  .c2-scroller{border:1px solid #e2e8f0;background:#fff}
  .c2-add{display:none}
  .c2-corner{display:flex;align-items:center;justify-content:center;padding:8px;border-bottom:1px solid #e2e8f0}
  .c2-ajustar{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;padding:8px 4px;border:1px solid #bfdbfe;border-radius:12px;background:#eef6ff;color:#0b63c4;font:inherit;cursor:pointer}
  .c2-ajustar svg.i{width:18px;height:18px}
  .c2-ajustar span{display:flex;flex-direction:column;align-items:center;line-height:1}
  .c2-ajustar small{font-size:9.5px;font-weight:600;color:#0b63c4}
  .c2-ajustar b{font-size:16px;font-weight:700;color:#0f172a;margin-top:2px}
  .c2-ajustar b::after{content:" / 500";font-size:9px;font-weight:400;color:#64748b}
  .c2-mios{display:none}
  .c2-grid.c2-abierta .c2-mios{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:90;height:auto;max-height:80dvh;overflow-y:auto;border-radius:22px 22px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -20px 50px -20px rgba(2,24,54,.5)}
  .c2-grid.c2-abierta::after{content:"";position:fixed;inset:0;z-index:89;background:rgba(15,23,42,.35)}
  .c2-grid.c2-abierta .c2-corner{z-index:200}
  .c2-mios .mh b{font-size:14px}
  .c2-listo{margin-left:auto;padding:6px 14px;border-radius:999px;border:0;background:#1a7de0;color:#fff;font:inherit;font-size:12.5px;font-weight:600}
  .c2-mios .ma{gap:10px}.c2-mios .mi{width:30px;height:30px}.c2-mios .mt span{font-size:12px}.c2-mios .mv{font-size:14px}
  .c2-mios .mf b{font-size:20px}
  .c2-head{grid-column:calc(var(--ci) + 2)}
  .c2-head{align-self:stretch;margin:0;border:0;border-radius:0;box-shadow:none;background:#fff;border-bottom:1px solid #e2e8f0;border-left:1px solid #eef2f7;padding:10px 8px 10px}
  .c2-head .rm{top:4px;right:4px;width:22px;height:22px}
  .c2-head .rm svg.i{width:12px;height:12px}
  .c2-head .ch-top{flex-direction:column;align-items:center;text-align:center;gap:5px;padding:0}
  .c2-head .ch-top .logo{width:32px;height:32px;border-radius:9px}
  .c2-head .ch-top b{font-size:11.5px;padding:0;line-height:1.2}
  .c2-head .ch-top span{font-size:10px;line-height:1.2;margin:0}
  .c2-head .ch-top .un-l{display:none}.c2-head .ch-top .un-c{display:block}
  .c2-head .ch-top small{display:none}
  .c2-head .ch-bar,.c2-head .ch-leg{display:none}
  .c2-head .ch-gap{padding:6px 0 0;justify-content:center;gap:0 4px;text-align:center}
  .c2-head .ch-gap b{font-size:15px}
  .c2-head .ch-gap span{display:none}
  .c2-head .ch-gap em{font-size:8.5px;padding:1px 5px;margin-top:4px;white-space:nowrap}
  .c2-gen .c2-corner{display:block;visibility:hidden}
  .c2-head-gen{padding:10px 8px}
  .c2-head-gen .logo{width:32px;height:32px;border-radius:9px;margin:0 auto}
  .c2-head-gen .pn{font-size:11px;text-align:center;padding:0;margin-top:6px;white-space:normal;overflow-wrap:break-word}
  .c2-head-gen .pi{font-size:10px;text-align:center}
  .c2-head-gen .price{font-size:15px;text-align:center;margin-top:6px;padding-top:6px}
  .c2-head-gen .price small{font-size:9px}
  .c2-cell.c2-cta{padding:8px 4px!important;border-left:0!important}
  .c2-cell.c2-cta .btn{min-height:38px;font-size:12px;padding:0 8px}
  .c2-sec{grid-column:1 / -1;margin:0;padding:7px 10px;font-size:10.5px;background:#f4f7fb;border-bottom:1px solid #e2e8f0;color:#334155}
  .c2-lab{grid-column:1;height:auto;min-height:0;background:#fff;border:0;border-bottom:1px solid #eef2f7;box-shadow:none;border-radius:0;padding:8px 8px 8px 10px;margin:0;gap:6px;align-self:stretch;align-items:center}
  .c2-lab .ic{display:none}
  .c2-lab b{font-size:11px;font-weight:600;color:#334155;line-height:1.2}
  .c2-cell{padding:8px 6px;min-height:0;font-size:12.5px;border:0!important;border-left:1px solid #eef2f7!important;border-bottom:1px solid #eef2f7!important;border-radius:0!important;margin:0!important;gap:2px;justify-content:center}
  .c2-cell small{font-size:9.5px;line-height:1.2}
  .c2-cell .c2-num{font-size:13px}
  .c2-cell b.c2-num{font-size:14px}
  .c2-cell:has(.c2-best){flex-direction:column;gap:3px}
  .c2-best{font-size:9px;padding:1px 5px}
  .c2-chip{font-size:10px;padding:2px 6px;gap:3px}
  .c2-chip svg.i{width:10px;height:10px}
  .c2-trend{font-size:11px}
  .c2-hist-full{display:none}
  .c2-hist-min{display:flex;flex-direction:column;align-items:center;gap:2px}
  .c2-hist-min b.c2-num{font-size:14px;font-weight:700}
  .c2-ver{margin-top:3px;padding:3px 9px;border-radius:999px;border:1px solid #bfdbfe;background:#eef6ff;color:#0b63c4;font:inherit;font-size:10px;font-weight:600}
  .c2-hoja-hist{display:block;position:fixed;inset:0;z-index:95;pointer-events:none}
  .c2-hoja-hist .c2-hoja-velo{position:absolute;inset:0;background:rgba(15,23,42,.35);opacity:0;transition:opacity .25s}
  .c2-hoja-hist .c2-hoja-caja{position:absolute;left:0;right:0;bottom:0;max-height:85dvh;overflow-y:auto;background:#fff;border-radius:22px 22px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -20px 50px -20px rgba(2,24,54,.5);transform:translateY(100%);transition:transform .35s cubic-bezier(.22,1,.36,1)}
  .c2-hoja-hist.on{pointer-events:auto}
  .c2-hoja-hist.on .c2-hoja-velo{opacity:1}
  .c2-hoja-hist.on .c2-hoja-caja{transform:none}
  .c2-hoja-hist .mh{display:flex;align-items:center;gap:8px;margin-bottom:12px}
  .c2-hoja-hist .mh b{font-size:15px;font-weight:700}
  .c2-hoja-hist .c2-listo{display:inline-flex;margin-left:auto;padding:6px 14px;border-radius:999px;border:0;background:#1a7de0;color:#fff;font:inherit;font-size:12.5px;font-weight:600}
  .c2-hist-item{display:flex;align-items:center;gap:10px;margin-top:14px}
  .c2-hist-item .logo{width:34px;height:34px;border-radius:9px;border:1px solid #e2e8f0}
  .c2-hist-item b{display:block;font-size:13px;font-weight:700}
  .c2-hist-item small{display:block;font-size:11px;color:#64748b}
  .c2-hist-g{margin-top:6px;border:1px solid #e2e8f0;border-radius:12px;padding:8px}
  .c2-hist-g .c2-spark{max-width:100%;width:100%}
  .c2-pesos{gap:3px;height:34px}
  .c2-pesos span{width:14px}
  .c2-pesos b{font-size:7.5px}
  .cmp-foot{padding:0 14px 14px;font-size:10.5px}
  @media (max-width:380px){.c2-grid{grid-template-columns:92px repeat(var(--n),minmax(88px,1fr))!important}}
}

/* Comparación genérica (Carreras y Becas) con la tabla nueva */
.c2-head-gen{padding:14px}
.c2-head-gen .logo{width:46px;height:46px;border-radius:12px;border:1px solid #e2e8f0;background:#fff}
.c2-head-gen .pn{font-size:15px;font-weight:700;line-height:1.2;margin-top:10px;padding-right:28px}
.c2-head-gen .pi{font-size:12px;color:#64748b;line-height:1.3;margin-top:2px}
.c2-head-gen .price{margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0;font-size:22px;font-weight:700;color:#0f172a;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.c2-head-gen .price small{display:block;font-size:11px;font-weight:400;color:#64748b;margin-top:3px;letter-spacing:0}
.c2-gen .c2-corner{visibility:hidden}
.c2-cell .c2-num.c2-big{font-size:16px;font-weight:700}
.c2-cell.c2-cta{border:0;background:transparent;padding:10px 0 0}
.c2-cell.c2-cta .btn{width:100%;background:#1a7de0;color:#fff;border:0;border-radius:12px;min-height:42px;font-weight:600}
.c2-lab-vacio{visibility:hidden}

/* Asesor 500: mismo diseño que el widget de Quini en la plataforma */
.asst-fab{right:16px;bottom:20px;height:56px;padding:0 16px 0 6px;gap:6px;border:1px solid #e2e8f0;background:#fff;color:#0f172a;font-size:13px;font-weight:600;box-shadow:0 12px 30px -10px rgba(21,32,58,.45);transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s cubic-bezier(.34,1.56,.64,1)}
.asst-fab:hover{transform:none;box-shadow:0 16px 34px -10px rgba(21,32,58,.6)}
.asst-fab:focus-visible{box-shadow:0 0 0 3px rgba(26,125,224,.35),0 12px 30px -10px rgba(21,32,58,.45)}
.asst-fab img{width:44px;height:44px;background:transparent;object-fit:contain}
.asst-fab span small{display:none}
.asst-fab::after{display:none}
body.has-cmp .asst-fab{bottom:20px}
body.has-cmp .cmpbar{width:min(920px,calc(100% - 232px));transform:translateX(calc(-50% - 92px))}
@media (max-width:980px){body.has-cmp .asst-fab{bottom:calc(84px + env(safe-area-inset-bottom))}body.has-cmp .cmpbar{width:min(920px,calc(100% - var(--s6)));transform:translateX(-50%)}}
.asst{right:20px;bottom:20px;width:440px;height:min(720px,calc(100dvh - 40px));border-radius:16px;border:1px solid #e2e8f0;background:#f4f7fb;box-shadow:0 24px 60px -20px rgba(21,32,58,.5)}
.asst-h{gap:10px;padding:12px 14px;background:#fff;color:#0f172a;border-bottom:1px solid #e2e8f0}
.asst-h::before{display:none}
.asst-h img{width:40px;height:40px;background:transparent;object-fit:contain}
.asst-h b{font-size:14px;font-weight:600;line-height:1.2}
.asst-h small{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.asst-h .x{width:32px;height:32px;border-radius:999px;background:transparent;color:#64748b}
.asst-h .x:hover{background:#eef2f7}
.asst-h .x svg{width:16px;height:16px}
.asst-prog{display:none}
.asst-log{padding:16px 14px;gap:12px}
.bub{border-radius:16px;padding:10px 14px;font-size:13px;line-height:1.55;box-shadow:none}
.bub.bot{border:1px solid #e2e8f0;background:#fff;color:#0f172a;border-bottom-left-radius:6px}
.bub.me{background:#1a7de0;color:#fff;border-bottom-right-radius:6px;box-shadow:none}
.asst-in{border-top:1px solid #e2e8f0;background:#fff;padding:12px}
.asst-in input[type=text],.asst-in input[type=tel],.asst-in input[type=email],.asst-in input[type=number],.asst-in input[type=search]{border-radius:16px;border-color:#e2e8f0;background:#f4f7fb;min-height:44px;padding:10px 14px;font-size:14px}
.asst-in input:focus{border-color:#1a7de0;box-shadow:none}
.asst-in .send{width:44px;height:44px;border-radius:999px;background:#1a7de0;box-shadow:none}
.asst-in .send svg{width:16px;height:16px}
@media (max-width:640px){.asst{inset:auto 0 0 0;width:100%;height:72dvh;border-radius:22px 22px 0 0}}
