/* ==========================================================================
   mi.netsis.es, área de cliente (maqueta)
   Tokens de netsis.es (netsis/assets/css/netsis.css) en modo herramienta.
   1. Fuentes  2. Tokens  3. Base  4. Franja de maqueta  5. Cabecera y menú
   6. Contenido  7. Componentes  8. Pantallas  9. Movimiento
   ========================================================================== */

/* 1. Fuentes (OFL, copiadas del tema de netsis.es) ------------------------- */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url(/fonts/instrument-sans-normal-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url(/fonts/instrument-sans-normal-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url(/fonts/unbounded-normal-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url(/fonts/unbounded-normal-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 2. Tokens ---------------------------------------------------------------- */
:root {
	/* Primitivos: netsis.css */
	--piedra-0: #fbfbfa;
	--piedra-1: #f2f2f0;
	--piedra-2: #e6e6e2;
	--piedra-3: #cfcfca;
	--gris-marca: #77777a;
	--gris-texto: #55565a;
	--lousa: #25282d;
	--lousa-hover: #3b4048;
	--sinal: #e31319;
	--sinal-texto: #c4111a;
	--musgo: #2f6b4f;
	--blanco: #fff;

	/* Semánticos */
	--fondo: var(--piedra-1);
	--superficie: var(--piedra-0);
	--superficie-suave: var(--piedra-2);
	--filete: var(--piedra-3);
	--borde-campo: var(--gris-marca);
	--texto: var(--lousa);
	--texto-suave: var(--gris-texto);
	--accion: var(--lousa);
	--accion-hover: var(--lousa-hover);
	--sobre-accion: var(--piedra-0);
	--bien: var(--musgo);
	--urgente: var(--sinal-texto);
	--foco: var(--sinal);
	--sombra-flotante: 0 18px 48px -18px rgba(37, 40, 45, 0.35);
	--velo: rgba(37, 40, 45, 0.45);

	--f-titular: "Unbounded", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
	--f-texto: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--t-cuerpo: 1rem;
	--t-pequeno: 0.875rem;
	--t-mini: 0.8125rem;
	--t-medio: 0.9375rem;
	--t-entradilla: 1.0625rem;
	--t-direccion: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
	--t-precio: 2rem;
	--t-telefono: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
	--t-precio-unidad: 1rem;
	--t-h1: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem);
	--t-h2: 1.25rem;
	--t-h3: 1.0625rem;
	--t-dato: 1.5rem;

	--radio: 10px;
	--radio-grande: 16px;
	--radio-pequeno: 6px;
	--radio-foco: 4px;
	--radio-interior: 8px;
	--curva: cubic-bezier(0.45, 0, 0.55, 1);
	--cab-alto: 64px;
	--franja-alto: 0px;
	--lateral: clamp(16px, 4vw, 40px);
	--menu-ancho: 252px;
	--contenido: 980px;
	--hueco-1: 8px;
	--hueco-2: 16px;
	--hueco-3: 24px;
	--hueco-4: 40px;
	--hueco-5: 56px;
	--rapido: 150ms;
	--medio: 180ms;
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--cab-alto) + var(--hueco-2)); }
body {
	margin: 0; min-height: 100svh;
	background: var(--fondo); color: var(--texto);
	font-family: var(--f-texto); font-size: var(--t-cuerpo); line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0 0 0.4em; color: var(--texto); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1, h2 { font-family: var(--f-titular); }
h1 { font-size: var(--t-h1); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: var(--t-h2); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: var(--t-h3); font-weight: 650; line-height: 1.3; }
p { margin: 0 0 0.8em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: var(--radio-foco); }
code, .mono { font-family: var(--f-mono); font-size: 0.9em; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.oculto { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }
.saltar { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: var(--radio); background: var(--accion); color: var(--sobre-accion); font-weight: 600; }
.saltar:focus { top: 12px; }
.suave { color: var(--texto-suave); }
.pequeno { font-size: var(--t-pequeno); }

/* 4. Franja de maqueta ----------------------------------------------------- */
.franja {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
	min-height: var(--franja-alto); padding: 6px var(--lateral);
	background: var(--lousa); color: var(--piedra-2); font-size: var(--t-mini);
}
.franja strong { color: var(--piedra-0); font-weight: 600; }
.franja a { color: var(--piedra-0); display: inline-flex; align-items: center; min-height: 24px; }
.franja__estados { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.franja__estados a[aria-current] { text-decoration-thickness: 2px; font-weight: 600; }

/* 5. Cabecera y menú ------------------------------------------------------- */
.cab {
	position: sticky; top: 0; z-index: 40;
	background: var(--fondo); border-bottom: 1px solid var(--filete);
}
.cab__fila { display: flex; align-items: center; gap: var(--hueco-2); min-height: var(--cab-alto); padding-inline: var(--lateral); }
.marca { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; color: var(--texto); text-decoration: none; }
.marca .logo { width: 104px; height: auto; display: block; }
.marca__area { padding-left: 12px; border-left: 1px solid var(--filete); color: var(--texto-suave); font-size: var(--t-pequeno); font-weight: 550; white-space: nowrap; }
.cab__tel { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: var(--t-pequeno); text-decoration: none; white-space: nowrap; }
.cab__tel:hover span { text-decoration: underline; }
.cab__abrir {
	display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
	border: 1.5px solid var(--accion); border-radius: var(--radio); background: none; color: var(--texto);
	font: 600 0.95rem var(--f-texto); cursor: pointer;
}
.cab__abrir .i-cerrar { display: none; }
.cab__abrir[aria-expanded="true"] .i-abrir { display: none; }
.cab__abrir[aria-expanded="true"] .i-cerrar { display: inline; }

.marco { display: grid; grid-template-columns: var(--menu-ancho) minmax(0, 1fr); align-items: start; }
.menu {
	position: sticky; top: var(--cab-alto); align-self: start;
	height: calc(100svh - var(--cab-alto)); overflow-y: auto;
	padding: var(--hueco-3) var(--hueco-2) var(--hueco-3) var(--lateral);
	display: flex; flex-direction: column; gap: var(--hueco-3);
}
.menu__proyecto { padding: 0 12px; }
.menu__proyecto-nombre { display: block; font-weight: 650; line-height: 1.3; }
.menu__lista { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.menu__lista a {
	display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px;
	border-radius: var(--radio); color: var(--texto); font-weight: 550; text-decoration: none;
}
.menu__lista a .i { color: var(--gris-marca); }
.menu__lista a:hover { background: var(--superficie-suave); }
.menu__lista a[aria-current="page"] { background: var(--superficie); box-shadow: inset 0 0 0 1px var(--filete); font-weight: 650; }
.menu__lista a[aria-current="page"] .i { color: var(--texto); }
.menu__pie { margin-top: auto; padding: 0 12px; display: flex; flex-direction: column; gap: 6px; font-size: var(--t-pequeno); }
.menu__pie a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--texto-suave); text-decoration: none; }
.menu__pie a:hover { color: var(--texto); text-decoration: underline; }

@media (max-width: 999px) {
	.cab__abrir { display: inline-flex; }
	.cab__tel span { display: none; }
	.cab__tel { min-width: 44px; min-height: 44px; justify-content: center; }
	.marco { display: block; }
	.menu {
		display: none; position: fixed; z-index: 39; inset: calc(var(--cab-alto) + var(--arriba, 0px)) 0 auto 0; height: calc(100dvh - var(--cab-alto) - var(--arriba, 0px));
		background: var(--fondo); padding: var(--hueco-2) var(--lateral) var(--hueco-4);
		border-top: 1px solid var(--filete);
	}
	.menu.is-abierto { display: flex; }
	body.menu-abierto { overflow: hidden; }
}
@media (max-width: 480px) {
	.marca__area { display: none; }
	.cab__abrir span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.cab__abrir { padding: 0 12px; }
}

/* 6. Contenido ------------------------------------------------------------- */
.principal { min-width: 0; padding: var(--hueco-4) var(--lateral) var(--hueco-5); }
.principal:focus { outline: none; }
.formulario-corto { max-width: 680px; }
.envoltura { max-width: var(--contenido); }
.apertura { margin-bottom: var(--hueco-4); }
.apertura__fila { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--hueco-2) var(--hueco-3); }
.apertura__texto { min-width: 0; flex: 1 1 420px; }
.entradilla { max-width: 62ch; margin-top: 6px; color: var(--texto-suave); font-size: var(--t-entradilla); }
.bloque { margin-top: var(--hueco-4); }
.bloque > h2 { margin-bottom: 12px; }
.bloque__cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.bloque__cab h2 { margin: 0; }
.rejilla-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hueco-2); }
@media (max-width: 719px) { .rejilla-2 { grid-template-columns: minmax(0, 1fr); } }

/* 7. Componentes ----------------------------------------------------------- */
.ficha { padding: var(--hueco-3); border: 1px solid var(--filete); border-radius: var(--radio-grande); background: var(--superficie); min-width: 0; }
.ficha > h2, .ficha > h3 { margin-bottom: 8px; }
.ficha--plana { background: none; }
.ficha__pie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: var(--hueco-2); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 48px; padding: 0.65em 1.25em;
	border: 1.5px solid transparent; border-radius: var(--radio);
	font: 600 1rem/1.2 var(--f-texto); text-decoration: none; cursor: pointer;
	transition: background-color var(--rapido), color var(--rapido), border-color var(--rapido);
}
.btn--principal { background: var(--accion); color: var(--sobre-accion); }
.btn--principal:hover { background: var(--accion-hover); }
.btn--secundario { border-color: var(--accion); color: var(--texto); background: transparent; }
.btn--secundario:hover { background: var(--accion); color: var(--sobre-accion); }
.btn--pequeno { min-height: 44px; padding: 0.45em 0.9em; font-size: var(--t-medio); }
.btn--texto { min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--texto); text-decoration: underline; text-underline-offset: 0.18em; font-weight: 600; }
.btn--texto:hover { text-decoration-thickness: 2px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn--ancho { width: 100%; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.estado { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.estado::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.estado--bien { color: var(--bien); }
.estado--curso { color: var(--texto); }
.estado--curso::before { background: var(--texto); animation: pulso 1.4s var(--curva) infinite; }
.estado--fallo { color: var(--urgente); }
.estado--fallo::before { display: none; }
.estado--neutro { color: var(--texto-suave); }
.estado--neutro::before { background: var(--gris-marca); }
.estado .i { width: 1.1em; height: 1.1em; }

.datos { margin: 0; }
.datos > div { display: grid; grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--superficie-suave); line-height: 1.4; }
.datos > div:first-child { border-top: 0; padding-top: 0; }
.datos dt { color: var(--texto-suave); }
.datos--dns { max-width: 640px; }
.datos--dns > div { grid-template-columns: 72px minmax(0, 1fr); align-items: center; }
.datos dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

.aviso {
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start;
	padding: var(--hueco-2) var(--hueco-3); border-radius: var(--radio-grande);
	background: var(--superficie); border: 1px solid var(--filete);
}
.aviso > .i { width: 24px; height: 24px; margin-top: 1px; grid-row: span 2; }
.aviso__titulo { margin: 0; font-weight: 650; }
.aviso__texto { margin: 0; color: var(--texto-suave); }
.aviso__acciones { grid-column: 2; margin-top: 8px; }
.aviso--fallo > .i { color: var(--urgente); }
.aviso--bien > .i { color: var(--bien); }
.aviso--info > .i { color: var(--gris-marca); }
.aviso--oscuro { background: var(--lousa); border-color: var(--lousa); color: var(--piedra-0); }
.aviso--oscuro .aviso__titulo { color: var(--piedra-0); }
.aviso--oscuro .aviso__texto { color: var(--piedra-2); }
.aviso--oscuro .btn--principal { background: var(--piedra-0); color: var(--lousa); }
.aviso--oscuro .btn--principal:hover { background: var(--blanco); }

.hueco {
	display: inline-block; padding: 1px 8px; border-radius: var(--radio-pequeno);
	background: repeating-linear-gradient(-45deg, var(--piedra-2) 0 6px, var(--piedra-0) 6px 12px);
	border: 1px dashed var(--gris-marca); color: var(--texto); font-size: var(--t-mini); font-weight: 600;
}
.hueco--bloque { display: block; padding: var(--hueco-2); font-size: var(--t-pequeno); font-weight: 500; }
.ejemplo { font-size: var(--t-mini); color: var(--texto-suave); font-weight: 500; }

/* Formularios */
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--hueco-3); }
.campo label, .campo legend, .etiqueta { font-weight: 650; }
.campo label.opcion { font-weight: 400; }
.campo__ayuda { margin: 0; color: var(--texto-suave); font-size: var(--t-pequeno); }
.campo input[type="text"], .campo input[type="email"], .campo input[type="password"], .campo input[type="tel"], .campo textarea, .campo select {
	width: 100%; min-height: 48px; padding: 10px 14px;
	border: 1.5px solid var(--borde-campo); border-radius: var(--radio);
	background: var(--superficie); color: var(--texto); font: 1rem/1.4 var(--f-texto);
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input[readonly] { background: var(--superficie-suave); }
.campo [aria-invalid="true"] { border-color: var(--urgente); }
.campo input:focus-visible, .campo textarea:focus-visible, .campo select:focus-visible, .opcion input:focus-visible { outline-color: var(--accion); }
.campo__error { display: none; margin: 0; color: var(--urgente); font-size: var(--t-pequeno); font-weight: 600; }
.campo__error.is-visible { display: flex; gap: 6px; align-items: flex-start; }
fieldset.campo { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
fieldset.campo legend { padding: 0; margin-bottom: 6px; }
.opciones { display: grid; gap: 8px; }
.opcion {
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: start;
	padding: 14px 16px; border: 1.5px solid var(--filete); border-radius: var(--radio); background: var(--superficie); cursor: pointer;
}
.opcion:hover { border-color: var(--borde-campo); }
.opcion:has(input:checked) { border-color: var(--accion); box-shadow: inset 0 0 0 1px var(--accion); }
.opcion input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lousa); grid-row: span 2; }
.opcion__nombre { font-weight: 650; overflow-wrap: anywhere; }
.opcion__resumen { grid-column: 2; color: var(--texto-suave); font-size: var(--t-pequeno); }

/* Copiar */
.copiable { display: flex; align-items: stretch; gap: 0; border: 1.5px solid var(--borde-campo); border-radius: var(--radio); background: var(--superficie); min-width: 0; }
.copiable code { flex: 1 1 auto; min-width: 0; padding: 10px 12px; font-size: var(--t-medio); align-self: center; }
.copiable .btn { border-radius: 0 var(--radio-interior) var(--radio-interior) 0; border-width: 0 0 0 1.5px; border-color: var(--borde-campo); min-height: 44px; }

/* Tablas */
.tabla-caja { overflow-x: auto; border: 1px solid var(--filete); border-radius: var(--radio-grande); background: var(--superficie); }
.tabla { width: 100%; border-collapse: collapse; font-size: var(--t-medio); }
.tabla th, .tabla td { padding: 14px 16px; text-align: left; vertical-align: middle; }
.tabla thead th { font-size: var(--t-pequeno); font-weight: 600; color: var(--texto-suave); border-bottom: 1px solid var(--filete); white-space: nowrap; }
.tabla tbody tr + tr td, .tabla tbody tr + tr th { border-top: 1px solid var(--superficie-suave); }
.tabla .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabla__accion { text-align: right; white-space: nowrap; }

/* Diálogo */
dialog.dialogo {
	width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radio-grande);
	background: var(--superficie); color: var(--texto); box-shadow: var(--sombra-flotante);
}
dialog.dialogo::backdrop { background: var(--velo); }
.dialogo__cuerpo { padding: var(--hueco-3); }
.dialogo__cuerpo h2 { margin-bottom: 12px; }
.dialogo__pie { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding: 0 var(--hueco-3) var(--hueco-3); }
@media (max-width: 479px) { .dialogo__pie { flex-direction: column-reverse; } .dialogo__pie .btn { width: 100%; } }

/* Aviso temporal */
.temporal {
	position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%);
	display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
	padding: 12px 18px; border-radius: var(--radio); background: var(--lousa); color: var(--piedra-0);
	box-shadow: var(--sombra-flotante); font-weight: 550;
}
.temporal[hidden] { display: none; }
.temporal .i { color: var(--piedra-0); }

/* Pasos del asistente */
.pasos { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 var(--hueco-3); padding: 0; list-style: none; font-size: var(--t-pequeno); color: var(--texto-suave); }
.pasos li { display: inline-flex; align-items: center; gap: 8px; }
.pasos__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gris-marca); font-weight: 650; font-size: var(--t-mini); }
.pasos [aria-current="step"] { color: var(--texto); font-weight: 650; }
.pasos [aria-current="step"] .pasos__n { background: var(--accion); border-color: var(--accion); color: var(--sobre-accion); }
.pasos .is-hecho .pasos__n { border-color: var(--bien); color: var(--bien); }

/* 8. Pantallas ------------------------------------------------------------- */

/* Recorrido del proyecto: repositorio, publicación y dirección */
.recorrido { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hueco-2); margin: 0; padding: 0; list-style: none; }
.recorrido::before {
	content: ""; position: absolute; top: 31px; left: 16.66%; right: 16.66%; height: 2px;
	background: var(--filete);
}
.estacion { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.estacion__marca {
	position: relative; z-index: 1; display: grid; place-items: center; align-self: center;
	width: 64px; height: 64px; margin-bottom: var(--hueco-2); border-radius: 50%;
	background: var(--superficie); border: 1.5px solid var(--filete); color: var(--texto);
}
.estacion__marca .i { width: 28px; height: 28px; }
.estacion--bien .estacion__marca { border-color: var(--bien); color: var(--bien); }
.estacion--curso .estacion__marca { border-color: var(--texto); }
.estacion--fallo .estacion__marca { border-color: var(--urgente); color: var(--urgente); }
.estacion__ficha { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.estacion__que { margin: 0; font-size: var(--t-pequeno); color: var(--texto-suave); }
.estacion__dato { margin: 0; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.estacion__nota { margin: 0; font-size: var(--t-pequeno); color: var(--texto-suave); overflow-wrap: anywhere; }
.estacion__enlace { margin-top: auto; padding-top: 10px; font-size: var(--t-pequeno); font-weight: 600; }
@media (max-width: 719px) {
	.recorrido { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.recorrido::before { display: none; }
	.estacion:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--filete); }
	.estacion { flex-direction: row; align-items: flex-start; text-align: left; gap: var(--hueco-2); padding-bottom: var(--hueco-2); }
	.estacion__ficha { align-items: flex-start; }
	.estacion__marca { align-self: flex-start; margin: 0; width: 64px; height: 64px; flex: none; }
	.estacion__ficha { padding-top: 6px; }
}

.dir-publicada { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-titular); font-size: var(--t-direccion); font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }

/* Progreso de una publicación */
.progreso { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.progreso li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--superficie-suave); align-items: center; }
.progreso li:first-child { border-top: 0; }
.progreso .i { width: 22px; height: 22px; }
.progreso .is-hecho { color: var(--texto); }
.progreso .is-hecho .i { color: var(--bien); }
.progreso .is-ahora { font-weight: 650; }
.progreso .is-ahora .i { animation: pulso 1.4s var(--curva) infinite; }
.progreso .is-espera { color: var(--texto-suave); }
.progreso .is-espera .i { color: var(--gris-marca); }

/* Registro técnico */
details.registro { border: 1px solid var(--filete); border-radius: var(--radio-grande); background: var(--superficie); }
details.registro summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 var(--hueco-3); cursor: pointer; font-weight: 650; }
details.registro summary::-webkit-details-marker { display: none; }
details.registro summary .i { transition: transform var(--rapido); }
details.registro[open] summary .i { transform: rotate(180deg); }
.registro pre { margin: 0; padding: var(--hueco-2) var(--hueco-3) var(--hueco-3); overflow-x: auto; font: 0.8125rem/1.6 var(--f-mono); color: var(--texto); white-space: pre; }
.registro mark { background: var(--superficie-suave); color: var(--urgente); font-weight: 700; }

.texto-ia { margin: 0; padding: var(--hueco-2); border-radius: var(--radio); background: var(--superficie-suave); font-size: var(--t-medio); line-height: 1.55; }

/* Plan y uso */
.precio { font-family: var(--f-titular); font-size: var(--t-precio-unidad); line-height: 1.1; }
.precio strong { font-size: var(--t-precio); font-weight: 600; letter-spacing: -0.03em; }
.precio span { font-family: var(--f-texto); font-size: var(--t-pequeno); color: var(--texto-suave); }
.uso { display: grid; gap: 6px; }
.uso__fila { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-medio); }
.uso__fila strong { font-variant-numeric: tabular-nums; }
.uso progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: var(--radio-foco); background: var(--superficie-suave); overflow: hidden; }
.uso progress::-webkit-progress-bar { background: var(--superficie-suave); border-radius: var(--radio-foco); }
.uso progress::-webkit-progress-value { background: var(--texto); border-radius: var(--radio-foco); }
.uso progress::-moz-progress-bar { background: var(--texto); border-radius: var(--radio-foco); }

/* Contacto */
.tel-grande { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-titular); font-size: var(--t-telefono); font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
.tel-grande .i { width: 0.9em; height: 0.9em; }
.tel-grande:hover span { text-decoration: underline; }

/* Lista numerada de pasos con contenido */
.instrucciones { margin: 0; padding: 0; list-style: none; counter-reset: paso; display: grid; gap: var(--hueco-3); }
.instrucciones > li { counter-increment: paso; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; }
.instrucciones > li::before {
	content: counter(paso); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	background: var(--superficie-suave); font-weight: 700; font-size: var(--t-pequeno); grid-row: span 3;
}
.instrucciones > li > * { grid-column: 2; }
.instrucciones h3 { margin: 4px 0 2px; }
.instrucciones p { margin: 0; color: var(--texto-suave); }
.instrucciones .copiable, .instrucciones .hueco--bloque { margin-top: 10px; }

/* Entrar y activar */
.solo { min-height: calc(100svh - var(--franja-alto)); display: grid; place-items: center; padding: var(--hueco-4) var(--lateral); }
.solo__caja { width: min(440px, 100%); }
.solo__marca { display: block; width: 132px; margin-bottom: var(--hueco-4); color: var(--texto); }
.solo__pie { margin-top: var(--hueco-3); padding-top: var(--hueco-3); border-top: 1px solid var(--filete); color: var(--texto-suave); font-size: var(--t-pequeno); }

/* Mapa de pantallas */
.mapa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px var(--hueco-4); margin: 0; padding: 0; list-style: none; }
.mapa li { padding: 12px 0; border-top: 1px solid var(--filete); }
.mapa a { font-weight: 650; }
.mapa p { margin: 2px 0 0; color: var(--texto-suave); font-size: var(--t-pequeno); }
@media (max-width: 719px) { .mapa { grid-template-columns: minmax(0, 1fr); } }

/* Tabla de publicaciones en móvil: cada fila pasa a ficha */
@media (max-width: 719px) {
	.tabla--fichas thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tabla--fichas, .tabla--fichas tbody, .tabla--fichas tr, .tabla--fichas td, .tabla--fichas th { display: block; width: 100%; }
	.tabla--fichas tr { padding: 14px 16px; }
	.tabla--fichas tbody tr + tr { border-top: 1px solid var(--filete); }
	.tabla--fichas tbody tr + tr td, .tabla--fichas tbody tr + tr th { border-top: 0; }
	.tabla--fichas td, .tabla--fichas th { padding: 2px 0; }
	.tabla--fichas td[data-etiqueta]::before { content: attr(data-etiqueta) ": "; color: var(--texto-suave); font-weight: 500; font-family: var(--f-texto); }
	.tabla--fichas .tabla__accion { text-align: left; padding-top: 8px; }
	.tabla-caja--fichas { overflow: visible; }
}

/* 9. Movimiento ------------------------------------------------------------ */
@keyframes pulso { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
dialog.dialogo[open] { animation: aparece var(--medio) ease-out; }
.temporal:not([hidden]) { animation: aparece var(--medio) ease-out; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
