:root {
    --bg-deep: #050807;
    --bg-elevated: #0c1210;
    --bg-card: #111916;
    --bg-card-hover: #172019;
    --line: rgba(245, 240, 232, 0.07);
    --line-strong: rgba(245, 240, 232, 0.14);
    --text: #f5f0e8;
    --text-muted: rgba(245, 240, 232, 0.62);
    --text-soft: rgba(245, 240, 232, 0.38);
    --accent: #c8f542;
    --accent-dim: rgba(200, 245, 66, 0.12);
    --accent-strong: #e4ff7a;
    --accent-glow: rgba(200, 245, 66, 0.35);
    --pitch: #143d28;
    --pitch-light: #2a7a50;
    --pitch-glow: rgba(42, 122, 80, 0.45);
    --danger: #ff6b5a;
    --shadow: 0 32px 100px rgba(0, 0, 0, 0.55);
    --shadow-accent: 0 0 80px rgba(200, 245, 66, 0.08);
    --radius: 20px;
    --radius-sm: 12px;
    --font-display: "Big Shoulders Display", sans-serif;
    --font-body: "IBM Plex Sans", sans-serif;
    --container: 1320px;
    --container-wide: 1560px;
    --header-height: 88px;
    --section-pad: clamp(5rem, 10vw, 9rem);
    --edge-pad: clamp(1.25rem, 4vw, 5rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg-deep);
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #0a120d;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.breadcrumbs {
    position: relative;
    z-index: 1;
    padding: 1rem 0 0;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: center;
    width: min(calc(100% - var(--edge-pad) * 2), var(--container-wide));
    margin-inline: auto;
    padding: 0;
    list-style: none;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--text-soft);
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs [aria-current="page"] {
    color: var(--text);
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

select {
    color: var(--text);
    background-color: var(--bg-card);
    color-scheme: dark;
    cursor: pointer;
}

select option {
    background-color: #eef2ea;
    color: #0c1612;
}

select option:checked,
select option:hover {
    background-color: #1a4d32;
    color: #e4ff7a;
}

.pitch-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(42, 122, 80, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 50% at 95% 20%, rgba(200, 245, 66, 0.07), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(20, 61, 40, 0.35), transparent 60%),
        linear-gradient(rgba(245, 240, 232, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 240, 232, 0.018) 1px, transparent 1px);
    background-size: auto, auto, auto, 80px 80px, 80px 80px;
    mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
}

.pitch-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.55;
}

.container {
    width: min(calc(100% - var(--edge-pad) * 2), var(--container));
    margin-inline: auto;
}

.container-wide,
.page-hero-full-inner,
.layout-shell {
    width: min(calc(100% - var(--edge-pad) * 2), var(--container-wide));
    margin-inline: auto;
}

.full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(20px) saturate(1.4);
    background: rgba(5, 8, 7, 0.55);
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(5, 8, 7, 0.92);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 1rem;
    width: min(calc(100% - var(--edge-pad) * 2), var(--container-wide));
    margin-inline: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.brand:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 14px rgba(200, 245, 66, 0.2));
}

.brand-wordmark {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 1;
}

.brand-metodo {
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 0.07em;
    color: var(--text);
}

.brand-im {
    font-size: clamp(1.45rem, 2.6vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--accent);
    text-shadow: 0 0 24px rgba(200, 245, 66, 0.25);
}

.brand-wordmark-footer .brand-metodo {
    font-size: 1.55rem;
}

.brand-wordmark-footer .brand-im {
    font-size: 1.75rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav a {
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.site-nav .nav-cta {
    margin-left: 0.35rem;
    background: var(--accent);
    color: #0a120d;
    font-weight: 600;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
    background: var(--accent-strong);
    color: #0a120d;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    transition: transform 0.2s ease;
}

main {
    position: relative;
    z-index: 1;
    padding-top: var(--header-height);
}

.section {
    padding: var(--section-pad) 0;
}

.section-tight {
    padding: 4rem 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-intro {
    max-width: 62ch;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.15rem);
    line-height: 1.65;
}

/* ── Hero fullwidth ── */
.hero-full {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    isolation: isolate;
}

.hero-full-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-full-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.03);
}

.hero-full-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(5, 8, 7, 0.93) 0%, rgba(5, 8, 7, 0.78) 42%, rgba(5, 8, 7, 0.52) 72%, rgba(5, 8, 7, 0.68) 100%),
        linear-gradient(to top, rgba(5, 8, 7, 0.95) 0%, transparent 38%),
        radial-gradient(ellipse 55% 45% at 88% 18%, rgba(200, 245, 66, 0.1), transparent 60%);
    pointer-events: none;
}

.hero-full::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-full-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    width: min(calc(100% - var(--edge-pad) * 2), var(--container-wide));
    margin-inline: auto;
}

.hero-full-copy {
    animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
    animation: pulse-dot 2.5s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-full h1 {
    margin: 0 0 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 13vw, 11rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.hero-full h1 .hero-line {
    display: block;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(245, 240, 232, 0.9);
}

.hero-full h1 .hero-accent {
    display: block;
    margin-top: -0.02em;
    padding-left: 0.06em;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
    text-stroke: 2px var(--accent);
    position: relative;
}

.hero-full h1 .hero-accent::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--accent);
    -webkit-text-stroke: 0;
    text-stroke: 0;
    clip-path: inset(0 0 55% 0);
}

.hero-full-lead {
    max-width: 52ch;
    margin: 0 0 2.25rem;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.7;
}

.hero-full-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-full-visual {
    position: relative;
    animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-full-visual::before {
    content: "";
    position: absolute;
    inset: -12% -8%;
    border: 1px solid rgba(200, 245, 66, 0.12);
    border-radius: calc(var(--radius) + 12px);
    transform: rotate(-2deg);
    pointer-events: none;
}

.hero-full-visual::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--pitch-glow), transparent 60%);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

/* Stats band fullwidth */
.stats-band {
    position: relative;
    border-block: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(20, 61, 40, 0.25), rgba(17, 25, 22, 0.95)),
        var(--bg-elevated);
}

.stats-band-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.stat-item {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    transition: background 0.3s ease;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: var(--line);
}

.stat-item:hover {
    background: rgba(200, 245, 66, 0.04);
}

.stat-item strong {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.stat-item span {
    display: block;
    max-width: 16ch;
    margin-inline: auto;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Marquee ticker */
.marquee-band {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    background: rgba(200, 245, 66, 0.04);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-track span {
    flex-shrink: 0;
    padding-inline: 2rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
    white-space: nowrap;
}

.marquee-track span em {
    color: var(--accent);
    font-style: normal;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Section fullwidth variants */
.section-dark {
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-deep));
}

.section-head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head-center {
    text-align: center;
}

.section-head-center .section-intro {
    margin-inline: auto;
}

/* Bento grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.bento-card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 245, 66, 0.25);
    box-shadow: var(--shadow), var(--shadow-accent);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }

.bento-card.featured {
    background:
        linear-gradient(145deg, rgba(20, 61, 40, 0.5), rgba(17, 25, 22, 0.95)),
        var(--bg-card);
    border-color: rgba(200, 245, 66, 0.15);
}

.bento-card h3 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bento-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.bento-card .card-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bento-num {
    display: block;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(200, 245, 66, 0.12);
    letter-spacing: 0.02em;
}

/* Values strip fullwidth */
.values-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
}

.value-cell {
    position: relative;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    border-right: 1px solid var(--line);
    transition: background 0.3s ease, color 0.3s ease;
}

.value-cell:last-child {
    border-right: none;
}

.value-cell:hover {
    background: rgba(200, 245, 66, 0.06);
    color: var(--text);
}

.value-cell-num {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.value-cell-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.3;
}

.value-cell:hover .value-cell-text {
    color: var(--text);
}

/* Split fullwidth */
.split-full {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.split-full-reverse {
    grid-template-columns: 1.15fr 0.85fr;
}

.split-full-reverse .split-full-content {
    order: 2;
}

.split-full-reverse .split-full-aside {
    order: 1;
}

.split-visual-block {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    background:
        linear-gradient(160deg, rgba(20, 61, 40, 0.35), rgba(17, 25, 22, 0.9)),
        var(--bg-card);
}

.split-visual-block .big-quote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.split-visual-block .big-quote em {
    color: var(--accent);
    font-style: normal;
}

/* Nav cards fullwidth */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.nav-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.nav-card::after {
    content: "→";
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-soft);
    transition: transform 0.35s ease, color 0.35s ease;
}

.nav-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 245, 66, 0.28);
    background: var(--bg-card-hover);
}

.nav-card:hover::after {
    transform: translate(4px, -4px);
    color: var(--accent);
}

.nav-card h3 {
    margin: 0;
    padding-right: 2rem;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nav-card p {
    flex: 1;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.nav-card .card-tag {
    display: inline-block;
    width: fit-content;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-card-featured {
    grid-column: span 2;
    background:
        linear-gradient(145deg, rgba(200, 245, 66, 0.08), rgba(17, 25, 22, 0.95)),
        var(--bg-card);
    border-color: rgba(200, 245, 66, 0.2);
}

.nav-card:not(.nav-card-featured) {
    grid-column: span 2;
}

/* CTA fullwidth */
.cta-full {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) var(--edge-pad);
    overflow: hidden;
}

.cta-full-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(20, 61, 40, 0.6) 0%, rgba(5, 8, 7, 0.95) 50%, rgba(20, 61, 40, 0.3) 100%),
        var(--bg-elevated);
    border-block: 1px solid rgba(200, 245, 66, 0.12);
}

.cta-full-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(200, 245, 66, 0.1), transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(42, 122, 80, 0.2), transparent 40%);
}

.cta-full-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    width: min(calc(100% - var(--edge-pad) * 2), var(--container-wide));
    margin-inline: auto;
}

.cta-full h2 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cta-full p {
    max-width: 58ch;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.cta-full-action {
    flex-shrink: 0;
}

.cta-full-action .btn {
    min-height: 56px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Reveal animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* Legacy hero (inner pages) */
.hero {
    padding: 5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-copy {
    animation: fade-up 0.8s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.92rem;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
    margin: 0 0 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 8vw, 6.2rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.hero h1 em {
    display: block;
    color: var(--accent);
    font-style: normal;
}

.hero-lead {
    max-width: 54ch;
    margin: 0 0 2rem;
    color: var(--text-muted);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-primary {
    background: var(--accent);
    color: #0a120d;
    box-shadow: 0 4px 24px rgba(200, 245, 66, 0.2);
}

.btn-primary:hover {
    background: var(--accent-strong);
    box-shadow: 0 8px 32px rgba(200, 245, 66, 0.3);
}

.btn-secondary {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: rgba(184, 240, 69, 0.35);
    background: rgba(184, 240, 69, 0.06);
}

.hero-panel {
    position: relative;
    animation: fade-up 0.8s ease 0.15s both;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: -8% -6% auto auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 240, 69, 0.18), transparent 70%);
    filter: blur(8px);
}

.tactical-card {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(180deg, rgba(10, 15, 12, 0.82), rgba(10, 15, 12, 0.72));
    backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: var(--shadow);
}

.tactical-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.tactical-card-header strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tactical-card-header span {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.moment-grid {
    display: grid;
    gap: 0.75rem;
}

.moment-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.moment-item:hover {
    border-color: rgba(184, 240, 69, 0.18);
    background: rgba(184, 240, 69, 0.04);
}

.moment-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-dim);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
}

.moment-item h3 {
    margin: 0 0 0.2rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.moment-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.stat-card {
    padding: 1.25rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
}

.stat-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--accent);
}

.stat-card span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feature-card,
.category-card,
.pillar-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover,
.category-card:hover,
.pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 240, 69, 0.22);
    background: var(--bg-card-hover);
}

.feature-card h3,
.category-card h3,
.pillar-card h3 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.feature-card p,
.category-card p,
.pillar-card p {
    margin: 0;
    color: var(--text-muted);
}

.feature-card .card-tag,
.category-card .card-tag {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.values-list li {
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-muted);
}

.hierarchy {
    display: grid;
    gap: 0.65rem;
}

.hierarchy-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.hierarchy-step .step-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
}

.hierarchy-step strong {
    display: block;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hierarchy-step span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.cta-band {
    margin-top: 1rem;
    padding: 2.5rem;
    border: 1px solid rgba(184, 240, 69, 0.18);
    border-radius: calc(var(--radius) + 6px);
    background:
        linear-gradient(135deg, rgba(26, 77, 50, 0.35), rgba(20, 29, 24, 0.9)),
        rgba(255, 255, 255, 0.02);
}

.cta-band h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    line-height: 0.95;
}

.cta-band p {
    max-width: 58ch;
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

.page-hero {
    padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.page-hero .section-title {
    max-width: 14ch;
}

.content-block {
    width: 100%;
}

.content-block > :where(p, ul, ol, .quote-block) {
    max-width: 72ch;
}

.content-block > .section-intro {
    max-width: 62ch;
}

.content-block h2,
.content-block h3 {
    font-family: var(--font-display);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.content-block h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.8rem;
}

.content-block h3 {
    margin: 1.75rem 0 0.75rem;
    font-size: 1.25rem;
    color: var(--accent);
}

.content-block p,
.content-block li {
    color: var(--text-muted);
}

.content-block ul {
    padding-left: 1.2rem;
}

.content-block ul li + li {
    margin-top: 0.35rem;
}

.quote-block {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 1.25rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(184, 240, 69, 0.05);
}

.quote-block p {
    margin: 0;
    color: var(--text);
    font-size: 1.15rem;
    font-style: italic;
}

.quote-block cite {
    display: block;
    margin-top: 0.75rem;
    color: var(--text-soft);
    font-style: normal;
    font-size: 0.92rem;
}

.principle-tabs {
    display: grid;
    gap: 1rem;
}

.principle-panel {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.principle-panel h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-transform: uppercase;
}

.principle-panel .principle-ref {
    margin-bottom: 1rem;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.principle-panel ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.principle-panel li + li {
    margin-top: 0.35rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-card header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.category-card .age-range {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.category-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.category-card ul li + li {
    margin-top: 0.3rem;
}

.access-layout {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 2rem;
    align-items: start;
}

.access-card {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.access-card h2 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
}

.access-card > p {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

.form-group {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.92rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background-color: var(--bg-card);
    color: var(--text);
    color-scheme: dark;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(184, 240, 69, 0.45);
    box-shadow: 0 0 0 3px rgba(184, 240, 69, 0.12);
}

.form-note {
    margin-top: 1rem;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.role-cards {
    display: grid;
    gap: 0.85rem;
}

.role-card {
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.role-card strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.role-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: clamp(3rem, 5vw, 4.5rem) 0;
    border-top: 1px solid var(--line);
    background: rgba(5, 8, 7, 0.95);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2rem;
    width: min(calc(100% - var(--edge-pad) * 2), var(--container-wide));
    margin-inline: auto;
}

.footer-brand {
    display: flex;
    gap: 1rem;
}

.footer-wordmark {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 30ch;
}

.footer-wordmark p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.footer-brand p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-meta p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.footer-note {
    margin-top: 0.5rem !important;
}

/* Cronograma */
.microciclo-legend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.microciclo-day {
    padding: 1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.microciclo-day strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.microciclo-day span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.block-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.block-tab {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.block-tab:hover,
.block-tab.is-active {
    border-color: rgba(184, 240, 69, 0.28);
    background: rgba(184, 240, 69, 0.05);
}

.block-tab-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.block-tab-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.block-tab-weeks {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.block-intro h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    text-transform: uppercase;
}

.block-intro p {
    margin: 0;
    color: var(--text-muted);
    max-width: 72ch;
}

.week-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.week-selector label {
    font-weight: 500;
}

.week-selector select {
    min-width: 160px;
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background-color: var(--bg-card);
    color: var(--text);
    color-scheme: dark;
}

.cronogram-detail {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.cronogram-detail-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.cronogram-detail-header h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.8rem;
    text-transform: uppercase;
}

.cronogram-detail-header span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.cronogram-martes h4 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cronogram-days {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cronogram-day-card {
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.cronogram-day-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cronogram-day-card h4 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    text-transform: uppercase;
}

.cronogram-day-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.block-conclusion {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--pitch-light);
    color: var(--text-muted);
    font-style: italic;
}

.cronogram-summary ul {
    margin: 1rem 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
}

/* Herramientas */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.doc-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.doc-type {
    display: inline-block;
    width: fit-content;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.doc-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
}

.doc-card p {
    flex: 1;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.template-structure {
    display: grid;
    gap: 1rem;
}

.template-block {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.template-block h3 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.field-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.field-tags li,
.field-chip {
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.field-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.eval-scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
    margin: 1.5rem 0;
}

.eval-scale-item {
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.eval-scale-item strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
}

.eval-scale-item span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.eval-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.eval-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.eval-table th,
.eval-table td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.eval-table th:first-child,
.eval-table td:first-child {
    text-align: left;
    min-width: 280px;
}

.eval-table thead th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.eval-table tbody td:first-child {
    color: var(--text-muted);
}

.eval-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
}

@media (max-width: 1100px) {
    .hero-full-inner,
    .split-full,
    .split-full-reverse {
        grid-template-columns: 1fr;
    }

    .split-full-reverse .split-full-content,
    .split-full-reverse .split-full-aside {
        order: unset;
    }

    .bento-card.span-4,
    .bento-card.span-6,
    .bento-card.span-8 {
        grid-column: span 6;
    }

    .nav-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-card:not(.nav-card-featured),
    .nav-card-featured {
        grid-column: span 1;
    }

    .values-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .value-cell:nth-child(3) {
        border-right: none;
    }

    .value-cell:nth-child(n+4) {
        border-top: 1px solid var(--line);
    }

    .cta-full-inner {
        grid-template-columns: 1fr;
    }

    .stats-band-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:nth-child(odd)::after {
        display: block;
    }

    .stat-item:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 980px) {
    .microciclo-legend,
    .block-tabs,
    .cronogram-days,
    .doc-grid,
    .eval-scale {
        grid-template-columns: 1fr;
    }

    .block-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .block-tabs {
        grid-template-columns: 1fr;
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .split-section,
    .access-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: var(--edge-pad);
        left: var(--edge-pad);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(10, 15, 12, 0.98);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav .nav-cta {
        margin-left: 0;
    }

    .hero-full h1 {
        font-size: clamp(3.5rem, 18vw, 5rem);
    }

    .brand-metodo {
        font-size: 1.25rem;
    }

    .brand-im {
        font-size: 1.35rem;
    }

    .bento-card.span-4,
    .bento-card.span-6,
    .bento-card.span-8,
    .bento-card.span-12 {
        grid-column: span 12;
    }

    .nav-cards {
        grid-template-columns: 1fr;
    }

    .values-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-cell:nth-child(2n) {
        border-right: none;
    }

    .value-cell:nth-child(3) {
        border-right: 1px solid var(--line);
        border-top: 1px solid var(--line);
    }

    .stats-band-inner {
        grid-template-columns: 1fr;
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-item:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }

    .card-grid,
    .stats-row,
    .values-list {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* ── Page hero fullwidth (interior) ── */
.page-head {
    position: relative;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(20, 61, 40, 0.18) 0%, rgba(5, 8, 7, 0.4) 55%, transparent 100%);
}

.page-head .breadcrumbs {
    padding-bottom: 0;
}

.page-hero-full {
    position: relative;
    padding-block: 0.85rem clamp(2rem, 4vw, 3rem);
    padding-inline: 0;
    overflow: hidden;
}

.page-hero-full::after {
    display: none;
}

.page-hero-full-inner {
    width: min(calc(100% - var(--edge-pad) * 2), var(--container-wide));
    margin-inline: auto;
}

.page-hero-full-inner .section-label {
    margin-bottom: 1.15rem;
}

.page-hero-full-inner .section-title {
    max-width: 16ch;
    margin-bottom: 1.15rem;
}

.page-hero-full-inner .section-intro {
    max-width: 62ch;
    margin-bottom: 0;
}

.page-hero-full-inner .hero-full-actions {
    margin-top: 1.75rem;
}

.page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.page-hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-hero-chip strong {
    margin-right: 0.35rem;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 800;
}

.page-hero-full-center {
    text-align: center;
}

.page-hero-full-center .section-intro {
    margin-inline: auto;
}

.page-hero-compact {
    padding-block: 0.85rem clamp(2rem, 4vw, 3rem);
}

.hero-full-actions-center {
    justify-content: center;
}

.panel-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.panel-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.section-title-sm {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

/* Alerts */
.alert {
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    font-weight: 500;
}

.alert-error {
    border-color: rgba(255, 107, 90, 0.35);
    background: rgba(255, 107, 90, 0.08);
    color: #ffb4aa;
}

.alert-success {
    border-color: rgba(200, 245, 66, 0.28);
    background: rgba(200, 245, 66, 0.08);
    color: var(--accent-strong);
}

.alert-info {
    border-color: rgba(120, 180, 255, 0.25);
    background: rgba(120, 180, 255, 0.08);
    color: #b8d4ff;
}

.alert-warning {
    border-color: rgba(255, 193, 77, 0.35);
    background: rgba(255, 193, 77, 0.08);
    color: #ffd699;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-block {
    width: 100%;
}

.demo-credentials {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.92rem;
}

.demo-credentials summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 600;
}

.demo-credentials ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}

/* Panel */
.panel-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.panel-stat {
    padding: 1.35rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    text-align: center;
}

.panel-stat strong {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.panel-stat span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.panel-nav-cards {
    margin-bottom: 2.5rem;
}

.panel-recent {
    margin-bottom: 2.5rem;
}

.activity-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.activity-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.activity-list li strong {
    font-family: var(--font-display);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.activity-list li span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.panel-downloads {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Panel forms */
.panel-form {
    display: grid;
    gap: 1.5rem;
}

.form-section {
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.form-section h2 {
    margin: 0 0 1.25rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

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

.form-grid .form-group-full {
    grid-column: 1 / -1;
}

.form-group textarea {
    width: 100%;
    min-height: 110px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: rgba(200, 245, 66, 0.45);
    box-shadow: 0 0 0 3px rgba(200, 245, 66, 0.12);
}

.form-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
}

/* Panel subnav */
.panel-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.panel-subnav a {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.panel-subnav a:hover,
.panel-subnav a.is-active {
    border-color: rgba(200, 245, 66, 0.35);
    color: var(--text);
    background: rgba(200, 245, 66, 0.06);
}

.panel-subnav-logout {
    margin-left: auto;
}

/* Panel tables */
.panel-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.panel-table th,
.panel-table td {
    padding: 0.95rem 1.1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.panel-table th {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel-table tbody tr:last-child td {
    border-bottom: none;
}

.panel-table tr.is-highlight {
    background: rgba(200, 245, 66, 0.05);
}

.panel-empty {
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    text-align: center;
}

.panel-empty h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    text-transform: uppercase;
}

.panel-empty p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
}

.panel-team-layout {
    align-items: start;
    gap: 2rem;
}

.member-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.member-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.member-list li span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Panel workspace (admin UX) */
.is-panel .page-hero-compact {
    padding-block: 0.65rem clamp(1.5rem, 3vw, 2.25rem);
}

.is-panel-admin .section-tight {
    padding-top: 0.5rem;
}

.panel-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.panel-toolbar-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.panel-toolbar-search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.panel-toolbar-search input[type="search"] {
    width: min(220px, 42vw);
    min-height: 2.25rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font: inherit;
}

.panel-search-form .form-actions {
    margin-top: 0.5rem;
}

.panel-danger-zone {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 107, 90, 0.25);
}

.panel-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-weight: 500;
}

.panel-checkbox input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent);
}

.panel-user-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.85rem 0.45rem 0.45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.panel-user-avatar,
.panel-member-avatar,
.panel-team-card-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(200, 245, 66, 0.12);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.panel-user-avatar,
.panel-team-card-avatar {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.82rem;
}

.panel-member-avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.85rem;
}

.panel-member-avatar-sm {
    width: 2rem;
    height: 2rem;
    font-size: 0.72rem;
}

.panel-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.panel-user-info strong {
    font-size: 0.92rem;
    line-height: 1.2;
}

.panel-user-info span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.panel-logout-btn {
    white-space: nowrap;
}

.panel-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.panel-quick-action {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.panel-quick-action:hover {
    border-color: rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.04);
    transform: translateY(-1px);
}

.panel-quick-action-primary {
    border-color: rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.08);
}

.panel-quick-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.panel-quick-action-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.panel-quick-action-text strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.panel-quick-action-text small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.panel-stats-interactive .panel-stat-link {
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.panel-stats-interactive .panel-stat-link:hover {
    border-color: rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.04);
    transform: translateY(-1px);
}

.panel-stats-compact {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1.75rem;
}

.panel-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 1.25rem;
    align-items: start;
}

.panel-block {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.panel-block-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.panel-block-header .section-title-sm {
    margin: 0.25rem 0 0;
}

.panel-block-footer {
    margin: 1.25rem 0 0;
    text-align: center;
}

.panel-block-footer a {
    color: var(--accent-strong);
    font-weight: 600;
    text-decoration: none;
}

.panel-block-footer a:hover {
    text-decoration: underline;
}

.panel-team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.panel-team-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s, transform 0.2s;
}

.panel-team-card:hover {
    border-color: rgba(200, 245, 66, 0.28);
    transform: translateY(-1px);
}

.panel-team-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.panel-team-card-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.panel-team-card-head p {
    margin: 0.2rem 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.panel-team-card-meta,
.panel-team-card-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.panel-team-card-meta-inline {
    margin-top: 0.85rem;
}

.panel-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.panel-team-card-notes {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.panel-team-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: auto;
}

.panel-side-section + .panel-side-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.panel-link-list {
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.panel-link-list a {
    display: block;
    padding: 0.55rem 0;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.panel-link-list a:hover {
    color: var(--accent-strong);
}

.panel-side-empty,
.panel-inline-empty {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.panel-inline-empty {
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.panel-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.activity-list-compact li {
    padding: 0.65rem 0;
}

.panel-form-sticky {
    position: sticky;
    top: 5.5rem;
}

.panel-form-help {
    margin: -0.5rem 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Session planner */
.sesion-planner {
    display: grid;
    gap: 1.25rem;
}

.sesion-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.sesion-step {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.sesion-step:hover,
.sesion-step.is-active {
    border-color: rgba(200, 245, 66, 0.35);
    color: var(--text);
    background: rgba(200, 245, 66, 0.06);
}

.sesion-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: rgba(200, 245, 66, 0.12);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
}

.sesion-planner-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1.25rem;
    align-items: start;
}

.sesion-planner-form {
    min-width: 0;
}

.sesion-cronograma-hint {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(200, 245, 66, 0.25);
    border-radius: 12px;
    background: rgba(200, 245, 66, 0.05);
}

.sesion-cronograma-hint strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sesion-cronograma-hint p {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.sesion-cronograma-hint ul {
    margin: 0 0 0.75rem;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.sesion-task {
    padding: 0;
    overflow: hidden;
}

.sesion-task-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    cursor: pointer;
    list-style: none;
}

.sesion-task-summary::-webkit-details-marker {
    display: none;
}

.sesion-task-summary h2 {
    margin: 0;
}

.sesion-task-badge {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.sesion-task[open] .sesion-task-badge,
.sesion-task-badge.is-filled {
    background: rgba(200, 245, 66, 0.12);
    color: var(--text);
}

.sesion-task-body {
    padding: 0 clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem);
}

.sesion-planner-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    position: sticky;
    bottom: 1rem;
    z-index: 5;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(12, 12, 12, 0.92);
    backdrop-filter: blur(8px);
}

.sesion-preview-title {
    margin: 0.35rem 0 0.15rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sesion-preview-meta {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.sesion-preview-block {
    margin-bottom: 0.85rem;
}

.sesion-preview-block strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.sesion-preview-block p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.sesion-preview-tasks {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.sesion-preview-tasks li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 0.88rem;
}

.sesion-preview-tasks li span:first-child {
    font-weight: 700;
    color: rgba(200, 245, 66, 0.85);
}

.panel-role-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.panel-role-option {
    position: relative;
    cursor: pointer;
}

.panel-role-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.panel-role-option span {
    display: block;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.panel-role-option input:checked + span {
    border-color: rgba(200, 245, 66, 0.45);
    background: rgba(200, 245, 66, 0.08);
    color: var(--text);
}

.panel-role-option input:focus-visible + span {
    outline: 2px solid rgba(200, 245, 66, 0.45);
    outline-offset: 2px;
}

.panel-member-cards {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.panel-member-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.panel-member-card strong {
    display: block;
    font-size: 0.95rem;
}

.panel-member-card span:not(.panel-member-avatar):not(.panel-badge) {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.panel-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.panel-badge-coach {
    border: 1px solid rgba(200, 245, 66, 0.25);
    background: rgba(200, 245, 66, 0.08);
    color: var(--accent-strong);
}

.panel-roster-section + .panel-roster-section {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.panel-table-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.panel-dorsal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.35rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-display);
    font-weight: 800;
}

.panel-table-muted {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.panel-table-roster tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.panel-team-detail .panel-block-main {
    border: none;
    background: transparent;
    padding: 0;
}

.panel-team-detail .panel-block-side {
    padding: 0;
    overflow: hidden;
}

.panel-team-detail .panel-block-side .form-section {
    border: none;
    border-radius: 0;
    margin: 0;
}

.btn-danger {
    border-color: rgba(255, 107, 90, 0.35);
    background: rgba(255, 107, 90, 0.12);
    color: #ffb4aa;
}

.btn-danger:hover {
    border-color: rgba(255, 107, 90, 0.55);
    background: rgba(255, 107, 90, 0.2);
    color: #ffd4ce;
}

.panel-filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.panel-filter-bar .form-group {
    flex: 1;
    min-width: 220px;
    margin: 0;
}

.panel-table-actions-cell {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.panel-inline-form {
    display: inline;
    margin: 0;
}

.panel-table-clip {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-dl {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.panel-dl div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.75rem;
    align-items: start;
}

.panel-dl dt {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.panel-dl dd {
    margin: 0;
}

.panel-dl-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.panel-dl-inline div {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.panel-text-block,
.panel-text-content {
    margin-top: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.panel-task-block {
    margin-top: 1rem;
}

.panel-detail-actions {
    margin-top: 1.5rem;
}

.panel-score-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(200, 245, 66, 0.28);
    background: rgba(200, 245, 66, 0.08);
    color: var(--accent-strong);
    font-family: var(--font-display);
    font-weight: 800;
}

.panel-score-highlight {
    color: var(--accent);
}

.panel-score-grid {
    display: grid;
    gap: 0.85rem;
}

.panel-score-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.panel-score-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.panel-score-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(200, 245, 66, 0.45), var(--accent));
}

.panel-score-live {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}

.panel-input-action {
    display: flex;
    gap: 0.5rem;
}

.panel-input-action input {
    flex: 1;
}

.panel-member-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-member-menu {
    position: relative;
}

.panel-member-menu summary {
    list-style: none;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text-muted);
}

.panel-member-menu summary::-webkit-details-marker {
    display: none;
}

.panel-member-menu-body {
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 5;
    min-width: 220px;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 0.65rem;
}

.panel-member-menu-body label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.panel-member-menu-body input {
    width: 100%;
    margin-bottom: 0.5rem;
}

.panel-member-menu-table .panel-member-menu-body {
    right: 0;
    left: auto;
}

.panel-side-tabs {
    display: grid;
    gap: 0;
}

.panel-side-tablist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.panel-side-tablist button {
    padding: 0.85rem 0.75rem;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
}

.panel-side-tablist button.is-active {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.panel-side-tabs [role="tabpanel"] {
    display: none;
}

.panel-side-tabs [role="tabpanel"].is-active {
    display: block;
}

.activity-list-compact a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: inherit;
    text-decoration: none;
}

.activity-list-compact a:hover strong {
    color: var(--accent-strong);
}

.panel-record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
    align-items: center;
}

.panel-record-actions form {
    margin: 0;
}

.panel-search-empty {
    text-align: center;
    color: var(--text-muted);
}

/* Principle tabs */
.principle-tabs-ui {
    display: grid;
    gap: 1rem;
}

.principle-tablist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

.principle-tab {
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.principle-tab:hover,
.principle-tab.is-active {
    border-color: rgba(200, 245, 66, 0.28);
    background: rgba(200, 245, 66, 0.06);
    color: var(--text);
}

.principle-panels .principle-panel[hidden] {
    display: none;
}

.principle-panels .principle-panel.is-active {
    animation: fade-up 0.35s ease both;
}

/* Eval form */
.eval-form-grid {
    display: grid;
    gap: 1rem;
}

.eval-form-row {
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.eval-form-row legend {
    padding: 0 0 0.75rem;
    font-weight: 600;
    color: var(--text);
}

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

.eval-radio {
    display: grid;
    gap: 0.25rem;
    justify-items: center;
    padding: 0.65rem 0.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.eval-radio:has(input:checked) {
    border-color: rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.08);
}

.eval-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.eval-radio-num {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent);
}

.eval-radio-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 980px) {
    .panel-stats,
    .panel-quick-actions,
    .form-grid,
    .principle-tablist {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel-admin-grid {
        grid-template-columns: 1fr;
    }

    .panel-detail-grid {
        grid-template-columns: 1fr;
    }

    .panel-dl div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .panel-form-sticky {
        position: static;
    }

    .sesion-planner-layout {
        grid-template-columns: 1fr;
    }

    .sesion-planner-actions {
        position: static;
    }

    .eval-radios {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .panel-stats,
    .panel-quick-actions,
    .principle-tablist {
        grid-template-columns: 1fr;
    }

    .panel-toolbar {
        flex-direction: column;
    }

    .panel-toolbar-meta {
        width: 100%;
        justify-content: space-between;
    }

    .panel-subnav {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .eval-radios {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Design polish v2 ── */
.hero-scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2.75rem;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.25s ease, transform 0.25s ease;
}

.hero-scroll-hint svg {
    animation: bob 2.2s ease-in-out infinite;
}

.hero-scroll-hint:hover {
    color: var(--accent);
    transform: translateY(2px);
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.section-coach {
    border-block: 1px solid var(--line);
    background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(42, 122, 80, 0.18), transparent 60%),
        linear-gradient(180deg, var(--bg-elevated), var(--bg-deep));
}

.coach-band {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.coach-band-visual {
    position: relative;
    width: clamp(140px, 18vw, 220px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.coach-monogram {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-shadow: 0 0 40px var(--accent-glow);
}

.coach-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(200, 245, 66, 0.22);
    border-radius: 50%;
    animation: spin-slow 24s linear infinite;
}

.coach-ring::before,
.coach-ring::after {
    content: "";
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(200, 245, 66, 0.12);
    border-radius: 50%;
}

.coach-ring::after {
    inset: 24%;
    animation: spin-slow 18s linear infinite reverse;
}

@keyframes spin-slow {
    to { transform: rotate(360deg); }
}

.coach-highlights {
    margin: 1.5rem 0 2rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.coach-highlights li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--text-muted);
}

.coach-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.page-hero-full {
    background:
        radial-gradient(ellipse 70% 100% at 100% 0%, rgba(42, 122, 80, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(20, 61, 40, 0.12), transparent 70%);
}

.page-head {
    background:
        linear-gradient(180deg, rgba(20, 61, 40, 0.14) 0%, rgba(5, 8, 7, 0.35) 100%);
}

.category-timeline {
    position: relative;
}

.category-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
}

.category-card-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.35rem;
}

.category-index {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(200, 245, 66, 0.25);
    background: rgba(200, 245, 66, 0.06);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
}

.category-card-body {
    min-width: 0;
}

.category-card:nth-child(odd) {
    background:
        linear-gradient(135deg, rgba(20, 61, 40, 0.15), transparent 55%),
        var(--bg-card);
}

.doc-card {
    position: relative;
    overflow: hidden;
}

.doc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.65;
}

.doc-card .btn {
    margin-top: auto;
}

.footer-cta-band {
    border-top: 1px solid var(--line);
    background: rgba(200, 245, 66, 0.04);
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: min(calc(100% - var(--edge-pad) * 2), var(--container-wide));
    margin-inline: auto;
    padding: 1.35rem 0;
}

.footer-cta-text {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
}

.footer-nav-title {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-toggle.is-open span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 980px) {
    .coach-band {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .coach-band-visual {
        margin-inline: auto;
    }

    .coach-highlights {
        text-align: left;
    }

    .hero-full-actions,
    .coach-band .hero-full-actions {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-meta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Partidos · plan, convocatoria y alineación */
.panel-badge-success {
    border: 1px solid rgba(200, 245, 66, 0.28);
    background: rgba(200, 245, 66, 0.1);
    color: var(--accent-strong);
}

.panel-badge-muted {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

.panel-badge-accent {
    border: 1px solid rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.12);
    color: var(--accent);
}

.panel-badge-warning {
    border: 1px solid rgba(255, 180, 80, 0.35);
    background: rgba(255, 180, 80, 0.12);
    color: #ffc980;
}

.panel-badge-info {
    border: 1px solid rgba(120, 180, 255, 0.35);
    background: rgba(120, 180, 255, 0.12);
    color: #b8d4ff;
}

.panel-badge-danger {
    border: 1px solid rgba(255, 100, 100, 0.35);
    background: rgba(255, 100, 100, 0.12);
    color: #ffb0b0;
}

.panel-table-sub {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-soft);
    font-size: 0.78rem;
}

.partido-convocatoria-wrap {
    margin-top: 0.75rem;
}

.partido-convocatoria-table select,
.partido-convocatoria-table input[type="text"] {
    width: 100%;
    min-width: 0;
}

.partido-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 0.75rem;
}

.partido-plan-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.partido-plan-card h3 {
    margin: 0 0 0.55rem;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.partido-plan-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
}

.partido-lineup-list {
    display: grid;
    gap: 0.45rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.partido-lineup-list li {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
}

.partido-lineup-list li.is-highlight {
    border-color: rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.06);
}

.partido-lineup-dorsal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
}

.partido-lineup-name {
    font-weight: 600;
}

.partido-lineup-pos {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.partido-pitch-wrap {
    margin-bottom: 2rem;
}

.partido-pitch {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 68 / 105;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #2e7d32 0%, #1b5e20 55%, #145214 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.15);
}

.partido-pitch-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.partido-pitch-player {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 3.5rem;
    text-align: center;
    z-index: 1;
}

.partido-pitch-player-dorsal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #1b5e20;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.partido-pitch-player.is-highlight .partido-pitch-player-dorsal {
    background: var(--accent);
    color: #111;
}

.partido-pitch-player-name {
    font-size: 0.62rem;
    font-weight: 600;
    color: #fff;
    max-width: 4.5rem;
    line-height: 1.15;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partido-pitch-player-pos {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
}

.partido-pitch-caption {
    text-align: center;
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.partido-pitch-editor-wrap {
    position: relative;
    margin-bottom: 1.5rem;
}

.partido-pitch-editor-header {
    margin-bottom: 0.75rem;
}

.partido-pitch-editor {
    margin-bottom: 0;
}

.partido-pitch-slots {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.partido-pitch-slot {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 3.75rem;
    padding: 0.25rem 0.35rem;
    border: 2px dashed rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.partido-pitch-slot.is-assigned {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.35);
}

.partido-pitch-slot.is-draggable {
    cursor: grab;
}

.partido-pitch-slot.is-dragging {
    opacity: 0.55;
    cursor: grabbing;
}

.partido-pitch-slot.is-drop-target {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--accent);
}

.partido-pitch-slot-label {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.partido-pitch-slot-player {
    font-size: 0.62rem;
    font-weight: 600;
    max-width: 5rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partido-pitch-picker {
    position: absolute;
    z-index: 5;
    width: min(220px, 90vw);
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.partido-pitch-picker-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partido-pitch-picker-select {
    width: 100%;
    min-height: 2.25rem;
}

.partido-pitch-picker-actions {
    display: flex;
    gap: 0.35rem;
}

.panel-injuries-layout {
    align-items: start;
}

.comunicado-body {
    font-size: 1.05rem;
    line-height: 1.7;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.panel-table-compact input.input-sm {
    width: 4rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.88rem;
}

.panel-ranking-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.panel-ranking-list li {
    display: grid;
    grid-template-columns: 2rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.panel-ranking-pos {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--accent);
}

@media (max-width: 768px) {
    .partido-pitch-player-name {
        display: none;
    }
}

.panel-partido-squad {
    margin-top: 1rem;
}

.panel-rival-analysis {
    margin-top: 0.75rem;
}

@media (max-width: 900px) {
    .partido-plan-grid {
        grid-template-columns: 1fr;
    }
}

/* Jugador · Mi planificación */
.player-planning-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1.25rem;
    align-items: start;
}

.player-planning-main {
    display: grid;
    gap: 1.25rem;
}

.player-objective-card {
    padding: 1rem 1.1rem;
    border-left: 4px solid rgba(200, 245, 66, 0.65);
    background: rgba(200, 245, 66, 0.05);
    border-radius: 0 12px 12px 0;
}

.player-objective-card p {
    margin: 0 0 0.75rem;
    line-height: 1.55;
}

.player-objective-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.player-objective-meta {
    margin: 0.75rem 0 0;
    color: var(--text-soft);
    font-size: 0.82rem;
}

.player-session-highlight {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.player-session-highlight p {
    margin: 0 0 0.55rem;
    line-height: 1.55;
}

.player-session-highlight p:last-child {
    margin-bottom: 0;
}

.player-session-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.player-session-item a {
    display: block;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.player-session-item a:hover {
    border-color: rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.04);
}

.player-session-item.is-past a {
    opacity: 0.82;
}

.player-session-item-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.player-session-item p {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.player-session-tag {
    display: inline-block;
    margin-top: 0.55rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(200, 245, 66, 0.1);
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 700;
}

.player-cronograma-bloque {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.player-week-picker {
    margin-bottom: 1rem;
}

.player-week-picker label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.player-week-picker select {
    width: 100%;
}

.player-microciclo-cards {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.player-microciclo-card {
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.player-microciclo-card.is-today {
    border-color: rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.06);
}

.player-microciclo-card h3 {
    margin: 0 0 0.45rem;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.player-microciclo-card p,
.player-microciclo-card li {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.player-microciclo-card ul {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.35rem;
}

@media (max-width: 980px) {
    .player-planning-grid {
        grid-template-columns: 1fr;
    }
}

/* Sesiones · control de asistencia */
.sesion-asistencia-wrap {
    margin-top: 0.75rem;
}

.sesion-asistencia-table select,
.sesion-asistencia-table input[type="text"] {
    width: 100%;
    min-width: 0;
}

.sesion-asistencia-stats {
    margin-bottom: 1.25rem;
}

.sesion-asistencia-stats-inline {
    margin-bottom: 1rem;
}

.sesion-asistencia-stats-inline .panel-stat {
    padding: 0.85rem 1rem;
}

.sesion-asistencia-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.sesion-asistencia-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.sesion-asistencia-list-name strong {
    margin-right: 0.35rem;
}

.sesion-asistencia-resumen {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.sesion-asistencia-resumen-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem 0.85rem;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.sesion-asistencia-resumen-obs {
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Campograma + biblioteca de tareas */
.campograma-view {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(20, 61, 40, 0.35);
    overflow: hidden;
}

.campograma-editor-pro {
    --campo-bg: #0c1410;
    --campo-panel: #111a15;
    --campo-panel-2: #0f1813;
    --campo-border: rgba(245, 240, 232, 0.1);
    --campo-accent: #c8f542;
    border: 1px solid var(--campo-border);
    border-radius: 14px;
    background: var(--campo-bg);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.campograma-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.campograma-editor-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--campo-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.campograma-editor-brand {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.campograma-editor-title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--text);
}

.campograma-editor-stats {
    font-size: 0.74rem;
    color: var(--text-soft);
    font-weight: 500;
}

.campograma-editor-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.campograma-header-group {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--campo-border);
}

.campograma-preset-select {
    min-width: 11rem;
    max-width: 16rem;
    border: 1px solid var(--campo-border);
    border-radius: 10px;
    background: var(--campo-panel);
    color: var(--text);
    font: inherit;
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
}

.campograma-icon-btn {
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.campograma-icon-btn svg {
    width: 1.05rem;
    height: 1.05rem;
}

.campograma-icon-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--campo-border);
}

.campograma-icon-btn.is-active {
    color: var(--campo-accent);
    background: rgba(200, 245, 66, 0.1);
    border-color: rgba(200, 245, 66, 0.28);
}

.campograma-icon-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.campograma-icon-btn-danger:hover {
    color: #ff8f7d;
    background: rgba(255, 107, 90, 0.12);
    border-color: rgba(255, 107, 90, 0.25);
}

.campograma-editor-body {
    display: grid;
    grid-template-columns: minmax(148px, 168px) minmax(0, 1fr) minmax(200px, 240px);
    min-height: 420px;
}

.campograma-palette {
    padding: 0.65rem 0.55rem;
    border-right: 1px solid var(--campo-border);
    background: var(--campo-panel-2);
    overflow-y: auto;
    max-height: 72vh;
}

.campograma-palette-section + .campograma-palette-section {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.campograma-palette-heading {
    display: block;
    margin: 0 0 0.45rem 0.35rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.campograma-palette-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
}

.campograma-palette-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
    padding: 0.45rem 0.25rem 0.4rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.campograma-palette-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--campo-border);
    color: var(--text);
}

.campograma-palette-btn.is-active {
    background: rgba(200, 245, 66, 0.1);
    border-color: rgba(200, 245, 66, 0.32);
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(200, 245, 66, 0.08);
}

.campograma-palette-glyph {
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.campograma-palette-label {
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
}

.campograma-palette-glyph-select {
    border: 2px solid rgba(245, 240, 232, 0.55);
    border-radius: 4px;
    width: 1.1rem;
    height: 1.1rem;
}

.campograma-palette-glyph-a { background: #5eb8ff; color: #0d2a45; }
.campograma-palette-glyph-b { background: #ff8f6b; color: #4a1d12; }
.campograma-palette-glyph-gk { background: #f5d442; border-radius: 4px; color: #5a4a08; }
.campograma-palette-glyph-joker { background: #9ee86a; color: #1a3010; }
.campograma-palette-glyph-coach { background: #c8a0ff; clip-path: polygon(50% 8%, 8% 92%, 92% 92%); border-radius: 0; }
.campograma-palette-glyph-cone { background: linear-gradient(180deg, #f5c542, #c99212); clip-path: polygon(50% 5%, 5% 95%, 95% 95%); border-radius: 0; }
.campograma-palette-glyph-ball { background: #f5f0e8; border: 2px solid #555; }
.campograma-palette-glyph-hurdle { background: rgba(245, 240, 232, 0.45); border-radius: 3px; width: 1.4rem; height: 0.55rem; }
.campograma-palette-glyph-mannequin { background: #e85d8a; border-radius: 3px; width: 0.55rem; height: 1.35rem; }
.campograma-palette-glyph-goal { border: 2px solid rgba(245, 240, 232, 0.75); border-radius: 2px; width: 1.15rem; height: 0.85rem; }
.campograma-palette-glyph-mini-goal { border: 2px dashed rgba(245, 240, 232, 0.55); border-radius: 2px; width: 0.9rem; height: 0.65rem; }
.campograma-palette-glyph-gate { background: linear-gradient(90deg, #f5c542 0 18%, transparent 18% 82%, #f5c542 82%); border-radius: 2px; }
.campograma-palette-glyph-zone { background: rgba(200, 245, 66, 0.22); border: 1px dashed rgba(200, 245, 66, 0.55); border-radius: 3px; width: 1.25rem; height: 0.9rem; }
.campograma-palette-glyph-press { background: rgba(255, 107, 90, 0.22); border: 1px solid rgba(255, 107, 90, 0.5); border-radius: 3px; width: 1.25rem; height: 0.9rem; }
.campograma-palette-glyph-channel { background: rgba(94, 184, 255, 0.18); border: 1px solid rgba(94, 184, 255, 0.45); border-radius: 2px; width: 1.45rem; height: 0.55rem; }
.campograma-palette-glyph-rondo { background: rgba(200, 245, 66, 0.12); border: 1px dashed rgba(200, 245, 66, 0.45); }
.campograma-palette-glyph-run { background: linear-gradient(90deg, transparent 45%, var(--campo-accent) 45% 55%, transparent 55%); color: var(--campo-accent); }
.campograma-palette-glyph-pass { background: linear-gradient(90deg, transparent 40%, #5eb8ff 40% 60%, transparent 60%); color: #5eb8ff; }
.campograma-palette-glyph-press-arrow { background: linear-gradient(90deg, transparent 40%, #ff6b5a 40% 60%, transparent 60%); color: #ff6b5a; }
.campograma-palette-glyph-line { background: linear-gradient(90deg, transparent 44%, rgba(245,240,232,.7) 44% 56%, transparent 56%); }
.campograma-palette-glyph-phase { background: rgba(0,0,0,.35); border: 1px solid var(--campo-accent); color: var(--campo-accent); font-size: 0.62rem; }
.campograma-palette-glyph-text { background: rgba(255,255,255,.08); border: 1px solid var(--campo-border); font-family: inherit; }

.campograma-canvas-shell {
    position: relative;
    flex: 1;
    display: grid;
    place-items: center;
    padding: 1.1rem 1rem 0.65rem;
    transform: scale(var(--campograma-zoom, 1));
    transform-origin: center center;
    transition: transform 0.12s ease;
}

.campograma-zoom-controls {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.2rem;
    border-radius: 10px;
    border: 1px solid var(--campo-border);
    background: rgba(8, 12, 10, 0.82);
    backdrop-filter: blur(6px);
}

.campograma-zoom-btn {
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.campograma-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.campograma-zoom-label {
    min-width: 2.8rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-soft);
}

.campograma-zoom-btn-reset {
    font-size: 0.85rem;
    margin-left: 0.1rem;
}

.campograma-guide-line {
    stroke: rgba(200, 245, 66, 0.55);
    stroke-width: 0.2;
    stroke-dasharray: 1.2 0.8;
    pointer-events: none;
}

.campograma-line-touchline {
    stroke-width: 0.38;
    stroke: rgba(255, 255, 255, 0.5);
}

.campograma-line-spot {
    fill: rgba(255, 255, 255, 0.55);
    stroke: none;
}

.campograma-inspector-layers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.campograma-inspector-layers-count {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--campo-accent);
    background: rgba(200, 245, 66, 0.1);
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
}

.campograma-layers-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 11rem;
    overflow-y: auto;
    border: 1px solid var(--campo-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
}

.campograma-layers-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.76rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.campograma-layers-item:last-child {
    border-bottom: none;
}

.campograma-layers-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.campograma-layers-item.is-active {
    background: rgba(200, 245, 66, 0.1);
    color: var(--text);
}

.campograma-layers-empty {
    padding: 0.55rem;
    font-size: 0.74rem;
    color: var(--text-soft);
    text-align: center;
}

.campograma-layers-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    flex-shrink: 0;
    background: var(--text-soft);
}

.campograma-layers-dot--player-a { background: #5eb8ff; }
.campograma-layers-dot--player-b { background: #ff8f6b; }
.campograma-layers-dot--player-gk { background: #f5d442; border-radius: 2px; }
.campograma-layers-dot--zone,
.campograma-layers-dot--zone-press,
.campograma-layers-dot--zone-channel,
.campograma-layers-dot--zone-rondo { background: #c8f542; opacity: 0.7; }
.campograma-layers-dot--arrow-pass { background: #5eb8ff; }
.campograma-layers-dot--arrow-press { background: #ff6b5a; }
.campograma-layers-dot--arrow-run { background: var(--campo-accent); }

.campograma-layers-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.campograma-shortcuts-panel {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
}

.campograma-shortcuts-panel[hidden] {
    display: none;
}

.campograma-shortcuts-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.campograma-shortcuts-card {
    position: relative;
    z-index: 1;
    width: min(92%, 22rem);
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--campo-border);
    background: var(--campo-panel);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.campograma-shortcuts-card h4 {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}

.campograma-shortcuts-list {
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.campograma-shortcuts-list > div {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.5rem;
    align-items: baseline;
}

.campograma-shortcuts-list dt {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--campo-accent);
}

.campograma-shortcuts-list dd {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.campograma-shortcuts-close {
    margin-top: 0.85rem;
    width: 100%;
    border: 1px solid var(--campo-border);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    padding: 0.45rem 0.65rem;
    cursor: pointer;
}

.campograma-editor-pro {
    position: relative;
}

.campograma-workspace {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(200, 245, 66, 0.04), transparent 55%), #0a100d;
    overflow: auto;
}

.campograma-canvas-shell .campograma-svg {
    width: min(100%, 920px);
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 14px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.campograma-statusbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    align-items: center;
    padding: 0.55rem 1rem;
    border-top: 1px solid var(--campo-border);
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.74rem;
    color: var(--text-soft);
}

.campograma-status-hint {
    margin-left: auto;
    opacity: 0.75;
}

.campograma-legend-preview {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin: 0 1rem 0.85rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border-left: 3px solid rgba(200, 245, 66, 0.45);
    background: rgba(200, 245, 66, 0.05);
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.campograma-legend-preview-label {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--campo-accent);
}

.campograma-inspector {
    padding: 0.85rem 0.8rem;
    border-left: 1px solid var(--campo-border);
    background: var(--campo-panel);
    overflow-y: auto;
    max-height: 72vh;
}

.campograma-inspector-title {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.campograma-inspector-block + .campograma-inspector-block {
    margin-top: 0.8rem;
}

.campograma-inspector-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
}

.campograma-inspector-input {
    width: 100%;
    border: 1px solid var(--campo-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    color: var(--text);
    font: inherit;
    font-size: 0.84rem;
    padding: 0.5rem 0.65rem;
}

.campograma-inspector-textarea {
    resize: vertical;
    min-height: 4.5rem;
    line-height: 1.45;
}

.campograma-inspector-value {
    margin: 0;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    background: rgba(200, 245, 66, 0.06);
    border: 1px solid rgba(200, 245, 66, 0.14);
    font-size: 0.82rem;
    color: var(--text);
}

.campograma-inspector-help {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    color: var(--text-soft);
    line-height: 1.35;
}

.campograma-grass-a { fill: #1b643c; }
.campograma-grass-b { fill: #1a5c38; }

.campograma-grid-line {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 0.12;
    pointer-events: none;
}

.campograma-handle-rotate {
    fill: #8ec8ff;
    cursor: grab;
}

.campograma-line-free {
    stroke: rgba(245, 240, 232, 0.75);
    stroke-width: 0.45;
    fill: none;
}

.campograma-line-dashed {
    stroke-dasharray: 1.8 1.2;
}

.campograma-line-bold {
    stroke-width: 0.55;
}

.campograma-selection-box {
    fill: rgba(200, 245, 66, 0.1);
    stroke: var(--accent-strong);
    stroke-width: 0.4;
    stroke-dasharray: 1.5 1;
    pointer-events: none;
}

.campograma-selection-ring {
    fill: none;
    stroke: var(--accent-strong);
    stroke-width: 0.45;
    stroke-dasharray: 1.2 0.8;
    pointer-events: none;
}

.campograma-selection-ring.is-locked {
    stroke: #f5a442;
    stroke-dasharray: 0.8 0.6;
}

.campograma-marquee {
    fill: rgba(94, 184, 255, 0.12);
    stroke: rgba(94, 184, 255, 0.75);
    stroke-width: 0.35;
    stroke-dasharray: 1.2 0.8;
    pointer-events: none;
}

[data-campograma-elements] .is-locked {
    opacity: 0.72;
}

[data-campograma-elements] .is-selected.is-locked {
    opacity: 0.85;
}

.campograma-layers-lock {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 0.72rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.55;
    padding: 0;
}

.campograma-layers-lock:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
}

.campograma-layers-item.is-locked .campograma-layers-name {
    opacity: 0.65;
}

.campograma-context-menu {
    position: absolute;
    z-index: 30;
    min-width: 168px;
    padding: 0.3rem;
    border-radius: 12px;
    border: 1px solid var(--campo-border);
    background: rgba(12, 18, 15, 0.96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.campograma-context-item {
    display: block;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    text-align: left;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
}

.campograma-context-item:hover:not(:disabled) {
    background: rgba(200, 245, 66, 0.1);
}

.campograma-context-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.campograma-context-sep {
    height: 1px;
    margin: 0.25rem 0.35rem;
    background: var(--campo-border);
}

.campograma-inspector-range {
    width: 100%;
    accent-color: var(--campo-accent);
}

.campograma-align-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
}

.campograma-align-btn {
    border: 1px solid var(--campo-border);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0.4rem 0;
    cursor: pointer;
}

.campograma-align-btn:hover {
    border-color: rgba(200, 245, 66, 0.35);
    color: var(--text);
    background: rgba(200, 245, 66, 0.08);
}

.campograma-export-scale {
    border: 1px solid var(--campo-border);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.72rem;
    padding: 0.3rem 0.45rem;
    cursor: pointer;
}

.campograma-inspector-frames-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.campograma-frame-actions {
    display: inline-flex;
    gap: 0.2rem;
}

.campograma-frame-action {
    width: 1.55rem;
    height: 1.55rem;
    border: 1px solid var(--campo-border);
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
}

.campograma-frame-action:hover {
    border-color: rgba(200, 245, 66, 0.35);
    color: var(--text);
}

.campograma-frame-action-danger:hover {
    border-color: rgba(255, 107, 90, 0.45);
    color: #ff8f7a;
}

.campograma-frames-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.campograma-frame-tab {
    border: 1px solid var(--campo-border);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.74rem;
    padding: 0.28rem 0.65rem;
    cursor: pointer;
}

.campograma-frame-tab.is-active {
    border-color: rgba(200, 245, 66, 0.45);
    background: rgba(200, 245, 66, 0.12);
    color: var(--text);
}

.campograma-palette-glyph-measure {
    font-size: 0.72rem;
    font-weight: 800;
    color: #8ec8ff;
}

.campograma-measure-line {
    stroke: rgba(142, 200, 255, 0.85);
    stroke-width: 0.42;
    stroke-dasharray: 1.2 0.9;
    fill: none;
}

.campograma-measure-label {
    fill: #8ec8ff;
    font-size: 2.1px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
}

.campograma-editor-pro.is-preview .campograma-palette,
.campograma-editor-pro.is-preview .campograma-inspector,
.campograma-editor-pro.is-preview .campograma-editor-header-actions > :not([data-campograma-action="preview"]) {
    opacity: 0.35;
    pointer-events: none;
}

.campograma-editor-pro.is-preview .campograma-canvas-shell .campograma-svg {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 18px 48px rgba(0, 0, 0, 0.5);
}

.campograma-layers-item.is-dragging {
    opacity: 0.45;
}

.campograma-layers-item.is-drag-over {
    background: rgba(94, 184, 255, 0.12);
}

.campograma-frames-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.campograma-frame-card {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.campograma-frame-caption {
    padding: 0.45rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--campo-accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.campograma-svg-frame {
    display: block;
    width: 100%;
    height: auto;
}

.campograma-editor-stats-breakdown {
    font-size: 0.72rem;
    color: var(--text-soft);
    margin-left: 0.35rem;
}

.campograma-frame-nav {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.campograma-frame-nav-btn {
    flex: 1;
    border: 1px solid var(--campo-border);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.76rem;
    padding: 0.38rem 0.5rem;
    cursor: pointer;
}

.campograma-frame-nav-btn-play {
    flex: 1.4;
}

.campograma-frame-nav-btn:hover,
.campograma-frame-nav-btn.is-active {
    border-color: rgba(200, 245, 66, 0.4);
    color: var(--text);
    background: rgba(200, 245, 66, 0.1);
}

.campograma-thirds-line {
    stroke: rgba(245, 240, 232, 0.16);
    stroke-width: 0.18;
    stroke-dasharray: 2 1.5;
    pointer-events: none;
}

.campograma-io-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.campograma-io-btn {
    border: 1px solid var(--campo-border);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.76rem;
    padding: 0.45rem 0.55rem;
    cursor: pointer;
}

.campograma-io-btn:hover {
    border-color: rgba(200, 245, 66, 0.35);
    color: var(--text);
}

.campograma-playback {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.campograma-playback-stage {
    position: relative;
}

.campograma-playback-caption {
    position: absolute;
    left: 0.55rem;
    bottom: 0.45rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--campo-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.campograma-playback-frame {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.campograma-playback-frame.is-active {
    opacity: 1;
    pointer-events: auto;
}

.campograma-playback-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.45rem 0.5rem;
}

.campograma-playback-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.campograma-playback-btn-play {
    width: 2.35rem;
}

.campograma-playback-btn:hover {
    border-color: rgba(200, 245, 66, 0.35);
    background: rgba(200, 245, 66, 0.1);
}

.campograma-playback-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-left: auto;
}

.campograma-playback-dot {
    width: 0.55rem;
    height: 0.55rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    padding: 0;
}

.campograma-playback-dot.is-active {
    background: var(--campo-accent);
    transform: scale(1.15);
}

.campograma-compact-multi {
    position: relative;
}

.campograma-compact-badge {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--campo-accent);
    font-size: 0.65rem;
    font-weight: 700;
}

.campograma-handle {
    fill: var(--accent-strong);
    stroke: #0a120d;
    stroke-width: 0.25;
    cursor: pointer;
}

.campograma-handle:hover {
    fill: #fff;
}

.campograma-arrow-preview {
    opacity: 0.7;
    pointer-events: none;
}

[data-campograma-elements] .is-selected {
    filter: drop-shadow(0 0 1px rgba(228, 255, 122, 0.9));
}

.campograma-editor-pro:focus-within {
    outline: 1px solid rgba(200, 245, 66, 0.18);
    outline-offset: 2px;
}

.campograma-svg {
    width: 100%;
    height: auto;
    display: block;
}

.campograma-svg-interactive {
    touch-action: none;
}

.campograma-pitch {
    fill: #1a5c38;
}

.campograma-line,
.campograma-area {
    fill: none;
    stroke: rgba(255, 255, 255, 0.42);
    stroke-width: 0.32;
}

.campograma-player-a {
    fill: #5eb8ff;
    stroke: #0d2a45;
    stroke-width: 0.35;
    filter: drop-shadow(0 0.15px 0.4px rgba(0, 0, 0, 0.45));
}

.campograma-player-b {
    fill: #ff8f6b;
    stroke: #4a1d12;
    stroke-width: 0.35;
    filter: drop-shadow(0 0.15px 0.4px rgba(0, 0, 0, 0.45));
}

.campograma-player-gk {
    fill: #f5d442;
    stroke: #5a4a08;
    stroke-width: 0.3;
}

.campograma-player-joker {
    fill: #9ee86a;
    stroke: #2a4a18;
    stroke-width: 0.25;
}

.campograma-joker-mark {
    fill: #1a3010;
    font-size: 2.4px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}

.campograma-coach {
    fill: #c8a0ff;
    stroke: #3d2a5c;
    stroke-width: 0.25;
}

.campograma-mannequin {
    fill: #e85d8a;
    stroke: #4a1830;
    stroke-width: 0.2;
}

.campograma-mannequin-head {
    fill: #f5a0bc;
    stroke: #4a1830;
    stroke-width: 0.2;
}

.campograma-label-sub {
    font-size: 1.8px;
}

.campograma-cone-small {
    stroke-width: 0.15;
}

.campograma-cone {
    fill: #f5c542;
    stroke: #6a4d08;
    stroke-width: 0.2;
}

.campograma-ball {
    fill: #f5f0e8;
    stroke: #333;
    stroke-width: 0.2;
}

.campograma-goal {
    fill: none;
    stroke: rgba(245, 240, 232, 0.8);
    stroke-width: 0.5;
}

.campograma-mini-goal {
    fill: none;
    stroke: rgba(245, 240, 232, 0.65);
    stroke-width: 0.45;
    stroke-dasharray: 0.8 0.5;
}

.campograma-hurdle {
    fill: rgba(245, 240, 232, 0.35);
    stroke: rgba(245, 240, 232, 0.7);
    stroke-width: 0.3;
}

.campograma-gate-line {
    stroke: rgba(245, 197, 66, 0.55);
    stroke-width: 0.35;
    stroke-dasharray: 1 0.8;
    fill: none;
}

.campograma-zone {
    fill: rgba(200, 245, 66, 0.18);
    stroke: rgba(200, 245, 66, 0.55);
    stroke-width: 0.35;
    stroke-dasharray: 1.2 0.8;
}

.campograma-zone-press {
    fill: rgba(255, 107, 90, 0.2);
    stroke: rgba(255, 107, 90, 0.65);
    stroke-width: 0.4;
    stroke-dasharray: 1.4 0.7;
}

.campograma-zone-channel {
    fill: rgba(94, 184, 255, 0.14);
    stroke: rgba(94, 184, 255, 0.55);
    stroke-width: 0.35;
}

.campograma-zone-rondo {
    fill: rgba(200, 245, 66, 0.1);
    stroke: rgba(200, 245, 66, 0.5);
    stroke-width: 0.35;
    stroke-dasharray: 1.6 1;
}

.campograma-arrow {
    stroke: var(--accent-strong);
    stroke-width: 0.55;
    fill: none;
}

.campograma-arrow-run {
    stroke: var(--accent-strong);
    stroke-width: 0.6;
    fill: none;
}

.campograma-arrow-pass {
    stroke: #5eb8ff;
    stroke-width: 0.5;
    fill: none;
}

.campograma-arrow-press {
    stroke: #ff6b5a;
    stroke-width: 0.55;
    fill: none;
}

.campograma-arrowhead-pass {
    fill: #5eb8ff;
}

.campograma-arrowhead-press {
    fill: #ff6b5a;
}

.campograma-phase {
    fill: rgba(0, 0, 0, 0.45);
    stroke: var(--accent-strong);
    stroke-width: 0.35;
}

.campograma-phase-label {
    fill: var(--accent-strong);
    font-size: 2.8px;
    font-weight: 800;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}

.campograma-legend {
    margin: 0.5rem 0 0;
    padding: 0.45rem 0.6rem;
    border-left: 3px solid rgba(200, 245, 66, 0.45);
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.campograma-arrowhead {
    fill: var(--accent-strong);
}

.campograma-label,
.campograma-text,
.campograma-zone-label {
    fill: #f5f0e8;
    font-size: 2.2px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}

.campograma-hint {
    margin: 0.55rem 0 0;
    color: var(--text-soft);
    font-size: 0.82rem;
}

@media (max-width: 980px) {
    .campograma-editor-body {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
    }

    .campograma-palette {
        border-right: none;
        border-bottom: 1px solid var(--campo-border);
        max-height: none;
    }

    .campograma-palette-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .campograma-inspector {
        border-left: none;
        border-top: 1px solid var(--campo-border);
        max-height: none;
    }

    .campograma-status-hint {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    .campograma-palette-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .campograma-editor-header {
        flex-direction: column;
        align-items: stretch;
    }

    .campograma-editor-header-actions {
        justify-content: flex-start;
    }
}

[data-campograma-elements] .is-selected {
    filter: drop-shadow(0 0 0.4px #e4ff7a);
}

.sesion-task-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sesion-campograma-section h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.task-library-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(5, 8, 7, 0.72);
}

.task-library-modal[hidden] {
    display: none;
}

.task-library-modal-dialog {
    width: min(640px, 100%);
    max-height: 80vh;
    overflow: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 1rem;
}

.task-library-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.task-library-list {
    display: grid;
    gap: 0.65rem;
}

.task-library-item {
    display: grid;
    gap: 0.2rem;
    width: 100%;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: inherit;
    padding: 0.85rem 1rem;
    cursor: pointer;
}

.task-library-item:hover {
    border-color: rgba(200, 245, 66, 0.35);
}

.task-library-item strong {
    font-size: 0.98rem;
}

.task-library-meta {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.task-library-empty {
    color: var(--text-muted);
    margin: 0;
}

.task-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.task-library-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 1rem;
    display: grid;
    gap: 0.85rem;
}

.task-library-card-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.task-library-card-head h3 {
    margin: 0;
    font-size: 1.05rem;
}

.task-library-card-head p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.task-library-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.campograma-view-compact .campograma-svg {
    max-height: 140px;
}

.panel-dl-compact {
    gap: 0.35rem;
}

.panel-dl-compact div {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.5rem;
    font-size: 0.88rem;
}

@media print {
    .campograma-view {
        break-inside: avoid;
        border-color: #ccc;
    }

    .campograma-pitch {
        fill: #e8f5e9;
    }
}

.panel-calendar-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.panel-calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panel-calendar-title {
    margin: 0;
    font-size: 1.25rem;
    min-width: 10rem;
    text-align: center;
}

.panel-calendar-legend {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: var(--color-muted, #666);
}

.panel-calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.panel-calendar-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    display: inline-block;
}

.panel-calendar-dot-sesion {
    background: var(--color-accent, #1b5e20);
}

.panel-calendar-dot-partido {
    background: #1565c0;
}

.panel-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
}

.panel-calendar-weekday {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted, #666);
    text-align: center;
    padding: 0.35rem 0;
}

.panel-calendar-day {
    min-height: 6.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    padding: 0.45rem;
    background: #fff;
}

.panel-calendar-day-empty {
    background: transparent;
    border-color: transparent;
}

.panel-calendar-day.has-events {
    border-color: rgba(27, 94, 32, 0.18);
}

.panel-calendar-day-num {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.panel-calendar-events {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.panel-calendar-event {
    display: block;
    padding: 0.3rem 0.4rem;
    border-radius: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.25;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid transparent;
}

.panel-calendar-event strong {
    display: block;
    font-size: 0.74rem;
}

.panel-calendar-event span {
    display: block;
    color: var(--color-muted, #666);
}

.panel-calendar-event-sesion {
    background: rgba(27, 94, 32, 0.08);
    border-left-color: var(--color-accent, #1b5e20);
}

.panel-calendar-event-partido {
    background: rgba(21, 101, 192, 0.08);
    border-left-color: #1565c0;
}

.panel-profile-layout {
    align-items: start;
}

.panel-profile-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--panel-surface, #fff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
}

.panel-profile-photo {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(21, 101, 192, 0.15);
}

.panel-profile-photo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1565c0;
    background: rgba(21, 101, 192, 0.1);
}

.panel-profile-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.panel-profile-meta {
    margin: 0.35rem 0 0;
    color: rgba(0, 0, 0, 0.65);
}

.panel-profile-progress {
    margin-top: 1rem;
    max-width: 16rem;
}

.panel-profile-progress-bar {
    height: 0.4rem;
    margin-top: 0.35rem;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.panel-profile-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #1565c0, #42a5f5);
}

.panel-profile-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-timeline {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(21, 101, 192, 0.2);
}

.panel-timeline-item {
    position: relative;
    padding: 0 0 1.25rem 1rem;
}

.panel-timeline-marker {
    position: absolute;
    left: -1.35rem;
    top: 0.35rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #1565c0;
}

.panel-timeline-meta {
    display: block;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.92rem;
}

.panel-trayectoria-form {
    display: grid;
    gap: 0.5rem;
}

.panel-trayectoria-head,
.panel-trayectoria-row {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 0.9fr 1.3fr;
    gap: 0.5rem;
}

.panel-trayectoria-head {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
}

.panel-member-name-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.panel-member-thumb {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.panel-member-thumb-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1565c0;
    background: rgba(21, 101, 192, 0.12);
}

.panel-weight-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.panel-weight-block .panel-stat {
    min-height: 5rem;
}

@media (max-width: 768px) {
    .panel-profile-hero,
    .panel-profile-edit-grid,
    .panel-trayectoria-head,
    .panel-trayectoria-row {
        grid-template-columns: 1fr;
    }

    .panel-trayectoria-head {
        display: none;
    }
}

@media (max-width: 768px) {
    .panel-calendar-day {
        min-height: 4.5rem;
    }

    .panel-calendar-event strong,
    .panel-calendar-event span:not(:first-child) {
        display: none;
    }
}

