.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 36px; }
.docs-lado { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.docs-lado nav { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.docs-grupo { margin: 18px 10px 6px; font-size: 12.5px; font-weight: 600; color: var(--tenue); }
.docs-grupo:first-child { margin-top: 0; }
.docs-lado nav a { padding: 7px 10px; border-radius: 8px; color: var(--suave); font-size: 14px; text-decoration: none; transition: color .15s, background .15s; }
.docs-lado nav a:hover { color: var(--tinta); background: rgba(255, 255, 255, .05); }
.docs-lado nav a.activo { color: var(--tinta); background: rgba(var(--brillo), .14); box-shadow: inset 2px 0 0 var(--acento); font-weight: 550; }

.docs-buscar { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 40px; border: 1px solid var(--hilo2); border-radius: 10px; background: var(--tarjeta); transition: border-color .15s, box-shadow .15s; }
.docs-buscar:focus-within { border-color: rgba(var(--brillo), .7); box-shadow: 0 0 0 3px rgba(var(--brillo), .15); }
.docs-buscar > svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--tenue); stroke-width: 1.8; stroke-linecap: round; }
.docs-buscar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 14px; }
.docs-buscar kbd { padding: 1px 6px; border: 1px solid var(--hilo2); border-radius: 5px; font-family: var(--mono); font-size: 11px; color: var(--tenue); }
.docs-resultados { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; padding: 6px; max-height: 360px; overflow-y: auto; border: 1px solid var(--hilo2); border-radius: 12px; background: var(--fondo2); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.docs-resultados a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.docs-resultados a:hover, .docs-resultados a.foco { background: rgba(var(--brillo), .14); }
.docs-resultados b { display: block; font-size: 14px; font-weight: 550; }
.docs-resultados small { display: block; font-size: 12px; color: var(--tenue); margin-top: 1px; }
.docs-sin { margin: 8px 10px; font-size: 13.5px; color: var(--suave); }

.docs-contenido { min-width: 0; max-width: 820px; }
.docs-abrir-menu { display: none; }
.docs-cab { margin-bottom: 30px; }
.docs-migas { font-size: 13.5px; color: var(--acento2); font-weight: 550; }
.docs-cab h1 { margin: 8px 0 12px; font-family: var(--titulo); font-size: clamp(32px, 4.4vw, 48px); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; }
.docs-cab p { margin: 0; color: var(--suave); font-size: 17px; line-height: 1.65; }
.docs-contenido h2 { margin: 44px 0 14px; font-family: var(--titulo); font-size: 26px; font-weight: 620; letter-spacing: -.02em; }
.docs-contenido h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.docs-contenido p { line-height: 1.7; }
.docs-contenido code { padding: 1px 6px; border-radius: 6px; background: rgba(var(--brillo), .12); color: var(--acento2); font-size: .88em; }
.docs-contenido a.doc-cmd { text-decoration: none; }
.docs-contenido a.doc-cmd code { transition: background .15s; }
.docs-contenido a.doc-cmd:hover code { background: rgba(var(--brillo), .24); }
.docs-nota { color: var(--tenue); font-size: 14px; }

.docs-pasos { counter-reset: paso; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.docs-pasos li { position: relative; padding: 18px 20px 18px 62px; border: 1px solid var(--hilo); border-radius: var(--radio); background: var(--tarjeta); line-height: 1.65; counter-increment: paso; }
.docs-pasos li::before { content: counter(paso); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--acento); color: #fff; font-weight: 650; font-size: 14px; }
.docs-tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.docs-tarjeta { display: flex; flex-direction: column; gap: 6px; padding: 20px; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.docs-tarjeta:hover { border-color: rgba(var(--brillo), .5); transform: translateY(-2px); background: var(--tarjeta-hover); }
.docs-tarjeta b { font-family: var(--titulo); font-size: 17px; font-weight: 620; }
.docs-tarjeta span { color: var(--suave); font-size: 14px; line-height: 1.5; }
.docs-tarjeta small { margin-top: auto; padding-top: 8px; color: var(--acento2); font-size: 13px; font-weight: 550; }

.docs-indice { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 14px 16px; margin-bottom: 8px; border: 1px solid var(--hilo); border-radius: var(--radio); background: var(--tarjeta); }
.docs-indice span { width: 100%; font-size: 12.5px; font-weight: 600; color: var(--tenue); }
.docs-indice a { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--hilo2); color: var(--suave); font-size: 13px; text-decoration: none; }
.docs-indice a:hover { color: var(--tinta); border-color: rgba(var(--brillo), .5); }
.docs-sistema { padding: 22px 0; border-bottom: 1px solid var(--hilo); scroll-margin-top: 90px; }
.docs-sistema h2 { position: relative; margin: 0 0 8px; font-size: 22px; }
.docs-ancla { position: absolute; left: -22px; color: var(--tenue); text-decoration: none; opacity: 0; transition: opacity .15s; }
.docs-sistema:hover .docs-ancla { opacity: 1; }
.docs-sistema > p { margin: 0 0 12px; color: var(--suave); }
.docs-como { padding: 12px 16px; border-left: 3px solid var(--acento); border-radius: 0 10px 10px 0; background: rgba(var(--brillo), .07); }
.docs-como b { font-size: 13px; color: var(--acento2); }
.docs-como p { margin: 4px 0 0; }
.docs-cmds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.docs-cmds a { text-decoration: none; }
.docs-etq-plan { margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(var(--oro-brillo), .55); color: var(--oro2); font-size: 11.5px; font-weight: 600; vertical-align: 2px; }

.docs-filtro { position: sticky; top: 70px; z-index: 5; padding: 10px 0 12px; background: transparent; }
.docs-solo-movil { display: none; }
.docs-filtro input { width: 100%; height: 42px; padding: 0 14px; border: 1px solid var(--hilo2); border-radius: 10px; background: var(--tarjeta); outline: none; font-size: 15px; }
.docs-filtro input:focus { border-color: rgba(var(--brillo), .7); box-shadow: 0 0 0 3px rgba(var(--brillo), .15); }
.docs-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.docs-cats a { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--hilo2); color: var(--suave); font-size: 13px; text-decoration: none; }
.docs-cats a small { color: var(--tenue); }
.docs-cats a:hover { color: var(--tinta); border-color: rgba(var(--brillo), .5); }
.docs-cat { scroll-margin-top: 150px; }
.docs-cmd { border: 1px solid var(--hilo); border-radius: 12px; background: var(--tarjeta); margin-bottom: 8px; scroll-margin-top: 150px; transition: border-color .2s, box-shadow .4s; }
.docs-cmd[open] { border-color: var(--hilo2); }
.docs-cmd.resaltado { border-color: rgba(var(--brillo), .8); box-shadow: 0 0 0 3px rgba(var(--brillo), .2); }
.docs-cmd summary { display: flex; align-items: baseline; gap: 14px; padding: 13px 16px; cursor: pointer; list-style: none; }
.docs-cmd summary::-webkit-details-marker { display: none; }
.docs-cmd summary code { flex: none; }
.docs-cmd summary span { min-width: 0; color: var(--suave); font-size: 14.5px; line-height: 1.5; }
.docs-cmd summary::after { content: ""; margin-left: auto; flex: none; align-self: center; width: 8px; height: 8px; border-right: 1.5px solid var(--tenue); border-bottom: 1.5px solid var(--tenue); transform: rotate(45deg); transition: transform .2s; }
.docs-cmd[open] summary::after { transform: rotate(-135deg); }
.docs-cmd-cuerpo { padding: 0 16px 16px; animation: abrir-cmd .3s ease; }
@keyframes abrir-cmd { from { opacity: 0; transform: translateY(-4px); } }
.docs-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 12px; }
.docs-datos div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--hilo); }
.docs-datos dt { font-size: 12px; color: var(--tenue); font-weight: 600; }
.docs-datos dd { margin: 3px 0 0; font-size: 14px; }
.docs-tabla { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 14px; }
.docs-tabla th { text-align: left; padding: 8px 10px; font-size: 12.5px; color: var(--tenue); font-weight: 600; border-bottom: 1px solid var(--hilo2); }
.docs-tabla td { padding: 9px 10px; border-bottom: 1px solid var(--hilo); vertical-align: top; color: var(--suave); line-height: 1.5; }
.docs-tabla td:first-child { white-space: nowrap; color: var(--tinta); }
.docs-oblig { font-style: normal; font-size: 11.5px; color: var(--aviso); }
.docs-vacio { padding: 30px 0; text-align: center; color: var(--suave); }

.docs-planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.docs-plan { display: flex; flex-direction: column; gap: 4px; padding: 22px; }
.docs-plan b { font-family: var(--titulo); font-size: 22px; font-weight: 650; }
.docs-precio { font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
.docs-precio small, .docs-plan > small { font-size: 13px; font-weight: 450; color: var(--tenue); }
.docs-plan ul { margin: 14px 0 0; padding-left: 18px; color: var(--suave); font-size: 14px; line-height: 1.75; }

.docs-vecinas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 54px; }
.docs-vecinas a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-decoration: none; transition: border-color .2s; }
.docs-vecinas a:hover { border-color: rgba(var(--brillo), .55); }
.docs-vecinas a.siguiente { text-align: right; grid-column: 2; }
.docs-vecinas small { color: var(--tenue); font-size: 12.5px; }
.docs-vecinas b { font-weight: 550; }
.docs-pie { margin-top: 30px; color: var(--tenue); font-size: 13.5px; }
.docs-pie a { color: var(--acento2); }

html[data-tema="claro"] .docs-datos div { background: #fff; }
html[data-tema="claro"] .docs-etq-plan { color: #9a6200; border-color: rgba(178, 107, 0, .45); }
html[data-tema="claro"] .docs-lado nav a:hover { background: rgba(22, 18, 31, .05); }
html[data-tema="claro"] .docs-resultados { box-shadow: 0 20px 50px rgba(22, 18, 31, .2); }

@media (max-width: 980px) {
    .docs { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 20px; }
    .docs-lado { position: static; max-height: none; display: none; padding: 0 0 20px; margin-bottom: 10px; border-bottom: 1px solid var(--hilo); }
    .docs-lado.abierto { display: block; }
    .docs-abrir-menu { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 14px; border: 1px solid var(--hilo2); border-radius: 10px; color: var(--suave); font-size: 14px; }
    .docs-abrir-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
    .docs-filtro { top: 64px; }
    .docs-cmd summary { flex-direction: column; gap: 4px; }
    .docs-cmd summary::after { position: absolute; right: 16px; }
    .docs-cmd { position: relative; }
    .docs-vecinas { grid-template-columns: minmax(0, 1fr); }
    .docs-vecinas a.siguiente { grid-column: 1; }
}

.docs-apoyo { display: flex; flex-direction: column; gap: 3px; margin: 22px 4px 4px; padding: 14px; border: 1px solid rgba(var(--peligro-brillo), .3); border-radius: 12px; background: rgba(var(--peligro-brillo), .06); text-decoration: none; transition: border-color .15s; }
.docs-apoyo:hover { border-color: var(--peligro); }
.docs-apoyo b { font-size: 14px; }
.docs-apoyo > span { color: var(--suave); font-size: 13px; }

@media (max-width: 720px) {
    .docs-filtro { top: 58px; padding: 8px 0 10px; }
    .docs-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 8px; padding-bottom: 2px; }
    .docs-cats::-webkit-scrollbar { display: none; }
    .docs-cats a { flex: none; }
    .docs-tabla, .docs-tabla tbody { display: block; width: 100%; }
    .docs-tabla thead { display: none; }
    .docs-tabla tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 11px 2px; border-bottom: 1px solid var(--hilo); }
    .docs-tabla td { display: block; padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
    .docs-tabla td:first-child { white-space: normal; }
    .docs-tabla-op td:nth-child(2) { color: var(--tenue); font-size: 12.5px; }
    .docs-tabla-op td:nth-child(3), .docs-tabla-sub td:nth-child(2), .docs-tabla-sub td:nth-child(3) { flex-basis: 100%; }
    .docs-tabla-sub td:nth-child(3) { color: var(--tenue); font-size: 13px; }
    .docs-solo-movil { display: inline; }
    .docs-tabla td.docs-vacia { display: none; }
}

.guias { padding-top: 36px; }
.guias .docs-contenido { max-width: 860px; }
.guias-barra { display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.guias-barra:empty { display: none; }
.guias-barra .volver-atras, .guias-barra .docs-abrir-menu { margin: 0 0 12px; }
.guias .guia-seccion, .guias h2[id] { scroll-margin-top: 80px; }
@media (min-width: 981px) { .guias .docs-abrir-menu { display: none; } }
.guias a.docs-migas { text-decoration: none; }
.guia-seccion h2 { margin-top: 40px; }
.guia-lista { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.guia-lista li { position: relative; padding: 14px 18px 14px 40px; border: 1px solid var(--hilo); border-radius: var(--radio); background: var(--tarjeta); line-height: 1.65; color: var(--suave); }
.guia-lista li::before { content: ""; position: absolute; left: 18px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); }
.guia-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 44px 0 10px; padding: 22px 24px; }
.guia-cta > div:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.guia-cta b { font-family: var(--titulo); font-size: 20px; font-weight: 640; }
.guia-cta span { color: var(--suave); }
.guia-cta-botones { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .guia-cta-botones, .guia-cta-botones .enlace { width: 100%; justify-content: center; } }
.guias .faq { max-width: none; }

.docs-lado-cab, .docs-velo { display: none; }
@media (max-width: 980px) {
    .docs-lado, .docs-lado.abierto { position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; display: block; width: min(320px, calc(100vw - 48px)); max-height: none; margin: 0; padding: 16px 16px 24px; overflow-y: auto; overscroll-behavior: contain; background: var(--fondo2); border: 0; border-right: 1px solid var(--hilo2); box-shadow: 24px 0 60px -20px rgba(0, 0, 0, .6); transform: translateX(-105%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s; }
    .docs-lado.abierto { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
    .docs-lado-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
    .docs-lado-cab b { font-family: var(--titulo); font-size: 17px; color: var(--tinta); }
    .docs-lado-cerrar { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--hilo2); border-radius: 10px; background: transparent; color: var(--suave); cursor: pointer; }
    .docs-lado-cerrar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
    .docs-velo { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(5, 3, 10, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
    html.docs-lado-abierto .docs-velo { opacity: 1; pointer-events: auto; }
    html.docs-lado-abierto { overflow: hidden; }
    .docs-abrir-menu { cursor: pointer; background: transparent; font: inherit; }
}
html[data-tema="claro"] .docs-velo { background: rgba(22, 18, 31, .35); }
.cmds { max-width: 1060px; margin: 0 auto; padding-top: 8px; padding-bottom: 20px; }
.cmds-cab { max-width: 760px; margin: 0 0 26px; }
.cmds-cab h1 { margin: 6px 0 10px; font-family: var(--titulo); font-size: clamp(30px, 5vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.cmds-cab p { color: var(--suave); line-height: 1.65; }
.cmds-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; margin: 0 0 30px; }
.cmds-cat { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 18px; color: var(--tinta); text-decoration: none; transition: border-color .15s, transform .15s; }
.cmds-cat:hover, .cmds-cat:focus-visible { border-color: var(--acento); transform: translateY(-2px); }
.cmds-cat b { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-family: var(--titulo); font-size: 17px; }
.cmds-cat b small { color: var(--tenue); font-family: var(--sans); font-size: 13px; font-weight: 500; }
.cmds-cat span { color: var(--suave); font-size: 13.5px; line-height: 1.5; }
.cmds .docs-cat > p { margin: -4px 0 14px; color: var(--suave); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1360px) { .cmds .docs-filtro { padding-right: 0; } }
@media (max-width: 700px) { .docs-ancla { display: none; } }
.cmds-fila-filtro { display: flex; gap: 8px; align-items: center; }
.cmds-fila-filtro input { flex: 1; min-width: 0; }
.cmds-lado nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cmds-lado nav a small { color: var(--tenue); font-size: 12.5px; }
@media (min-width: 981px) { .cmds-lado, .cmds .docs-velo, .cmds .docs-abrir-menu { display: none !important; } }
@media (max-width: 980px) {
    .cmds .docs-abrir-menu { flex: none; height: 42px; margin: 0; }
    .cmds .docs-cats { display: none; }
}
.docs-filtro { transition: padding .3s ease; }
.docs-filtro.pegado { top: 14px; padding: 0 64px 0 0; background: transparent; box-shadow: none; }
.docs-filtro.pegado input, .docs-filtro.pegado .docs-abrir-menu { background: var(--fondo2); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .55); }
html[data-tema="claro"] .docs-filtro.pegado input, html[data-tema="claro"] .docs-filtro.pegado .docs-abrir-menu { background: #fff; box-shadow: 0 8px 24px -12px rgba(22, 18, 31, .3); }
@media (min-width: 1361px) { .docs-filtro.pegado { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { .docs-filtro { transition: none; } }
