/* Contenido de una lección de Laboratorios (hero, simulador y artículo). Lo usan la página independiente y el portal. */
.pg-ancho { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pg-eyebrow b { color: var(--route-text); font-weight: 600; }
.pg-migas { padding-top: 24px; }
.pg-migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.pg-migas li + li::before { content: "›"; margin-right: 8px; color: var(--line-strong); }
.pg-hero { padding-top: 24px; padding-bottom: 32px; max-width: 880px; }
.pg-eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-muted); margin: 0 0 12px; }
h1.pg-h1 { font-family: var(--font-display); font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 16px; }
.pg-entradilla { font-size: 18px; line-height: 30px; color: var(--ink-muted); margin: 0 0 12px; max-width: 70ch; }
.pg-nivel { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); margin: 0; }
.pg-sim { padding-bottom: 48px; }
.pg-sim > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lab-sinjs { padding: 24px; margin: 0; color: var(--ink-muted); }
.pg-pcap { margin: 12px 0 0; font-size: 14px; color: var(--ink-muted); }
.pg-art { max-width: 760px; padding-bottom: 32px; }
.pg-art section { margin: 0 0 48px; scroll-margin-top: 24px; }
.pg-art h2 { font-family: var(--font-display); font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 16px; }
.pg-art p, .pg-art li { font-size: 16px; line-height: 26px; }
.pg-art p { margin: 0 0 16px; }
.pg-art ul, .pg-art ol { margin: 0 0 16px; padding-left: 24px; }
.pg-art li { margin: 0 0 8px; }
.pg-art ol.pg-pasos { list-style: none; padding: 0; counter-reset: paso; }
.pg-pasos li { counter-increment: paso; position: relative; padding: 0 0 0 52px; margin: 0 0 24px; }
.pg-pasos li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--brand); color: var(--brand); border-radius: var(--radius-sm); font-family: var(--font-mono); font-weight: 600; font-size: 14px; }
.pg-pasos h3 { font-family: var(--font-display); font-size: 18px; line-height: 26px; font-weight: 600; margin: 4px 0 6px; }
.pg-pasos p { margin: 0; }
.pg-tabla { overflow-x: auto; margin: 0 0 16px; }
.pg-art table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.pg-art th { text-align: left; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 1px solid var(--line-strong); padding: 8px 12px 8px 0; }
.pg-art td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.pg-art td:first-child { font-weight: 600; }
.pg-art td code, .pg-art p code, .pg-art li code { font-family: var(--font-mono); font-size: 14px; font-variant-ligatures: none; }
.pg-art pre { background: var(--marino-900); color: #DFE8F4; border-radius: var(--radius-sm); padding: 16px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 22px; font-variant-ligatures: none; margin: 0 0 16px; }
[data-theme="dark"] .pg-art pre { background: #030A14; border: 1px solid var(--line); }
.pg-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.pg-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; line-height: 26px; }
.pg-faq details p { margin: 10px 0 0; color: var(--ink-muted); }
.pg-llevas { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 24px 8px; background: var(--surface-raised); }
.pg-llevas h2 { font-size: 22px; line-height: 30px; }
.pg-sig { border: 1px solid var(--line-strong); padding: 32px; background: var(--surface); clip-path: polygon(var(--chamfer-md) 0, 100% 0, 100% calc(100% - var(--chamfer-md)), calc(100% - var(--chamfer-md)) 100%, 0 100%, 0 var(--chamfer-md)); }
.pg-sig h2 { font-size: 26px; line-height: 34px; }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pg-cta { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; background: var(--route); color: var(--on-route); font-weight: 600; text-decoration: none; clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% calc(100% - var(--chamfer-sm)), calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm)); }
.pg-cta:hover { box-shadow: var(--glow-route); }
.pg-cta2 { font-weight: 600; color: var(--brand); }
.pg-proximas ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-proximas li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px; margin: 0; font-size: 15px; }
.pg-proximas li span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-left: 8px; }
.pg-proximas li a { color: var(--link); font-weight: 600; text-decoration: none; }
.pg-proximas li a:hover { text-decoration: underline; }
.pg-proximas li:has(a) { border-color: var(--link); }
.pg-fuentes li { font-size: 14px; line-height: 22px; }
.pg-ia { font-size: 14px; line-height: 22px; color: var(--ink-muted); border-left: 3px solid var(--line-strong); padding-left: 12px; }
html[data-tema="dark"] .pg-art pre { background: #030A14; border: 1px solid var(--line); }
@media (max-width: 720px) {
  .pg-ancho { padding: 0 16px; }
  h1.pg-h1 { font-size: 30px; line-height: 38px; }
  .pg-art h2 { font-size: 24px; line-height: 32px; }
  .pg-sig { padding: 24px; }
}
html[data-tema="light"] .pg-art pre { background: var(--marino-900); border: 0; }
