/* Proceso — plataforma de acompañamiento · paleta del manual "Consciencia Profunda" (Evolución Profesional) */
:root {
  --navy: #182536; --navy-2: #101a27; --navy-3: #22324a;
  --ivory: #F5F1E9; --ivory-2: #EFE8DA; --paper: #FBF9F5; --white: #fff;
  --taupe: #B8AA9A; --sage: #9DA99B; --sage-d: #6E7D6B;
  --gold: #B89B6E; --gold-l: #D3BE94; --gold-d: #8C7148;
  --ink: #30343A; --muted: #6B7178; --faint: #9AA0A6;
  --line: rgba(48, 52, 58, .1); --line-2: rgba(48, 52, 58, .18);
  --ok: #5E8B6A; --warn: #C08A3E; --bad: #B3624F;
  --title: "Cormorant Garamond", Georgia, serif; --sub: "Manrope", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --r: 14px; --sh: 0 1px 2px rgba(16, 26, 39, .04), 0 12px 30px -18px rgba(16, 26, 39, .22);
  --ease: cubic-bezier(.22, .9, .32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 14.5px/1.55 var(--body); color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; font-family: var(--title); font-weight: 600; color: var(--navy); line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 99; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ===== Estructura ===== */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 18px; padding: 22px 16px 18px; background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #E9E5DE; overflow-y: auto; z-index: 40; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 6px; }
.brand svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.4; flex: none; }
.brand span { font: 600 26px/1 var(--title); color: var(--ivory); letter-spacing: .02em; }
.brand small { display: block; margin-top: 5px; font: 600 9.5px/1 var(--sub); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .06); }
.modes a { text-align: center; padding: 8px 4px; border-radius: 8px; font: 600 12px var(--sub); color: #BFC4CC; transition: background .2s, color .2s; }
.modes a:hover { color: #fff; }
.modes a.on { background: var(--gold); color: var(--navy-2); }
.side-nav { display: grid; gap: 2px; }
.side-nav .grp { margin: 12px 10px 4px; font: 700 10px var(--sub); letter-spacing: .18em; text-transform: uppercase; color: rgba(233, 229, 222, .45); }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; font: 500 13.5px var(--sub); color: #D6D3CD; transition: background .2s, color .2s; }
.side-nav a i { width: 18px; text-align: center; font-style: normal; color: var(--gold-l); opacity: .8; }
.side-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-nav a.on { background: rgba(184, 155, 110, .16); color: #fff; }
.side-nav a .n { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 99px; background: var(--gold); color: var(--navy-2); font: 700 11px var(--sub); text-align: center; }
.side-foot { margin-top: auto; display: grid; gap: 10px; padding: 14px 8px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.who { display: flex; align-items: center; gap: 10px; font: 600 13px var(--sub); color: #fff; }
.who small { display: block; font: 500 11.5px var(--body); color: var(--taupe); }
.side-foot .link { justify-self: start; font: 600 12px var(--sub); color: var(--gold-l); }
.side-foot .link:hover { text-decoration: underline; }
.made { font-size: 11.5px; color: rgba(233, 229, 222, .5); }
.made a { color: var(--gold-l); }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 16px 32px; background: rgba(245, 241, 233, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-title { min-width: 0; flex: 1; }
.top-title small { display: block; font: 600 10.5px var(--sub); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.top-title h1 { font-size: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-acts { display: flex; gap: 8px; flex: none; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: var(--navy); }
.burger span { width: 18px; height: 1.6px; background: var(--ivory); }
.view { padding: 28px 32px 64px; display: grid; gap: 22px; align-content: start; outline: none; max-width: 1320px; width: 100%; }
.scrim { position: fixed; inset: 0; background: rgba(16, 26, 39, .45); z-index: 35; }

/* ===== Piezas ===== */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 20px 22px; min-width: 0; }
.card.dark { background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: #E9E5DE; border-color: transparent; }
.card.dark h2, .card.dark h3 { color: var(--ivory); }
.card.soft { background: var(--ivory-2); box-shadow: none; }
.card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-h h2 { font-size: 23px; }
.card-h h3 { font-size: 20px; }
.card-h a, .card-h .lnk { font: 600 12.5px var(--sub); color: var(--gold-d); white-space: nowrap; }
.kicker { font: 700 10.5px var(--sub); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.card.dark .kicker { color: var(--gold-l); }
.lead { font: 500 17px/1.5 var(--body); color: var(--muted); max-width: 70ch; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.serif { font-family: var(--title); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.stack { display: grid; gap: 12px; align-content: start; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.kpi { display: grid; gap: 4px; }
.kpi b { font: 600 38px/1 var(--title); color: var(--navy); }
.kpi span { font: 600 12px var(--sub); color: var(--muted); }
.card.dark .kpi b { color: var(--ivory); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 18px; border-radius: 99px; font: 600 13px var(--sub); letter-spacing: .02em; background: var(--navy); color: var(--gold-l); transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: var(--navy-2); }
.btn.gold:hover { background: var(--gold-l); }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(24, 37, 54, .05); }
.card.dark .btn.ghost { color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn.sm { min-height: 32px; padding: 6px 13px; font-size: 12px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font: 600 11.5px var(--sub); background: var(--ivory-2); color: var(--ink); white-space: nowrap; }
.pill.ok { background: rgba(94, 139, 106, .14); color: #3F6B4B; }
.pill.warn { background: rgba(192, 138, 62, .16); color: #8A5F22; }
.pill.bad { background: rgba(179, 98, 79, .14); color: #8E4636; }
.pill.gold { background: rgba(184, 155, 110, .2); color: var(--gold-d); }
.pill.navy { background: var(--navy); color: var(--gold-l); }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 13px var(--sub); color: #fff; background: var(--c, var(--gold)); }
.av.lg { width: 58px; height: 58px; font-size: 18px; }
.av.sm { width: 28px; height: 28px; font-size: 10.5px; }
.list { display: grid; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); min-width: 0; }
.li:last-child { border-bottom: 0; }
a.li { border-radius: 10px; transition: background .2s; padding-inline: 8px; margin-inline: -8px; }
a.li:hover { background: rgba(184, 155, 110, .08); }
.li .grow { flex: 1; min-width: 0; }
.li b { display: block; font: 600 14px var(--sub); color: var(--navy); }
.li small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.time { font: 600 13px var(--sub); color: var(--navy); min-width: 52px; }
.bar { height: 7px; border-radius: 99px; background: var(--ivory-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-l)); }
.card.dark .bar { background: rgba(255, 255, 255, .1); }
.empty { padding: 26px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }
.note { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-radius: 10px; background: rgba(184, 155, 110, .1); border-left: 3px solid var(--gold); }
.quote { font: italic 500 21px/1.35 var(--title); color: var(--navy); }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs button, .tabs a { padding: 7px 14px; border-radius: 99px; font: 600 12.5px var(--sub); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.tabs .on { background: var(--navy); color: var(--gold-l); box-shadow: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 13px; border-radius: 99px; font: 600 12.5px var(--sub); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); transition: background .2s, color .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.chip.on { background: var(--navy); color: var(--gold-l); box-shadow: none; }

/* Formularios */
.field { display: grid; gap: 6px; }
.field > span { font: 600 12.5px var(--sub); color: var(--navy); }
.field > small { color: var(--muted); font-size: 12px; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=date], input[type=datetime-local], textarea, select { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); font-size: 14.5px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 155, 110, .2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--navy); width: 16px; height: 16px; flex: none; }
input[type=range] { width: 100%; accent-color: var(--gold-d); }

/* Momentos del proceso */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.moments div { padding: 10px 10px 9px; border-radius: 10px; background: var(--ivory-2); font: 600 12px var(--sub); color: var(--muted); position: relative; }
.moments div small { display: block; font: 500 11px var(--body); margin-top: 2px; opacity: .8; }
.moments .done { background: rgba(184, 155, 110, .22); color: var(--gold-d); }
.moments .now { background: var(--navy); color: var(--gold-l); }
.card.dark .moments div { background: rgba(255, 255, 255, .06); color: #BFC4CC; }
.card.dark .moments .done { background: rgba(184, 155, 110, .25); color: var(--gold-l); }
.card.dark .moments .now { background: var(--gold); color: var(--navy-2); }

/* Semana entre sesiones */
.week { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wk { position: relative; display: grid; gap: 6px; padding: 16px 16px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.wk .kicker { display: flex; justify-content: space-between; align-items: center; }
.wk p { font: 500 17.5px/1.35 var(--title); color: var(--navy); }
.wk.done { background: rgba(94, 139, 106, .07); border-color: rgba(94, 139, 106, .25); }
.tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); color: transparent; font-size: 13px; transition: background .2s; }
.tick:hover { box-shadow: inset 0 0 0 1.5px var(--ok); }
.done > .kicker .tick, .tick.on { background: var(--ok); color: #fff; box-shadow: none; }

/* Gráficos */
.dims { display: grid; gap: 12px; }
.dim { display: grid; grid-template-columns: 92px 1fr 64px; gap: 10px; align-items: center; font: 600 12.5px var(--sub); }
.dim .tr { position: relative; height: 10px; border-radius: 99px; background: var(--ivory-2); }
.dim .tr i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; }
.dim .tr i.a { background: var(--taupe); opacity: .55; }
.dim .tr i.b { background: linear-gradient(90deg, var(--gold-d), var(--gold)); height: 4px; top: 3px; }
.dim em { font-style: normal; text-align: right; color: var(--muted); }
.dim em b { color: var(--ok); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.spark { width: 100%; height: 90px; display: block; }
.heat { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: var(--ivory-2); }
.heat i.d { background: var(--gold); }
.heat i.miss { background: rgba(179, 98, 79, .35); }
.heat i.fut { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.heat i.today { outline: 2px solid var(--navy); outline-offset: 1px; }

/* Diario */
.entry { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.entry:last-child { border-bottom: 0; }
.entry dl { display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; margin: 0; }
.entry dt { font: 600 12px var(--sub); color: var(--gold-d); }
.entry dd { margin: 0; }
.mood { display: inline-flex; gap: 3px; }
.mood i { width: 8px; height: 8px; border-radius: 50%; background: var(--ivory-2); }
.mood i.on { background: var(--gold); }
.moodpick { display: flex; gap: 6px; }
.moodpick button { width: 44px; height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 20px; background: var(--white); }
.moodpick button.on { box-shadow: inset 0 0 0 2px var(--gold); background: rgba(184, 155, 110, .12); }
.insight { display: grid; gap: 10px; }
.insight p { padding-left: 14px; border-left: 2px solid var(--gold); }
.pat { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pat:last-child { border-bottom: 0; }
.pat b { font: 600 13.5px var(--sub); color: var(--navy); }
.pat small { grid-column: 1 / -1; color: var(--muted); font-style: italic; }
.ia-tag { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px var(--sub); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.ia-tag::before { content: "✦"; font-size: 12px; }
.card.dark .ia-tag { color: var(--gold-l); }

/* Brújula y pasos */
.steps { display: flex; gap: 4px; flex-wrap: wrap; }
.steps button { flex: 1 1 0; min-width: 84px; padding: 9px 6px 8px; border-radius: 10px; font: 600 11.5px var(--sub); color: var(--muted); background: var(--ivory-2); text-align: center; }
.steps button small { display: block; font: 700 10px var(--sub); opacity: .7; }
.steps button.done { background: rgba(184, 155, 110, .22); color: var(--gold-d); }
.steps button.on { background: var(--navy); color: var(--gold-l); }
.flow { font: 600 12px var(--sub); color: var(--muted); letter-spacing: .02em; }
.alt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.alt.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 155, 110, .15); }
.alt span { flex: 1; }
.alt .x { color: var(--faint); font-size: 18px; line-height: 1; padding: 2px 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Experimentos */
.exp { display: grid; gap: 10px; }
.exp .hyp { font: 500 20px/1.3 var(--title); color: var(--navy); }
.exp dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 0; font-size: 13.5px; }
.exp dt { font: 600 12px var(--sub); color: var(--gold-d); }
.exp dd { margin: 0; }
.idea { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); text-align: left; transition: border-color .2s; }
.idea:hover, .idea.on { border-color: var(--gold); }
.idea b { font: 600 13.5px var(--sub); color: var(--navy); }
.idea span { font-size: 12.5px; color: var(--muted); }

/* Biblioteca */
.res { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); text-align: left; transition: border-color .2s, transform .2s var(--ease); width: 100%; }
.res:hover { border-color: var(--gold); transform: translateY(-1px); }
.res .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-l); font-size: 18px; }
.res b { display: block; font: 600 14px/1.3 var(--sub); color: var(--navy); }
.res small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.res .meta { margin-top: 7px; display: flex; gap: 6px; flex-wrap: wrap; }
.ask { display: flex; gap: 8px; }
.ask input { flex: 1; font-size: 16px; padding: 14px 16px; border-radius: 99px; }
.player { aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); display: grid; place-items: center; color: var(--gold-l); position: relative; overflow: hidden; }
.player::after { content: "▶"; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(184, 155, 110, .9); color: var(--navy-2); font-size: 22px; padding-left: 4px; }
.player span { position: absolute; left: 14px; bottom: 12px; font: 600 12px var(--sub); color: var(--ivory); opacity: .8; }
.audio { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: var(--ivory); }
.audio button { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy-2); }
.audio .bar { flex: 1; background: rgba(255, 255, 255, .15); }
ol.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* Chat */
.chat { display: flex; flex-direction: column; min-height: min(68vh, 640px); padding: 0; overflow: hidden; }
.chat-h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.msg { max-width: 80%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.msg.ai { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--navy); color: var(--ivory); border-bottom-right-radius: 4px; }
.msg.alert { background: rgba(179, 98, 79, .1); border-color: rgba(179, 98, 79, .35); }
.msg .tag { display: block; margin-bottom: 4px; font: 700 10px var(--sub); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.chat-chips { padding: 0 20px 10px; background: var(--ivory); }
.chat-in { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-in input { flex: 1; border-radius: 99px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--taupe); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }

/* Tabla de clientes */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font: 700 10.5px var(--sub); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 10px 10px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr[data-href] { cursor: pointer; transition: background .2s; }
.table tr[data-href]:hover { background: rgba(184, 155, 110, .08); }
.table .who-c { display: flex; gap: 10px; align-items: center; }
.table .who-c b { font: 600 13.5px var(--sub); color: var(--navy); display: block; }
.table .who-c small { color: var(--muted); font-size: 12px; }
.scroll-x { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }

/* Hub del ecosistema */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 34px; }
.hero h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 500; }
.hero h2 em { color: var(--gold-l); font-style: italic; }
.hero p { margin-top: 14px; color: #C9CCD2; font-size: 15.5px; max-width: 54ch; }
.eco { display: grid; gap: 8px; }
.eco-node { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.eco-node b { font: 600 13px var(--sub); color: var(--gold-l); display: block; }
.eco-node small { color: #BFC4CC; font-size: 12px; }
.eco-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.eco-arrow { text-align: center; color: var(--gold); font-size: 13px; line-height: 1; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.appc { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.appc:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh); }
.appc .num { font: 600 13px var(--title); color: var(--gold-d); }
.appc h3 { font-size: 21px; }
.appc p { font-size: 13px; color: var(--muted); }
.appc .row { margin-top: auto; }
.tier { display: grid; gap: 8px; padding: 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.tier .kicker { color: var(--gold-d); }
.tier h3 { font-size: 22px; }
.tier ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; display: grid; gap: 4px; }

/* Test público */
.test-wrap { max-width: 760px; width: 100%; margin: 0 auto; display: grid; gap: 18px; }
.test-hero { text-align: center; padding: 38px 28px; }
.test-hero h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 500; }
.test-hero p { margin: 12px auto 0; max-width: 52ch; color: #C9CCD2; }
.q { display: grid; gap: 14px; }
.q h3 { font-size: 26px; font-weight: 500; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale button { padding: 14px 6px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 12.5px/1.25 var(--sub); color: var(--ink); transition: background .2s, box-shadow .2s; }
.scale button:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.scale button.on { background: var(--navy); color: var(--gold-l); box-shadow: none; }
.scale button b { display: block; font: 600 22px var(--title); margin-bottom: 2px; }
.result { display: grid; gap: 14px; text-align: center; padding: 34px 28px; }
.result h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 500; }
.result .n { font: italic 500 18px var(--title); color: var(--gold-l); }

/* Modal y aviso */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(16, 26, 39, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal-box { width: min(620px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--paper); border-radius: 18px; padding: 24px; display: grid; gap: 16px; box-shadow: 0 30px 80px -20px rgba(16, 26, 39, .5); animation: pop .25s var(--ease); }
.modal-box h2 { font-size: 27px; }
.modal-x { justify-self: end; margin: -8px -8px -30px 0; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--muted); }
.modal-x:hover { background: var(--ivory-2); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 99px; background: var(--navy); color: var(--ivory); font: 600 13px var(--sub); box-shadow: var(--sh); transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.fade { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* Interruptor */
.sw { position: relative; width: 42px; height: 24px; border-radius: 99px; background: var(--line-2); flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.sw.on { background: var(--ok); }
.sw.on::after { transform: translateX(18px); }

/* Comunidad */
.post { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post b { font: 600 13px var(--sub); color: var(--navy); }
.post b .pill { margin-left: 6px; }
.post small { color: var(--muted); font-size: 11.5px; margin-left: 6px; }
.post p { font-size: 13.5px; margin-top: 2px; }
.post .lk { margin-top: 6px; font: 600 12px var(--sub); color: var(--gold-d); }

@media (max-width: 1180px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: min(290px, 86vw); transform: translateX(-102%); transition: transform .3s var(--ease); }
  .app.open .side { transform: none; }
  .burger { display: flex; }
  .top { padding: 12px 16px; }
  .top-title h1 { font-size: 24px; }
  .view { padding: 18px 16px 56px; gap: 16px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
  .scroll-x { margin: 0 -16px; padding: 0 16px; }
  .hero { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week, .two { grid-template-columns: 1fr; }
  .moments { grid-template-columns: repeat(2, 1fr); }
  .entry dl, .exp dl { grid-template-columns: 1fr; gap: 2px; }
  .entry dd, .exp dd { margin-bottom: 6px; }
  .scale { grid-template-columns: 1fr; }
  .scale button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 14px; }
  .scale button b { margin: 0; width: 22px; }
  .eco-row { grid-template-columns: 1fr; }
  .msg { max-width: 92%; }
  .top-acts .btn span { display: none; }
  .dim { grid-template-columns: 76px 1fr 56px; }
  .table .hide-m { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
