/* comando-app.com · diseño «Terminal» 3.0.0 (20-nov-2026): ventana de terminal, línea de comandos, carpetas, ## en monoespaciada, app.json, registro de errores, checklist, FAQ a la vista */
@font-face { font-family: 'TxMono'; font-weight: 100 800; font-display: swap; src: url(fuentes/mono.woff2) format('woff2'); }
@font-face { font-family: 'TxSans'; font-weight: 100 900; font-display: swap; src: url(fuentes/inter.woff2) format('woff2'); }
.tx { color-scheme: dark; --bg: #0d1117; --bg2: #161b22; --bg3: #1c2330; --borde: #30363d; --txt: #c9d1d9; --txt2: #8b949e; --blanco: #f0f6fc; --verde: #3fb950; --azul: #58a6ff; --ambar: #d29922; --rojo: #f85149; --morado: #d2a8ff; --cian: #39c5cf; --mono: 'TxMono', ui-monospace, 'SFMono-Regular', Consolas, monospace; --sans: 'TxSans', system-ui, -apple-system, 'Segoe UI', sans-serif; margin: 0; background: var(--bg); color: var(--txt); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
.tx *, .tx *::before, .tx *::after { box-sizing: border-box; }
.tx a { color: var(--azul); text-decoration: none; }
.tx a:hover { text-decoration: underline; }
.tx img { max-width: 100%; height: auto; }
.tx ::selection { background: #264f78; color: #fff; }
.tx .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tx-salta { position: absolute; left: -999px; } .tx-salta:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; }
.tx-prompt { color: var(--verde); font-weight: 700; }
.tx-cursor { display: inline-block; color: var(--verde); animation: tx-parp 1.1s steps(1) infinite; }
@keyframes tx-parp { 50% { opacity: 0; } }
.tx-pt { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: none; }
.tx-pt:nth-of-type(1) { background: #ff5f57; } .tx-pt:nth-of-type(2) { background: #febc2e; } .tx-pt:nth-of-type(3) { background: #28c840; }

/* cabecera: barra de ventana + línea de comandos + carpetas */
.tx-cab { background: var(--bg2); border-bottom: 1px solid var(--borde); position: sticky; top: 0; z-index: 50; font-family: var(--mono); }
.tx-ventana { display: flex; align-items: center; gap: 7px; padding: 8px 18px; border-bottom: 1px solid var(--borde); background: #0b0f14; font-size: 13px; color: var(--txt2); }
.tx-marca { display: flex; align-items: center; gap: 8px; margin-left: 12px; color: var(--blanco) !important; font-weight: 700; font-size: 14.5px; text-decoration: none !important; }
.tx-marca img { width: 26px; height: 26px; }
.tx-ruta { margin-left: 6px; color: var(--txt2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-ruta::before { content: ":"; margin-right: 6px; color: var(--borde); }
.tx-cab-in { max-width: 1180px; margin: 0 auto; padding: 10px 20px 0; }
.tx-cmd { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--borde); border-radius: 6px; padding: 4px 4px 4px 12px; font-family: var(--mono); }
.tx-cmd label { color: var(--txt2); font-size: 14.5px; white-space: nowrap; }
.tx-cmd input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--blanco); font: 500 15px var(--mono); padding: 9px 0; caret-color: var(--verde); }
.tx-cmd input::placeholder { color: #545d68; }
.tx-cmd button { font: 600 13px var(--mono); background: var(--bg3); color: var(--txt); border: 1px solid var(--borde); border-radius: 4px; padding: 8px 12px; cursor: pointer; }
.tx-cmd:focus-within { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(63, 185, 80, .15); }
.tx-carpetas { display: flex; align-items: center; gap: 4px 16px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 11px; font-size: 14px; }
.tx-carpetas > span { color: var(--verde); font-weight: 700; }
.tx-carpetas a { color: var(--c, var(--azul)); white-space: nowrap; }
.tx-carpetas a[aria-current] { background: var(--bg3); outline: 1px solid var(--borde); padding: 0 6px; }

/* documento */
.tx-doc { max-width: 860px; margin: 0 auto; padding: 34px 20px 10px; }
.tx-doc-ancho { max-width: 1100px; }
.tx-cmdline { font: 500 14.5px/1.5 var(--mono); color: var(--txt2); margin: 0 0 14px; }
.tx-flag { color: var(--ambar); } .tx-arg { color: #a5d6ff; }
.tx-doc-cab { padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px dashed var(--borde); }
.tx-doc-cab h1 { font: 700 clamp(28px, 3.6vw, 42px)/1.15 var(--mono); letter-spacing: -.02em; color: var(--blanco); margin: 0 0 14px; }
.tx-h1-dir { color: var(--c); }
.tx-lead { font: 400 19px/1.6 var(--sans); color: var(--txt); margin: 0 0 16px; max-width: 72ch; }
.tx-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; font: 400 13.5px var(--mono); color: var(--txt2); }
.tx-meta a { color: var(--azul); }

/* app.json */
.tx-json { margin: 0 0 26px; border: 1px solid var(--borde); border-radius: 8px; overflow: hidden; background: var(--bg2); }
.tx-json figcaption { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #0b0f14; border-bottom: 1px solid var(--borde); font: 600 13px var(--mono); color: var(--txt2); }
.tx-json figcaption b { margin-left: 8px; font-weight: 600; }
.tx-json pre { margin: 0; padding: 14px 16px; overflow-x: auto; font: 400 14.5px/1.65 var(--mono); white-space: pre-wrap; word-break: break-word; }
.tx-k { color: #79c0ff; } .tx-s { color: #a5d6ff; } .tx-p { color: var(--txt2); }

/* índice */
.tx-toc { margin: 0 0 30px; padding: 14px 16px; border-left: 2px solid var(--verde); background: var(--bg2); font-family: var(--mono); }
.tx-toc p { margin: 0 0 8px; font-size: 14px; color: var(--txt2); }
.tx-toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 26px; }
.tx-toc li { break-inside: avoid; margin: 0 0 5px; }
.tx-toc a { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--txt); }
.tx-toc a span { color: var(--txt2); flex: none; }
.tx-toc a:hover { color: var(--azul); text-decoration: none; }

/* texto */
.tx-texto { font: 400 18px/1.78 var(--sans); color: var(--txt); }
.tx-texto > p, .tx-texto > ul, .tx-texto > ol, .tx-texto > blockquote { max-width: 72ch; }
.tx-texto p { margin: 0 0 1.15em; }
.tx-texto > p:first-child { font-size: 19.5px; color: var(--blanco); }
.tx-texto strong { color: var(--blanco); font-weight: 600; }
.tx-texto h2 { font: 700 23px/1.35 var(--mono); color: var(--blanco); margin: 2.2em 0 .7em; scroll-margin-top: 150px; }
.tx-texto h2::before { content: "## "; color: var(--verde); }
.tx-texto h3 { font: 600 18px/1.4 var(--mono); color: var(--blanco); margin: 1.6em 0 .5em; }
.tx-texto h3::before { content: "### "; color: var(--txt2); }
.tx-texto a { color: var(--azul); border-bottom: 1px dotted rgba(88, 166, 255, .5); }
.tx-texto a:hover { text-decoration: none; border-bottom-style: solid; }
.tx-texto ul { list-style: none; padding-left: 0; }
.tx-texto ul > li { position: relative; padding-left: 1.6em; margin: .4em 0; }
.tx-texto ul > li::before { content: "-"; position: absolute; left: .3em; color: var(--verde); font-family: var(--mono); }
.tx-texto ol:not([class]) { padding-left: 1.6em; } .tx-texto ol:not([class]) li::marker { color: var(--txt2); font-family: var(--mono); }
.tx-texto blockquote { margin: 1.4em 0; padding: 4px 0 4px 16px; border-left: 2px solid var(--morado); color: var(--txt); }
.tx-texto code { font-family: var(--mono); font-size: .9em; background: var(--bg3); padding: 1px 6px; border-radius: 4px; }
.tx-video { margin: 24px 0 30px; max-width: 520px; }
.tx-video figcaption, .tx-log figcaption, .tx-check figcaption, .tx-tabla figcaption { font: 500 14px var(--mono); color: var(--txt2); margin: 0 0 8px; }
.tx-video figcaption span, .tx-log figcaption span, .tx-check figcaption span, .tx-tabla figcaption span { color: var(--verde); font-weight: 700; }
.tx-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 1px solid var(--borde); border-radius: 6px; display: block; }

/* registro de errores */
.tx-log { margin: 30px 0; }
.tx-log table { width: 100%; border-collapse: collapse; background: #0b0f14; border: 1px solid var(--borde); border-radius: 6px; font: 400 14.5px/1.6 var(--mono); color: var(--txt); }
.tx-log td { padding: 3px 14px; border: 0; vertical-align: top; }
.tx-log tr:first-child td { padding-top: 12px; }
.tx-log tr.tx-log-fin td { padding-bottom: 12px; border-bottom: 1px dashed var(--borde); }
.tx-log tr:last-child td { border-bottom: 0; }
.tx-lv { display: inline-block; min-width: 86px; font: 700 12.5px/1.6 var(--mono); margin-right: 10px; }
.tx-lv-e { color: var(--rojo); } .tx-lv-c { color: var(--ambar); } .tx-lv-s { color: var(--verde); } .tx-lv-w { color: var(--ambar); }

/* checklist */
.tx-check { margin: 30px 0; }
.tx-check figcaption em { font-style: normal; color: var(--ambar); margin-left: 8px; }
.tx-check ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--borde); border-radius: 6px; background: var(--bg2); }
.tx-check li { margin: 0; border-top: 1px solid var(--borde); padding: 0 !important; }
.tx-check li::before { display: none; }
.tx-check li:first-child { border-top: 0; }
.tx-check label { display: flex; gap: 14px; padding: 12px 14px; cursor: pointer; }
.tx-check input { position: absolute; opacity: 0; }
.tx-box { flex: none; font: 700 15px/1.6 var(--mono); color: var(--txt2); }
.tx-box::before { content: "[ ]"; }
.tx-check input:checked + .tx-box { color: var(--verde); } .tx-check input:checked + .tx-box::before { content: "[x]"; }
.tx-check input:focus-visible + .tx-box { outline: 2px solid var(--azul); }
.tx-check-t { font: 400 16px/1.55 var(--sans); color: var(--txt); }
.tx-check-t b { display: block; font: 600 15px/1.5 var(--mono); color: var(--blanco); }
.tx-check input:checked ~ .tx-check-t { opacity: .55; } .tx-check input:checked ~ .tx-check-t b { text-decoration: line-through; }

/* tablas */
.tx-tabla { margin: 30px 0; }
.tx-tabla-s { overflow-x: auto; border: 1px solid var(--borde); border-radius: 6px; }
.tx-tabla table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--sans); }
.tx-tabla thead th { font: 600 12.5px var(--mono); text-transform: lowercase; color: var(--txt2); text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--borde); background: #0b0f14; }
.tx-tabla td, .tx-tabla tbody th { padding: 9px 12px; border-top: 1px dashed var(--borde); text-align: left; vertical-align: top; }
.tx-tabla tbody tr:first-child td, .tx-tabla tbody tr:first-child th { border-top: 0; }
.tx-tabla tbody th { font: 600 14.5px/1.5 var(--mono); color: #79c0ff; }
.tx-nota { font: 400 13px var(--mono); color: var(--txt2); margin: 6px 0 0; }

/* aviso */
.tx-warn { display: flex; gap: 4px; margin: 26px 0; padding: 12px 14px; border: 1px solid rgba(210, 153, 34, .45); background: rgba(210, 153, 34, .07); border-radius: 6px; }
.tx-warn p { margin: 0; font-size: 16.5px; }

/* FAQ a la vista y referencias */
.tx-faq dl { margin: 0; }
.tx-faq dt { font: 600 16px/1.5 var(--mono); color: var(--blanco); margin: 22px 0 6px; display: flex; gap: 10px; }
.tx-faq dt span { color: var(--cian); }
.tx-faq dd { margin: 0; display: flex; gap: 10px; color: var(--txt); max-width: 72ch; }
.tx-faq dd span { color: var(--verde); font-family: var(--mono); flex: none; }
.tx-refs ol { list-style: none; padding: 0; margin: 0; counter-reset: r; font-size: 15px; }
.tx-refs li { counter-increment: r; display: grid; grid-template-columns: 40px 1fr; column-gap: 4px; margin: 0 0 8px; }
.tx-refs li::before { content: "[" counter(r) "]"; font-family: var(--mono); color: var(--txt2); grid-row: span 2; }
.tx-refs small { grid-column: 2; font: 400 12.5px var(--mono); color: var(--txt2); }

/* listados tipo ls -l */
.tx-ls { list-style: none; margin: 0 0 10px; padding: 0; font-family: var(--mono); border-top: 1px solid var(--borde); }
.tx-ls li { border-bottom: 1px solid var(--borde); }
.tx-ls a { display: grid; grid-template-columns: 110px minmax(0, 1fr) 120px 96px; gap: 14px; align-items: baseline; padding: 10px 6px; color: var(--txt); text-decoration: none !important; }
.tx-ls a:hover { background: var(--bg2); }
.tx-ls a:hover .tx-ls-n { color: var(--azul); }
.tx-ls-t { font-size: 12.5px; color: var(--c); }
.tx-ls-n { font: 500 15.5px/1.4 var(--sans); color: var(--blanco); }
.tx-ls-c { font-size: 13px; color: var(--txt2); }
.tx-ls-f { font-size: 12.5px; color: #545d68; text-align: right; }
.tx-rel { margin-top: 50px; }

/* portada */
.tx-hero { padding: 26px 0 30px; border-bottom: 1px dashed var(--borde); margin-bottom: 30px; }
.tx-hero h1 { font: 700 clamp(30px, 4.4vw, 50px)/1.15 var(--mono); letter-spacing: -.025em; color: var(--blanco); margin: 0 0 18px; }
.tx-hero h1 em { font-style: normal; color: var(--rojo); }
.tx-hero .tx-lead { font-size: 19px; }
.tx-cmd-g { max-width: 760px; margin-top: 22px; padding: 6px 6px 6px 14px; }
.tx-cmd-g input { font-size: 16.5px; padding: 11px 0; }
.tx-stats { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 18px 0 0; font: 400 14px var(--mono); color: var(--txt2); }
.tx-stats b { color: var(--verde); font-weight: 700; }
.tx-bloque { margin: 0 0 40px; }
.tx-dirs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; font-family: var(--mono); }
.tx-dirs a { display: grid; grid-template-columns: 100px 34px 120px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 4px; color: var(--txt); text-decoration: none !important; border-bottom: 1px solid var(--bg3); font-size: 14px; }
.tx-dirs a:hover { background: var(--bg2); }
.tx-perm { color: #545d68; } .tx-num { color: var(--txt2); text-align: right; } .tx-dir { color: var(--c); font-weight: 700; } .tx-desc { color: var(--txt2); font-family: var(--sans); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-estado { list-style: none; margin: 0; padding: 12px 14px; background: #0b0f14; border: 1px solid var(--borde); border-radius: 6px; font-family: var(--mono); }
.tx-estado a { display: flex; gap: 12px; align-items: baseline; padding: 4px 0; color: var(--txt); font-size: 14.5px; text-decoration: none !important; }
.tx-estado a > span:nth-child(2) { flex: 1; font-family: var(--sans); font-size: 15.5px; }
.tx-ok { color: var(--verde); white-space: nowrap; } .tx-ver { color: var(--txt2); white-space: nowrap; font-size: 13px; }
.tx-estado a:hover > span:nth-child(2) { color: var(--azul); }
.tx-top { width: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--sans); }
.tx-top th { font: 600 12.5px var(--mono); color: var(--txt2); text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--borde); }
.tx-top td { padding: 8px 10px; border-bottom: 1px solid var(--bg3); vertical-align: top; }
.tx-top td:first-child { font-family: var(--mono); color: var(--txt2); width: 40px; }
.tx-top td:nth-child(3), .tx-top td:nth-child(4) { font: 400 13px var(--mono); white-space: nowrap; }
.tx-top td:nth-child(4) { color: var(--txt2); }
.tx-top a { color: var(--blanco); } .tx-top a:hover { color: var(--azul); }
.tx-md { padding: 16px 18px; background: var(--bg2); border: 1px solid var(--borde); border-radius: 6px; font: 400 15.5px/1.6 var(--mono); color: var(--txt); }
.tx-md p { margin: 0 0 8px; } .tx-md p:first-child b { color: var(--verde); } .tx-md b { color: var(--blanco); font-weight: 600; }
.tx-carpetas-b { padding: 0; flex-wrap: wrap; font-family: var(--mono); }

/* páginas */
.tx-pagina h2::before { content: "## "; color: var(--verde); }
.tx-pagina table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1.4em; border: 1px solid var(--borde); }
.tx-pagina th { background: #0b0f14; color: var(--txt2); font: 600 12.5px var(--mono); text-align: left; padding: 9px 12px; }
.tx-pagina td { padding: 9px 12px; border-top: 1px dashed var(--borde); vertical-align: top; }
.tx-pagina input:not([type=submit]), .tx-pagina textarea { width: 100%; border: 1px solid var(--borde); background: var(--bg); color: var(--blanco); border-radius: 6px; padding: 10px 12px; font: 400 15px var(--mono); }
.tx-pagina input[type=submit] { background: var(--verde); color: #04130a; border: 0; border-radius: 6px; padding: 11px 22px; font: 700 15px var(--mono); cursor: pointer; }
.tx-pagina a[data-ca-cookies] { font-family: var(--mono); color: var(--verde); }
.tx .nav-links { display: flex; gap: 8px; margin-top: 20px; font-family: var(--mono); font-size: 14px; } .tx .page-numbers { padding: 6px 10px; border: 1px solid var(--borde); border-radius: 4px; color: var(--txt); }

/* pie */
.tx-pie { margin-top: 70px; background: #0b0f14; border-top: 1px solid var(--borde); font-family: var(--mono); }
.tx-pie-in { max-width: 1100px; margin: 0 auto; padding: 30px 20px 34px; font-size: 14px; color: var(--txt2); }
.tx-pie-in > p { margin: 0 0 8px; max-width: 80ch; } .tx-pie-l { color: var(--txt) !important; margin-top: 18px !important; }
.tx-pie nav { display: flex; flex-wrap: wrap; gap: 4px 18px; } .tx-pie nav a { color: var(--azul); }
.tx-pie-c { margin-top: 22px !important; color: #545d68; }

@media (max-width: 800px) {
	.tx-ventana { padding: 7px 12px; } .tx-ruta { display: none; }
	.tx-cab { position: relative; } .tx-cab-in { padding: 8px 12px 0; }
	.tx-cmd label { display: none; }
	.tx-doc { padding: 24px 16px 10px; }
	.tx-toc ol { columns: 1; }
	.tx-texto { font-size: 17.5px; } .tx-texto h2 { font-size: 20px; }
	.tx-ls a { grid-template-columns: 1fr; gap: 2px; } .tx-ls-f { text-align: left; }
	.tx-dirs { grid-template-columns: 1fr; } .tx-dirs a { grid-template-columns: 34px 120px minmax(0, 1fr); } .tx-perm { display: none; }
	.tx-top td:nth-child(4), .tx-top th:nth-child(4) { display: none; }
	.tx-lv { min-width: 0; display: block; }
}
@media (prefers-reduced-motion: reduce) { .tx-cursor { animation: none; } }
