/* Stratum CLI — landing estilo terminal. Paleta alineada con STRATUM_UI_SPECIFICATION.md (ámbar #F59E0B sobre negro). */ :root { --bg: #0a0a0b; --bg-2: #0f1012; --surface: #121417; --surface-2: #171a1e; --border: #262a31; --border-2: #353b44; --text: #e6e8eb; --muted: #9aa3af; --dim: #5b6470; --accent: #f59e0b; --accent-soft: rgba(245, 158, 11, 0.12); --green: #22c55e; --blue: #60a5fa; --purple: #a78bfa; --red: #f87171; --cyan: #22d3ee; --heat-0: #16191d; --heat-1: #4a3410; --heat-2: #7a5410; --heat-3: #b8780c; --heat-4: #f59e0b; --glow: 0 0 18px rgba(245, 158, 11, 0.25); --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace; --radius: 6px; --gutter: 16px; color-scheme: dark; } :root[data-theme="light"] { --bg: #f6f3ea; --bg-2: #efebe0; --surface: #fffdf7; --surface-2: #f8f4e8; --border: #ddd6c4; --border-2: #c9c0aa; --text: #1d1f22; --muted: #555c66; --dim: #8a8f96; --accent: #b45309; --accent-soft: rgba(180, 83, 9, 0.1); --green: #15803d; --blue: #1d4ed8; --purple: #6d28d9; --red: #b91c1c; --cyan: #0e7490; --heat-0: #ebe5d5; --heat-1: #f3d9a4; --heat-2: #e9b45a; --heat-3: #d38a1b; --heat-4: #b45309; --glow: none; color-scheme: light; } * { box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: 48px; } body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--mono); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; } ::selection { background: var(--accent); color: #0a0a0b; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; text-underline-offset: 3px; } b { color: var(--text); font-weight: 700; } code, kbd { font-family: inherit; background: var(--surface-2); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px; font-size: 0.92em; } kbd { color: var(--accent); } .dim { color: var(--dim); } .muted { color: var(--muted); } .ok { color: var(--green); } .add { color: var(--green); } .del { color: var(--red); } .p { color: var(--accent); font-weight: 700; } .sep { color: var(--dim); padding: 0 4px; } .small { font-size: 12px; } .wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #0a0a0b; padding: 4px 8px; } .skip:focus { left: 8px; } /* CRT: scanlines muy tenues, solo en oscuro */ .crt { pointer-events: none; position: fixed; inset: 0; z-index: 90; background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; } :root[data-theme="light"] .crt, :root.no-crt .crt { display: none; } /* ─── Barra tmux ─────────────────────────────────────────────── */ .tmux { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 var(--gutter); background: var(--accent); color: #0a0a0b; font-size: 13px; white-space: nowrap; } :root[data-theme="light"] .tmux { color: #fff; } .tmux a { color: inherit; } .tmux-session { font-weight: 800; } .tmux-windows { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; min-width: 0; } .tmux-windows::-webkit-scrollbar { display: none; } .tmux-windows a { display: block; padding: 0 8px; border-radius: 3px; } .tmux-windows a:hover { background: rgba(0,0,0,0.15); text-decoration: none; } .tmux-windows a.active { background: #0a0a0b; color: var(--accent); } :root[data-theme="light"] .tmux-windows a.active { background: #fff; color: var(--accent); } .tmux-windows a.active::after { content: "*"; } .tmux-right { margin-left: auto; display: flex; gap: 12px; align-items: center; } .tmux .tbtn { color: inherit; border-color: rgba(0,0,0,0.35); } :root[data-theme="light"] .tmux .tbtn { border-color: rgba(255,255,255,0.5); } .tmux-clock { font-weight: 700; font-variant-numeric: tabular-nums; } /* Menú de secciones: las ventanas 0–7 plegadas en un desplegable */ .tmux-menu { position: relative; } .tmux-menu-btn { font: inherit; color: inherit; cursor: pointer; display: flex; align-items: center; gap: 6px; background: #0a0a0b; color: var(--accent); border: none; border-radius: 3px; padding: 0 8px; height: 24px; font-weight: 700; } :root[data-theme="light"] .tmux-menu-btn { background: #fff; } .tmux-caret { transition: transform .15s; } .tmux-menu-btn[aria-expanded="true"] .tmux-caret { transform: rotate(180deg); } .tmux-menu-list { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 180px; list-style: none; margin: 0; padding: 4px; background: var(--surface); color: var(--text); border: 1px solid var(--accent); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.35); } .tmux-menu-list[hidden] { display: none; } .tmux-menu-list a { display: block; padding: 5px 10px; border-radius: 3px; color: var(--muted); } .tmux-menu-list a:hover, .tmux-menu-list a:focus-visible { background: var(--accent-soft); color: var(--text); text-decoration: none; } .tmux-menu-list a.active { color: var(--accent); font-weight: 700; } .tmux-menu-list a.active::after { content: " *"; } .tbtn { font: inherit; font-size: 12px; cursor: pointer; background: transparent; color: var(--muted); border: 1px solid var(--border-2); border-radius: 3px; padding: 1px 8px; } .tbtn:hover { color: var(--accent); border-color: var(--accent); } /* ─── Hero ───────────────────────────────────────────────────── */ .hero { padding: 56px 0 40px; border-bottom: 1px dashed var(--border); } .logo { margin: 0; width: 100%; max-width: 660px; color: var(--accent); font-size: 48px; line-height: 1; letter-spacing: .1em; } .logo svg { width: 100%; height: auto; display: block; overflow: visible; } .logo-block { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.35)); } :root[data-theme="light"] .logo-block { filter: none; } .logo-shade { stroke: color-mix(in srgb, var(--accent) 45%, var(--bg)); } /* Revelado de izquierda a derecha, como el typewriter del Banner de la CLI */ .logo.draw svg { animation: logo-in 0.9s steps(31) both; } @keyframes logo-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } } .tagline { color: var(--muted); margin: 18px 0 0; } .lede { max-width: 72ch; color: var(--muted); margin: 18px 0 0; } .boot { margin-top: 24px; padding: 14px 16px; min-height: 146px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; color: var(--muted); } .boot-line { white-space: pre-wrap; word-break: break-word; } .boot-line .p { margin-right: 6px; } .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; } .btn { font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; color: var(--text); background: transparent; border: 1px solid var(--border-2); transition: border-color .15s, color .15s, background .15s; } .btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; } .btn-primary { background: var(--accent); color: #0a0a0b; border-color: var(--accent); font-weight: 700; } .btn-primary .p { color: inherit; } .btn-primary:hover { background: transparent; color: var(--accent); } .copy-hint { font-weight: 400; opacity: .7; font-size: 11px; } /* ─── Secciones ──────────────────────────────────────────────── */ .section { padding: 56px 0 8px; } .cmd { font-size: 15px; font-weight: 500; margin: 0 0 18px; color: var(--text); word-break: break-word; } .cmd::before { content: "javi@stratum ~/CLI ❯ "; color: var(--accent); font-weight: 700; } .cmd .caret, .caret { display: inline-block; width: 0.6em; height: 1.1em; vertical-align: -0.2em; background: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } } .note { color: var(--muted); max-width: 80ch; margin: -6px 0 18px; } .sub { font-size: 13px; color: var(--accent); font-weight: 700; margin: 28px 0 10px; text-transform: lowercase; } .sub::before { content: "## "; color: var(--dim); } /* ─── KPIs ───────────────────────────────────────────────────── */ .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); gap: 1px; } .kpi { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; } .kpi .k { color: var(--dim); font-size: 12px; } .kpi .k::before { content: "▸ "; color: var(--accent); } .kpi .v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } .kpi .s { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; } .source-line { color: var(--dim); font-size: 12px; margin: 10px 0 0; display: flex; align-items: center; gap: 8px; } .source-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); display: inline-block; } .source-line.live .dot { background: var(--green); box-shadow: 0 0 8px var(--green); } /* ─── Terminal de la demo ────────────────────────────────────── */ .term { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); } .term-bar, .desk-bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); } .term-title { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dots { display: inline-flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); display: block; } .dots i:nth-child(1) { background: #ef4444; } .dots i:nth-child(2) { background: #eab308; } .dots i:nth-child(3) { background: #22c55e; } .scenario-tabs { display: flex; gap: 4px; padding: 8px 12px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; border-bottom: 1px solid var(--border); } .scenario-tabs button { font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; background: transparent; color: var(--muted); border: 1px solid transparent; border-bottom: none; padding: 4px 10px; border-radius: 4px 4px 0 0; } .scenario-tabs button:hover { color: var(--text); } .scenario-tabs button[aria-selected="true"] { color: var(--accent); background: var(--bg-2); border-color: var(--border); margin-bottom: -1px; } .term-body { height: 440px; overflow-y: auto; padding: 14px 16px; font-size: 13px; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; } .term-body .ln { white-space: pre-wrap; word-break: break-word; min-height: 1.6em; } .term-body .you { color: var(--dim); margin-top: 10px; } .term-body .you + .ln { border-left: 2px solid var(--border-2); padding-left: 10px; } .term-body .bot { color: var(--accent); font-weight: 700; margin-top: 10px; } .tool { white-space: pre-wrap; } .tool .name { color: var(--text); font-weight: 700; } .tool .meta, .t-meta { color: var(--dim); } .run { color: var(--blue); } .warn { color: var(--accent); } .err { color: var(--red); } .box { border: 1px solid var(--border-2); border-radius: 4px; padding: 8px 12px; margin: 6px 0; white-space: pre-wrap; } .box.accent { border-color: var(--accent); } .box.red { border-color: var(--red); } .box-title { color: var(--accent); font-weight: 700; } .badge { display: inline-block; padding: 0 6px; border-radius: 3px; font-size: 11px; font-weight: 700; } .badge.plan { background: var(--purple); color: #0a0a0b; } .badge.exec { background: var(--green); color: #0a0a0b; } .badge.agent { background: var(--blue); color: #0a0a0b; } .sel { background: var(--accent-soft); color: var(--accent); } .term-status { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; padding: 4px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); background: var(--surface); } .term-status .grow { flex: 1; } .term-status .sb-mode:empty { display: none; } .term-input { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--border); background: var(--bg-2); } .term-input input { flex: 1; min-width: 0; font: inherit; font-size: 13px; color: var(--text); background: transparent; border: none; outline: none; caret-color: var(--accent); } .term-input input::placeholder { color: var(--dim); } .term-input:focus-within { box-shadow: inset 0 0 0 1px var(--accent); } /* ─── Hitos: grafo de git ────────────────────────────────────── */ .progress-row { display: grid; gap: 6px; margin-bottom: 14px; } .progress { display: flex; gap: 12px; align-items: center; font-size: 13px; min-width: 0; } .progress-label { width: 64px; color: var(--muted); flex-shrink: 0; } .bar { color: var(--accent); letter-spacing: -1px; overflow: hidden; white-space: nowrap; min-width: 0; } .bar .rest { color: var(--border-2); } .progress-num { color: var(--muted); white-space: nowrap; } .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; } .chip { font: inherit; font-size: 12px; cursor: pointer; padding: 2px 10px; border-radius: 3px; background: transparent; color: var(--muted); border: 1px solid var(--border-2); } .chip:hover { color: var(--text); } .chip.on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); } .graph { list-style: none; margin: 0; padding: 0; } .graph li { display: grid; grid-template-columns: 28px 1fr; } .graph .rail { position: relative; } .graph .rail::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--border-2); } .graph li:last-child .rail::before { bottom: calc(100% - 14px); } .graph .node { position: absolute; left: 2px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); } .graph li.current .node { border-color: var(--accent); background: var(--accent); box-shadow: var(--glow); } .graph li.wip .node { border-color: var(--blue); } .graph li.next .node { border-color: var(--dim); width: 8px; height: 8px; left: 4px; top: 9px; } .graph li.desktop .rail::before { background: color-mix(in srgb, var(--blue) 40%, var(--border-2)); } .graph details { padding: 3px 0 10px; min-width: 0; } .graph summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; } .graph summary::-webkit-details-marker { display: none; } .graph summary:hover .h-title { color: var(--accent); } .h-id { color: var(--accent); font-weight: 700; } li.desktop .h-id { color: var(--blue); } li.next .h-id { color: var(--dim); } .h-title { font-weight: 500; } .h-date { color: var(--dim); font-size: 12px; } .h-tag { font-size: 11px; padding: 0 6px; border-radius: 3px; border: 1px solid currentColor; } .h-tag.done { color: var(--green); } .h-tag.wip { color: var(--blue); } .h-tag.next { color: var(--dim); } .h-tag.current { color: var(--accent); } .graph details[open] summary .h-title::after { content: " ▾"; color: var(--dim); } .graph summary .h-title::after { content: " ▸"; color: var(--dim); } .h-body { color: var(--muted); margin: 6px 0 0; padding: 8px 12px; border-left: 2px solid var(--border-2); background: var(--surface); max-width: 88ch; } .h-body ul { margin: 0; padding-left: 18px; } .h-body li { display: list-item; } .graph li.hidden { display: none; } /* ─── Novedades ──────────────────────────────────────────────── */ .releases { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; } .rel { display: flex; gap: 8px; align-items: baseline; font-size: 12px; padding: 4px 10px; border: 1px solid var(--border-2); border-radius: 999px; color: var(--muted); } .rel b { color: var(--accent); } .rel.latest { border-color: var(--accent); background: var(--accent-soft); } .news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; min-width: 0; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, transform .15s; } .news-card:hover { border-color: var(--accent); transform: translateY(-2px); } .news-card header { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--dim); } .news-card h4 { margin: 0; font-size: 14px; color: var(--text); } .news-card h4 .h-id { margin-right: 6px; } .news-card p { margin: 0; color: var(--muted); font-size: 13px; } .news-card .pre { margin: 0; padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px; font-size: 12px; white-space: pre-wrap; word-break: break-word; color: var(--muted); } .news-card .stats { font-size: 12px; color: var(--dim); margin-top: auto; } .prs { display: grid; gap: 12px; } .pr { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--purple); border-radius: var(--radius); padding: 14px 16px; } .pr-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; } .pr-num { color: var(--purple); font-weight: 700; } .pr-state { font-size: 11px; padding: 0 6px; border-radius: 3px; background: var(--purple); color: #0a0a0b; font-weight: 700; } .pr-title { color: var(--text); font-weight: 500; } .pr-meta { color: var(--dim); font-size: 12px; } .pr ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; } .pr table { border-collapse: collapse; margin-top: 10px; font-size: 12px; width: 100%; max-width: 560px; } .pr th, .pr td { border: 1px solid var(--border); padding: 4px 8px; text-align: left; } .pr th { color: var(--dim); font-weight: 500; } /* ─── Actividad ──────────────────────────────────────────────── */ .panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; min-width: 0; } .panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; font-size: 12px; margin-bottom: 12px; } .panel-head > span:first-child { color: var(--accent); font-weight: 700; } .panel-head > span:first-child::before { content: "┌─ "; color: var(--dim); font-weight: 400; } .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .split .panel { margin-bottom: 12px; } .heat-wrap { overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; } .heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 12px); gap: 3px; width: max-content; } .heat i, .heat-legend i { width: 12px; height: 12px; border-radius: 2px; display: block; background: var(--heat-0); } .heat i.out { background: transparent; } .l1 { background: var(--heat-1) !important; } .l2 { background: var(--heat-2) !important; } .l3 { background: var(--heat-3) !important; } .l4 { background: var(--heat-4) !important; } .heat i[data-tip]:hover { outline: 1px solid var(--text); } .heat-legend { display: flex; gap: 4px; align-items: center; justify-content: flex-end; margin-top: 8px; font-size: 11px; } .bars { display: grid; gap: 4px; font-size: 12px; } .bar-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; } .bar-row .lbl { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bar-row .fill { color: var(--accent); white-space: nowrap; overflow: hidden; letter-spacing: -1px; } .bar-row .n { color: var(--text); font-variant-numeric: tabular-nums; text-align: right; } .grep { display: flex; gap: 8px; align-items: center; } .grep input { font: inherit; font-size: 12px; color: var(--text); width: 200px; max-width: 50vw; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 3px; padding: 3px 8px; } .grep input:focus { border-color: var(--accent); outline: none; } .commits { list-style: none; margin: 0; padding: 0; font-size: 13px; } .commits li { display: grid; grid-template-columns: 76px 86px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px dashed var(--border); } .commits li:last-child { border-bottom: none; } .commits .sha { color: var(--accent); } .commits .when { color: var(--dim); font-size: 12px; } .commits .subj { overflow-wrap: anywhere; } .commits .type { color: var(--purple); } .commits .scope { color: var(--blue); } .commits .ls { font-size: 12px; white-space: nowrap; } .commits .new-badge { font-size: 10px; background: var(--green); color: #0a0a0b; padding: 0 4px; border-radius: 3px; margin-left: 6px; font-weight: 700; } .commits mark { background: var(--accent); color: #0a0a0b; } .more { display: block; margin: 10px auto 0; } .more[hidden] { display: none; } /* ─── Desktop ────────────────────────────────────────────────── */ .desk { border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; background: var(--bg-2); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 13px; } .desk-bar { font-family: var(--mono); } .desk-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 320px; } .desk-side { border-right: 1px solid var(--border); padding: 12px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; } .desk-new { border: 1px solid var(--border-2); border-radius: 6px; padding: 6px 10px; margin-bottom: 8px; color: var(--text); } .desk-group { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; } .desk-conv { padding: 5px 8px; border-radius: 6px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; } .desk-conv.on { background: var(--accent-soft); color: var(--accent); } .desk-conv .q { font-size: 10px; color: var(--blue); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; } .desk-main { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-width: 0; } .desk-msg { max-width: 560px; padding: 10px 12px; border-radius: 10px; line-height: 1.5; } .desk-msg.user { align-self: flex-end; background: var(--accent-soft); color: var(--text); } .desk-msg.bot { background: var(--surface); border: 1px solid var(--border); color: var(--text); } .desk-msg .tool { font-family: var(--mono); font-size: 12px; color: var(--muted); } .desk-msg .file { font-family: var(--mono); font-size: 12px; color: var(--accent); } .desk-files { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; } .desk-input { margin-top: auto; border: 1px solid var(--border-2); border-radius: 8px; padding: 10px 12px; color: var(--dim); display: flex; justify-content: space-between; } .desk-status { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 11px; color: var(--dim); font-family: var(--mono); } .desk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; } .desk-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; } .desk-card h4 { margin: 0 0 6px; font-size: 13px; } .desk-card p { margin: 0; color: var(--muted); font-size: 12px; } /* ─── Stratum Dot ────────────────────────────────────────────── */ .prerelease { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: var(--text); } .prerelease b:first-child { color: var(--accent); } .pre-tag { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; vertical-align: middle; } .dot-win .desk-bar { display: flex; gap: 10px; align-items: center; } .dot-win .desk-bar .dim { margin-left: auto; font-size: 11px; } .dot-win .desk-body { grid-template-columns: 250px minmax(0, 1fr); } .dot-row { display: flex; flex-direction: column; gap: 1px; padding: 7px 8px; border-radius: 6px; color: var(--muted); font-size: 12px; } .dot-row b { color: var(--text); font-weight: 500; } .dot-row.on { background: var(--accent-soft); } .dot-row .st { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; } .st.wait { color: var(--accent); } .st.run { color: var(--blue); } .st.paused { color: var(--purple); } .dot-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; } .dot-head .dim { font-size: 12px; } .dot-ctl { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); } .dot-tabs { display: flex; gap: 14px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--dim); } .dot-tabs span { padding: 0 0 6px; } .dot-tabs .on { color: var(--text); border-bottom: 2px solid var(--accent); } .dot-card { border: 1px solid var(--accent); border-radius: 8px; padding: 10px 12px; background: var(--surface); max-width: 560px; } .dot-card pre { margin: 6px 0 8px; font-family: var(--mono); font-size: 12px; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; } .dot-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11px; } .btn-mini { border: 1px solid var(--border-2); border-radius: 5px; padding: 2px 10px; font-size: 12px; color: var(--text); } .btn-mini.ok { border-color: var(--green); color: var(--green); } .graph li.dot .rail::before { background: color-mix(in srgb, var(--purple) 40%, var(--border-2)); } li.dot .h-id { color: var(--purple); } @media (max-width: 720px) { .dot-win .desk-body { grid-template-columns: minmax(0, 1fr); } .dot-win .desk-side { border-right: 0; border-bottom: 1px solid var(--border); } } /* ─── Capturas ───────────────────────────────────────────────── */ .shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .shots figure { margin: 0; min-width: 0; } .shot { display: block; width: 100%; padding: 0; cursor: zoom-in; background: #0b0b0b; border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; } .shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; transition: transform .3s; } .shot:hover img { transform: scale(1.03); } .shots figcaption { font-size: 12px; margin-top: 6px; } /* ─── Trayectoria ────────────────────────────────────────────── */ .traj-hero { margin: 0 0 16px; } .traj-hero .shot { aspect-ratio: 1476 / 808; } .traj-hero figcaption { font-size: 12px; margin-top: 6px; color: var(--muted); } .traj-grid { margin: 0 0 16px; } .traj-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; } .traj-pre { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; white-space: pre-wrap; color: var(--text); } .traj-p { margin: 0 0 8px; font-size: 13px; color: var(--muted); } .traj-p:last-child { margin-bottom: 0; } #trayectoria .shots .shot { aspect-ratio: 16 / 9; } /* ─── Roadmap ────────────────────────────────────────────────── */ .roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .road { background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--radius); padding: 14px 16px; min-width: 0; } .road.key { border-style: solid; border-color: var(--accent); } .road header { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 6px; } .road h4 { margin: 0 0 6px; font-size: 14px; } .road p { margin: 0; color: var(--muted); font-size: 13px; } .road .why { margin-top: 8px; font-size: 12px; color: var(--dim); } .road .why::before { content: "# "; } /* ─── Footer / lightbox / toast ──────────────────────────────── */ .footer { margin-top: 64px; padding: 24px 0 40px; border-top: 1px dashed var(--border); font-size: 13px; } .footer .wrap { display: grid; gap: 8px; } .footer-links { display: flex; gap: 16px; } .lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.9); } .lightbox[hidden] { display: none; } .lightbox-img { max-width: 100%; max-height: 86vh; border: 1px solid var(--border-2); border-radius: 4px; } .lightbox-close { position: absolute; top: 16px; right: 16px; color: #e6e8eb; background: #0a0a0b; } .toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 210; background: var(--accent); color: #0a0a0b; padding: 6px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; } .toast.show { opacity: 1; transform: translate(-50%, 0); } /* ─── Guías (guias.html) ─────────────────────────────────────── */ .tmux-windows a.tmux-link { font-weight: 700; } .doc-hero { padding: 40px 0 32px; } .doc-title { font-size: 20px; margin: 0; } .doc-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; max-width: 720px; } .doc-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: border-color .15s, transform .15s; } .doc-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; } .doc-card-k { color: var(--accent); font-size: 12px; } .doc-card-t { font-size: 18px; font-weight: 700; } .doc-card-s { color: var(--muted); font-size: 12px; } .doc-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; } .toc { position: sticky; top: 52px; padding: 32px 0 16px; font-size: 13px; max-height: calc(100vh - 52px); overflow-y: auto; scrollbar-width: thin; } .toc-group { display: grid; margin-bottom: 16px; } .toc a { color: var(--muted); padding: 2px 0 2px 12px; border-left: 2px solid var(--border); } .toc a:hover { color: var(--text); text-decoration: none; } .toc a.active { color: var(--accent); border-left-color: var(--accent); } .toc a.toc-h { color: var(--text); font-weight: 700; padding-left: 0; border-left: none; margin-bottom: 4px; } .toc a.toc-h::before { content: "▸ "; color: var(--accent); } .doc { min-width: 0; } .doc-part { padding: 40px 0 8px; } .doc-part + .doc-part { border-top: 1px dashed var(--border); margin-top: 32px; } .doc-sec { scroll-margin-top: 48px; } .doc .sub { font-size: 16px; margin: 36px 0 12px; padding-top: 4px; } .doc h4 { font-size: 14px; margin: 26px 0 8px; color: var(--text); } .doc h4::before { content: "### "; color: var(--dim); font-weight: 400; } .doc p, .doc li { color: var(--muted); max-width: 80ch; } .doc p { margin: 0 0 12px; } .doc ul { margin: 0 0 12px; padding-left: 20px; } .doc li { margin-bottom: 4px; } .doc li::marker { color: var(--accent); } .code { position: relative; margin: 0 0 14px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); } .code pre { margin: 0; padding: 12px 14px; overflow-x: auto; font-size: 13px; line-height: 1.55; scrollbar-width: thin; } .code code { background: none; border: none; padding: 0; font-size: inherit; color: var(--text); } .code-copy { position: absolute; top: 6px; right: 6px; background: var(--bg-2); opacity: 0; transition: opacity .15s; } .code:hover .code-copy, .code-copy:focus-visible { opacity: 1; } .tscroll { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--border); border-radius: var(--radius); scrollbar-width: thin; } .dtable { border-collapse: collapse; width: 100%; font-size: 13px; } .dtable th, .dtable td { padding: 7px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); } .dtable tr:last-child td { border-bottom: none; } .dtable th { color: var(--dim); font-weight: 500; font-size: 12px; background: var(--surface); white-space: nowrap; } .dtable td { color: var(--muted); } .dtable td:first-child { color: var(--text); min-width: 180px; } .callout { margin: 0 0 14px; padding: 10px 14px; max-width: 80ch; color: var(--muted); background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; } .doc-downloads { margin: 4px 0 8px; } /* ─── Control (control.html) ─────────────────────────────────── */ .ctl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; max-width: 860px; } .ctl-note { margin-top: 16px; } .news-card .more { font-size: 12px; font-weight: 700; align-self: flex-start; text-align: left; } .faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 8px; } .faq summary { cursor: pointer; padding: 10px 14px; color: var(--text); list-style: none; } .faq summary::-webkit-details-marker { display: none; } .faq summary::before { content: "▸ "; color: var(--accent); } .faq[open] summary::before { content: "▾ "; } .faq summary:hover { color: var(--accent); } .faq p { margin: 0; padding: 0 14px 12px; } .doc-more { margin-top: 20px; } @media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .toc { position: static; max-height: none; padding: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .toc-group { margin-bottom: 0; align-content: start; } .code-copy { opacity: 1; } } @media (max-width: 640px) { .doc-pick { grid-template-columns: minmax(0, 1fr); } .toc { grid-template-columns: minmax(0, 1fr); } .code pre { font-size: 12px; padding-top: 30px; } .dtable td:first-child { min-width: 130px; } } /* Revelado al hacer scroll */ .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; } .reveal.in { opacity: 1; transform: none; } /* ─── Responsive ─────────────────────────────────────────────── */ @media (max-width: 900px) { .kpis, .ctl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news, .roadmap, .split { grid-template-columns: minmax(0, 1fr); } .shots { grid-template-columns: minmax(0, 1fr); } .traj-how { grid-template-columns: minmax(0, 1fr); } .desk-body { grid-template-columns: minmax(0, 1fr); } .desk-side { display: none; } .desk-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 640px) { body { font-size: 13px; } .tmux-branch, .tmux-session { display: none; } .tmux .tbtn { padding: 1px 6px; } .hero { padding-top: 32px; } .section { padding-top: 40px; } .term-body { height: 380px; padding: 12px; font-size: 12px; } .commits li { grid-template-columns: 70px minmax(0, 1fr); } .commits .when { grid-column: 2; grid-row: 1; text-align: right; } .commits .subj { grid-column: 1 / -1; } .commits .ls { grid-column: 1 / -1; } .kpi .v { font-size: 18px; } .grep input { width: 140px; } .cmd::before { content: "❯ "; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }