/* ==========================================================================
   FA26 · Espacio alumnos — estilos
   Paleta de marca: cobalto #2138E0 · tinta #0E0F1A · papel #F2EEE4 · amarillo #FFC21A · rojo #FF5A36
   ========================================================================== */

/* Tipografías propias (servidas desde tu web, sin depender de Google) */
@font-face { font-family: 'Anton'; src: url('fonts/anton-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('fonts/caveat-latin-700-normal.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --cobalto: #2138E0;
  --cobalto-900: #1526A8;
  --cobalto-50: #E9ECFD;
  --tinta: #0E0F1A;
  --papel: #F2EEE4;
  --papel-2: #E9E4D6;
  --amarillo: #FFC21A;
  --amarillo-50: #FFF4D1;
  --rojo: #FF5A36;
  --verde: #0E9F6E;

  --bg: var(--papel);
  --surface: #FFFFFF;
  --surface-2: #FBFAF6;
  --line: #E4DFD1;
  --line-2: #D6D0BF;
  --ink: var(--tinta);
  --ink-2: #3D3F4F;
  --ink-3: #6B6D7C;
  --good: #0B7A55;
  --bad: #C8361A;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(14,15,26,.06), 0 4px 18px rgba(14,15,26,.06);
  --shadow-lg: 0 10px 40px rgba(14,15,26,.14);
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --fs: 15px;

  --s1: #2138E0; --s2: #FF5A36; --s3: #0E9F6E; --s4: #C98E00; --s5: #8B3FD9; --s6: #0A8FB8; --s7: #D6336C;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs)/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--cobalto); }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
.muted { color: var(--ink-3); }
.small { font-size: .86em; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: .95rem; line-height: 1.1; transition: transform .08s, background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--amarillo); color: var(--tinta); box-shadow: 0 2px 0 #C99300; }
.btn-yellow:hover { background: #FFCB3D; }
.btn-blue { background: var(--cobalto); color: #fff; }
.btn-blue:hover { background: var(--cobalto-900); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface); }
.btn-danger { background: #FDECE8; color: var(--bad); }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--cobalto); cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field small { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea, .input {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; font-weight: 500; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; min-height: 44px; }
.field textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--cobalto); box-shadow: 0 0 0 3px var(--cobalto-50); }
.check { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--cobalto); }
.pass-wrap { position: relative; display: block; }
.pass-wrap input { padding-right: 80px; }
.pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--papel); border: 0; border-radius: 7px; padding: 6px 10px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.meter { height: 5px; background: var(--papel-2); border-radius: 4px; overflow: hidden; margin-top: -6px; }
.meter span { display: block; height: 100%; width: 0; background: var(--rojo); transition: width .2s, background .2s; }
.meter span[data-s="3"] { background: var(--amarillo); } .meter span[data-s="4"], .meter span[data-s="5"] { background: var(--verde); }

.alert { padding: 12px 14px; border-radius: 10px; font-weight: 500; font-size: .93rem; line-height: 1.45; }
.alert-ok { background: #E3F5EC; color: #0A5C40; }
.alert-error { background: #FDECE8; color: #9A2A12; }
.alert-info { background: var(--cobalto-50); color: var(--cobalto-900); }
.alert-warn { background: var(--amarillo-50); color: #6B4E00; }

/* ==========================================================================
   Pantallas de acceso
   ========================================================================== */
.fa-auth { min-height: 100vh; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-hero { background: var(--cobalto); color: var(--papel); position: relative; overflow: hidden; display: flex; align-items: center; padding: 56px; }
.auth-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .13; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.auth-hero-in { max-width: 520px; position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-logo { width: 38px; height: 38px; display: inline-flex; }
.brand-logo svg { width: 100%; height: 100%; }
.brand-name { font-family: var(--display); font-size: 1.35rem; letter-spacing: .01em; color: inherit; }
.brand-name b { font-weight: 400; color: var(--amarillo); }
.auth-hero .brand-logo svg rect:first-child { fill: #fff; } .auth-hero .brand-logo svg rect:not(:first-child) { fill: var(--cobalto); }
.kicker { margin-top: 46px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; color: var(--amarillo); }
.auth-title { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: .95; text-transform: uppercase; margin-top: 12px; }
.auth-title em { font-style: normal; color: var(--amarillo); }
.hand { font-family: var(--hand); font-size: 1.9rem; color: var(--amarillo); margin-top: 10px; transform: rotate(-2deg); display: inline-block; }
.auth-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; font-size: 1.05rem; }
.auth-points li { padding-left: 30px; position: relative; }
.auth-points li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 5px; background: var(--amarillo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat, linear-gradient(#000,#000); -webkit-mask-composite: xor; mask-composite: exclude; }
.auth-card-wrap { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 22px; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 34px 30px; display: grid; gap: 16px; }
.auth-card h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; letter-spacing: .01em; }
.auth-links { text-align: center; font-size: .92rem; }
.auth-links a { font-weight: 600; }
.auth-foot { border-top: 1px solid var(--line); padding-top: 14px; font-size: .86rem; color: var(--ink-3); display: grid; gap: 8px; }
.auth-foot a { font-weight: 600; }
.legal { margin-top: 18px; font-size: .78rem; color: var(--ink-3); text-align: center; }
.brand-mobile { display: none; color: var(--ink); }
@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
  .brand-mobile { display: inline-flex; margin-bottom: 4px; }
  .auth-card { padding: 26px 20px; }
}

/* ==========================================================================
   App
   ========================================================================== */
.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink-3); }
.boot-logo { width: 56px; height: 56px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .7; } }

.topbar { position: sticky; top: 0; z-index: 40; background: var(--tinta); color: #fff; }
.topbar-in { max-width: 1320px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 18px; }
.topbar .brand-name { font-size: 1.2rem; }
.topbar .brand-logo { width: 34px; height: 34px; }
.topbar .sep { width: 1px; height: 26px; background: rgba(255,255,255,.18); }
.topbar .ctx { font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a, .nav button.navbtn { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 700; padding: 9px 12px; border-radius: 9px; font-size: .92rem; background: none; border: 0; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.nav a:hover, .nav button.navbtn:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.on { color: var(--tinta); background: var(--amarillo); }
.nav .ico { width: 18px; height: 18px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.clase-btn[aria-pressed="true"] { background: var(--cobalto) !important; color: #fff !important; }

#vista:focus { outline: none; }
.main { max-width: 1320px; margin: 0 auto; padding: 26px 20px 80px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: .005em; line-height: 1; }
.page-title em { font-style: normal; color: var(--cobalto); }
.crumbs { font-size: .85rem; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--cobalto); }
.lead { font-size: 1.04rem; color: var(--ink-2); max-width: 760px; margin-top: 8px; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card h3 { font-size: 1.05rem; font-weight: 800; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--papel); color: var(--ink-2); }
.chip-blue { background: var(--cobalto-50); color: var(--cobalto); }
.chip-yellow { background: var(--amarillo); color: var(--tinta); }
.chip-dark { background: var(--tinta); color: #fff; }

/* ---------- Panel ---------- */
.hello { display: grid; grid-template-columns: 1fr minmax(0, 1.15fr); gap: 20px 28px; align-items: center; margin-bottom: 26px; }
.hello-main h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.4rem); text-transform: uppercase; line-height: 1; }
.hello-main h1 em { font-style: normal; color: var(--cobalto); }
.hello-main p { color: var(--ink-2); margin-top: 10px; font-size: 1rem; line-height: 1.55; max-width: 560px; }
.hello-main .kick { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--cobalto); margin-bottom: 6px; }
.next { background: var(--cobalto); color: #fff; text-decoration: none; border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: 6px 6px 0 var(--amarillo); transition: transform .12s, box-shadow .12s; }
.next:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--amarillo); }
.next .lbl { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--amarillo); }
.next h2 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1; color: #fff; }
.next .when { font-weight: 700; color: rgba(255,255,255,.9); }
.next .small { color: rgba(255,255,255,.8); }
.next .btn { align-self: flex-start; margin-top: auto; }

.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 30px; scrollbar-width: thin; }
.quote { background: var(--surface); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); min-width: 150px; }
.quote .q-name { font-size: .78rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote .q-val { white-space: nowrap; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 2px; }
.quote .q-sub { font-size: .76rem; color: var(--ink-3); display: flex; gap: 8px; justify-content: space-between; }
.up { color: var(--good); } .down { color: var(--bad); }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search input { padding-left: 38px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }

.bloque { margin-bottom: 34px; }
.bloque-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.bloque-head h2 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; }
.bloque-head .num-b { font-family: var(--display); font-size: 1.9rem; color: var(--cobalto); }
.bloque-head p { color: var(--ink-3); font-weight: 500; }
.sims { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sim-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--surface); border-radius: var(--radius); padding: 18px; text-decoration: none; color: inherit; box-shadow: var(--shadow); border: 2px solid transparent; transition: transform .12s, border-color .12s, box-shadow .12s; min-height: 160px; }
.sim-card:hover { transform: translateY(-2px); border-color: var(--cobalto); box-shadow: var(--shadow-lg); }
.sim-card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--cobalto-50); color: var(--cobalto); display: grid; place-items: center; }
.sim-card .ic svg { width: 24px; height: 24px; }
.sim-card h3 { font-size: 1.05rem; font-weight: 800; }
.sim-card p { font-size: .9rem; color: var(--ink-3); line-height: 1.4; }
.sim-card .meta { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.sim-card.locked { opacity: .6; }

/* Invitación al plan financiero */
.plan-cta { display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; margin-bottom: 22px; border: 2px dashed var(--cobalto); flex-wrap: wrap; }
.plan-cta > span:nth-child(2) { flex: 1 1 260px; }
.plan-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cobalto-50); color: var(--cobalto); display: grid; place-items: center; flex: 0 0 auto; }
.plan-ic svg { width: 26px; height: 26px; }

/* ---------- Simulador ---------- */
.sim-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; align-items: start; }
.controls { position: sticky; top: 82px; display: grid; gap: 14px; max-height: calc(100vh - 100px); overflow: auto; scrollbar-width: thin; }
.controls .card { padding: 18px; }
.controls h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 800; margin-bottom: 12px; }
.ctl-grid { display: grid; gap: 12px; }
.ctl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.results { display: grid; gap: 16px; min-width: 0; }
.affix { position: relative; display: block; }
.affix > span { position: absolute; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-3); font-size: .88rem; pointer-events: none; }
.affix .pre { left: 12px; } .affix .suf { right: 12px; }
.affix input.has-pre { padding-left: 30px; } .affix input.has-pre2 { padding-left: 50px; } .affix input.has-suf { padding-right: 52px; } .affix input.has-suf2 { padding-right: 84px; }
.seg { display: inline-flex; background: var(--papel); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 8px; font-weight: 700; font-size: .85rem; cursor: pointer; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--tinta); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg.full { display: flex; } .seg.full button { flex: 1; }
.range-row { display: grid; grid-template-columns: 1fr 90px; gap: 10px; align-items: center; }
input[type=range] { accent-color: var(--cobalto); width: 100%; }

.picks { display: flex; flex-wrap: wrap; gap: 7px; }
.pick { border: 1.5px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 11px; font-size: .84rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.pick .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.pick.on { border-color: var(--tinta); background: var(--tinta); color: #fff; }
.pick[disabled] { opacity: .4; cursor: not-allowed; }
.pick-group { display: grid; gap: 6px; }
.pick-group > small { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--ink-3); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); border-top: 4px solid var(--line); }
.stat .s-l { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.stat .s-v { font-size: 1.75rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin-top: 4px; line-height: 1.1; word-break: break-word; }
.stat .s-d { font-size: .84rem; color: var(--ink-3); margin-top: 4px; }
.stat.hero { background: var(--tinta); color: #fff; border-top-color: var(--amarillo); }
.stat.hero .s-l, .stat.hero .s-d { color: rgba(255,255,255,.7); }
.stat.hero .s-v { color: var(--amarillo); }

.chart-box { position: relative; height: 380px; }
.chart-box.sm { height: 260px; } .chart-box.lg { height: 460px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }

.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 800; padding: 9px 10px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: middle; }
.heat td.r { font-weight: 700; }

.note { font-size: .86rem; color: var(--ink-3); line-height: 1.5; }
.note b { color: var(--ink-2); }
details.how { background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 16px; }
details.how summary { cursor: pointer; font-weight: 800; font-size: .9rem; color: var(--ink-2); }
details.how[open] summary { margin-bottom: 8px; }
details.how p, details.how li { font-size: .9rem; color: var(--ink-2); }
details.how ul { margin: 6px 0 0; padding-left: 18px; }
.source { font-size: .78rem; color: var(--ink-3); }
.empty { padding: 30px; text-align: center; color: var(--ink-3); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.callout { background: var(--amarillo-50); border-left: 5px solid var(--amarillo); padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.callout b { font-weight: 800; }
.big-answer { font-size: 1.25rem; font-weight: 600; line-height: 1.45; }
.big-answer b { font-weight: 800; background: linear-gradient(transparent 62%, var(--amarillo) 62%); }
.tabs { display: flex; gap: 4px; box-shadow: inset 0 -2px 0 var(--line); margin-bottom: 14px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 800; color: var(--ink-3); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; flex: none; }
.tabs button.on { color: var(--tinta); border-color: var(--cobalto); }

/* ---------- Sesiones ---------- */
.ses-list { display: grid; gap: 12px; }
.ses { display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit; border: 2px solid transparent; }
.ses:hover { border-color: var(--cobalto); }
.ses .n { font-family: var(--display); font-size: 2.6rem; color: var(--cobalto); line-height: 1; text-align: center; }
.ses h3 { font-size: 1.1rem; font-weight: 800; }
.ses .d { font-size: .88rem; color: var(--ink-3); }
.ses.past .n { color: var(--ink-3); }
.ses.today { border-color: var(--amarillo); box-shadow: 6px 6px 0 var(--amarillo); }
.video { position: relative; padding-top: 56.25%; background: var(--tinta); border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: rgba(255,255,255,.75); padding: 20px; gap: 6px; }
.video-empty b { color: var(--amarillo); font-family: var(--display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; }
.mats { display: grid; gap: 8px; }
.mat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; color: inherit; font-weight: 700; }
.mat:hover { border-color: var(--cobalto); }
.mat .ext { font-size: .7rem; font-weight: 800; text-transform: uppercase; background: var(--tinta); color: #fff; border-radius: 6px; padding: 4px 6px; min-width: 40px; text-align: center; }

/* ---------- Avisos flotantes y diálogos ---------- */
.toast-wrap { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(92vw, 460px); }
.toast { background: var(--tinta); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; animation: tin .2s ease-out; }
.toast.error { background: var(--bad); }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }
.modal-bg { position: fixed; inset: 0; background: rgba(14,15,26,.55); z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 18px; width: min(640px, 100%); max-height: 90vh; overflow: auto; padding: 24px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.modal h3 { font-size: 1.25rem; font-weight: 800; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ---------- Admin ---------- */
.adm-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-tabs a { padding: 9px 14px; border-radius: 10px; font-weight: 800; text-decoration: none; color: var(--ink-2); background: var(--surface); box-shadow: var(--shadow); font-size: .9rem; }
.adm-tabs a.on { background: var(--tinta); color: #fff; }
.edit-tbl input, .edit-tbl select { width: 100%; min-width: 70px; padding: 7px 8px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; font-size: .88rem; }
.edit-tbl td { padding: 5px 4px; }
.pill-ok { color: var(--good); font-weight: 800; } .pill-bad { color: var(--bad); font-weight: 800; } .pill-warn { color: #8A6400; font-weight: 800; }
.copybox { display: flex; gap: 8px; } .copybox input { flex: 1; font-size: .8rem; }

/* ---------- Pie ---------- */
.foot { max-width: 1320px; margin: 0 auto; padding: 0 20px 40px; font-size: .78rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Modo clase: letra grande, sin distracciones, para compartir pantalla
   ========================================================================== */
body.clase { --fs: 18px; }
body.clase .topbar .nav a:not(.clase-keep), body.clase .topbar .ctx, body.clase .topbar .sep { display: none; }
body.clase .main { max-width: 1600px; }
body.clase .sim-layout { grid-template-columns: 360px minmax(0,1fr); }
body.clase .chart-box { height: 520px; }
body.clase .stat .s-v { font-size: 2.3rem; }
body.clase .foot { display: none; }
body.clase .page-title { font-size: 3.4rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .sim-layout { grid-template-columns: minmax(0, 1fr); }
  .controls { position: static; max-height: none; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .hello { grid-template-columns: 1fr; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  .topbar .ctx, .topbar .sep { display: none; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--tinta); flex-direction: column; align-items: stretch; padding: 8px 12px 14px; }
  .nav.open { display: flex; }
  .nav a, .nav button.navbtn { padding: 12px; }
  .chart-box { height: 300px; } .chart-box.lg { height: 340px; }
  .ses { grid-template-columns: 54px 1fr; } .ses > :last-child { grid-column: 1 / -1; }
  .ses .n { font-size: 2rem; }
}
@media (max-width: 520px) {
  .main { padding: 18px 14px 70px; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .stat .s-v { font-size: 1.4rem; }
  .ctl-row:not([data-mes]) { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .topbar-in { padding: 0 14px; }
}
@media print {
  .topbar, .controls, .foot, .toolbar { display: none !important; }
  .sim-layout { grid-template-columns: minmax(0, 1fr); }
  body { background: #fff; }
  .card, .stat { box-shadow: none; border: 1px solid #ddd; }
}

/* Administración · simuladores habilitados */
.sim-toggle{display:grid;grid-template-columns:44px 1fr auto auto;position:relative;gap:12px;align-items:center;padding:10px 12px;border:1.5px solid var(--line-2);border-radius:12px;background:#fff;cursor:pointer}
.sim-toggle.on{border-color:var(--cobalto);background:var(--cobalto-50)}
.sim-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.sim-toggle .sw{width:40px;height:22px;border-radius:12px;background:#C9CCD6;position:relative;transition:background .15s}
.sim-toggle .sw::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
.sim-toggle.on .sw{background:var(--cobalto)}
.sim-toggle.on .sw::after{transform:translateX(18px)}
.sim-toggle input:focus-visible+.sw{outline:3px solid var(--amarillo);outline-offset:2px}
.sim-toggle .t{display:flex;flex-direction:column;gap:2px;min-width:0}
@media (max-width:700px){.sim-toggle{grid-template-columns:44px 1fr}.sim-toggle>.muted,.sim-toggle>.btn{grid-column:2}}
.sim-card.off{opacity:.62;border-style:dashed;cursor:default}
div.sim-card.off:hover{transform:none;box-shadow:none}
.check .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: middle; }
.page-head .sim-refresh { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; white-space: nowrap; }
.page-head .sim-refresh .ico { width: 16px; height: 16px; }
.sim-toggle .sw-wrap{cursor:pointer;display:inline-flex}

/* ---------------- Tablero Uruguay ---------------- */
.uy-kpis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 14px; scrollbar-width: thin; }
.uy-kpi { background: var(--tinta, #0E0F1A); color: #F2EEE4; border-radius: 14px; padding: 12px 14px 10px; min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.uy-kpi.viejo { opacity: .6; }
.uy-kpi .k-n { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFC21A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uy-kpi .k-v { font-family: var(--display); font-size: 1.75rem; line-height: 1.05; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.uy-kpi .k-s { display: flex; justify-content: space-between; gap: 6px; font-size: .72rem; color: rgba(242,238,228,.7); }
.uy-kpi .k-s .up { color: #5BE0A8; } .uy-kpi .k-s .down { color: #FF8A6E; }
.uy-spark { width: 100%; height: 30px; display: block; margin: 4px 0 2px; }
.uy-kpi .uy-spark polyline { stroke-width: 1.8; }
.uy-sup { margin: 12px 0 16px; }
.uy-sup-in { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; }
.uy-sup-in > .field, .uy-sup-in > span > .field { min-width: 170px; flex: 0 1 200px; }
.uy-sup-txt { display: flex; flex-direction: column; gap: 3px; flex: 1 1 240px; align-self: center; }
.uy-sup .calc-only, .uy-sup .hist-only { display: none; }
.uy-modo-calc .uy-sup .calc-only, .uy-modo-hist .uy-sup .hist-only { display: block; }
.uy-modo-hist .uy-sup .num-sup { display: none; }
.uy-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.uy-col { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; border-top: 5px solid var(--mc); }
.uy-col-h { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--mbg); }
.uy-col-h h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; }
.uy-pre { width: 42px; height: 42px; border-radius: 12px; background: var(--mc); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex: none; }
.uy-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 13px 16px; border-top: 1px solid var(--line); }
.uy-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.uy-rate { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.uy-big { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--mc); font-variant-numeric: tabular-nums; }
.uy-row-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.uy-real { font-weight: 800; font-size: .8rem; padding: 2px 8px; border-radius: 999px; }
.uy-real.pos { background: #E2F4EC; color: #0B7A55; } .uy-real.neg { background: #FFE9E3; color: #C2381C; }
.uy-riesgo { display: inline-flex; gap: 2px; } .uy-riesgo i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); display: inline-block; } .uy-riesgo i.on { background: var(--ink-3, #6B6D7C); }
.uy-auto { font-size: .72rem; font-weight: 800; color: #0B7A55; } .uy-auto.viejo { color: #B07A00; }
.uy-manual { font-size: .72rem; font-weight: 700; color: var(--ink-3, #6B6D7C); }
@media (max-width: 1080px) { .uy-board { grid-template-columns: 1fr; } }

/* Panel de tasas (Las tasas de hoy) */
.uy-sup [hidden] { display: none !important; }
.uy-pro-card .card-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.uy-pro-card .card-head h3 { margin: 0; }
table.uy-pro { min-width: 860px; }
.uy-pro th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-3); font-size: .7rem; }
.uy-pro th.c { text-align: center; border-bottom: 1px solid var(--line); }
.uy-pro thead tr:first-child th[rowspan] { vertical-align: bottom; }
.uy-pro .uy-g1 { border-left: 1px solid var(--line); }
.uy-pro td { padding: 11px 10px; }
.uy-pro tr.uy-grp td { background: var(--mbg); border-top: 3px solid var(--mc); padding: 9px 12px; }
.uy-pro tr.uy-grp td > * { vertical-align: middle; }
.uy-pro tr.uy-grp .uy-pre { display: inline-grid; width: 30px; height: 30px; border-radius: 9px; font-size: .78rem; margin-right: 10px; }
.uy-pro tr.uy-grp b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .01em; margin-right: 10px; }
.uy-pro .uy-ins { min-width: 210px; }
.uy-pro .uy-ins > b, .uy-pro .uy-ins > span { display: block; }
.uy-ins-foot { display: flex !important; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 3px; }
.uy-pro .uy-tasa { font-family: var(--display); font-size: 1.45rem; line-height: 1; white-space: nowrap; }
.uy-pro tr.uy-top td { background: #FFF8E1; }
.uy-best { display: inline-block; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--amarillo); color: var(--tinta); border-radius: 999px; padding: 2px 7px; margin-left: 4px; vertical-align: 2px; }
.uy-tend { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .8rem; font-weight: 700; }
.uy-tend .uy-spark { width: 84px; height: 24px; }
.uy-pro td:first-child, .uy-pro th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.uy-pro tr.uy-grp td:first-child { background: var(--mbg); }
.uy-pro tr.uy-top td:first-child { background: #FFF8E1; }

/* Dólar e inflación de equilibrio */
.eq-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.eq-duo > .card { margin-bottom: 0; }
.eq-duo + .card { margin-top: 16px; }
.eq-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 14px; margin: 4px 0 14px; }
.eq-k { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.eq-v { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1.05; }
.eq-regla { position: relative; margin: 6px 0 4px; }
.eq-row { position: relative; height: 22px; }
.eq-lbl { position: absolute; top: 2px; transform: translateX(-50%); white-space: nowrap; font-size: .78rem; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.eq-lbl.a-izq { transform: none; } .eq-lbl.a-der { transform: translateX(-100%); }
.eq-lbl i { width: 9px; height: 9px; border-radius: 50%; background: var(--dc); display: inline-block; }
.eq-lbl-eq { font-weight: 800; color: var(--tinta); background: var(--amarillo); border-radius: 6px; padding: 1px 7px; top: 0; }
.eq-bar { position: relative; height: 34px; border-radius: 10px; overflow: hidden; margin-top: 4px; }
.eq-z { position: absolute; top: 0; bottom: 0; left: 0; background: color-mix(in srgb, var(--zc) 16%, #fff); color: var(--zc); display: flex; align-items: center; padding: 0 10px; font-size: .78rem; font-weight: 800; white-space: nowrap; overflow: hidden; }
.eq-z.der { justify-content: flex-end; }
.eq-line { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--tinta); }
.eq-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--dc); border: 2.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.eq-ticks { position: relative; height: 20px; font-size: .7rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.eq-ticks span { position: absolute; top: 3px; transform: translateX(-50%); }
.eq-grid-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 6px; align-items: center; }
.eq-ylab { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); text-align: center; }
.eq-xlab { grid-column: 2; text-align: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.eq-grid { display: grid; grid-template-columns: 34px repeat(var(--nc), minmax(0, 1fr)); gap: 2px; }
.eq-gy, .eq-gx { font-size: .7rem; color: var(--ink-3); font-variant-numeric: tabular-nums; display: grid; place-items: center; }
.eq-gy { justify-items: end; padding-right: 4px; }
.eq-gx { padding-top: 3px; }
.eq-c { height: 30px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; border-radius: 4px; cursor: default; }
.eq-c.g-UYU { background: #E9ECFD; color: #2138E0; }
.eq-c.g-UI { background: #FFE9E3; color: #D9431F; }
.eq-c.g-USD { background: #E2F4EC; color: #0B7A55; }
.eq-c.yo { outline: 3px solid var(--tinta); outline-offset: -1px; position: relative; z-index: 1; }
@media (max-width: 900px) { .eq-duo { grid-template-columns: 1fr; } .eq-v { font-size: 2.2rem; } }
@media (max-width: 560px) { .eq-c { height: 24px; font-size: .55rem; } .eq-grid { grid-template-columns: 28px repeat(var(--nc), minmax(0, 1fr)); gap: 1px; } .eq-gx { font-size: .58rem; } }

/* ---------------- Mi plan financiero ---------------- */
.pl-steps { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 16px; }
.pl-step { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 14px 7px 7px; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--ink); }
.pl-step span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--papel); font-size: .8rem; font-weight: 800; }
.pl-step.on { border-color: var(--cobalto); background: var(--cobalto); color: #fff; } .pl-step.on span { background: #FFC21A; color: var(--ink); }
.pl-step.ok span { background: #0E9F6E; color: #fff; }
.pl-card { max-width: 860px; }
.pl-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; margin-bottom: 4px; }
.pl-grid { margin-top: 14px; max-width: 520px; }
.pl-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 14px; }
.pl-cat { position: relative; } .pl-tag { position: absolute; top: 0; right: 0; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 1px 7px; border-radius: 999px; }
.pl-tag.es { background: var(--cobalto-50); color: var(--cobalto); } .pl-tag.va { background: var(--papel); color: var(--ink-3, #6B6D7C); }
.pl-total { margin-top: 14px; padding: 10px 14px; background: var(--papel); border-radius: 10px; }
.pl-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.pl-deudas { display: grid; gap: 10px; margin: 12px 0; }
.pl-fila { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr 36px; row-gap: 4px; gap: 8px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #FBFAF6; }
.pl-vacio { color: var(--ink-3, #6B6D7C); padding: 12px; border: 1.5px dashed var(--line-2); border-radius: 12px; text-align: center; }
.pl-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 16px; margin-bottom: 16px; background: var(--surface); box-shadow: var(--shadow); border-left: 8px solid var(--pc, #2138E0); }
.pl-hero > div { flex: 1 1 420px; }
.pl-badge { display: inline-block; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; padding: 2px 14px; border-radius: 10px; background: var(--pc, #2138E0); color: #fff; }
.pl-rojo { --pc: #E2401F; } .pl-ajustada { --pc: #C98E00; } .pl-camino { --pc: #2138E0; } .pl-solida { --pc: #0E9F6E; }
.pl-pasos { margin: 0; padding-left: 22px; display: grid; gap: 12px; } .pl-pasos li b { display: block; } .pl-pasos li span { color: var(--ink-2, #3A3B48); font-size: .94rem; }
.pl-bar { display: flex; height: 34px; border-radius: 10px; overflow: hidden; margin: 6px 0 12px; } .pl-bar span { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .8rem; white-space: nowrap; overflow: hidden; }
.pl-reparto { display: grid; gap: 8px; } .pl-reparto > div { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; }
.pl-reparto i { width: 12px; height: 12px; border-radius: 3px; } .pl-reparto small { display: block; color: var(--ink-3, #6B6D7C); font-size: .8rem; }
.pl-mon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.pl-mon > div { border-top: 4px solid var(--mc); padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 3px; }
.pl-pct { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--mc); }
.pg-add { display: grid; grid-template-columns: 1.6fr 1.2fr 160px auto; gap: 8px; margin-bottom: 12px; align-items: center; }
.pg-tot { margin-bottom: 8px; }
.pg-cat { margin-bottom: 10px; } .pg-cat-h { display: flex; justify-content: space-between; gap: 8px; font-size: .9rem; }
.pg-track { height: 9px; background: var(--papel); border-radius: 6px; margin-top: 4px; overflow: hidden; } .pg-track span { display: block; height: 100%; border-radius: 6px; }
@media (max-width: 860px) {
  .pl-cats, .pl-mon { grid-template-columns: 1fr; }
  .pl-fila { grid-template-columns: 1fr 1fr; } .pl-fila > .btn { justify-self: end; }
  .pg-add { grid-template-columns: 1fr 1fr; } .pg-add > .btn { grid-column: 1 / -1; }
}
.pg-periodo { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pg-periodo select { min-height: 38px; padding: 6px 10px; width: auto; }
.pl-fila .pl-info { grid-column: 1 / -1; margin: 0; min-height: 0; }
.pl-fila .pl-info:empty { display: none; }

/* ---------------- Mi cuenta ---------------- */
.cta-layout { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.cta-side { display: grid; gap: 14px; position: sticky; top: 82px; }
.cta-user { display: flex; gap: 12px; align-items: center; }
.cta-user > div { display: flex; flex-direction: column; min-width: 0; } .cta-user .small { overflow: hidden; text-overflow: ellipsis; }
.cta-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--cobalto); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; flex: none; box-shadow: 0 0 0 3px #FFC21A; }
.cta-menu nav { display: grid; gap: 4px; margin-bottom: 14px; }
.cta-menu nav button, .cta-menu nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; text-decoration: none; }
.cta-menu nav .ico { width: 18px; height: 18px; }
.cta-menu nav button:hover, .cta-menu nav a:hover { background: var(--papel); }
.cta-menu nav button.on { background: var(--cobalto); color: #fff; }
.cta-main { display: grid; gap: 14px; }
.cta-h { font-family: var(--display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; margin: 0; }
.cta-kick { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalto); margin-bottom: 4px; }
.cta-banner { border-left: 8px solid var(--pc, #2138E0); }
.cta-port { --pc: #FFC21A; }
.cta-banner-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.cta-banner-h h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.55rem; text-transform: uppercase; }
.cta-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cta-nums > div { background: var(--papel); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.cta-nums span { font-size: .76rem; font-weight: 700; color: var(--ink-3, #6B6D7C); }
.cta-nums b { font-size: 1.2rem; font-variant-numeric: tabular-nums; } .cta-nums b.cta-rango { font-size: 1rem; }
.cta-nums small { font-size: .76rem; color: var(--ink-3, #6B6D7C); }
.cta-mix { height: 30px; margin: 0 0 12px; }
.cta-mon { margin-top: 12px; }
.cta-vacia { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; border: 2px dashed var(--line-2); box-shadow: none; }
.cta-vacia > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cta-gastos { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; text-decoration: none; color: inherit; }
.cta-gastos > div:first-child { display: flex; flex-direction: column; gap: 2px; } .cta-gastos b { font-size: 1.3rem; }
.cta-perfil { font-family: var(--display); font-size: 2rem; text-transform: uppercase; color: var(--cobalto); margin: 2px 0; }
@media (max-width: 960px) { .cta-layout { grid-template-columns: 1fr; } .cta-side { position: static; } }

/* ---------------- Cinta de cotizaciones ---------------- */
.cinta { background: #191A27; color: #E9E5DA; font-size: .82rem; overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.06); position: sticky; top: var(--topbar-h, 64px); z-index: 30; }
.cinta-in { display: inline-flex; animation: cinta 70s linear infinite; padding: 7px 0; }
.cinta:hover .cinta-in { animation-play-state: paused; }
.cinta-g { display: inline-flex; align-items: center; }
.cinta .ci { padding: 0 4px; font-variant-numeric: tabular-nums; } .cinta .ci b { color: #FFC21A; font-weight: 700; margin-right: 3px; }
.cinta .ci i { font-style: normal; font-weight: 700; } .cinta .ci i.up { color: #5BE0A8; } .cinta .ci i.down { color: #FF8A6E; }
.cinta .cs { color: rgba(233,229,218,.35); padding: 0 12px; }
@keyframes cinta { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cinta { overflow-x: auto; } .cinta-in { animation: none; } .cinta-g[aria-hidden] { display: none; } }
body.clase .cinta { display: none; }
/* ---------------- Mi situación (panel) ---------------- */
.sit-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-bottom: 26px; }
.sit { flex: 1 1 320px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: inherit; border-left: 6px solid var(--pc, #2138E0); }
.sit-port { --pc: #FFC21A; } .sit-cta { --pc: var(--line-2); }
.sit-k { grid-column: 1; font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--cobalto); }
.sit-v { grid-column: 1; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sit-go { grid-column: 2; grid-row: 1 / span 2; font-weight: 800; color: var(--cobalto); }
.sit:hover { transform: translateY(-1px); }
.pl-badge.sm { font-size: .95rem; padding: 0 8px; border-radius: 7px; }
.sit-mas { align-self: center; font-weight: 700; color: var(--cobalto); padding: 0 6px; }
.sit-off, .cta-off { opacity: .7; cursor: default; }
.sit-off:hover { transform: none; }
.sit-go .chip .ico, .cta-off .chip .ico { width: 12px; height: 12px; vertical-align: -1px; }

/* Mi situación en el panel (tarjetas destacadas) */
.sit2-sec { margin-bottom: 28px; }
.sit2-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.sit2 { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: inherit; border-top: 6px solid var(--pc, #2138E0); transition: transform .15s ease, box-shadow .15s ease; min-height: 200px; }
a.sit2:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.sit2-port { --pc: #FFC21A; }
.sit2-h { display: flex; gap: 14px; align-items: center; }
.sit2-h > div { flex: 1; min-width: 0; }
.sit2-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--pc, #2138E0); color: #fff; display: grid; place-items: center; flex: none; }
.sit2-port .sit2-ic { color: var(--ink); }
.sit2-ic .ico { width: 26px; height: 26px; }
.sit2-k { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalto); }
.sit2 h3 { margin: 2px 0 0; font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.sit2-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sit2-nums > div { background: var(--papel); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sit2-nums span { font-size: .74rem; font-weight: 700; color: var(--ink-3, #6B6D7C); }
.sit2-nums b { font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sit2-txt { margin: 0; color: var(--ink-2, #3A3B48); font-size: 1rem; line-height: 1.45; }
.sit2-go { margin-top: auto; align-self: flex-start; font-weight: 800; color: var(--cobalto); }
.sit2-cta .sit2-go { background: #FFC21A; color: var(--ink); padding: 9px 16px; border-radius: 10px; box-shadow: 0 3px 0 #C99600; }
.sit2-off { --pc: #9A9CA8; opacity: .8; } .sit2-off .sit2-k { color: #6B6D7C; }
@media (max-width: 520px) { .sit2-row { grid-template-columns: 1fr; } .sit2-nums { grid-template-columns: 1fr 1fr; } .sit2 h3 { font-size: 1.5rem; } }
.pl-hitos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pl-hitos > div { border-left: 5px solid var(--hc); background: var(--papel); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.pl-hito-n { font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.pl-fila-d { grid-template-columns: 1.6fr .8fr 1fr .9fr .9fr 36px; }
.pl-sinint { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; background: #E2F4EC; color: #0B7A55; font-weight: 700; }
@media (max-width: 860px) { .pl-fila-d { grid-template-columns: 1fr 1fr; } .pl-fila-d > label:first-child { grid-column: 1 / -1; } }

/* Diagnóstico (v1.3.8): menos tarjetas, más líneas y aire */
.pl-dos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-bottom: 16px; }
.pl-estemes .pl-bar { height: 12px; margin: 2px 0 6px; }
.pl-mesf { display: flex; flex-direction: column; }
.pl-mesf > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 12px 16px; border-bottom: 1px solid #ECE8DD; position: relative; }
.pl-mesf > div::before { content: ''; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--c); }
.pl-mesf span { font-weight: 700; font-size: 15px; display: flex; flex-direction: column; }
.pl-mesf small { font-weight: 500; font-size: 12px; color: #6B6D7C; }
.pl-mesf b { font-family: Anton, sans-serif; font-weight: 400; font-size: 30px; line-height: 1; color: var(--c); white-space: nowrap; }
.pl-ing { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; margin-top: 16px; }
.pl-ing-c { position: relative; height: 150px; }
.pl-ing h4 { margin: 0 0 6px; font-size: .9rem; }
.pl-ing-l { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.pl-ing-l li { display: grid; grid-template-columns: 10px 1fr auto 38px; gap: 8px; align-items: center; padding: 3px 0; }
.pl-ing-l i { width: 10px; height: 10px; border-radius: 3px; }
.pl-ing-l b { font-weight: 700; } .pl-ing-l em { font-style: normal; color: #6B6D7C; text-align: right; }
.pl-prio { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pl-prio li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #ECE8DD; }
.pl-prio li:last-child { border-bottom: 0; }
.pl-pr-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--c); box-shadow: inset 0 0 0 2px var(--c); }
.pl-prio li.now .pl-pr-n { background: var(--c); color: #fff; box-shadow: none; }
.pl-pr-t { font-weight: 700; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.pl-pr-prog { display: block; height: 5px; background: #ECE7DA; border-radius: 9px; max-width: 160px; overflow: hidden; }
.pl-pr-prog i { display: block; height: 100%; background: var(--c); }
.pl-pr-v { text-align: right; display: flex; flex-direction: column; }
.pl-pr-v b { font-size: 17px; font-weight: 800; white-space: nowrap; }
.pl-pr-v small { font-size: 12px; color: #6B6D7C; }
.pl-buena { margin: 10px 0 0; font-size: 12.5px; color: #4A4C5A; }
.pl-buena .up { font-weight: 800; }
/* Hoja de ruta horizontal: una línea de tiempo con las etapas */
.pl-fases { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 0; overflow-x: auto; scrollbar-width: none; }
.pl-fases::-webkit-scrollbar { display: none; }
.pl-fases li { position: relative; padding: 28px 18px 4px 0; }
.pl-fases li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px #fff; z-index: 1; }
.pl-fases li::after { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: var(--c); opacity: .35; }
.pl-f-cuando { display: block; font-family: Anton, sans-serif; font-size: 22px; line-height: 1.1; color: #0E0F1A; }
.pl-f-b > b { display: block; font-size: 14px; margin-top: 2px; }
.pl-f-montos { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; font-size: 13px; }
.pl-f-montos span { display: flex; align-items: center; gap: 6px; }
.pl-f-montos span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pl-f-montos em { font-style: normal; font-size: 11.5px; color: #6B6D7C; }
.pl-f-logro { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #0B7A55; }
.pl-f-tot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; border-top: 1px solid #ECE8DD; padding-top: 14px; margin-top: 14px; }
.pl-f-tot div { display: flex; flex-direction: column; }
.pl-f-tot span { font-size: 12px; color: #6B6D7C; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pl-f-tot b { font-family: Anton, sans-serif; font-weight: 400; font-size: 30px; color: #2138E0; }
.pl-f-tot .note { flex: 1; min-width: 200px; margin: 0; text-align: right; }
@media (max-width: 860px) { .pl-dos { grid-template-columns: 1fr; } .pl-fases { grid-auto-columns: 72%; } .pl-f-tot .note { text-align: left; } .pl-ing { grid-template-columns: 1fr; } .pl-ing-c { height: 150px; } }

/* Separación entre bloques del diagnóstico (v1.3.9) */
#pl-diag { display: flex; flex-direction: column; gap: 16px; }
#pl-diag > * { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Asistente con IA (v1.4.0) */
.ia-btn { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border: 0; border-radius: 999px; background: #2138E0; color: #fff; font: 700 14px 'Inter Tight', sans-serif; box-shadow: 0 10px 28px rgba(33,56,224,.35); cursor: pointer; transition: transform .15s, opacity .15s; }
.ia-btn:hover { transform: translateY(-2px); }
.ia-btn.off { opacity: 0; pointer-events: none; transform: translateY(10px); }
.ia-btn-i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #FFC21A; color: #0E0F1A; font-family: Anton, sans-serif; font-size: 18px; }
.ia-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(420px, 100vw); display: flex; flex-direction: column; background: #FBFAF6; box-shadow: -14px 0 40px rgba(14,15,26,.18); transform: translateX(105%); transition: transform .22s ease; }
.ia-panel.on { transform: none; }
.ia-panel header { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: #0E0F1A; color: #fff; }
.ia-panel header > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.ia-panel header small { font-size: 11.5px; color: #B9BBCB; }
.ia-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #FFC21A; color: #0E0F1A; font-family: Anton, sans-serif; font-size: 18px; }
.ia-x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; font-size: 15px; cursor: pointer; }
.ia-x:hover { background: rgba(255,255,255,.2); }
.ia-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ia-hola { display: flex; gap: 10px; align-items: flex-start; }
.ia-hola p { margin: 0; background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 3px rgba(14,15,26,.06); }
.ia-sug { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; padding-left: 46px; }
.ia-sug button { text-align: left; border: 1.5px solid #D9DCF7; background: #fff; color: #2138E0; border-radius: 12px; padding: 8px 12px; font: 600 13px 'Inter Tight', sans-serif; cursor: pointer; }
.ia-sug button:hover { background: #EEF0FD; }
.ia-m { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.ia-m p { margin: 0 0 6px; } .ia-m p:last-child { margin-bottom: 0; }
.ia-m ul { margin: 4px 0 6px; padding-left: 18px; } .ia-m li { margin: 2px 0; }
.ia-yo { align-self: flex-end; background: #2138E0; color: #fff; border-bottom-right-radius: 4px; }
.ia-el { align-self: flex-start; background: #fff; color: #0E0F1A; border-top-left-radius: 4px; box-shadow: 0 1px 3px rgba(14,15,26,.06); }
.ia-err { background: #FFF0EC; color: #B33A1E; }
.ia-esc { display: flex; gap: 4px; padding: 14px; }
.ia-esc i { width: 7px; height: 7px; border-radius: 50%; background: #9A9CAB; animation: iaPunto 1s infinite ease-in-out; }
.ia-esc i:nth-child(2) { animation-delay: .15s; } .ia-esc i:nth-child(3) { animation-delay: .3s; }
@keyframes iaPunto { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ia-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid #ECE8DD; background: #fff; }
.ia-form textarea { flex: 1; resize: none; border: 1.5px solid #E2DED2; border-radius: 12px; padding: 10px 12px; font: 14px 'Inter Tight', sans-serif; max-height: 140px; outline: none; }
.ia-form textarea:focus { border-color: #2138E0; }
.ia-enviar { width: 42px; height: 42px; flex: none; border: 0; border-radius: 12px; background: #2138E0; color: #fff; font-size: 16px; cursor: pointer; }
.ia-enviar:disabled { opacity: .5; }
.ia-pie { display: flex; justify-content: space-between; gap: 8px; padding: 6px 14px 10px; background: #fff; font-size: 11px; color: #8A8C9A; }
.ia-base { white-space: pre-wrap; font-size: 12px; background: #F6F4EE; padding: 10px; border-radius: 8px; max-height: 320px; overflow: auto; }
.ia-log { border-bottom: 1px solid #ECE8DD; padding: 10px 0; }
.ia-log summary { cursor: pointer; font-size: 14px; }
.ia-log-r { margin: 8px 0 4px 14px; padding: 10px 12px; background: #F6F4EE; border-radius: 10px; font-size: 13.5px; }
.ia-log-r p { margin: 0 0 6px; }
@media (max-width: 640px) { .ia-btn { right: 14px; bottom: 14px; padding: 8px; } .ia-btn > span:last-child { display: none; } .ia-panel { width: 100vw; } }
@media print { .ia-btn, .ia-panel { display: none !important; } }
.ia-adm { display: flex; flex-direction: column; gap: 16px; }
.ia-adm > .grid { margin: 0; }
.ia-on { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #F6F4EE; margin-bottom: 14px; cursor: pointer; }
.ia-on input { width: 20px; height: 20px; margin-top: 2px; accent-color: #2138E0; flex: none; }
.ia-on span { display: block; line-height: 1.35; }
/* Asistente siempre a mano (v1.4.1) */
.ia-donde { padding: 8px 16px; font-size: 12px; color: #4A4C5A; background: #EEF0FD; border-bottom: 1px solid #DDE1FA; }
.ia-globo { position: fixed; right: 22px; bottom: 82px; z-index: 81; max-width: 280px; padding: 12px 34px 12px 14px; background: #fff; color: #0E0F1A; border-radius: 14px 14px 4px 14px; box-shadow: 0 10px 30px rgba(14,15,26,.18); font-size: 13.5px; line-height: 1.4; cursor: pointer; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.ia-globo.on { opacity: 1; transform: none; pointer-events: auto; }
.ia-globo button { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 0; background: none; color: #8A8C9A; cursor: pointer; }
@media (min-width: 1100px) { body.ia-abierto .app { padding-right: 420px; transition: padding .22s; } }
@media (max-width: 640px) { .ia-globo { right: 14px; bottom: 70px; max-width: 240px; } }

/* ===== Control de gastos (v1.5.0) ===== */
.gx { display: flex; flex-direction: column; gap: 16px; }
.gx > .card, .gx > section { margin: 0; }
.gx-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gx-mes { display: flex; align-items: center; gap: 6px; }
.gx-mes b { font-family: Anton, sans-serif; font-weight: 400; font-size: 28px; letter-spacing: .01em; min-width: 190px; text-align: center; }
.gx-mes > button:not(.gx-hoy) { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #E2DED2; background: #fff; font-size: 20px; cursor: pointer; }
.gx-mes > button:disabled { opacity: .35; cursor: default; }
.gx-hoy { border: 0; background: none; color: #2138E0; font-weight: 700; font-size: 13px; text-decoration: underline; cursor: pointer; }
.gx-acc { display: flex; gap: 8px; align-items: center; }
.gx-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: #0E0F1A; color: #fff; border-radius: 20px; overflow: hidden; }
.gx-hero-a { padding: 22px 24px; }
.gx-k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: #B9BBCB; }
.gx-big { font-family: Anton, sans-serif; font-size: 52px; line-height: 1.05; color: #FFC21A; margin: 4px 0 2px; }
.gx-sub { font-size: 14px; color: #D6D7E0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gx-est { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; }
.gx-est.gx-ok { background: #0E9F6E; color: #fff; } .gx-est.gx-alerta { background: #FFC21A; color: #0E0F1A; } .gx-est.gx-mal { background: #FF5A36; color: #fff; }
.gx-prog { position: relative; height: 12px; background: rgba(255,255,255,.12); border-radius: 99px; margin: 16px 0 6px; }
.gx-prog i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.gx-prog em { position: absolute; top: -5px; width: 2px; height: 22px; background: #fff; border-radius: 2px; }
.gx-progl { display: flex; justify-content: space-between; font-size: 12.5px; color: #B9BBCB; }
i.gx-ok, .gx-bar i.gx-ok, .gx-evo-b.gx-ok { background: #0E9F6E; } i.gx-alerta, .gx-evo-b.gx-alerta { background: #FFC21A; } i.gx-mal, .gx-evo-b.gx-mal { background: #FF5A36; } i.gx-neutro { background: #8A8C9A; }
.gx-hero-b { display: grid; grid-template-rows: repeat(3, 1fr); background: #171829; }
.gx-kpi { display: flex; flex-direction: column; justify-content: center; padding: 10px 22px; border-bottom: 1px solid rgba(255,255,255,.07); }
.gx-kpi:last-child { border-bottom: 0; }
.gx-kpi span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #9A9CAB; font-weight: 700; }
.gx-kpi b { font-size: 22px; font-weight: 800; }
.gx-kpi small { font-size: 12px; color: #9A9CAB; }
.gx-t-mal { color: #FF8A6E; } .gx-t-ok { color: #3DDC9A; }
.gx-lect { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.gx-l { display: flex; gap: 12px; padding: 14px 16px; border-right: 1px solid #ECE8DD; }
.gx-l:last-child { border-right: 0; }
.gx-l-i { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.gx-l b { font-size: 14px; display: block; line-height: 1.3; }
.gx-l p { margin: 3px 0 0; font-size: 12.5px; color: #5A5C6B; line-height: 1.4; }
.gx-l.gx-ok .gx-l-i { background: #E2F4EC; color: #0B7A55; } .gx-l.gx-alerta .gx-l-i { background: #FFF4D6; color: #9A6B00; } .gx-l.gx-mal .gx-l-i { background: #FFE6E0; color: #C53A1A; } .gx-l.gx-info .gx-l-i { background: #EEF0FD; color: #2138E0; }
.gx-dos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.gx-cats { display: flex; flex-direction: column; }
.gx-cat { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px 6px; border: 0; border-bottom: 1px solid #F0ECE2; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 10px; }
.gx-cat:hover { background: #FAF8F2; }
.gx-cat-i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; flex: none; }
.gx-cat-b { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.gx-cat-h { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.gx-bar { position: relative; height: 7px; background: #EFEBE1; border-radius: 9px; }
.gx-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; }
.gx-bar em { position: absolute; top: -3px; width: 2px; height: 13px; background: #0E0F1A; opacity: .45; }
.gx-cat-s { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #6B6D7C; }
.gx-dona { position: relative; height: 210px; }
.gx-dona-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.gx-dona-c b { font-family: Anton, sans-serif; font-weight: 400; font-size: 24px; }
.gx-dona-c span { font-size: 12px; color: #6B6D7C; }
.gx-ley { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; }
.gx-ley li { display: flex; align-items: center; gap: 7px; } .gx-ley i { width: 9px; height: 9px; border-radius: 3px; flex: none; } .gx-ley b { margin-left: auto; }
.gx-sel { max-width: 240px; height: 38px; }
.gx-evo { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; height: 220px; padding: 10px 0 22px; margin-top: 4px; }
.gx-evo-c { position: relative; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.gx-evo-b { display: block; width: 100%; max-width: 46px; border-radius: 8px 8px 3px 3px; background: #C9CCD6; min-height: 2px; transition: height .3s; }
.gx-evo-c:not(.on) .gx-evo-b { opacity: .55; }
.gx-evo-c.on .gx-evo-b { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0E0F1A; }
.gx-evo-c small { position: absolute; bottom: -20px; font-size: 11.5px; color: #6B6D7C; text-transform: capitalize; }
.gx-evo-c.on small { color: #0E0F1A; font-weight: 800; }
.gx-evo-i { position: absolute; left: 50%; width: 10px; height: 10px; margin: 0 0 -5px -5px; border-radius: 50%; background: #fff; border: 2.5px solid #2138E0; z-index: 2; }
.gx-evo-l { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed; z-index: 1; pointer-events: none; margin-bottom: 22px; }
.gx-evo-l span { position: absolute; right: 0; top: -20px; font-size: 11px; font-weight: 700; background: #fff; padding: 1px 6px; border-radius: 6px; }
.gx-evo-pres { border-color: #FF5A36; } .gx-evo-pres span { color: #C53A1A; }
.gx-evo-prom { border-color: #8A8C9A; } .gx-evo-prom span { color: #5A5C6B; left: 0; right: auto; }
.gx-evo-ley { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #6B6D7C; margin: 8px 0 4px; }
.gx-evo-ley span { display: flex; align-items: center; gap: 6px; } .gx-evo-ley i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.gx-evo-i-ley { border-radius: 50% !important; border: 2.5px solid #2138E0; background: #fff; }
.gx-buscar { max-width: 220px; height: 38px; }
.gx-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 10px; }
.gx-chips::-webkit-scrollbar { display: none; }
.gx-chips button { flex: none; border: 1.5px solid #E2DED2; background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 13px 'Inter Tight', sans-serif; cursor: pointer; white-space: nowrap; }
.gx-chips button.on { background: #0E0F1A; border-color: #0E0F1A; color: #fff; }
.gx-movs { list-style: none; margin: 0; padding: 0; }
.gx-movs li { display: grid; grid-template-columns: 40px 1fr auto 30px 30px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #F0ECE2; }
.gx-mov-t { display: flex; flex-direction: column; min-width: 0; } .gx-mov-t b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gx-mov-t small { font-size: 12px; color: #6B6D7C; }
.gx-mov-v { font-size: 15px; white-space: nowrap; }
.gx-mini { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #F6F4EE; color: #5A5C6B; cursor: pointer; }
.gx-mini:hover { background: #ECE8DD; }
.gx-fab { display: none; }
/* Editor */
.gx-modal { max-width: 520px; }
.gx-ed h3 { margin: 0 0 12px; }
.gx-seg { display: grid; grid-template-columns: 1fr 1fr; background: #F2EEE4; border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.gx-seg button { border: 0; background: none; padding: 9px; border-radius: 9px; font: 700 14px 'Inter Tight', sans-serif; cursor: pointer; color: #5A5C6B; }
.gx-seg button.on { background: #fff; color: #0E0F1A; box-shadow: 0 1px 4px rgba(14,15,26,.12); }
.gx-monto { display: flex; align-items: baseline; justify-content: center; gap: 6px; border-bottom: 2px solid #E2DED2; padding: 4px 0 8px; margin-bottom: 14px; }
.gx-monto span { font-family: Anton, sans-serif; font-size: 30px; color: #8A8C9A; }
.gx-monto input { border: 0; outline: none; font-family: Anton, sans-serif; font-size: 46px; width: 100%; max-width: 280px; text-align: center; background: none; color: #0E0F1A; }
.gx-monto:focus-within { border-color: #2138E0; }
.gx-catsel { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 14px; }
.gx-catsel button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border: 1.5px solid #ECE8DD; background: #fff; border-radius: 12px; font: 600 11.5px 'Inter Tight', sans-serif; line-height: 1.2; cursor: pointer; text-align: center; }
.gx-catsel button span { font-size: 22px; }
.gx-catsel button.on { border-color: var(--cc); background: color-mix(in srgb, var(--cc) 10%, #fff); box-shadow: 0 0 0 1px var(--cc); }
.gx-ed-f { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.gx-pres { display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow: auto; margin: 10px 0; }
.gx-pres label { display: grid; grid-template-columns: 1fr 170px; gap: 10px; align-items: center; font-size: 14px; }
@media (max-width: 860px) {
  .gx-hero, .gx-dos { grid-template-columns: 1fr; }
  .gx-hero-b { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .gx-kpi { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.07); padding: 12px; }
  .gx-kpi b { font-size: 16px; }
  .gx-big { font-size: 42px; }
  .gx-l { border-right: 0; border-bottom: 1px solid #ECE8DD; }
  .gx-acc .btn-yellow { display: none; }
  .gx-fab { display: grid; place-items: center; position: fixed; left: 16px; bottom: 16px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; border: 0; background: #FFC21A; color: #0E0F1A; font-size: 30px; font-weight: 800; box-shadow: 0 10px 24px rgba(14,15,26,.25); cursor: pointer; }
  .gx-mes b { font-size: 22px; min-width: 150px; }
  .gx-evo { gap: 4px; height: 180px; }
  .gx-evo-c small { font-size: 10px; }
  .gx-ed-f { grid-template-columns: 1fr; }
  .gx-pres label { grid-template-columns: 1fr 130px; }
  .gx-movs li { grid-template-columns: 36px 1fr auto 28px 28px; gap: 8px; }
}
.gx-mas { display: block; width: 100%; margin-top: 10px; padding: 10px; border: 1.5px dashed #D9D4C6; border-radius: 12px; background: none; font: 700 13px 'Inter Tight', sans-serif; color: #2138E0; cursor: pointer; }
.gx-monto input { max-width: 220px; }
@media (max-width: 860px) {
  .gx-hero-b { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gx-kpi { padding: 10px 10px 12px; min-width: 0; }
  .gx-kpi span { font-size: 10px; letter-spacing: .03em; }
  .gx-kpi b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gx-kpi small { font-size: 10.5px; }
  .gx-hero-a { padding: 18px; }
  .gx-modal { max-height: 92vh; overflow-y: auto; }
  .gx-modal .modal-actions { position: sticky; bottom: -1px; background: #fff; padding-top: 10px; flex-wrap: wrap; }
  .gx-catsel { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .gx-catsel button { padding: 8px 2px; font-size: 10.5px; }
  .gx-catsel button span { font-size: 19px; }
  .gx-monto input { font-size: 40px; }
}

/* Tableros de información (v1.6.0) */
.tb-bar { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-end; margin: 0 0 14px; }
.tb-bar .field { margin: 0; }
.tb-bar .seg { display: inline-flex; }
.tb-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #0E0F1A; color: #F2EEE4; border-radius: 18px; overflow: hidden; margin-bottom: 16px; }
.tb-k { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-right: 1px solid rgba(255,255,255,.08); min-width: 0; }
.tb-k:last-child { border-right: 0; }
.tb-k span { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFC21A; }
.tb-k b { font-family: Anton, sans-serif; font-weight: 400; font-size: 28px; line-height: 1.1; color: #fff; }
.tb-k small { font-size: 11.5px; color: #B9BBCB; }
.tb-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.tb-tabs { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.tb-tabs::-webkit-scrollbar { display: none; }
.tb-tabs button { white-space: nowrap; }
#an-desc { margin: 8px 0 12px; }
.card-head .seg { flex-wrap: wrap; }
.uy-modo-hist .sup-only { display: none; }
@media (max-width: 640px) { .tb-k b { font-size: 22px; } .tb-k { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.08); } .card-head { flex-wrap: wrap; gap: 8px; } }
.results { grid-template-columns: minmax(0, 1fr); min-width: 0; }
/* Tableros v1.6.1: tabla año a año y barras HTML */
.tb-anual th, .tb-anual td { text-align: right; white-space: nowrap; }
.tb-anual th:first-child, .tb-anual td:first-child { text-align: left; }
.tb-anual td.tb-gana { color: #0B7A55; background: #E2F4EC; font-weight: 700; }
.tb-anual td.tb-pierde { color: #C53A1A; background: #FFEDE8; font-weight: 700; }
.tb-anual td.tb-na { color: #B0B2BE; }
.tb-anual .tb-inf { color: #C53A1A; font-weight: 800; }
.tb-anual tfoot td { font-weight: 800; border-top: 2px solid #0E0F1A; }
.tb-aviso { background: #FFF7E0; border-radius: 10px; padding: 8px 12px; }
.tb-hb { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; }
.tb-hb-r { display: grid; grid-template-columns: minmax(120px, 34%) 1fr 74px; gap: 10px; align-items: center; font-size: 13.5px; }
.tb-hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-hb-t { position: relative; height: 22px; background: #F6F4EE; border-radius: 6px; }
.tb-hb-t b { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; }
.tb-hb-0 { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #0E0F1A; opacity: .5; }
.tb-hb-v { text-align: right; font-weight: 800; }
@media (max-width: 640px) { .tb-hb-r { grid-template-columns: 1fr 64px; } .tb-hb-l { grid-column: 1 / -1; } }

.cm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; }
.uy-sec { font-family: var(--display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .01em; margin: 26px 0 12px; }
/* Simulador de equilibrio (Las tasas de hoy) */
.eq-ctl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 14px; margin-bottom: 4px; }
.eq-card2 { background: var(--surface-2, #FAF8F3); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.eq-card2 .eq-v { margin: 2px 0; }
.eq-concl { margin: 8px 0 0; font-size: .95rem; padding: 9px 12px; border-radius: 10px; }
.eq-concl.uyu { background: #E9ECFD; } .eq-concl.usd { background: #E2F4EC; } .eq-concl.ui { background: #FFE9E3; }
@media (max-width: 900px) { .eq-ctl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sesiones en tarjetas (4 por fila) */
.ses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ses2 { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 2px solid transparent; min-height: 300px; transition: transform .15s, box-shadow .15s; }
.ses2:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ses2-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ses2 .n { font-family: var(--display); font-size: 3.4rem; color: var(--cobalto); line-height: .9; }
.ses2-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ses2 h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.25; margin-top: 6px; }
.ses2-link { color: inherit; text-decoration: none; }
.ses2-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ses2 .d { font-size: .88rem; color: var(--ink-3); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ses2-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 10px; }
.ses2-foot .btn-zoom { position: relative; z-index: 2; }
.btn-zoom svg { width: 18px; height: 18px; }
.ses2.past .n { color: var(--ink-3); }
.ses2.today { border-color: var(--amarillo); box-shadow: 6px 6px 0 var(--amarillo); }
.video-empty .btn-zoom { justify-self: center; margin-top: 10px; }
@media (max-width: 1180px) { .ses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ses-grid { grid-template-columns: 1fr; } .ses2 { min-height: 0; } }
.ia-cred { display: inline-flex; align-items: center; gap: 7px; }
.ia-cred-bar { width: 70px; height: 7px; border-radius: 99px; background: #E4E2DA; overflow: hidden; display: inline-block; }
.ia-cred-bar i { display: block; height: 100%; background: #0E9F6E; border-radius: 99px; }
.ia-cred-bar i.medio { background: #FFC21A; } .ia-cred-bar i.bajo { background: #FF5A36; }
.ia-pie { flex-wrap: wrap; align-items: center; }
.ia-rest { white-space: nowrap; font-weight: 700; color: #6B6D7C; }

/* Lista de alumnos: selección y recordatorio */
.al-barra { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.al-acc { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tbl-sel td:first-child, .tbl-sel th:first-child { width: 34px; padding-right: 0; }
.tbl-sel input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--cobalto); cursor: pointer; }

.seg-alerta { color: #C53A1A; font-weight: 800; }

/* Botón de menú en el celular: visible y fácil de tocar */
.menu-btn { align-items: center; gap: 6px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 10px; padding: 7px 11px; font-weight: 800; font-size: .9rem; font-family: inherit; }
.menu-btn .ico { width: 22px; height: 22px; display: block; flex: none; }
.menu-btn[aria-expanded="true"] { background: var(--amarillo); color: var(--tinta); border-color: var(--amarillo); }

/* Visor de presentaciones */
.ses-pres { margin-top: 16px; }
.vp { background: #0E0F1A; border-radius: 14px; overflow: hidden; outline: none; display: flex; flex-direction: column; }
.vp:focus-visible { box-shadow: 0 0 0 3px var(--amarillo); }
.vp-stage { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: #0E0F1A; overflow: hidden; touch-action: pan-y; }
.vp-stage canvas { display: block; background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.35); }
.vp-msg { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.75); font-weight: 600; padding: 20px; text-align: center; }
.vp-msg[hidden] { display: none; }
.vp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 64px; border: 0; border-radius: 12px; background: rgba(14,15,26,.55); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; opacity: .75; transition: opacity .15s, background .15s; }
.vp-nav:hover { opacity: 1; background: rgba(33,56,224,.85); }
.vp-nav:disabled { opacity: 0; pointer-events: none; }
.vp-prev { left: 10px; } .vp-next { right: 10px; }
.vp-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #16172A; color: #fff; }
.vp-b { border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 9px; padding: 8px 12px; font-weight: 800; cursor: pointer; text-decoration: none; font-size: .9rem; font-family: inherit; }
.vp-b:hover { background: rgba(255,255,255,.2); }
.vp-b:disabled { opacity: .35; cursor: default; }
.vp-n { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 72px; text-align: center; }
.vp-sp { flex: 1; }
.vp:fullscreen, .vp.vp-fs { border-radius: 0; width: 100vw; height: 100vh; }
.vp.vp-fs { position: fixed; inset: 0; z-index: 10000; height: 100dvh; }
.vp:fullscreen .vp-stage, .vp.vp-fs .vp-stage { flex: 1; aspect-ratio: auto; }
.vp-modal { position: fixed; inset: 0; z-index: 9000; background: rgba(14,15,26,.96); display: flex; flex-direction: column; padding: 14px; }
.vp-modal-top { display: flex; align-items: center; justify-content: space-between; color: #fff; padding: 0 4px 10px; gap: 10px; }
.vp-cerrar { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 40px; height: 40px; border-radius: 10px; font-size: 1.1rem; cursor: pointer; }
.vp-modal-in { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.vp-modal-in > .vp { width: min(100%, calc((100vh - 140px) * 16 / 9)); }
body.vp-abierto { overflow: hidden; }
@media (max-width: 600px) { .vp-nav { width: 34px; height: 50px; font-size: 1.5rem; } .vp-b.vp-txt { padding: 8px 9px; font-size: .8rem; } .vp-bar { gap: 6px; padding: 8px; } }
.vp-s { display: none; }
@media (max-width: 600px) { .vp-l { display: none; } .vp-s { display: inline; } .vp-n { min-width: 56px; } }
