:root {
    --vl-bg: #090b12;
    --vl-bg-alt: #0f1220;
    --vl-panel: rgba(16, 19, 30, 0.9);
    --vl-border: rgba(255, 255, 255, 0.12);
    --vl-copy: #c6cfdf;
    --vl-copy-strong: #eef3ff;
    --vl-acid: #b6ff3c;
    --vl-purple: #8a58ff;
    --vl-warning: #f8b349;
    --vl-glow: rgba(138, 88, 255, 0.28);
    --vl-text-title: clamp(1.28rem, 1.1rem + 0.45vw, 1.58rem);
    --vl-text-section: clamp(1rem, 0.95rem + 0.18vw, 1.1rem);
    --vl-text-body: clamp(0.94rem, 0.9rem + 0.12vw, 1rem);
    --vl-text-small: clamp(0.82rem, 0.79rem + 0.08vw, 0.9rem);
    --vl-vinnext-cave: url('/assets/img/vin-next/bg_analisis_la_cueva.webp');
    --vl-vinnext-home: url('/assets/img/vin-next/home_clean_hero_bg.png');
    --vl-vinnext-workouts: url('/assets/img/vin-next/bg_workout_vamos_vinagre.webp');
    --vl-vinnext-player: url('/assets/img/vin-next/bg_n630_road.webp');
    --vl-vinnext-login: var(--vl-vinnext-cave);
    --vl-vinnext-login-focus: 52% 32%;
    --vl-vinnext-baldomero-black: url('/assets/img/vin-next/black_baldomero_clean.webp');
}

.vl-body {
    margin: 0;
    min-height: 100vh;
    color: var(--vl-copy-strong);
    background-color: var(--vl-bg);
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    position: relative;
}

.vl-body-home,
.vl-body-main {
    background-image:
        linear-gradient(180deg, rgba(7, 9, 14, 0.35) 0%, rgba(8, 10, 16, 0.62) 55%, rgba(8, 10, 16, 0.8) 100%),
        radial-gradient(circle at 16% 10%, rgba(182, 255, 60, 0.1), transparent 58%),
        radial-gradient(circle at 86% 88%, rgba(138, 88, 255, 0.14), transparent 55%),
        var(--vl-vinnext-home);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.vl-body-player {
    background-image:
        linear-gradient(180deg, rgba(3, 5, 10, 0.82) 0%, rgba(5, 7, 12, 0.72) 42%, rgba(3, 5, 9, 0.86) 100%),
        radial-gradient(circle at 18% 10%, rgba(132, 76, 255, 0.1), transparent 46%),
        radial-gradient(circle at 86% 82%, rgba(182, 255, 60, 0.055), transparent 38%),
        var(--vl-vinnext-player);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.vl-body-player::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.009) 1px, transparent 1px),
        radial-gradient(circle at 22% 28%, rgba(138, 88, 255, 0.06), transparent 36%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%),
        radial-gradient(circle at 50% 100%, rgba(8, 14, 24, 0.42) 0%, transparent 62%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 100%);
    background-size: 80px 80px, 80px 80px, cover, cover, cover, cover;
    opacity: 0.58;
    z-index: 0;
}

.vl-body-player .vl-cockpit-kpi-card {
    background: rgba(8, 12, 20, 0.92);
}

.vl-body-player .vl-cockpit-kpi-card-live {
    background: rgba(6, 10, 17, 0.8);
}

.vl-body-player .vl-cockpit-interval-strip {
    background:
        radial-gradient(circle at 18% 16%, rgba(182, 255, 60, 0.07), transparent 42%),
        linear-gradient(180deg, rgba(6, 10, 17, 0.86) 0%, rgba(4, 7, 13, 0.9) 100%);
}

.vl-body-player .vl-chart-wrap {
    background:
        linear-gradient(180deg, rgba(8, 12, 19, 0.86) 0%, rgba(4, 7, 13, 0.9) 100%);
}

.vl-body-player .vl-sensor-drawer {
    background: rgba(5, 8, 14, 0.72);
    border-color: rgba(216, 225, 245, 0.075);
}

.vl-body-player .vl-sensor-drawer[open] {
    background: rgba(5, 8, 14, 0.8);
}

.vl-body-player .vl-cooked-band {
    background: rgba(4, 7, 13, 0.58);
}

.vl-body-player .vl-cooked-group {
    background: rgba(8, 12, 20, 0.34);
}

.vl-body-player .vl-item {
    background: rgba(14, 17, 28, 0.58);
}

.vl-body-player .vl-metric {
    background: rgba(10, 12, 19, 0.66);
}

.vl-body-player .vl-player-timers {
    background: rgba(9, 12, 20, 0.56);
}

.vl-body-player .vl-mini-chart-card {
    background: rgba(3, 7, 13, 0.52);
}

.vl-body-player .vl-table-wrap {
    background: rgba(9, 12, 20, 0.58);
}

.vl-body-login {
    background-image:
        linear-gradient(180deg, rgba(8, 10, 16, 0.2) 0%, rgba(6, 8, 14, 0.55) 48%, rgba(4, 6, 12, 0.9) 100%),
        radial-gradient(circle at 65% 10%, rgba(138, 88, 255, 0.2), transparent 52%),
        radial-gradient(circle at 14% 12%, rgba(138, 88, 255, 0.24), transparent 40%),
        radial-gradient(circle at 86% 2%, rgba(182, 255, 60, 0.1), transparent 28%),
        var(--vl-vinnext-login);
    background-size: cover;
    background-position: var(--vl-vinnext-login-focus);
    background-attachment: fixed;
}

.vl-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 16px 36px;
}

.vl-shell-player {
    max-width: 1260px;
    position: relative;
    z-index: 1;
}

.vl-topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1200;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid var(--vl-border);
    background: rgba(10, 12, 21, 0.84);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    padding: 10px 14px;
}

.vl-topbar-session {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    min-height: 0;
}

.vl-brand {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.vl-topbar-sep {
    color: rgba(214, 227, 255, 0.48);
    font-size: 0.74rem;
    line-height: 1;
    flex-shrink: 0;
}

.vl-topbar-workout {
    margin: 0;
    color: #fbfffb;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.vl-topbar-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.vl-body-player .vl-topbar-actions {
    gap: 7px;
}

.vl-topbar-action-sep {
    color: rgba(214, 227, 255, 0.4);
    font-size: 0.8rem;
    line-height: 1;
    flex: 0 0 auto;
    user-select: none;
}

.vl-session-chip {
    --vl-session-chip-fg: #ebf1ff;
    --vl-session-chip-bd: rgba(255, 255, 255, 0.16);
    --vl-session-chip-bg: rgba(7, 11, 17, 0.76);
    color: var(--vl-session-chip-fg);
    background: var(--vl-session-chip-bg);
    border: 1px solid var(--vl-session-chip-bd);
    border-radius: 999px;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    cursor: pointer;
    min-height: 29px;
    white-space: nowrap;
    box-shadow: none;
}

.vl-feedback-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    margin: 0 0 14px auto;
    padding: 6px 12px;
    color: rgba(238, 243, 255, 0.84);
    background: rgba(8, 12, 20, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.vl-topbar-actions .vl-feedback-link {
    margin: 0;
    min-height: 32px;
    padding-inline: 11px;
    white-space: nowrap;
}

.vl-feedback-link:hover,
.vl-feedback-link:focus-visible {
    color: #ffffff;
    border-color: rgba(182, 255, 60, 0.34);
    outline: none;
}

.vl-feedback-modal[hidden] {
    display: none;
}

.vl-feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 24px;
    min-height: 100dvh;
    box-sizing: border-box;
}

.vl-feedback-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 10%, rgba(182, 255, 60, 0.08), transparent 34%),
        rgba(1, 3, 8, 0.78);
    backdrop-filter: blur(8px);
}

.vl-feedback-dialog {
    position: relative;
    width: min(100%, 720px);
    max-height: min(85dvh, 760px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 0%, rgba(182, 255, 60, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(19, 23, 34, 0.98), rgba(9, 12, 20, 0.98));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
    padding: 0;
}

.vl-feedback-dialog form {
    max-height: min(85dvh, 760px);
    display: flex;
    flex-direction: column;
}

.vl-feedback-dialog__header,
.vl-feedback-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vl-feedback-dialog__header {
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vl-feedback-dialog__avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    object-fit: cover;
    object-position: 50% 15%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.vl-feedback-dialog__intro {
    min-width: 0;
    flex: 1;
}

.vl-feedback-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--vl-acid);
    font-size: var(--vl-text-small);
    font-weight: 800;
    text-transform: uppercase;
}

.vl-feedback-dialog h2 {
    margin: 0;
    font-size: clamp(1.18rem, 1.03rem + 0.34vw, 1.4rem);
    line-height: 1.25;
}

.vl-feedback-dialog__intro p {
    margin: 2px 0 0;
    color: rgba(219, 229, 245, 0.78);
    font-size: var(--vl-text-body);
}

.vl-feedback-icon-button {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    color: rgba(238, 243, 255, 0.82);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    font: inherit;
    cursor: pointer;
}

.vl-feedback-icon-button:hover,
.vl-feedback-icon-button:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    outline: none;
}

.vl-feedback-form-body {
    display: grid;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.vl-feedback-options,
.vl-feedback-tags,
.vl-feedback-text {
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.vl-feedback-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vl-feedback-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.vl-feedback-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    grid-column: 1 / -1;
    flex: 0 0 100%;
    margin: 0 0 2px;
    color: rgba(246, 250, 255, 0.96);
    font-size: var(--vl-text-section);
    font-weight: 780;
}

.vl-feedback-section-title small {
    color: rgba(198, 207, 223, 0.72);
    font-size: var(--vl-text-small);
    font-weight: 650;
}

.vl-feedback-step {
    display: inline-grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    color: #19260c;
    background: linear-gradient(180deg, #d8ff64, var(--vl-acid));
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 0 18px rgba(182, 255, 60, 0.24);
}

.vl-feedback-options input,
.vl-feedback-tags input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.vl-feedback-choice {
    position: relative;
    display: grid;
    min-height: 84px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 58%),
        rgba(255, 255, 255, 0.035);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.vl-feedback-choice:hover,
.vl-feedback-choice:focus-within {
    border-color: rgba(182, 255, 60, 0.34);
    background: rgba(255, 255, 255, 0.055);
}

.vl-feedback-choice:has(input:checked) {
    border-color: rgba(182, 255, 60, 0.78);
    background:
        radial-gradient(circle at 50% 0%, rgba(182, 255, 60, 0.16), transparent 58%),
        rgba(182, 255, 60, 0.08);
    box-shadow: inset 0 0 0 1px rgba(182, 255, 60, 0.36), 0 10px 28px rgba(0, 0, 0, 0.24);
    transform: translateY(-1px);
}

.vl-feedback-choice__face {
    font-size: 1.52rem;
    line-height: 1;
}

.vl-feedback-choice__title {
    color: #f7fbff;
    font-size: var(--vl-text-body);
    font-weight: 820;
    line-height: 1.2;
}

.vl-feedback-choice__hint {
    color: rgba(198, 207, 223, 0.74);
    font-size: var(--vl-text-small);
    line-height: 1.2;
}

.vl-feedback-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(238, 243, 255, 0.9);
    cursor: pointer;
    font-size: var(--vl-text-body);
    font-weight: 720;
    line-height: 1;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.vl-feedback-chip:hover,
.vl-feedback-chip:focus-within {
    border-color: rgba(182, 255, 60, 0.36);
    color: #ffffff;
}

.vl-feedback-chip:has(input:checked) {
    color: #18260d;
    border-color: rgba(182, 255, 60, 0.86);
    background: linear-gradient(180deg, #d8ff64, var(--vl-acid));
    box-shadow: 0 8px 22px rgba(182, 255, 60, 0.16);
}

.vl-feedback-text {
    display: block;
    border-bottom: 0;
}

.vl-feedback-text .vl-feedback-section-title {
    margin-bottom: 7px;
}

.vl-feedback-text textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 68px;
    max-height: 130px;
    resize: vertical;
    color: var(--vl-copy-strong);
    background: rgba(3, 6, 12, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 9px 11px;
    font: inherit;
    font-size: var(--vl-text-body);
}

.vl-feedback-text textarea::placeholder {
    color: rgba(198, 207, 223, 0.55);
}

.vl-feedback-text textarea:focus {
    border-color: rgba(182, 255, 60, 0.46);
    box-shadow: 0 0 0 2px rgba(182, 255, 60, 0.1);
    outline: none;
}

.vl-feedback-privacy {
    margin: -3px 16px 10px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    color: rgba(198, 207, 223, 0.78);
    background: rgba(255, 255, 255, 0.025);
    font-size: var(--vl-text-small);
}

.vl-feedback-status {
    min-height: 0;
    margin: 0;
    color: rgba(198, 207, 223, 0.92);
    font-size: var(--vl-text-body);
    white-space: pre-line;
}

.vl-feedback-status[data-tone="success"] {
    margin: 18px;
    padding: 18px;
    border: 1px solid rgba(182, 255, 60, 0.34);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(182, 255, 60, 0.18), transparent 55%),
        rgba(182, 255, 60, 0.055);
    color: rgba(246, 250, 255, 0.94);
    text-align: center;
    line-height: 1.45;
}

.vl-feedback-status[data-tone="error"] {
    margin: 0 18px 14px;
    color: var(--vl-warning);
}

.vl-feedback-dialog__actions {
    justify-content: flex-end;
    padding: 9px 16px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.vl-feedback-submit {
    min-width: 146px;
    border-color: rgba(182, 255, 60, 0.62);
    color: #17220b;
    background: linear-gradient(180deg, #d8ff64, var(--vl-acid));
}

.vl-feedback-cancel {
    background: transparent;
    box-shadow: none;
}

.vl-feedback-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.vl-feedback-dialog form.is-sent .vl-feedback-form-body,
.vl-feedback-dialog form.is-sent .vl-feedback-submit {
    display: none;
}

body.vl-feedback-is-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .vl-feedback-dialog {
        width: min(100%, 560px);
    }

    .vl-feedback-options {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .vl-feedback-choice {
        min-height: 78px;
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        text-align: left;
    }

    .vl-feedback-choice__face {
        grid-row: span 2;
        font-size: 1.55rem;
    }
}

@media (max-width: 520px) {
    .vl-feedback-modal {
        padding: 12px;
    }

    .vl-feedback-dialog__header {
        padding: 12px;
    }

    .vl-feedback-dialog__avatar {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .vl-feedback-options,
    .vl-feedback-tags,
    .vl-feedback-text {
        padding: 14px 12px;
    }

    .vl-feedback-privacy {
        margin-right: 12px;
        margin-left: 12px;
    }

    .vl-feedback-dialog__actions {
        padding: 12px;
    }
}

.vl-feedback-label {
    display: none;
}

.vl-feedback-options label:not(.vl-feedback-choice),
.vl-feedback-tags label:not(.vl-feedback-chip) {
    display: none;
}

.vl-session-chip svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.vl-session-chip:hover,
.vl-session-chip:focus {
    color: #ffffff;
    border-color: rgba(182, 255, 60, 0.35);
    outline: none;
}

.vl-session-chip.is-active {
    border-color: rgba(182, 255, 60, 0.62);
    color: #f1ffd8;
    background: linear-gradient(180deg, rgba(26, 39, 16, 0.9) 0%, rgba(18, 32, 9, 0.9) 100%);
}

.vl-session-chip-secondary {
    text-transform: none;
}

.vl-session-chip-danger {
    --vl-session-chip-bd: rgba(255, 102, 102, 0.38);
    --vl-session-chip-bg: rgba(39, 12, 12, 0.46);
}

.vl-system-toggle.vl-session-chip {
    padding: 6px 10px;
}

.vl-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.vl-nav a,
.vl-link-button {
    color: var(--vl-copy);
    text-decoration: none;
    font-size: 0.92rem;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    padding: 6px 10px;
}

.vl-link-button {
    cursor: pointer;
    font-family: inherit;
}

.vl-nav a:hover,
.vl-nav a:focus,
.vl-link-button:hover,
.vl-link-button:focus {
    color: #ffffff;
    border-color: rgba(182, 255, 60, 0.35);
    outline: none;
}

.vl-nav a[aria-current="page"] {
    color: #ffffff;
    border-color: rgba(182, 255, 60, 0.42);
    background: rgba(182, 255, 60, 0.1);
}

.vl-panel {
    background: var(--vl-panel);
    border: 1px solid var(--vl-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(2px);
}

.vl-panel-home {
    background:
        linear-gradient(140deg, rgba(16, 19, 30, 0.66) 0%, rgba(12, 15, 24, 0.62) 100%);
}

.vl-panel-workouts {
    background:
        linear-gradient(180deg, rgba(14, 16, 27, 0.18) 0%, rgba(11, 13, 22, 0.12) 100%);
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding-top: 4px;
}

.vl-panel-player {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
}

.vl-panel-player::before {
    content: none;
}

.vl-panel-player > * {
    position: relative;
    z-index: 1;
}

.vl-body-player .vl-topbar {
    flex-wrap: nowrap;
    border-radius: 8px;
    border-color: rgba(182, 255, 60, 0.14);
    background: rgba(5, 8, 13, 0.76);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px);
    overflow: visible;
}

.vl-body-player .vl-nav a,
.vl-body-player .vl-topbar-actions .vl-system-toggle {
    white-space: nowrap;
}

.vl-eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    color: rgba(182, 255, 60, 0.9);
}

.vl-panel h1 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: #f6f9ff;
}

.vl-copy {
    margin: 0 0 10px;
    color: var(--vl-copy);
    line-height: 1.45;
}

.vl-note {
    margin-top: 14px;
    font-size: 0.88rem;
    color: rgba(198, 207, 223, 0.82);
}

.vl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 8px;
}

.vl-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9px;
    background: #131724;
    color: #f6f8ff;
    text-decoration: none;
    padding: 9px 13px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vl-btn:hover,
.vl-btn:focus {
    border-color: rgba(182, 255, 60, 0.55);
    background: #1a2030;
    box-shadow: 0 0 0 2px rgba(182, 255, 60, 0.15);
    outline: none;
}

.vl-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.vl-btn-primary {
    border-color: rgba(182, 255, 60, 0.62);
    background: linear-gradient(180deg, #b6ff3c 0%, #9fe22f 100%);
    color: #132005;
    font-weight: 700;
}

.vl-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.vl-list-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.vl-workouts-hero {
    max-width: 620px;
    margin-bottom: 18px;
}

.vl-workouts-hero h1 {
    font-size: 1.75rem;
}

.vl-library-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin: 0 0 9px;
}

.vl-library-organizer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    min-width: 0;
}

.vl-library-organizer > span {
    color: rgba(224, 233, 247, 0.62);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.vl-library-organizer__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    min-width: 0;
}

.vl-library-organizer__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 24px;
    border: 0;
    border-radius: 4px;
    padding: 2px 6px;
    color: rgba(220, 231, 247, 0.72);
    background: transparent;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.vl-library-organizer__option small {
    color: rgba(198, 207, 223, 0.62);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.vl-library-organizer__option.is-active {
    color: #f1ffd8;
    background: rgba(182, 255, 60, 0.08);
}

.vl-library-organizer__option:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.vl-library-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 7px;
    justify-content: flex-end;
    margin: 0;
    min-width: 0;
    text-align: right;
}

.vl-library-diagnostics {
    max-width: none;
    opacity: 0.66;
}

.vl-library-status span {
    display: inline-flex;
    color: rgba(224, 233, 247, 0.74);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .vl-library-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .vl-library-status {
        justify-content: flex-start;
        text-align: left;
    }
}

.vl-library-status small {
    display: block;
    margin-top: 3px;
    color: rgba(199, 210, 226, 0.7);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-transform: uppercase;
}

.vl-library-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
}

.vl-library-search__field {
    position: relative;
    display: block;
    flex: 1 1 420px;
    max-width: 560px;
    min-width: 220px;
}

.vl-library-search__field span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.vl-library-search__field input {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(230, 239, 255, 0.14);
    border-radius: 8px;
    padding: 8px 12px;
    color: #f5f9ff;
    background:
        linear-gradient(180deg, rgba(9, 13, 22, 0.8), rgba(7, 10, 18, 0.68));
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.vl-library-search__field input::placeholder {
    color: rgba(206, 218, 238, 0.52);
}

.vl-library-search__field input:focus {
    border-color: rgba(182, 255, 60, 0.45);
    box-shadow: 0 0 0 2px rgba(182, 255, 60, 0.1);
}

.vl-library-search__summary {
    margin: 0;
    color: rgba(224, 233, 247, 0.72);
    font-size: 0.76rem;
    font-weight: 760;
    white-space: nowrap;
}

.vl-library-search-results {
    margin-top: 10px;
}

.vl-library-shelf--search {
    margin-bottom: 0;
}

.vl-library-search-results__item {
    flex: 0 0 312px;
    width: 312px;
}

.vl-library-search-results__empty {
    margin: 10px 0 0 112px;
}

.vl-library-shelf-groups {
    display: grid;
    gap: 10px;
}

.vl-library-shelves {
    display: grid;
    gap: 10px;
}

.vl-library-shelves[hidden],
.vl-library-shelf[hidden],
.vl-library-search-results[hidden],
.vl-library-search-results__empty[hidden] {
    display: none;
}

.vl-library-shelf {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    align-items: stretch;
    min-width: 0;
}

.vl-library-shelf__rail {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(198, 207, 223, 0.34) rgba(6, 10, 18, 0.18);
}

.vl-library-shelf__rail::-webkit-scrollbar {
    height: 7px;
}

.vl-library-shelf__rail::-webkit-scrollbar-thumb {
    background: rgba(198, 207, 223, 0.34);
    border-radius: 999px;
}

.vl-library-shelf__rail:hover::-webkit-scrollbar-thumb {
    background: rgba(182, 255, 60, 0.42);
}

.vl-library-shelf__rail::-webkit-scrollbar-track {
    background: rgba(6, 10, 18, 0.18);
}

.vl-library-shelf__track {
    display: flex;
    gap: 14px;
    align-items: stretch;
    overflow-anchor: none;
    scroll-snap-type: x proximity;
}

.vl-library-shelf__item {
    flex: 0 0 min(320px, calc(90vw - 52px));
    width: min(320px, calc(90vw - 52px));
    max-width: none;
    scroll-snap-align: start;
}

.vl-library-shelf__item.is-hidden {
    display: none;
}

.vl-library-shelf__item .vl-wcard {
    width: 100%;
    max-width: none;
}

.vl-library-shelf__item:has(.vl-wcard--shelf) {
    flex-basis: clamp(360px, 38vw, 460px);
    width: clamp(360px, 38vw, 460px);
}

.vl-library-shelf__header {
    display: flex;
    align-items: center;
    justify-content: stretch;
    min-width: 0;
    margin: 0;
}

.vl-library-shelf__type-pill {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 34px;
    padding: 1px 2px;
    border: 0;
    border-radius: 0;
    color: rgba(220, 229, 242, 0.74);
    background: transparent;
    font-size: 0.64rem;
    font-weight: 760;
    letter-spacing: 0;
}

.vl-library-shelf__head {
    min-width: 0;
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vl-library-shelf__icon {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 0;
    color: rgba(224, 246, 186, 0.88);
    background: transparent;
    border: 0;
    flex: 0 0 auto;
}

.vl-library-shelf__icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.1;
}

.vl-library-shelf__meta {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-wrap: nowrap;
}

.vl-library-shelf__title {
    color: #f1f6ff;
    font-weight: 760;
    font-size: 0.8rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vl-library-shelf__meta strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 18px;
    border: 1px solid rgba(182, 255, 60, 0.14);
    border-radius: 999px;
    padding: 0 6px;
    background: rgba(182, 255, 60, 0.04);
    color: rgba(214, 226, 244, 0.74);
    font-size: 0.62rem;
    font-weight: 760;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex: 0 0 auto;
}

.vl-library-shelf__meta strong::after {
    content: " entrenos";
    margin-left: 4px;
    color: inherit;
}

.vl-library-shelf__type-pill--search .vl-library-shelf__meta strong::after {
    content: "";
    margin-left: 0;
}

.vl-library-shelf__range {
    display: none;
    margin-top: 1px;
    color: rgba(199, 210, 226, 0.68);
    font-size: 0.58rem;
    font-weight: 760;
    line-height: 1.15;
}

.vl-library-shelf__pager {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin-top: 0;
    flex: 0 0 auto;
    margin-left: auto;
}

.vl-library-shelf__page-indicator {
    min-width: 22px;
    color: rgba(178, 190, 209, 0.64);
    font-size: 0.62rem;
    font-weight: 760;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.vl-library-shelf__pager.is-hidden,
.vl-library-shelf__item.is-hidden {
    display: none;
}

.vl-library-shelf__page-btn {
    min-width: 22px;
    min-height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0;
    background: rgba(9, 13, 21, 0.32);
    color: rgba(210, 220, 236, 0.72);
    font-size: 0.74rem;
    font-weight: 820;
    line-height: 1;
}

.vl-library-shelf__subtitle {
    display: none;
}

.vl-library-shelf .vl-wcard {
    min-height: 235px;
}

.vl-library-shelf .vl-wcard__header {
    padding: 10px 11px 6px;
    gap: 10px;
}

.vl-library-shelf .vl-wcard__title {
    margin: 0 0 6px;
    font-size: 0.94rem;
    line-height: 1.16;
}

.vl-library-shelf .vl-wcard__category,
.vl-library-shelf .vl-wcard__custom {
    min-height: 20px;
    padding: 2px 7px;
    font-size: 0.6rem;
}

.vl-library-shelf .vl-wcard__cta {
    min-width: 82px;
    padding: 6px 10px;
    font-size: 0.76rem;
}

.vl-library-shelf .vl-wcard__cta-note {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.64rem;
}

.vl-library-shelf .vl-wcard__profile {
    margin: 2px 11px 0;
    min-height: 88px;
}

.vl-library-shelf .vl-wcard__metrics {
    margin: 8px 11px 10px;
    gap: 1px;
}

.vl-library-shelf .vl-wcard__metric {
    padding: 6px 8px;
}

.vl-library-shelf .vl-wcard__metric dt {
    margin: 0 0 3px;
    font-size: 0.61rem;
}

.vl-library-shelf .vl-wcard__metric dd {
    font-size: 0.91rem;
    line-height: 1.14;
}

@media (max-width: 900px) {
    .vl-library-search {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
    }

    .vl-library-search__summary {
        white-space: normal;
    }

    .vl-library-shelves {
        gap: 10px;
    }

    .vl-library-shelf {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .vl-library-shelf__item {
        flex: 0 0 min(300px, calc(94vw - 24px));
        width: min(300px, calc(94vw - 24px));
    }

    .vl-library-search-results__item {
        flex: 0 0 min(300px, calc(94vw - 24px));
        width: min(300px, calc(94vw - 24px));
    }

    .vl-library-shelf__type-pill {
        font-size: 0.64rem;
        min-height: 32px;
        padding: 1px 0;
    }

    .vl-library-shelf .vl-wcard {
        min-height: 225px;
    }

    .vl-library-search-results__empty {
        margin-left: 0;
    }

    .vl-library-shelf .vl-wcard__title {
        font-size: 0.92rem;
    }

    .vl-library-shelf .vl-wcard__header,
    .vl-library-shelf .vl-wcard__metrics,
    .vl-library-shelf .vl-wcard__profile {
        margin-left: 10px;
        margin-right: 10px;
    }

    .vl-library-shelf .vl-wcard__header {
        padding-top: 8px;
        padding-bottom: 5px;
        gap: 8px;
    }
}

.vl-library-shelf__header h2 {
    margin: 0;
    color: #f8fff0;
    font-size: 1.05rem;
    line-height: 1.2;
}

.vl-library-shelf__header p {
    margin: 4px 0 0;
    color: rgba(218, 226, 240, 0.76);
    font-size: 0.86rem;
    line-height: 1.35;
}

.vl-library-shelf__header > span:not(.vl-library-shelf__type-pill) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    border: 1px solid rgba(182, 255, 60, 0.25);
    border-radius: 999px;
    color: #e8ffbc;
    background: rgba(182, 255, 60, 0.09);
    font-size: 0.78rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.vl-wcard {
    position: relative;
    display: grid;
    grid-template-rows: auto 128px auto;
    min-height: 276px;
    overflow: hidden;
    border: 1px solid rgba(230, 239, 255, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(18, 22, 31, 0.88) 0%, rgba(7, 10, 17, 0.9) 100%);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(9px) saturate(125%);
}

.vl-wcard::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 76%);
}

.vl-wcard--base {
    isolation: isolate;
}

.vl-wcard__header,
.vl-wcard__profile,
.vl-wcard__metrics {
    position: relative;
    z-index: 1;
}

.vl-wcard__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 15px 8px;
}

.vl-wcard__identity {
    min-width: 0;
}

.vl-wcard__title {
    margin: 0 0 8px;
    color: #fbfffb;
    font-size: 1.05rem;
    line-height: 1.18;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.vl-wcard__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vl-wcard__category,
.vl-wcard__custom {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vl-wcard__category {
    border: 1px solid rgba(182, 255, 60, 0.3);
    background: rgba(182, 255, 60, 0.1);
    color: #e8ffbc;
}

.vl-wcard__custom {
    border: 1px solid rgba(138, 88, 255, 0.38);
    background: rgba(138, 88, 255, 0.16);
    color: #e9dcff;
}

.vl-wcard__cta {
    flex: 0 0 auto;
    min-width: 94px;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    white-space: nowrap;
}

.vl-wcard__cta-note {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid rgba(218, 226, 240, 0.16);
    border-radius: 999px;
    padding: 5px 8px;
    color: rgba(218, 226, 240, 0.78);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.vl-wcard__cta:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    text-decoration: none;
    color: var(--vl-copy);
}

.vl-wcard__profile {
    margin: 2px 15px 0;
    min-height: 112px;
    border: 1px solid rgba(214, 226, 250, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(4, 8, 14, 0.3) 0%, rgba(3, 7, 12, 0.72) 100%),
        linear-gradient(90deg, rgba(182, 255, 60, 0.08), rgba(138, 88, 255, 0.11));
}

.vl-wcard__profile::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.045) 52%, transparent 53%);
}

.vl-wcard__profile-fallback {
    height: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.3fr 0.8fr 1.2fr 1fr 1.1fr 0.9fr;
    align-items: end;
    gap: 4px;
    padding: 16px 14px 13px;
}

.vl-wcard__profile-fallback span {
    display: block;
    min-height: 22px;
    height: var(--vl-wcard-bar);
    border-radius: 7px 7px 3px 3px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 26%),
        linear-gradient(180deg, rgba(182, 255, 60, 0.54) 0%, rgba(138, 88, 255, 0.42) 100%);
    opacity: 0.72;
}

.vl-wcard__profile.is-ready .vl-wcard__profile-fallback {
    display: none;
}

.vl-wcard__profile-svg {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.vl-wcard__profile-grid {
    stroke: rgba(226, 235, 255, 0.08);
    stroke-width: 1;
}

.vl-wcard__profile-baseline {
    stroke: rgba(182, 255, 60, 0.18);
    stroke-width: 1.2;
}

.vl-wcard__profile-segment {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 0.6;
}

.vl-wcard__profile-segment--z1 {
    fill: rgba(110, 210, 222, 0.7);
}

.vl-wcard__profile-segment--z2 {
    fill: rgba(139, 195, 74, 0.7);
}

.vl-wcard__profile-segment--z3 {
    fill: rgba(250, 246, 16, 0.7);
}

.vl-wcard__profile-segment--z4 {
    fill: rgba(255, 209, 71, 0.7);
}

.vl-wcard__profile-segment--z5 {
    fill: rgba(248, 174, 65, 0.7);
}

.vl-wcard__profile-segment--z6 {
    fill: rgba(255, 126, 56, 0.7);
}

.vl-wcard__profile-segment--z7 {
    fill: rgba(255, 52, 0, 0.7);
}

.vl-wcard__profile-segment--z8 {
    fill: rgba(182, 14, 1, 0.7);
}

.vl-wcard__metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 1px;
    margin: 12px 15px 15px;
    border: 1px solid rgba(223, 233, 255, 0.09);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.075);
}

.vl-wcard__metrics:empty {
    display: none;
}

.vl-wcard__metric {
    min-width: 0;
    padding: 9px 10px;
    background: rgba(5, 9, 15, 0.7);
}

.vl-wcard__metric dt {
    margin: 0 0 4px;
    color: rgba(198, 207, 223, 0.72);
    font-size: 0.66rem;
    line-height: 1.1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.vl-wcard__metric dd {
    margin: 0;
    color: #f7fbff;
    font-size: 0.98rem;
    line-height: 1.15;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.vl-library-shelf .vl-wcard--shelf {
    display: block;
    height: 108px;
    min-height: 108px;
    overflow: hidden;
}

.vl-wcard--shelf .vl-wcard__shelf-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(145px, 0.86fr) minmax(170px, 1.14fr);
    gap: 10px;
    height: 100%;
    padding: 8px;
}

.vl-wcard--shelf .vl-wcard__shelf-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 2px 0 2px 4px;
}

.vl-wcard--shelf .vl-wcard__title {
    margin: 0;
    color: #fbfffb;
    font-size: 0.92rem;
    line-height: 1.14;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vl-wcard--shelf .vl-wcard__shelf-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
    min-width: 0;
}

.vl-wcard--shelf .vl-wcard__shelf-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    border: 1px solid rgba(223, 233, 255, 0.1);
    border-radius: 999px;
    padding: 2px 7px;
    color: rgba(232, 240, 252, 0.86);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vl-wcard--shelf .vl-wcard__shelf-state {
    color: rgba(218, 226, 240, 0.66);
    font-size: 0.68rem;
    font-weight: 800;
}

.vl-wcard--shelf .vl-wcard__profile {
    margin: 0;
    min-height: 0;
    height: 100%;
    border-radius: 7px;
}

.vl-wcard--shelf .vl-wcard__profile-fallback {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.075) 44%, rgba(255, 255, 255, 0.035) 88%),
        linear-gradient(180deg, rgba(182, 255, 60, 0.035), rgba(138, 88, 255, 0.045)),
        rgba(4, 8, 14, 0.62);
    background-size: 220% 100%, 100% 100%, 100% 100%;
    animation: vl-wcard-profile-skeleton 1.4s ease-in-out infinite;
}

.vl-wcard--shelf .vl-wcard__profile-fallback span {
    display: none;
}

.vl-wcard--shelf .vl-wcard__profile-fallback::before,
.vl-wcard--shelf .vl-wcard__profile-fallback::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    border-radius: 999px;
    background: rgba(226, 235, 255, 0.08);
}

.vl-wcard--shelf .vl-wcard__profile-fallback::before {
    top: 32%;
    height: 1px;
}

.vl-wcard--shelf .vl-wcard__profile-fallback::after {
    top: 62%;
    height: 1px;
}

.vl-wcard--shelf .vl-wcard__profile-svg {
    opacity: 0;
    transition: opacity 0.18s ease;
}

.vl-wcard--shelf .vl-wcard__profile.is-ready .vl-wcard__profile-svg {
    opacity: 1;
}

@keyframes vl-wcard-profile-skeleton {
    0% {
        background-position: 120% 0, 0 0, 0 0;
    }

    100% {
        background-position: -80% 0, 0 0, 0 0;
    }
}

.vl-wcard--shelf .vl-wcard__metrics,
.vl-wcard--shelf .vl-wcard__badges,
.vl-wcard--shelf .vl-wcard__cta,
.vl-wcard--shelf .vl-wcard__cta-note {
    display: none;
}

.vl-wcard__shelf-link {
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
    text-decoration: none;
}

.vl-wcard__shelf-link:focus-visible {
    outline: 2px solid rgba(182, 255, 60, 0.9);
    outline-offset: -2px;
}

.vl-wcard__shelf-play {
    position: absolute;
    right: 13px;
    top: 50%;
    z-index: 5;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(182, 255, 60, 0.3);
    border-radius: 999px;
    background: rgba(5, 9, 15, 0.58);
    opacity: 0.58;
    transform: translateY(-50%);
    transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    pointer-events: none;
}

.vl-wcard__shelf-play::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #e8ffbc;
}

.vl-wcard--shelf:hover .vl-wcard__shelf-play,
.vl-wcard__shelf-link:focus-visible .vl-wcard__shelf-play {
    opacity: 1;
    border-color: rgba(182, 255, 60, 0.72);
    background: rgba(30, 45, 18, 0.9);
}

.vl-wcard__shelf-play--disabled {
    opacity: 0.28;
    filter: grayscale(1);
}

.vl-wcard-grid {
    display: none;
}

.vl-item {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    background: rgba(14, 17, 28, 0.72);
}

.vl-item span {
    color: rgba(198, 207, 223, 0.84);
    font-size: 0.82rem;
    display: block;
}

.vl-item strong {
    color: #f4f7ff;
    font-size: 0.95rem;
}

.vl-workout-item {
    align-items: flex-start;
}

.vl-workout-card {
    gap: 12px;
    background: linear-gradient(180deg, rgba(11, 14, 22, 0.42) 0%, rgba(8, 11, 18, 0.46) 100%);
    backdrop-filter: blur(4px);
}

.vl-workout-card-content {
    width: 100%;
}

.vl-workout-card-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.vl-workout-title {
    display: block;
    color: #f8fbff;
    margin-bottom: 2px;
}

.vl-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 0.74rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.vl-badge-standard {
    border-color: rgba(182, 255, 60, 0.42);
    background: rgba(182, 255, 60, 0.15);
    color: #dcff9f;
}

.vl-badge-custom {
    border-color: rgba(138, 88, 255, 0.45);
    background: rgba(138, 88, 255, 0.2);
    color: #e1c8ff;
}

.vl-workout-meta {
    margin-bottom: 0;
    font-size: 0.84rem;
    color: rgba(198, 207, 223, 0.86);
}

.vl-workout-facts {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vl-workout-facts span {
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 3px 7px;
    color: rgba(214, 223, 239, 0.94);
    background: rgba(12, 15, 24, 0.72);
}

.vl-player {
    margin-top: 6px;
}

.vl-tabs {
    margin-top: 10px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    width: fit-content;
    max-width: 100%;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #05080e;
    box-shadow: inset 0 0 0 1px rgba(182, 255, 60, 0.04);
}

.vl-tab {
    border: 1px solid transparent;
    background: transparent;
    color: #d8e3f8;
    border-radius: 6px;
    padding: 6px 11px;
    font-size: 0.78rem;
    line-height: 1.15;
    cursor: pointer;
}

.vl-tab.is-active {
    border-color: rgba(182, 255, 60, 0.62);
    color: #f1ffd8;
    background: linear-gradient(180deg, #263e16 0%, #17250e 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 18px rgba(182, 255, 60, 0.1);
}

.vl-tab.vl-tab-attn {
    border-color: rgba(255, 209, 71, 0.9);
    box-shadow: 0 0 0 2px rgba(255, 209, 71, 0.22);
}

.vl-tab-panel {
    margin-top: 6px;
}

.vl-cockpit-header {
    position: relative;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
    padding: 2px 2px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vl-cockpit-header h1 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.2;
    color: #fbfffb;
    font-weight: 750;
}

.vl-cockpit-tools {
    position: relative;
    z-index: 30;
}

.vl-cockpit-tools summary {
    list-style: none;
}

.vl-cockpit-tools summary::-webkit-details-marker {
    display: none;
}

.vl-system-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(182, 255, 60, 0.26);
    border-radius: 999px;
    background: rgba(7, 11, 17, 0.78);
    color: #eff8df;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 7px 11px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.vl-system-toggle svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.vl-cockpit-tools[open] .vl-system-toggle {
    border-color: rgba(182, 255, 60, 0.62);
    background: rgba(25, 38, 15, 0.9);
}

.vl-cockpit-tools-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1600;
    width: min(720px, calc(100vw - 32px));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(8, 12, 18, 0.96) 0%, rgba(5, 8, 13, 0.94) 100%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
    padding: 12px;
    backdrop-filter: blur(16px) saturate(130%);
    pointer-events: auto;
}

.vl-cockpit-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
}

.vl-cockpit-badges .vl-badge {
    padding: 3px 7px;
    font-size: 0.64rem;
}

.vl-badge-plain {
    border-color: rgba(255, 255, 255, 0.16);
    background: #080c14;
    color: #dce6f8;
}

.vl-badge-plain strong {
    margin-left: 4px;
}

.vl-stage-steps {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.vl-stage-steps-compact .vl-copy {
    margin-bottom: 4px;
    font-size: 0.82rem;
}

.vl-cockpit-grid {
    margin-top: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
    gap: 12px;
    align-items: start;
    min-height: 0;
}

.vl-cockpit-left,
.vl-cockpit-right {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    min-height: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.vl-cockpit-left {
    display: grid;
    gap: 10px;
}

.vl-cockpit-main-stack {
    position: relative;
}

.vl-cockpit-right {
    display: flex;
    gap: 8px;
    align-content: start;
    align-items: stretch;
    min-height: 0;
}

.vl-live-range-toggle {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    background: #060910;
}

.vl-sensor-drawer {
    border: 1px solid rgba(216, 225, 245, 0.1);
    border-radius: 12px;
    background: rgba(5, 8, 14, 0.88);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.vl-context-panel-shell {
    --vl-context-panel-height: 320px;
    --vl-context-panel-max-height: var(--vl-context-panel-height);
    min-height: 0;
    height: var(--vl-context-panel-height);
    max-height: var(--vl-context-panel-height);
    overflow: hidden;
    width: 100%;
}

.vl-context-panel-content {
    padding: 0 8px 8px;
    box-sizing: border-box;
    height: 100%;
    display: none;
    min-height: 0;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.vl-context-panel-content.is-active {
    display: block;
}

.vl-context-panel-content .vl-copy {
    margin-top: 8px;
    font-size: 0.74rem;
    color: rgba(196, 216, 244, 0.84);
}

.vl-context-panel-content .vl-live-range-toggle {
    margin-bottom: 8px;
}

.vl-interval-list-wrap {
    margin-top: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vl-interval-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
    color: rgba(226, 235, 250, 0.9);
}

.vl-interval-table th,
.vl-interval-table td {
    padding: 6px 7px;
    border-bottom: 1px solid rgba(216, 225, 245, 0.08);
    text-align: left;
    vertical-align: top;
}

.vl-interval-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(5, 8, 14, 0.96);
    color: rgba(184, 200, 226, 0.7);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.vl-interval-table tr {
    background: rgba(10, 13, 22, 0.28);
}

.vl-interval-table tr:nth-child(even) {
    background: rgba(10, 13, 22, 0.42);
}

.vl-interval-table tr.vl-interval-row-recovery {
    background: rgba(59, 82, 120, 0.16);
}

.vl-interval-table tr.vl-row-current {
    outline: 1px solid rgba(182, 255, 60, 0.5);
    background: rgba(182, 255, 60, 0.08);
}

.vl-interval-table tr.vl-row-next {
    outline: 1px solid rgba(255, 209, 71, 0.26);
    background: rgba(255, 209, 71, 0.055);
}

.vl-interval-index-cell,
.vl-interval-duration-cell {
    white-space: nowrap;
}

.vl-interval-objective-cell {
    min-width: 90px;
    font-weight: 750;
    color: rgba(246, 250, 255, 0.96);
}

@media (max-width: 680px) {
    .vl-interval-table,
    .vl-interval-table tbody,
    .vl-interval-table tr,
    .vl-interval-table td {
        display: block;
    }

    .vl-interval-table thead {
        display: none;
    }

    .vl-interval-table tr {
        margin-bottom: 7px;
        border: 1px solid rgba(216, 225, 245, 0.10);
        border-radius: 9px;
        overflow: hidden;
    }

    .vl-interval-table td {
        border-bottom: 0;
        padding: 5px 8px;
    }

    .vl-interval-index-cell {
        color: rgba(182, 255, 60, 0.86);
        font-weight: 800;
    }
}

.vl-sensor-actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.vl-sensor-actions .vl-btn {
    width: auto;
    justify-content: center;
}

.vl-sensor-actions .vl-btn[hidden] {
    display: none !important;
}

.vl-sensor-discover-btn {
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(7, 11, 17, 0.76);
    color: #ebf1ff;
    min-height: 29px;
    padding: 6px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    gap: 6px;
    white-space: nowrap;
    box-shadow: none;
}

.vl-sensor-discover-btn:hover,
.vl-sensor-discover-btn:focus {
    border-color: rgba(182, 255, 60, 0.35);
    background: rgba(7, 11, 17, 0.76);
    color: #ffffff;
    box-shadow: none;
}

.vl-sensor-discover-btn i,
.vl-sensor-discover-btn svg {
    width: 14px;
    height: 14px;
}

.vl-sensor-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.vl-sensor-row {
    border: 1px solid rgba(216, 225, 245, 0.14);
    border-radius: 10px;
    padding: 6px 8px;
    display: grid;
    grid-template-columns: 10px 26px 1fr auto;
    align-items: center;
    column-gap: 8px;
    background: rgba(10, 13, 22, 0.6);
    min-height: 48px;
}

.vl-sensor-row + .vl-sensor-row {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.vl-sensor-row-indicator {
    justify-self: center;
    font-size: 14px;
    line-height: 1;
    color: #6a7487;
}

.vl-sensor-row-icon {
    width: 18px;
    color: rgba(190, 205, 235, 0.9);
}

.vl-sensor-row-icon svg,
.vl-sensor-row-menu svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}

.vl-sensor-row-main {
    min-width: 0;
}

.vl-sensor-row-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}

.vl-sensor-row-head strong {
    font-size: 0.8rem;
    color: rgba(230, 238, 252, 0.94);
    letter-spacing: 0.01em;
}

.vl-sensor-row-head small {
    color: rgba(184, 200, 226, 0.85);
    font-size: 0.7rem;
    white-space: nowrap;
}

.vl-sensor-row-metrics {
    margin: 0;
    font-size: 0.74rem;
    color: rgba(196, 213, 238, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.vl-sensor-row-metric {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
}

.vl-sensor-row-metric i {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
}

.vl-sensor-row-metric .vl-sensor-row-metric-value {
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vl-sensor-row-menu {
    color: rgba(184, 200, 226, 0.8);
}

.vl-sensor-row-action {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(216, 225, 245, 0.14);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 20, 0.42);
    color: rgba(184, 200, 226, 0.72);
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.vl-sensor-row-action[hidden] {
    display: none !important;
}

.vl-sensor-row-action:hover,
.vl-sensor-row-action:focus {
    border-color: rgba(255, 120, 120, 0.34);
    background: rgba(255, 120, 120, 0.08);
    color: #ffffff;
}

.vl-sensor-row-action:disabled {
    cursor: default;
    opacity: 0.46;
}

.vl-sensor-row-action svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.25;
}

.vl-sensor-row.is-ok {
    border-color: rgba(111, 248, 130, 0.55);
}

.vl-sensor-row.is-ok .vl-sensor-row-indicator {
    color: #6bff8c;
}

.vl-sensor-row.is-ok .vl-sensor-row-head small {
    color: #9bf4a7;
}

.vl-sensor-row.is-partial {
    border-color: rgba(255, 216, 104, 0.62);
}

.vl-sensor-row.is-partial .vl-sensor-row-indicator {
    color: #ffd96b;
}

.vl-sensor-row.is-partial .vl-sensor-row-head small {
    color: #ffd96b;
}

.vl-sensor-row.is-idle {
    border-color: rgba(163, 173, 192, 0.28);
}

.vl-sensor-row.is-idle .vl-sensor-row-indicator,
.vl-sensor-row.is-idle .vl-sensor-row-head small {
    color: rgba(184, 200, 226, 0.72);
}

.vl-sensor-row.is-idle .vl-sensor-row-metrics {
    color: rgba(163, 173, 192, 0.68);
}

.vl-sensor-row.is-offline {
    border-color: rgba(255, 109, 109, 0.72);
}

.vl-sensor-row.is-offline .vl-sensor-row-indicator,
.vl-sensor-row.is-offline .vl-sensor-row-head strong,
.vl-sensor-row.is-offline .vl-sensor-row-head small {
    color: #ff8080;
}

.vl-sensor-row.is-offline .vl-sensor-row-metrics {
    color: rgba(255, 128, 128, 0.88);
}

.vl-sensor-row.is-unavailable {
    border-color: rgba(163, 173, 192, 0.45);
}

.vl-sensor-row.is-unavailable .vl-sensor-row-indicator,
.vl-sensor-row.is-unavailable .vl-sensor-row-head strong,
.vl-sensor-row.is-unavailable .vl-sensor-row-head small {
    color: #a3adbf;
}

.vl-sensor-row.is-unavailable .vl-sensor-row-metrics {
    color: rgba(163, 173, 192, 0.72);
}

.vl-sensor-row.is-error {
    border-color: rgba(255, 121, 121, 0.68);
}

.vl-sensor-row.is-error .vl-sensor-row-indicator {
    color: #ff7979;
}

.vl-sensor-row.is-error .vl-sensor-row-head small {
    color: #ff9c9c;
}

.vl-clock-mode-row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    border-color: rgba(216, 225, 245, 0.10);
    background: rgba(6, 10, 17, 0.44);
}

.vl-clock-mode-row .vl-sensor-row-icon {
    justify-self: center;
    color: rgba(190, 205, 235, 0.72);
}

.vl-clock-mode-row .vl-sensor-row-metrics {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    color: rgba(184, 200, 226, 0.68);
    font-size: 0.68rem;
    line-height: 1.25;
}

.vl-clock-mode-row.is-active {
    border-color: rgba(255, 209, 71, 0.34);
    background: rgba(255, 209, 71, 0.045);
}

.vl-clock-mode-row.is-active .vl-sensor-row-head small {
    color: #dfffa0;
}

.vl-clock-mode-row.is-unavailable {
    border-color: rgba(163, 173, 192, 0.28);
}

.vl-clock-mode-row.is-unavailable .vl-sensor-row-head small {
    color: #a3adbf;
}

.vl-clock-mode-toggle {
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(226, 233, 246, 0.78);
    background: rgba(13, 20, 32, 0.54);
    border-color: rgba(216, 225, 245, 0.14);
    box-shadow: none;
}

.vl-clock-mode-toggle:hover,
.vl-clock-mode-toggle:focus-visible {
    color: rgba(246, 250, 255, 0.95);
    background: rgba(20, 29, 44, 0.78);
    border-color: rgba(216, 225, 245, 0.28);
}

.vl-clock-mode-toggle.is-active {
    color: rgba(255, 246, 206, 0.96);
    border-color: rgba(255, 209, 71, 0.46);
    background: rgba(255, 209, 71, 0.08);
}

.vl-context-panel-content .vl-list {
    margin-top: 6px;
    gap: 6px;
}

.vl-context-panel-content .vl-player-live-grid .vl-item {
    padding: 6px 8px;
    min-height: 0;
}

.vl-context-panel-content .vl-player-live-grid .vl-item span {
    font-size: 0.76rem;
}

.vl-context-panel-content .vl-player-live-grid .vl-item strong {
    font-size: 0.9rem;
}

.vl-context-system-note strong {
    word-break: break-word;
    max-width: 100%;
}

.vl-live-range-btn {
    border: none;
    background: #080c14;
    color: rgba(205, 217, 238, 0.9);
    padding: 4px 10px;
    font-size: 0.76rem;
    cursor: pointer;
}

.vl-live-range-btn + .vl-live-range-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.vl-live-range-btn.is-active {
    background: #243817;
    color: #e8ffc8;
}

.vl-cockpit-control-strip {
    display: grid;
    grid-template-columns: 1.65fr repeat(5, minmax(0, 0.92fr)) minmax(84px, 0.92fr);
    gap: 8px;
}

.vl-btn-icon {
    min-height: 42px;
    padding: 7px 6px;
    text-align: center;
    font-weight: 750;
    font-size: 0.78rem;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.vl-btn-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.35;
}

.vl-btn i,
.vl-btn svg,
.vl-btn svg * {
    pointer-events: none;
}

.vl-cockpit-control-strip .vl-btn {
    background: #0a101a;
    border-color: rgba(216, 225, 245, 0.12);
    color: rgba(237, 243, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 18px rgba(0, 0, 0, 0.2);
}

.vl-cockpit-control-strip .vl-btn-primary {
    min-height: 46px;
    background: linear-gradient(180deg, #bcff3b 0%, #83d919 100%);
    border-color: rgba(210, 255, 112, 0.92);
    color: #101b05;
    box-shadow: 0 0 24px rgba(182, 255, 60, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.vl-btn-sim {
    min-width: 88px;
    background: #080c14;
    color: rgba(218, 226, 242, 0.78);
}

.vl-cockpit-control-strip .vl-btn[data-vl-trainer-control-mode].is-erg {
    color: #b6ff3c;
}

.vl-cockpit-control-strip .vl-btn[data-vl-trainer-control-mode].is-sim {
    color: #ffd147;
}

.vl-btn-baldomero.is-active {
    background: linear-gradient(180deg, #5a7dff 0%, #3f5de6 100%);
    border-color: rgba(130, 160, 255, 0.9);
    color: #f2f6ff;
    box-shadow: 0 12px 22px rgba(63, 93, 230, 0.2);
}

.vl-baldomero-notice {
    position: absolute;
    left: 50%;
    top: 52%;
    z-index: 18;
    width: min(420px, calc(100% - 32px));
    transform: translate(-50%, -50%);
    pointer-events: none;
    padding: 14px 18px;
    border: 1px solid rgba(216, 225, 245, 0.28);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(9, 13, 20, 0.38), rgba(2, 5, 10, 0.28));
    color: rgba(246, 250, 255, 0.96);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    text-align: center;
    font-size: clamp(0.98rem, 1.7vw, 1.18rem);
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.86);
    animation: vl-baldomero-notice-in 160ms ease-out both;
}

.vl-baldomero-notice[hidden] {
    display: none !important;
}

@keyframes vl-baldomero-notice-in {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.vl-btn-sim span {
    font-size: 0.76rem;
}

.vl-cockpit-progress-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.vl-cockpit-interval-strip {
    display: grid;
    grid-template-columns: minmax(250px, 1.22fr) minmax(260px, 1.32fr) minmax(160px, 0.95fr);
    gap: 10px;
    align-items: stretch;
    text-align: center;
    margin-top: 2px;
    padding: 12px;
    border: 1px solid rgba(224, 232, 255, 0.1);
    border-radius: 12px;
    background:
        radial-gradient(circle at 18% 16%, rgba(182, 255, 60, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(6, 10, 17, 0.92) 0%, rgba(4, 7, 13, 0.96) 100%);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.vl-target-control {
    display: grid;
    grid-template-columns: 44px minmax(96px, 1fr) 44px;
    gap: 10px;
    align-items: stretch;
    justify-items: stretch;
    width: 100%;
}

.vl-btn-target {
    width: 44px;
    min-width: 44px;
    min-height: 42px;
    padding: 6px 5px;
    background: #0b111d;
    border-color: rgba(216, 225, 245, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vl-target-value-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.vl-target-value-group .vl-cockpit-kpi-value-xl {
    width: 100%;
    text-align: center;
    display: block;
    position: relative;
}

.vl-target-bias-indicator {
    position: absolute;
    left: calc(50% + 2.25em);
    top: 50%;
    transform: translateY(-50%);
    display: block;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.2;
    color: rgba(209, 224, 243, 0.82);
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
}

.vl-target-bias-indicator[hidden] {
    display: none;
}

.vl-cockpit-kpi-card {
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(216, 225, 245, 0.09);
    border-radius: 10px;
    background: rgba(8, 12, 20, 0.78);
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.vl-stage-card {
    min-width: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    align-items: center;
}

.vl-stage-card-target {
    border-color: rgba(182, 255, 60, 0.22);
    background:
        radial-gradient(circle at 50% 18%, rgba(182, 255, 60, 0.08), transparent 56%),
        rgba(8, 13, 20, 0.9);
}

.vl-stage-card-next {
    border-color: rgba(182, 255, 60, 0.12);
}

.vl-stage-card-time {
    border-color: rgba(216, 225, 245, 0.12);
}

.vl-cockpit-kpi-card-toggle {
    cursor: pointer;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.vl-cockpit-kpi-card-toggle:hover {
    border-color: rgba(143, 255, 62, 0.54);
    background: rgba(10, 16, 24, 0.9);
}

.vl-cockpit-kpi-card-toggle:focus-visible {
    outline: 2px solid rgba(143, 255, 62, 0.78);
    outline-offset: 1px;
}

.vl-cockpit-instant-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    text-align: center;
}

.vl-cockpit-kpi-card-live {
    background: rgba(6, 10, 17, 0.68);
    border-color: rgba(216, 225, 245, 0.075);
}

.vl-live-card {
    min-width: 0;
    position: relative;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    align-items: center;
}

.vl-zone-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 16px;
    height: 14px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-family: inherit;
    pointer-events: none;
    --zone-color-rgb: 154 170 188;
    color: rgb(var(--zone-color-rgb) / 0.92);
    border: 1px solid rgb(var(--zone-color-rgb) / 0.62);
    background: rgb(var(--zone-color-rgb) / 0.16);
    box-shadow: 0 0 8px rgb(var(--zone-color-rgb) / 0.18);
    opacity: 1;
    transition: opacity 0.16s ease, color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.vl-zone-indicator-label {
    display: inline-block;
    transform: translateY(-0.03em);
}

.vl-zone-indicator.is-off {
    opacity: 0;
}

.vl-zone-indicator--z1 {
    --zone-color-rgb: 110 210 226;
}

.vl-zone-indicator--z2 {
    --zone-color-rgb: 139 195 74;
}

.vl-zone-indicator--z3 {
    --zone-color-rgb: 250 246 16;
}

.vl-zone-indicator--z4 {
    --zone-color-rgb: 255 209 71;
}

.vl-zone-indicator--z5 {
    --zone-color-rgb: 248 174 65;
}

.vl-zone-indicator--z6 {
    --zone-color-rgb: 255 126 56;
}

.vl-zone-indicator--z7 {
    --zone-color-rgb: 255 52 0;
}

.vl-zone-indicator--z8 {
    --zone-color-rgb: 182 14 1;
}

@media (max-width: 800px) {
    .vl-zone-indicator {
        min-width: 0;
        width: 7px;
        height: 7px;
        padding: 0;
        top: 9px;
        right: 9px;
        border-radius: 999px;
        box-shadow: 0 0 5px rgb(var(--zone-color-rgb) / 0.15);
    }

    .vl-zone-indicator-label {
        display: none;
    }
}

.vl-cockpit-kpi-label {
    display: block;
    color: rgba(213, 222, 244, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.62rem;
    margin-bottom: 5px;
}

.vl-cockpit-kpi-value {
    display: block;
    color: #f5f9ff;
    font-size: 1.44rem;
    line-height: 1.15;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.vl-cockpit-kpi-value-live {
    font-size: 1.78rem;
}

.vl-cockpit-kpi-value-live.is-live-series-in-range,
.vl-cockpit-kpi-value-live.is-live-series-out-of-range {
    display: inline-block;
    min-width: 2.5em;
    padding: 2px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
}

.vl-cockpit-kpi-value-live.is-live-series-in-range {
    background: rgba(139, 195, 74, 0.15);
    border-color: rgba(139, 195, 74, 0.82);
}

.vl-cockpit-kpi-value-live.is-live-series-out-of-range {
    background: rgba(255, 52, 0, 0.20);
    border-color: rgba(255, 112, 67, 0.88);
}

.vl-cockpit-kpi-value-xl {
    font-size: 2.54rem;
    font-weight: 800;
    line-height: 1.05;
}

.vl-stage-card-target .vl-cockpit-kpi-value-xl {
    color: #d7ff82;
    font-size: 2.83rem;
    letter-spacing: -0.035em;
}

.vl-stage-card-next .vl-cockpit-kpi-value-xl {
    font-size: 2.42rem;
}

.vl-stage-card-next .vl-cockpit-kpi-value-truncate {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.vl-cockpit-kpi-meta {
    display: block;
    margin-top: 2px;
    font-size: 0.68rem;
    color: rgba(190, 203, 225, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vl-live-charts-grid {
    margin: 0 12px 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-content: start;
}

.vl-mini-chart-card-wide {
    grid-column: 1 / -1;
}

.vl-mini-chart-card {
    border: 0;
    border-radius: 10px;
    padding: 8px 9px 7px;
    background: rgba(3, 7, 13, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: none;
}

.vl-mini-chart-card > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.72rem;
    color: rgba(201, 213, 236, 0.84);
    margin-bottom: 6px;
}

.vl-mini-chart-card > span > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.vl-mini-chart-card > span > span svg {
    width: 13px;
    height: 13px;
    color: rgba(210, 220, 242, 0.58);
    stroke-width: 2;
}

.vl-mini-chart-card > span small {
    color: rgba(190, 203, 226, 0.5);
    font-size: 0.64rem;
    font-weight: 600;
}

.vl-mini-chart-card canvas {
    width: 100%;
    height: auto;
    display: block;
    min-height: 58px;
    opacity: 0.62;
}

.vl-cooked-band {
    margin-top: 12px;
    border: 1px solid rgba(216, 225, 245, 0.08);
    border-radius: 12px;
    background: rgba(4, 7, 13, 0.72);
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(205px, 0.85fr) minmax(205px, 0.85fr) minmax(430px, 1.85fr) minmax(205px, 0.85fr);
    gap: 8px;
    align-items: stretch;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(3px);
}

.vl-cooked-group {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
    align-content: start;
    padding: 8px;
    border-radius: 10px;
    background: rgba(8, 12, 20, 0.54);
    border: 1px solid rgba(216, 225, 245, 0.055);
}

.vl-cooked-group-time,
.vl-cooked-group-performance,
.vl-cooked-group-sim {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vl-cooked-group-load {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vl-cooked-family {
    grid-column: 1 / -1;
    color: rgba(210, 220, 242, 0.52);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vl-cooked-family svg {
    width: 14px;
    height: 14px;
    color: rgba(210, 220, 242, 0.58);
    stroke-width: 2;
    flex: 0 0 auto;
}

.vl-cooked-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-left: 7px;
    border-left: 1px solid rgba(182, 255, 60, 0.08);
}

.vl-cooked-item small {
    color: rgba(184, 200, 226, 0.56);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.6rem;
    line-height: 1.1;
}

.vl-cooked-item strong {
    color: rgba(239, 245, 255, 0.78);
    font-size: 1.25rem;
    font-weight: 720;
    line-height: 1.1;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-variant-numeric: tabular-nums;
}

.vl-cooked-group-load .vl-cooked-item-wbal {
    grid-column: span 2;
}

.vl-player-live-grid {
    margin-top: 4px;
}

.vl-player-live-grid .vl-item {
    min-height: 50px;
}

.vl-player-live-grid .vl-item strong {
    font-size: 0.95rem;
    color: #faffff;
}

.vl-player-controls {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.vl-player-timers {
    min-width: 260px;
    flex: 1;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 12, 20, 0.66);
    padding: 8px 10px;
}

.vl-player-timers .vl-copy {
    margin-bottom: 6px;
}

.vl-player-timers strong {
    color: #ffffff;
    font-size: 1.04rem;
    letter-spacing: 0.01em;
}

.vl-progress-group {
    margin-top: 0;
}

.vl-progress-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(198, 207, 223, 0.9);
    margin-bottom: 2px;
}

.vl-progress {
    width: 100%;
    height: 4px;
}

.vl-progress-inline {
    width: min(112px, 62%);
    margin: 8px auto 0;
    opacity: 0.48;
}

.vl-body-player:has([data-vl-play] .lucide-play) .vl-progress-inline {
    opacity: 0.3;
}

.vl-body-player:has([data-vl-play] .lucide-pause) .vl-progress-inline {
    opacity: 0.52;
}

.vl-progress::-webkit-progress-bar {
    background: rgba(167, 181, 214, 0.16);
    border-radius: 9px;
}

.vl-progress::-webkit-progress-value {
    background: linear-gradient(90deg, rgba(138, 88, 255, 0.36) 0%, rgba(182, 255, 60, 0.58) 100%);
    border-radius: 9px;
}

.vl-progress::-moz-progress-bar {
    background: linear-gradient(90deg, rgba(138, 88, 255, 0.36) 0%, rgba(182, 255, 60, 0.58) 100%);
    border-radius: 9px;
}

.vl-player-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.vl-metric {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px;
    background: rgba(10, 12, 19, 0.88);
}

.vl-metric span {
    display: block;
    font-size: 0.8rem;
    color: rgba(198, 207, 223, 0.8);
}

.vl-metric strong {
    display: block;
    margin-top: 4px;
    font-size: 1.08rem;
    color: #f9fbff;
}

.vl-chart-wrap {
    margin-top: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(8, 12, 19, 0.9) 0%, rgba(4, 7, 13, 0.95) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 14px 30px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(2px);
}

.vl-chart-wrap canvas {
    display: block;
    width: 100%;
    height: auto;
}

.vl-chart-wrap-cockpit {
    border-color: transparent;
}

.vl-chart-wrap-cockpit canvas {
    height: clamp(168px, 24vh, 222px);
}

.vl-table-wrap {
    margin-top: 12px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(9, 12, 20, 0.88);
}

.vl-table-wrap-panel {
    max-height: 62vh;
    overflow: auto;
}

.vl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 700px;
}

.vl-table th,
.vl-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: top;
    color: #e9efff;
}

.vl-table thead th {
    background: rgba(182, 255, 60, 0.1);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #dfffaf;
}

.vl-row-current {
    background: rgba(138, 88, 255, 0.2);
}

.vl-alert {
    border: 1px solid rgba(248, 179, 73, 0.7);
    background: rgba(248, 179, 73, 0.12);
    border-radius: 8px;
    padding: 0.9em 1em;
    color: #f8e8cb;
}

.vl-notice {
    border: 1px solid rgba(218, 226, 240, 0.14);
    background: rgba(255, 255, 255, 0.055);
    border-radius: 8px;
    padding: 0.75em 0.9em;
    color: rgba(218, 226, 240, 0.82);
}

.vl-notice p {
    margin: 0;
}

.vl-subtitle {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    color: #f5f8ff;
}

.vl-diag-panel {
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(8, 11, 19, 0.86);
}

.vl-diag-panel summary {
    cursor: pointer;
    font-weight: 600;
    color: #d5deef;
}

.vl-diag-log {
    margin: 10px 0 0;
    max-height: 220px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(4, 7, 13, 0.95);
    color: #d1e8f9;
    padding: 8px;
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}

.vl-diag-copy-status {
    font-size: 0.82rem;
    color: rgba(198, 207, 223, 0.9);
    align-self: center;
}

.vl-fit-export-panel {
    margin-top: 14px;
    border: 1px solid rgba(182, 255, 60, 0.35);
    border-radius: 10px;
    padding: 12px;
    background: rgba(20, 26, 18, 0.35);
}

.vl-fit-export-panel .vl-btn {
    min-width: 148px;
}

.vl-btn-danger {
    border-color: rgba(255, 108, 108, 0.45);
    color: #ffd9d9;
    background: linear-gradient(180deg, rgba(255, 78, 78, 0.28), rgba(178, 39, 39, 0.45));
}

.vl-btn-danger:hover,
.vl-btn-danger:focus-visible {
    border-color: rgba(255, 143, 143, 0.7);
}

.vl-exit-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(3, 6, 11, 0.72);
}

.vl-exit-modal-overlay[hidden] {
    display: none !important;
}

.vl-exit-modal {
    width: min(560px, 100%);
    background: rgba(6, 11, 18, 0.96);
    border: 1px solid rgba(182, 255, 60, 0.28);
    border-radius: 14px;
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.42);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vl-exit-modal-title {
    margin: 0;
    font-size: 1.05rem;
    color: #edfdcb;
}

.vl-exit-modal-message {
    margin: 0;
    color: #dce6ff;
    font-size: 0.93rem;
    line-height: 1.35;
}

.vl-exit-modal-submessage {
    margin: 0;
    color: #ffd38d;
    font-size: 0.85rem;
    line-height: 1.35;
}

.vl-exit-modal-actions {
    margin-top: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vl-exit-modal-actions .vl-btn {
    min-width: 138px;
}

.vl-exit-modal-actions .vl-btn-primary {
    color: #f6ffe8;
}

.vl-exit-modal-actions .vl-btn-primary:hover,
.vl-exit-modal-actions .vl-btn-primary:focus-visible {
    color: #071006;
    background: linear-gradient(180deg, #cfff5b, #8fdc24);
    border-color: rgba(207, 255, 91, 0.9);
}

.vl-session-chip:disabled,
.vl-session-chip.is-disabled {
    opacity: 0.42;
    cursor: not-allowed;
    filter: grayscale(0.45);
}

.vl-session-chip:disabled:hover,
.vl-session-chip.is-disabled:hover {
    background: inherit;
    color: inherit;
}

.vl-fit-export-panel h2 {
    margin: 0 0 8px;
    color: #e4f8b6;
    font-size: 1rem;
}

.vl-sim-panel {
    margin-top: 12px;
    border: 1px solid rgba(182, 255, 60, 0.42);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(16, 22, 20, 0.52);
}

.vl-badge-sim {
    border-color: rgba(182, 255, 60, 0.56);
    background: rgba(182, 255, 60, 0.18);
    color: #edffbf;
}

.vl-sim-panel-actions {
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vl-auth-actions {
    margin: 1em 0 0.6em;
}

.vl-auth-form {
    margin-top: 0.8em;
}

.vl-status {
    margin-top: 1em;
    min-height: 1.2em;
    color: #d7ff87;
}

.vl-login-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(138, 88, 255, 0.35), transparent 52%),
        linear-gradient(180deg, rgba(8, 10, 14, 0.2) 0%, rgba(9, 11, 18, 0.72) 85%);
    z-index: 1;
}

.vl-login-scene {
    position: relative;
    min-height: calc(100vh - 2rem);
    background-image:
        linear-gradient(180deg, rgba(8, 10, 16, 0.24) 0%, rgba(8, 10, 16, 0.34) 100%),
        var(--vl-vinnext-login);
    background-size: cover;
    background-position: var(--vl-vinnext-login-focus);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.vl-login-scene .inner {
    position: relative;
    z-index: 2;
}

.vl-login-box {
    border-radius: 10px;
    border: 1px solid rgba(138, 88, 255, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.46);
    background: linear-gradient(180deg, rgba(14, 18, 28, 0.66) 0%, rgba(10, 13, 22, 0.63) 100%);
    backdrop-filter: blur(7px) saturate(130%);
}

.vl-auth-form .field input,
.vl-auth-form .field input[type="email"],
.vl-auth-form .field input[type="password"] {
    background: rgba(14, 16, 24, 0.98);
}

.vl-login-box button,
.vl-login-box .button,
.vl-login-box button.alt,
.vl-login-box .button.alt {
    background: #151924;
}

.vl-login-box button:hover,
.vl-login-box .button:hover,
.vl-login-box button.alt:hover,
.vl-login-box .button.alt:hover {
    background: #1d2434;
}

.vl-login-header {
    margin-bottom: 1.75em;
}

.vl-login-header h2,
.vl-login-header p,
.vl-login-box h3,
.vl-login-box label {
    color: #f5f8ff;
}

.vl-login-box .vl-login-header h2 {
    margin-bottom: 18px;
    font-size: 1.56rem;
    font-weight: 800;
    letter-spacing: 0;
}

.vl-login-box .vl-eyebrow-login {
    margin-bottom: 14px;
    font-size: 0.68rem !important;
    letter-spacing: 0.13em;
    color: rgba(214, 223, 239, 0.62);
}

.vl-login-box .vl-login-subcopy {
    margin: 0;
    color: rgba(214, 223, 239, 0.74);
    font-size: 0.95rem !important;
    line-height: 1.45;
}

.vl-login-subcopy span {
    display: block;
}

.vl-login-subcopy span + span {
    margin-top: 0.85em;
}

.vl-login-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.vl-login-primary .vl-auth-actions {
    justify-content: center;
    margin: 0 0 0.45em;
}

.vl-login-secondary {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 20px;
}

.vl-login-google {
    min-width: 210px;
}

.vl-login-reset {
    clear: both;
    margin: 0.35em 0 0.85em;
}

.vl-link-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(168, 255, 44, 0.88);
    font: inherit;
    font-size: 0.84rem;
    line-height: 1.35;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.vl-link-button:hover,
.vl-link-button:focus {
    color: #b6ff2e;
    background: transparent;
}

.vl-link-button:disabled {
    opacity: 0.55;
    cursor: wait;
}

.vl-password-reset-panel {
    margin-top: 0.75em;
    padding: 0.85em;
    border-radius: 8px;
    background: rgba(10, 13, 22, 0.45);
    box-shadow: inset 0 0 0 1px rgba(168, 255, 44, 0.16);
}

.vl-password-reset-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.vl-password-reset-row input[type="email"] {
    min-width: 0;
}

.vl-login-box .vl-login-note {
    margin-top: 0.65em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    max-width: 390px;
    color: rgba(198, 207, 223, 0.72);
    font-size: 0.82rem !important;
    line-height: 1.35;
}

@media (max-width: 820px) {
    .vl-login-secondary {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 0;
        padding-top: 16px;
    }

    .vl-password-reset-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .vl-shell {
        padding: 16px 12px 28px;
    }

    .vl-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .vl-btn,
    .vl-nav a,
    .vl-link-button {
        width: auto;
    }

    .vl-chart-wrap-cockpit canvas {
        height: 220px;
    }

    .vl-tabs {
        width: 100%;
    }

    .vl-cockpit-tools {
        width: 100%;
    }

    .vl-cockpit-tools {
        width: auto;
    }

    .vl-system-toggle {
        width: auto;
        justify-content: center;
    }

    .vl-cockpit-tools-panel {
        left: 0;
        right: auto;
        width: 100%;
    }

    .vl-cockpit-badges {
        justify-content: flex-start;
    }

    .vl-tab {
        flex: 1 1 auto;
        text-align: center;
    }

    .vl-cockpit-control-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vl-live-charts-grid {
        grid-template-columns: 1fr;
    }

    .vl-cockpit-interval-strip,
    .vl-cockpit-instant-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vl-cockpit-interval-strip {
        grid-template-columns: 1fr;
    }

    .vl-cooked-band,
    .vl-cooked-group {
        grid-template-columns: 1fr;
    }

    .vl-cockpit-kpi-value-xl {
        font-size: 1.87rem;
    }
}

@media (max-width: 1180px) {
    .vl-cockpit-grid {
        grid-template-columns: 1fr;
    }

    .vl-live-charts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vl-cooked-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .vl-cooked-band,
    .vl-cooked-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .vl-body-home,
    .vl-body-workouts,
    .vl-body-player,
    .vl-body-login,
    .vl-login-scene {
        background-attachment: scroll;
    }
}

@media (max-height: 940px) and (min-width: 1100px) {
    .vl-shell-player {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .vl-body-player .vl-topbar {
        margin-bottom: 10px;
        padding: 8px 12px;
    }

    .vl-cockpit-header {
        padding-bottom: 7px;
    }

    .vl-cooked-band {
        margin-top: 9px;
    }
}

@media (max-height: 900px) and (min-width: 1100px) {
    .vl-shell-player {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .vl-body-player .vl-topbar {
        margin-bottom: 6px;
        padding: 6px 10px;
    }

    .vl-cockpit-grid {
        gap: 8px;
    }

    .vl-chart-wrap-cockpit canvas {
        height: clamp(146px, 20.5vh, 168px);
    }

    .vl-cockpit-interval-strip {
        padding: 8px;
    }

    .vl-cockpit-kpi-card {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .vl-stage-card-target .vl-cockpit-kpi-value-xl {
        font-size: 2.62rem;
    }

    .vl-stage-card-next .vl-cockpit-kpi-value-xl,
    .vl-stage-card-time .vl-cockpit-kpi-value-xl {
        font-size: 2.26rem;
    }

    .vl-cooked-band {
        padding: 8px;
        gap: 6px;
    }

    .vl-cooked-group {
        padding: 6px;
        gap: 5px 8px;
    }

    .vl-cooked-family {
        font-size: 0.58rem;
    }

    .vl-cooked-item small {
        font-size: 0.55rem;
    }

    .vl-cooked-item strong {
        font-size: 1.12rem;
    }
}

@media (max-height: 820px) and (min-width: 1100px) {
    .vl-shell-player {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .vl-body-player .vl-topbar {
        margin-bottom: 5px;
        padding: 5px 9px;
    }

    .vl-brand {
        font-size: 0.92rem;
    }

    .vl-nav a,
    .vl-link-button,
    .vl-session-chip {
        padding: 5px 9px;
        font-size: 0.84rem;
    }

    .vl-cockpit-header {
        gap: 8px;
        padding-bottom: 6px;
    }

    .vl-cockpit-header h1 {
        font-size: 1.02rem;
    }

    .vl-system-toggle {
        padding: 5px 9px;
        font-size: 0.7rem;
    }

    .vl-cockpit-grid {
        gap: 9px;
        margin-top: 6px;
    }

    .vl-cockpit-left {
        gap: 7px;
    }

    .vl-chart-wrap-cockpit canvas {
        height: clamp(120px, 19vh, 150px);
    }

    .vl-cockpit-control-strip {
        gap: 6px;
    }

    .vl-btn-icon {
        min-height: 34px;
        padding: 5px 5px;
        border-radius: 9px;
    }

    .vl-cockpit-control-strip .vl-btn-primary {
        min-height: 38px;
    }

    .vl-cockpit-interval-strip {
        gap: 8px;
        padding: 5px;
    }

    .vl-cockpit-kpi-card {
        padding: 6px 8px;
    }

    .vl-cockpit-kpi-label {
        margin-bottom: 3px;
        font-size: 0.56rem;
    }

    .vl-stage-card-target .vl-cockpit-kpi-value-xl {
        font-size: 2.45rem;
    }

    .vl-stage-card-next .vl-cockpit-kpi-value-xl,
    .vl-stage-card-time .vl-cockpit-kpi-value-xl {
        font-size: 2.14rem;
    }

    .vl-target-control {
        grid-template-columns: 38px minmax(82px, 1fr) 38px;
        gap: 8px;
    }

    .vl-btn-target {
        width: 38px;
        min-width: 38px;
        min-height: 34px;
    }

    .vl-cockpit-instant-strip {
        gap: 6px;
    }

    .vl-cockpit-kpi-value-live {
        font-size: 1.42rem;
    }

    .vl-cooked-band {
        margin-top: 7px;
        padding: 5px;
        gap: 6px;
    }

    .vl-cooked-group {
        padding: 6px;
        gap: 5px 8px;
    }

    .vl-cooked-group-load {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vl-cooked-family {
        font-size: 0.56rem;
    }

    .vl-cooked-family svg {
        width: 12px;
        height: 12px;
    }

    .vl-cooked-item small {
        font-size: 0.54rem;
    }

    .vl-cooked-item strong {
        font-size: 1.07rem;
    }
}

@media (max-height: 740px) and (min-width: 1100px) {
    .vl-shell-player {
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .vl-body-player .vl-topbar {
        margin-bottom: 4px;
        padding: 5px 9px;
    }

    .vl-body-player .vl-topbar-session {
        min-width: 0;
    }

    .vl-topbar-workout {
        font-size: 0.86rem;
    }

    .vl-body-player .vl-session-chip svg {
        width: 13px;
        height: 13px;
    }

    .vl-body-player .vl-session-chip,
    .vl-body-player .vl-system-toggle {
        padding: 5px 8px;
        font-size: 0.72rem;
    }

    .vl-cockpit-header {
        padding-bottom: 5px;
    }

    .vl-cockpit-grid {
        gap: 7px;
        margin-top: 5px;
    }

    .vl-chart-wrap-cockpit canvas {
        height: clamp(104px, 15.5vh, 114px);
    }

    .vl-cockpit-interval-strip {
        padding: 6px;
    }

    .vl-stage-card-target .vl-cockpit-kpi-value-xl {
        font-size: 2.18rem;
    }

    .vl-stage-card-next .vl-cockpit-kpi-value-xl,
    .vl-stage-card-time .vl-cockpit-kpi-value-xl {
        font-size: 1.9rem;
    }

    .vl-progress-inline {
        margin-top: 5px;
    }

    .vl-live-card {
        min-height: 42px;
    }

    .vl-cooked-band {
        padding: 6px;
    }

    .vl-cooked-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 7px;
        padding: 5px;
    }

    .vl-cooked-group-load {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vl-cooked-item {
        padding-left: 5px;
    }

    .vl-cooked-item strong {
        font-size: 1.02rem;
    }
}

@media (min-height: 900px) and (min-width: 1200px) {
    .vl-shell-player {
        max-height: calc(100vh - 16px);
        overflow: hidden;
    }

    .vl-panel-player {
        max-height: calc(100vh - 74px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .vl-panel-player > .vl-player {
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .vl-tab-panel.is-active[data-vl-tab-panel=\"cockpit\"] {
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .vl-cockpit-grid {
        min-height: 0;
        height: 100%;
    }

    .vl-cockpit-left,
    .vl-cockpit-right {
        min-height: 0;
    }

    .vl-cockpit-right {
        overflow: visible;
    }
}

.vl-body-plan {
    background-image:
        linear-gradient(180deg, rgba(7, 9, 14, 0.42) 0%, rgba(8, 10, 16, 0.68) 100%),
        radial-gradient(circle at 18% 12%, rgba(182, 255, 60, 0.13), transparent 42%),
        radial-gradient(circle at 88% 18%, rgba(248, 179, 73, 0.11), transparent 38%),
        var(--vl-vinnext-home);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.vl-shell-plan {
    max-width: 1320px;
}

.vl-panel-plan {
    background:
        linear-gradient(180deg, rgba(12, 15, 24, 0.54) 0%, rgba(8, 11, 18, 0.6) 100%);
    border-color: rgba(230, 239, 255, 0.07);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
}

.vl-plan-compact-header {
    margin-bottom: 12px;
}

.vl-plan-title {
    margin: 0 0 2px;
    color: rgba(198, 207, 223, 0.72);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vl-plan-title-main {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.vl-plan-toolbar {
    margin-bottom: 9px;
}

.vl-plan-status-summary .vl-library-organizer__option {
    pointer-events: none;
}

.vl-plan-range-summary {
    opacity: 0.66;
}

.vl-plan-today-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    background: rgba(10, 16, 24, 0.48);
    color: rgba(232, 240, 252, 0.78);
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 780;
    white-space: nowrap;
}

.vl-plan-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.5rem;
    margin: 0 0 6px;
    color: rgba(198, 207, 223, 0.74);
    font-size: 0.76rem;
    line-height: 1.4;
}

.vl-plan-meta-line__item {
    margin: 0;
}

.vl-plan-meta-line__item span {
    display: none;
}

.vl-plan-meta-line__item strong {
    color: inherit;
    font-weight: 760;
    font-size: inherit;
}

.vl-plan-status__relation {
    border-color: rgba(182, 255, 60, 0.28) !important;
    background: rgba(24, 34, 18, 0.42) !important;
}

.vl-plan-day-detail.is-hidden {
    display: none !important;
}

.vl-plan-heading {
    min-width: 0;
}

.vl-plan-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.vl-plan-day-card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(230, 239, 255, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(15, 18, 29, 0.92) 0%, rgba(8, 11, 18, 0.92) 100%);
    overflow: hidden;
}

.vl-plan-day-card.is-today {
    border-color: rgba(182, 255, 60, 0.66);
    box-shadow: 0 0 0 1px rgba(182, 255, 60, 0.18), 0 18px 32px rgba(0, 0, 0, 0.24);
}

.vl-plan-day-card.is-outside {
    opacity: 0.58;
}

.vl-plan-day-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-height: 72px;
    padding: 10px;
    border-bottom: 1px solid rgba(230, 239, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
}

.vl-plan-day-card__weekday {
    margin: 0 0 5px;
    color: rgba(198, 207, 223, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vl-plan-day-card__header h2 {
    margin: 0;
    color: #f8fbff;
    font-size: 1rem;
    line-height: 1.15;
}

.vl-plan-day-card__today {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(182, 255, 60, 0.42);
    background: rgba(182, 255, 60, 0.12);
    color: #edffd2;
    padding: 3px 7px;
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
}

.vl-plan-day-card__empty {
    margin: 10px;
    min-height: 112px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 1px dashed rgba(230, 239, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    padding: 12px;
}

.vl-plan-day-card__empty strong {
    color: rgba(239, 245, 255, 0.9);
    font-size: 0.96rem;
}

.vl-plan-day-card__empty span {
    color: rgba(198, 207, 223, 0.74);
    font-size: 0.82rem;
    line-height: 1.3;
}

.vl-plan-session-list {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.vl-plan-session {
    display: grid;
    gap: 9px;
    grid-template-rows: 1fr auto;
    min-height: 140px;
    border: 1px solid rgba(230, 239, 255, 0.12);
    border-left: 3px solid rgba(198, 207, 223, 0.36);
    border-radius: 8px;
    background: rgba(7, 10, 17, 0.64);
    padding: 10px;
}

.vl-plan-session--indoor {
    border-left-color: rgba(182, 255, 60, 0.72);
}

.vl-plan-session--rest {
    border-left-color: rgba(138, 88, 255, 0.66);
}

.vl-plan-session--outdoor,
.vl-plan-session--gym,
.vl-plan-session--running,
.vl-plan-session--swimming,
.vl-plan-session--custom {
    border-left-color: rgba(248, 179, 73, 0.72);
}

.vl-plan-session__type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 240, 252, 0.8);
    padding: 3px 7px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vl-plan-session h3 {
    margin: 8px 0 6px;
    color: #fbfdff;
    font-size: 0.92rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.vl-plan-session__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 18px;
}

.vl-plan-session__meta span {
    color: rgba(198, 207, 223, 0.72);
    font-size: 0.7rem;
    font-weight: 700;
}

.vl-plan-session p {
    margin: 8px 0 0;
    color: rgba(218, 226, 240, 0.78);
    font-size: 0.78rem;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
    .vl-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vl-plan-day-card {
        min-height: 300px;
    }
}

@media (max-width: 760px) {
    .vl-body-plan {
        background-attachment: scroll;
    }

    .vl-plan-compact-header,
    .vl-plan-meta-line {
        grid-template-columns: 1fr;
    }

    .vl-plan-meta-line {
        gap: 6px;
    }

    .vl-plan-grid {
        grid-template-columns: 1fr;
    }
}

.vl-plan-calendar {
    display: grid;
    gap: 7px;
    min-width: 0;
    max-height: calc(100vh - 262px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.vl-plan-calendar-heading {
    min-height: 42px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 0 2px 6px;
}

.vl-plan-calendar-heading h2 {
    margin: 0;
    color: rgba(248, 251, 255, 0.94);
    font-size: 1.08rem;
    font-weight: 820;
    line-height: 1.12;
}

.vl-plan-calendar-heading p {
    margin: 4px 0 0;
    color: rgba(198, 207, 223, 0.58);
    font-size: 0.72rem;
    font-weight: 690;
    line-height: 1.25;
}

.vl-plan-calendar-heading p span {
    color: rgba(218, 226, 240, 0.7);
    font-weight: 780;
}

.vl-plan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.vl-plan-layout.is-inspector-open {
    grid-template-columns: minmax(0, 1fr) 310px;
}

.vl-plan-weekdays {
    display: grid;
    grid-template-columns: 82px repeat(7, minmax(0, 1fr));
    gap: 6px;
    align-items: center;
}

.vl-plan-weekdays::before {
    content: "";
}

.vl-plan-weekdays span {
    color: rgba(198, 207, 223, 0.72);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.vl-plan-month-grid {
    display: grid;
    gap: 6px;
}

.vl-plan-week-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 6px;
    min-width: 0;
}

.vl-plan-week-row--history {
    opacity: 0.88;
}

.vl-plan-week-summary {
    min-height: 118px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(7, 10, 17, 0.34);
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.vl-plan-week-summary span {
    color: rgba(198, 207, 223, 0.56);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vl-plan-week-summary strong {
    color: rgba(240, 255, 216, 0.9);
    font-size: 0.76rem;
    line-height: 1.15;
}

.vl-plan-week-summary small {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: rgba(218, 226, 240, 0.64);
    font-size: 0.65rem;
    line-height: 1.15;
}

.vl-plan-week-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    min-width: 0;
}

.vl-plan-month-day {
    appearance: none;
    border: 1px solid transparent;
    padding: 7px;
    text-align: left;
    font: inherit;
    color: inherit;
    width: 100%;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(14, 18, 28, 0.7) 0%, rgba(8, 11, 18, 0.78) 100%);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(230, 239, 255, 0.045);
}

.vl-plan-month-day:disabled {
    cursor: default;
}

.vl-plan-month-day.is-today {
    border-color: rgba(182, 255, 60, 0.76);
    box-shadow: inset 0 0 0 1px rgba(182, 255, 60, 0.22);
}

.vl-plan-month-day.is-selected {
    border-color: rgba(248, 179, 73, 0.72);
    background:
        linear-gradient(180deg, rgba(32, 26, 15, 0.9) 0%, rgba(12, 12, 16, 0.92) 100%);
    box-shadow: inset 0 0 0 1px rgba(248, 179, 73, 0.22);
}

.vl-plan-month-day.is-today.is-selected {
    box-shadow:
        inset 0 0 0 1px rgba(248, 179, 73, 0.28),
        0 0 0 1px rgba(182, 255, 60, 0.38);
}

.vl-plan-month-day:hover,
.vl-plan-month-day:focus-visible {
    border-color: rgba(248, 179, 73, 0.58);
    outline: none;
}

.vl-plan-month-day.is-outside-plan {
    background: rgba(7, 10, 17, 0.28);
    box-shadow: inset 0 0 0 1px rgba(230, 239, 255, 0.035);
}

.vl-plan-month-day__header {
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.vl-plan-month-day__number {
    color: #f8fbff;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1;
}

.vl-plan-month-day__today {
    border-radius: 999px;
    border: 1px solid rgba(182, 255, 60, 0.38);
    background: rgba(182, 255, 60, 0.12);
    color: #edffd2;
    padding: 2px 5px;
    font-size: 0.55rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.vl-plan-month-day__state {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.026);
}

.vl-plan-month-day__state span {
    color: rgba(198, 207, 223, 0.68);
    font-size: 0.68rem;
    font-weight: 760;
    text-align: center;
}

.vl-plan-month-day__sessions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
    min-width: 0;
}

.vl-plan-month-day .vl-plan-session {
    min-height: 0;
    display: grid;
    grid-template-rows: auto;
    gap: 4px;
    border: 1px solid transparent;
    border-left: 3px solid rgba(198, 207, 223, 0.36);
    border-radius: 7px;
    background: rgba(4, 7, 13, 0.48);
    padding: 6px;
}

.vl-plan-month-day .vl-plan-session--with-profile {
    gap: 3px;
    padding-bottom: 5px;
}

.vl-plan-month-day .vl-plan-session--indoor {
    border-left-color: rgba(182, 255, 60, 0.72);
}

.vl-plan-month-day .vl-plan-session--rest {
    border-left-color: rgba(138, 88, 255, 0.66);
    background:
        radial-gradient(circle at 48% 34%, rgba(232, 240, 252, 0.07), transparent 62%),
        rgba(4, 7, 13, 0.26);
}

.vl-plan-month-day .vl-plan-rest-cell {
    border-color: transparent;
    border-left-color: rgba(138, 88, 255, 0.18);
    background:
        radial-gradient(circle at 50% 36%, rgba(232, 240, 252, 0.08), transparent 66%),
        rgba(255, 255, 255, 0.01);
    padding: 5px 6px;
    opacity: 0.78;
}

.vl-plan-month-day .vl-plan-session--outdoor,
.vl-plan-month-day .vl-plan-session--gym,
.vl-plan-month-day .vl-plan-session--running,
.vl-plan-month-day .vl-plan-session--swimming,
.vl-plan-month-day .vl-plan-session--multivin,
.vl-plan-month-day .vl-plan-session--custom {
    border-left-color: rgba(248, 179, 73, 0.72);
}

.vl-plan-month-day .vl-plan-session__type {
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 240, 252, 0.8);
    padding: 2px 5px;
    font-size: 0.53rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.vl-plan-month-day .vl-plan-session__rest {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    min-height: 54px;
    padding: 2px 0 1px;
    text-align: center;
}

.vl-plan-month-day .vl-plan-session__rest img {
    width: min(46px, 82%);
    height: 30px;
    object-fit: contain;
    opacity: 0.72;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.22));
}

.vl-plan-month-day .vl-plan-session__rest .vl-plan-session__type {
    margin: 0;
    background: transparent;
    color: rgba(232, 240, 252, 0.68);
    padding: 0;
    font-size: 0.58rem;
    letter-spacing: 0;
    text-transform: none;
}

.vl-plan-month-day .vl-plan-session h3 {
    margin: 4px 0 3px;
    color: #fbfdff;
    display: -webkit-box;
    font-size: 0.72rem;
    font-weight: 760;
    line-height: 1.16;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vl-plan-month-day .vl-plan-session__meta {
    min-height: 0;
    display: grid;
    gap: 2px;
}

.vl-plan-month-day .vl-plan-session__meta span {
    display: block;
    color: rgba(198, 207, 223, 0.66);
    font-size: 0.6rem;
    font-weight: 720;
    line-height: 1.1;
}

.vl-plan-month-day .vl-plan-session__profile {
    width: 100%;
    min-height: 26px;
    height: 26px;
    margin: 2px 0 0;
    border-radius: 5px;
    border-color: transparent;
    background:
        linear-gradient(180deg, rgba(4, 8, 14, 0.08) 0%, rgba(3, 7, 12, 0.32) 100%),
        linear-gradient(90deg, rgba(182, 255, 60, 0.04), rgba(138, 88, 255, 0.05));
}

.vl-plan-month-day .vl-plan-session__profile::after {
    opacity: 0.32;
}

.vl-plan-month-day .vl-plan-session__profile .vl-wcard__profile-fallback {
    gap: 2px;
    padding: 4px 5px 3px;
}

.vl-plan-month-day .vl-plan-session__profile .vl-wcard__profile-fallback span {
    min-height: 5px;
    border-radius: 3px 3px 1px 1px;
    opacity: 0.5;
}

.vl-plan-month-day .vl-plan-session__profile .vl-wcard__profile-grid {
    stroke-width: 0.8;
}

.vl-plan-month-day .vl-plan-session__profile .vl-wcard__profile-baseline {
    stroke-width: 0.9;
}

.vl-plan-month-day .vl-plan-session__profile .vl-wcard__profile-segment {
    stroke-width: 0.25;
}

.vl-plan-month-day__more {
    align-self: flex-start;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 240, 252, 0.72);
    padding: 2px 6px;
    font-size: 0.62rem;
    font-weight: 850;
}

.vl-plan-day-detail {
    position: sticky;
    top: 12px;
    padding: 10px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.vl-plan-side {
    display: grid;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.vl-plan-side[aria-hidden="true"] {
    display: none;
}

.vl-plan-day-detail {
    border: 1px solid rgba(230, 239, 255, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(14, 18, 28, 0.74) 0%, rgba(7, 10, 17, 0.82) 100%);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.vl-plan-day-detail--selected {
    border-color: rgba(248, 179, 73, 0.28);
    background:
        linear-gradient(180deg, rgba(17, 19, 30, 0.74) 0%, rgba(7, 10, 17, 0.82) 100%);
}

.vl-plan-day-detail,
.vl-plan-side,
.vl-plan-detail-session--card {
    box-sizing: border-box;
}

.vl-plan-detail-session--card,
.vl-plan-detail-session--card .vl-wcard,
.vl-plan-day-detail .vl-wcard--plan-detail {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf .vl-wcard__shelf-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.vl-plan-day-detail__header {
    border-bottom: 1px solid rgba(230, 239, 255, 0.08);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.vl-plan-day-detail__header-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.vl-plan-day-detail__header span {
    display: block;
    margin-bottom: 0;
    color: rgba(198, 207, 223, 0.62);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vl-plan-day-detail__header h2 {
    margin: 0;
    color: #f8fbff;
    font-size: 0.96rem;
    line-height: 1.18;
    margin-left: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vl-plan-inspector-close {
    appearance: none;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 240, 252, 0.78);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}

.vl-plan-inspector-close:hover,
.vl-plan-inspector-close:focus-visible {
    background: rgba(248, 179, 73, 0.16);
    color: #fff;
    outline: none;
}

.vl-plan-day-detail__header p {
    margin: 0;
    color: rgba(218, 226, 240, 0.72);
    font-size: 0.78rem;
    font-weight: 720;
    min-height: 0;
    visibility: hidden;
}

.vl-plan-day-detail__sessions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.vl-plan-detail-session {
    display: grid;
    gap: 9px;
    border: 1px solid rgba(230, 239, 255, 0.12);
    border-left: 3px solid rgba(198, 207, 223, 0.36);
    border-radius: 8px;
    background: rgba(4, 7, 13, 0.58);
    padding: 9px;
}

.vl-plan-detail-session--card {
    display: block;
    border: 0;
    background: transparent;
    padding: 0;
}

.vl-plan-detail-session--card .vl-wcard {
    box-shadow: none;
}

.vl-plan-day-detail .vl-wcard--plan-detail {
    grid-template-rows: auto 92px auto;
    min-height: 0;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__header {
    gap: 9px;
    padding: 10px 10px 6px;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__title {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf .vl-wcard__shelf-copy,
.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf .vl-wcard__profile,
.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__shelf-copy,
.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__profile {
    min-width: 0;
    max-width: 100%;
}

.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf .vl-wcard__shelf-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
    width: auto;
    gap: 5px;
    padding: 0;
}

.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf .vl-wcard__shelf-meta span,
.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__shelf-meta span {
    font-size: 0.58rem;
    padding: 1px 5px;
    min-height: 16px;
    white-space: nowrap;
    overflow-wrap: normal;
    max-width: none;
}

.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf .vl-wcard__shelf-copy,
.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__shelf-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: 8px;
    padding: 0 6px 2px;
}

.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf .vl-wcard__shelf-copy .vl-wcard__title,
.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__shelf-copy .vl-wcard__title {
    margin-bottom: 0;
    font-size: 0.82rem;
    line-height: 1.1;
    min-width: 0;
    overflow-wrap: anywhere;
    align-self: center;
    -webkit-line-clamp: 2;
}

.vl-plan-day-detail .vl-plan-detail-session--card .vl-wcard--shelf .vl-wcard__profile,
.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__profile {
    margin: 0 6px 6px;
    min-height: 86px;
    align-self: stretch;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__category {
    min-height: 20px;
    padding: 3px 7px;
    font-size: 0.6rem;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__cta {
    min-width: 82px;
    border-radius: 7px;
    padding: 7px 9px;
    font-size: 0.72rem;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__profile {
    min-height: 82px;
    margin: 2px 10px 0;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__profile-fallback {
    padding: 12px 12px 10px;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 8px 10px 10px;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__metric {
    padding: 7px 6px;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__metric dt {
    font-size: 0.56rem;
}

.vl-plan-day-detail .vl-wcard--plan-detail .vl-wcard__metric dd {
    font-size: 0.76rem;
}

.vl-plan-detail-session.vl-plan-session--indoor {
    border-left-color: rgba(182, 255, 60, 0.72);
}

.vl-plan-detail-session.vl-plan-session--rest {
    border-left-color: rgba(138, 88, 255, 0.66);
}

.vl-plan-detail-session.vl-plan-session--outdoor,
.vl-plan-detail-session.vl-plan-session--gym,
.vl-plan-detail-session.vl-plan-session--running,
.vl-plan-detail-session.vl-plan-session--swimming,
.vl-plan-detail-session.vl-plan-session--multivin,
.vl-plan-detail-session.vl-plan-session--custom {
    border-left-color: rgba(248, 179, 73, 0.72);
}

.vl-plan-detail-session__type {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 240, 252, 0.82);
    padding: 3px 7px;
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.vl-plan-detail-session h3 {
    margin: 7px 0 5px;
    color: #fbfdff;
    font-size: 0.9rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.vl-plan-rest-detail {
    min-height: 124px;
    display: grid;
    place-items: center;
    gap: 8px;
    border-radius: 7px;
    background:
        radial-gradient(circle at 50% 30%, rgba(138, 88, 255, 0.14), transparent 58%),
        rgba(255, 255, 255, 0.026);
    padding: 10px;
    text-align: center;
}

.vl-plan-rest-detail img {
    width: min(150px, 82%);
    max-height: 92px;
    object-fit: contain;
    opacity: 0.94;
}

.vl-plan-rest-detail strong {
    color: rgba(244, 248, 255, 0.94);
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.1;
}

.vl-plan-detail-session__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
}

.vl-plan-detail-session__meta span {
    color: rgba(198, 207, 223, 0.7);
    font-size: 0.7rem;
    font-weight: 720;
}

.vl-plan-detail-session p {
    margin: 8px 0 0;
    color: rgba(218, 226, 240, 0.78);
    font-size: 0.76rem;
    line-height: 1.35;
}

.vl-plan-detail-train {
    justify-self: start;
    min-width: 96px;
    padding: 7px 10px;
    font-size: 0.78rem;
    text-align: center;
}

.vl-plan-detail-session__disabled {
    color: rgba(198, 207, 223, 0.58);
    font-size: 0.72rem;
    font-weight: 760;
}

.vl-plan-day-detail__empty {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.026);
    padding: 12px;
}

.vl-plan-day-detail__empty strong {
    color: rgba(239, 245, 255, 0.9);
    font-size: 0.96rem;
}

.vl-plan-day-detail__empty span {
    color: rgba(198, 207, 223, 0.72);
    font-size: 0.82rem;
    line-height: 1.3;
}

@media (max-width: 1120px) {
    .vl-plan-layout,
    .vl-plan-layout.is-inspector-open {
        grid-template-columns: 1fr;
    }

    .vl-plan-day-detail {
        position: static;
    }

    .vl-plan-side {
        position: static;
    }

    .vl-plan-weekdays {
        display: none;
    }

    .vl-plan-week-row {
        grid-template-columns: 1fr;
    }

    .vl-plan-week-summary {
        min-height: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .vl-plan-week-summary small {
        flex-direction: row;
    }

    .vl-plan-week-days {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .vl-plan-week-days {
        grid-template-columns: 1fr;
    }

    .vl-plan-month-day {
        min-height: 112px;
    }
}

.vl-topbar-home {
    margin-bottom: 5px;
    backdrop-filter: blur(14px);
}

.vl-topbar-main {
    margin-bottom: 5px;
    backdrop-filter: blur(14px);
}

.vl-body-home .vl-shell {
    max-width: min(1480px, calc(100vw - 40px));
    padding: 8px 14px 4px;
}

.vl-shell-main {
    max-width: min(1480px, calc(100vw - 40px));
    padding: 8px 14px 4px;
}

.vl-topbar-actions-home {
    gap: 8px;
}

.vl-topbar-actions-main {
    gap: 8px;
}

.vl-home-shell {
    display: grid;
    gap: 4px;
}

.vl-home-hero {
    position: relative;
    min-height: clamp(258px, 32vh, 308px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(5, 8, 14, 0.96) 0%, rgba(7, 10, 15, 0.78) 44%, rgba(4, 7, 12, 0.38) 100%),
        radial-gradient(circle at 72% 24%, rgba(182, 255, 60, 0.14), transparent 32%),
        var(--vl-vinnext-home);
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.vl-home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 13, 0.72) 100%);
}

.vl-home-hero__content {
    position: relative;
    z-index: 2;
    min-width: 0;
    box-sizing: border-box;
    display: grid;
    align-content: start;
    padding: 14px 18px 10px 24px;
}

.vl-home-kicker {
    display: block;
    margin: 0 0 7px;
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.15em;
    color: var(--vl-acid);
    text-transform: uppercase;
}

.vl-home-hero h1 {
    margin: 0;
    max-width: 560px;
    color: #ffffff;
    font-size: clamp(1.9rem, 1.58rem + 1.12vw, 2.72rem);
    line-height: 1.04;
    font-weight: 900;
}

.vl-home-hero-copy {
    margin: 5px 0 0;
    max-width: 520px;
    color: rgba(244, 248, 255, 0.92);
    font-size: clamp(1.05rem, 0.98rem + 0.22vw, 1.22rem);
    line-height: 1.35;
    font-weight: 680;
}

.vl-home-baldomero-quote {
    margin: 8px 0 8px;
    max-width: 520px;
}

.vl-home-baldomero-quote blockquote {
    margin: 0;
    color: #d9ff8b;
    font-size: clamp(1.02rem, 0.95rem + 0.2vw, 1.16rem);
    line-height: 1.34;
    font-weight: 760;
}

.vl-home-baldomero-quote figcaption {
    margin-top: 4px;
    color: rgba(244, 248, 255, 0.82);
    font-size: 0.94rem;
}

.vl-home-hero__visual {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: block;
    padding: 0 24px 0 0;
    box-sizing: border-box;
}

.vl-home-baldomero-frame {
    position: absolute;
    right: 24px;
    bottom: 0;
    width: min(330px, 30vw);
    height: min(262px, calc(100% - 18px));
    min-height: 230px;
    overflow: hidden;
    border-radius: 0 0 18px 18px;
}

.vl-home-baldomero-frame::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 3%;
    bottom: -12px;
    height: 90px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.42) 48%, transparent 74%),
        linear-gradient(180deg, transparent 0%, rgba(5, 8, 13, 0.66) 64%, rgba(5, 8, 13, 0.94) 100%);
    filter: blur(2px);
    opacity: 0.96;
}

.vl-home-baldomero-frame img {
    position: absolute;
    left: 50%;
    top: -12px;
    width: auto;
    height: min(398px, 43vh);
    max-width: none;
    transform: translateX(-50%);
    filter:
        drop-shadow(0 20px 28px rgba(0, 0, 0, 0.44))
        drop-shadow(0 34px 42px rgba(0, 0, 0, 0.34));
}

.vl-home-baldomero-action {
    position: absolute;
    top: 14px;
    right: 24px;
    z-index: 3;
    display: grid;
    justify-items: center;
}

.vl-home-baldomero-action .vl-feedback-link {
    margin: 0;
    min-height: 28px;
    padding: 4px 9px;
    color: rgba(224, 231, 243, 0.74);
    border-color: rgba(230, 239, 255, 0.15);
    background: rgba(7, 11, 18, 0.42);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    font-size: 0.74rem;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.vl-home-baldomero-action .vl-feedback-link::before {
    content: "";
    width: 12px;
    height: 9px;
    border: 1.5px solid currentColor;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 4px 5px 0 -4px currentColor;
}

.vl-home-baldomero-action .vl-feedback-link:hover,
.vl-home-baldomero-action .vl-feedback-link:focus-visible {
    color: #ffffff;
    border-color: rgba(182, 255, 60, 0.5);
    background: rgba(12, 18, 28, 0.72);
}

.vl-home-card {
    padding: 9px 10px;
}

.vl-home-card--primary {
    border-color: rgba(182, 255, 60, 0.28);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.vl-home-card--secondary {
    opacity: 0.96;
}

.vl-home-user-line {
    margin: 8px 0 10px;
    color: rgba(198, 207, 223, 0.88);
}

.vl-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.92fr);
    gap: 8px;
    align-items: stretch;
}

.vl-home-grid--semantic {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.92fr);
    grid-template-areas:
        "week status plan";
    position: relative;
}

.vl-home-card--today {
    width: min(700px, 100%);
    margin-top: auto;
    box-sizing: border-box;
    background:
        linear-gradient(180deg, rgba(14, 18, 28, 0.9) 0%, rgba(7, 10, 17, 0.9) 100%);
    backdrop-filter: blur(14px);
}

.vl-home-card--status {
    grid-area: status;
}

.vl-home-card--week {
    grid-area: week;
}

.vl-home-card--plan {
    grid-area: plan;
    position: relative;
}

.vl-home-plan-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.vl-home-plan-header h2 {
    margin-bottom: 0;
}

.vl-home-card h2 {
    margin: 0 0 5px;
    color: #fbfdff;
    font-size: clamp(1rem, 0.96rem + 0.16vw, 1.12rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.vl-home-card .vl-copy {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 0.8rem;
    line-height: 1.3;
}

.vl-home-card .vl-copy:last-child {
    margin-bottom: 0;
}

.vl-home-subtitle {
    margin: 0 0 6px;
    color: var(--vl-acid);
    font-size: 0.86rem;
    font-weight: 720;
}

.vl-home-session {
    border: 1px solid rgba(230, 239, 255, 0.12);
    border-radius: 10px;
    background: rgba(8, 12, 20, 0.54);
    padding: 7px 8px;
}

.vl-home-session-title {
    margin: 0 0 3px;
    color: var(--vl-copy-strong);
    font-size: 0.9rem;
    line-height: 1.15;
}

.vl-home-session-meta {
    margin: 0;
    color: rgba(198, 207, 223, 0.78);
    font-size: 0.8rem;
}

.vl-home-state-chip {
    margin: 5px 0 0;
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(182, 255, 60, 0.36);
    padding: 2px 7px;
    color: #edffd5;
    font-size: 0.72rem;
}

.vl-home-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3px;
}

.vl-home-stats div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    border-bottom: 1px solid rgba(230, 239, 255, 0.08);
    padding-bottom: 3px;
}

.vl-home-stats dt,
.vl-home-stats dd {
    margin: 0;
}

.vl-home-stats dt {
    color: rgba(198, 207, 223, 0.86);
}

.vl-home-stats dd {
    color: var(--vl-copy-strong);
    font-weight: 760;
}

.vl-home-week-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.vl-home-week-header h2 {
    margin: 0;
}

.vl-home-week-days {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
}

.vl-home-week-days span {
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 999px;
    color: rgba(218, 228, 244, 0.68);
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1;
}

.vl-home-week-days span.is-today {
    color: #17220b;
    background: var(--vl-acid);
    box-shadow: 0 0 16px rgba(182, 255, 60, 0.24);
}

.vl-home-week-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.vl-home-week-metrics div {
    min-width: 0;
    display: grid;
    gap: 1px;
    border: 0;
    border-radius: 8px;
    background: rgba(4, 7, 13, 0.34);
    padding: 6px 7px;
}

.vl-home-week-metrics dt {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.64rem;
    font-weight: 760;
}

.vl-home-week-metrics dd {
    font-size: 0.83rem;
    line-height: 1.02;
    white-space: nowrap;
}

.vl-home-week-metric--timewide {
    grid-column: span 2;
}

.vl-home-week-activity-label {
    margin: 7px 0 5px;
    color: rgba(204, 214, 230, 0.76);
    font-size: 0.7rem;
    font-weight: 760;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vl-home-week-activity {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: rgba(222, 249, 199, 0.88);
    font-size: 0.76rem;
    font-weight: 720;
    line-height: 1.22;
}

.vl-home-week-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    border: 1px solid rgba(182, 255, 60, 0.16);
    border-radius: 999px;
    padding: 3px 8px;
    color: rgba(226, 245, 201, 0.9);
    background: rgba(10, 15, 21, 0.48);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.1;
}

.vl-home-week-chip strong {
    font-size: 0.78rem;
}

.vl-home-sync-flyout {
    position: relative;
    z-index: 6;
    margin-left: auto;
}

.vl-home-sync-trigger {
    min-height: 27px;
    border: 1px solid rgba(230, 239, 255, 0.11);
    border-radius: 999px;
    padding: 4px 9px;
    color: rgba(210, 222, 239, 0.7);
    background: rgba(5, 9, 16, 0.48);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 760;
    cursor: default;
}

.vl-home-sync-trigger::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 999px;
    background: rgba(182, 255, 60, 0.78);
    box-shadow: 0 0 10px rgba(182, 255, 60, 0.28);
    vertical-align: 1px;
}

.vl-home-sync-popover {
    position: absolute;
    right: 0;
    top: calc(100% + 7px);
    min-width: 190px;
    padding: 9px;
    border: 1px solid rgba(230, 239, 255, 0.13);
    border-radius: 8px;
    background: rgba(8, 12, 20, 0.96);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.vl-home-sync-flyout:hover .vl-home-sync-popover,
.vl-home-sync-flyout:focus-within .vl-home-sync-popover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.vl-home-sync-popover p {
    margin: 0 0 7px;
    color: rgba(238, 243, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 820;
}

.vl-home-sync-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.vl-home-sync-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 23px;
    border: 1px solid rgba(230, 239, 255, 0.11);
    border-radius: 999px;
    padding: 3px 8px;
    color: rgba(232, 238, 248, 0.92);
    background: rgba(5, 9, 16, 0.44);
    font-size: 0.76rem;
    font-weight: 680;
}

.vl-home-sync-check {
    display: inline-grid;
    place-items: center;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    color: #18260d;
    background: rgba(182, 255, 60, 0.78);
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
}

.vl-home-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vl-home-cta {
    min-width: 150px;
}

.vl-home-cta-block {
    margin-top: 8px;
}

.vl-home-warning {
    margin: 6px 0;
    border-left: 3px solid var(--vl-warning);
    padding-left: 10px;
    color: #ffe4bb;
    font-size: 0.86rem;
}

.vl-home-freshness {
    margin: 9px 0 0;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(166, 178, 196, 0.68);
    font-size: 0.73rem;
    line-height: 1.22;
}

.vl-home-note {
    margin-top: 6px;
    color: rgba(198, 207, 223, 0.85);
    font-size: 0.77rem;
}

.vl-home-coach-primary {
    margin: 0 0 6px;
    color: #def9c7;
    font-size: 0.9rem;
    font-weight: 780;
    line-height: 1.28;
}

.vl-home-coach-recommendation {
    margin: 0 0 6px;
    color: rgba(239, 244, 252, 0.96);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.vl-home-coach-warning {
    margin-top: 6px;
    border-left-color: #ffb36a;
    color: #ffcb87;
    font-weight: 720;
}

.vl-home-status-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
}

.vl-home-status-point {
    position: relative;
    padding-left: 16px;
    color: rgba(222, 231, 244, 0.84);
    font-size: 0.78rem;
    line-height: 1.28;
}

.vl-home-status-point::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: rgba(182, 255, 60, 0.9);
    font-size: 0.72rem;
    font-weight: 900;
}

.vl-home-empty,
.vl-home-error {
    margin-top: 8px;
}

.vl-home-workout-card {
    margin-top: 1px;
    max-width: none;
    display: grid;
    gap: 4px;
}

.vl-home-workout-card .vl-wcard {
    grid-template-rows: 1fr;
    min-height: 0;
    height: 72px;
    display: block;
    width: 100%;
}

.vl-home-workout-card .vl-wcard--shelf {
    height: 72px;
    min-height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.vl-home-workout-card .vl-wcard__profile {
    min-height: 52px;
}

.vl-home-workout-card .vl-wcard__shelf-main {
    padding: 5px 6px;
    gap: 6px;
}

.vl-home-secondary-actions {
    margin-top: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.vl-home-secondary-actions .vl-btn {
    min-width: auto;
    padding: 5px 8px;
    background: rgba(15, 19, 30, 0.82);
    border-color: rgba(255, 255, 255, 0.12);
    font-size: 0.74rem;
}

.vl-home-plan-name {
    margin: 0 0 4px;
    color: #fbfdff;
    font-size: 0.98rem;
    font-weight: 820;
    line-height: 1.2;
}

.vl-home-plan-range {
    color: rgba(210, 219, 233, 0.78);
}

@media (max-width: 760px) {
    .vl-topbar-home,
    .vl-topbar-main {
        align-items: flex-start;
    }

    .vl-topbar-actions-home,
    .vl-topbar-actions-main {
        margin-left: auto;
        justify-content: flex-end;
    }

    .vl-home-hero {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        background:
            linear-gradient(180deg, rgba(5, 8, 14, 0.94) 0%, rgba(6, 9, 15, 0.84) 64%, rgba(4, 7, 12, 0.76) 100%),
            radial-gradient(circle at 82% 16%, rgba(182, 255, 60, 0.12), transparent 34%),
            var(--vl-vinnext-home);
        background-size: cover;
        background-position: center;
    }

    .vl-home-hero__content {
        padding: 20px 20px 16px;
    }

    .vl-home-hero__visual {
        position: absolute;
        inset: 0;
        display: block;
        padding: 0;
        pointer-events: none;
    }

    .vl-home-baldomero-frame {
        right: 24px;
        bottom: 0;
        width: min(250px, 30vw);
        height: 184px;
        min-height: 184px;
        opacity: 0.5;
    }

    .vl-home-baldomero-frame img {
        top: -8px;
        height: 296px;
    }

    .vl-home-baldomero-action {
        position: absolute;
        top: 14px;
        right: 22px;
        pointer-events: auto;
        margin-top: 0;
    }

    .vl-home-card--today {
        width: 100%;
        box-sizing: border-box;
    }

    .vl-home-grid {
        grid-template-columns: 1fr;
    }

    .vl-home-grid--semantic {
        grid-template-areas:
            "status"
            "week"
            "plan";
        padding-bottom: 0;
    }

    .vl-home-workout-card .vl-wcard,
    .vl-home-workout-card .vl-wcard--shelf {
        height: 102px;
        min-height: 102px;
    }
}

@media (max-width: 640px) {
    .vl-topbar-actions-home,
    .vl-topbar-actions-main {
        gap: 7px;
    }

    .vl-home-shell {
        gap: 10px;
    }

    .vl-home-hero {
        border-radius: 10px;
    }

    .vl-home-hero__content {
        padding: 20px 14px 15px;
    }

    .vl-home-baldomero-quote {
        margin-bottom: 12px;
    }

    .vl-home-hero__visual {
        position: static;
        display: grid;
        padding: 0 14px 14px;
        justify-items: start;
        pointer-events: auto;
    }

    .vl-home-baldomero-frame {
        display: none;
    }

    .vl-home-baldomero-action {
        justify-self: start;
        margin-top: 0;
    }

    .vl-home-card {
        padding: 11px;
    }

    .vl-home-workout-card .vl-wcard,
    .vl-home-workout-card .vl-wcard--shelf {
        height: 110px;
        min-height: 110px;
    }
}
