/* Estilos de las páginas públicas generadas (fichas CUPS, especialidades y guías).
   Solo usa los tokens de web/styles.css (brand-* y accent-*). */
body.seo { min-height: 100vh; display: flex; flex-direction: column; font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; }
.seo a { color: rgb(var(--brand-600)); text-decoration: none; }
.seo a:hover { text-decoration: underline; }
.seo-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: rgb(255 255 255 / .85); border-bottom: 1px solid #e2e8f0; backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.seo-marca img { display: block; height: 36px; width: auto; }
.seo-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.seo-main { flex: 1; width: 100%; max-width: 56rem; margin: 0 auto; padding: 20px 16px 48px; }
.seo-main h1 { font-family: 'Outfit', 'Inter', system-ui, sans-serif; font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.2; font-weight: 700; color: #0f172a; margin: 4px 0 12px; }
.seo-main h2 { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin: 28px 0 10px; }
.seo-main p { margin: 0 0 12px; color: #334155; }
.seo-main ul { color: #334155; }
.seo-guia ul { padding-left: 20px; margin: 0 0 12px; }
.seo-lead { font-size: 1.05rem; color: #475569; }
.seo-etiqueta { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--accent-600)); margin: 0; }
.seo-fecha { font-size: 13px; color: #64748b; }
.seo-migas ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 8px; font-size: 13px; color: #64748b; }
.seo-migas li + li::before { content: '›'; margin-right: 4px; }
.seo-datos { display: grid; gap: 8px; margin: 0; }
.seo-datos > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.seo-datos dt { color: #64748b; font-size: 14px; }
.seo-datos dd { margin: 0; font-weight: 600; text-align: right; color: #0f172a; }
.seo-cod { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; color: rgb(var(--accent-700)); }
.seo-equiv { margin-top: 24px; padding: 16px; border-radius: 16px; background: rgb(var(--accent-50)); border: 1px solid rgb(var(--accent-200)); }
.seo-equiv h2 { margin-top: 0; }
.seo-oculto { letter-spacing: .15em; color: rgb(var(--accent-400)) !important; }
.seo-boton { display: inline-block; padding: 10px 18px; border-radius: 12px; background: rgb(var(--accent-600)); color: #fff !important; font-weight: 600; font-size: 14px; }
.seo-boton:hover { background: rgb(var(--accent-700)); text-decoration: none !important; }
.seo-lista { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.seo-lista li { padding: 8px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px; }
.seo-lista-larga { gap: 4px; }
.seo-guias li { padding: 12px 14px; }
.seo-cuenta { float: right; font-size: 12px; color: #64748b; }
.seo-pag { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.seo-pag a, .seo-pag span { padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; background: #fff; }
.seo-pag span { background: rgb(var(--accent-600)); color: #fff; border-color: rgb(var(--accent-600)); }
.seo-pie { padding: 20px 16px; text-align: center; font-size: 13px; color: #64748b; border-top: 1px solid #e2e8f0; background: rgb(255 255 255 / .6); }
.seo-pie p { margin: 0 0 6px; }
@media (max-width: 480px) { .seo-datos > div { flex-direction: column; gap: 2px; } .seo-datos dd { text-align: left; } }

/* Páginas legales */
.seo-legal h2 { margin-top: 28px; }
.seo-legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 20px; }
.seo-legal th, .seo-legal td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid #e2e8f0; }
.seo-legal th { background: #f1f5f9; color: #0f172a; font-weight: 600; }
.seo-legal .tabla-envoltura { overflow-x: auto; }
.seo-legal .pendiente { background: #fef3c7; color: #78350f; padding: 0 4px; border-radius: 4px; }
.seo-aviso-borrador { border: 1px solid #fcd34d; background: #fffbeb; color: #78350f; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 0 0 20px; }
