
:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f6f7f9;
    background: #0b0d10;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #0b0d10; }
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 5vw; border-bottom: 1px solid #272b31;
    background: #111419; position: sticky; top: 0; z-index: 20;
}
header h1 { margin: 0; font-size: 1.25rem; }
header p { margin: 4px 0 0; color: #a7adb7; font-size: .9rem; }
.site-brand { display: flex; align-items: center; gap: 14px; }
.site-brand-logo {
    width: 86px; height: 64px; object-fit: cover;
    border: 1px solid #343b45; border-radius: 10px;
}
nav { display: flex; gap: 14px; align-items: center; }
.site-help-button { white-space: nowrap; }
@media (min-width: 701px) and (max-width: 1350px) {
    header { padding: 18px 3vw; gap: 12px 24px; flex-wrap: wrap; }
    nav { flex: 1 1 820px; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
    nav a, nav button { flex-shrink: 0; }
    .site-brand { gap: 10px; }
    .site-brand-logo { width: 74px; height: 58px; }
    .site-help-button { padding-inline: 13px; }
}

/* Cross-platform beta foundation ---------------------------------------- */
.beta-launch-link .header-more-icon {
    color: #73b7ff;
}

.studio-header .pwa-install-action {
    border: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pwa-install-banner[hidden] {
    display: none !important;
}

.pwa-install-banner {
    position: fixed;
    z-index: 1400;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    left: max(18px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(115, 183, 255, 0.6);
    border-radius: 18px;
    background: rgba(15, 21, 28, 0.97);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(18px);
}

.pwa-install-banner-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #1b4f7a, #10263a);
    font-size: 1.55rem;
}

.pwa-install-banner strong,
.pwa-install-banner span {
    display: block;
}

.pwa-install-banner span {
    margin-top: 3px;
    color: #aeb9c4;
    font-size: 0.86rem;
}

.pwa-install-banner .button {
    width: auto;
    white-space: nowrap;
}

.pwa-install-dismiss {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid #3c4753;
    border-radius: 10px;
    background: #171d24;
    color: #e7edf3;
    font-size: 1.35rem;
    cursor: pointer;
}

.pwa-standalone body {
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}

.beta-launch-page {
    display: grid;
    gap: 24px;
}

.beta-launch-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: center;
    padding: clamp(30px, 5vw, 62px);
    overflow: hidden;
    border: 1px solid #315a7e;
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 15%, rgba(61, 154, 236, 0.22), transparent 32%),
        radial-gradient(circle at 5% 95%, rgba(240, 180, 41, 0.12), transparent 30%),
        linear-gradient(135deg, #172330, #0d1218 72%);
}

.beta-launch-hero::after {
    position: absolute;
    right: -90px;
    bottom: -130px;
    width: 320px;
    height: 320px;
    border: 42px solid rgba(115, 183, 255, 0.05);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.beta-launch-hero h2 {
    margin: 8px 0 14px;
    max-width: 720px;
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 0.96;
}

.beta-launch-hero p {
    max-width: 720px;
    margin: 0;
    color: #c3ced9;
    font-size: 1.05rem;
    line-height: 1.62;
}

.beta-launch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.beta-launch-actions .button,
.beta-launch-actions .secondary-button {
    width: auto;
}

.beta-device-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
    justify-items: center;
    padding: 26px 20px;
    border: 1px solid rgba(115, 183, 255, 0.52);
    border-radius: 22px;
    background: rgba(8, 13, 19, 0.76);
    text-align: center;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.beta-device-icon {
    display: grid;
    width: 78px;
    height: 78px;
    margin-bottom: 5px;
    place-items: center;
    border: 1px solid #3e749f;
    border-radius: 24px;
    background: linear-gradient(145deg, #1b4c73, #102638);
    font-size: 2.5rem;
}

.beta-device-card > strong {
    font-size: 1.15rem;
}

.beta-device-card > span:not(.eyebrow):not(.beta-device-icon) {
    color: #c6d1db;
    line-height: 1.4;
}

.beta-device-card small {
    color: #f0b429;
    line-height: 1.35;
}

.beta-device-card small.is-ready {
    color: #69e89a;
}

.beta-local-warning {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border: 1px solid rgba(240, 180, 41, 0.48);
    border-radius: 16px;
    background: rgba(68, 48, 10, 0.27);
}

.beta-local-warning > span {
    font-size: 1.65rem;
}

.beta-local-warning p {
    margin: 5px 0 0;
    color: #ddcfae;
    line-height: 1.5;
}

.beta-local-warning code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #0b1015;
    color: #f4c654;
    overflow-wrap: anywhere;
}

.beta-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.beta-platform-card {
    padding: 24px;
    border: 1px solid #37434f;
    border-radius: 19px;
    background: linear-gradient(145deg, #171d24, #10151b);
}

.beta-platform-card.apple {
    border-top-color: #c9d2dc;
}

.beta-platform-card.android {
    border-top-color: #69e89a;
}

.beta-platform-card.windows {
    border-top-color: #73b7ff;
}

.beta-platform-icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 14px;
    background: #0b1015;
    font-size: 1.65rem;
}

.beta-platform-card h3 {
    margin: 0 0 6px;
    font-size: 1.32rem;
}

.beta-platform-card > strong {
    color: #f0b429;
}

.beta-platform-card p {
    color: #aeb9c4;
    line-height: 1.55;
}

.beta-platform-card details {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #303945;
}

.beta-platform-card summary {
    color: #dce5ee;
    font-weight: 800;
    cursor: pointer;
}

.beta-platform-card ol {
    margin-bottom: 0;
    padding-left: 21px;
    color: #b8c3ce;
    line-height: 1.6;
}

.beta-readiness-section {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #303a45;
    border-radius: 21px;
    background: #12171d;
}

.beta-readiness-section h2,
.beta-next-build h2 {
    margin: 5px 0 0;
}

.beta-stage-badge {
    padding: 8px 13px;
    border: 1px solid rgba(240, 180, 41, 0.45);
    border-radius: 999px;
    background: rgba(240, 180, 41, 0.1);
    color: #f4c654;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.beta-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.beta-check-card {
    padding: 18px;
    border: 1px solid #37424d;
    border-radius: 15px;
    background: #0d1217;
}

.beta-check-card.status-ready {
    border-color: rgba(105, 232, 154, 0.46);
    background: linear-gradient(145deg, rgba(22, 73, 47, 0.28), #0d1217 68%);
}

.beta-check-card.status-next,
.beta-check-card.status-fix {
    border-color: rgba(240, 180, 41, 0.42);
}

.beta-check-status {
    display: inline-block;
    margin-bottom: 10px;
    color: #f0b429;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.status-ready .beta-check-status {
    color: #69e89a;
}

.beta-check-card h3 {
    margin: 0;
    font-size: 1rem;
}

.beta-check-card p {
    margin: 8px 0 0;
    color: #aab5c0;
    font-size: 0.88rem;
    line-height: 1.48;
}

.beta-next-build {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 30px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(115, 183, 255, 0.38);
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(25, 58, 84, 0.55), #11171d 68%);
}

.beta-next-build p {
    max-width: 760px;
    color: #b8c4cf;
    line-height: 1.62;
}

.beta-first-lap {
    padding: 20px;
    border-radius: 16px;
    background: #0b1015;
}

.beta-first-lap strong {
    color: #f0b429;
}

.beta-first-lap ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: #c1ccd6;
    line-height: 1.7;
}

.offline-workshop {
    max-width: 760px;
    margin: clamp(30px, 8vh, 90px) auto;
    padding: clamp(28px, 6vw, 58px);
    border: 1px solid rgba(240, 180, 41, 0.54);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 8%, rgba(240, 180, 41, 0.14), transparent 35%),
        #12171d;
    text-align: center;
}

.offline-workshop h2 {
    margin: 8px 0 14px;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1;
}

.offline-workshop > p {
    color: #b9c4ce;
    line-height: 1.6;
}

.offline-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0;
}

.offline-actions .button,
.offline-actions .secondary-button {
    width: auto;
}

.offline-checklist {
    max-width: 560px;
    margin: 28px auto 0;
    padding: 20px 20px 20px 42px;
    border-radius: 14px;
    background: #0b1015;
    color: #c5d0da;
    line-height: 1.7;
    text-align: left;
}

@media (max-width: 900px) {
    .beta-launch-hero,
    .beta-next-build {
        grid-template-columns: 1fr;
    }

    .beta-device-card {
        max-width: 480px;
    }

    .beta-platform-grid,
    .beta-check-grid {
        grid-template-columns: 1fr 1fr;
    }

    .beta-platform-card:last-child,
    .beta-check-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    button,
    .button,
    .secondary-button,
    a.header-nav-link,
    summary {
        touch-action: manipulation;
    }

    input,
    textarea,
    select {
        font-size: 16px;
    }

    .beta-launch-page {
        gap: 15px;
    }

    .beta-launch-hero {
        padding: 26px 20px;
        border-radius: 19px;
    }

    .beta-launch-hero h2 {
        font-size: clamp(2.3rem, 15vw, 4.2rem);
    }

    .beta-launch-actions,
    .offline-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .beta-launch-actions .button,
    .beta-launch-actions .secondary-button,
    .offline-actions .button,
    .offline-actions .secondary-button {
        width: 100%;
        min-height: 48px;
    }

    .beta-local-warning,
    .beta-platform-grid,
    .beta-check-grid {
        grid-template-columns: 1fr;
    }

    .beta-local-warning > span {
        display: none;
    }

    .beta-platform-card:last-child,
    .beta-check-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .section-heading-row {
        align-items: flex-start;
    }

    .beta-stage-badge {
        white-space: nowrap;
    }

    .pwa-install-banner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        padding: 11px;
    }

    .pwa-install-banner .button {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .pwa-install-dismiss {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (max-width: 430px) {
    .beta-device-card,
    .beta-platform-card,
    .beta-readiness-section,
    .beta-next-build {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .beta-stage-badge {
        display: none;
    }

    .pwa-install-banner-icon {
        display: none;
    }

    .pwa-install-banner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .pwa-install-dismiss {
        grid-column: 2;
    }
}

/* Publishing Planner */
.publishing-planner-nav-link {
    border-color: rgba(244, 182, 50, 0.45);
}

.social-posting-pack-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.publishing-schedule-field {
    padding: 0.75rem;
    border: 1px solid rgba(244, 182, 50, 0.35);
    border-radius: 0.75rem;
    background: rgba(244, 182, 50, 0.08);
}

.publishing-schedule-field input[type="datetime-local"] {
    color-scheme: dark;
}

.publishing-planner-hero {
    border: 1px solid rgba(244, 182, 50, 0.48);
    background:
        radial-gradient(circle at 88% 12%, rgba(244, 182, 50, 0.2), transparent 30%),
        linear-gradient(145deg, #15191e, #0b0f13);
}

.publishing-planner-hero-stat {
    min-width: 190px;
    padding: 1.1rem 1.35rem;
    border-radius: 1rem;
    background: rgba(5, 8, 11, 0.78);
    border: 1px solid rgba(244, 182, 50, 0.4);
    text-align: center;
}

.publishing-planner-hero-stat strong {
    display: block;
    color: #f4b632;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
}

.publishing-planner-hero-stat span {
    display: block;
    margin-top: 0.45rem;
    color: #c9d0d7;
}

.publishing-planner-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}

.publishing-stat {
    padding: 1rem;
    border: 1px solid #303943;
    border-radius: 0.9rem;
    background: #12171c;
}

.publishing-stat strong {
    display: block;
    font-size: 1.8rem;
}

.publishing-stat span {
    color: #b6c0ca;
}

.publishing-stat.is-overdue strong { color: #ff7777; }
.publishing-stat.is-today strong { color: #f4b632; }
.publishing-stat.is-upcoming strong { color: #70b7ff; }
.publishing-stat.is-posted strong { color: #69e89a; }

.publishing-privacy-note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin: 1rem 0 1.4rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(105, 232, 154, 0.35);
    border-radius: 0.9rem;
    background: rgba(20, 87, 50, 0.14);
}

.publishing-privacy-note > span {
    font-size: 1.35rem;
}

.publishing-privacy-note p {
    margin: 0.25rem 0 0;
    color: #c4d3ca;
}

.publishing-planner-section,
.publishing-posted-history {
    margin-top: 1.2rem;
    padding: 1rem;
    border: 1px solid #303943;
    border-radius: 1rem;
    background: #101419;
}

.publishing-planner-section.is-overdue {
    border-color: rgba(255, 99, 99, 0.5);
}

.publishing-planner-section.is-today {
    border-color: rgba(244, 182, 50, 0.55);
}

.publishing-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 0.9rem;
}

.publishing-section-heading h3,
.publishing-section-heading p {
    margin: 0.18rem 0 0;
}

.publishing-section-heading > strong {
    display: grid;
    place-items: center;
    min-width: 2.6rem;
    min-height: 2.6rem;
    border-radius: 999px;
    background: #f4b632;
    color: #090b0e;
    font-size: 1.15rem;
}

.publishing-planner-grid,
.publishing-ready-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.publishing-plan-card,
.publishing-ready-card {
    padding: 1rem;
    border: 1px solid #313a44;
    border-radius: 0.9rem;
    background: #0b1015;
    min-width: 0;
}

.publishing-plan-card.platform-youtube { border-left: 4px solid #ff2929; }
.publishing-plan-card.platform-tiktok { border-left: 4px solid #30f1e9; }
.publishing-plan-card.platform-instagram { border-left: 4px solid #d85cff; }
.publishing-plan-card.platform-facebook { border-left: 4px solid #3c8cff; }

.publishing-plan-card-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
}

.publishing-plan-card-heading h4 {
    margin: 0.18rem 0 0;
    overflow-wrap: anywhere;
}

.publishing-platform-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: #232a32;
    font-weight: 900;
}

.publishing-status-badge {
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: #26303a;
    color: #dce4eb;
    font-size: 0.74rem;
    font-weight: 900;
    white-space: nowrap;
}

.publishing-status-badge.is-overdue {
    background: rgba(178, 43, 43, 0.35);
    color: #ff9696;
}

.publishing-status-badge.is-today {
    background: rgba(244, 182, 50, 0.2);
    color: #ffd46e;
}

.publishing-status-badge.is-upcoming {
    background: rgba(44, 113, 181, 0.3);
    color: #8dc8ff;
}

.publishing-status-badge.is-posted {
    background: rgba(34, 133, 72, 0.3);
    color: #83f0a9;
}

.publishing-project-name {
    margin: 0.8rem 0 0.4rem;
    color: #aeb8c3;
}

.publishing-date-block {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin: 0.55rem 0;
}

.publishing-date-block strong {
    color: #f4b632;
}

.publishing-date-block span {
    padding: 0.2rem 0.45rem;
    border-radius: 0.45rem;
    background: #252d35;
    font-weight: 800;
}

.publishing-plan-card > small,
.publishing-ready-card > small {
    display: block;
    color: #87929d;
    overflow-wrap: anywhere;
}

.publishing-plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.publishing-ready-card h4,
.publishing-ready-card p {
    margin: 0.35rem 0;
}

.publishing-ready-card .button {
    margin-top: 0.85rem;
}

.publishing-posted-history > summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-weight: 900;
}

.publishing-posted-history[open] > summary {
    margin-bottom: 1rem;
}

.publishing-planner-empty {
    text-align: center;
}

.publishing-planner-empty > span {
    display: block;
    font-size: 3rem;
}

@media (max-width: 900px) {
    .publishing-planner-stats,
    .publishing-planner-grid,
    .publishing-ready-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .publishing-planner-hero-stat {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .publishing-planner-stats,
    .publishing-planner-grid,
    .publishing-ready-grid {
        grid-template-columns: 1fr;
    }

    .publishing-plan-card-heading {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .publishing-status-badge {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .publishing-section-heading,
    .social-posting-pack-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .publishing-plan-actions .button,
    .publishing-ready-card .button,
    .social-posting-pack-actions .button,
    .social-posting-pack-actions button {
        width: 100%;
        text-align: center;
    }
}

/* Multi-niche creator profile */
.customer-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.customer-content-card {
    position: relative;
    display: grid;
    grid-template-columns: 32px 44px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 5px 12px;
    align-items: center;
    min-height: 132px;
    padding: 18px;
    border: 1px solid #344050;
    border-radius: 16px;
    background: #0b1118;
    cursor: pointer;
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.customer-content-card:hover {
    transform: translateY(-2px);
    border-color: #f4b72b;
}

.customer-content-card:has(input:checked) {
    border-color: #f4b72b;
    background: linear-gradient(145deg, rgba(244, 183, 43, 0.14), #0b1118 58%);
    box-shadow: 0 0 0 2px rgba(244, 183, 43, 0.12);
}

.customer-content-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.customer-content-check {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 2px solid #778397;
    border-radius: 7px;
    color: #071018;
    font-weight: 900;
}

.customer-content-card input:checked + .customer-content-check {
    border-color: #f4b72b;
    background: #f4b72b;
}

.customer-content-card input:checked + .customer-content-check::after {
    content: "✓";
}

.customer-content-card input:focus-visible + .customer-content-check {
    outline: 3px solid #79b7ff;
    outline-offset: 3px;
}

.customer-content-icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 30px;
    line-height: 1;
}

.customer-content-card > strong {
    grid-column: 3;
    color: #fff;
    font-size: 18px;
}

.customer-content-card > span:not(.customer-content-check):not(.customer-content-icon) {
    grid-column: 3;
    color: #b7c3d4;
    line-height: 1.4;
}

.content-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.customer-content-card .content-status-badge {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 8px;
}

.content-status-badge.is-ready {
    color: #77efab;
    border: 1px solid rgba(61, 213, 131, 0.5);
    background: rgba(19, 104, 62, 0.25);
}

.content-status-badge.is-profile {
    color: #ffd66f;
    border: 1px solid rgba(244, 183, 43, 0.45);
    background: rgba(137, 93, 0, 0.24);
}

.customer-content-details {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.customer-content-detail {
    min-width: 0;
    margin: 0;
    padding: 17px;
    border: 1px solid #344050;
    border-radius: 14px;
    background: rgba(8, 14, 21, 0.78);
}

.customer-content-detail[hidden] {
    display: none;
}

.customer-content-detail legend,
.customer-other-content > strong {
    padding: 0 7px;
    color: #f4b72b;
    font-weight: 900;
}

.customer-detail-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.customer-detail-pill {
    position: relative;
    cursor: pointer;
}

.customer-detail-pill input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.customer-detail-pill span {
    display: inline-flex;
    padding: 9px 12px;
    border: 1px solid #4a5667;
    border-radius: 999px;
    color: #c8d3e2;
    background: #101822;
    font-weight: 700;
}

.customer-detail-pill input:checked + span {
    color: #10141a;
    border-color: #f4b72b;
    background: #f4b72b;
}

.customer-detail-pill input:focus-visible + span {
    outline: 3px solid #79b7ff;
    outline-offset: 2px;
}

.customer-other-content {
    display: grid;
    gap: 9px;
}

.customer-other-content > span,
.customer-content-safety {
    color: #aebbd0;
}

.customer-other-content input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #536176;
    border-radius: 10px;
    color: #fff;
    background: #080e15;
}

.creator-profile-summary {
    display: grid;
    grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 18px 0 24px;
    padding: 18px 20px;
    border: 1px solid #33404f;
    border-radius: 16px;
    background: #111820;
}

.creator-profile-summary h3 {
    margin: 3px 0 0;
}

.creator-profile-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.creator-profile-chip {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 8px 11px;
    border: 1px solid rgba(244, 183, 43, 0.38);
    border-radius: 999px;
    color: #f6e3ad;
    background: rgba(244, 183, 43, 0.09);
    font-weight: 800;
}

.creator-launchpad {
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #3d4653;
    border-radius: 18px;
    background: linear-gradient(145deg, #151a20, #0d1218);
}

.creator-launchpad .project-lane-heading p {
    max-width: 760px;
    margin-bottom: 0;
    color: #afbdce;
}

.creator-launchpad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 18px;
}

.creator-launchpad-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 17px;
    border: 1px solid #354151;
    border-radius: 14px;
    background: #0b1118;
}

.creator-launchpad-icon {
    font-size: 34px;
}

.creator-launchpad-card h4,
.creator-launchpad-card p {
    margin: 0;
}

.creator-launchpad-card p {
    margin-top: 5px;
    color: #aab7c8;
}

.creator-launchpad-card .content-status-badge {
    grid-column: 1 / -1;
    margin-top: 5px;
}

@media (max-width: 900px) {
    .customer-content-grid,
    .creator-launchpad-grid {
        grid-template-columns: 1fr;
    }

    .creator-profile-summary {
        grid-template-columns: 1fr;
    }

    .creator-profile-summary .button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    header {
        position: static;
    }

    .customer-content-card {
        grid-template-columns: 30px 38px minmax(0, 1fr);
        padding: 15px;
    }

    .customer-content-icon {
        font-size: 26px;
    }

    .customer-content-card > strong {
        font-size: 16px;
    }
}
a { color: inherit; text-decoration: none; }
main { width: min(1120px, 90vw); margin: 40px auto 80px; }
.button, button {
    display: inline-block; background: #f0b429; color: #101216; border: 0;
    border-radius: 10px; padding: 11px 16px; font-weight: 800; cursor: pointer;
}
.button.large { padding: 14px 20px; }
.secondary-button {
    background: #303945;
    color: #ffffff;
}
.danger-button {
    background: #b42318; color: #fff;
    border: 1px solid #e35d52;
}
.danger-button:hover { background: #d92d20; }

.studio-help-open { overflow: hidden; }

.studio-help-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.studio-help-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: min(520px, 100vw);
    height: 100dvh;
    overflow-y: auto;
    padding: 24px;
    border-left: 2px solid #f0b429;
    background: #101419;
    box-shadow: -22px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
}

.studio-help-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.studio-help-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #303945;
}

.studio-help-header h2 {
    margin: 6px 0 8px;
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.studio-help-header p,
.studio-page-help p,
.studio-page-help ol {
    margin: 0;
    color: #c2c9d2;
}

.studio-help-close {
    flex: 0 0 auto;
}

.studio-page-help {
    display: grid;
    gap: 10px;
    margin: 20px 0;
    padding: 16px;
    border: 1px solid rgba(240, 180, 41, 0.65);
    border-radius: 12px;
    background: rgba(240, 180, 41, 0.08);
}

.studio-page-help > strong {
    color: #f0b429;
    font-size: 1.08rem;
}

.studio-page-help ol {
    display: grid;
    gap: 6px;
    padding-left: 22px;
}

.studio-help-search-label {
    margin: 0 0 16px;
    color: #f6f7f9;
}

.studio-help-topics {
    display: grid;
    gap: 10px;
}

.studio-help-topic {
    overflow: hidden;
    border: 1px solid #303945;
    border-radius: 12px;
    background: #171c22;
}

.studio-help-topic[open] {
    border-color: #596575;
}

.studio-help-topic summary {
    padding: 15px 16px;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
}

.studio-help-topic summary:hover {
    background: #20262e;
}

.studio-help-topic > div {
    padding: 0 18px 18px;
    color: #c9d0d9;
}

.studio-help-topic p,
.studio-help-topic ol,
.studio-help-topic ul {
    margin: 8px 0 0;
}

.studio-help-topic li + li {
    margin-top: 7px;
}

.studio-help-topic strong {
    color: #ffffff;
}

.studio-help-no-results {
    padding: 18px;
    border: 1px dashed #596575;
    border-radius: 12px;
    color: #c9d0d9;
}

.studio-help-reassurance {
    margin-top: 18px;
    padding: 16px;
    border-radius: 12px;
    background: #19351f;
    color: #d8f7df;
}

.context-help-button {
    margin: 0 0 18px;
    padding: 9px 13px;
    font-size: 0.9rem;
}
.delete-ride-form { display: block; margin-top: 18px; }
.ride-card-actions,
.edit-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}
.ride-card-actions .delete-ride-form { margin: 0; }
.edit-ride-note { color: #b6bdc8; }
.ride-project-actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    margin-top: 25px;
}
.ride-project-actions form { display: block; margin: 0; }
.hero, .panel {
    background: linear-gradient(135deg, #171b21, #111419);
    border: 1px solid #2b3038; border-radius: 18px; padding: 34px;
}
.hero { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.hero h2, .panel h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 8px 0 12px; }
.hero p { color: #b6bdc8; max-width: 650px; margin-bottom: 24px; }
.eyebrow { color: #f0b429; font-size: .8rem; font-weight: 900; letter-spacing: .14em; }
.stat { min-width: 180px; text-align: center; padding: 25px; border-radius: 16px; background: #0d1014; }
.stat strong { display: block; font-size: 3.5rem; }
.stat span, .date { color: #9da5b1; }
section { margin-bottom: 34px; }
h3 { font-size: 1.35rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card, .output {
    background: #14181d; border: 1px solid #292f37; border-radius: 14px; padding: 22px;
}
.card:hover { border-color: #f0b429; transform: translateY(-2px); transition: .15s ease; }
.card h4 { font-size: 1.25rem; margin: 10px 0; }
.card p { color: #b1b8c2; }
.open { color: #f0b429; font-weight: 800; }
.empty { padding: 28px; border: 1px dashed #383f49; border-radius: 14px; }
.narrow { max-width: 760px; margin: auto; }
form { display: grid; gap: 18px; margin-top: 24px; }
label { display: grid; gap: 8px; font-weight: 700; }
input, textarea, select {
    width: 100%; background: #0b0e12; color: #f6f7f9;
    border: 1px solid #343b45; border-radius: 10px; padding: 13px;
    font: inherit;
}

.voiceover-studio {
    margin: 10px 0;
    padding: 20px;
    border: 1px solid #3c4652;
    border-radius: 14px;
    background: linear-gradient(145deg, #151b22, #0c1117);
}

.voiceover-studio-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.voiceover-studio-heading h3,
.voiceover-studio-heading p {
    margin: 0;
}

.voiceover-studio-heading p {
    margin-top: 6px;
    color: #b7c0cb;
}

.voiceover-studio textarea {
    min-height: 150px;
    line-height: 1.5;
}

.voiceover-script-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.voiceover-script-heading > div:first-child {
    display: grid;
    gap: 4px;
}

.voiceover-script-heading span {
    color: #aeb8c4;
    font-size: 0.92rem;
}

.voiceover-script-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.voiceover-script-actions button {
    min-height: 44px;
}

.voiceover-script-panel {
    padding: 16px;
    border: 1px solid #35404c;
    border-radius: 12px;
    background: #0b1016;
}

.voiceover-script-panel[hidden] {
    display: none;
}

.voiceover-script-panel textarea[readonly] {
    border-color: #303945;
    background: #111820;
    color: #d8dee7;
    cursor: default;
}

.voiceover-script-status {
    margin: 0;
    color: #aeb8c4;
}

.voiceover-script-status.is-success {
    color: #72d68b;
}

.voiceover-script-status.is-error {
    color: #ff817a;
}

.voiceover-character-count {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 7px 0 16px;
    color: #aeb8c4;
    font-size: 0.88rem;
}

.voiceover-character-count output {
    color: #f4b632;
    font-weight: 900;
    white-space: nowrap;
}

.voiceover-method {
    margin-top: 16px;
    padding: 17px;
    border: 1px solid #34404d;
    border-radius: 12px;
    background: #0d1319;
}

.voiceover-method h4,
.voiceover-method p {
    margin: 0;
}

.voiceover-method h4 {
    color: #ffffff;
    font-size: 1.05rem;
}

.voiceover-method > div:first-child > p,
.own-voice-recorder-heading p {
    margin-top: 5px;
    color: #aeb8c4;
}

.voiceover-ai-method {
    border-color: #574b2d;
    background: #17140d;
}

.voiceover-ai-method.is-locked-free {
    border-style: dashed;
    opacity: 0.82;
}

.skint-free-video-banner,
.skint-free-ai-lock,
.skint-free-plan-summary {
    border: 1px solid #3c9a64;
    border-radius: 14px;
    background: linear-gradient(115deg, #10271b, #131a18 75%);
    color: #d9f7e5;
}

.skint-free-video-banner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0;
    padding: 15px 18px;
}

.skint-free-video-banner strong {
    color: #79e69f;
}

.skint-free-video-banner p,
.skint-free-ai-lock p,
.skint-free-plan-summary p {
    margin: 5px 0 0;
}

.skint-free-video-banner span,
.skint-free-locked-button {
    flex: 0 0 auto;
}

.skint-free-locked-button {
    text-decoration: none;
}

.skint-free-ai-lock {
    margin: 0 0 18px;
    padding: 16px 18px;
}

.skint-free-plan-summary {
    margin-top: 22px;
    padding: 18px 20px;
}

.skint-free-plan-summary ul {
    margin: 12px 0;
    padding-left: 22px;
}

.own-voice-recorder {
    border-color: #2f6845;
    background: #0d1812;
}

.own-voice-recorder-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.no-credit-badge {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid #4ca76b;
    border-radius: 999px;
    background: #153421;
    color: #83e5a2;
    font-size: 0.8rem;
    font-weight: 900;
}

.voiceover-studio-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
    gap: 14px;
    align-items: end;
}

.voiceover-studio-controls .button {
    min-height: 50px;
}

.voice-recorder-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, auto)) minmax(80px, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.voice-recorder-controls button {
    min-height: 48px;
}

#voice-recording-timer {
    justify-self: end;
    min-width: 76px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: right;
}

.voice-recording-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #f4b632;
    border-radius: 12px;
    background: #2a210d;
    color: #ffffff;
}

.voice-recording-countdown[hidden] {
    display: none;
}

.voice-recording-countdown strong {
    color: #f4b632;
    font-size: 2rem;
}

.voice-recording-draft {
    display: grid;
    gap: 12px;
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #4ca76b;
    border-radius: 12px;
    background: #101f16;
}

.voice-recording-draft[hidden] {
    display: none;
}

.voice-recording-draft audio {
    width: 100%;
}

.voice-recording-draft-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.voice-recording-upload {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #2b4936;
    color: #bdc8c1;
}

.voice-recording-upload label {
    display: inline-flex;
    width: auto;
    cursor: pointer;
}

#voice-recorder-status {
    margin: 14px 0 0;
    color: #bdc8c1;
}

#voice-recorder-status.is-success {
    color: #83e5a2;
    font-weight: 800;
}

#voice-recorder-status.is-error {
    color: #ff8b8b;
    font-weight: 800;
}

#voice-recorder-status.is-recording {
    color: #ff8b8b;
    font-weight: 900;
}

#voiceover-studio-status {
    margin: 16px 0 0;
    color: #c3ccd7;
}

#voiceover-studio-status.is-success {
    color: #72df91;
    font-weight: 800;
}

#voiceover-studio-status.is-error {
    color: #ff8b8b;
    font-weight: 800;
}

.saved-voiceover-panel {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1.4fr) auto;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    padding: 15px;
    border: 1px solid #365343;
    border-radius: 12px;
    background: #101a15;
}

.saved-voiceover-panel[hidden] {
    display: none;
}

.saved-voiceover-panel > div {
    display: grid;
    gap: 4px;
}

.saved-voiceover-panel span {
    color: #aeb8c4;
    font-size: 0.84rem;
}

.saved-voiceover-panel audio {
    width: 100%;
    min-width: 0;
}

.voiceover-disclosure {
    margin: 14px 0 0;
    padding: 11px 13px;
    border-left: 4px solid #f4b632;
    background: #211b0e;
    color: #e3d6b9;
    font-size: 0.88rem;
}

.video-format-picker {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #3a4654;
    border-radius: 14px;
    background: #0b0f14;
}

.video-format-picker legend {
    padding: 0 8px;
    color: #f4b632;
}

.video-format-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.video-format-option {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 88px;
    padding: 14px 16px;
    border: 2px solid #343e49;
    border-radius: 12px;
    background: #11171e;
    cursor: pointer;
}

.video-format-option:has(input:checked) {
    border-color: #f4b632;
    background: #211a0d;
    box-shadow: inset 0 0 0 1px rgba(244, 182, 50, 0.18);
}

.video-format-option input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #f4b632;
}

.video-format-option > span:last-child {
    display: grid;
    gap: 5px;
}

.video-format-option small,
.video-format-help,
.video-crop-focus-control small {
    color: #aeb8c4;
}

.video-format-icon {
    display: block;
    border: 2px solid #d8e0e9;
    border-radius: 4px;
    background: linear-gradient(135deg, #53697d, #18212b);
}

.video-format-landscape {
    width: 44px;
    aspect-ratio: 16 / 9;
}

.video-format-vertical {
    width: 24px;
    aspect-ratio: 9 / 16;
}

.video-format-help {
    margin: 12px 0 0;
}

.video-vertical-only {
    display: none !important;
}

.is-vertical-video .video-vertical-only {
    display: grid !important;
}

.video-build-settings {
    margin: 8px 0 0;
    padding: 18px;
    border: 1px solid #343b45;
    border-radius: 12px;
    background: #0b0f14;
}

.video-build-settings legend {
    padding: 0 8px;
    color: #f4b632;
    font-weight: 900;
}

.video-build-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.video-export-quality {
    display: grid;
    gap: 8px;
}

.video-export-quality span {
    min-height: 50px;
    padding: 13px;
    border: 1px solid #343b45;
    border-radius: 10px;
    background: #151b22;
    color: #d5dbe3;
}

.video-audio-range-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 58px;
    gap: 12px;
    align-items: center;
    min-height: 50px;
    padding: 8px 11px;
    border: 1px solid #343b45;
    border-radius: 10px;
    background: #151b22;
}

.video-audio-range-row input[type="range"] {
    min-width: 0;
    padding: 0;
    accent-color: #f4b632;
}

.video-audio-range-row output {
    color: #f4b632;
    font-weight: 900;
    text-align: right;
}

.inline-help-button {
    display: inline-block;
    width: auto;
    margin-left: 8px;
    padding: 5px 9px;
    border: 1px solid #536171;
    border-radius: 999px;
    background: #18202a;
    color: #f6f7f9;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.inline-help-button:hover {
    border-color: #f4b632;
    color: #f4b632;
}

.video-setting-toggles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.video-setting-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #303945;
    border-radius: 10px;
    background: #11161c;
    cursor: pointer;
}

.video-setting-toggle input {
    width: 20px !important;
    height: 20px;
    padding: 0 !important;
    accent-color: #f4b632;
}

.video-settings-note {
    margin: 14px 0 0;
    color: #aeb8c4;
    font-size: 0.9rem;
}

.finished-videos {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #343b45;
    border-radius: 14px;
    background: #0b0f14;
}

.finished-videos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.finished-videos-header h3,
.finished-videos-header p {
    margin: 0;
}

.finished-videos-header p {
    margin-top: 6px;
    color: #aeb8c4;
}

.finished-videos-header > strong {
    padding: 7px 11px;
    border-radius: 999px;
    background: #f4b632;
    color: #0b0f14;
    white-space: nowrap;
}

.finished-video-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.finished-video-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    padding: 16px;
    border: 1px solid #303945;
    border-left: 4px solid #f4b632;
    border-radius: 10px;
    background: #11161c;
}

.finished-video-details {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.finished-video-details > strong {
    overflow-wrap: anywhere;
}

.finished-video-details small {
    color: #aeb8c4;
}

.finished-video-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.finished-video-actions .button,
.finished-video-actions button {
    padding: 9px 12px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.finished-video-actions .secondary-button {
    background: #303945;
    color: #ffffff;
}

.finished-video-actions form {
    display: block;
    margin: 0;
}

.js-studio-video-download.is-preparing,
.js-studio-video-share.is-preparing {
    cursor: wait;
    opacity: 0.78;
}

.studio-video-action-status {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    min-height: 1.3rem;
    color: #9fd8ff;
    font-weight: 700;
}

.studio-video-action-status:empty {
    display: none;
}

.studio-video-action-status[data-state="success"] {
    color: #72e6a0;
}

.studio-video-action-status[data-state="error"] {
    color: #ff8d8d;
}

.finished-video-share {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
    padding: 16px;
    border: 1px solid #313b47;
    border-radius: 12px;
    background: #0b1016;
}

.finished-video-share-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.finished-video-share-heading > div {
    display: grid;
    gap: 4px;
}

.finished-video-share-heading strong {
    color: #ffffff;
}

.finished-video-share-heading small,
.social-upload-privacy-note {
    color: #aeb8c4;
    line-height: 1.45;
}

.social-post-step {
    display: inline-grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    background: #f4b632;
    color: #0b0f14;
    font-weight: 900;
}

.social-upload-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.social-upload-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.social-upload-button:hover,
.social-upload-button:focus-visible {
    color: #ffffff;
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.social-upload-button > span {
    display: inline-grid;
    min-width: 22px;
    place-items: center;
    font-size: 1.08rem;
}

.social-upload-youtube {
    background: #e62117;
}

.social-upload-tiktok {
    border-color: #25f4ee;
    background: #111111;
    box-shadow: inset -3px 0 #fe2c55;
}

.social-upload-instagram {
    background: linear-gradient(120deg, #833ab4, #c13584, #f77737);
}

.social-upload-facebook {
    background: #1877f2;
}

.social-upload-privacy-note {
    margin: 0;
    font-size: 0.82rem;
}

.social-posting-pack {
    border: 1px solid #3c4652;
    border-radius: 12px;
    background: #111820;
    overflow: hidden;
}

.social-posting-pack > summary {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    cursor: pointer;
    color: #ffffff;
    font-weight: 900;
    list-style: none;
}

.social-posting-pack > summary::-webkit-details-marker {
    display: none;
}

.social-posting-pack > summary > span {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.social-posting-pack > summary::after {
    content: "Open pack +";
    color: #f4b632;
    font-size: 0.82rem;
    white-space: nowrap;
}

.social-posting-pack[open] > summary::after {
    content: "Close pack -";
}

.social-posting-pack > summary [data-posting-progress] {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #303945;
    color: #dce4ec;
    font-size: 0.78rem;
    white-space: nowrap;
}

.social-posting-pack > summary [data-posting-progress].is-complete {
    background: #174d2e;
    color: #79eba3;
}

.social-posting-pack-body {
    display: grid;
    gap: 16px;
    padding: 17px;
    border-top: 1px solid #343e49;
    background: #0c1117;
}

.social-posting-pack-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.social-posting-pack-intro p {
    max-width: 720px;
    margin: 5px 0 0;
    color: #aeb8c4;
    line-height: 1.5;
}

.social-posting-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.social-posting-platform {
    display: grid;
    align-content: start;
    gap: 11px;
    min-width: 0;
    padding: 15px;
    border: 1px solid #343e49;
    border-left: 5px solid #f4b632;
    border-radius: 11px;
    background: #111820;
}

.social-posting-youtube {
    border-left-color: #e62117;
}

.social-posting-tiktok {
    border-left-color: #25f4ee;
}

.social-posting-instagram {
    border-left-color: #c13584;
}

.social-posting-facebook {
    border-left-color: #1877f2;
}

.social-posting-platform-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.social-posting-platform-heading > strong {
    font-size: 1.02rem;
}

.social-posting-platform-heading > label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d7dee6;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
}

.social-posting-platform-heading input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin: 0;
    padding: 0;
    accent-color: #39c66d;
}

.social-posting-platform > label,
.social-posting-hashtags {
    display: grid;
    gap: 6px;
    color: #d9e0e7;
    font-size: 0.82rem;
    font-weight: 800;
}

.social-posting-platform input[type="text"],
.social-posting-platform input[type="url"],
.social-posting-platform textarea,
.social-posting-hashtags textarea {
    width: 100%;
    border: 1px solid #46515e;
    background: #080d12;
    color: #ffffff;
}

.social-posting-platform textarea,
.social-posting-hashtags textarea {
    min-height: 0;
    line-height: 1.45;
    resize: vertical;
}

.social-posting-platform .secondary-button {
    justify-self: start;
    padding: 8px 11px;
    background: #303945;
    color: #ffffff;
    font-size: 0.83rem;
}

.social-posting-hashtags {
    padding: 14px;
    border: 1px dashed #56616d;
    border-radius: 11px;
    background: #111820;
}

.social-posting-save-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-posting-save-row [data-posting-status] {
    color: #aeb8c4;
    font-size: 0.85rem;
}

.social-posting-save-row [data-posting-status].is-success {
    color: #62dd91;
}

.social-posting-save-row [data-posting-status].is-error {
    color: #ff7f89;
}

.finished-videos-empty {
    margin: 18px 0 0;
    padding: 16px;
    border: 1px dashed #3b4551;
    border-radius: 10px;
    color: #aeb8c4;
}

@media (max-width: 700px) {
    .voiceover-studio-heading,
    .voiceover-character-count,
    .voiceover-script-actions,
    .own-voice-recorder-heading {
        display: grid;
    }

    .voiceover-script-actions button {
        width: 100%;
    }

    .voiceover-studio-controls,
    .voice-recorder-controls,
    .saved-voiceover-panel,
    .video-build-settings-grid,
    .video-setting-toggles {
        grid-template-columns: 1fr;
    }

    #voice-recording-timer {
        justify-self: start;
        text-align: left;
    }

    .finished-videos-header,
    .finished-video-card {
        display: grid;
    }

    .finished-video-card {
        grid-template-columns: 1fr;
    }

    .finished-video-actions {
        justify-content: flex-start;
    }

    .finished-video-share {
        grid-column: auto;
    }

    .social-upload-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-posting-grid {
        grid-template-columns: 1fr;
    }

    .social-posting-pack-intro,
    .social-posting-save-row {
        display: grid;
    }

    .social-posting-pack-intro button,
    .social-posting-save-row button {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .social-upload-buttons {
        grid-template-columns: 1fr;
    }

    .social-posting-pack > summary {
        display: grid;
    }

    .social-posting-pack > summary [data-posting-progress] {
        margin-left: 0;
        justify-self: start;
    }
}
textarea { resize: vertical; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; color: #b3bbc6; }
.notes { white-space: pre-wrap; margin-top: 24px; padding: 20px; background: #0d1014; border-radius: 12px; }
.output-grid { display: grid; gap: 18px; }
.output textarea { min-height: 90px; }
.flash { margin-bottom: 20px; background: #19351f; border: 1px solid #2b6a38; padding: 13px; border-radius: 10px; }
@media (max-width: 700px) {
    header, .hero { align-items: flex-start; flex-direction: column; }
    nav { width: 100%; flex-wrap: wrap; justify-content: space-between; }
    .site-help-button { order: 3; width: 100%; }
    .studio-help-drawer { padding: 18px; }
    .studio-help-header { display: grid; }
    .studio-help-close { width: 100%; }
    .stat { width: 100%; }
}
/* Thumbnail Studio live preview */

.thumbnail-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 960px;
    margin: 24px auto 10px;
    overflow: hidden;
    border: 2px solid #f5b82e;
    border-radius: 18px;
    background:
        linear-gradient(
            115deg,
            rgba(5, 9, 14, 0.96) 0%,
            rgba(12, 18, 26, 0.72) 45%,
            rgba(245, 184, 46, 0.30) 100%
        ),
        radial-gradient(
            circle at 75% 45%,
            #394858 0%,
            #141a21 48%,
            #080b0f 100%
        );
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.thumbnail-preview-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.52),
            transparent 45%
        );
}

.thumbnail-preview-brand {
    position: absolute;
    top: 27px;
    left: 38px;
    width: 30%;
    box-sizing: border-box;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f5b82e;
    color: #090c10;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 5;
}

.thumbnail-brand-logo {
    position: absolute;
    top: 24px;
    left: 815px;
    width: 14%;
    height: auto;
    max-height: 32%;
    object-fit: contain;
    border: 2px solid rgba(245, 184, 46, 0.72);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.48);
    cursor: grab;
    user-select: none;
    touch-action: none;
    -webkit-user-drag: none;
    z-index: 5;
}

.thumbnail-preview-text {
    position: absolute;
    left: 48px;
    top: 420px;
    width: 48%;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 4;
}

.thumbnail-preview-headline {
    position: absolute;
    left: 5%;
    bottom: 24%;
    top: auto;
    width: 58%;
    box-sizing: border-box;

    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 4;

    color: #ffffff;
    

    font-size: 72px;
    font-weight: 1000;
    line-height: 0.94;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    text-shadow:
        4px 4px 0 #000000,
        -2px -2px 0 #000000,
        2px -2px 0 #000000,
        -2px 2px 0 #000000;
}

.thumbnail-preview-subtext {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f5b82e;
    color: #090c10;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.thumbnail-preview-bike {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.thumbnail-preview-arrow {
    position: absolute;
    left: 630px;
    top: 155px;
    z-index: 4;
    color: #ff3030;
    font-size: 90px;
    line-height: 1;
    font-weight: 1000;
    transform: rotate(25deg);
    text-shadow: 3px 3px 0 #000000;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.thumbnail-preview-note {
    margin: 0 0 28px;
    color: #aeb8c5;
    text-align: center;
    font-size: 14px;
}

.thumbnail-editor-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    margin: 20px 0 8px;
}

.thumbnail-editor-controls .thumbnail-control {
    display: grid;
    grid-template-columns: minmax(135px, auto) minmax(120px, 1fr) 58px;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #303945;
    border-radius: 10px;
    background: #0c1117;
    font-weight: 700;
}

.thumbnail-editor-controls .thumbnail-brand-control {
    grid-template-columns: minmax(135px, auto) 1fr;
}

.thumbnail-editor-controls input[type="range"] {
    width: 100%;
}

.thumbnail-editor-controls select {
    min-height: 38px;
}

.thumbnail-editor-controls .button,
.thumbnail-editor-controls button {
    width: 100%;
    min-height: 48px;
    text-align: center;
}

.thumbnail-editor-status {
    min-height: 24px;
    margin: 10px 0 20px;
    font-weight: 700;
}

.thumbnail-editor-status.is-success {
    color: #72d68b;
}

.thumbnail-editor-status.is-error {
    color: #ff817a;
}

#thumbnail-headline,
#thumbnail-subtext {
    border-color: #596574;
}

#thumbnail-headline:focus,
#thumbnail-subtext:focus {
    border-color: #f4b632;
    outline: 2px solid rgba(244, 182, 50, 0.20);
}

@media (max-width: 750px) {
    .thumbnail-editor-controls {
        grid-template-columns: 1fr;
    }

    .thumbnail-editor-controls .thumbnail-control {
        grid-template-columns: 1fr;
    }
}
.thumbnail-preview-photo {
    position: absolute;
    right: 1%;
    bottom: 2%;
    width: 50%;
    height: 88%;

    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, .55);

    z-index: 1;

    pointer-events: auto;
    cursor: grab;
    user-select: none;
    touch-action: none;
    -webkit-user-drag: none;
}


#thumbnail-bike-placeholder{

    font-size:clamp(70px,14vw,190px);

}

/* AI Thumbnail Director */

.thumbnail-director-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.thumbnail-director-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid #30363d;
    border-radius: 16px;
    background: #11161c;
}

.thumbnail-director-card h2 {
    margin: 18px 0 8px;
    font-size: 1.6rem;
}

.thumbnail-director-card h4 {
    margin: 0 0 20px;
    color: #f5b82e;
}

.thumbnail-director-card p {
    line-height: 1.5;
}

.thumbnail-director-card .button {
    margin-top: auto;
    width: 100%;
}

.thumbnail-director-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.thumbnail-director-header strong {
    padding: 7px 11px;
    border-radius: 999px;
    background: #f5b82e;
    color: #080b0f;
}

@media (max-width: 1000px) {
    .thumbnail-director-grid {
        grid-template-columns: 1fr;
    }
}

.universal-footage-import {
    margin: 22px 0;
    padding: 22px;
    border: 1px solid #415064;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(45, 135, 205, 0.15), transparent 36%),
        linear-gradient(145deg, #121a22, #0b1016 72%);
}

.universal-footage-heading {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
}

.universal-footage-heading h3 {
    margin: 5px 0 7px;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.universal-footage-heading p {
    max-width: 760px;
    margin: 0;
    color: #b9c5d1;
}

.universal-footage-sources {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.universal-footage-source {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 11px;
    align-items: center;
    min-height: 78px;
    padding: 14px;
    border: 1px solid #415064;
    border-radius: 13px;
    background: #101720;
    color: #f2f6fa;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.mobile-media-picker-label {
    position: relative;
    overflow: hidden;
}

.mobile-media-picker-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0.001;
    cursor: pointer;
    font-size: 100px;
    z-index: 3;
}

.universal-footage-source:hover,
.universal-footage-source:focus-within {
    border-color: #f5b82e;
    background: #18212c;
    transform: translateY(-2px);
}

.universal-footage-source > span {
    grid-row: 1 / 3;
    font-size: 1.65rem;
}

.universal-footage-source strong,
.universal-footage-source small {
    min-width: 0;
}

.universal-footage-source small {
    color: #9eabba;
    line-height: 1.35;
}

.universal-footage-drop-zone {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 108px;
    margin-top: 14px;
    padding: 18px;
    border: 2px dashed #52657a;
    border-radius: 14px;
    background: rgba(6, 11, 16, 0.72);
    color: #dce5ed;
    text-align: center;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.universal-footage-drop-zone:hover,
.universal-footage-drop-zone:focus-visible,
.universal-footage-drop-zone.is-dragging {
    outline: none;
    border-color: #58d98b;
    background: rgba(24, 78, 48, 0.35);
    transform: scale(1.005);
}

.universal-footage-drop-zone strong {
    font-size: 1.05rem;
}

.universal-footage-drop-zone span {
    color: #9eabba;
}

.universal-footage-device-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.universal-footage-device-strip span {
    padding: 6px 9px;
    border: 1px solid #304050;
    border-radius: 999px;
    background: #0c1218;
    color: #b9c5d1;
    font-size: 0.78rem;
    font-weight: 800;
}

.universal-footage-summary {
    margin: 17px 0 3px;
    color: #f6c24a;
    font-weight: 900;
}

.universal-footage-status {
    margin: 0;
    color: #aeb8c4;
}

.universal-footage-status.is-success {
    color: #69e89a;
}

.universal-footage-status.is-warning {
    color: #f4c75e;
}

.universal-footage-format-note {
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #0c1218;
    color: #b9c5d1;
}

.universal-footage-format-note summary {
    color: #e5ebf1;
    font-weight: 800;
    cursor: pointer;
}

.universal-footage-format-note p {
    margin-bottom: 0;
}

.video-clip-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.video-clip-item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 110px auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: #0b0f14;
    border: 1px solid #2b333d;
    border-radius: 8px;
}

.video-clip-item strong {
    color: #f7b733;
}

.video-clip-item span:nth-child(2) {
    overflow-wrap: anywhere;
}

.video-clip-item span:nth-child(3) {
    text-align: right;
    white-space: nowrap;
}

.video-file-selection-help {
    margin-top: -4px;
    color: #aeb8c4;
    font-size: 0.9rem;
}

.video-selected-clip-remove {
    padding: 7px 10px;
    border: 1px solid #7f3c3c;
    background: #321919;
    color: #ffaaa5;
    font-size: 0.82rem;
}

.video-selected-clip-remove:hover {
    background: #4a2020;
}

@media (max-width: 700px) {
    .universal-footage-import {
        padding: 16px;
        border-radius: 14px;
    }

    .universal-footage-heading {
        flex-direction: column;
    }

    .universal-footage-heading .inline-help-button {
        width: 100%;
    }

    .universal-footage-sources {
        grid-template-columns: 1fr;
    }

    .universal-footage-source {
        min-height: 70px;
    }

    .universal-footage-drop-zone {
        min-height: 86px;
    }

    .video-clip-item {
        grid-template-columns: 65px minmax(0, 1fr);
    }

    .video-clip-item span:nth-child(3),
    .video-selected-clip-remove {
        text-align: left;
    }
}

.video-analysis-results{
    margin-top:30px;
    padding:20px;
    background:#1b1b1b;
    border-radius:12px;
}

.video-analysis-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:20px;
}

.video-analysis-item{
    display:grid;
    grid-template-columns:110px minmax(220px,1fr) repeat(4,auto);
    gap:10px 18px;
    align-items:center;
    background:#0c1117;
    padding:16px;
    border:1px solid #303945;
    border-left:4px solid #f4b632;
    border-radius:10px;
}

.video-analysis-item strong{
    color:#f4b632;
}

.video-analysis-item span{
    overflow-wrap:anywhere;
}

.video-analysis-item small{
    grid-column:1 / -1;
    color:#aeb8c4;
}

@media (max-width:1000px){

    .video-analysis-item{
        grid-template-columns:1fr;
    }

    .video-analysis-item small{
        grid-column:auto;
    }

}

.video-analysis-item {
    grid-template-columns: 220px minmax(0, 1fr);
}

.video-analysis-thumbnail,
.video-analysis-thumbnail-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
    background: #080b0f;
}

.video-analysis-thumbnail-placeholder {
    display: grid;
    place-items: center;
    color: #8f9aa7;
}

.video-analysis-details {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.video-analysis-name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.video-analysis-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.video-analysis-item small {
    grid-column: auto;
}

@media (max-width: 750px) {
    .video-analysis-item {
        grid-template-columns: 1fr;
    }
}

.video-analysis-item {
    align-items: start;
}

.video-analysis-thumbnail,
.video-analysis-thumbnail-placeholder {
    grid-column: 1;
    grid-row: 1;
}

.video-analysis-details {
    grid-column: 2;
    grid-row: 1;
}

.video-ai-result {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.video-ai-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.video-ai-heading h4 {
    margin: 0;
}

.video-ai-score,
.video-ai-recommendation,
.video-ai-labels span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #202833;
    font-size: 0.9rem;
}

.video-ai-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-ai-elements {
    margin: 0;
    padding-left: 22px;
}

.video-ai-reason {
    margin-bottom: 0;
    color: #c2cad4;
}

@media (max-width: 750px) {
    .video-analysis-thumbnail,
    .video-analysis-thumbnail-placeholder,
    .video-analysis-details {
        grid-column: 1;
        grid-row: auto;
    }
}

.video-timeline-panel {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #303945;
}

.saved-video-project-notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 22px 0;
    padding: 16px 18px;
    border: 1px solid #287a45;
    border-radius: 12px;
    background: #10251a;
}

.saved-video-project-notice[hidden] {
    display: none;
}

.saved-video-project-notice p {
    margin: 5px 0 0;
    color: #b8c9bf;
}

.saved-video-project-notice span {
    color: #72d68b;
    white-space: nowrap;
}

.video-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.video-timeline-header h3 {
    margin: 0 0 6px;
}

.video-timeline-header p {
    margin: 0;
    color: #aeb8c4;
}

.video-timeline-summary {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #0c1117;
    border: 1px solid #303945;
    border-radius: 10px;
}

.video-timeline-list {
    display: grid;
    gap: 12px;
}

.video-timeline-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #0c1117;
    border: 1px solid #303945;
    border-left: 4px solid #f4b632;
    border-radius: 10px;
}

.video-timeline-number {
    color: #f4b632;
    font-weight: 800;
}

.video-timeline-content {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.video-timeline-content strong {
    font-size: 1.05rem;
}

.video-timeline-content span,
.video-timeline-content small {
    color: #aeb8c4;
}

.video-timeline-score {
    padding: 6px 10px;
    background: #202833;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 750px) {
    .video-timeline-header {
        display: grid;
    }

    .video-timeline-item {
        grid-template-columns: 1fr;
    }

    .video-timeline-score {
        width: fit-content;
    }
}

.video-timeline-item {
    display: grid;
    grid-template-columns: 54px 170px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #0c1117;
    border: 1px solid #303945;
    border-left: 4px solid #f4b632;
    border-radius: 12px;
    transition: border-color 0.15s ease, opacity 0.15s ease;
}

.video-timeline-item.is-dragging {
    opacity: 0.45;
}

.video-timeline-item.is-drag-target {
    border-color: #f4b632;
    box-shadow: 0 0 0 2px rgba(244, 182, 50, 0.2);
}

.video-timeline-item.is-previewing {
    border-color: #72d68b;
    box-shadow: 0 0 0 2px rgba(114, 214, 139, 0.24);
}

.video-timeline-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f4b632;
    color: #0b0f14;
    font-weight: 900;
    cursor: grab;
    user-select: none;
}

.video-timeline-thumbnail,
.video-timeline-thumbnail-placeholder {
    width: 170px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    background: #151b22;
}

.video-timeline-thumbnail-placeholder {
    display: grid;
    place-items: center;
    color: #aeb8c4;
}

.video-timeline-content {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.video-timeline-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.video-timeline-section {
    padding: 5px 9px;
    border-radius: 999px;
    background: #202833;
    color: #f4b632;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.video-timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #d0d7df;
}

.video-trim-preview { cursor: pointer; }

.is-vertical-video .video-timeline-thumbnail,
.is-vertical-video .video-timeline-thumbnail-placeholder {
    width: 112px;
    aspect-ratio: 9 / 16;
}

.is-vertical-video .video-trim-preview {
    object-fit: cover;
}

.video-trim-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    align-items: end;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid #303945;
    border-radius: 10px;
    background: #10151b;
}

.video-trim-controls label {
    gap: 5px;
    color: #d0d7df;
    font-size: 0.85rem;
}

.video-trim-controls input { padding: 9px; }
.video-trim-controls select { padding: 9px; }
.video-audio-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #343b45;
    border-radius: 10px;
    background: #0b0e12;
}
.video-keep-audio {
    width: 20px !important;
    height: 20px;
    padding: 0 !important;
    accent-color: #f4b632;
}
.video-clip-volume-control {
    grid-column: 1 / -1;
}
.video-clip-volume-control .video-audio-range-row {
    min-height: 42px;
    background: #0b0e12;
}
.video-clip-volume:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.video-preview-selection { white-space: nowrap; }
.video-trim-summary { color: #f4b632 !important; }

.video-mark-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.video-mark-actions button {
    width: 100%;
}

.video-caption-control {
    grid-column: 1 / -1;
}

.video-text-overlays-editor {
    display: grid;
    grid-column: 1 / -1;
    gap: 12px;
    padding: 14px;
    border: 1px solid #f4b632;
    border-radius: 14px;
    background: rgba(244, 182, 50, 0.06);
}

.video-text-overlays-heading,
.video-text-overlays-heading > div,
.video-text-overlay-list {
    display: grid;
    gap: 8px;
}

.video-text-overlays-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.video-text-overlays-heading > span,
.video-text-overlay-total {
    color: #b8c3d1;
}

.video-text-overlays-editor > .video-add-text-overlay {
    justify-self: start;
}

.video-text-overlay-control {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #3c4652;
    border-radius: 12px;
    background: rgba(11, 14, 18, 0.82);
}

.video-text-overlay-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.video-text-overlay-heading strong {
    color: #f4b632;
}

.video-text-overlay-heading-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-text-overlay-remove {
    width: auto;
    min-height: 36px;
    padding: 7px 12px;
}

.video-text-overlay-control textarea {
    width: 100%;
    min-height: 76px;
    padding: 10px;
    resize: vertical;
    border: 1px solid #343b45;
    border-radius: 10px;
    background: #070a0e;
    color: #ffffff;
    font: inherit;
    line-height: 1.35;
}

.video-text-overlay-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.video-text-overlay-options label {
    min-width: 0;
}

.video-caption-timing-picker {
    grid-column: 1 / -1;
    padding: 12px;
    border: 1px solid #46515f;
    border-radius: 12px;
    background: #111820;
}

.video-caption-timing-picker > strong,
.video-caption-timing-picker > small {
    display: block;
}

.video-caption-timing-picker > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 9px 0 7px;
}

.video-caption-timing-picker button {
    flex: 1 1 170px;
}

.video-caption-timing-picker small {
    color: #aeb9c6;
}

.video-caption-custom-position:not([hidden]) {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 12px;
    border: 1px solid rgba(244, 182, 50, 0.55);
    border-radius: 10px;
    background: rgba(244, 182, 50, 0.08);
}

.video-caption-custom-position > strong,
.video-caption-custom-position > small {
    grid-column: 1 / -1;
}

.video-caption-custom-position > strong {
    color: #f4b632;
}

.video-caption-size-control {
    grid-column: 1 / -1;
}

.video-caption-fade-duration-control {
    grid-column: 1 / -1;
}

.video-caption-size-control .video-audio-range-row,
.video-caption-fade-duration-control .video-audio-range-row {
    min-height: 42px;
    background: #070a0e;
}

.video-caption-fade-duration:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.video-caption-colour-control input[type="color"] {
    width: 100%;
    min-height: 44px;
    padding: 4px;
    cursor: pointer;
}

.video-caption-background-control {
    align-self: end;
    min-height: 44px;
}

.video-caption-timing-summary {
    color: #c8d0da !important;
}

.video-caption-count {
    color: #8f9aa7 !important;
    font-weight: 600;
}

.video-polish-summary {
    color: #d8dee6 !important;
}

.video-timeline-content small {
    color: #aeb8c4;
}

.video-timeline-actions {
    display: grid;
    gap: 8px;
}

.video-timeline-action {
    min-width: 42px;
    padding: 8px 10px;
}

.video-rough-cut-panel {
    display: grid;
    gap: 14px;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #3a4654;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(244, 182, 50, 0.08), transparent 46%),
        #0c1117;
}

.video-rough-cut-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.video-rough-cut-heading h4,
.video-rough-cut-heading p,
.video-rough-cut-panel > p {
    margin: 0;
}

.video-rough-cut-heading p,
.video-rough-cut-panel > p {
    margin-top: 5px;
    color: #aeb8c4;
}

.video-rough-cut-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.video-rough-cut-stage {
    position: relative;
}

.video-short-safe-zone {
    display: none;
}

.is-vertical-video .video-rough-cut-stage {
    width: min(100%, 390px);
    margin: 0 auto;
}

.is-vertical-video .video-rough-cut-player {
    max-height: none;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

.is-vertical-video .video-short-safe-zone {
    position: absolute;
    z-index: 1;
    top: 10%;
    right: 7%;
    bottom: 20%;
    left: 7%;
    display: block;
    border: 2px dashed rgba(244, 182, 50, 0.68);
    border-radius: 9px;
    pointer-events: none;
}

.is-vertical-video .video-short-safe-zone span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: max-content;
    max-width: 92%;
    padding: 4px 7px;
    transform: translateX(-50%);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.68);
    color: #f4b632;
    font-size: 0.72rem;
    text-align: center;
}

.video-rough-cut-overlays {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
}

.video-rough-cut-player {
    width: 100%;
    max-height: 520px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border: 1px solid #303945;
    border-radius: 12px;
    background: #000;
}

.video-rough-cut-player.preview-gentle-fade {
    animation: rough-cut-fade-in 0.5s ease both;
}

.video-rough-cut-caption {
    position: absolute;
    width: max-content;
    max-width: 84%;
    padding: 12px 18px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-size: clamp(1rem, 2.5vw, 1.65rem);
    font-weight: 900;
    line-height: 1.22;
    text-align: center;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.85);
    pointer-events: auto;
    cursor: grab;
    user-select: none;
    touch-action: none;
    overflow-wrap: anywhere;
    white-space: pre-line;
    transition: opacity 80ms linear;
}

.video-rough-cut-caption:hover,
.video-rough-cut-caption:focus-visible {
    outline: 2px dashed #f4b632;
    outline-offset: 5px;
}

.video-rough-cut-caption.is-dragging {
    z-index: 5;
    cursor: grabbing;
    outline: 3px solid #f4b632;
    outline-offset: 6px;
}

.video-text-drag-hint {
    color: #f4b632;
}

.video-rough-cut-caption.text-style-youtube-bold {
    font-family: Impact, "Arial Black", sans-serif;
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.95);
    text-shadow:
        0 0.08em 0 #000,
        0.07em 0.10em 0 #000,
        0 0 0.08em rgba(0, 0, 0, 0.95);
}

.video-rough-cut-caption.text-style-clean {
    font-family: Arial, sans-serif;
    line-height: 1.22;
    letter-spacing: normal;
    text-transform: none;
}

.video-rough-cut-caption.without-background {
    padding: 4px;
    background: transparent;
}

.video-rough-cut-caption.caption-position-top-left {
    top: 8%; left: 6%; text-align: left;
}
.video-rough-cut-caption.caption-position-top-center {
    top: 8%; left: 50%; transform: translateX(-50%); text-align: center;
}
.video-rough-cut-caption.caption-position-top-right {
    top: 8%; right: 6%; text-align: right;
}
.video-rough-cut-caption.caption-position-middle-left {
    top: 50%; left: 6%; transform: translateY(-50%); text-align: left;
}
.video-rough-cut-caption.caption-position-middle-center {
    top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center;
}
.video-rough-cut-caption.caption-position-middle-right {
    top: 50%; right: 6%; transform: translateY(-50%); text-align: right;
}
.video-rough-cut-caption.caption-position-bottom-left {
    bottom: 8%; left: 6%; text-align: left;
}
.video-rough-cut-caption.caption-position-bottom-center {
    bottom: 8%; left: 50%; transform: translateX(-50%); text-align: center;
}
.video-rough-cut-caption.caption-position-bottom-right {
    bottom: 8%; right: 6%; text-align: right;
}

.is-vertical-video .video-rough-cut-caption.caption-position-top-left,
.is-vertical-video .video-rough-cut-caption.caption-position-top-center,
.is-vertical-video .video-rough-cut-caption.caption-position-top-right {
    top: 12%;
}

.is-vertical-video .video-rough-cut-caption.caption-position-bottom-left,
.is-vertical-video .video-rough-cut-caption.caption-position-bottom-center,
.is-vertical-video .video-rough-cut-caption.caption-position-bottom-right {
    bottom: 20%;
}

@keyframes rough-cut-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-project-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #303945;
    border-radius: 12px;
    background: #0c1117;
}

.video-project-actions button {
    width: 100%;
}

.video-project-actions progress,
.video-project-actions p {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
}

.video-project-actions p {
    color: #aeb8c4;
}

.video-project-actions p.is-success {
    color: #72d68b;
}

.video-project-actions p.is-error {
    color: #ff817a;
}

@media (max-width: 900px) {
    .video-format-options {
        grid-template-columns: 1fr;
    }

    .video-timeline-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .video-timeline-thumbnail,
    .video-timeline-thumbnail-placeholder {
        grid-column: 1 / -1;
        width: 100%;
    }

    .video-timeline-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, auto);
        justify-content: start;
    }

    .video-trim-controls,
    .video-mark-actions,
    .video-text-overlay-options { grid-template-columns: 1fr; }

    .video-caption-custom-position:not([hidden]) {
        grid-template-columns: 1fr;
    }

    .video-rough-cut-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .saved-video-project-notice,
    .video-project-actions {
        grid-template-columns: 1fr;
    }

    .saved-video-project-notice {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Separate motorcycle and Blakeman Racing BMX workspaces */
.studio-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0 34px;
}

.studio-entry-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 2px solid #37414d;
    border-radius: 16px;
    background: #11171e;
}

.studio-entry-card img {
    width: 112px;
    height: 112px;
    border-radius: 14px;
    object-fit: cover;
    background: #05070a;
}

.studio-entry-card h3,
.studio-entry-card p {
    margin: 4px 0;
}

.studio-entry-card .button {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
}

.motorcycle-studio-entry {
    border-color: #d79a1d;
    background: linear-gradient(145deg, rgba(244, 182, 50, 0.12), #11171e 52%);
}

.bmx-studio-entry {
    border-color: #13915e;
    background: linear-gradient(145deg, rgba(18, 145, 94, 0.18), rgba(255, 210, 28, 0.07) 48%, #11171e);
}

.bmx-studio-entry .button,
.bmx-project-lane .project-lane-heading .button {
    background: #ffd21c;
    color: #07130d;
}

.project-lane {
    margin: 28px 0;
    padding: 20px;
    border: 1px solid #303945;
    border-radius: 16px;
    background: #0e141b;
}

.project-lane-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.project-lane-heading h3 {
    margin: 3px 0 0;
}

.bmx-project-lane {
    border-color: #167a54;
    background: linear-gradient(145deg, rgba(13, 112, 73, 0.12), #0e141b 44%);
}

.motorcycle-project-lane {
    border-color: #59471e;
}

.project-card-badge {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #29323d;
    color: #f4b632;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.bmx-project-card {
    border-color: #176e4d;
}

.bmx-project-card .project-card-badge {
    background: #123b2d;
    color: #ffe04e;
}

.project-lane-empty {
    margin: 0;
}

.project-mode-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.project-mode-picker legend {
    grid-column: 1 / -1;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
}

.project-mode-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    padding: 16px;
    border: 2px solid #35404c;
    border-radius: 13px;
    background: #0d1319;
    cursor: pointer;
}

.project-mode-option:has(input:checked) {
    border-color: #f4b632;
    box-shadow: 0 0 0 3px rgba(244, 182, 50, 0.12);
}

.project-mode-option.bmx-mode-option:has(input:checked) {
    border-color: #20a56f;
    box-shadow: 0 0 0 3px rgba(32, 165, 111, 0.13);
}

.project-mode-option input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #f4b632;
}

.project-mode-option span {
    display: grid;
    gap: 5px;
}

.project-mode-option small {
    color: #aeb8c4;
    line-height: 1.35;
}

.project-mode-fields {
    display: grid;
    gap: 14px;
    margin: 16px 0;
    padding: 18px;
    border: 1px solid #36414e;
    border-radius: 14px;
    background: #0d1319;
}

.project-mode-fields[hidden] {
    display: none;
}

.bmx-project-fields {
    border-color: #18734f;
    background: linear-gradient(145deg, rgba(17, 112, 75, 0.12), #0d1319 42%);
}

.bmx-form-brand,
.bmx-project-brand-banner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bmx-form-brand {
    margin-bottom: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid #245f48;
}

.bmx-form-brand img,
.bmx-project-brand-banner img {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    object-fit: cover;
    background: #050806;
}

.bmx-form-brand div,
.bmx-project-brand-banner div {
    display: grid;
    gap: 5px;
}

.bmx-form-brand span,
.bmx-project-brand-banner span {
    color: #aeb8c4;
}

.bmx-detail-panel {
    border-color: #18835a;
    background: linear-gradient(145deg, rgba(17, 119, 78, 0.13), #14191f 42%);
}

.bmx-project-brand-banner {
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #237c59;
    border-radius: 14px;
    background: rgba(5, 21, 15, 0.72);
}

.bmx-project-brand-banner strong {
    color: #ffe04e;
    font-size: 1.1rem;
}

.bmx-info-card {
    border-color: #176848;
    background: #0d1b15;
}

@media (max-width: 800px) {
    .studio-entry-grid,
    .project-mode-picker {
        grid-template-columns: 1fr;
    }

    .studio-entry-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .studio-entry-card img {
        width: 82px;
        height: 82px;
    }

    .project-lane-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-lane-heading .button {
        width: 100%;
        text-align: center;
    }

    .bmx-project-brand-banner,
    .bmx-form-brand {
        align-items: flex-start;
    }
}

/* Blakeman Racing BMX race-results tracker */
.bmx-results-form-block {
    display: grid;
    gap: 18px;
    margin-top: 8px;
    padding: 20px;
    border: 1px solid #2f9d70;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(12, 91, 61, 0.28), rgba(5, 13, 10, 0.94));
}

.bmx-results-form-heading h3,
.bmx-results-form-heading p {
    margin: 5px 0 0;
}

.bmx-results-form-heading p {
    color: #b8c7bf;
}

.bmx-results-form-grid,
.bmx-results-reflection-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bmx-results-form-grid label,
.bmx-results-reflection-fields label {
    margin: 0;
}

.bmx-race-results-studio {
    margin: 34px 0;
}

.bmx-results-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.bmx-results-section-heading h3,
.bmx-results-section-heading p {
    margin: 4px 0 0;
}

.bmx-results-section-heading p {
    color: #abb9b1;
}

.bmx-race-results-card {
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    gap: 14px;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: 28px 32px 24px;
    overflow: hidden;
    border: 2px solid #ffd21c;
    border-radius: 20px;
    background:
        radial-gradient(circle at 84% 12%, rgba(27, 143, 232, 0.23), transparent 28%),
        radial-gradient(circle at 8% 88%, rgba(20, 166, 99, 0.23), transparent 30%),
        linear-gradient(145deg, #07110c 0%, #0b1811 54%, #07100c 100%);
    color: #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.bmx-results-card::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -135px;
    width: 430px;
    height: 430px;
    border: 42px solid rgba(255, 210, 28, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

.bmx-results-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff7a00 0 25%, #ffd21c 25% 50%, #00985f 50% 75%, #1397e5 75%);
}

.bmx-results-card-header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) minmax(180px, 0.34fr);
    align-items: center;
    gap: 18px;
}

.bmx-results-card-header img {
    width: 88px;
    height: 88px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    object-fit: cover;
    background: #030805;
}

.bmx-results-card-title span,
.bmx-results-rider span,
.bmx-result-stat span,
.bmx-results-overall span,
.bmx-results-reflections span {
    color: #ffd21c;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.11em;
}

.bmx-results-card-title h3 {
    margin: 3px 0;
    color: #fff;
    font-size: clamp(1.35rem, 2.2vw, 2.25rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.bmx-results-card-title p,
.bmx-results-rider small {
    margin: 0;
    color: #c5d0c9;
}

.bmx-results-rider {
    display: grid;
    gap: 4px;
    padding: 13px 15px;
    border-left: 4px solid #1397e5;
    background: rgba(7, 27, 19, 0.86);
}

.bmx-results-rider strong {
    font-size: 1.03rem;
}

.bmx-results-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.bmx-result-stat {
    display: grid;
    align-content: center;
    min-height: 84px;
    padding: 11px;
    border: 1px solid #275d46;
    border-radius: 10px;
    background: rgba(10, 34, 23, 0.92);
    text-align: center;
}

.bmx-result-stat strong {
    margin-top: 7px;
    color: #fff;
    font-size: clamp(1.05rem, 1.7vw, 1.55rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.bmx-results-overall {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    padding: 14px 20px;
    border-radius: 11px;
    background: linear-gradient(90deg, #ffd21c, #ffad16);
    color: #07100c;
}

.bmx-results-overall span {
    color: #073b2a;
}

.bmx-results-overall strong {
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    line-height: 1.05;
    text-align: right;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.bmx-results-reflections {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bmx-results-reflections > div {
    min-width: 0;
    padding: 12px 15px;
    border: 1px solid #2e5947;
    border-radius: 10px;
    background: rgba(5, 17, 11, 0.82);
}

.bmx-results-reflections p {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    color: #f4f7f5;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bmx-results-card-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 2px;
    color: #d8e2dc;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.bmx-results-card-footer i {
    color: #ffd21c;
    font-style: normal;
}

.bmx-results-card-footer span {
    color: #56baf3;
    font-weight: 900;
}

.bmx-results-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.bmx-results-actions .button,
.bmx-results-actions button {
    margin: 0;
}

.bmx-results-status {
    min-height: 1.4em;
    margin: 10px 0 0;
    color: #66e09b;
    font-weight: 800;
}

.bmx-results-status.is-error {
    color: #ff7e87;
}

.bmx-race-results-card--export {
    position: fixed;
    top: 0;
    left: -10000px;
    z-index: -1;
    width: 1200px;
    height: 675px;
    max-width: none;
    aspect-ratio: auto;
    padding: 28px 32px 24px;
    border-radius: 20px;
}

.bmx-race-results-card--export .bmx-results-card-title h3 {
    font-size: 2.25rem;
}

.bmx-race-results-card--export .bmx-result-stat strong {
    font-size: 1.55rem;
}

.bmx-race-results-card--export .bmx-results-overall strong {
    font-size: 2rem;
}

@media (max-width: 900px) {
    .bmx-race-results-card {
        aspect-ratio: auto;
    }

    .bmx-results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .bmx-results-form-grid,
    .bmx-results-reflection-fields,
    .bmx-results-reflections {
        grid-template-columns: 1fr;
    }

    .bmx-results-section-heading,
    .bmx-results-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .bmx-results-section-heading .button,
    .bmx-results-actions > * {
        width: 100%;
        text-align: center;
    }

    .bmx-race-results-card {
        padding: 24px 18px 20px;
    }

    .bmx-results-card-header {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .bmx-results-card-header img {
        width: 70px;
        height: 70px;
    }

    .bmx-results-rider {
        grid-column: 1 / -1;
    }

    .bmx-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bmx-results-overall {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .bmx-results-overall strong {
        text-align: left;
    }
}

/* Blakeman Racing BMX season dashboard */
.studio-entry-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.studio-entry-actions .button {
    grid-column: auto;
    margin: 0;
}

.project-lane-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-lane-actions .button {
    margin: 0;
}

.bmx-season-hero {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid #25815d;
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 5%, rgba(24, 145, 226, 0.2), transparent 30%),
        linear-gradient(145deg, rgba(15, 114, 75, 0.25), #11181d 52%);
}

.bmx-season-hero > img {
    width: 112px;
    height: 112px;
    border: 2px solid #f8d435;
    border-radius: 16px;
    object-fit: cover;
    background: #040705;
}

.bmx-season-hero h2,
.bmx-season-hero p {
    margin: 4px 0;
}

.bmx-season-hero-actions {
    display: grid;
    gap: 10px;
    min-width: 210px;
}

.bmx-season-hero-actions .button {
    margin: 0;
    text-align: center;
}

.bmx-season-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid #34443c;
    border-radius: 14px;
    background: #10171b;
}

.bmx-season-toolbar h3 {
    margin: 3px 0 0;
}

.bmx-season-toolbar form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bmx-season-toolbar label {
    margin: 0;
    white-space: nowrap;
}

.bmx-season-toolbar select {
    min-width: 160px;
}

.bmx-season-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.bmx-season-stat-grid article {
    display: grid;
    align-content: center;
    min-height: 132px;
    padding: 16px;
    border: 1px solid #236649;
    border-radius: 14px;
    background: linear-gradient(160deg, #0d2118, #10171b);
    text-align: center;
}

.bmx-season-stat-grid span {
    color: #ffd21c;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.09em;
}

.bmx-season-stat-grid strong {
    margin: 5px 0;
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
}

.bmx-season-stat-grid small {
    color: #9fada5;
    line-height: 1.25;
}

.bmx-season-share-studio {
    margin: 34px 0;
}

.bmx-season-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.bmx-season-section-heading h3,
.bmx-season-section-heading p {
    margin: 4px 0 0;
}

.bmx-season-section-heading p {
    color: #aebbb4;
}

.bmx-season-share-card {
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    gap: 14px;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 26px 32px 22px;
    overflow: hidden;
    border: 2px solid #ffd21c;
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 10%, rgba(18, 151, 229, 0.24), transparent 28%),
        radial-gradient(circle at 5% 92%, rgba(0, 152, 95, 0.27), transparent 30%),
        linear-gradient(145deg, #07100c, #0b1811 58%, #07100c);
    color: #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}

.bmx-season-share-card::after {
    content: "465";
    position: absolute;
    right: 24px;
    bottom: -58px;
    color: rgba(255, 210, 28, 0.035);
    font-size: 16rem;
    font-weight: 1000;
    font-style: italic;
    line-height: 1;
    pointer-events: none;
}

.bmx-season-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff7a00 0 25%, #ffd21c 25% 50%, #00985f 50% 75%, #1397e5 75%);
}

.bmx-season-share-card > header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.bmx-season-share-card > header img {
    width: 84px;
    height: 84px;
    border: 2px solid rgba(255, 255, 255, 0.66);
    border-radius: 14px;
    object-fit: cover;
}

.bmx-season-share-card > header span,
.bmx-season-card-stats span,
.bmx-season-card-highlight span,
.bmx-season-card-form > span {
    color: #ffd21c;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.bmx-season-share-card > header h3 {
    margin: 2px 0;
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2.35rem);
    line-height: 1;
}

.bmx-season-share-card > header p {
    margin: 0;
    color: #b9c7bf;
}

.bmx-season-share-card > header > strong {
    padding: 10px 16px;
    border-left: 5px solid #1397e5;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-style: italic;
}

.bmx-season-card-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.bmx-season-card-stats > div {
    display: grid;
    align-content: center;
    min-height: 92px;
    padding: 10px;
    border: 1px solid #276048;
    border-radius: 10px;
    background: rgba(7, 31, 20, 0.92);
    text-align: center;
}

.bmx-season-card-stats strong {
    margin-top: 4px;
    font-size: clamp(1.6rem, 2.7vw, 2.7rem);
    line-height: 1;
}

.bmx-season-card-highlight {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 12px;
}

.bmx-season-card-highlight > div {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 13px 17px;
    border-radius: 11px;
    background: linear-gradient(90deg, #ffd21c, #ffad16);
    color: #07100c;
}

.bmx-season-card-highlight > div:last-child {
    border: 1px solid #2d694e;
    background: rgba(6, 26, 17, 0.93);
    color: #fff;
}

.bmx-season-card-highlight span {
    color: #073b2a;
}

.bmx-season-card-highlight > div:last-child span {
    color: #56baf3;
}

.bmx-season-card-highlight strong {
    margin-top: 3px;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    line-height: 1;
    text-transform: uppercase;
}

.bmx-season-card-highlight small {
    margin-top: 3px;
    font-weight: 750;
}

.bmx-season-card-highlight p {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bmx-season-card-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 8px 12px;
    border: 1px solid #244b39;
    border-radius: 9px;
    background: rgba(4, 16, 10, 0.76);
}

.bmx-season-card-form > div {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    overflow: hidden;
}

.bmx-season-card-form b {
    max-width: 180px;
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #113826;
    color: #fff;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bmx-season-share-card > footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #d8e3dc;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.bmx-season-share-card > footer i {
    color: #ffd21c;
    font-style: normal;
}

.bmx-season-share-card > footer span {
    color: #56baf3;
    font-weight: 900;
}

.bmx-season-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.bmx-season-share-actions button {
    margin: 0;
}

.bmx-season-share-card--export {
    position: fixed;
    top: 0;
    left: -10000px;
    z-index: -1;
    width: 1200px;
    height: 675px;
    max-width: none;
    aspect-ratio: auto;
    padding: 26px 32px 22px;
}

.bmx-season-share-card--export > header h3 {
    font-size: 2.35rem;
}

.bmx-season-share-card--export > header > strong {
    font-size: 3rem;
}

.bmx-season-share-card--export .bmx-season-card-stats strong {
    font-size: 2.7rem;
}

.bmx-season-share-card--export .bmx-season-card-highlight strong {
    font-size: 2rem;
}

.bmx-season-progress-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.bmx-season-progress-card {
    padding: 22px;
    border: 1px solid #2b5d47;
    border-radius: 15px;
    background: #0d1a14;
}

.bmx-season-progress-card h3,
.bmx-season-progress-card p {
    margin: 6px 0 0;
}

.bmx-season-best-card {
    border-color: #c79c1b;
    background: linear-gradient(145deg, rgba(255, 210, 28, 0.12), #111815 48%);
}

.bmx-season-target-card {
    border-color: #238fca;
    background: linear-gradient(145deg, rgba(19, 151, 229, 0.12), #10171b 48%);
}

.bmx-season-results-list,
.bmx-season-tracks {
    margin: 32px 0;
}

.bmx-season-race-list {
    display: grid;
    gap: 12px;
}

.bmx-season-race-row {
    display: grid;
    grid-template-columns: minmax(230px, 1.2fr) minmax(340px, 1fr) minmax(120px, 0.45fr) auto;
    align-items: center;
    gap: 18px;
    padding: 17px;
    border: 1px solid #2b4f3d;
    border-left: 5px solid #ffd21c;
    border-radius: 13px;
    background: #10171b;
}

.bmx-season-race-main span {
    color: #ffd21c;
    font-size: 0.75rem;
    font-weight: 900;
}

.bmx-season-race-main h4,
.bmx-season-race-main p {
    margin: 3px 0 0;
}

.bmx-season-race-main p {
    color: #aebbb4;
}

.bmx-season-race-motos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.bmx-season-race-motos span {
    display: grid;
    gap: 3px;
    padding: 7px;
    border-radius: 8px;
    background: #0a281a;
    color: #84b49e;
    font-size: 0.64rem;
    font-weight: 900;
    text-align: center;
}

.bmx-season-race-motos b {
    color: #fff;
    font-size: 0.83rem;
}

.bmx-season-race-result {
    color: #ffd21c;
    font-size: 1.2rem;
    text-align: center;
}

.bmx-season-race-row .button {
    margin: 0;
    white-space: nowrap;
}

.bmx-season-track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.bmx-season-track-tags span {
    padding: 9px 13px;
    border: 1px solid #286148;
    border-radius: 999px;
    background: #0c2318;
    color: #dce8e1;
    font-weight: 750;
}

.bmx-season-empty {
    border-color: #276048;
}

@media (max-width: 1080px) {
    .bmx-season-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bmx-season-share-card {
        aspect-ratio: auto;
    }

    .bmx-season-race-row {
        grid-template-columns: minmax(230px, 1fr) minmax(340px, 1fr);
    }
}

@media (max-width: 760px) {
    .studio-entry-actions,
    .bmx-season-progress-grid {
        grid-template-columns: 1fr;
    }

    .project-lane-actions,
    .project-lane-actions .button {
        width: 100%;
    }

    .bmx-season-hero {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .bmx-season-hero > img {
        width: 82px;
        height: 82px;
    }

    .bmx-season-hero-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .bmx-season-toolbar,
    .bmx-season-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .bmx-season-toolbar form {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .bmx-season-toolbar select,
    .bmx-season-section-heading button {
        width: 100%;
    }

    .bmx-season-card-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bmx-season-card-highlight,
    .bmx-season-race-row {
        grid-template-columns: 1fr;
    }

    .bmx-season-share-card > header {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .bmx-season-share-card > header img {
        width: 70px;
        height: 70px;
    }

    .bmx-season-share-card > header > strong {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 4px solid #1397e5;
    }

    .bmx-season-share-actions > *,
    .bmx-season-race-row .button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .bmx-season-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bmx-season-card-stats,
    .bmx-season-race-motos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .bmx-season-card-form > div {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .bmx-season-share-card > footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Tester Feedback Centre */

.tester-feedback-link {
    padding: 8px 11px;
    border: 1px solid rgba(240, 180, 41, 0.6);
    border-radius: 999px;
    color: #ffd978;
    font-size: 0.88rem;
    font-weight: 900;
    white-space: nowrap;
}

.tester-feedback-link:hover {
    background: rgba(240, 180, 41, 0.1);
    border-color: #f0b429;
}

.feedback-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 30px;
    border: 1px solid #343b45;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at top right,
            rgba(240, 180, 41, 0.18),
            transparent 42%
        ),
        linear-gradient(140deg, #181d24, #101419);
}

.feedback-hero h2,
.feedback-library h2 {
    margin: 6px 0 10px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.feedback-hero p {
    max-width: 680px;
    margin: 0;
    color: #c2c9d2;
    line-height: 1.6;
}

.feedback-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 10px;
}

.feedback-summary > div {
    min-width: 100px;
    padding: 16px;
    border: 1px solid #343b45;
    border-radius: 12px;
    background: rgba(8, 11, 15, 0.72);
    text-align: center;
}

.feedback-summary strong {
    display: block;
    color: #f0b429;
    font-size: 1.9rem;
}

.feedback-summary span {
    color: #aeb7c3;
    font-size: 0.78rem;
    font-weight: 800;
}

.feedback-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    gap: 20px;
    align-items: start;
}

.feedback-form-panel,
.feedback-report-panel {
    padding: 26px;
}

.feedback-form-panel h3,
.feedback-report-panel h3 {
    margin: 7px 0 8px;
    font-size: 1.55rem;
}

.feedback-intro,
.feedback-report-panel > p {
    margin-top: 0;
    color: #b7c0cb;
    line-height: 1.55;
}

.feedback-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.feedback-privacy-note {
    margin: -5px 0 0;
    color: #9fd7ae;
    font-size: 0.9rem;
}

.feedback-report-panel {
    position: sticky;
    top: 132px;
}

.feedback-report-panel > .button,
.feedback-report-panel > button {
    display: block;
    width: 100%;
    margin-top: 12px;
    text-align: center;
}

.feedback-copy-message {
    min-height: 22px;
    color: #63dd87;
    font-weight: 800;
}

.feedback-report-tip {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #3a424e;
    border-radius: 12px;
    background: #0d1116;
    color: #c6ced8;
}

.feedback-report-tip ul {
    margin: 10px 0 0;
    padding-left: 21px;
}

.feedback-report-tip li + li {
    margin-top: 6px;
}

.feedback-library {
    padding-top: 10px;
}

.feedback-library-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}

.feedback-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin: 0;
}

.feedback-filters label {
    min-width: 170px;
    font-size: 0.84rem;
}

.feedback-filters select {
    padding: 9px 11px;
}

.feedback-filters button {
    min-height: 43px;
}

.feedback-list {
    display: grid;
    gap: 16px;
}

.feedback-card {
    overflow: hidden;
    border: 1px solid #323945;
    border-left: 5px solid #77818f;
    border-radius: 14px;
    background: linear-gradient(140deg, #171c22, #11151a);
}

.feedback-card.category-bug {
    border-left-color: #ef6a61;
}

.feedback-card.category-idea {
    border-left-color: #f0b429;
}

.feedback-card.category-working {
    border-left-color: #56d27d;
}

.feedback-card.category-question {
    border-left-color: #69a9f1;
}

.feedback-card > header {
    position: static;
    display: block;
    padding: 20px 22px 15px;
    border: 0;
    border-bottom: 1px solid #2d343e;
    background: transparent;
}

.feedback-card h3 {
    margin: 10px 0 6px;
    font-size: 1.25rem;
}

.feedback-card header p {
    margin: 0;
    color: #aeb7c3;
    font-size: 0.9rem;
}

.feedback-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.feedback-card-tags span {
    padding: 5px 8px;
    border: 1px solid #46505d;
    border-radius: 999px;
    color: #cbd2dc;
    font-size: 0.74rem;
    font-weight: 900;
}

.feedback-status.status-new {
    border-color: #f0b429;
    background: rgba(240, 180, 41, 0.12);
    color: #ffd978;
}

.feedback-status.status-reviewed {
    border-color: #69a9f1;
    background: rgba(105, 169, 241, 0.12);
    color: #a9d0ff;
}

.feedback-status.status-done {
    border-color: #56d27d;
    background: rgba(86, 210, 125, 0.12);
    color: #a9edba;
}

.feedback-card-body {
    display: grid;
    gap: 16px;
    padding: 20px 22px;
}

.feedback-card-body section {
    margin: 0;
}

.feedback-card-body strong {
    color: #ffffff;
}

.feedback-card-body p {
    margin: 7px 0 0;
    color: #c4ccd6;
    line-height: 1.6;
    white-space: pre-wrap;
}

.feedback-device {
    padding-top: 12px;
    border-top: 1px solid #2f3741;
    font-size: 0.9rem;
}

.feedback-card-actions {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 22px 20px;
    border-top: 1px solid #2d343e;
}

.feedback-card-actions form {
    display: flex;
    align-items: end;
    gap: 9px;
    margin: 0;
}

.feedback-card-actions label {
    min-width: 170px;
    font-size: 0.8rem;
}

.feedback-card-actions select {
    padding: 9px 11px;
}

.feedback-card-actions button {
    min-height: 42px;
}

.feedback-empty {
    text-align: center;
}

.feedback-empty h3 {
    margin-top: 0;
}

@media (max-width: 980px) {
    .feedback-hero,
    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .feedback-summary {
        width: 100%;
    }

    .feedback-report-panel {
        position: static;
    }

    .feedback-library-heading {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .tester-feedback-link {
        flex: 1 1 auto;
        text-align: center;
    }

    .feedback-summary,
    .feedback-form-row {
        grid-template-columns: 1fr;
    }

    .feedback-filters {
        display: grid;
        grid-template-columns: 1fr;
    }

    .feedback-filters label,
    .feedback-filters button {
        width: 100%;
    }

    .feedback-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .feedback-card-actions form {
        display: grid;
        width: 100%;
    }

    .feedback-card-actions label,
    .feedback-card-actions button {
        width: 100%;
    }
}

/* AI Fuel Gauge and private usage ledger */
.ai-fuel-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid #3d4956;
    border-radius: 12px;
    background: #171d24;
    color: #f7f9fb;
    text-decoration: none;
    font-weight: 800;
}

.ai-fuel-nav-link:hover {
    border-color: #f0b429;
    color: #ffd66b;
}

.ai-fuel-nav-link strong {
    display: inline-grid;
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    place-items: center;
    border-radius: 999px;
    background: #f0b429;
    color: #090c10;
    font-size: 0.82rem;
}

.ai-fuel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: clamp(26px, 5vw, 54px);
    overflow: hidden;
    border: 1px solid #e7aa1e;
    border-radius: 24px;
    background:
        radial-gradient(circle at 85% 15%, rgba(240, 180, 41, 0.25), transparent 30%),
        linear-gradient(135deg, #151b21, #090d11 64%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.ai-fuel-hero-copy {
    max-width: 760px;
}

.ai-fuel-kicker,
.ai-fuel-card-label {
    color: #f6bb2e;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.ai-fuel-hero h2 {
    margin: 10px 0 14px;
    max-width: 720px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.15rem);
    line-height: 0.98;
}

.ai-fuel-hero p {
    max-width: 720px;
    margin: 0;
    color: #c9d1da;
    font-size: 1.04rem;
    line-height: 1.65;
}

.ai-fuel-hero-badge {
    display: grid;
    width: clamp(180px, 20vw, 250px);
    aspect-ratio: 1;
    place-content: center;
    border: 10px solid rgba(240, 180, 41, 0.22);
    border-radius: 50%;
    background: #f0b429;
    color: #0b0e12;
    text-align: center;
    box-shadow: 0 0 0 1px #ffdc7e, 0 18px 44px rgba(0, 0, 0, 0.34);
}

.ai-fuel-hero-badge strong {
    font-size: clamp(3.7rem, 8vw, 6.5rem);
    line-height: 0.85;
}

.ai-fuel-hero-badge span {
    max-width: 130px;
    margin: 10px auto 0;
    font-weight: 900;
    line-height: 1.05;
}

.ai-fuel-pilot-note {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0;
    padding: 18px 22px;
    border: 1px solid #2f9461;
    border-radius: 16px;
    background: #0d281c;
}

.ai-fuel-pilot-note strong {
    color: #78efae;
    font-size: 1.05rem;
}

.ai-fuel-pilot-note p {
    margin: 5px 0 0;
    color: #c6e9d6;
    line-height: 1.45;
}

.ai-fuel-pilot-note > span {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: #41c982;
    color: #06160e;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.ai-fuel-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
    gap: 18px;
    margin: 18px 0;
}

.ai-fuel-tank-card,
.ai-fuel-cost-card,
.ai-fuel-pass-explainer,
.ai-fuel-currency-card,
.ai-fuel-plans-section,
.ai-fuel-top-up-card,
.ai-fuel-ledger-section,
.ai-fuel-business-note {
    border: 1px solid #303a45;
    border-radius: 20px;
    background: #151a20;
}

.ai-fuel-tank-card,
.ai-fuel-cost-card {
    padding: clamp(22px, 3vw, 32px);
}

.ai-fuel-card-heading,
.ai-fuel-section-heading {
    display: flex;
    gap: 20px;
    align-items: start;
    justify-content: space-between;
}

.ai-fuel-card-heading h3,
.ai-fuel-cost-card h3,
.ai-fuel-section-heading h3,
.ai-fuel-pass-explainer h3,
.ai-fuel-top-up-card h3 {
    margin: 6px 0 0;
    color: #fff;
}

.ai-fuel-plan-price {
    padding: 7px 10px;
    border-radius: 10px;
    background: #252d36;
    color: #d7dee6;
    font-size: 0.85rem;
    font-weight: 800;
}

.ai-fuel-gauge {
    margin-top: 28px;
}

.ai-fuel-gauge-track {
    height: 26px;
    overflow: hidden;
    border: 1px solid #596675;
    border-radius: 999px;
    background: #090c10;
}

.ai-fuel-gauge-track span {
    display: block;
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #ef9f18, #ffd759 65%, #fff2b0);
    box-shadow: 0 0 18px rgba(240, 180, 41, 0.42);
}

.ai-fuel-gauge-numbers {
    display: flex;
    gap: 10px;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 10px;
}

.ai-fuel-gauge-numbers strong {
    color: #fff;
    font-size: 1.55rem;
}

.ai-fuel-gauge-numbers span {
    color: #aeb8c3;
}

.ai-fuel-tank-details,
.ai-fuel-cost-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.ai-fuel-tank-details > div,
.ai-fuel-cost-stats > div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 12px;
    background: #0e1318;
}

.ai-fuel-tank-details strong,
.ai-fuel-cost-stats strong {
    color: #ffd15a;
    font-size: 1.1rem;
}

.ai-fuel-tank-details span,
.ai-fuel-cost-stats span {
    color: #9ea9b5;
    font-size: 0.82rem;
}

.ai-fuel-cost-card {
    background: linear-gradient(150deg, #17221d, #12181b);
}

.ai-fuel-cost-card > h3 {
    margin-top: 14px;
    color: #6ee7a8;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.ai-fuel-cost-card > p {
    margin: 2px 0 18px;
    color: #c1cbc5;
}

.ai-fuel-cost-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 18px;
}

.ai-fuel-cost-card small {
    color: #a8b5ae;
    line-height: 1.5;
}

.ai-fuel-currency-jump {
    display: inline-flex;
    margin-top: 18px;
    color: #79e9ad;
    font-size: 0.88rem;
    font-weight: 900;
}

.ai-fuel-currency-card {
    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(460px, 1.25fr);
    gap: clamp(24px, 5vw, 54px);
    margin: 18px 0;
    padding: clamp(24px, 4vw, 38px);
    border-color: #356b55;
    background: linear-gradient(120deg, #10231a, #151a20 52%);
    scroll-margin-top: 24px;
}

.ai-fuel-currency-copy h3 {
    margin: 7px 0 12px;
    color: #fff;
}

.ai-fuel-currency-copy > p {
    margin: 0;
    color: #b9c9c1;
    line-height: 1.55;
}

.ai-fuel-rate-readout {
    display: grid;
    gap: 5px;
    margin-top: 22px;
    padding: 16px;
    border: 1px solid #37684f;
    border-radius: 13px;
    background: #0b1711;
}

.ai-fuel-rate-readout span {
    color: #91aa9d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ai-fuel-rate-readout strong {
    color: #79e9ad;
    font-size: 1.15rem;
}

.ai-fuel-currency-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ai-fuel-currency-form label {
    display: grid;
    align-content: start;
    gap: 7px;
    color: #f3f6f8;
    font-weight: 850;
}

.ai-fuel-currency-form input,
.ai-fuel-currency-form select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #4b5a68;
    border-radius: 10px;
    background: #0d1217;
    color: #fff;
    font: inherit;
}

.ai-fuel-currency-form input:focus,
.ai-fuel-currency-form select:focus {
    border-color: #72e4a8;
    outline: 3px solid rgba(114, 228, 168, 0.15);
}

.ai-fuel-currency-form label small,
.ai-fuel-rate-note {
    color: #8fa097;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
}

.ai-fuel-currency-wide {
    grid-column: 1 / -1;
}

.ai-fuel-currency-form button {
    width: 100%;
}

.ai-fuel-rate-note {
    text-align: center;
}

.ai-fuel-pass-explainer {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(280px, 1fr);
    gap: 16px 38px;
    margin: 18px 0;
    padding: clamp(24px, 4vw, 38px);
    border-color: #775d20;
    background: linear-gradient(120deg, rgba(240, 180, 41, 0.10), #151a20 45%);
}

.ai-fuel-pass-explainer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    color: #e2e7ec;
}

.ai-fuel-pass-explainer li::marker {
    color: #f0b429;
}

.ai-fuel-pass-explainer > p {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    color: #9eabb8;
}

.ai-fuel-plans-section,
.ai-fuel-ledger-section {
    margin-top: 18px;
    padding: clamp(22px, 4vw, 36px);
}

.ai-fuel-section-heading > p {
    max-width: 430px;
    margin: 0;
    color: #9eabb8;
    text-align: right;
}

.ai-fuel-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.ai-fuel-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #35404c;
    border-radius: 17px;
    background: #0f1419;
}

.ai-fuel-plan-card.is-current {
    border-color: #f0b429;
    box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.2);
}

.ai-fuel-current-ribbon {
    margin: -24px -24px 20px;
    padding: 9px 14px;
    background: #f0b429;
    color: #090c10;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-align: center;
}

.ai-fuel-plan-card h4 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
}

.ai-fuel-plan-allowance {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    color: #f0b429;
    font-size: 3.4rem;
    line-height: 1;
}

.ai-fuel-plan-allowance span {
    max-width: 130px;
    color: #d1d8e0;
    font-size: 0.88rem;
    line-height: 1.2;
}

.ai-fuel-plan-card p {
    color: #aeb8c3;
    line-height: 1.5;
}

.ai-fuel-plan-price-large {
    margin-top: auto;
    color: #fff;
    font-weight: 900;
}

.ai-fuel-plan-card form {
    margin-top: 16px;
}

.ai-fuel-plan-card button {
    width: 100%;
}

.ai-fuel-top-up-card {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding: clamp(24px, 4vw, 34px);
    border-color: #2d7952;
    background: linear-gradient(110deg, #11251b, #151a20 70%);
}

.ai-fuel-top-up-card p {
    max-width: 680px;
    margin-bottom: 0;
    color: #b8c9c0;
}

.ai-fuel-top-up-card form {
    display: grid;
    flex: 0 0 auto;
    gap: 8px;
}

.ai-fuel-top-up-card small {
    max-width: 230px;
    color: #92a89c;
    text-align: center;
}

.ai-fuel-top-up-card.is-locked-free {
    border-color: #3c684f;
    background: linear-gradient(110deg, #102018, #151a20 70%);
}

.ai-fuel-top-up-card.is-locked-free button {
    cursor: not-allowed;
    opacity: 0.55;
}

.ai-fuel-feature-totals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.ai-fuel-feature-totals > div {
    display: grid;
    gap: 5px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #0e1318;
}

.ai-fuel-feature-totals span {
    color: #aab5c1;
}

.ai-fuel-feature-totals strong {
    color: #f6c54d;
}

.ai-fuel-ledger-table-wrap {
    margin-top: 22px;
    overflow-x: auto;
    border: 1px solid #2e3741;
    border-radius: 14px;
}

.ai-fuel-ledger-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.ai-fuel-ledger-table th,
.ai-fuel-ledger-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #29323b;
    text-align: left;
    vertical-align: top;
}

.ai-fuel-ledger-table th {
    background: #0d1116;
    color: #f1bd3e;
    font-size: 0.76rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ai-fuel-ledger-table td {
    color: #d2d9e0;
}

.ai-fuel-ledger-table tbody tr:last-child td {
    border-bottom: 0;
}

.ai-fuel-ledger-table td strong,
.ai-fuel-ledger-table td span {
    display: block;
}

.ai-fuel-ledger-table td span {
    margin-top: 3px;
    color: #8f9ba7;
    font-size: 0.8rem;
}

.ai-fuel-empty-ledger {
    margin-top: 22px;
    padding: 30px;
    border: 1px dashed #46515e;
    border-radius: 14px;
    color: #cdd5de;
    text-align: center;
}

.ai-fuel-empty-ledger p {
    margin-bottom: 0;
    color: #929eaa;
}

.ai-fuel-business-note {
    margin: 18px 0 4px;
    padding: 20px 24px;
    border-left: 5px solid #f0b429;
    color: #d8dee5;
}

.ai-fuel-business-note strong {
    color: #ffd15a;
}

.ai-fuel-business-note p {
    margin: 6px 0 0;
    line-height: 1.55;
}

@media (max-width: 950px) {
    .ai-fuel-dashboard-grid,
    .ai-fuel-pass-explainer,
    .ai-fuel-currency-card {
        grid-template-columns: 1fr;
    }

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

    .ai-fuel-plan-card {
        min-height: 0;
    }

    .ai-fuel-plan-price-large {
        margin-top: 12px;
    }
}

@media (max-width: 700px) {
    .ai-fuel-nav-link {
        justify-content: center;
        order: 2;
    }

    .ai-fuel-hero {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        text-align: center;
    }

    .ai-fuel-hero-badge {
        width: 190px;
        margin: 0 auto;
    }

    .ai-fuel-pilot-note,
    .ai-fuel-top-up-card,
    .skint-free-video-banner,
    .ai-fuel-card-heading,
    .ai-fuel-section-heading {
        display: grid;
    }

    .ai-fuel-pilot-note > span {
        justify-self: start;
    }

    .ai-fuel-tank-details {
        grid-template-columns: 1fr;
    }

    .ai-fuel-gauge-numbers {
        display: grid;
    }

    .ai-fuel-section-heading > p {
        text-align: left;
    }

    .ai-fuel-top-up-card form,
    .ai-fuel-top-up-card button {
        width: 100%;
    }

    .ai-fuel-top-up-card small {
        max-width: none;
    }

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

    .ai-fuel-currency-wide {
        grid-column: auto;
    }
}

/* Customer-ready Studio setup */

.studio-owner-badge {
    display: inline-flex;
    margin-top: 5px;
    padding: 4px 8px;
    border: 1px solid #3f795a;
    border-radius: 999px;
    background: #10261a;
    color: #75e5a6;
    font-size: 0.72rem;
    font-weight: 850;
}

.studio-settings-link {
    padding: 8px 11px;
    border: 1px solid #b58a24;
    border-radius: 999px;
    color: #f8cf6a;
    font-weight: 900;
    white-space: nowrap;
}

.studio-settings-link:hover {
    background: rgba(240, 180, 41, 0.1);
}

.customer-setup-prompt {
    display: flex;
    gap: 26px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: clamp(22px, 4vw, 32px);
    border: 1px solid #4ba86f;
    border-radius: 18px;
    background: linear-gradient(110deg, #10281b, #151a20 72%);
}

.customer-setup-prompt h3,
.customer-setup-prompt p {
    margin: 6px 0 0;
}

.customer-setup-prompt p {
    max-width: 720px;
    color: #bad1c3;
    line-height: 1.55;
}

.customer-setup-prompt .button {
    flex: 0 0 auto;
}

.customer-setup-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid #e6ac24;
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 18%, rgba(240, 180, 41, 0.25), transparent 30%),
        linear-gradient(135deg, #182027, #0b0f13 68%);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26);
}

.customer-setup-hero h2 {
    margin: 9px 0 12px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.customer-setup-hero p {
    max-width: 760px;
    margin: 0;
    color: #c7d0da;
    font-size: 1.03rem;
    line-height: 1.6;
}

.customer-setup-status {
    display: grid;
    min-width: 160px;
    padding: 24px;
    border: 1px solid #f0b429;
    border-radius: 18px;
    background: #f0b429;
    color: #0a0d11;
    text-align: center;
}

.customer-setup-status.is-complete {
    border-color: #77eca9;
    background: #1fb56a;
}

.customer-setup-status strong {
    font-size: 1.75rem;
}

.customer-setup-status span {
    font-size: 0.8rem;
    font-weight: 850;
}

.customer-setup-form {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.customer-setup-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(18px, 3vw, 30px);
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #303a45;
    border-radius: 20px;
    background: #151a20;
}

.customer-setup-step-number {
    display: grid;
    width: 54px;
    height: 54px;
    place-content: center;
    border-radius: 50%;
    background: #f0b429;
    color: #090c10;
    font-size: 1.6rem;
    font-weight: 950;
    box-shadow: 0 0 0 7px rgba(240, 180, 41, 0.12);
}

.customer-setup-step-content h3,
.customer-setup-finish h3 {
    margin: 7px 0 8px;
    color: #fff;
}

.customer-setup-step-content > p,
.customer-setup-finish p {
    margin: 0 0 20px;
    color: #aeb8c3;
    line-height: 1.5;
}

.customer-setup-name-field,
.customer-setup-select-field {
    display: grid;
    max-width: 720px;
    gap: 8px;
    color: #fff;
    font-weight: 900;
}

.customer-setup-name-field input,
.customer-setup-select-field select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #4b5865;
    border-radius: 11px;
    background: #0c1116;
    color: #fff;
    font: inherit;
}

.customer-setup-name-field input:focus,
.customer-setup-select-field select:focus {
    border-color: #f0b429;
    outline: 3px solid rgba(240, 180, 41, 0.16);
}

.customer-choice-grid {
    display: grid;
    gap: 14px;
}

.customer-choice-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-choice-card {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 175px;
    gap: 8px;
    padding: 21px;
    cursor: pointer;
    border: 1px solid #3b4652;
    border-radius: 15px;
    background: #0e1318;
    transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.customer-choice-card:hover {
    transform: translateY(-2px);
    border-color: #bd922b;
}

.customer-choice-card:has(input:checked) {
    border-color: #f0b429;
    background: linear-gradient(145deg, rgba(240, 180, 41, 0.14), #10161b);
    box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.2);
}

.customer-choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.customer-choice-check {
    width: 24px;
    height: 24px;
    border: 2px solid #667382;
    border-radius: 50%;
}

.customer-choice-card input:checked + .customer-choice-check {
    border: 7px solid #f0b429;
    background: #101418;
}

.customer-choice-card input:focus-visible + .customer-choice-check {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.customer-choice-card strong {
    color: #fff;
    font-size: 1.05rem;
}

.customer-choice-card > span:not(.customer-choice-check) {
    color: #aeb9c4;
    line-height: 1.45;
}

.customer-choice-card small {
    margin-top: auto;
    color: #77dfa3;
    line-height: 1.35;
}

.customer-setup-detail-link {
    display: inline-flex;
    margin-top: 14px;
    color: #73e5a7;
    font-weight: 850;
}

.customer-setup-finish {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid #4b9f6d;
    border-radius: 20px;
    background: linear-gradient(110deg, #10281b, #151a20 70%);
}

.customer-setup-finish p {
    margin-bottom: 0;
}

.customer-setup-finish .button {
    flex: 0 0 auto;
}

.customer-setup-safety-note {
    margin: 18px 0 4px;
    padding: 20px 24px;
    border: 1px solid #33404b;
    border-left: 5px solid #65d796;
    border-radius: 14px;
    background: #11171c;
}

.customer-setup-safety-note strong {
    color: #77e6a6;
}

.customer-setup-safety-note p {
    margin: 6px 0 0;
    color: #aab6c1;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .customer-choice-grid-three {
        grid-template-columns: 1fr;
    }

    .customer-choice-card {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .customer-setup-prompt,
    .customer-setup-hero,
    .customer-setup-finish {
        display: grid;
    }

    .customer-setup-hero {
        grid-template-columns: 1fr;
    }

    .customer-setup-prompt .button,
    .customer-setup-finish .button {
        width: 100%;
    }

    .customer-setup-status {
        justify-self: start;
        min-width: 145px;
    }

    .customer-setup-step {
        grid-template-columns: 1fr;
    }

    .customer-setup-step-number {
        width: 48px;
        height: 48px;
    }
}

/* Studio Health Check */

.studio-check-link {
    padding: 8px 11px;
    border: 1px solid #4c5665;
    border-radius: 999px;
    color: #d8dee7;
    font-size: 0.88rem;
    font-weight: 900;
    white-space: nowrap;
}

.studio-check-link:hover {
    border-color: #56d27d;
    background: rgba(86, 210, 125, 0.08);
}

.system-check-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 30px;
    border: 1px solid #343b45;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(86, 210, 125, 0.17), transparent 42%),
        linear-gradient(140deg, #181d24, #101419);
}

.system-check-hero.status-warning {
    background:
        radial-gradient(circle at top right, rgba(240, 180, 41, 0.2), transparent 42%),
        linear-gradient(140deg, #181d24, #101419);
}

.system-check-hero.status-error {
    background:
        radial-gradient(circle at top right, rgba(239, 106, 97, 0.2), transparent 42%),
        linear-gradient(140deg, #181d24, #101419);
}

.system-check-hero h2 {
    margin: 7px 0 10px;
    font-size: clamp(1.9rem, 4vw, 3.15rem);
}

.system-check-hero p {
    max-width: 680px;
    margin: 0;
    color: #c4ccd6;
    line-height: 1.6;
}

.system-check-hero small {
    display: block;
    margin-top: 13px;
    color: #8f99a6;
}

.system-check-gauge {
    display: grid;
    place-items: center;
    min-width: 180px;
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(86, 210, 125, 0.6);
    border-radius: 18px;
    background: rgba(8, 12, 15, 0.75);
    text-align: center;
}

.status-warning .system-check-gauge {
    border-color: rgba(240, 180, 41, 0.7);
}

.status-error .system-check-gauge {
    border-color: rgba(239, 106, 97, 0.75);
}

.system-check-gauge span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #56d27d;
    color: #09110c;
    font-size: 2rem;
    font-weight: 1000;
}

.status-warning .system-check-gauge span {
    background: #f0b429;
    color: #111318;
}

.status-error .system-check-gauge span {
    background: #ef6a61;
    color: #ffffff;
}

.system-check-gauge strong {
    color: #dff7e5;
    letter-spacing: 0.08em;
}

.system-check-summary,
.system-check-finish {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    padding: 22px 26px;
}

.system-check-summary h3,
.system-check-finish h3 {
    margin: 5px 0 7px;
    font-size: 1.45rem;
}

.system-check-summary p,
.system-check-finish p {
    max-width: 640px;
    margin: 0;
    color: #b7c0cb;
    line-height: 1.55;
}

.system-check-counts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.system-check-counts span {
    padding: 8px 10px;
    border: 1px solid #414a56;
    border-radius: 999px;
    background: #0d1116;
    color: #c6ced8;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.system-check-counts .ready { border-color: #2b6a38; color: #a9edba; }
.system-check-counts .warning { border-color: #8a6617; color: #ffd978; }
.system-check-counts .error { border-color: #8f3731; color: #ffaaa4; }

.system-check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.system-check-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border: 1px solid #343b45;
    border-left: 5px solid #56d27d;
    border-radius: 14px;
    background: linear-gradient(140deg, #171c22, #11151a);
}

.system-check-card.status-warning {
    border-left-color: #f0b429;
}

.system-check-card.status-error {
    border-left-color: #ef6a61;
}

.system-check-card.status-optional {
    border-left-color: #69a9f1;
}

.system-check-card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(86, 210, 125, 0.16);
    color: #75e294;
    font-size: 1.25rem;
    font-weight: 1000;
}

.status-warning .system-check-card-icon {
    background: rgba(240, 180, 41, 0.16);
    color: #ffd05c;
}

.status-error .system-check-card-icon {
    background: rgba(239, 106, 97, 0.16);
    color: #ff8e87;
}

.status-optional .system-check-card-icon {
    background: rgba(105, 169, 241, 0.16);
    color: #9ac9ff;
}

.system-check-card-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.system-check-card-heading h3 {
    margin: 0;
    font-size: 1.15rem;
}

.system-check-card-heading span {
    flex: 0 0 auto;
    padding: 4px 7px;
    border: 1px solid #3f7350;
    border-radius: 999px;
    color: #a9edba;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status-warning .system-check-card-heading span {
    border-color: #8a6617;
    color: #ffd978;
}

.status-error .system-check-card-heading span {
    border-color: #8f3731;
    color: #ffaaa4;
}

.status-optional .system-check-card-heading span {
    border-color: #3d6490;
    color: #a9d0ff;
}

.system-check-result {
    display: block;
    margin-top: 10px;
    color: #ffffff;
}

.system-check-card p {
    margin: 7px 0 0;
    color: #b9c2cd;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.system-check-action {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #4a5562;
    border-radius: 10px;
    background: #0c1015;
    color: #d6dce4;
    line-height: 1.5;
}

.status-warning .system-check-action {
    border-color: rgba(240, 180, 41, 0.45);
}

.status-error .system-check-action {
    border-color: rgba(239, 106, 97, 0.5);
}

.system-check-finish {
    grid-template-columns: minmax(0, 1fr) auto;
}

@media (max-width: 980px) {
    .system-check-hero,
    .system-check-summary,
    .system-check-finish {
        grid-template-columns: 1fr;
    }

    .system-check-gauge {
        min-width: 0;
    }

    .system-check-counts {
        justify-content: flex-start;
    }

    .system-check-summary > .button,
    .system-check-finish > .button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .studio-check-link {
        flex: 1 1 auto;
        text-align: center;
    }

    .system-check-list {
        grid-template-columns: 1fr;
    }

    .system-check-card {
        grid-template-columns: 1fr;
    }

    .system-check-card-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

.studio-edition-badge {
    display: inline-flex;
    margin-top: 7px;
    padding: 4px 8px;
    border: 1px solid rgba(240, 180, 41, 0.55);
    border-radius: 999px;
    color: #f0b429;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ai-setup-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid #4c5665;
    border-radius: 999px;
    background: #20262e;
    font-size: 0.88rem;
    font-weight: 900;
    white-space: nowrap;
}

.ai-setup-link:hover {
    border-color: #f0b429;
}

.ai-setup-link.is-ready {
    border-color: #2b6a38;
    background: #15291a;
    color: #d8f7df;
}

.ai-setup-link.needs-setup {
    border-color: #f0b429;
    color: #ffd978;
}

.ai-status-dot,
.ai-connection-light {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f0b429;
    box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.14);
}

.ai-setup-link.is-ready .ai-status-dot,
.ai-connection-card.is-ready .ai-connection-light {
    background: #56d27d;
    box-shadow: 0 0 0 4px rgba(86, 210, 125, 0.14);
}

/* Studio Safety Net */

.safety-net-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: -18px 0 22px auto;
    padding: 8px 12px;
    border: 1px solid rgba(86, 210, 125, 0.58);
    border-radius: 999px;
    background: rgba(21, 41, 26, 0.9);
    color: #d8f7df;
    font-size: 0.82rem;
}

.safety-net-strip:hover {
    border-color: #56d27d;
    background: #193820;
}

.safety-net-strip > span:last-child { color: #a9edba; }

.safety-net-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #56d27d;
    box-shadow: 0 0 0 4px rgba(86, 210, 125, 0.14);
}

.recovery-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 32px;
    border: 1px solid #376944;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(86, 210, 125, 0.22), transparent 45%),
        linear-gradient(140deg, #18231c, #101419 65%);
}

.recovery-hero h2,
.recovery-library h2 {
    margin: 6px 0 11px;
    font-size: clamp(1.9rem, 4vw, 3.15rem);
}

.recovery-hero p {
    max-width: 690px;
    margin: 0;
    color: #c6d1ca;
    line-height: 1.6;
}

.recovery-hero > form {
    display: grid;
    gap: 9px;
    min-width: 240px;
    margin: 0;
    text-align: center;
}

.recovery-hero > form small { color: #aeb8b1; }

.recovery-protected {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-top: 20px;
    padding: 11px 14px;
    border: 1px solid rgba(86, 210, 125, 0.45);
    border-radius: 12px;
    background: rgba(7, 15, 9, 0.7);
}

.recovery-protected > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #56d27d;
    color: #0a130c;
    font-weight: 1000;
}

.recovery-protected strong,
.recovery-protected small { display: block; }
.recovery-protected small { margin-top: 2px; color: #a9b6ad; }

.recovery-explanation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 24px 27px;
}

.recovery-explanation h3 { margin: 6px 0 8px; font-size: 1.5rem; }

.recovery-explanation p,
.recovery-library-heading p {
    max-width: 720px;
    margin: 0;
    color: #b9c2cd;
    line-height: 1.55;
}

.recovery-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.recovery-facts span {
    padding: 9px 11px;
    border: 1px solid #3e4a43;
    border-radius: 999px;
    background: #0d1210;
    color: #bcd1c1;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.recovery-library-heading { margin-bottom: 18px; }
.recovery-list { display: grid; gap: 16px; }

.recovery-card {
    overflow: hidden;
    border: 1px solid #343b45;
    border-left: 5px solid #657080;
    border-radius: 14px;
    background: linear-gradient(140deg, #171c22, #11151a);
}

.recovery-card.is-latest {
    border-left-color: #56d27d;
    box-shadow: inset 0 0 35px rgba(86, 210, 125, 0.04);
}

.recovery-card > header {
    position: static;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px 16px;
    border: 0;
    border-bottom: 1px solid #2d343e;
    background: transparent;
}

.recovery-card h3 { margin: 9px 0 5px; font-size: 1.2rem; }
.recovery-card header p { margin: 0; color: #aeb7c3; }
.recovery-card > header > strong { color: #cbd3dc; white-space: nowrap; }

.recovery-card-labels { display: flex; flex-wrap: wrap; gap: 7px; }

.recovery-card-labels span {
    padding: 4px 7px;
    border: 1px solid #46505d;
    border-radius: 999px;
    color: #cbd2dc;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.is-latest .recovery-card-labels span:first-child {
    border-color: #3b804f;
    color: #a9edba;
}

.recovery-card-counts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #2c333d;
}

.recovery-card-counts span {
    padding: 15px 20px;
    background: #12171d;
    color: #aeb8c4;
    font-size: 0.86rem;
}

.recovery-card-counts strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 1.15rem;
}

.recovery-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 22px 20px;
}

.recovery-card-actions form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
}

.recovery-card-actions form label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 330px;
    margin: 0;
    color: #c2cad4;
    font-size: 0.82rem;
    line-height: 1.4;
}

.recovery-card-actions input[type="checkbox"] {
    flex: 0 0 auto;
    width: auto;
    margin-top: 3px;
}

.recovery-current-label { color: #87e19f; font-weight: 900; }
.recovery-empty { text-align: center; }
.recovery-empty h3 { margin-top: 0; }

@media (max-width: 980px) {
    .recovery-hero,
    .recovery-explanation { grid-template-columns: 1fr; }
    .recovery-hero > form { min-width: 0; }
    .recovery-facts { justify-content: flex-start; }
    .recovery-card-actions,
    .recovery-card-actions form { align-items: stretch; flex-direction: column; }
    .recovery-card-actions form { width: 100%; }
    .recovery-card-actions > .button,
    .recovery-card-actions form button { width: 100%; text-align: center; }
}

@media (max-width: 700px) {
    .safety-net-strip {
        width: 100%;
        margin-top: -18px;
        justify-content: center;
    }
    .recovery-card > header { flex-direction: column; }
    .recovery-card-counts { grid-template-columns: 1fr; }
    .recovery-protected { width: 100%; }
}

.ai-setup-panel {
    max-width: 820px;
}

.ai-setup-panel h2 {
    margin-bottom: 10px;
}

.ai-setup-intro {
    margin: 0 0 24px;
    color: #c2c9d2;
    font-size: 1.05rem;
    line-height: 1.65;
}

.ai-connection-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 22px 0;
    padding: 18px;
    border: 1px solid #4c5665;
    border-radius: 14px;
    background: #11161c;
}

.ai-connection-card.is-ready {
    border-color: #2b6a38;
    background: #122318;
}

.ai-connection-card.needs-setup {
    border-color: rgba(240, 180, 41, 0.7);
    background: rgba(240, 180, 41, 0.07);
}

.ai-connection-card strong {
    color: #ffffff;
    font-size: 1.08rem;
}

.ai-connection-card p {
    margin: 5px 0 0;
    color: #c2c9d2;
}

.ai-connection-light {
    margin-top: 6px;
}

.ai-setup-steps {
    padding: 18px;
    border: 1px solid #303945;
    border-radius: 14px;
    background: #171c22;
}

.ai-setup-steps h3 {
    margin-top: 0;
}

.ai-setup-steps ol {
    display: grid;
    gap: 8px;
    padding-left: 24px;
}

.ai-setup-steps a {
    color: #f0b429;
    font-weight: 800;
    text-decoration: underline;
}

.ai-key-form {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #303945;
    border-radius: 14px;
    background: #101419;
}

.ai-private-note {
    margin: -5px 0 0;
    color: #aeb7c3;
    line-height: 1.55;
}

.ai-private-note code {
    color: #ffd978;
}

.ai-remove-form {
    margin-top: 14px;
}

.ai-setup-reassurance {
    margin-top: 22px;
    padding: 16px;
    border-left: 4px solid #f0b429;
    border-radius: 8px;
    background: rgba(240, 180, 41, 0.09);
    color: #e7ebf0;
    line-height: 1.55;
}

@media (max-width: 700px) {
    .ai-setup-link {
        justify-content: center;
        order: 2;
    }

    .ai-connection-card {
        display: grid;
    }

    .ai-key-form button,
    .ai-remove-form button {
        width: 100%;
    }
}

/* Smart Project Starter */
.smart-project-category-picker {
    margin: 0 0 22px;
    padding: 20px;
    border: 1px solid #3a4656;
    border-radius: 16px;
    background: #0c1219;
}

.smart-project-category-picker > legend {
    padding: 0 8px;
    color: #f4b72b;
    font-size: 18px;
    font-weight: 900;
}

.smart-project-category-picker > p {
    margin: 0 0 16px;
    color: #afbdd0;
}

.smart-project-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.smart-project-category-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 5px 11px;
    align-items: center;
    padding: 16px;
    border: 1px solid #3b4654;
    border-radius: 14px;
    background: #101720;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.smart-project-category-card:hover {
    transform: translateY(-2px);
    border-color: #f4b72b;
}

.smart-project-category-card:has(input:checked) {
    border-color: #f4b72b;
    background: linear-gradient(140deg, rgba(244, 183, 43, 0.18), #101720 62%);
    box-shadow: 0 0 0 2px rgba(244, 183, 43, 0.12);
}

.smart-project-category-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.smart-project-category-card input:focus-visible ~ strong {
    outline: 3px solid #79b7ff;
    outline-offset: 4px;
}

.smart-project-category-icon {
    grid-row: 1 / span 2;
    font-size: 29px;
    line-height: 1;
}

.smart-project-category-card strong {
    color: #fff;
    font-size: 16px;
}

.smart-project-category-card small {
    color: #aebaca;
    line-height: 1.4;
}

.smart-project-subtype-field {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid rgba(244, 183, 43, 0.35);
    border-radius: 13px;
    background: rgba(244, 183, 43, 0.07);
}

.creator-project-fields {
    gap: 16px;
}

.creator-project-guidance {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 3px;
    padding: 17px;
    border: 1px solid #3b4e61;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(43, 130, 190, 0.15), #0d141c);
}

.creator-project-guidance > span {
    font-size: 34px;
}

.creator-project-guidance div {
    display: grid;
    gap: 4px;
}

.creator-project-guidance strong {
    color: #fff;
    font-size: 18px;
}

.creator-project-guidance div > span {
    color: #b6c3d3;
}

.creator-project-card {
    border-color: rgba(89, 168, 232, 0.42);
    background: linear-gradient(145deg, rgba(34, 83, 124, 0.18), #10151c 62%);
}

.creator-launchpad-card .button {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
}

.creator-project-detail-panel {
    border-color: rgba(89, 168, 232, 0.45);
}

.creator-project-brand-banner {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px 17px;
    border: 1px solid rgba(89, 168, 232, 0.48);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 111, 170, 0.2), rgba(14, 20, 28, 0.92));
}

.creator-project-brand-banner > span {
    font-size: 36px;
}

.creator-project-brand-banner div {
    display: grid;
    gap: 3px;
}

.creator-project-brand-banner strong {
    color: #fff;
    font-size: 18px;
}

@media (max-width: 700px) {
    .smart-project-category-grid {
        grid-template-columns: 1fr;
    }

    .smart-project-category-picker {
        padding: 15px;
    }
}

/* Launch-ready official links and contact details */
.official-link-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.official-link-setting {
    display: grid;
    gap: 8px;
    color: #dbe5ef;
    font-weight: 800;
}

.official-link-setting > span {
    display: flex;
    gap: 8px;
    align-items: center;
}

.official-link-setting i {
    width: 24px;
    font-style: normal;
    text-align: center;
}

.official-link-setting input {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #3b4c5f;
    border-radius: 11px;
    background: #0b1118;
    color: #fff;
    font: inherit;
}

.official-link-setting input:focus {
    border-color: #f4b629;
    outline: 3px solid rgba(244, 182, 41, 0.16);
}

.official-link-setting-email {
    grid-column: 1 / -1;
}

.official-links-hero,
.official-contact-card,
.official-links-manage,
.official-links-empty {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 26px;
    border: 1px solid #354252;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(244, 182, 41, 0.12), #111820 58%);
}

.official-links-hero h2,
.official-contact-card h3,
.official-links-empty h3 {
    margin: 5px 0 8px;
    color: #fff;
}

.official-links-hero p,
.official-contact-card p,
.official-links-empty p,
.official-links-manage span {
    margin: 0;
    color: #b9c6d4;
}

.official-links-hero-badge {
    display: grid;
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 2px solid #f4b629;
    border-radius: 50%;
    background: #0c1219;
    font-size: 42px;
}

.official-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 22px;
}

.official-link-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    min-height: 104px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #344253;
    border-radius: 15px;
    background: #10171f;
    color: #fff;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.official-link-card:hover,
.official-link-card:focus-visible {
    transform: translateY(-2px);
    border-color: #f4b629;
    background: #151d26;
}

.official-link-card-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 14px;
    background: rgba(244, 182, 41, 0.14);
    font-size: 27px;
}

.official-link-card > span:nth-child(2) {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.official-link-card small {
    color: #f4b629;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.official-link-card strong {
    font-size: 18px;
}

.official-link-card em {
    overflow: hidden;
    color: #9fb0c1;
    font-size: 13px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.official-link-card b {
    color: #f4b629;
    font-size: 22px;
}

.official-links-empty > span {
    font-size: 48px;
}

.official-links-manage {
    padding: 18px 22px;
    background: #10171f;
}

.official-links-manage > div {
    display: grid;
    gap: 4px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 2fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 36px;
    padding: 24px clamp(20px, 5vw, 72px);
    border-top: 1px solid #2d3743;
    background: #0c1117;
}

.site-footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.site-footer-brand img {
    width: 54px;
    height: 54px;
    border-radius: 11px;
    object-fit: cover;
}

.site-footer-brand div {
    display: grid;
    gap: 3px;
}

.site-footer-brand strong {
    color: #fff;
}

.site-footer-brand span,
.site-footer-manage {
    color: #94a4b5;
    font-size: 13px;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.site-footer-links a {
    padding: 8px 10px;
    border: 1px solid #354252;
    border-radius: 9px;
    background: #111922;
    color: #dce6f0;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible,
.site-footer-manage:hover,
.site-footer-manage:focus-visible {
    border-color: #f4b629;
    color: #f4b629;
}

.site-footer-manage {
    text-align: right;
}

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

    .site-footer-manage {
        text-align: left;
    }
}

@media (max-width: 700px) {
    .official-link-settings-grid,
    .official-links-grid {
        grid-template-columns: 1fr;
    }

    .official-link-setting-email {
        grid-column: auto;
    }

    .official-links-hero,
    .official-contact-card,
    .official-links-manage,
    .official-links-empty {
        align-items: stretch;
        flex-direction: column;
        padding: 19px;
    }

    .official-links-hero-badge {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

    .official-link-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .official-link-card b {
        display: none;
    }

    .site-footer {
        padding: 22px 18px;
    }
}

/* Finished Video Library */
.video-library-nav-link {
    border-color: rgba(112, 183, 255, 0.45);
}

.video-library-hero {
    border: 1px solid rgba(112, 183, 255, 0.42);
    background:
        radial-gradient(circle at 88% 12%, rgba(50, 133, 218, 0.2), transparent 32%),
        linear-gradient(145deg, #15191e, #0b0f13);
}

.video-library-total {
    min-width: 185px;
    padding: 1.1rem 1.35rem;
    border: 1px solid rgba(112, 183, 255, 0.4);
    border-radius: 1rem;
    background: rgba(5, 8, 11, 0.78);
    text-align: center;
}

.video-library-total strong {
    display: block;
    color: #70b7ff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
}

.video-library-total span {
    display: block;
    margin-top: 0.45rem;
    color: #c9d0d7;
}

.video-library-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}

.video-library-stats article {
    padding: 1rem;
    border: 1px solid #303943;
    border-radius: 0.9rem;
    background: #12171c;
}

.video-library-stats span {
    display: block;
    color: #aeb8c3;
}

.video-library-stats strong {
    display: block;
    margin-top: 0.25rem;
    color: #f4b632;
    font-size: 1.55rem;
}

.video-library-filter-panel {
    margin: 1rem 0 1.35rem;
    padding: 1rem;
    border: 1px solid #303943;
    border-radius: 1rem;
    background: #101419;
}

.video-library-filter-heading,
.video-library-results-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
}

.video-library-filter-heading h3,
.video-library-results-heading h3,
.video-library-results-heading p {
    margin: 0.18rem 0 0;
}

.video-library-results-heading p {
    color: #9ba6b1;
    text-align: right;
}

.video-library-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(145px, 1fr)) auto;
    gap: 0.75rem;
    align-items: end;
    margin-top: 0.9rem;
}

.video-library-filter-form label {
    display: grid;
    gap: 0.35rem;
    color: #dce3e9;
    font-weight: 800;
}

.video-library-filter-form input,
.video-library-filter-form select {
    width: 100%;
    min-height: 46px;
    padding: 0.7rem;
    border: 1px solid #3b4652;
    border-radius: 0.65rem;
    background: #090d12;
    color: #f5f7f9;
}

.video-library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.9rem;
}

.video-library-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #303943;
    border-radius: 1rem;
    background: #101419;
    min-width: 0;
}

.video-library-card.is-bmx {
    border-color: rgba(0, 166, 90, 0.48);
}

.video-library-card.is-motorcycle {
    border-color: rgba(244, 182, 50, 0.43);
}

.video-library-card.is-orphaned {
    border-style: dashed;
    border-color: rgba(174, 184, 195, 0.5);
}

.video-library-poster {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 1rem;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(244, 182, 50, 0.18), transparent 55%),
        #070a0e;
}

.video-library-card.is-bmx .video-library-poster {
    background:
        linear-gradient(160deg, rgba(0, 166, 90, 0.23), transparent 55%),
        #070a0e;
}

.video-library-poster img {
    width: 112px;
    height: 112px;
    border-radius: 0.85rem;
    object-fit: cover;
    opacity: 0.78;
}

.video-library-play {
    position: absolute;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding-left: 0.18rem;
    border-radius: 999px;
    background: rgba(4, 7, 10, 0.82);
    border: 2px solid #ffffff;
    color: #ffffff;
}

.video-library-format {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    padding: 0.28rem 0.48rem;
    border-radius: 0.42rem;
    background: #252d35;
    color: #dce4eb;
    font-size: 0.68rem;
    font-weight: 900;
}

.video-library-format.is-vertical {
    background: #1e5e96;
    color: #d7edff;
}

.video-library-card-body {
    min-width: 0;
    padding: 1rem;
}

.video-library-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.video-library-card-heading > div {
    min-width: 0;
}

.video-library-card-heading h4 {
    margin: 0.2rem 0 0;
    overflow-wrap: anywhere;
}

.video-library-posting-badge {
    flex: 0 0 auto;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: #29323b;
    color: #dce4eb;
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.video-library-posting-badge.is-ready {
    color: #c8d0d8;
}

.video-library-posting-badge.is-planned {
    background: rgba(45, 119, 191, 0.3);
    color: #8dc8ff;
}

.video-library-posting-badge.is-part-posted {
    background: rgba(244, 182, 50, 0.2);
    color: #ffd46e;
}

.video-library-posting-badge.is-complete {
    background: rgba(34, 133, 72, 0.3);
    color: #83f0a9;
}

.video-library-project-name {
    margin: 0.75rem 0 0.45rem;
    color: #bdc6cf;
}

.video-library-file-details {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.32rem;
    color: #9ba6b1;
    font-size: 0.82rem;
}

.video-library-card-body > small {
    display: block;
    overflow: hidden;
    color: #78838e;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-library-next-post {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin-top: 0.7rem;
    padding: 0.65rem;
    border: 1px solid #36414c;
    border-radius: 0.65rem;
    background: #0b1015;
}

.video-library-next-post small,
.video-library-next-post strong {
    display: block;
}

.video-library-next-post small {
    color: #87929d;
}

.video-library-next-post.is-overdue {
    border-color: rgba(255, 99, 99, 0.48);
}

.video-library-next-post.is-today {
    border-color: rgba(244, 182, 50, 0.5);
}

.video-library-next-post.is-upcoming {
    border-color: rgba(112, 183, 255, 0.45);
}

.video-library-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.video-library-card-actions form {
    margin: 0;
}

.video-library-project-removed {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.7rem;
    border: 1px dashed #65717d;
    border-radius: 0.55rem;
    color: #b9c2ca;
    font-size: 0.78rem;
    font-weight: 800;
}

.video-library-card-actions .button,
.video-library-card-actions button {
    padding: 0.62rem 0.75rem;
    font-size: 0.8rem;
}

.video-library-empty {
    margin-top: 1rem;
    text-align: center;
}

.video-library-empty > span {
    display: block;
    font-size: 3rem;
}

.video-library-storage-note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin: 1.2rem 0 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(112, 183, 255, 0.35);
    border-radius: 0.9rem;
    background: rgba(33, 94, 153, 0.12);
}

.video-library-storage-note > span {
    font-size: 1.4rem;
}

.video-library-storage-note p {
    margin: 0.25rem 0 0;
    color: #bdc9d5;
}

@media (max-width: 1180px) {
    .video-library-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-library-search-field {
        grid-column: span 2;
    }

    .video-library-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .video-library-stats,
    .video-library-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-library-total {
        width: 100%;
    }

    .video-library-filter-heading,
    .video-library-results-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .video-library-results-heading p {
        text-align: left;
    }
}

@media (max-width: 540px) {
    .video-library-stats,
    .video-library-filter-form {
        grid-template-columns: 1fr;
    }

    .video-library-search-field {
        grid-column: auto;
    }

    .video-library-card {
        grid-template-columns: 1fr;
    }

    .video-library-poster {
        min-height: 165px;
    }

    .video-library-card-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .video-library-posting-badge {
        align-self: flex-start;
    }

    .video-library-card-actions,
    .video-library-card-actions form,
    .video-library-card-actions .button,
    .video-library-card-actions button {
        width: 100%;
        text-align: center;
    }
}

/* Tidy workshop header ---------------------------------------------------- */
.studio-header {
    display: grid;
    grid-template-columns: minmax(245px, 310px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 15px clamp(24px, 4vw, 72px);
}

.studio-header .site-brand {
    min-width: 0;
    gap: 12px;
}

.studio-header .site-brand-logo {
    flex: 0 0 auto;
    width: 70px;
    height: 58px;
}

.site-brand-copy {
    min-width: 0;
}

.studio-header .site-brand h1,
.studio-header .site-brand p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.studio-header .site-brand h1 {
    font-size: 1.18rem;
}

.studio-header .site-brand p {
    margin-top: 2px;
    font-size: 0.82rem;
}

.site-brand-badges {
    display: flex;
    gap: 5px;
    align-items: center;
    min-width: 0;
    margin-top: 5px;
}

.studio-header .studio-edition-badge,
.studio-header .studio-owner-badge {
    max-width: 145px;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.studio-header-nav {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.header-primary-links,
.header-utility-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-primary-links {
    min-width: 0;
}

.header-utility-actions {
    flex: 0 0 auto;
}

.header-nav-link {
    flex: 0 0 auto;
    padding: 9px 11px;
    border: 1px solid #303842;
    border-radius: 10px;
    color: #dce2e9;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.header-nav-link:hover {
    border-color: #687483;
    background: #1a2027;
    color: #ffffff;
}

.header-nav-link.video-library-nav-link {
    border-color: rgba(112, 183, 255, 0.45);
}

.header-nav-link.publishing-planner-nav-link {
    border-color: rgba(244, 182, 50, 0.45);
}

.header-more-menu {
    position: relative;
    flex: 0 0 auto;
}

.header-more-menu > summary {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #47515f;
    border-radius: 10px;
    background: #191f26;
    color: #f3f5f7;
    font-size: 0.9rem;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.header-more-menu > summary::-webkit-details-marker {
    display: none;
}

.header-more-menu > summary:hover,
.header-more-menu[open] > summary {
    border-color: #f0b429;
    color: #ffd66b;
}

.header-more-chevron {
    color: #9fa9b5;
    font-size: 1rem;
    line-height: 1;
    transition: transform 150ms ease;
}

.header-more-menu[open] .header-more-chevron {
    transform: rotate(180deg);
}

.header-more-panel {
    position: absolute;
    top: calc(100% + 11px);
    right: 0;
    z-index: 80;
    display: grid;
    width: min(350px, calc(100vw - 32px));
    gap: 5px;
    padding: 10px;
    border: 1px solid #3b4551;
    border-radius: 14px;
    background: #151a20;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.48);
}

.header-more-heading {
    padding: 5px 8px 7px;
    color: #f0b429;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.studio-header .header-more-link,
.studio-header .header-more-link.ai-fuel-nav-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 9px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #edf1f5;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: normal;
}

.studio-header .header-more-link.ai-fuel-nav-link {
    grid-template-columns: 34px minmax(0, 1fr) auto;
}

.studio-header .header-more-link:hover {
    background: #202730;
    color: #ffffff;
}

.header-more-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #3e4956;
    border-radius: 9px;
    background: #101419;
    color: #f0b429;
    font-weight: 950;
}

.header-more-link strong,
.header-more-link small {
    display: block;
}

.header-more-link small {
    margin-top: 2px;
    color: #9faab6;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.25;
}

.header-fuel-badge {
    display: inline-grid;
    min-width: 30px;
    min-height: 30px;
    padding: 4px 7px;
    place-items: center;
    border-radius: 999px;
    background: #f0b429;
    color: #0a0d11;
    font-size: 0.72rem;
}

.studio-header .ai-setup-link,
.studio-header .site-help-button,
.studio-header .header-create-project {
    min-height: 42px;
    padding: 9px 13px;
}

.studio-header .site-help-button {
    width: auto;
    order: initial;
}

.header-create-project {
    display: inline-grid;
    place-items: center;
    white-space: nowrap;
}

@media (max-width: 1450px) {
    .studio-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 13px clamp(22px, 3vw, 46px);
    }

    .studio-header .site-brand-logo {
        width: 62px;
        height: 52px;
    }

    .studio-header-nav {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 900px) {
    .studio-header-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .header-primary-links,
    .header-utility-actions {
        flex-wrap: wrap;
    }

    .header-primary-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .header-nav-link {
        text-align: center;
    }

    .header-utility-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 620px) {
    .studio-header {
        position: sticky;
        align-items: stretch;
        padding: 11px 14px;
    }

    .studio-header .site-brand-logo {
        width: 56px;
        height: 48px;
    }

    .studio-header .site-brand h1 {
        font-size: 1rem;
    }

    .studio-header .site-brand p {
        font-size: 0.75rem;
    }

    .studio-header .studio-edition-badge,
    .studio-header .studio-owner-badge {
        max-width: 120px;
        padding: 3px 6px;
        font-size: 0.63rem;
    }

    .header-primary-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-primary-links .publishing-planner-nav-link {
        grid-column: 1 / -1;
    }

    .header-utility-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .studio-header .ai-setup-link {
        grid-column: 1 / -1;
        justify-content: center;
        order: initial;
    }

    .header-more-menu {
        position: static;
    }

    .header-more-menu > summary,
    .studio-header .site-help-button,
    .studio-header .header-create-project {
        width: 100%;
    }

    .header-create-project {
        grid-column: 1 / -1;
    }

    .header-more-panel {
        position: absolute;
        top: auto;
        right: 14px;
        left: 14px;
        width: auto;
        margin-top: 8px;
    }
}

@media (max-width: 390px) {
    .studio-header .site-brand-badges {
        display: none;
    }
}

/* Tester Launchpad ------------------------------------------------------- */
.tester-launchpad-link .header-more-icon {
    color: #69e89a;
}

.test-drive-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid #38506a;
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 15%, rgba(105, 232, 154, 0.14), transparent 30%),
        linear-gradient(140deg, #17202a, #0e1318 68%);
    overflow: hidden;
}

.test-drive-hero.status-warning {
    border-color: rgba(240, 180, 41, 0.65);
}

.test-drive-hero.status-error {
    border-color: rgba(255, 103, 111, 0.7);
}

.test-drive-hero h2 {
    margin: 8px 0 14px;
    max-width: 720px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.test-drive-hero p {
    max-width: 720px;
    margin: 0;
    color: #c2ccd6;
    font-size: 1.02rem;
    line-height: 1.6;
}

.test-drive-hero-actions,
.test-drive-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.test-drive-progress-ring {
    display: grid;
    width: clamp(170px, 18vw, 230px);
    aspect-ratio: 1;
    padding: 12px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(
        #69e89a var(--test-progress),
        #2b3540 var(--test-progress)
    );
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.test-drive-progress-ring > div {
    display: grid;
    width: 100%;
    height: 100%;
    place-content: center;
    border: 1px solid #45515e;
    border-radius: 50%;
    background: #0f1419;
    text-align: center;
}

.test-drive-progress-ring strong {
    color: #69e89a;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
}

.test-drive-progress-ring span {
    margin-top: 7px;
    color: #b8c3cd;
    font-weight: 800;
}

.test-drive-control-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.test-drive-control-grid .panel {
    margin: 0;
}

.test-drive-control-grid h3 {
    margin: 6px 0 12px;
}

.test-drive-tester-card form {
    display: grid;
    gap: 10px;
}

.test-drive-tester-card button {
    justify-self: start;
}

.test-drive-health-card {
    border-color: rgba(105, 232, 154, 0.42);
}

.test-drive-health-card.status-warning {
    border-color: rgba(240, 180, 41, 0.55);
}

.test-drive-health-card.status-error {
    border-color: rgba(255, 103, 111, 0.6);
}

.test-drive-health-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.test-drive-health-counts span {
    padding: 7px 9px;
    border: 1px solid #3b4551;
    border-radius: 999px;
    background: #0f1419;
    color: #c3ccd6;
    font-size: 0.78rem;
}

.test-drive-health-counts .ready strong { color: #69e89a; }
.test-drive-health-counts .warning strong { color: #f4b632; }
.test-drive-health-counts .error strong { color: #ff727b; }

.test-drive-health-card > a {
    color: #8ec6ff;
    font-weight: 800;
}

.test-drive-report-card p {
    color: #bdc7d1;
    line-height: 1.5;
}

.test-drive-report-card small {
    display: block;
    margin-top: 14px;
    color: #8f9aa6;
    line-height: 1.4;
}

.test-drive-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.test-drive-summary > div {
    padding: 15px;
    border: 1px solid #323b46;
    border-radius: 12px;
    background: #12171c;
}

.test-drive-summary strong,
.test-drive-summary span {
    display: block;
}

.test-drive-summary strong {
    font-size: 1.8rem;
    line-height: 1;
}

.test-drive-summary span {
    margin-top: 6px;
    color: #aeb8c3;
}

.test-drive-summary .passed strong { color: #69e89a; }
.test-drive-summary .problem strong { color: #ff727b; }
.test-drive-summary .skipped strong { color: #f4b632; }
.test-drive-summary .not-started strong { color: #9aa6b2; }

.test-drive-finish {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(240, 180, 41, 0.5);
    border-radius: 13px;
    background: rgba(240, 180, 41, 0.08);
}

.test-drive-finish.clean-lap {
    border-color: rgba(105, 232, 154, 0.55);
    background: rgba(105, 232, 154, 0.08);
}

.test-drive-finish > span {
    font-size: 2rem;
}

.test-drive-finish p {
    margin: 4px 0 0;
    color: #bfc8d1;
}

.test-drive-checklist {
    margin-top: 28px;
}

.test-drive-checklist-heading {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 14px;
}

.test-drive-checklist-heading h2,
.test-drive-checklist-heading p {
    margin: 5px 0 0;
}

.test-drive-checklist-heading p {
    color: #aeb8c3;
}

.test-drive-saved-note {
    padding: 8px 11px;
    border: 1px solid #384554;
    border-radius: 999px;
    color: #aeb9c4;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.test-drive-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 12px;
    padding: 18px;
    border: 1px solid #323c48;
    border-radius: 15px;
    background: linear-gradient(145deg, #151a20, #101419);
    scroll-margin-top: 130px;
}

.test-drive-step.status-passed {
    border-color: rgba(105, 232, 154, 0.48);
}

.test-drive-step.status-problem {
    border-color: rgba(255, 103, 111, 0.58);
}

.test-drive-step.status-skipped {
    border-color: rgba(240, 180, 41, 0.48);
}

.test-drive-step-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid #536172;
    border-radius: 12px;
    background: #0e1318;
    color: #f4b632;
    font-size: 1.2rem;
    font-weight: 950;
}

.test-drive-step.status-passed .test-drive-step-number {
    border-color: #35794c;
    color: #69e89a;
}

.test-drive-step.status-problem .test-drive-step-number {
    border-color: #87434a;
    color: #ff727b;
}

.test-drive-step-main > header {
    position: static;
    z-index: auto;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    border: 0;
    background: transparent;
}

.test-drive-step h3 {
    margin: 7px 0 0;
    font-size: 1.15rem;
}

.test-drive-step-main > p {
    max-width: 820px;
    margin: 12px 0;
    color: #b9c3cd;
    line-height: 1.55;
}

.test-drive-step-status {
    display: inline-flex;
    padding: 5px 8px;
    border: 1px solid #45515e;
    border-radius: 999px;
    color: #aeb8c3;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.test-drive-step-status.status-passed {
    border-color: #35794c;
    color: #69e89a;
}

.test-drive-step-status.status-problem {
    border-color: #87434a;
    color: #ff7a83;
}

.test-drive-step-status.status-skipped {
    border-color: #856d33;
    color: #f4c75e;
}

.test-drive-step-form {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: 12px;
    padding: 13px;
    border: 1px solid #2f3843;
    border-radius: 11px;
    background: #0e1318;
}

.test-drive-step-form textarea {
    min-height: 64px;
}

.test-drive-note-heading {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.test-drive-note-state {
    color: #9ba7b3;
    font-size: 0.72rem;
    font-weight: 800;
}

.test-drive-note-state.is-saving {
    color: #f4c75e;
}

.test-drive-note-state.is-saved {
    color: #69e89a;
}

.test-drive-note-state.is-error {
    color: #ff7a83;
}

.test-drive-step-form label > small {
    display: block;
    margin-top: 5px;
    color: #8f9ba7;
    font-size: 0.72rem;
}

.test-drive-result-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
}

.test-drive-result-buttons button {
    padding: 9px 11px;
    border: 1px solid transparent;
}

.test-result-pass {
    background: #204b30;
    color: #dcf9e6;
}

.test-result-pass:hover,
.test-result-pass.is-selected {
    border-color: #69e89a;
    background: #2b6540;
}

.test-result-problem {
    background: #622e34;
    color: #ffe7e9;
}

.test-result-problem:hover,
.test-result-problem.is-selected {
    border-color: #ff7a83;
    background: #7f3941;
}

.test-result-skip {
    background: #554724;
    color: #fff0c0;
}

.test-result-skip:hover,
.test-result-skip.is-selected {
    border-color: #f4c75e;
    background: #6d5a2a;
}

.test-result-clear {
    background: #2d3641;
    color: #d7dde4;
}

.test-drive-problem-link {
    display: inline-flex;
    margin-top: 10px;
    color: #ff8c93;
    font-size: 0.82rem;
    font-weight: 800;
}

.test-drive-problem-help {
    display: block;
    max-width: 720px;
    margin-top: 4px;
    color: #87939f;
    font-size: 0.75rem;
    line-height: 1.4;
}

.test-drive-reset-panel {
    margin-top: 28px;
}

.test-drive-reset-panel > summary {
    font-weight: 900;
    cursor: pointer;
}

.test-drive-reset-panel p {
    color: #b8c2cc;
}

.test-drive-reset-panel form {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 980px) {
    .test-drive-control-grid {
        grid-template-columns: 1fr 1fr;
    }

    .test-drive-report-card {
        grid-column: 1 / -1;
    }

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

    .test-drive-result-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .test-drive-hero {
        grid-template-columns: 1fr;
    }

    .test-drive-progress-ring {
        width: 170px;
        justify-self: center;
    }

    .test-drive-control-grid,
    .test-drive-summary {
        grid-template-columns: 1fr 1fr;
    }

    .test-drive-report-card {
        grid-column: 1 / -1;
    }

    .test-drive-checklist-heading,
    .test-drive-step-main > header,
    .test-drive-reset-panel form {
        align-items: stretch;
        flex-direction: column;
    }

    .test-drive-saved-note {
        align-self: flex-start;
        white-space: normal;
    }

    .test-drive-step-main > header .button,
    .test-drive-reset-panel button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .test-drive-control-grid,
    .test-drive-summary {
        grid-template-columns: 1fr;
    }

    .test-drive-step {
        grid-template-columns: 1fr;
    }

    .test-drive-step-number {
        width: 40px;
        height: 40px;
    }

    .test-drive-result-buttons,
    .test-drive-result-buttons button,
    .test-drive-hero-actions,
    .test-drive-hero-actions .button,
    .test-drive-report-actions,
    .test-drive-report-actions .button {
        width: 100%;
    }

    .test-drive-result-buttons button,
    .test-drive-hero-actions .button,
    .test-drive-report-actions .button {
        text-align: center;
    }

    .test-drive-note-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Private beta guest list and showroom lock ----------------------------- */
.beta-locked-nav {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    border: 1px solid #245b3b;
    border-radius: 999px;
    background: #10251a;
    color: #96efb9;
    font-weight: 800;
}

.beta-lock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #58df89;
    box-shadow: 0 0 0 5px rgba(88, 223, 137, .14);
}

.beta-user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 13px;
    border: 1px solid #35404d;
    border-radius: 12px;
    background: #0d1117;
}

.beta-user-menu > span {
    display: grid;
    line-height: 1.15;
}

.beta-user-menu small { color: #8d98a8; }
.beta-user-menu strong { color: #f6bd32; }
.beta-user-menu form { margin: 0; }
.beta-user-menu button {
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    background: #303947;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.beta-auth-page,
.beta-testers-page {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 60px;
}

.beta-auth-page {
    min-height: 62vh;
    display: grid;
    place-items: center;
}

.beta-sign-in-card {
    width: min(620px, 100%);
    overflow: hidden;
    border: 1px solid #3a4655;
    border-top: 3px solid #f6b82d;
    border-radius: 22px;
    padding: 34px;
    background:
        radial-gradient(circle at 95% 0%, rgba(246, 184, 45, .15), transparent 34%),
        #12171d;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.beta-sign-in-brand {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 22px;
    align-items: center;
}

.beta-sign-in-brand img {
    width: 92px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #3b424c;
}

.beta-sign-in-brand h2,
.beta-sign-in-brand p { margin: 4px 0 0; }
.beta-sign-in-brand h2 { font-size: clamp(1.7rem, 4vw, 2.35rem); }
.beta-sign-in-brand p { color: #b7c0cc; line-height: 1.55; }

.beta-sign-in-form {
    display: grid;
    gap: 17px;
    margin-top: 30px;
}

.beta-sign-in-form label,
.beta-add-tester-form label,
.beta-reset-password-form label {
    display: grid;
    gap: 7px;
    color: #dce2e9;
    font-weight: 800;
}

.beta-sign-in-form input,
.beta-add-tester-form input,
.beta-add-tester-form select,
.beta-reset-password-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #3b4654;
    border-radius: 10px;
    padding: 11px 13px;
    background: #0a0f14;
    color: #fff;
    font: inherit;
}

.beta-sign-in-form input:focus,
.beta-add-tester-form input:focus,
.beta-add-tester-form select:focus,
.beta-reset-password-form input:focus {
    outline: 2px solid #f6b82d;
    outline-offset: 2px;
}

.beta-sign-in-help {
    display: flex;
    gap: 13px;
    margin-top: 24px;
    padding: 15px;
    border-radius: 12px;
    background: #0d2419;
    color: #b9e7c9;
}

.beta-sign-in-help p { margin: 0; line-height: 1.5; }
.beta-sign-in-help a { color: #f6bd32; font-weight: 900; }

.beta-testers-page {
    display: grid;
    gap: 22px;
}

.beta-testers-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 32px;
    border: 1px solid #3b4654;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(246, 184, 45, .15), transparent 42%),
        #13181e;
}

.beta-testers-hero h2,
.beta-testers-hero p { margin: 5px 0 0; }
.beta-testers-hero h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.beta-testers-hero p { max-width: 730px; color: #b8c1cd; line-height: 1.6; }

.beta-testers-totals {
    min-width: 170px;
    display: grid;
    justify-items: center;
    padding: 20px;
    border-radius: 18px;
    background: #0b1015;
    border: 1px solid #35404c;
}

.beta-testers-totals strong { color: #f6bd32; font-size: 2.8rem; line-height: 1; }
.beta-testers-totals span { margin-top: 5px; font-weight: 900; }
.beta-testers-totals small { margin-top: 6px; color: #8f9bab; }

.beta-security-card,
.beta-cloud-boundary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 16px;
}

.beta-security-card {
    border: 1px solid #795f1c;
    background: #241e0e;
}

.beta-security-card.is-ready {
    border-color: #287448;
    background: #10251a;
}

.beta-security-icon { font-size: 2rem; }
.beta-security-card h3,
.beta-security-card p,
.beta-cloud-boundary p { margin: 3px 0 0; }
.beta-security-card p,
.beta-cloud-boundary p { color: #c5cbd3; line-height: 1.5; }
.beta-security-card code { color: #f6bd32; }

.beta-add-tester { margin: 0; }
.beta-add-tester-form {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.1fr 1fr auto;
    gap: 14px;
    align-items: end;
    margin-top: 20px;
}

.beta-add-tester-form .button { min-height: 48px; }
.beta-first-admin-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-left: 4px solid #f6b82d;
    background: #201b0e;
    color: #e7d8af;
}

.beta-guest-list {
    padding: 26px;
    border: 1px solid #303944;
    border-radius: 18px;
    background: #10151b;
}

.beta-user-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.beta-user-card {
    padding: 19px;
    border: 1px solid #35414e;
    border-radius: 15px;
    background: #0b1015;
}

.beta-user-card.is-paused { opacity: .72; }
.beta-user-card-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.beta-user-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #f6b82d;
    color: #111;
    font-size: 1.3rem;
    font-weight: 950;
}

.beta-user-card-heading h3,
.beta-user-card-heading p { margin: 0; }
.beta-user-card-heading p { color: #99a5b4; overflow-wrap: anywhere; }
.beta-user-state {
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .05em;
}

.beta-user-state.active { background: #133c25; color: #78efa4; }
.beta-user-state.paused { background: #3b2424; color: #ff9b9b; }
.beta-user-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0;
    color: #97a3b2;
    font-size: .88rem;
}

.beta-user-meta strong { color: #e7ebef; }
.beta-user-actions { display: flex; gap: 10px; align-items: flex-start; }
.beta-user-actions form { margin: 0; }
.beta-user-actions details { flex: 1; }
.beta-user-actions summary {
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid #3c4755;
    border-radius: 9px;
    font-weight: 850;
    text-align: center;
}

.beta-reset-password-form { display: grid; gap: 10px; margin-top: 12px; }
.beta-empty-list { margin-top: 18px; }
.beta-cloud-boundary {
    border: 1px solid #2c5b85;
    background: #102131;
}

.beta-cloud-boundary > span { font-size: 2rem; }

@media (max-width: 1050px) {
    .beta-add-tester-form { grid-template-columns: 1fr 1fr; }
    .beta-add-tester-form .button { width: 100%; }
}

@media (max-width: 760px) {
    .beta-auth-page,
    .beta-testers-page { width: min(100% - 20px, 1180px); margin-top: 18px; }
    .beta-sign-in-card { padding: 23px 18px; }
    .beta-sign-in-brand { grid-template-columns: 68px 1fr; gap: 14px; }
    .beta-sign-in-brand img { width: 68px; border-radius: 13px; }
    .beta-testers-hero,
    .beta-security-card,
    .beta-cloud-boundary { grid-template-columns: 1fr; padding: 22px 18px; }
    .beta-testers-totals { width: 100%; }
    .beta-add-tester-form,
    .beta-user-grid { grid-template-columns: 1fr; }
    .beta-user-meta,
    .beta-user-actions { flex-direction: column; }
    .beta-user-actions > form,
    .beta-user-actions button { width: 100%; }
    .beta-user-card-heading { grid-template-columns: auto 1fr; }
    .beta-user-state { grid-column: 1 / -1; justify-self: start; }
    .beta-user-menu > span { display: none; }
}
