/* SolarScale v3. Un tema es un bloque de variables: para crear otro, copia un bloque y cambia los valores. */
:root, [data-theme="espacio"] {
    color-scheme: dark;
    --bg: #04060d; --ink: #f4f1e8; --soft: #c9d3ee; --mute: #9fb0d8; --accent: #ffb84d; --on-accent: #1a1204;
    --line: rgba(140,170,240,.20); --panel: rgba(140,170,240,.08); --panel-strong: rgba(140,170,240,.18);
    --map-bg: #0b1224; --tile-filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.92);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-display: var(--font);
    --radius: 12px; --border-w: 1px;
    --globe-ocean: #0a1530; --globe-land: #1d2d52; --globe-line: rgba(150,180,250,.4);
}
[data-theme="tierra"] {
    color-scheme: light;
    --bg: #f3ead9; --ink: #3a2817; --soft: #5a442f; --mute: #7d6850; --accent: #b0532a; --on-accent: #fff8ee;
    --line: rgba(90,60,30,.22); --panel: rgba(120,80,40,.07); --panel-strong: rgba(120,80,40,.16);
    --map-bg: #e9dcc3; --tile-filter: sepia(.45) saturate(.85);
    --font-display: Georgia, "Times New Roman", serif;
    --globe-ocean: #d9c9a8; --globe-land: #f6efe0; --globe-line: rgba(90,60,30,.4);
}
[data-theme="relieve"] {
    color-scheme: light;
    --bg: #edf3e1; --ink: #1d3323; --soft: #32503a; --mute: #5d7a60; --accent: #8b5a1c; --on-accent: #fffaf0;
    --line: rgba(40,90,50,.22); --panel: rgba(60,120,60,.08); --panel-strong: rgba(60,120,60,.18);
    --map-bg: #dfe9cf; --tile-filter: none;
    --globe-ocean: #b9d6dd; --globe-land: #9cc27a; --globe-line: rgba(30,70,40,.45);
}
[data-theme="minimal"] {
    color-scheme: light;
    --bg: #ffffff; --ink: #111111; --soft: #333333; --mute: #6b6b6b; --accent: #d0021b; --on-accent: #ffffff;
    --line: #e4e4e4; --panel: #f6f6f6; --panel-strong: #ebebeb;
    --map-bg: #f2f2f2; --tile-filter: grayscale(1) contrast(1.05);
    --radius: 2px;
    --globe-ocean: #f1f1f1; --globe-land: #ffffff; --globe-line: rgba(0,0,0,.35);
}
[data-theme="contraste"] {
    color-scheme: dark;
    --bg: #000000; --ink: #ffffff; --soft: #ffffff; --mute: #ffffff; --accent: #ffe600; --on-accent: #000000;
    --line: #ffffff; --panel: #000000; --panel-strong: #2a2a2a;
    --map-bg: #000000; --tile-filter: invert(1) grayscale(1) contrast(1.4);
    --radius: 4px; --border-w: 2px;
    --globe-ocean: #000000; --globe-land: #3a3a3a; --globe-line: #ffffff;
}

* { box-sizing: border-box; }
/* El atributo hidden siempre oculta, aunque el elemento tenga un display propio (grid, flex). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); transition: background-color .2s, color .2s; }
a { color: var(--accent); }
main { max-width: 1040px; margin: 0 auto; padding: 20px clamp(14px, 4vw, 28px) 48px; }

/* Barra superior */
.top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-bottom: clamp(20px, 5vw, 36px); }
.brand { color: var(--accent); letter-spacing: .22em; text-transform: uppercase; font-size: 13px; font-weight: 600; text-decoration: none; }
.top-nav { display: flex; gap: 16px; font-size: 14px; }
.top-nav a { color: var(--soft); text-decoration: none; }
.top-nav a:hover { color: var(--accent); }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.langs { display: flex; gap: 10px; font-size: 13px; }
.langs a { color: var(--mute); padding: 4px 2px; }
.langs a[aria-current] { color: var(--accent); text-decoration: none; font-weight: 600; }
.themes { display: flex; gap: 6px; }
.themes button { width: 22px; height: 22px; border-radius: 50%; border: var(--border-w) solid var(--line); padding: 0; cursor: pointer; background: var(--sw-bg); position: relative; overflow: hidden; }
.themes button::after { content: ""; position: absolute; inset: 50% 0 0 0; background: var(--sw-accent); }
.themes button[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Tipografia */
.kicker { color: var(--accent); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 0 0 6px; }
h1 { font-family: var(--font-display); font-size: clamp(26px, 6vw, 44px); line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: clamp(17px, 3.6vw, 20px); margin: clamp(26px, 6vw, 38px) 0 12px; }
.lead { color: var(--soft); font-size: clamp(16px, 3.6vw, 18px); margin: 0 0 24px; max-width: 62ch; }
.meta, .note { color: var(--mute); font-size: 14px; margin: 0 0 12px; }
.note { font-size: 13px; }

/* Cifras destacadas */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 16px; }
.stat { background: var(--panel); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(24px, 6vw, 34px); line-height: 1.1; font-weight: 700; }
.stat span { color: var(--mute); font-size: 13px; }
.stat.sun { border-color: var(--accent); }
.stat.sun b { color: var(--accent); }

/* Cabecera del modelo: texto + ficha de ubicacion */
.model-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(14px, 3vw, 28px); align-items: start; }
.where { border: var(--border-w) solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.where-map { height: 150px; background: var(--map-bg); }
.where-text { padding: 10px 12px; font-size: 14px; }
.where-text b { display: block; }
.where-text span { color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Mapa */
#map { height: min(62vh, 560px); min-height: 320px; border-radius: var(--radius); overflow: hidden; border: var(--border-w) solid var(--line); background: var(--map-bg); }
.tiles { filter: var(--tile-filter); }
.ol-attribution { font-size: 11px; }
.zooms { display: flex; gap: 8px; margin: 12px 0 0; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.zooms .btn { flex: none; }
.touch-hint { display: none; }

/* Tablas */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 8px; border-bottom: var(--border-w) solid var(--line); }
th { color: var(--mute); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; }
tbody tr[tabindex] { cursor: pointer; }
tbody tr[tabindex]:hover, tbody tr.active { background: var(--panel-strong); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; border: 1px solid var(--line); }

/* Botones y tarjetas */
.btn { font: inherit; font-size: 14px; color: var(--ink); background: var(--panel); border: var(--border-w) solid var(--line); border-radius: 999px; padding: 8px 15px; min-height: 40px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn:hover { background: var(--panel-strong); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 12px 14px; border: var(--border-w) solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--panel); }
.card:hover { border-color: var(--accent); }
.card .h { grid-row: span 2; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--accent); min-width: 64px; text-align: right; white-space: nowrap; }
.card b { font-weight: 600; line-height: 1.25; }
.card span { color: var(--mute); font-size: 13px; }
footer { margin-top: 44px; color: var(--mute); font-size: 13px; }

/* Celular */
@media (max-width: 720px) {
    .model-head { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat.sun { grid-column: 1 / -1; }
    .where { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
    .where-map { height: 96px; }
    #map { height: 58vh; min-height: 300px; }
    th, td { padding: 8px 4px; font-size: 14px; }
    th { font-size: 11px; letter-spacing: .04em; }
    .top-tools { margin-left: 0; width: 100%; justify-content: space-between; }
    .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (pointer: coarse) {
    .touch-hint { display: block; }
    .themes button { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { body { transition: none; } }
@media print {
    @page { margin: 14mm; }
    :root, [data-theme] { --bg: #fff; --ink: #000; --soft: #222; --mute: #444; --accent: #b0532a; --line: #bbb; --panel: #fff; --panel-strong: #eee; --map-bg: #fff; --tile-filter: none; }
    body { background: #fff; color: #000; font-size: 11pt; }
    main { max-width: none; padding: 0; }
    .top, .zooms, .btn, footer, .touch-hint, .crumbs, .langs, .themes { display: none !important; }
    h1 { font-size: 24pt; }
    .model-head { grid-template-columns: minmax(0, 1fr) 62mm; }
    .stats { grid-template-columns: repeat(3, 1fr); }
    #map { height: 105mm; min-height: 0; break-inside: avoid; }
    tr, .stat, .fact { break-inside: avoid; }
    th, td { padding: 4px 6px; }
    td a.body-link { text-decoration: none; }
    .print-only { display: block !important; }
    .gallery { grid-template-columns: repeat(6, 1fr); }
}
.print-only { display: none; }
}

/* Compartir e insertar */
.share { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.embed-panel { margin: 10px 0 0; padding: 12px; border: var(--border-w) solid var(--line); border-radius: var(--radius); background: var(--panel); }
.embed-panel textarea { width: 100%; min-height: 84px; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); background: var(--bg); border: var(--border-w) solid var(--line); border-radius: 6px; padding: 8px; resize: vertical; }
.embed-panel .btn { margin-top: 8px; }

/* Mapa de todos los modelos */
#models-map { height: min(56vh, 480px); min-height: 300px; border-radius: var(--radius); overflow: hidden; border: var(--border-w) solid var(--line); background: var(--map-bg); margin-bottom: 14px; }
.map-pop { background: var(--bg); color: var(--ink); border: var(--border-w) solid var(--accent); border-radius: var(--radius); padding: 10px 12px; font-size: 14px; min-width: 190px; max-width: 270px; box-shadow: 0 6px 22px rgba(0,0,0,.35); transform: translate(-50%, calc(-100% - 12px)); }
.map-pop a { display: block; color: var(--ink); text-decoration: none; padding: 5px 0; border-bottom: var(--border-w) solid var(--line); }
.map-pop a:last-child { border-bottom: 0; }
.map-pop a:hover b { color: var(--accent); text-decoration: underline; }
.map-pop b { display: block; line-height: 1.25; }
.map-pop span { color: var(--mute); font-size: 12px; }

/* Version para insertar en otros sitios */
body.embed main { max-width: none; padding: 12px; }
body.embed #map { height: calc(100vh - 128px); min-height: 220px; }
.embed-head { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin: 0 0 8px; }
.embed-head h1 { font-size: clamp(18px, 4vw, 24px); margin: 0; }
.embed-head .sun { color: var(--accent); font-weight: 700; }
.embed-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--mute); margin-top: 8px; }
@media print { .share, .embed-panel, #models-map { display: none !important; } }

/* Explorar: globo + lista */
.explore { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: clamp(14px, 3vw, 26px); align-items: start; }
.globe-wrap { position: sticky; top: 12px; }
.globe-box { position: relative; aspect-ratio: 1 / 1; max-height: 78vh; margin: 0 auto; }
#globe { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe-zoom { position: absolute; left: 8px; top: 8px; display: grid; gap: 6px; }
.globe-zoom .btn { width: 40px; padding: 0; justify-content: center; font-size: 18px; }
.globe-box .map-pop { position: absolute; z-index: 2; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0 0 12px; }
.filters input, .filters select { font: inherit; font-size: 15px; color: var(--ink); background: var(--panel); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 9px 12px; min-height: 42px; width: 100%; }
.filters select { width: auto; max-width: 46vw; }
.explore .cards { grid-template-columns: minmax(0, 1fr); max-height: 70vh; overflow-y: auto; padding-right: 4px; }
.card-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.card-row .locate { width: 42px; padding: 0; justify-content: center; border-radius: var(--radius); }
.empty { color: var(--mute); padding: 14px 0; }

/* Estacion: un cuerpo dentro de un modelo */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 0 0 18px; }
.fact { border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--panel); }
.fact b { display: block; font-size: 18px; line-height: 1.25; }
.fact span { color: var(--mute); font-size: 13px; }
.pager { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; }
td a.body-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
td a.body-link:hover { color: var(--accent); }
.crumbs { font-size: 13px; color: var(--mute); margin: 0 0 14px; }
.crumbs a { color: var(--mute); }
@media (max-width: 820px) {
    .explore { grid-template-columns: minmax(0, 1fr); }
    .globe-wrap { position: static; }
    .globe-box { max-height: 62vh; }
    .explore .cards { max-height: none; overflow: visible; }
}
@media print { .pager, .globe-zoom, .filters { display: none !important; } }

/* Administracion */
.form { display: grid; gap: 14px; max-width: 640px; }
.form.narrow { max-width: 380px; }
.field label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="number"], .field input[type="search"], .field textarea, .field select {
    width: 100%; font: inherit; color: var(--ink); background: var(--panel); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 9px 12px; min-height: 42px; }
.field textarea { min-height: 110px; resize: vertical; }
.field.check label { display: flex; gap: 8px; align-items: center; color: var(--ink); font-size: 15px; margin: 0; }
.field .error, .flash.error { color: #e0352b; font-size: 13px; margin-top: 4px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.flash { border: var(--border-w) solid var(--accent); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 16px; background: var(--panel); }
.badge { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 999px; border: var(--border-w) solid var(--line); color: var(--mute); white-space: nowrap; }
.badge.pending { border-color: var(--accent); color: var(--accent); }
.badge.rejected { text-decoration: line-through; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; align-items: center; }
.admin-nav form { margin-left: auto; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.box { border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--panel); margin: 0 0 18px; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 18px 0 0; }

/* Crear un modelo */
.steps { display: grid; gap: 22px; max-width: 760px; }
.step { border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: clamp(14px, 3vw, 20px); background: var(--panel); }
.step h2 { margin: 0 0 12px; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.results { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.results button { width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--bg); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 9px 12px; cursor: pointer; }
.results button:hover { border-color: var(--accent); }
.results small { display: block; color: var(--mute); }
#pick-map { height: 300px; border-radius: var(--radius); overflow: hidden; border: var(--border-w) solid var(--line); background: var(--map-bg); margin-top: 12px; cursor: crosshair; }
.preview { border-left: 4px solid var(--accent); padding: 8px 12px; margin: 4px 0 0; color: var(--soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fotos aportadas */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 0 0 14px; }
.gallery a { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; border: var(--border-w) solid var(--line); background: var(--panel); }
.gallery a:hover, .gallery a:focus-visible { border-color: var(--accent); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
dialog.photo { border: var(--border-w) solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); padding: 12px; max-width: min(92vw, 860px); }
dialog.photo::backdrop { background: rgba(0,0,0,.75); }
dialog.photo img { display: block; max-width: 100%; max-height: 72vh; margin: 0 auto 10px; border-radius: 6px; }
dialog.photo p { margin: 0 0 10px; }
.map-pop img { display: block; width: 100%; max-width: 240px; border-radius: 6px; margin-bottom: 6px; }
details.contribute { margin: 4px 0 0; }
details.contribute > summary { list-style: none; display: inline-flex; }
details.contribute > summary::-webkit-details-marker { display: none; }
details.contribute[open] > summary { margin-bottom: 14px; }
.field input[type="file"] { width: 100%; font: inherit; color: var(--ink); }
.photo-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.photo-admin .box { margin: 0; }
.photo-admin img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 8px; }
@media print { details.contribute { display: none !important; } }

/* Me gusta, luz en tiempo real y punto de la foto */
.btn.like.on { border-color: var(--accent); color: var(--accent); }
.light-speeds { display: inline-flex; gap: 6px; flex: none; }
.light-status { margin: 10px 0 0; padding: 10px 12px; border-left: 4px solid #ffe066; background: var(--panel); display: grid; gap: 2px; }
.light-status b { font-variant-numeric: tabular-nums; }
#photo-map { height: 240px; border-radius: var(--radius); overflow: hidden; border: var(--border-w) solid var(--line); background: var(--map-bg); cursor: crosshair; }
@media print { .light-status, #like-form { display: none !important; } }

/* Aprender */
.tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tile { display: block; padding: 16px; border: var(--border-w) solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--ink); text-decoration: none; }
.tile:hover { border-color: var(--accent); }
.tile b { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.tile span { color: var(--mute); font-size: 14px; }
.ladder { display: grid; gap: 10px; }
.rung { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 16px; align-items: center; border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--panel); }
.rung .u { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent); }
.rung b { display: block; }
.rung span { color: var(--mute); font-size: 14px; }
.pick { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }
.pick select { font: inherit; color: var(--ink); background: var(--panel); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 8px 10px; min-height: 40px; max-width: 100%; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--panel); border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: 12px 14px; overflow-x: auto; margin: 0 0 14px; }
.prose p { max-width: 68ch; }
.prose ul { max-width: 68ch; padding-left: 20px; }
@media (max-width: 520px) { .rung { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
    .hide-s { display: none; }
    th { white-space: normal; }
}

/* Inicio: bienvenida para quien llega por primera vez */
.hero { margin: 0 0 clamp(26px, 6vw, 44px); }
.hero h1 { font-size: clamp(30px, 7vw, 54px); }
.hero .lead { font-size: clamp(17px, 3.8vw, 20px); }
.hero .actions { gap: 10px; }
.hero .btn { font-size: 16px; padding: 11px 20px; min-height: 46px; }
.section { margin: 0 0 clamp(30px, 7vw, 52px); }
.section > h2 { margin-top: 0; font-size: clamp(20px, 4.4vw, 26px); }
.myth { display: grid; gap: 14px; }
.strip { border: var(--border-w) solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 12px 14px 10px; }
.strip > b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.strip svg { display: block; width: 100%; height: auto; color: var(--ink); }
.strip.real .scroll { overflow-x: auto; }
.strip.real svg { min-width: 760px; }
.strip text { fill: currentColor; font: 600 13px var(--font); }
.strip .axis { stroke: var(--mute); stroke-width: 1; }
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.steps3 .tile b { font-size: 17px; }
.example { margin: 16px 0 0; padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; }
.example b { display: block; margin-bottom: 6px; }
.example ul { margin: 0 0 12px; padding-left: 20px; color: var(--soft); }
.example li { margin: 2px 0; }

/* Guias para docentes */
.activity { border: var(--border-w) solid var(--line); border-radius: var(--radius); padding: clamp(14px, 3vw, 20px); background: var(--panel); margin: 0 0 16px; break-inside: avoid; }
.activity h2 { margin: 0 0 4px; }
.activity h3 { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 14px 0 4px; }
.activity ul, .activity ol { margin: 0; padding-left: 22px; max-width: 70ch; }
.activity li { margin: 3px 0; }
