/*
 * PUESTO DE MANDO · DISEÑO 2026 (29/10/2026)
 * ------------------------------------------
 * Capa de diseño de la plataforma ordenada (estudio-orden.js). Solo actúa con <html class="ob-v2">.
 * Misma familia que la web (Onest y verdes de la marca), títulos con degradado del color de cada zona,
 * superficies limpias con relieve suave, fondo con luz que se mueve despacio y entradas animadas.
 * Cada zona tiene su color en --sec: Estudiar verde, Practicar azul, Cursos ámbar, Organizarme turquesa,
 * Mi progreso violeta, Comunidad rosa.
 */
@font-face { font-family: "OB Display"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fuentes/onest-800-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "OB Display"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fuentes/onest-800-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Fichas de diseño ---------- */
html.ob-v2 {
  --f-disp: "OB Display", "Onest", system-ui, sans-serif;
  --f-body: "Onest", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-cond: "Onest", "Inter", system-ui, sans-serif;
  --f-mono: "Onest", "Inter", system-ui, sans-serif;
  --sec: #0d6b42;
  --menta: #2bd48e;
  --or-fondo: var(--panel2, #183622);
  --or-tinta: var(--text, #e9e5d6);
  --or-suave: var(--muted, #93a38e);
  --or-borde: rgba(255, 255, 255, .08);
  --or-curva: cubic-bezier(.2, .8, .2, 1);
}
html.ob-v2.cristal {
  --bg: #f5f7f6; --text: #0c1a13; --cream: #0c1a13; --muted: #55645c; --dim: #8a968f;
  --gold: #0d6b42; --gold2: #0a5a37; --primario: #0c1a13;
  --vidrio: rgba(255, 255, 255, .8); --vidrio-fuerte: rgba(255, 255, 255, .9); --filo: rgba(255, 255, 255, .9);
  --borde: rgba(12, 26, 19, .075);
  --sombra: 0 1px 2px rgba(12, 26, 19, .04), 0 12px 32px -20px rgba(12, 26, 19, .22);
  --sombra-alta: 0 2px 6px rgba(12, 26, 19, .05), 0 28px 56px -24px rgba(12, 26, 19, .34);
  --r: 20px;
  --or-fondo: #fff; --or-tinta: #0c1a13; --or-suave: #55645c; --or-borde: rgba(12, 26, 19, .075);
}
html.ob-v2 body { font-family: var(--f-body); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }

/* ---------- Fondo: luz del color de la zona, moviéndose despacio ---------- */
html.ob-v2.cristal body { background: var(--bg); }
html.ob-v2.cristal body::before {
  content: ""; position: fixed; inset: -12%; z-index: -1; pointer-events: none; filter: blur(40px);
  background:
    radial-gradient(34vmax 30vmax at 14% 10%, color-mix(in oklab, var(--sec) 20%, transparent), transparent 64%),
    radial-gradient(30vmax 28vmax at 90% 14%, rgba(110, 170, 230, .14), transparent 64%),
    radial-gradient(36vmax 32vmax at 80% 92%, color-mix(in oklab, var(--sec) 13%, transparent), transparent 64%),
    radial-gradient(28vmax 26vmax at 6% 90%, rgba(240, 200, 120, .12), transparent 64%);
  animation: orLuz 32s ease-in-out infinite alternate; transition: background 1.2s;
}
@keyframes orLuz { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(2%, -2%, 0) scale(1.05); } 100% { transform: translate3d(-2%, 1.5%, 0) scale(1.02); } }

/* ---------- Tipografía ---------- */
html.ob-v2 h1.t {
  font: 800 clamp(30px, 3.4vw, 46px)/1.04 var(--f-disp) !important; letter-spacing: -.035em !important; text-transform: none !important;
  background: linear-gradient(100deg, var(--cream) 0%, var(--cream) 38%, var(--sec) 72%, color-mix(in oklab, var(--sec) 55%, #9fe3c6) 100%) !important;
  background-size: 220% 100% !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
  animation: orBrillo 9s ease-in-out infinite alternate !important; padding-bottom: .06em; width: fit-content; max-width: 100%;
}
@keyframes orBrillo { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
html.ob-v2 .eyebrow { font: 700 11.5px var(--f-body) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--sec) !important; }
html.ob-v2 h2.s { font: 700 17px/1.3 var(--f-body) !important; letter-spacing: -.015em !important; text-transform: none !important; }
html.ob-v2 .bt-vs-grande, html.ob-v2 .bt-vs, html.ob-v2 .bt-fin h2, html.ob-v2 .bi-num, html.ob-v2 .fo-nivel b, html.ob-v2 .mo-cifra b, html.ob-v2 .sm-n,
html.ob-v2 .ob-fin .ob-caja h1, html.ob-v2 .ob-fin-cifras b, html.ob-v2 .ob-fin-precio .n, html.ob-v2 .ob-aviso-caja h2, html.ob-v2 .ob-caja h1, html.ob-v2 .ob-caja .precio,
html.ob-v2 .semcal-cab h2, html.ob-v2 .semcal-dia b {
  font-family: var(--f-disp) !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: -.03em !important;
}
html.ob-v2 .sm-n { color: var(--sec) !important; font-size: 26px !important; }

/* ---------- Superficies ---------- */
html.ob-v2.cristal .card, html.ob-v2.cristal .tcard, html.ob-v2.cristal .titem {
  background: var(--vidrio); border: 1px solid var(--borde); border-radius: var(--r); box-shadow: var(--sombra);
  transition: transform .4s var(--or-curva), box-shadow .4s var(--or-curva), border-color .4s;
}
html.ob-v2.cristal button.card:hover, html.ob-v2.cristal a.card:hover, html.ob-v2.cristal .tcard:hover, html.ob-v2.cristal .titem:hover, html.ob-v2.cristal .card.hov:hover {
  transform: translateY(-3px); box-shadow: var(--sombra-alta); border-color: color-mix(in oklab, var(--sec) 30%, transparent);
}
html.ob-v2.cristal .sm-lista { border-radius: 20px; border-color: var(--borde); background: var(--vidrio); }
html.ob-v2.cristal .sm-tema:hover { background: color-mix(in oklab, var(--sec) 6%, transparent); }
html.ob-v2.cristal .sm-barra > i { background: linear-gradient(90deg, var(--sec), var(--menta)); }

/* ---------- Botones ---------- */
html.ob-v2 .btn { border-radius: 12px; font-family: var(--f-body); font-weight: 600; letter-spacing: -.005em; transition: transform .25s var(--or-curva), box-shadow .3s, background-position .9s var(--or-curva), background-color .2s; }
html.ob-v2 .btn:active { transform: scale(.97); }
html.ob-v2 .btn.gold {
  color: #fff !important; border: 0 !important;
  background-image: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .34) 46%, transparent 60%), linear-gradient(135deg, color-mix(in oklab, var(--sec) 78%, #000), var(--sec)) !important;
  background-size: 260% 100%, 100% 100% !important; background-position: 140% 0, 0 0 !important; background-repeat: no-repeat !important;
  box-shadow: 0 10px 22px -12px var(--sec), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
}
html.ob-v2 .btn.gold:hover { background-position: -40% 0, 0 0 !important; box-shadow: 0 14px 28px -12px var(--sec), inset 0 1px 0 rgba(255, 255, 255, .22) !important; }

/* ---------- Entrada de cada pantalla ---------- */
html.ob-v2 .view.or-entra { animation: orVista .5s var(--or-curva) both; }
html.ob-v2 .view.or-entra > * { animation: orSube .7s var(--or-curva) both; }
html.ob-v2 .view.or-entra > :nth-child(2) { animation-delay: .05s; } html.ob-v2 .view.or-entra > :nth-child(3) { animation-delay: .1s; }
html.ob-v2 .view.or-entra > :nth-child(4) { animation-delay: .15s; } html.ob-v2 .view.or-entra > :nth-child(5) { animation-delay: .2s; }
html.ob-v2 .view.or-entra > :nth-child(6) { animation-delay: .25s; } html.ob-v2 .view.or-entra > :nth-child(n+7) { animation-delay: .3s; }
@keyframes orVista { from { opacity: 0; } to { opacity: 1; } }
@keyframes orSube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Menú lateral por zonas ---------- */
html.ob-v2.cristal .side { background: rgba(255, 255, 255, .74); backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%); border-right: 1px solid var(--borde); }
html.ob-v2 .brand b { font: 800 17px/1.1 var(--f-disp) !important; letter-spacing: -.02em !important; }
html.ob-v2 .nav { gap: 2px; }
html.ob-v2 .nav .or-busca, html.ob-v2 .or-hoja .or-busca {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; margin: 2px 0 12px;
  border-radius: 12px; background: color-mix(in oklab, var(--or-tinta) 4%, transparent); border: 1px solid var(--or-borde); color: var(--or-suave); font: 500 13.5px var(--f-body);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
html.ob-v2 .nav .or-busca:hover { border-color: color-mix(in oklab, var(--sec) 35%, transparent); background: var(--or-fondo); box-shadow: 0 6px 18px -12px rgba(12, 26, 19, .35); }
html.ob-v2 .or-busca svg { width: 17px; height: 17px; flex: none; }
html.ob-v2 .or-busca span { flex: 1; }
html.ob-v2 .or-busca kbd { font: 600 10.5px var(--f-body); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--or-borde); background: var(--or-fondo); color: var(--or-suave); }
html.ob-v2 .or-sec { margin: 1px 0; }
html.ob-v2 .or-sec[data-sec="ayuda"] { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--or-borde); }
html.ob-v2 .nav .or-cab {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 11px; width: 100%; padding: 7px 8px; border-radius: 13px;
  color: var(--or-tinta); transition: background .2s;
}
html.ob-v2 .nav .or-cab, html.ob-v2 .nav .or-cab.on { background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--or-tinta) !important; font-weight: 400 !important; }
html.ob-v2 .nav .or-cab:hover { background: color-mix(in oklab, var(--or-tinta) 4.5%, transparent) !important; }
html.ob-v2 .nav .or-cab:focus-visible { outline: 2px solid var(--sec); outline-offset: 1px; }
html.ob-v2 .or-ico {
  flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in oklab, var(--sec) 12%, var(--or-fondo)); color: var(--sec);
  transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--or-curva);
}
html.ob-v2 .or-ico svg { width: 17px; height: 17px; }
html.ob-v2 .nav .or-cab:hover .or-ico { transform: scale(1.06); }
html.ob-v2 .or-sec.actual .or-ico, html.ob-v2 .or-solo .or-cab.on .or-ico {
  background: linear-gradient(135deg, var(--sec), color-mix(in oklab, var(--sec) 62%, #fff)); color: #fff; box-shadow: 0 8px 16px -8px var(--sec);
}
html.ob-v2 .or-nom { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html.ob-v2 .or-nom b { font: 600 14px/1.2 var(--f-body); letter-spacing: -.01em; }
html.ob-v2 .or-nom small { font: 500 11.5px/1.25 var(--f-body); color: var(--or-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ob-v2 .or-cab > svg { flex: none; width: 15px; height: 15px; color: var(--or-suave); transition: transform .35s var(--or-curva); }
html.ob-v2 .or-sec.abierta .or-cab > svg { transform: rotate(90deg); }
html.ob-v2 .or-sec.actual .or-nom b, html.ob-v2 .or-solo .or-cab.on .or-nom b { color: var(--sec); }
html.ob-v2 .or-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--or-curva); }
html.ob-v2 .or-sec.abierta .or-sub { grid-template-rows: 1fr; }
html.ob-v2 .or-sub-in { overflow: hidden; position: relative; padding-left: 24px; }
html.ob-v2 .or-sub-in::before { content: ""; position: absolute; left: 23px; top: 4px; bottom: 6px; width: 1.5px; border-radius: 2px; background: color-mix(in oklab, var(--sec) 22%, transparent); }
html.ob-v2 .nav .or-sub button {
  display: flex; align-items: center; gap: 9px; width: 100%; margin: 1px 0; padding: 7px 10px 7px 16px; border-radius: 10px; position: relative;
  font: 500 13.5px var(--f-body) !important; color: var(--or-suave) !important; background: none; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important;
  opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .35s var(--or-curva), background .2s, color .2s;
}
html.ob-v2 .or-sec.abierta .or-sub button { opacity: 1; transform: none; }
html.ob-v2 .or-sec.abierta .or-sub button:nth-child(2) { transition-delay: .03s; } html.ob-v2 .or-sec.abierta .or-sub button:nth-child(3) { transition-delay: .06s; }
html.ob-v2 .or-sec.abierta .or-sub button:nth-child(4) { transition-delay: .09s; } html.ob-v2 .or-sec.abierta .or-sub button:nth-child(n+5) { transition-delay: .12s; }
html.ob-v2 .nav .or-sub button svg { width: 16px; height: 16px; opacity: .75; }
html.ob-v2 .nav .or-sub button:hover { background: color-mix(in oklab, var(--or-tinta) 4.5%, transparent) !important; color: var(--or-tinta) !important; }
html.ob-v2 .nav .or-sub button.on { color: var(--sec) !important; font-weight: 650 !important; background: color-mix(in oklab, var(--sec) 10%, transparent) !important; border: 0 !important; }
html.ob-v2 .nav .or-sub button { border: 0 !important; }
html.ob-v2 .nav .or-sub button.on::before { content: ""; position: absolute; left: -2px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--sec); }
html.ob-v2 .nav .or-sub button.on svg { opacity: 1; }

/* ---------- Barra «dónde estás» ---------- */
html.ob-v2 .or-bar {
  position: sticky; top: calc(var(--or-top, 0px) + 10px); z-index: 30; display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 10px; margin: 0 0 20px;
  border-radius: 16px; background: color-mix(in oklab, var(--or-fondo) 80%, transparent); border: 1px solid var(--or-borde);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 10px 30px -22px rgba(12, 26, 19, .45);
  animation: orSube .5s var(--or-curva) both;
}
html.ob-v2 .or-bar[hidden] { display: none; }
html.ob-v2 .or-bar-zona { display: flex; align-items: center; gap: 9px; font: 700 13.5px var(--f-body); color: var(--sec); white-space: nowrap; padding-right: 12px; border-right: 1px solid var(--or-borde); }
html.ob-v2 .or-bar-zona .or-ico { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--sec), color-mix(in oklab, var(--sec) 62%, #fff)); color: #fff; }
html.ob-v2 .or-bar-zona .or-ico svg { width: 15px; height: 15px; }
html.ob-v2 .or-bar-tabs { flex: 1; min-width: 0; display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; }
html.ob-v2 .or-bar-tabs::-webkit-scrollbar { display: none; }
html.ob-v2 .or-bar-tabs button {
  all: unset; cursor: pointer; flex: none; padding: 7px 12px; border-radius: 10px; font: 600 13px var(--f-body); color: var(--or-suave); white-space: nowrap;
  transition: background .2s, color .2s;
}
html.ob-v2 .or-bar-tabs button:hover { background: color-mix(in oklab, var(--or-tinta) 5%, transparent); color: var(--or-tinta); }
html.ob-v2 .or-bar-tabs button.on { background: color-mix(in oklab, var(--sec) 12%, var(--or-fondo)); color: var(--sec); }
html.ob-v2 .or-bar-tabs button:focus-visible, html.ob-v2 .or-bar-acc button:focus-visible { outline: 2px solid var(--sec); outline-offset: 1px; }
html.ob-v2 .or-bar-acc { display: flex; align-items: center; gap: 6px; flex: none; }
html.ob-v2 .or-ayuda, html.ob-v2 .or-lupa {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 10px;
  font: 600 13px var(--f-body); color: var(--or-tinta); background: color-mix(in oklab, var(--or-tinta) 5%, transparent); transition: background .2s, color .2s;
}
html.ob-v2 .or-lupa { padding: 0; width: 34px; justify-content: center; }
html.ob-v2 .or-ayuda:hover, html.ob-v2 .or-lupa:hover { background: color-mix(in oklab, var(--sec) 12%, var(--or-fondo)); color: var(--sec); }
html.ob-v2 .or-ayuda svg, html.ob-v2 .or-lupa svg { width: 17px; height: 17px; }

/* ---------- Ventanas ---------- */
html.ob-v2 .or-capa { position: fixed; inset: 0; z-index: 9000; background: rgba(6, 14, 10, .36); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .26s; }
html.ob-v2 .or-capa.ver { opacity: 1; }
html.ob-v2 .or-x { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--or-suave); transition: background .2s, color .2s; }
html.ob-v2 .or-x:hover { background: color-mix(in oklab, var(--or-tinta) 7%, transparent); color: var(--or-tinta); }
html.ob-v2 .or-x svg { width: 18px; height: 18px; }
html.ob-v2 .or-chip { display: inline-block; padding: 4px 9px; border-radius: 99px; font: 700 11px var(--f-body); letter-spacing: .08em; text-transform: uppercase; background: color-mix(in oklab, var(--sec) 12%, var(--or-fondo)); color: var(--sec); }
html.ob-v2 .or-h2 { margin: 14px 0 8px; font: 800 26px/1.1 var(--f-disp); letter-spacing: -.03em; color: var(--or-tinta); }
html.ob-v2 .or-h3 { margin: 22px 0 10px; font: 700 12px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sec); }
html.ob-v2 .or-que { margin: 0; font: 400 15.5px/1.55 var(--f-body); color: var(--or-suave); }
html.ob-v2 .or-pasos { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; gap: 10px; }
html.ob-v2 .or-pasos li { counter-increment: p; position: relative; padding-left: 34px; font: 400 14.5px/1.5 var(--f-body); color: var(--or-tinta); }
html.ob-v2 .or-pasos li::before {
  content: counter(p); position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center;
  font: 700 11.5px var(--f-body); color: var(--sec); background: color-mix(in oklab, var(--sec) 13%, var(--or-fondo));
}
/* Ayuda de la pantalla: panel lateral */
html.ob-v2 .or-panel {
  position: absolute; right: 12px; top: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); overflow: auto; padding: 22px 24px 24px;
  background: var(--or-fondo); color: var(--or-tinta); border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .45);
  transform: translateX(28px); transition: transform .4s var(--or-curva);
}
html.ob-v2 .or-capa.ver .or-panel { transform: none; }
html.ob-v2 .or-panel-cab { display: flex; justify-content: space-between; align-items: center; }
html.ob-v2 .or-panel-pie { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
/* Buscador */
html.ob-v2 .or-centro { display: flex; justify-content: center; align-items: flex-start; padding: 11vh 12px 12px; }
html.ob-v2 .or-paleta {
  width: min(640px, 100%); background: var(--or-fondo); color: var(--or-tinta); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5), 0 0 0 1px var(--or-borde); transform: translateY(-8px) scale(.98); transition: transform .35s var(--or-curva);
}
html.ob-v2 .or-capa.ver .or-paleta { transform: none; }
html.ob-v2 .or-paleta-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--or-borde); color: var(--or-suave); }
html.ob-v2 .or-paleta-in svg { width: 20px; height: 20px; flex: none; color: var(--sec); }
html.ob-v2 .or-paleta-in input { all: unset; flex: 1; min-width: 0; font: 500 16.5px var(--f-body); color: var(--or-tinta); }
html.ob-v2 .or-paleta-in input::placeholder { color: var(--or-suave); }
html.ob-v2 .or-paleta-in kbd { cursor: pointer; font: 600 11px var(--f-body); padding: 4px 7px; border-radius: 7px; border: 1px solid var(--or-borde); }
html.ob-v2 .or-res { max-height: min(56vh, 520px); overflow: auto; padding: 8px; }
html.ob-v2 .or-r { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border-radius: 13px; transition: background .15s; }
html.ob-v2 .or-r.sel, html.ob-v2 .or-r:hover { background: color-mix(in oklab, var(--sec) 9%, var(--or-fondo)); }
html.ob-v2 .or-r-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in oklab, var(--sec) 12%, var(--or-fondo)); color: var(--sec); }
html.ob-v2 .or-r-ico svg { width: 18px; height: 18px; }
html.ob-v2 .or-r-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html.ob-v2 .or-r-txt b { font: 600 14.5px var(--f-body); color: var(--or-tinta); }
html.ob-v2 .or-r-txt small { font: 400 12.5px var(--f-body); color: var(--or-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ob-v2 .or-r > svg { flex: none; width: 16px; height: 16px; color: var(--or-suave); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .25s var(--or-curva); }
html.ob-v2 .or-r.sel > svg, html.ob-v2 .or-r:hover > svg { opacity: 1; transform: none; color: var(--sec); }
html.ob-v2 .or-vacio { margin: 18px 12px; font: 400 14px/1.5 var(--f-body); color: var(--or-suave); }
/* Menú «Más» del móvil */
html.ob-v2 .or-hoja {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; padding: 14px 16px calc(26px + env(safe-area-inset-bottom, 0px));
  background: var(--or-fondo); color: var(--or-tinta); border-radius: 26px 26px 0 0; box-shadow: 0 -30px 80px -30px rgba(0, 0, 0, .4);
  transform: translateY(40px); transition: transform .4s var(--or-curva);
}
html.ob-v2 .or-capa.ver .or-hoja { transform: none; }
html.ob-v2 .or-hoja-cab { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 10px; }
html.ob-v2 .or-hoja-cab b { font: 800 20px var(--f-disp); letter-spacing: -.02em; }
html.ob-v2 .or-hoja-sec h3 { display: flex; align-items: center; gap: 9px; margin: 18px 2px 9px; font: 700 13.5px var(--f-body); color: var(--sec); }
html.ob-v2 .or-hoja-sec h3 .or-ico { width: 26px; height: 26px; border-radius: 8px; }
html.ob-v2 .or-hoja-sec h3 .or-ico svg { width: 15px; height: 15px; }
html.ob-v2 .or-hoja-rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
html.ob-v2 .or-hoja-rejilla button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 78px; padding: 12px 6px;
  border-radius: 16px; text-align: center; font: 600 12px/1.25 var(--f-body); color: var(--or-tinta); background: color-mix(in oklab, var(--sec) 7%, var(--or-fondo));
  transition: transform .2s var(--or-curva), background .2s;
}
html.ob-v2 .or-hoja-rejilla button:active { transform: scale(.96); }
html.ob-v2 .or-hoja-rejilla button svg { width: 22px; height: 22px; color: var(--sec); }
html.ob-v2 .or-hoja-rejilla button.on { box-shadow: inset 0 0 0 2px var(--sec); }

/* ---------- Recorrido guiado ---------- */
html.ob-v2 .or-tour { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.ob-v2 .or-foco {
  position: fixed; border-radius: 15px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(6, 14, 10, .6), 0 0 0 2px var(--menta), 0 0 30px 4px color-mix(in oklab, var(--menta) 45%, transparent);
  transition: left .5s var(--or-curva), top .5s var(--or-curva), width .5s var(--or-curva), height .5s var(--or-curva);
}
html.ob-v2 .or-globo {
  position: fixed; padding: 18px 18px 14px; border-radius: 20px; background: var(--or-fondo); color: var(--or-tinta); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5);
  transition: left .5s var(--or-curva), top .5s var(--or-curva);
}
html.ob-v2 .or-globo small { font: 700 11px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--sec); }
html.ob-v2 .or-globo b { display: block; margin: 6px 0 6px; font: 800 19px/1.15 var(--f-disp); letter-spacing: -.02em; }
html.ob-v2 .or-globo p { margin: 0; font: 400 14.5px/1.5 var(--f-body); color: var(--or-suave); }
html.ob-v2 .or-globo-acc { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
html.ob-v2 .or-saltar { all: unset; cursor: pointer; font: 600 13px var(--f-body); color: var(--or-suave); padding: 6px 4px; }

/* ---------- Bienvenida en Inicio ---------- */
html.ob-v2 .or-hola {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 0 0 20px; padding: 22px 22px 22px 26px;
  border-radius: 24px; color: #fff; background: linear-gradient(120deg, #0a3a27 0%, #0d6b42 55%, #12805c 100%);
  box-shadow: 0 24px 50px -28px rgba(13, 107, 66, .9);
}
html.ob-v2 .or-hola::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 120% at 85% 0%, rgba(43, 212, 142, .35), transparent 70%); pointer-events: none; }
html.ob-v2 .or-hola::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent); animation: orBarrido 5.5s ease-in-out 1s infinite;
}
@keyframes orBarrido { 0%, 60% { left: -40%; } 100% { left: 120%; } }
html.ob-v2 .or-hola-txt { position: relative; max-width: 640px; }
html.ob-v2 .or-hola .or-chip { background: rgba(255, 255, 255, .16); color: #fff; }
html.ob-v2 .or-hola h2 { margin: 10px 0 6px; font: 800 24px/1.1 var(--f-disp); letter-spacing: -.03em; color: #fff; }
html.ob-v2 .or-hola p { margin: 0; font: 400 14.5px/1.55 var(--f-body); color: rgba(255, 255, 255, .84); }
html.ob-v2 .or-hola-acc { position: relative; display: flex; align-items: center; gap: 8px; flex: none; }
html.ob-v2 .or-hola .btn.gold { background: #fff !important; color: #0a3a27 !important; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5) !important; }
html.ob-v2 .or-hola .btn:not(.gold) { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
html.ob-v2 .or-hola .or-x { color: rgba(255, 255, 255, .7); }
html.ob-v2 .or-hola .or-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Guía de la plataforma ---------- */
html.ob-v2 .or-guia-hero {
  position: relative; overflow: hidden; padding: 38px 36px 34px; margin: 0 0 22px; border-radius: 28px; color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, rgba(43, 212, 142, .35), transparent 65%), linear-gradient(135deg, #07261a 0%, #0a3a27 45%, #0d6b42 100%);
  box-shadow: 0 30px 60px -34px rgba(10, 58, 39, .9);
}
html.ob-v2 .or-guia-hero .eyebrow { color: #7fe0ad !important; }
html.ob-v2 .or-guia-hero h1.t { background: linear-gradient(100deg, #fff 0%, #fff 40%, #9fe3c6 75%, #2bd48e 100%) !important; background-size: 220% 100% !important; -webkit-background-clip: text !important; background-clip: text !important; }
html.ob-v2 .or-lead { max-width: 620px; margin: 12px 0 22px; font: 400 16.5px/1.55 var(--f-body); color: rgba(255, 255, 255, .82); }
html.ob-v2 .or-guia-acc { display: flex; gap: 10px; flex-wrap: wrap; }
html.ob-v2 .or-guia-hero .btn.gold { background: #fff !important; color: #0a3a27 !important; }
html.ob-v2 .or-guia-hero .btn:not(.gold) { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
html.ob-v2 .or-guia-hero .btn svg { width: 16px; height: 16px; }
html.ob-v2 .or-ruta { padding: 24px; border-radius: 24px; background: var(--vidrio, var(--or-fondo)); border: 1px solid var(--or-borde); box-shadow: var(--sombra); }
html.ob-v2 .or-ruta .or-h2 { margin-top: 0; font-size: 22px; }
html.ob-v2 .or-ruta .muted { margin: 0 0 16px; }
html.ob-v2 .or-ruta-pasos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
html.ob-v2 .or-paso {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px;
  background: var(--or-fondo); border: 1px solid var(--or-borde); transition: transform .35s var(--or-curva), box-shadow .35s, border-color .3s;
  animation: orSube .7s var(--or-curva) both; animation-delay: calc(var(--i) * .08s + .15s);
}
html.ob-v2 .or-paso:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); border-color: color-mix(in oklab, var(--sec) 35%, transparent); }
html.ob-v2 .or-paso:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 30px; width: 7px; height: 7px; border-top: 2px solid var(--dim, #8a968f); border-right: 2px solid var(--dim, #8a968f); transform: rotate(45deg); opacity: .6;
}
html.ob-v2 .or-num {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  font: 800 15px var(--f-disp); color: #fff; background: linear-gradient(135deg, #0d6b42, #2bd48e); box-shadow: 0 8px 16px -8px #0d6b42;
}
html.ob-v2 .or-paso b { font: 700 15px var(--f-body); color: var(--or-tinta); letter-spacing: -.01em; }
html.ob-v2 .or-paso small { font: 400 13px/1.45 var(--f-body); color: var(--or-suave); }
html.ob-v2 .or-filtro {
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; margin: 22px 0 6px; border-radius: 16px;
  background: var(--or-fondo); border: 1px solid var(--or-borde); box-shadow: var(--sombra); color: var(--or-suave);
}
html.ob-v2 .or-filtro svg { width: 19px; height: 19px; flex: none; }
html.ob-v2 .or-filtro input { all: unset; flex: 1; font: 500 15px var(--f-body); color: var(--or-tinta); }
html.ob-v2 .or-guia-sec[hidden], html.ob-v2 .or-ficha[hidden] { display: none; }
html.ob-v2 .or-guia-sec > header { display: flex; align-items: center; gap: 12px; margin: 30px 4px 14px; }
html.ob-v2 .or-guia-sec > header .or-ico { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--sec), color-mix(in oklab, var(--sec) 62%, #fff)); color: #fff; box-shadow: 0 10px 20px -10px var(--sec); }
html.ob-v2 .or-guia-sec > header .or-ico svg { width: 20px; height: 20px; }
html.ob-v2 .or-guia-sec h2 { margin: 0; font: 800 24px/1.1 var(--f-disp); letter-spacing: -.03em; background: linear-gradient(100deg, var(--or-tinta), var(--sec)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.ob-v2 .or-guia-sec header small { font: 500 13px var(--f-body); color: var(--or-suave); }
html.ob-v2 .or-fichas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
html.ob-v2 .or-ficha {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px;
  background: var(--or-fondo); border: 1px solid var(--or-borde); box-shadow: var(--sombra); transition: transform .35s var(--or-curva), box-shadow .35s, border-color .3s;
}
html.ob-v2 .or-ficha::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--sec), color-mix(in oklab, var(--sec) 50%, #fff)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--or-curva); }
html.ob-v2 .or-ficha:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); border-color: color-mix(in oklab, var(--sec) 25%, transparent); }
html.ob-v2 .or-ficha:hover::before { transform: scaleX(1); }
html.ob-v2 .or-ficha-cab { display: flex; align-items: center; gap: 11px; }
html.ob-v2 .or-ficha h3 { margin: 0; font: 700 16px/1.25 var(--f-body); letter-spacing: -.01em; color: var(--or-tinta); }
html.ob-v2 .or-ficha > p { margin: 0; font: 400 13.8px/1.55 var(--f-body); color: var(--or-suave); }
html.ob-v2 .or-ficha details summary { cursor: pointer; list-style: none; font: 600 13px var(--f-body); color: var(--sec); }
html.ob-v2 .or-ficha details summary::-webkit-details-marker { display: none; }
html.ob-v2 .or-ficha details summary::after { content: " +"; }
html.ob-v2 .or-ficha details[open] summary::after { content: " −"; }
html.ob-v2 .or-ficha details .or-pasos { margin-top: 10px; }
html.ob-v2 .or-ficha details .or-pasos li { font-size: 13.5px; }
html.ob-v2 .or-abrir {
  all: unset; cursor: pointer; margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px;
  font: 600 13.5px var(--f-body); color: var(--sec); background: color-mix(in oklab, var(--sec) 10%, var(--or-fondo)); transition: gap .25s var(--or-curva), background .2s;
}
html.ob-v2 .or-abrir:hover { gap: 10px; background: color-mix(in oklab, var(--sec) 16%, var(--or-fondo)); }
html.ob-v2 .or-abrir svg { width: 15px; height: 15px; }
html.ob-v2 .or-guia-pie { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

/* ---------- Barra de abajo del móvil ---------- */
html.ob-v2.cristal .tabbar { background: rgba(255, 255, 255, .86); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); border-top: 1px solid var(--borde); }
html.ob-v2 .tabbar button { font: 600 10.5px var(--f-body) !important; letter-spacing: 0 !important; text-transform: none !important; transition: color .2s; }
html.ob-v2 .tabbar button.on { color: var(--sec) !important; }
html.ob-v2 .tabbar button.on svg { transform: translateY(-1px) scale(1.08); transition: transform .3s var(--or-curva); }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  html.ob-v2 .or-bar { top: calc(var(--or-top, 0px) + 6px); gap: 8px; padding: 6px; margin-bottom: 14px; }
  html.ob-v2 .or-bar-zona { padding-right: 8px; }
  html.ob-v2 .or-bar-zona b, html.ob-v2 .or-ayuda span { display: none; }
  html.ob-v2 .or-ayuda { padding: 0; width: 34px; justify-content: center; }
  html.ob-v2 .or-hola { flex-direction: column; align-items: flex-start; padding: 20px; }
  html.ob-v2 .or-hola-acc { flex-wrap: wrap; }
  html.ob-v2 .or-hola .or-x { position: absolute; top: 12px; right: 12px; }
  html.ob-v2 .or-guia-hero { padding: 28px 22px; }
  html.ob-v2 .or-ruta-pasos { grid-template-columns: 1fr; }
  html.ob-v2 .or-paso { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  html.ob-v2 .or-paso .or-num { margin: 0; }
  html.ob-v2 .or-paso small { flex-basis: 100%; padding-left: 44px; margin-top: -4px; }
  html.ob-v2 .or-paso:not(:last-child)::after { display: none; }
  html.ob-v2 .or-panel { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 86vh; border-radius: 24px 24px 0 0; transform: translateY(40px); }
  html.ob-v2 .or-centro { padding-top: 8vh; }
}

/* ---------- Entrevista personal: sitio propio y destacado ---------- */
html.ob-v2 .or-destacada { margin: 6px 0 10px; }
html.ob-v2 .nav .or-destacada .or-cab {
  padding: 9px 10px !important; border-radius: 15px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--sec) 16%, var(--or-fondo)), color-mix(in oklab, var(--sec) 5%, var(--or-fondo))) !important;
  border: 1px solid color-mix(in oklab, var(--sec) 32%, transparent) !important;
  box-shadow: 0 10px 22px -16px var(--sec) !important;
}
html.ob-v2 .nav .or-destacada .or-cab:hover { background: linear-gradient(135deg, color-mix(in oklab, var(--sec) 24%, var(--or-fondo)), color-mix(in oklab, var(--sec) 9%, var(--or-fondo))) !important; }
html.ob-v2 .or-destacada .or-ico { background: linear-gradient(135deg, var(--sec), color-mix(in oklab, var(--sec) 60%, #fff)); color: #fff; box-shadow: 0 8px 16px -8px var(--sec); }
html.ob-v2 .or-destacada .or-nom b { color: color-mix(in oklab, var(--sec) 78%, var(--or-tinta)); font-weight: 700; }
html.ob-v2 .or-ya { flex: none; font: 700 11px var(--f-body); padding: 4px 9px; border-radius: 99px; background: var(--sec); color: #fff; }

html.ob-v2 .or-ent {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; width: 100%;
  margin: 0 0 20px; padding: 18px 20px; border-radius: 22px; color: #fff;
  background: linear-gradient(120deg, #3b2a06 0%, #8a5a12 55%, #b7791f 100%); box-shadow: 0 22px 44px -26px rgba(138, 90, 18, .95);
  transition: transform .25s var(--or-curva), box-shadow .25s;
}
html.ob-v2 .or-ent::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 130% at 88% 0%, rgba(255, 214, 120, .38), transparent 70%); pointer-events: none; }
html.ob-v2 .or-ent:hover { transform: translateY(-2px); box-shadow: 0 28px 50px -26px rgba(138, 90, 18, 1); }
html.ob-v2 .or-ent:focus-visible { outline: 3px solid #f2c063; outline-offset: 3px; }
html.ob-v2 .or-ent-ico { position: relative; flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
html.ob-v2 .or-ent-ico svg { width: 26px; height: 26px; }
html.ob-v2 .or-ent-txt { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html.ob-v2 .or-ent-txt small { font: 700 11px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 236, 196, .9); }
html.ob-v2 .or-ent-txt b { font: 800 21px/1.15 var(--f-disp); letter-spacing: -.02em; }
html.ob-v2 .or-ent-txt span { font: 400 14px/1.45 var(--f-body); color: rgba(255, 255, 255, .84); }
html.ob-v2 .or-ent-ir { position: relative; flex: none; display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 99px; background: #fff; color: #6b4410; font: 700 14px var(--f-body); }
html.ob-v2 .or-ent-ir svg { width: 16px; height: 16px; }

html.ob-v2 .tabbar button[data-tabsec="entrevista"] { color: #a86c12 !important; }
html.ob-v2 .tabbar button[data-tabsec="entrevista"] svg { padding: 3px; border-radius: 9px; background: linear-gradient(135deg, #b7791f, #e0a84a); color: #fff; box-sizing: border-box; }
html.ob-v2 .tabbar button { min-width: 0; }
@media (max-width: 860px) {
  html.ob-v2 .or-ent { padding: 16px; gap: 12px; flex-wrap: wrap; }
  html.ob-v2 .or-ent-ico { width: 44px; height: 44px; border-radius: 14px; }
  html.ob-v2 .or-ent-txt b { font-size: 18px; }
  html.ob-v2 .or-ent-ir { width: 100%; justify-content: center; }
}
@media (max-width: 380px) { html.ob-v2 .tabbar button { font-size: 9.5px !important; } }

/* ---------- Menos movimiento si el sistema lo pide ---------- */
@media (prefers-reduced-motion: reduce) {
  html.ob-v2 h1.t, html.ob-v2.cristal body::before, html.ob-v2 .or-hola::after { animation: none !important; }
  html.ob-v2 .view.or-entra, html.ob-v2 .view.or-entra > *, html.ob-v2 .or-paso, html.ob-v2 .or-bar { animation: none !important; }
  html.ob-v2 [class^="or-"], html.ob-v2 [class*=" or-"] { transition: none !important; }
}

/* ---------- Fluidez (04/11/2026): menos trabajo para el navegador, nada que salte ----------
   El fondo con luz animada (capa fija gigante con blur de 40px moviéndose sin parar), el título con brillo
   infinito y las entradas escalonadas de cada pantalla hacían que en iPad y móviles normales el scroll fuese
   a tirones y el contenido «llegase» dando saltos. Se queda el mismo aspecto, pero quieto y ligero. */
html.ob-v2.cristal body::before { animation: none !important; filter: none !important; inset: 0 !important; transition: none !important; }
html.ob-v2 h1.t { animation: none !important; background-position: 30% 50% !important; }
html.ob-v2 .view.or-entra { animation: orVista .18s ease-out both !important; }
html.ob-v2 .view.or-entra > * { animation: none !important; }
html.ob-v2 .or-bar, html.ob-v2 .or-paso { animation: none !important; }
html.ob-v2 .or-hola::after { animation-iteration-count: 2 !important; }
html.ob-v2 .or-bar { backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; }
html.ob-v2.cristal .side { backdrop-filter: blur(14px) !important; -webkit-backdrop-filter: blur(14px) !important; }
html.ob-v2.cristal .tabbar { backdrop-filter: blur(14px) !important; -webkit-backdrop-filter: blur(14px) !important; }
html.ob-v2 .or-capa { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(6, 14, 10, .42) !important; }
html.ob-v2 .btn.gold::after, html.ob-v2 .inf-cta::after { animation-iteration-count: 2 !important; }
html.ob-v2 .inf-cta .ico span { animation: none !important; }
