:root {
    --stp-navy: #1e3a5f;
    --stp-navy-dark: #0f2744;
    --stp-teal: #0ea5e9;
    --stp-verde: #10b981;
    --stp-ambar: #f59e0b;
    --stp-indigo: #6366f1;
    --stp-crema: #f8faf6;
    --stp-papel: #fffdf8;
    --stp-tinta: #16324f;
    --stp-suave: #e0f2fe;
    --stp-ok: #047857;
    --stp-mal: #b91c1c;
    --stp-radio: 18px;
    --stp-sombra: 0 12px 32px rgba(15, 39, 68, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.oculto {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body.stp-body {
    margin: 0;
    min-height: 100vh;
    font-family: Outfit, system-ui, sans-serif;
    color: var(--stp-tinta);
    background:
        radial-gradient(circle at 10% 0%, rgba(14, 165, 233, 0.16), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.14), transparent 36%),
        var(--stp-crema);
}

h1, h2, h3, .stp-brand strong, .stp-kicker {
    font-family: Fredoka, Outfit, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.stp-skip {
    position: absolute;
    left: -999px;
    top: 0;
}

.stp-skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 20;
    background: #fff;
    padding: 0.5rem 0.8rem;
}

.stp-leaves {
    pointer-events: none;
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.stp-leaf {
    position: absolute;
    width: 10px;
    height: 18px;
    background: rgba(16, 185, 129, 0.18);
    border-radius: 50% 0;
    animation: stp-caer 16s linear infinite;
}

.stp-leaf:nth-child(odd) { left: 8%; animation-duration: 18s; }
.stp-leaf:nth-child(2) { left: 22%; animation-delay: -3s; }
.stp-leaf:nth-child(3) { left: 38%; animation-delay: -6s; background: rgba(14, 165, 233, 0.16); }
.stp-leaf:nth-child(4) { left: 54%; animation-delay: -2s; }
.stp-leaf:nth-child(5) { left: 67%; animation-delay: -8s; }
.stp-leaf:nth-child(6) { left: 79%; animation-delay: -4s; }
.stp-leaf:nth-child(7) { left: 91%; animation-delay: -7s; }
.stp-leaf:nth-child(8) { left: 14%; top: 40%; }
.stp-leaf:nth-child(9) { left: 48%; top: 20%; }
.stp-leaf:nth-child(10) { left: 72%; top: 50%; }

@keyframes stp-caer {
    from { transform: translateY(-20px) rotate(0deg); }
    to { transform: translateY(110vh) rotate(160deg); }
}

.stp-top,
.stp-main,
.stp-foot {
    position: relative;
    z-index: 1;
}

.stp-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.2rem;
    padding: 0.85rem 1.2rem;
    background: rgba(255, 253, 248, 0.92);
    border-bottom: 3px solid var(--stp-navy);
    position: sticky;
    top: 0;
    z-index: 5;
}

.stp-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
}

.stp-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: block;
    object-fit: contain;
    background: transparent;
}

.stp-brand strong {
    display: block;
    font-size: 1.15rem;
}

.stp-brand small {
    color: #4b6784;
}

.stp-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 1;
}

.stp-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    color: var(--stp-navy);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.stp-nav-link:hover,
.stp-nav-link--activa {
    background: var(--stp-navy);
    color: #fff;
}

.stp-portal {
    margin-left: auto;
    color: var(--stp-navy);
    font-weight: 700;
    text-decoration: none;
}

.stp-main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto 3rem;
    padding-top: 1.4rem;
}

.stp-foot {
    text-align: center;
    padding: 1.4rem 1rem 2rem;
    color: #4b6784;
    font-size: 0.92rem;
}

.stp-hero {
    min-height: 380px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(15, 39, 68, 0.15) 10%, rgba(15, 39, 68, 0.82) 100%),
        url('../img/portada-hub.png') center / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    box-shadow: var(--stp-sombra);
}

.stp-hero-copy {
    max-width: 38rem;
}

.stp-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin: 0 0 0.4rem;
    color: #99f6e4;
}

.stp-hero .stp-kicker {
    color: #99f6e4;
}

.stp-hero h1,
.stp-cabecera h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.15;
}

.stp-lead {
    font-size: 1.05rem;
    line-height: 1.55;
}

.stp-hero-acciones,
.stp-paso-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.stp-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.stp-btn--verde {
    background: var(--stp-verde);
    color: #fff;
}

.stp-btn--claro {
    background: #fff;
    color: var(--stp-navy);
    box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.12);
}

.stp-btn:hover {
    transform: translateY(-1px);
}

.stp-bloque {
    margin-top: 2.2rem;
}

.stp-bloque--suave {
    background: var(--stp-papel);
    border-radius: var(--stp-radio);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--stp-sombra);
}

.stp-intro {
    max-width: 46rem;
}

.stp-pilares {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}

.stp-pilar {
    background: #fff;
    border-radius: var(--stp-radio);
    padding: 1rem 1.05rem;
    box-shadow: var(--stp-sombra);
    border-top: 6px solid var(--pilar-color);
}

.stp-pilar-letra {
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 8px;
    background: var(--pilar-color);
    color: #fff;
    font-family: Fredoka, sans-serif;
    font-weight: 700;
}

.stp-tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stp-tarjeta {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--stp-sombra);
    display: flex;
    flex-direction: column;
}

.stp-tarjeta:hover {
    transform: translateY(-3px);
}

.stp-tarjeta-foto {
    position: relative;
}

.stp-tarjeta-foto img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.stp-badge {
    position: absolute;
    left: 0.7rem;
    bottom: 0.7rem;
    background: var(--pilar-color);
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.stp-tarjeta-cuerpo {
    padding: 0.95rem 1rem 1.15rem;
}

.stp-tarjeta-cuerpo h3 {
    margin: 0 0 0.25rem;
}

.stp-meta {
    color: #4b6784;
    font-size: 0.88rem;
    margin: 0 0 0.4rem;
}

.stp-pasos {
    padding-left: 1.2rem;
    line-height: 1.6;
}

.stp-cabecera {
    margin-bottom: 1.2rem;
}

.stp-cabecera .stp-kicker {
    color: var(--stp-teal);
}

.stp-lista-problemas {
    display: grid;
    gap: 0.7rem;
}

.stp-item-problema {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    background: #fff;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--stp-sombra);
}

.stp-item-num {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--stp-navy);
    color: #fff;
    font-weight: 800;
}

.stp-item-problema small {
    display: block;
    color: #4b6784;
}

.stp-hoja,
.stp-cuaderno {
    background: var(--stp-papel);
    border-radius: 22px;
    padding: 1.2rem 1.3rem 1.5rem;
    box-shadow: var(--stp-sombra);
}

.stp-contexto,
.stp-datos {
    font-size: 1.05rem;
    line-height: 1.55;
}

.stp-datos {
    background: var(--stp-suave);
    border-radius: 14px;
    padding: 0.8rem 1.1rem;
}

.stp-responde {
    font-weight: 800;
}

.stp-paso {
    margin: 1.2rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px dashed rgba(30, 58, 95, 0.15);
}

.stp-paso h2,
.stp-paso legend {
    font-size: 1.05rem;
    margin: 0 0 0.45rem;
}

.stp-paso legend {
    padding: 0;
    font-weight: 700;
}

.stp-input {
    width: min(100%, 12rem);
    padding: 0.55rem 0.7rem;
    border: 2px solid #c5d4e4;
    border-radius: 12px;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--stp-navy);
    background: #fff;
}

.stp-input:focus {
    outline: 3px solid rgba(14, 165, 233, 0.35);
    border-color: var(--stp-teal);
}

.stp-input--resp {
    width: min(100%, 14rem);
}

.stp-input--vp {
    width: 3.2rem;
    text-align: center;
    font-size: 1.4rem;
}

.stp-label-resp {
    display: grid;
    gap: 0.3rem;
    font-weight: 600;
    margin: 0.45rem 0;
    max-width: 16rem;
}

.stp-tabla-vp {
    display: grid;
    grid-template-columns: repeat(4, minmax(4.5rem, 1fr));
    gap: 0.5rem;
    max-width: 28rem;
}

.stp-vp-col {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    background: #fff;
    border-radius: 12px;
    padding: 0.5rem 0.3rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.stp-descomp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
    font-size: 1.15rem;
}

.stp-descomp .stp-input {
    width: 5.2rem;
}

.stp-feedback {
    font-weight: 700;
    margin: 0.45rem 0 0;
}

.stp-feedback--ok {
    color: var(--stp-ok);
}

.stp-feedback--mal {
    color: var(--stp-mal);
}

.stp-pista {
    background: #fff7ed;
    border-radius: 10px;
    padding: 0.5rem 0.7rem;
}

.stp-recuerda,
.stp-puente {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
}

.stp-recuerda {
    background: #ecfdf5;
}

.stp-puente {
    background: #e0f2fe;
}

.stp-link-volver {
    color: var(--stp-teal);
    font-weight: 700;
    text-decoration: none;
}

.stp-medicion,
.stp-aves,
.stp-ing {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 1rem;
    align-items: start;
}

.stp-campo {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--stp-sombra);
}

.stp-herramientas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding: 0.75rem 0.9rem;
    background: var(--stp-navy);
    color: #fff;
}

.stp-tool-ayuda {
    margin: 0;
    font-size: 0.88rem;
    flex: 1;
}

.stp-tool {
    border: 0;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.stp-filtros .stp-tool {
    background: #dbeafe;
    color: var(--stp-navy);
}

.stp-tool--activa,
.stp-filtros .stp-tool--activa {
    background: var(--stp-verde);
    color: #fff;
}

.stp-suelo {
    position: relative;
    overflow: hidden;
    background: #1e3a5f;
}

.stp-suelo-foto {
    width: 100%;
    height: min(72vh, 640px);
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.stp-hot {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    position: absolute;
    left: var(--hot-l);
    bottom: var(--hot-b);
    width: var(--hot-w);
    height: var(--hot-h);
    cursor: pointer;
    z-index: 2;
}

.stp-hot-nombre {
    position: absolute;
    left: 50%;
    bottom: 0.15rem;
    transform: translateX(-50%);
    background: rgba(30, 58, 95, 0.82);
    color: #fff;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.stp-hot--activa {
    box-shadow: inset 0 0 0 3px #fde047;
    border-radius: 10px;
}

.stp-regla {
    position: absolute;
    left: var(--regla-left, 8px);
    bottom: var(--regla-bottom, 8px);
    z-index: 4;
    width: 58px;
    height: calc(var(--regla-cm, 220) * var(--px-por-cm, 2.6) * 1px);
    pointer-events: none;
}

.stp-regla-cuerpo {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, #c4a36a 0, #f0d9a6 18%, #fff6d8 42%, #f3dfb0 70%, #c9a86e 100%);
    border: 2px solid #6b4a1e;
    border-radius: 4px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.28);
}

.stp-regla-marca {
    position: absolute;
    left: 0;
    bottom: calc(var(--marca-cm, 0) * var(--px-por-cm, 2.6) * 1px);
    width: 18px;
    height: 2px;
    background: #2a1a08;
}

.stp-regla-marca--cinco {
    width: 28px;
}

.stp-regla-marca--diez {
    width: 100%;
    height: 3px;
}

.stp-regla-marca--diez em {
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    color: #2a1a08;
    white-space: nowrap;
}

.stp-lectura {
    margin: 0;
    padding: 0.6rem 0.9rem 0.85rem;
    font-weight: 700;
    background: #ecfdf5;
}

.stp-escena-foto img {
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--stp-sombra);
}

.stp-fichas-aves {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.stp-ficha-ave {
    background: #fff;
    border-radius: 16px;
    padding: 0.7rem;
    box-shadow: var(--stp-sombra);
}

.stp-ficha-ave img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

.stp-ficha-ave h3 {
    margin: 0.45rem 0 0.15rem;
    font-size: 1rem;
}

.stp-cientifico {
    font-style: italic;
    color: #4b6784;
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
}

.stp-avistados {
    font-weight: 700;
    margin: 0.4rem 0 0;
}

.stp-ficha-ave--lista {
    box-shadow: 0 0 0 3px var(--stp-verde);
}

.stp-ing-foto {
    margin: 0;
}

.stp-ing-foto img {
    border-radius: 22px;
    box-shadow: var(--stp-sombra);
}

.stp-ing-foto figcaption {
    margin-top: 0.5rem;
    color: #4b6784;
}

.stp-prototipo,
.stp-bitacora,
.stp-algo {
    background: #fff;
    border-radius: 22px;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--stp-sombra);
    margin-top: 1rem;
}

.stp-piezas {
    display: grid;
    gap: 0.7rem;
}

.stp-pieza,
.stp-check {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
}

.stp-rango {
    flex: 1;
}

.stp-preview {
    min-height: 140px;
    margin: 1rem 0;
    padding: 0.8rem;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.18), rgba(16, 185, 129, 0.12)),
        url('../img/escena-paramo.png') center / cover;
}

.stp-preview-mallas {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    min-height: 90px;
}

.stp-malla {
    width: 36px;
    height: 88px;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.55) 0 4px,
        rgba(30, 58, 95, 0.35) 4px 6px
    );
    border: 3px solid #92400e;
    border-radius: 4px;
}

.stp-malla--canal {
    box-shadow: inset 0 -10px 0 #38bdf8;
}

.stp-cuenta,
.stp-litros {
    font-size: 1.05rem;
}

.stp-litros strong {
    font-size: 1.6rem;
    color: var(--stp-teal);
}

.stp-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.stp-tabla-wrap {
    overflow-x: auto;
    margin-top: 0.7rem;
}

.stp-tabla {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.stp-tabla th,
.stp-tabla td {
    text-align: left;
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid #e2e8f0;
}

.stp-tabla th {
    background: var(--stp-navy);
    color: #fff;
}

.stp-tabla tr.oculto {
    display: none;
}

.stp-algo-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.8rem 0;
}

.stp-algo-botones .stp-btn--claro.stp-ok {
    background: #d1fae5;
}

.stp-ciclo {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.stp-etapa {
    border: 0;
    border-radius: 16px;
    padding: 0.8rem 0.6rem;
    background: #fff;
    box-shadow: var(--stp-sombra);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: var(--stp-navy);
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    text-align: center;
}

.stp-etapa-num {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--stp-suave);
}

.stp-etapa--activa {
    background: var(--stp-navy);
    color: #fff;
}

.stp-etapa--activa .stp-etapa-num {
    background: var(--stp-verde);
    color: #fff;
}

.stp-ciclo-detalle {
    margin: 1rem 0 1.4rem;
    background: var(--stp-papel);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    box-shadow: var(--stp-sombra);
}

.stp-opcion {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0.35rem 0;
    font-weight: 600;
}

.stp-puente-mini {
    margin-top: 1rem;
}

.stp-galeria-problemas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stp-card-problema {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--stp-sombra);
    min-height: 220px;
}

.stp-card-problema img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.stp-card-problema-num {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--stp-verde);
    font-weight: 800;
}

.stp-card-problema-txt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 0.9rem 0.85rem;
    background: linear-gradient(180deg, transparent, rgba(15, 39, 68, 0.88));
}

.stp-card-problema-txt strong,
.stp-card-problema-txt small {
    display: block;
}

.stp-card-problema:hover {
    transform: translateY(-3px);
}

.stp-hero-problema {
    margin: 0 0 1rem;
}

.stp-hero-problema img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
}

.stp-hoja--viva {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.stp-paso--carta {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--stp-sombra);
    border-bottom: 0;
    margin: 1.3rem 0;
    padding: 0;
}

.stp-paso-ilus {
    margin: 0;
    background: #dbeafe;
}

.stp-paso-ilus img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}

.stp-paso-cuerpo {
    padding: 1rem 1.1rem 1.15rem;
}

.stp-paso-enunciado {
    font-size: 1.08rem;
    line-height: 1.5;
}

.stp-paso-trabajo {
    display: grid;
    grid-template-columns: minmax(12rem, 0.9fr) minmax(16rem, 1.1fr);
    gap: 1rem;
    align-items: start;
}

.stp-paso--carta:not(.stp-paso--con-tablero) .stp-paso-trabajo {
    grid-template-columns: 1fr;
}

.stp-tablero-titulo {
    margin: 0 0 0.5rem;
    font-weight: 800;
    color: #fff;
}

.stp-fichas-op {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.stp-ficha-op {
    background: #fff7ed;
    color: var(--stp-navy);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.stp-ficha-op--signo {
    background: var(--stp-ambar);
    color: #fff;
    min-width: 2rem;
    text-align: center;
}

.stp-pizarra {
    background:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, #3d8a64, #2a5c44);
    background-size: 8px 8px, auto;
    border: 10px solid #8b5a2b;
    border-bottom-width: 18px;
    border-radius: 10px;
    padding: 0.75rem 0.7rem 0.85rem;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.18);
}

.stp-pizarra-grid {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
}

.stp-pizarra-fila {
    display: grid;
    grid-template-columns: 1.6rem repeat(4, 2.5rem);
    gap: 0.35rem;
    align-items: center;
}

.stp-pizarra-fila--rotulos {
    color: #bbf7d0;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
}

.stp-pizarra-signo {
    color: #fde68a;
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
}

.stp-pizarra-linea {
    width: min(100%, 13rem);
    height: 3px;
    background: #f8fafc;
    border-radius: 2px;
    margin: 0.15rem 0;
}

.stp-casilla {
    width: 2.5rem;
    height: 2.6rem;
    padding: 0;
    border: 2px dashed rgba(248, 250, 252, 0.45);
    border-radius: 8px;
    background: rgba(15, 39, 68, 0.18);
    color: #f8fafc;
    font-family: "Patrick Hand", Fredoka, cursive;
    font-size: 1.55rem;
    font-weight: 700;
    text-align: center;
}

.stp-casilla:focus {
    outline: 3px solid #fde68a;
    border-style: solid;
}

.stp-casilla--lleva {
    height: 2rem;
    font-size: 1.1rem;
    color: #fde68a;
}

.stp-tiza-caja {
    margin-top: 0.7rem;
}

.stp-tiza-caja p {
    margin: 0 0 0.35rem;
    color: #d1fae5;
    font-size: 0.85rem;
    font-weight: 700;
}

.stp-tiza {
    display: block;
    width: 100%;
    height: 140px;
    border-radius: 8px;
    background: rgba(10, 30, 22, 0.35);
    cursor: crosshair;
    touch-action: none;
}

.stp-tiza-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.stp-tiza-tools .stp-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
}

.stp-progreso-preg,
#stpProgresoPreg {
    font-weight: 800;
    color: var(--stp-navy);
}

.stp-tiza-tiza[aria-pressed="true"],
.stp-tiza-borra[aria-pressed="true"] {
    background: #fde68a;
}

@media (max-width: 900px) {
    .stp-pilares,
    .stp-tarjetas,
    .stp-medicion,
    .stp-aves,
    .stp-ing,
    .stp-ciclo,
    .stp-galeria-problemas,
    .stp-paso--carta,
    .stp-paso-trabajo {
        grid-template-columns: 1fr;
    }

    .stp-nav-link span {
        display: none;
    }

    .stp-nav-link {
        padding: 0.5rem 0.65rem;
    }

    .stp-hero {
        min-height: 300px;
        padding: 1.2rem;
    }

    .stp-tabla-vp {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stp-fichas-aves {
        grid-template-columns: 1fr;
    }
}
