/* Simulación local: elevación en Mide tu colonia / Mide tu barrio (no forma parte del sitio) */
.simchip{font:600 10px 'IBM Plex Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#fff;background:#171816;padding:4px 7px;border-radius:2px;white-space:nowrap}
/* segunda marca de la barra: con elevación (blanca con borde de tinta, se ve sobre el rojo oscuro y sobre el crema) */
.scale .me{transform:translateX(-1.5px)}
.scale .el{position:absolute;top:-6px;width:7px;height:28px;background:#fff;border:2px solid var(--ink);transform:translateX(-3.5px)}
.scale .mv{position:absolute;top:-6px;border-top:2px dotted var(--ink)}
.sk{display:flex;flex-wrap:wrap;gap:4px 16px;margin:7px 0 0;font:500 10.5px 'IBM Plex Mono',monospace;color:var(--ink2)}
.sk:empty{display:none}
.sk span{display:inline-flex;align-items:center;gap:6px}.sk b{color:var(--ink);font-weight:600}
.sk .a i{width:3px;height:12px;background:var(--ink)}.sk .b i{width:7px;height:12px;background:#fff;border:2px solid var(--ink)}
.elev:empty{display:none}
.elev{margin-top:18px;padding-top:2px;border-top:1px solid var(--line)}
.elev .lbl{margin-top:14px}
.eb{display:flex;align-items:baseline;gap:12px;margin:4px 0 0}.eb b{font:700 44px/1 Geist;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.eb b.neg{color:#b23f1a}
.eb span{color:var(--ink2);font-size:14px;line-height:1.3}
.why{margin:12px 0 0;font-size:14px;line-height:1.45}.why b{font-weight:600}
.pf{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;font:600 13px Geist;padding:10px;border:1px solid var(--ink);background:transparent;color:var(--ink);border-radius:2px;cursor:pointer}
.pf svg{transition:transform .2s}.pf[aria-expanded="true"] svg{transform:rotate(180deg)}
.pf:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.perfil{margin-top:12px}
.perfil .tt{font-size:13.5px;font-weight:600;margin:0 0 6px;line-height:1.3}
.perfil svg.g{display:block;width:100%;height:auto;touch-action:pan-y;cursor:crosshair}
.ro{min-height:38px;margin:6px 0 0;font-size:12.5px;line-height:1.4;color:var(--ink2)}.ro b{color:var(--ink);font-weight:600}
.cap{font-size:12px;color:var(--ink2);margin:8px 0 0}
.enote{color:var(--ink2);font-size:12px;margin-top:12px}
@media (max-width:820px){.simchip{font-size:9px;padding:3px 5px}}
/* Por función: desplegable con el lenguaje del perfil (12-nov-2026) */
.fnb{margin-top:18px;padding-top:2px;border-top:1px solid var(--line)}
.fnb .lbl{margin-top:14px}
.fnb .miss{margin:12px 0 0;padding:0;background:none;border:0;font-size:14px;line-height:1.45}
.fnb .bike{margin:8px 0 0;font-size:14px;line-height:1.45}
.fnb .fn-oculto{display:none}
.fnb .note{margin-top:10px}
.res .dims{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* Acciones: compartir es la principal; ver la ciudad y medir otro lugar, en filas con lo que hace cada una */
.res .acts.acts2{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:24px}
.res .acts2 .ac{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;margin:0;padding:12px 4px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.res .acts2 .ac:last-child{border-bottom:1px solid var(--line)}
.res .acts2 .ai{display:flex;align-items:center;justify-content:center;color:var(--ink)}
.res .acts2 .at{display:flex;flex-direction:column;gap:2px;min-width:0}
.res .acts2 .at b{font:600 14px/1.25 Geist,sans-serif}
.res .acts2 .at small{font:400 12.5px/1.35 Geist,sans-serif;color:var(--ink2)}
.res .acts2 .fl{color:var(--acc);margin-right:2px}
.res .acts2 .ac:hover .at b{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.res .acts2 .ac:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.res .acts2 .ac-share{padding:13px 14px;margin-bottom:8px;border:0;border-radius:2px;background:var(--ink);color:#fff}
.res .acts2 .ac-share .at small{color:#c4c1b8}
.res .acts2 .ac-share .pt{display:block;width:9px;height:9px;border-radius:50%;background:var(--acc)}
.res .acts2 .ac-share:hover{background:#2c2d2a}.res .acts2 .ac-share:hover .at b{text-decoration:none}

/* 12-nov-2026 · Rod: «después de medir mi colonia, debajo del mapa, hay un gran espacio vacío». La lista oculta para lectores
   de pantalla (.res .dims, posición absoluta) tomaba la página como referencia y la alargaba ~500 px por debajo del mapa;
   con .res como referencia queda dentro del panel y su desplazamiento. */
.res{position:relative}

/* 17-nov-2026 · Revisión de Mide publicado. De noche, las gráficas del perfil y de las seis funciones toman los tonos de la página:
   antes conservaban la tinta y los grises de día sobre el panel oscuro (nombres y cifras a 1,05:1, ejes a 3,1:1, la función más débil
   a 2,9:1). El terreno, las pistas y las barras oscuras pasan a tonos de noche y la cifra que va dentro de una barra clara, a oscura.
   Estas reglas ganan a los atributos fill y stroke de la gráfica (elevacion.js le pone las clases). La letra de las gráficas mide
   13 px en cualquier pantalla (elevacion.js las dibuja con el ancho real del panel). */
html.cg-noche .perfil svg.g .ax,html.cg-noche .perfil svg.g .dv{fill:#a6a9a2}
html.cg-noche .perfil svg.g .ax.rf,html.cg-noche .perfil svg.g .nm,html.cg-noche .perfil svg.g .tu,html.cg-noche .perfil svg.g .fz-n,html.cg-noche .perfil svg.g .fz-p,html.cg-noche .perfil svg.g .fz-v{fill:#ece9e1}
html.cg-noche .perfil svg.g text.lo{fill:#f08a66}
html.cg-noche .perfil svg.g .fz-v.fz-vi,html.cg-noche .perfil svg.g .fz-x,html.cg-noche .perfil svg.g .fz-v.fz-vi.lo,html.cg-noche .perfil svg.g .fz-x.lo{fill:#121413}
html.cg-noche .perfil svg.g .ar,html.cg-noche .perfil svg.g .tr{fill:#2a2f2d}
html.cg-noche .perfil svg.g .tl{stroke:#cfcabf}
html.cg-noche .perfil svg.g .z0{stroke:#a6a9a2}
html.cg-noche .perfil svg.g .tud,html.cg-noche .perfil svg.g .rl,html.cg-noche .perfil svg.g .ec{stroke:#ece9e1}
html.cg-noche .perfil svg.g .br{fill:#cfcabf}
html.cg-noche .perfil svg.g .br.lo{fill:#e4572e}
html.cg-noche .perfil svg.g .em{fill:#121413;stroke:#ece9e1}
html.cg-noche .perfil svg.g .hl{fill:#ece9e1}
html.cg-noche .perfil svg.g .fz-v{stroke:#2a2f2d}
html.cg-noche .perfil svg.g .fz-v.fz-vi,html.cg-noche .perfil svg.g .fz-x{stroke:#cfcabf}
html.cg-noche .perfil svg.g .fz-v.fz-vi.lo,html.cg-noche .perfil svg.g .fz-x.lo{stroke:#e4572e}
.perfil .tt{font-size:14px}
