/* Aula Viva · estilos. Paleta secundaria de Volkswagen Instituto. Texto azul marino sobre cualquier relleno de paleta. */
:root {
  --bg: #F5F6FA; --surface: #FFFFFF; --surface2: #EDF0F6; --fg: #0E1E3F; --muted: #4A5675; --line: #DCE1EC;
  --accent: #1F5AA6; --accent-fg: #FFFFFF; --ok: #1E8A4C; --ok-bg: #DDF3E6; --bad: #B3261E; --bad-bg: #FBE4E1; --warn-bg: #FFF1D6;
  --navy: #0E1E3F;
  --accent-a: rgba(31,90,166,.28); --ok-a: rgba(30,138,76,.28); --bad-a: rgba(179,38,30,.26); --c1-a: rgba(230,115,100,.4); --c1-b: rgba(230,115,100,.16);
  --c1: #E67364; --c2: #8CBEE6; --c3: #FAAA3C; --c4: #C882BE; --c5: #DCCDF0; --c6: #FAD2AA;
  --shadow: 0 1px 2px rgba(14,30,63,.06), 0 6px 20px rgba(14,30,63,.06);
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 14px;
}
:root[data-theme="dark"] {
  --bg: #0B1226; --surface: #141D38; --surface2: #1C2748; --fg: #ECF0F8; --muted: #A9B5D1; --line: #29365C;
  --accent: #8CBEE6; --accent-fg: #0E1E3F; --ok: #6ED69A; --ok-bg: #123424; --bad: #FF9C93; --bad-bg: #3C1A1A; --warn-bg: #3A2D12;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.3);
  --accent-a: rgba(140,190,230,.3); --ok-a: rgba(110,214,154,.28); --bad-a: rgba(255,156,147,.28);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--fg); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 .8em; }
a { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
svg.dev { display: block; width: 100%; height: auto; }
.mono { font-family: var(--mono); }

/* ---------- barra superior ---------- */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: var(--bg); border-bottom: 1px solid var(--line); min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font: 700 20px var(--display); letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; }
.crumb { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.top .sp { flex: 1; }
.jump { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 99px; padding: 3px 4px 3px 12px; }
.jump label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.jump input { width: 54px; border: 0; background: transparent; color: var(--fg); font: 600 16px var(--mono); text-align: center; padding: 4px 2px; }
.jump input:focus-visible { outline: none; }
.jump:focus-within { border-color: var(--accent); }
.jump button { border: 0; background: var(--fg); color: var(--bg); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.ib { border: 1.5px solid var(--line); background: var(--surface); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.ib:hover { border-color: var(--accent); }
.ib svg { width: 20px; height: 20px; }
#menuBtn { display: none; }

/* ---------- estructura ---------- */
.shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: calc(100% - 57px); }
.side { position: sticky; top: 57px; align-self: start; max-height: calc(100vh - 57px); overflow: auto; border-right: 1px solid var(--line); padding: 16px 12px 40px; background: var(--bg); }
.main { padding: 28px clamp(16px, 4vw, 48px) 120px; min-width: 0; }
.wrap { max-width: 960px; margin-inline: auto; }
.home .wrap { max-width: 1040px; }
.shell.nosb { grid-template-columns: minmax(0, 1fr); }
.shell.nosb .side { display: none; }

.nav-b { margin-bottom: 6px; }
.nav-bh { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: var(--c); color: var(--navy); border-radius: 10px; padding: 8px 10px; font: 700 15px var(--display); }
.nav-bh .n { font: 700 18px var(--display); min-width: 18px; text-align: center; }
.nav-bh .cnt { margin-left: auto; font: 600 12px var(--mono); opacity: .8; }
.nav-list { list-style: none; margin: 4px 0 8px; padding: 0; display: none; }
.nav-b.open .nav-list { display: block; }
.nav-list a { display: flex; gap: 8px; align-items: baseline; padding: 6px 8px 6px 10px; border-radius: 8px; text-decoration: none; color: var(--fg); font-size: 15px; line-height: 1.3; }
.nav-list a:hover { background: var(--surface2); }
.nav-list a.cur { background: var(--surface); box-shadow: inset 0 0 0 2px var(--c); font-weight: 600; }
.nav-list .sid { font: 500 12px var(--mono); color: var(--muted); min-width: 28px; }
.nav-list .ck { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; align-self: center; }
.nav-list .ck.seen { border-color: var(--c); background: var(--surface2); }
.nav-list .ck.done { background: var(--ok); border-color: var(--ok); }

/* ---------- inicio ---------- */
.hero h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -.02em; }
.hero p { font-size: 20px; max-width: 56ch; color: var(--muted); margin-top: 10px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 28px; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--fg); background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); min-width: 0; }
a.ccard:hover { border-color: var(--accent); transform: translateY(-2px); transition: transform .15s; }
.ccard h2 { font-size: 26px; }
.ccard .code { font: 500 13px var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; height: 12px; }
.mosaic i { border-radius: 4px; background: var(--c); }
.ghost { border-style: dashed; box-shadow: none; background: transparent; color: var(--muted); }
.bar { height: 8px; background: var(--surface2); border-radius: 99px; overflow: hidden; }
.bar b { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- curso ---------- */
.ch { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.ch h1 { font-size: clamp(30px, 5vw, 46px); }
.strip { display: flex; gap: 2px; height: 40px; margin: 22px 0 6px; }
.strip a { flex: 1 1 0; min-width: 0; background: var(--c); border-radius: 2px; }
.strip a.s { margin-left: 5px; }
.strip a:hover { outline: 2px solid var(--fg); outline-offset: 1px; }
.bl { margin-top: 28px; }
.bl-h { display: flex; align-items: center; gap: 14px; background: var(--c); color: var(--navy); border-radius: var(--r); padding: 14px 18px; }
.bl-h .n { font: 700 40px/1 var(--display); min-width: 30px; text-align: center; }
.bl-h h2 { font-size: 24px; }
.bl-h p { margin: 0; font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 10px; }
.tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--fg); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; position: relative; }
.tile:hover { border-color: var(--c); box-shadow: 0 0 0 2px var(--c); }
.tile h3 { font-size: 17px; line-height: 1.2; }
.tile .row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tile .done-dot { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); }
.tile .done-dot.seen { border-color: var(--c); background: var(--surface2); }
.tile .done-dot.done { background: var(--ok); border-color: var(--ok); }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface2); white-space: nowrap; line-height: 1.5; }
.chip svg { width: 14px; height: 14px; }
.chip.sid { font-family: var(--mono); font-weight: 500; background: var(--c); border-color: transparent; color: var(--navy); }
.chip.kT { background: transparent; }
.chip.kP { border-style: dashed; border-color: var(--muted); }
.chip.kL { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip.kE { background: transparent; border: 2px solid var(--fg); }
.chip.sl { font-family: var(--mono); font-weight: 500; }

/* ---------- pantalla ---------- */
.sh { padding-bottom: 14px; border-bottom: 3px solid var(--c); margin-bottom: 20px; }
.sh .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.sh h1 { font-size: clamp(28px, 4.6vw, 42px); letter-spacing: -.01em; }
.lead { font-size: 19px; line-height: 1.5; margin: 14px 0 0; max-width: 66ch; }
.lead .tec { display: block; }
.lead .sim { display: none; }
.mode-simple .lead .tec { display: none; }
.mode-simple .lead .sim { display: block; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 3px 12px; font-size: 14px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.sec { margin-top: 24px; }
.sec > h2 { font-size: 22px; margin-bottom: 8px; }
.prose { max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 .8em; }
.prose li { margin-bottom: .3em; }
.cg { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cd { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.cd h3 { font-size: 17px; margin-bottom: 4px; }
.cd p { margin: 0; font-size: 15.5px; color: var(--muted); }
.cd .tag { display: inline-block; font: 700 12px var(--mono); padding: 1px 8px; border-radius: 6px; background: var(--c, var(--surface2)); color: var(--navy); margin-bottom: 6px; }
.tw { overflow-x: auto; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); }
table.t { border-collapse: collapse; width: 100%; font-size: 15.5px; }
table.t th { text-align: left; background: var(--surface2); font-family: var(--display); font-size: 14px; padding: 8px 12px; white-space: nowrap; }
table.t td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.call { border-radius: 12px; padding: 12px 16px; background: var(--surface2); border-left: 6px solid var(--accent); max-width: 74ch; }
.call.warn { background: var(--warn-bg); border-left-color: var(--c3); }
.call.tip { border-left-color: var(--c2); }
.call.idea { background: var(--surface2); border-left-color: var(--c4); position: relative; }
.call.idea b:first-child { color: var(--fg); }
.call.idea:before { content: "Piénsalo así"; display: block; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.call.err { background: var(--bad-bg); border-left-color: var(--c1); }
.call b:first-child { font-family: var(--display); }
figure.fg { margin: 0; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px; }
figure.fg figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
figure.fg .fr { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: center; }
figure.fg img { max-width: 100%; height: auto; display: block; margin-inline: auto; border-radius: 6px; }
.fr > div { min-width: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- actividad ---------- */
.act { border: 2px solid var(--fg); border-radius: 18px; background: var(--surface); padding: 18px 20px 20px; box-shadow: var(--shadow); position: relative; }
.act-h { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 10px; }
.act-h h2 { font-size: 21px; }
.act-h .badge { margin-left: auto; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--surface2); }
.act.complete .badge { background: var(--ok-bg); color: var(--ok); }
.act-p { color: var(--muted); max-width: 70ch; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--fg); background: var(--surface); color: var(--fg); border-radius: 99px; padding: 6px 16px; font-weight: 700; }
.btn:hover { background: var(--surface2); }
.btn.pri { background: var(--fg); color: var(--bg); }
.btn.pri:hover { opacity: .9; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.fb { margin-top: 12px; min-height: 26px; font-weight: 600; }
.fb.ok { color: var(--ok); } .fb.bad { color: var(--bad); }
.rowbtn { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* match */
.mt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin-top: 10px; }
.mt .col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mi { text-align: left; border: 2px solid var(--line); background: var(--surface); border-radius: 12px; padding: 9px 12px; font-size: 16px; line-height: 1.3; min-width: 0; }
.mi:hover:not(:disabled) { border-color: var(--accent); }
.mi.sel { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-a); }
.mi.ok { background: var(--pc); border-color: transparent; color: var(--navy); }
.mi.shake { animation: shake .35s; border-color: var(--bad); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
/* order */
.ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ol li { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); background: var(--surface); border-radius: 12px; padding: 8px 10px; }
.ol li .pos { font: 700 14px var(--mono); width: 26px; height: 26px; border-radius: 50%; background: var(--surface2); display: grid; place-items: center; flex: none; }
.ol li .tx { flex: 1; min-width: 0; }
.ol li.ok { border-color: var(--ok); background: var(--ok-bg); }
.ol li.bad { border-color: var(--bad); background: var(--bad-bg); }
.ol .mv { display: flex; flex-direction: column; gap: 2px; }
.ol .mv button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 6px; width: 30px; height: 20px; padding: 0; display: grid; place-items: center; }
.ol .mv button svg { width: 14px; height: 14px; }
/* classify / choice */
.card-q { border: 2px dashed var(--line); border-radius: 14px; padding: 16px 18px; background: var(--surface2); font-size: 19px; font-family: var(--display); margin-top: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.opts.col { flex-direction: column; }
.opt { border: 2px solid var(--line); background: var(--surface); border-radius: 12px; padding: 9px 16px; font-weight: 600; text-align: left; }
.opt:hover:not(:disabled) { border-color: var(--accent); }
.opt.ok { background: var(--ok-bg); border-color: var(--ok); }
.opt.bad { background: var(--bad-bg); border-color: var(--bad); }
.prog { display: flex; gap: 4px; margin-top: 4px; }
.prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--surface2); }
.prog i.ok { background: var(--ok); } .prog i.bad { background: var(--c1); } .prog i.cur { background: var(--accent); }
.why { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface2); max-width: 70ch; }
/* hotspot */
.hs { position: relative; display: block; margin-inline: auto; max-width: 100%; }
.hs .z { position: absolute; border: 2px solid transparent; border-radius: 6px; background: transparent; padding: 0; cursor: pointer; }
.hs .z:hover { border-color: var(--accent); background: var(--accent-a); }
.hs .z.ok { border-color: var(--ok); background: var(--ok-a); }
.hs .z.bad { border-color: var(--bad); background: var(--bad-a); }
/* visor */
.vz { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 18px; margin-top: 8px; }
.vz-img { position: relative; overflow: hidden; border: 2px solid var(--line); border-radius: 12px; background: #fff; touch-action: manipulation; }
.vz-in { position: absolute; }
.vz-in img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.vz-ring { position: absolute; border: 3px solid var(--c1); border-radius: 8px; box-shadow: 0 0 0 4px var(--c1-a), 0 0 0 9999px rgba(14,30,63,.22); animation: pulse 1.6s infinite; pointer-events: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px var(--c1-b), 0 0 0 9999px rgba(14,30,63,.22); } }
.vz-flash { position: absolute; border-radius: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none; animation: fl .6s forwards; }
.vz-flash.ok { background: var(--ok-a); } .vz-flash.bad { background: var(--bad-a); }
@keyframes fl { to { transform: scale(2.2); opacity: 0; } }
.vz-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vz-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vz-steps li { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-size: 15.5px; line-height: 1.35; cursor: default; }
.vz-steps li .n { font: 700 13px var(--mono); width: 24px; height: 24px; border-radius: 50%; background: var(--surface2); display: grid; place-items: center; flex: none; }
.vz-steps li.cur { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-a); }
.vz-steps li.past { opacity: .65; } .vz-steps li.past .n { background: var(--ok); color: #fff; }
.vz-steps li.future:not(.learn) .tx { filter: blur(4px); user-select: none; }
.vz-say { font-size: 18px; font-weight: 600; min-height: 3.2em; }
.vz-note { font-size: 15px; color: var(--muted); }
.vz-h { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.vz-nav { display: flex; gap: 8px; }
@media (max-width: 760px) { .vz { grid-template-columns: 1fr; } .mt { grid-template-columns: 1fr; } }
/* check */
.ckg { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ckc { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.ckc h3 { font-size: 17px; margin-bottom: 6px; }
.ckl { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ckl label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; line-height: 1.35; }
.ckl input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ok); flex: none; }
.ckl input:checked + span { text-decoration: line-through; color: var(--muted); }
.qa { border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); margin-top: 8px; }
.qa summary { cursor: pointer; padding: 10px 14px; font-weight: 600; }
.qa div { padding: 0 14px 12px; color: var(--muted); }

/* drawer de diapositivas */
.dr { margin-top: 24px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); }
.dr > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.dr .th { display: flex; gap: 12px; flex-wrap: wrap; padding: 4px 16px 16px; }
.dr figure { margin: 0; width: 220px; max-width: 100%; }
.dr figure button { border: 2px solid var(--line); border-radius: 6px; padding: 0; background: #fff; display: block; width: 100%; }
.dr figure.cur button { border-color: var(--c1); box-shadow: 0 0 0 3px var(--c1-a); }
.dr img { width: 100%; height: auto; display: block; border-radius: 4px; }
.dr figcaption { font: 500 12px var(--mono); color: var(--muted); margin-top: 3px; }
.lb { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; background: rgba(8,14,30,.86); display: grid; place-items: center; padding: 20px; }
.lb img { max-width: min(96vw, 1400px); max-height: 90vh; border-radius: 8px; background: #fff; }
.lb button { position: absolute; top: 14px; right: 14px; }

/* barra inferior */
.foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 3px solid var(--c); }
.foot .sp { flex: 1; }
.foot .nx { font-size: 14px; color: var(--muted); min-width: 0; }
.foot .nx b { color: var(--fg); font-family: var(--mono); font-weight: 500; }
.foot-in { max-width: 1260px; margin-inline: auto; width: 100%; display: flex; gap: 10px; align-items: center; }
.toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 8px 18px; border-radius: 99px; font-weight: 600; z-index: 90; }

@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 60; left: 0; top: 57px; bottom: 0; width: min(320px, 88vw); transform: translateX(-102%); transition: transform .2s; box-shadow: var(--shadow); max-height: none; }
  .side.open { transform: none; }
  #menuBtn { display: grid; }
  .crumb { display: none; }
}
@media (max-width: 520px) { .jump label { display: none; } .brand span { display: none; } .foot .nx { display: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* leds parpadeantes de las ilustraciones */
.led.blink { animation: bl 1s steps(2) infinite; }
@keyframes bl { 50% { opacity: .25; } }

/* palabras con ventana emergente */
.gt { border-bottom: 2px dotted var(--accent); cursor: help; border-radius: 2px; }
.gt:hover, .gt[aria-expanded="true"] { background: var(--accent-a, var(--surface2)); }
.gt:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gpop { position: absolute; z-index: 90; background: var(--surface); color: var(--fg); border: 2px solid var(--fg); border-radius: 14px; padding: 12px 40px 12px 16px; box-shadow: 0 8px 28px rgba(15, 30, 60, .28); font-size: 16px; line-height: 1.4; }
.gpop p { margin: 6px 0 0; }
.gpop .gh { font: 700 17px var(--display); display: block; }
.gpop .ga { color: var(--muted); font-size: 15px; }
.gpop .gx { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border-radius: 99px; border: 0; background: var(--surface2); color: var(--fg); font: 700 20px/1 var(--body); cursor: pointer; }
/* ver más */
.more { margin: 10px 0; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--surface); }
.more > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; list-style-position: inside; }
.more[open] > summary { border-bottom: 1.5px dashed var(--line); }
.more > .prose { padding: 10px 14px 12px; }
/* logo de la organización */
.org-logo { height: 42px; width: auto; flex: none; margin-right: 4px; }
:root[data-theme="dark"] .org-logo { filter: invert(1) brightness(1.15); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .org-logo { filter: invert(1) brightness(1.15); } }
@media (max-width: 560px) { .org-logo { height: 32px; } }
