:root {
  --bg: #07090f;
  --bg-2: #0b0e1a;
  --panel: #10142299;
  --panel-solid: #111526;
  --line: #1f2540;
  --line-2: #2a3152;
  --text: #eef1ff;
  --muted: #8d95b8;
  --dim: #5d6588;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --grad: linear-gradient(135deg, var(--violet), var(--cyan));
  --radius: 14px;
  --shadow: 0 20px 60px -20px #000c;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 500px at 85% -10%, #8b5cf622, transparent 60%),
    radial-gradient(700px 400px at -10% 20%, #22d3ee14, transparent 60%);
  background-attachment: fixed; min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
.mono { font-family: var(--mono); font-size: .9em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Botones y campos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line-2); background: #151a2e; color: var(--text);
  padding: 9px 16px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px;
  transition: border-color .15s, background .15s, transform .05s, opacity .15s; white-space: nowrap;
}
.btn:hover { border-color: #3b4470; background: #1a2038; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--grad); border: 0; color: #060812; box-shadow: 0 8px 30px -10px #8b5cf6aa; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: #151a2e; }
.btn.danger { color: var(--red); }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 13px 22px; font-size: 16px; border-radius: 12px; }
.input, select.input, textarea.input {
  width: 100%; background: #0c1020; border: 1px solid var(--line-2); border-radius: 10px;
  padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px #8b5cf633; }
textarea.input { resize: vertical; min-height: 80px; }
label.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 14px; }
.check input { accent-color: var(--violet); width: 16px; height: 16px; }

/* ---------- Landing ---------- */
.nav { display: flex; align-items: center; gap: 16px; padding: 18px 28px; max-width: 1180px; margin: 0 auto; }
.nav .links { display: flex; gap: 22px; margin-left: 28px; }
.nav .links a { color: var(--muted); font-size: 14px; }
.nav .links a:hover { color: var(--text); text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.4px; color: var(--text); }
.logo:hover { text-decoration: none; }
.hero { max-width: 1180px; margin: 0 auto; padding: 70px 28px 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--cyan); border: 1px solid #22d3ee33; background: #22d3ee0d; padding: 5px 12px; border-radius: 99px; font-weight: 600; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -2px; margin: 18px 0 18px; font-weight: 800; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .fine { margin-top: 16px; font-size: 13px; color: var(--dim); }
.orbit-art { position: relative; aspect-ratio: 1; max-width: min(460px, 100%); width: 100%; margin: 0 auto; }
.hero { overflow-x: clip; }
.orbit-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed #8b5cf640; }
.orbit-art .ring.r2 { inset: 14%; border-color: #22d3ee33; }
.orbit-art .ring.r3 { inset: 29%; border-style: solid; border-color: #ffffff12; }
.orbit-art .core {
  position: absolute; inset: 37%; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; font-weight: 800; font-size: clamp(16px, 2.2vw, 22px); color: #060812;
  box-shadow: 0 0 80px #8b5cf688, inset -10px -14px 30px #0005;
}
.orbit-art .spin { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit-art .spin.s2 { inset: 14%; animation-duration: 28s; animation-direction: reverse; }
.sat-chip {
  position: absolute; transform: translate(-50%, -50%); background: #111526; border: 1px solid var(--line-2);
  border-radius: 99px; padding: 5px 11px; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow);
}
.sat-chip i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.section { max-width: 1180px; margin: 0 auto; padding: 60px 28px; }
.section h2 { font-size: 34px; letter-spacing: -1px; margin: 0 0 10px; }
.section > p.sub { color: var(--muted); margin: 0 0 34px; max-width: 640px; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.step .num { font-family: var(--mono); color: var(--violet); font-size: 13px; font-weight: 700; }
.step h3 { margin: 10px 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(#8b5cf626, transparent 70%); }
.flow {
  display: grid; grid-template-columns: repeat(5, auto); align-items: center; justify-content: center; gap: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 26px;
}
.flow .node { text-align: center; }
.flow .node b { display: block; font-size: 15px; }
.flow .node span { font-size: 12.5px; color: var(--muted); }
.flow .arrow { color: var(--dim); font-size: 22px; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #0c0f1c; }
.feat .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #8b5cf61f; color: var(--violet); font-size: 18px; }
.feat h4 { margin: 0 0 4px; font-size: 16px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px; text-align: center; color: var(--dim); font-size: 13px; }
.banner { max-width: 1180px; margin: 0 auto 0; padding: 0 28px; }
.banner div { background: #f8717118; border: 1px solid #f8717140; color: #fecaca; padding: 10px 14px; border-radius: 10px; font-size: 14px; }

/* ---------- App ---------- */
.shell { display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; }
.side { border-right: 1px solid var(--line); background: #090c16cc; padding: 18px 14px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side .logo { padding: 2px 8px 6px; }
.side h6 { margin: 8px 8px 0; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.camp-list { display: grid; gap: 4px; }
.camp-item { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; color: var(--text); }
.camp-item:hover { background: #12172a; text-decoration: none; }
.camp-item.on { background: #151b33; border-color: var(--line-2); }
.camp-item .av { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); flex: none; overflow: hidden; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #060812; }
.camp-item .av img { width: 100%; height: 100%; object-fit: cover; }
.camp-item b { display: block; font-size: 14px; }
.camp-item small { color: var(--muted); font-size: 12px; }
.wallet-card { margin-top: auto; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #0c0f1c; font-size: 13px; display: grid; gap: 8px; }
.wallet-card .w { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.wallet-card .addr { color: var(--muted); font-family: var(--mono); font-size: 11.5px; cursor: pointer; }
.user-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; font-size: 13px; }
.user-row .pfp { width: 28px; height: 28px; border-radius: 50%; background: #1d2440; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.main { padding: 26px 34px 60px; min-width: 0; animation: fade .25s ease; }

.hub-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.hub-head .big-av { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); overflow: hidden; flex: none; display: grid; place-items: center; font-weight: 800; color: #060812; box-shadow: 0 0 40px #8b5cf655; }
.hub-head .big-av img { width: 100%; height: 100%; object-fit: cover; }
.hub-head h1 { margin: 0; font-size: 28px; letter-spacing: -.6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hub-head .meta { color: var(--muted); font-size: 13px; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); background: #12172a; color: var(--muted); }
.pill.solana { color: #c4b5fd; border-color: #8b5cf644; background: #8b5cf614; }
.pill.base { color: #93c5fd; border-color: #3b82f644; background: #3b82f614; }
.pill.pump { color: #86efac; border-color: #34d39944; background: #34d39912; }
.pill.bonk { color: #fdba74; border-color: #fb923c44; background: #fb923c12; }
.pill.bags { color: #5eead4; border-color: #2dd4bf44; background: #2dd4bf12; }
.pill.zora { color: #93c5fd; border-color: #3b82f644; background: #3b82f612; }
.pill.virtuals { color: #f0abfc; border-color: #d946ef44; background: #d946ef12; }
.pill.clawpump { color: #fca5a5; border-color: #ef444444; background: #ef444412; }
.pill.flaunch { color: #fde047; border-color: #eab30844; background: #eab30812; }
.pill.robinhood, .pill.bagsrh { color: #bef264; border-color: #84cc1644; background: #84cc1612; }
.pill.pons { color: #f9a8d4; border-color: #ec489944; background: #ec489912; }
.pill.clanker { color: #a5b4fc; border-color: #6366f144; background: #6366f114; }
.pill.draft { color: var(--muted); }
.pill.pending { color: var(--amber); border-color: #fbbf2444; background: #fbbf2412; }
.pill.live { color: var(--green); border-color: #34d39944; background: #34d39912; }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.pill.failed { color: var(--red); border-color: #f8717144; background: #f8717112; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.kpi b { display: block; font-size: 22px; margin-top: 4px; letter-spacing: -.5px; }
.kpi small { color: var(--dim); font-size: 12px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { padding: 10px 14px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; border-top: 0; border-left: 0; border-right: 0; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); border-bottom-color: var(--violet); }
.tab .count { margin-left: 6px; font-size: 11px; background: #1d2440; padding: 1px 7px; border-radius: 99px; color: var(--muted); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.card p.sub { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.gen-bar { display: grid; grid-template-columns: 110px auto 1fr auto; gap: 12px; align-items: end; }
.wave-bar {
  position: sticky; bottom: 16px; z-index: 5; margin-top: 18px; display: flex; gap: 14px; align-items: center;
  background: #121730ee; backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
}
.sat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; }
.sat { background: #0d1120; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; position: relative; }
.sat:hover { border-color: var(--line-2); }
.sat.sel { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet) inset; }
.sat .top { display: flex; gap: 12px; padding: 14px; align-items: center; }
.sat .top img { width: 54px; height: 54px; border-radius: 12px; flex: none; }
.sat .top b { display: block; font-size: 15px; line-height: 1.25; }
.sat .top .sym { font-family: var(--mono); color: var(--cyan); font-size: 13px; font-weight: 600; }
.sat .desc { padding: 0 14px; color: var(--muted); font-size: 13px; flex: 1; }
.sat .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 14px 0; font-size: 12px; }
.sat .stats div span { display: block; color: var(--dim); font-size: 11px; }
.sat .foot { display: flex; gap: 6px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); margin-top: 12px; flex-wrap: wrap; }
.sat .err { color: var(--red); font-size: 12px; padding: 8px 14px 0; overflow-wrap: anywhere; }
.sat .pick { position: absolute; top: 12px; right: 12px; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty h3 { color: var(--text); margin: 10px 0 6px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid #ffffff08; }
.table tr:last-child td { border-bottom: 0; }
.bars { display: flex; gap: clamp(1px, .6vw, 6px); min-width: 0; overflow: hidden; align-items: flex-end; height: 120px; padding-top: 10px; }
.bars .b { flex: 1; min-width: 0; background: linear-gradient(to top, #8b5cf6, #22d3ee); border-radius: 5px 5px 2px 2px; min-height: 3px; opacity: .85; position: relative; }
.bars .b:hover { opacity: 1; }
.bars-x { display: flex; gap: clamp(1px, .6vw, 6px); overflow: hidden; font-size: 10.5px; color: var(--dim); margin-top: 6px; }
.bars-x span { flex: 1; min-width: 0; white-space: nowrap; text-align: center; }
.note { font-size: 13px; color: var(--muted); background: #22d3ee0b; border: 1px solid #22d3ee26; border-radius: 10px; padding: 10px 12px; }
.note.warn { background: #fbbf240d; border-color: #fbbf2433; color: #fde68a; }

/* ---------- Modal y toast ---------- */
.modal-bg { position: fixed; inset: 0; background: #03050bcc; backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 50; padding: 20px; animation: fade .15s ease; }
.modal { width: min(520px, 100%); background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; max-height: 90vh; overflow: auto; }
.modal h2 { margin: 0; font-size: 21px; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.seg { display: inline-flex; background: #0c1020; border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 7px; cursor: pointer; color: var(--muted); font-weight: 600; }
.seg button.on { background: #1d2440; color: var(--text); }
#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none; background: #1a2038; border: 1px solid var(--line-2); padding: 11px 18px; border-radius: 12px; font-size: 14px; z-index: 100; transition: all .2s; box-shadow: var(--shadow); max-width: min(560px, 92vw); }
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.err { border-color: #f8717166; color: #fecaca; }
.spinner { width: 15px; height: 15px; border: 2px solid #ffffff33; border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .steps, .feats, .grid-2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 6px; }
  .flow .arrow { transform: rotate(90deg); justify-self: center; line-height: 1; }
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .main { padding: 20px 16px 60px; }
  .gen-bar { grid-template-columns: 1fr 1fr; }
  .nav .links { display: none; }
  .hub-head { flex-wrap: wrap; gap: 12px; }
  .hub-head .big-av { width: 48px; height: 48px; }
  .hub-head > div:not(.big-av) { flex-basis: calc(100% - 64px) !important; }
  .hub-head h1 { font-size: 22px; }
}
@media (max-width: 560px) {
  .orbit-art { max-width: 300px; }
  .sat-chip { font-size: 10.5px; padding: 4px 8px; }
  .sat-chip .dim { display: none; }
  .section { padding: 44px 16px; }
  .section h2 { font-size: 28px; }
  .nav { padding-inline: 16px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gen-bar { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .tab { white-space: nowrap; flex: none; }
  .wave-bar { flex-wrap: wrap; gap: 10px; }
  .wave-bar .btn { width: 100%; justify-content: center; }
}

/* ---------- Fase 1: accesibilidad, guía, avisos ---------- */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.foot-links, .side-links { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
.side-links { font-size: 12px; justify-content: flex-start; padding: 0 8px; }
.side-links a, .foot-links a { color: var(--muted); }
.check.off { opacity: .45; cursor: not-allowed; }
.wave-warn { font-size: 12.5px; color: #fde68a; }
.wave-warn a { color: var(--amber); text-decoration: underline; }
.btn.danger-solid { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.btn.danger-solid:hover { background: #dc2626; }
.err details { margin-top: 6px; color: var(--muted); }
.err summary { cursor: pointer; font-size: 11.5px; }
.err code { display: block; margin-top: 4px; font: 11px var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--dim); }
.risk { display: grid; gap: 8px; background: #fbbf240d; border: 1px solid #fbbf2433; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #fde68a; }
.risk p { margin: 0; }
.modal .check { font-size: 14px; align-items: flex-start; }
.guide { border: 1px solid var(--line-2); background: linear-gradient(135deg, #8b5cf614, #22d3ee0a); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; display: grid; gap: 12px; }
.guide ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.guide li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); min-width: 0; }
.guide li b { display: block; color: var(--text); font-size: 13px; }
.guide li small { display: block; font-size: 12px; margin-top: 2px; }
.guide .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 11.5px var(--mono); border: 1px solid var(--line-2); color: var(--dim); }
.guide li.ok .dot { background: #34d39922; border-color: #34d39966; color: var(--green); }
.guide li.ok b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--dim); }
.guide li.cur .dot { background: var(--grad); border-color: transparent; color: #060812; }
@media (max-width: 1000px) { .guide ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guide ol { grid-template-columns: 1fr; } }
.doc { max-width: 760px; margin: 0 auto; padding: 24px 20px 80px; line-height: 1.65; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; margin: 10px 0 4px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc b { color: var(--text); }

/* ---------- Fase 2: navegación, inicio, launchpads, historial, detalle ---------- */
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.side-nav a i { font-style: normal; width: 18px; text-align: center; color: var(--dim); }
.side-nav a:hover { background: #12172a; color: var(--text); text-decoration: none; }
.side-nav a.on { background: #151b33; color: var(--text); }
.side-nav a.on i { color: var(--cyan); }
.topbar, .scrim { display: none; }
.crumbs { font-size: 12.5px; color: var(--dim); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs b { color: var(--text); font-weight: 600; }
.page-head { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; font-size: 28px; letter-spacing: -.6px; }
.page-head p { margin: 4px 0 0; font-size: 14px; }
.loading { display: flex; gap: 10px; align-items: center; color: var(--muted); padding: 30px 6px; }
.up { color: var(--green); }
.down { color: var(--red); }
.nowrap { white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: #ffffff05; }
.table .av { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); flex: none; overflow: hidden; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #060812; }
.table .av img { width: 100%; height: 100%; object-fit: cover; }
.table.ev td { vertical-align: top; }
.table.ev .pill { padding: 1px 8px; font-size: 11px; }
.table.ev tr.bad td:nth-child(2) { color: #fecaca; }
.ev-ic { display: inline-block; width: 18px; text-align: center; }
.ev-sub { font-size: 12px; color: var(--dim); margin: 2px 0 0 22px; }
.sec-title { font-size: 15px; display: flex; gap: 10px; align-items: center; margin: 22px 0 12px; font-weight: 600; }
.sec-title .dim { font-size: 13px; font-weight: 500; }
.pad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.pad-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; align-content: start; }
.pad-card.off { opacity: .7; }
.pad-card .pad-name { font-size: 17px; }
.pad-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.pad-card dl, .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 13px; }
.pad-card dt, .kv dt { color: var(--dim); }
.pad-card dd, .kv dd { margin: 0; overflow-wrap: anywhere; }
.pad-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 14px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 10px; }
.pad-stats span { display: block; font-size: 11px; color: var(--dim); font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filters .input { width: auto; min-width: 0; padding: 8px 10px; font-size: 13.5px; }
.filters input[type=search] { flex: 1 1 180px; }
.filters .date { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); }
.pend { border: 1px solid #34d39933; background: #34d3990a; border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; display: grid; gap: 6px; font-size: 13.5px; }
.pend-row { display: flex; justify-content: space-between; gap: 10px; }
.pend small { font-size: 12px; }
.sat-name { color: inherit; }
.modal.wide { width: min(640px, 100%); }
.sd-head { display: flex; gap: 14px; align-items: center; }
.sd-head img { border-radius: 14px; flex: none; }
.sd-head h2 { overflow-wrap: anywhere; }
.faq-app details { border-bottom: 1px solid var(--line); padding: 12px 4px; }
.faq-app details:last-child { border-bottom: 0; }
.faq-app summary { cursor: pointer; font-weight: 600; }
.faq-app p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }
@media (max-width: 1000px) {
  .topbar { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; background: #07090fee; backdrop-filter: blur(10px); }
  .side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); height: 100vh; z-index: 40; transform: translateX(-102%); transition: transform .2s; border-right: 1px solid var(--line); border-bottom: 0; background: #090c16; }
  .shell.menu .side { transform: none; box-shadow: var(--shadow); }
  .shell.menu .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: #03050baa; }
  .page-head h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  .filters .input, .filters .date { flex: 1 1 calc(50% - 8px); }
  .filters .date .input { flex: 1; }
  .pad-stats { grid-template-columns: repeat(2, 1fr); }
}
.grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid-2 > * { min-width: 0; }
@media (max-width: 1000px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .table.ev thead { display: none; }
  .table.ev tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 11px 6px; border-bottom: 1px solid #ffffff0a; }
  .table.ev tr:last-child { border-bottom: 0; }
  .table.ev td { padding: 0; border: 0; }
  .table.ev td:nth-child(1) { grid-column: 1 / -1; font-size: 11.5px; }
  .table.ev td:nth-child(3) { text-align: right; white-space: normal; font-size: 13px; }
  .table.ev td:nth-child(4):not(:empty) { grid-column: 1 / -1; padding-left: 22px; }
}
.gen-bar { grid-template-columns: 110px minmax(0, 1fr) auto; }
.gen-bar > .field:nth-child(2) { grid-column: 1 / -1; order: -1; }
@media (max-width: 560px) { .gen-bar { grid-template-columns: 1fr; } }
