:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bg: #f5f8fd; --surface: #ffffff; --surface-soft: #edf4ff;
  --ink: #0b182e; --muted: #526580; --line: #d4dfed;
  --accent: #245ac9; --action: #225cf1; --action-hover: #174bcd;
  --header: #081426; --header-text: #e5edfc; --header-line: #364c6b;
  --hero-a: #deedff; --hero-b: #f4f7ff; --pill: #e9f0fc;
  --pill-ink: #3f5c7c; --map: #e5eef5; --map-grid: #ffffff99;
  --map-note: #ffffffed; --art: #eaf2ff; --cube: #a7caff;
  --bubble: #d9e8ff; --shadow: 0 12px 36px #1234590b;
  --focus: #397ce3; --tooltip: #162944; --tooltip-ink: #ffffff;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1522; --surface: #152133; --surface-soft: #1d2d45;
  --ink: #e8eef8; --muted: #afc0d8; --line: #33445e;
  --accent: #9fc4ff; --action: #2863cf; --action-hover: #3274e6;
  --header: #0a1220; --header-text: #e5edfc; --header-line: #3e5371;
  --hero-a: #1d3556; --hero-b: #172438; --pill: #243853;
  --pill-ink: #bdd2ed; --map: #1b2a3d; --map-grid: #58749150;
  --map-note: #152133f2; --art: #213650; --cube: #426ca4;
  --bubble: #314e76; --shadow: 0 12px 36px #00000020;
  --focus: #9ac3ff; --tooltip: #dceaff; --tooltip-ink: #102039;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.52; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { max-width: 1280px; width: calc(100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 12px; z-index: 100; padding: 12px; background: var(--surface); color: var(--ink); border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.header { position: sticky; top: 0; background: var(--header); color: var(--header-text); z-index: 50; border-bottom: 1px solid var(--header-line); }
.bar { display: flex; gap: 24px; align-items: center; min-height: 76px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 750; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 34px; height: 36px; border: 1px solid #527aa9; border-radius: 10px; color: #a9ceff; font-size: 29px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { font-size: 13px; font-weight: 650; padding-block: 12px; }
.nav a:hover { color: #b2d5ff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions select, .theme-toggle, .nav-toggle { min-height: 44px; border: 1px solid var(--header-line); border-radius: 10px; background: #172840; color: #edf4ff; }
.header-actions select { width: 58px; padding: 7px; font-size: 12px; font-weight: 700; }
.theme-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 8px 10px; font-size: 12px; font-weight: 650; }
.theme-toggle:hover, .nav-toggle:hover { background: #223c5b; }
.theme-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
.nav-toggle { display: none; min-width: 44px; font-size: 20px; }
.coming-soon { position: relative; }
.nav-unavailable { background: transparent; border: 0; color: #c4d1e5; padding: 5px 0; text-align: left; font-size: 12px; font-weight: 650; min-height: 44px; display: grid; gap: 3px; cursor: not-allowed; }
.soon-badge { justify-self: start; font-size: 9px; letter-spacing: .3px; padding: 2px 6px; border: 1px solid #607591; color: #d2e0f5; border-radius: 5px; }
.tooltip { position: absolute; z-index: 70; top: calc(100% + 4px); right: 0; width: 265px; max-width: calc(100vw - 40px); background: var(--tooltip); color: var(--tooltip-ink); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 10px; padding: 12px 14px; font-size: 12px; line-height: 1.5; visibility: hidden; opacity: 0; }
.coming-soon:hover .tooltip, .coming-soon:focus-within .tooltip { visibility: visible; opacity: 1; }
.coming-soon[data-tooltip-dismissed] .tooltip { visibility: hidden; opacity: 0; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) 285px; align-items: center; gap: 28px; margin-top: 24px; padding: 30px 32px; border: 1px solid var(--line); border-radius: 23px; background: radial-gradient(ellipse at top left,var(--hero-a),transparent 68%),linear-gradient(120deg,var(--hero-b),var(--surface)); box-shadow: var(--shadow); }
.eyebrow, .kicker { font-size: 10px; font-weight: 800; letter-spacing: 1.1px; color: var(--accent); }
.eyebrow { display: inline-flex; border: 1px solid var(--line); background: var(--surface-soft); border-radius: 99px; padding: 7px 10px; letter-spacing: .7px; }
.hero h1 { font-size: clamp(28px,3.1vw,44px); line-height: 1.14; letter-spacing: -1.15px; margin: 13px 0 9px; max-width: 820px; }
.hero-subtitle { color: var(--muted); font-size: 14px; margin: 0; max-width: 790px; }
.hero-aside-compact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.button-primary, .button-light, .button-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border-radius: 11px; font-size: 13px; font-weight: 700; text-align: center; max-width: 100%; }
.button-primary { background: var(--action); color: #fff; }
a.button-primary:hover { background: var(--action-hover); }
.button-light { background: var(--surface); border: 1px solid var(--line); }
.button-outline { background: var(--surface-soft); color: var(--accent); border: 1px solid var(--line); }
.hero-aside-compact a { min-width: 0; overflow-wrap: anywhere; }
.hero-status { grid-column: 1/-1; display: flex; gap: 7px; align-items: flex-start; margin-top: 7px; font-size: 11px; color: var(--muted); }
.pulse { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; background: #dda229; }
.section { margin-top: 30px; }
#profesionales { margin-top: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 14px; }
.section h2 { font-size: clamp(23px,2.3vw,31px); line-height: 1.2; letter-spacing: -.7px; margin: 5px 0 0; }
#profesionales h2 { font-size: clamp(23px,2vw,27px); }
.neutral-pill, .status-tag { display: inline-flex; align-self: start; background: var(--pill); border: 1px solid var(--line); color: var(--pill-ink); border-radius: 99px; padding: 6px 10px; font-size: 10px; font-weight: 700; }
.directory { background: var(--surface); border: 1px solid var(--line); border-radius: 23px; overflow: hidden; box-shadow: var(--shadow); }
.toolbar { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr) minmax(200px,1fr); gap: 14px; padding: 15px 20px; align-items: end; }
.toolbar-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.toolbar-field label { font-size: 12px; font-weight: 700; color: var(--muted); }
.toolbar-field input, .toolbar-field select { width: 100%; min-width: 0; height: 42px; padding: 8px 12px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.toolbar-field input:disabled, .toolbar-field select:disabled { cursor: not-allowed; opacity: 1; }
.toolbar-field input::placeholder { color: var(--muted); opacity: 1; }
.filter-note { font-size: 11px; color: var(--muted); margin: 0; align-self: center; }
.map-content { display: grid; grid-template-columns: minmax(0,1fr) 300px; border-top: 1px solid var(--line); }
.map-panel { height: 410px; position: relative; min-width: 0; background: var(--map); overflow: hidden; }
#map { position: absolute; inset: 0; z-index: 1; }
.map-fallback { position: absolute; inset: 0; background: var(--map); z-index: 0; }
.fallback-grid { position: absolute; inset: -30%; transform: rotate(-13deg); background: repeating-linear-gradient(90deg,transparent 0 58px,var(--map-grid) 58px 63px),repeating-linear-gradient(0deg,transparent 0 47px,var(--map-grid) 47px 51px); }
.fallback-caption { position: absolute; left: 28px; top: 28px; font-size: 14px; font-weight: 700; color: var(--muted); }
.map-note { position: absolute; z-index: 3; left: 14px; bottom: 30px; background: var(--map-note); color: var(--muted); padding: 8px 11px; border-radius: 9px; font-size: 10px; max-width: calc(100% - 28px); }
.map-aside { padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.empty-graphic { width: 62px; height: 62px; background: var(--surface-soft); color: var(--accent); border-radius: 18px; display: grid; place-items: center; font-size: 40px; }
.map-aside h3 { font-size: 21px; line-height: 1.2; margin: 15px 0 10px; }
.map-aside p { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.public-v1-result { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.public-v1-result a { overflow-wrap: anywhere; color: var(--accent); }
.maplibregl-popup-content { background: var(--surface); color: var(--ink); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { display: flex; align-items: center; gap: 17px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.feature:hover { border-color: var(--accent); }
.feature-icon { display: grid; place-items: center; min-width: 58px; height: 58px; border-radius: 14px; background: var(--surface-soft); color: var(--accent); font-size: 30px; }
.feature-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feature-copy strong { font-size: 18px; }
.feature-copy span { font-size: 13px; color: var(--muted); }
.feature-arrow { margin-left: auto; color: var(--accent); font-size: 23px; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 23px; min-height: 255px; align-items: center; padding: 34px; }
.section-copy p { color: var(--muted); max-width: 520px; font-size: 14px; }
.abstract-art { height: 190px; border-radius: 18px; background: var(--art); position: relative; overflow: hidden; }
.cube { position: absolute; width: 70px; height: 70px; background: var(--cube); border: 2px solid #6895d7; transform: rotate(30deg) skew(-5deg); border-radius: 8px; box-shadow: 18px 18px var(--surface-soft); }
.cube-one { left: 25%; top: 24%; } .cube-two { left: 52%; top: 41%; } .cube-three { left: 65%; top: 10%; width: 35px; height: 35px; }
.bubble { position: absolute; display: grid; place-items: center; border-radius: 22px; background: var(--bubble); color: var(--accent); font-weight: 800; box-shadow: var(--shadow); }
.bubble-one { height: 95px; width: 125px; left: 17%; top: 27%; } .bubble-two { height: 73px; width: 110px; right: 18%; top: 15%; } .bubble-three { height: 58px; width: 80px; right: 25%; bottom: 13%; }
.participate { background: linear-gradient(115deg,#102542,#204a7d); color: #fff; border: 1px solid #365880; border-radius: 23px; padding: 34px 38px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.participate .kicker { color: #b7d6ff; } .participate h2 { margin: 8px 0; } .participate p { color: #d5e2f5; max-width: 700px; font-size: 14px; }
.join-action { display: flex; align-items: center; gap: 10px; flex-direction: column; max-width: 280px; min-width: 210px; }
.join-action .button-primary { width: 100%; }
.disabled-link { background: #344d70; border: 1px solid #88a4c9; color: #e9f0fa; cursor: not-allowed; }
.join-explain { font-size: 11px; text-align: center; color: #d5e2f5; }
.roadmap { margin-top: 54px; }
.roadmap-intro { color: var(--muted); max-width: 730px; margin: 0 0 24px; font-size: 14px; }
.roadmap-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.roadmap-card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.roadmap-number { display: block; font-size: 26px; font-weight: 750; letter-spacing: -1px; color: var(--accent); margin-bottom: 18px; }
.roadmap-card h3 { font-size: 18px; line-height: 1.25; margin: 17px 0 10px; }
.roadmap-card p { font-size: 13px; color: var(--muted); margin: 0; }
.release-note { display: flex; gap: 13px; align-items: flex-start; margin-top: 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.release-note strong { font-size: 13px; } .release-note p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.release-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; }
.roadmap-footnote { color: var(--muted); font-size: 11px; margin: 15px 0 0; }
.footer { padding: 36px 0; color: var(--muted); font-size: 11px; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer a:hover { color: var(--accent); }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: -24px; right: -24px; background: var(--header); padding: 18px 24px 24px; border-top: 1px solid var(--header-line); box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; gap: 5px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav-unavailable { margin-top: 5px; }
  .tooltip { left: 0; right: auto; }
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .hero-aside-compact { max-width: 440px; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .filter-note { grid-column: 1/-1; }
  .roadmap-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .map-content { grid-template-columns: 1fr; }
  .map-aside { padding: 24px; } .map-panel { height: 365px; }
  .twin { padding: 26px; gap: 20px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .bar { min-height: 68px; gap: 10px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand-icon { width: 28px; height: 32px; font-size: 25px; }
  .nav { left: -16px; right: -16px; padding-inline: 20px; }
  .theme-label { display: none; } .theme-toggle { width: 44px; padding: 8px; }
  .hero { padding: 22px 20px; margin-top: 16px; border-radius: 20px; }
  .hero h1 { font-size: clamp(26px,7vw,36px); letter-spacing: -.8px; }
  .hero-subtitle { font-size: 13px; } .eyebrow { font-size: 8px; letter-spacing: .4px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section h2 { font-size: 25px; }
  .toolbar { grid-template-columns: 1fr; padding: 15px; }
  .map-panel { height: 310px; }
  .map-note { font-size: 9px; }
  .tiles, .twin, .roadmap-grid { grid-template-columns: 1fr; }
  .feature { padding: 22px; } .feature-copy span { font-size: 12px; }
  .twin { padding: 25px; }
  .twin.reverse .abstract-art { order: 2; }
  .abstract-art { height: 145px; }
  .participate { padding: 26px; flex-direction: column; align-items: flex-start; }
  .join-action { width: 100%; max-width: none; min-width: 0; align-items: stretch; }
  .roadmap { margin-top: 38px; }
  .roadmap-card { padding: 22px; }
  .footer-content { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .brand { font-size: 13px; gap: 5px; } .brand-icon { width: 24px; }
  .header-actions { gap: 4px; } .header-actions select { width: 49px; }
  .bar { gap: 6px; } .theme-toggle, .nav-toggle { min-width: 40px; width: 40px; }
  .nav { left: -12px; right: -12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Shared user dropdown: account actions remain unavailable in the public profile. */
.user-menu { position: static; flex-shrink: 0; }
.user-menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; list-style: none; cursor: pointer; border: 1px solid var(--header-line); border-radius: 50%; color: var(--header-text); background: #1a2a41; }
.user-menu-toggle::-webkit-details-marker { display: none; }
.user-menu-toggle svg, .user-menu-item > svg { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.user-menu[open] .user-menu-toggle { outline: 2px solid var(--focus); outline-offset: 3px; }
.user-menu-panel { position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; width: 300px; max-width: calc(100vw - 32px); padding: 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--ink); box-shadow: 0 16px 40px #00000029; }
.user-menu:not([open]) .user-menu-panel { display: none; }
.user-menu-status { margin: 5px 10px 9px; font-size: 11px; color: var(--muted); }
.user-menu-item { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 46px; padding: 10px; border: 0; border-radius: 7px; text-align: left; background: transparent; color: var(--ink); font-size: 13px; font-weight: 550; }
.user-menu-item:disabled { color: var(--muted); cursor: not-allowed; opacity: 1; }
.user-menu-copy { display: grid; gap: 2px; }
.user-menu-copy small { font-size: 10px; font-weight: 400; color: var(--muted); }
.user-menu-divider { height: 1px; margin: 6px 2px; background: var(--line); }
.user-menu-appearance { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 10px; font-size: 13px; font-weight: 550; }
.user-menu-panel .theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: auto; min-width: 122px; min-height: 44px; padding: 6px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.user-menu-panel .theme-toggle:hover { background: var(--pill); }
.user-menu-panel .theme-label { display: inline; margin-left: auto; color: var(--accent); font-size: 12px; font-weight: 700; }
.appearance-switch > svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.appearance-track { display: block; position: relative; flex-shrink: 0; width: 54px; height: 28px; border: 1px solid #8e9bb0; border-radius: 99px; background: #ced5df; box-shadow: inset 0 1px 3px #12213930; }
.appearance-thumb { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fafcff; box-shadow: 0 1px 4px #14233b55; transition: transform 140ms ease; }
.appearance-switch .appearance-sun { color: var(--accent); }
:root[data-theme="dark"] .appearance-track { background: #34445c; border-color: #7186a4; }
:root[data-theme="dark"] .appearance-thumb { transform: translateX(26px); background: #bed0e7; }
:root[data-theme="dark"] .appearance-switch .appearance-sun { color: var(--muted); }
:root[data-theme="dark"] .appearance-switch .appearance-moon { color: var(--accent); }
.user-menu-logout:disabled { color: var(--muted); }
@media (max-width: 360px) { .user-menu-toggle { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .appearance-thumb { transition: none; } }

