/* Planificador con el estilo nuevo (E): mismos colores y letras que la portada */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --bg:#071219; --surface:#0f1f2a; --sunk:#13293a; --line:#1f3546;
  --ink:#e9f1f5; --text:#c9d6dd; --muted:#8fa7b4;
  --sea:#ffb547; --tide:#5fd4f0; --tide-soft:#13293a; --buoy:#ffb547;
  --good:#6fdca5; --good-bg:#12382a; --ok:#ffcf7a; --ok-bg:#3a2d10; --bad:#ff8a78; --bad-bg:#40211a; --na:#8fa7b4; --na-bg:#1b2c38;
  --display:"Barlow Condensed","Arial Narrow",sans-serif; --body:"Inter",system-ui,sans-serif;
  color-scheme: dark;
}
body { background: var(--bg); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1180px; }
/* barra de arriba */
.volver { position: sticky; top: 0; z-index: 50; margin: 0 -16px 0; padding: 12px 16px; background: rgba(7,18,25,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #13293a; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; }
.volver a { color: #fff; padding: 6px 10px; border-radius: 10px; }
.volver a:hover { text-decoration: none; background: rgba(255,255,255,.1); }
.volver a.activo-p { background: var(--amber, #ffb547); color: #071219; }
.marca-pm .lg-luz { display: none !important; } .marca-pm .lg-noche { display: block !important; }
/* encabezado */
header.top { border-bottom: 4px solid #ffb547; padding-bottom: 22px; margin-bottom: 26px; }
header.top .eyebrow { font-family: var(--display); font-weight: 700; letter-spacing: .12em; color: #8fa7b4; font-size: 16px; }
header.top h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(54px, 9vw, 96px); line-height: .9; color: #fff; }
header.top h1 .esp-t { color: #ff6a55; }
header.top .lede { font-size: 18px; color: #c9d6dd; }
/* cajas */
.v-caja { background: var(--surface); border-color: var(--line); border-radius: 18px; padding: 18px; }
.v-caja h2, .v-caja h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: 26px; }
.seg label span { border-radius: 12px; min-height: 40px; font-size: 14px; }
.seg input:checked + span { background: #ffb547; color: #071219; }
.v-ir { background: #ffb547; color: #071219; box-shadow: 0 8px 22px rgba(255,181,71,.25); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.v-ir:hover { background: #ffc66e; }
.v-ir small { font-family: "Inter", sans-serif; text-transform: none; letter-spacing: 0; font-weight: 600; }
.v-dormir { border-radius: 14px; }
.rule { border-radius: 18px; }
.rule h3 { font-family: var(--display); text-transform: uppercase; font-size: 22px; }

/* ---------- Estructura nueva ---------- */
.volver { display: flex; align-items: center; gap: 10px; }
.volver .marca-pm { margin-right: auto; }
.nav-p { display: flex; gap: 2px; margin-right: auto; }
.vivo-p { color: #ff6a55; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 6px; }
.vivo-p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff6a55; }
@media (max-width: 760px) { .nav-p { display: none; } }
.plan-e .grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; }
@media (max-width: 900px) { .plan-e .grid { grid-template-columns: 1fr; } }
/* pasos numerados */
.plan-e #izq { counter-reset: paso; }
.plan-e #cuando-box > h2, .plan-e #especie-box .h h2, .plan-e #lugares-box .h h2 { counter-increment: paso; display: flex; align-items: center; gap: 12px; }
.plan-e #cuando-box > h2::before, .plan-e #especie-box .h h2::before, .plan-e #lugares-box .h h2::before { content: counter(paso); width: 32px; height: 32px; border-radius: 50%; background: #ffb547; color: #071219; display: grid; place-items: center; font-size: 19px; flex: none; }
.plan-e #cuando-box, .plan-e #especie-box, .plan-e #lugares-box { background: none; border: 0; padding: 0; }
/* ¿cuándo salís?: botones grandes */
.plan-e #cuando-box .seg label span { min-height: 46px; padding: 8px 16px; background: #0f1f2a; border: 1.5px solid #1f3546; }
.plan-e #cuando-box .seg input:checked + span { background: #13293a; color: #fff; border-color: #ffb547; box-shadow: none; }
/* especies: chips */
.plan-e .esps button { font: inherit; font-size: 14.5px; font-weight: 600; border-radius: 999px; padding: 8px 16px; background: #0f1f2a; color: var(--ink); border: 1px solid #2a4252; cursor: pointer; }
.plan-e .esps button[aria-pressed="true"] { background: #ffb547; color: #071219; border-color: #ffb547; }
/* lugares: lista con la nota */
.plan-e .lugs { gap: 0; background: #0f1f2a; border: 1px solid #1f3546; border-radius: 18px; overflow: hidden; }
.plan-e .lug { border: 0; border-top: 1px solid #1f3546; border-radius: 0; background: none; padding: 14px 18px; }
.plan-e .lug:first-child { border-top: 0; }
.plan-e .lug.sel { background: #13293a; box-shadow: inset 4px 0 0 #ffb547; }
.plan-e .lug b { font-size: 16.5px; }
.plan-e .mas-lugs { color: #5fd4f0; }
/* Tu salida */
.salida-e { position: sticky; top: 76px; background: #0f1f2a; border: 1px solid #2a4252; border-radius: 22px; padding: 20px; display: grid; gap: 14px; min-width: 0; }
@media (max-width: 900px) { .salida-e { position: static; } }
.sal-eb { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #ffb547; }
.sal-t { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; color: #fff; }
.sal-s { margin: 6px 0 0; font-size: 14px; color: #b9cad3; }
.salida-e .v-caja { background: #13293a; border: 0; border-radius: 14px; padding: 14px; }
.salida-e .v-caja h2, .salida-e .v-caja h3 { font-size: 21px; }
.salida-e .buscar .group-h { font-family: var(--display); text-transform: uppercase; font-size: 21px; margin: 0; }
.salida-e .ropa li { background: #0f1f2a; }
.salida-e .rec-tot div { background: #0f1f2a; }
.salida-e .v-ir { min-height: 70px; font-size: 26px; }
.salida-e .v-dormir { background: none; border: 1px solid #2a4252; color: #5fd4f0; min-height: 50px; }
.salida-e .v-dormir:hover { background: #13293a; }
/* casas de pesca dentro de "Tu salida", después del recorrido */
.salida-e .casas-e { background: #13293a; border: 0; border-radius: 14px; padding: 14px; }
.salida-e .casas-e h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; }
.salida-e .casas-e .casa { background: #0f1f2a; border-color: #1f3546; }
/* las casas ya no son una columna aparte: sin scroll propio ni pegadas arriba (se encimaban con "Comenzar viaje") */
.salida-e .casas-e { position: static !important; max-height: none !important; overflow: visible !important; }
.salida-e { position: static; }
/* celular: los pasos primero y después "Tu salida", con su orden propio */
@media (max-width: 860px) {
  .salida-e { order: 5; }
  .salida-e > .sal-cab { order: 0; } .salida-e > #cond { order: 1; } .salida-e > #recorrido { order: 2; } .salida-e > .casas { order: 3; }
  .salida-e > #v-ir { order: 4; } .salida-e > #v-dormir { order: 5; } .salida-e > #dormir-box { order: 6; } .salida-e > #llevar { order: 7; } .salida-e > #buscar { order: 8; }
}
/* ¿Cuándo salís?: sin la línea del sol y sin las franjas de hoy que ya pasaron */
.tl-cielo { display: none !important; }
.tl-barra { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tl-barra label.off { display: none; }
/* especies: botón para sumar otras */
.plan-e .esps .esp-mas { background: none; border: 1.5px dashed #5fd4f0; color: #5fd4f0; }
