:root {
    --vs-bg: var(--color-bg-subtle);
    --vs-sidebar: var(--color-surface-1);
    --vs-surface: var(--color-surface-1);
    --vs-surface-soft: var(--color-surface-2);
    --vs-surface-hover: var(--color-surface-hover);
    --vs-border: var(--color-border-default);
    --vs-border-strong: var(--color-border-strong);
    --vs-text: var(--color-text-primary);
    --vs-muted: var(--color-text-tertiary);
    --vs-muted-strong: var(--color-text-secondary);
    --vs-accent: var(--color-accent);
    --vs-accent-hover: var(--color-accent-hover);
    --vs-accent-soft: var(--color-accent-soft);
    --vs-intelligence: var(--color-intelligence);
    --vs-intelligence-soft: var(--color-intelligence-soft);
    --vs-success: var(--color-success);
    --vs-warning: var(--color-warning);
    --vs-danger: var(--color-danger);
    --vs-radius: var(--radius-lg);
    --vs-control-radius: var(--radius-sm);
}

.vs-app,
.vs-app * {
    box-sizing: border-box;
}

.vs-app {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-width: 0;
    min-height: calc(100dvh - 68px);
    margin: -.5rem -.75rem 0;
    background-color: var(--vs-bg);
    background-image:
        radial-gradient(circle at 54% 0, var(--color-accent-soft), transparent 38%),
        radial-gradient(circle, rgb(243 246 252 / 9%) 0 .65px, transparent 1px),
        radial-gradient(circle, rgb(110 168 254 / 12%) 0 .8px, transparent 1.2px);
    background-position: center, 17px 29px, 79px 101px;
    background-size: 100% max(720px, 100dvh), 137px 173px, 211px 251px;
    color: var(--vs-text);
    font-family: var(--font-family-sans);
}

.vs-app button,
.vs-app input,
.vs-app textarea {
    font: inherit;
}

.vs-app a {
    color: inherit;
}

.vs-sidebar {
    position: sticky;
    top: 68px;
    align-self: start;
    height: calc(100dvh - 68px);
    min-width: 0;
    padding: 22px 14px;
    overflow-y: auto;
    border-right: 1px solid var(--vs-border);
    background: var(--vs-sidebar);
    scrollbar-width: thin;
    scrollbar-color: #303746 transparent;
}

.vs-sidebar-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 7px 20px;
}

.vs-product-mark {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid rgba(123, 108, 246, .28);
    border-radius: 10px;
    background: var(--vs-accent-soft);
    color: #b9b1ff;
    font-size: 1rem;
}

.vs-sidebar-head div:nth-child(2) {
    display: grid;
    min-width: 0;
    line-height: 1.1;
}

.vs-sidebar-head span {
    color: var(--vs-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vs-sidebar-head strong {
    margin-top: 4px;
    font-size: .97rem;
    letter-spacing: -.015em;
}

.vs-sidebar-close {
    display: grid;
    width: 34px;
    height: 34px;
    margin-left: auto;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--vs-muted-strong);
}

.vs-new-project,
.vs-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: var(--vs-accent);
    color: var(--color-text-inverse);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.vs-new-project {
    width: 100%;
    padding: 10px 14px;
    font-size: .88rem;
}

.vs-new-project:hover,
.vs-primary-button:hover {
    background: var(--vs-accent-hover);
}

.vs-new-project:active,
.vs-primary-button:active {
    transform: translateY(1px);
}

.vs-primary-button {
    min-height: 46px;
    padding: 11px 19px;
    cursor: pointer;
}

.vs-primary-button:disabled {
    background: var(--color-surface-3);
    color: var(--color-text-disabled);
    cursor: not-allowed;
    opacity: .78;
    transform: none;
}

.vs-projects {
    margin-top: 27px;
}

.vs-projects h2 {
    margin: 0 9px 10px;
    color: #717b8d;
    font-size: .69rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.vs-project-list {
    display: grid;
    gap: 5px;
}

.vs-projects-empty {
    padding: 14px 11px;
    color: var(--vs-muted);
    font-size: .78rem;
    line-height: 1.45;
    text-align: center;
}

.vs-projects-empty i {
    display: block;
    margin-bottom: 7px;
    color: #697386;
    font-size: 1.2rem;
}

.vs-projects-empty p {
    margin: 0;
}

.vs-auth-dialog {
    width: min(520px, calc(100vw - 28px));
    padding: 0;
    border: 1px solid var(--vs-border-strong);
    border-radius: var(--radius-lg);
    background: var(--color-surface-overlay);
    color: var(--vs-text);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .56);
}

.vs-auth-dialog::backdrop {
    background: rgba(3, 5, 9, .76);
    backdrop-filter: blur(5px);
}

.vs-auth-dialog-content {
    position: relative;
    display: grid;
    justify-items: center;
    padding: 30px;
    text-align: center;
}

.vs-auth-dialog-close {
    position: absolute;
    top: 13px;
    right: 13px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--vs-muted);
    cursor: pointer;
}

.vs-auth-dialog-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--color-intelligence) 32%, transparent);
    border-radius: var(--radius-md);
    background: var(--vs-intelligence-soft);
    color: var(--color-intelligence-hover);
    font-size: 1.25rem;
}

.vs-auth-dialog h2 {
    margin: 0;
    font-size: clamp(1.25rem, 4vw, 1.55rem);
}

.vs-auth-dialog p {
    margin: 12px 0 0;
    color: var(--vs-muted-strong);
    line-height: 1.6;
}

.vs-auth-dialog .vs-auth-storage-notice {
    padding: 10px 12px;
    border: 1px solid rgba(232, 186, 104, .28);
    border-radius: 10px;
    background: rgba(232, 186, 104, .08);
    color: #e8c98f;
    font-size: .84rem;
}

.vs-auth-dialog-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.vs-auth-dialog-actions .vs-secondary-button {
    justify-content: center;
}

.vs-auth-continue {
    margin-top: 15px;
    padding: 6px;
    border: 0;
    background: transparent;
    color: var(--vs-muted-strong);
    cursor: pointer;
}

@media (max-width: 430px) {
    .vs-auth-dialog-content {
        padding: 26px 18px 22px;
    }

    .vs-auth-dialog-actions {
        grid-template-columns: 1fr;
    }
}

.vs-project-item {
    display: grid;
    min-width: 0;
    gap: 7px;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}

.vs-project-item:hover {
    border-color: var(--vs-border);
    background: var(--vs-surface);
}

.vs-project-item.is-active {
    border-color: var(--color-border-accent);
    background: var(--color-surface-selected);
}

.vs-project-title {
    overflow: hidden;
    color: #e8ebf2;
    font-size: var(--text-sm);
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-project-meta {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    color: #747e90;
    font-size: var(--text-xs);
}

.vs-project-status {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-project-status::before {
    width: 4px;
    height: 4px;
    margin-right: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #697386;
    content: "";
}

.vs-project-status[data-status="completed"]::before,
.vs-project-status[data-status="paid"]::before {
    background: var(--vs-success);
}

.vs-project-status[data-status="preparing"]::before,
.vs-project-status[data-status="generating"]::before,
.vs-project-status[data-status="clips_ready"]::before,
.vs-project-status[data-status="assembling"]::before {
    background: var(--color-info);
}

.vs-project-status[data-status$="failed"]::before,
.vs-project-status[data-status="failed"]::before {
    background: var(--vs-danger);
}

.vs-projects-empty {
    padding: 25px 13px;
    border: 1px dashed var(--vs-border);
    border-radius: 11px;
    color: #697386;
    text-align: center;
}

.vs-projects-empty i {
    font-size: 1.15rem;
}

.vs-projects-empty p {
    margin: 8px 0 0;
    font-size: .76rem;
}

.vs-main {
    min-width: 0;
    padding: 44px 32px 80px;
    background: transparent;
}

.vs-main-inner {
    width: min(100%, 1040px);
    margin: 0 auto;
}

.vs-hero {
    display: flex;
    width: min(100%, 920px);
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto 28px;
}

.vs-eyebrow,
.vs-state-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--vs-intelligence);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.vs-hero h1 {
    margin: 0;
    color: var(--vs-text);
    font-size: clamp(var(--text-2xl), 2.6vw, var(--text-3xl));
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-heading);
}

.vs-hero p {
    max-width: 660px;
    margin: 12px 0 0;
    color: var(--vs-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.vs-status-pill,
.vs-ready-badge {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid var(--vs-border);
    border-radius: 999px;
    background: var(--vs-surface);
    color: var(--vs-muted-strong);
    font-size: .74rem;
    font-weight: 650;
}

.vs-status-pill > .vs-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7f899b;
}

.vs-status-pill[data-status="completed"] > .vs-status-dot,
.vs-status-pill[data-status="paid"] > .vs-status-dot {
    background: var(--vs-success);
}

.vs-status-pill[data-status="preparing"] > .vs-status-dot,
.vs-status-pill[data-status="generating"] > .vs-status-dot,
.vs-status-pill[data-status="clips_ready"] > .vs-status-dot,
.vs-status-pill[data-status="assembling"] > .vs-status-dot {
    background: #9186f5;
}

.vs-status-pill[data-status$="failed"] > .vs-status-dot,
.vs-status-pill[data-status="failed"] > .vs-status-dot {
    background: var(--vs-danger);
}

.vs-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 11px 14px;
    border: 1px solid rgba(98, 201, 149, .22);
    border-radius: 11px;
    background: rgba(98, 201, 149, .07);
    color: #b9e3ce;
    font-size: .84rem;
}

.vs-alert-error {
    border-color: rgba(239, 135, 144, .22);
    background: rgba(239, 135, 144, .07);
    color: #f1b9be;
}

.vs-composer,
.vs-state-card,
.vs-quote-card,
.vs-completed {
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius);
    background: var(--vs-surface);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

.vs-storage-card {
    display: grid;
    width: min(100%, 920px);
    min-height: 68px;
    box-sizing: border-box;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 12px;
    margin: 0 auto 14px;
    padding: 11px 16px;
    border: 1px solid var(--vs-border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-surface-1) 88%, transparent);
}

.vs-storage-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    background: var(--color-info-soft);
    color: var(--color-info);
    font-size: .95rem;
}

.vs-storage-copy h2 {
    margin: 0;
    color: var(--vs-text);
    font-size: .94rem;
    font-weight: 700;
}

.vs-storage-copy > p {
    margin: 2px 0 0;
    color: var(--vs-muted);
    font-size: .73rem;
    line-height: 1.35;
}

.vs-storage-action {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.vs-storage-status {
    color: var(--vs-muted);
    font-size: .74rem;
    font-weight: 650;
}

.vs-storage-status.is-enabled {
    color: #8ed9ad;
}

.vs-storage-switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex: 0 0 38px;
    padding: 0;
    border: 1px solid #4f596b;
    border-radius: 999px;
    background: #293140;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease;
}

.vs-storage-switch > span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #c2c8d1;
    transition: transform .16s ease, background-color .16s ease;
}

.vs-storage-switch[aria-checked="true"] {
    border-color: var(--color-accent);
    background: var(--color-accent-active);
}

.vs-storage-switch[aria-checked="true"] > span {
    background: #fff;
    transform: translateX(16px);
}

.vs-storage-switch:focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.vs-storage-switch:disabled {
    cursor: wait;
    opacity: .58;
}

.vs-storage-details {
    grid-column: 2 / -1;
    color: var(--vs-muted);
    font-size: .7rem;
}

.vs-storage-details summary {
    width: max-content;
    cursor: pointer;
    color: #aaa1ff;
}

.vs-storage-details-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    margin-top: 7px;
    line-height: 1.45;
}

.vs-storage-message {
    grid-column: 2 / -1;
    margin: 0;
    color: #f1b9be;
    font-size: .72rem;
    line-height: 1.35;
}

.vs-storage-message.is-success {
    color: #9bdbbc;
}

.vs-storage-message[hidden] {
    display: none;
}

.asset-item figcaption small {
    display: block;
    margin-top: 2px;
    color: var(--vs-muted);
    font-size: .64rem;
}

.vs-storage-expired {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px;
    color: var(--vs-muted-strong);
}

.vs-storage-expired i {
    color: var(--vs-danger);
    font-size: 1.35rem;
}

.vs-storage-expired p {
    margin: 0;
}

@media (max-width: 700px) {
    .vs-storage-card {
        min-height: 64px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px 10px;
        padding: 10px 12px;
    }

    .vs-storage-icon {
        display: none;
    }

    .vs-storage-action {
        grid-column: 2;
        grid-row: 1;
    }

    .vs-storage-details,
    .vs-storage-message {
        grid-column: 1 / -1;
    }

    .vs-storage-status {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

.vs-composer {
    width: min(100%, 920px);
    margin: 0 auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.vs-creation-intro {
    display: flex;
    min-height: 68px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.vs-rotating-heading {
    display: block;
    margin: 0;
    color: var(--vs-text);
    font-size: clamp(1.18rem, 2vw, 1.42rem);
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.vs-creation-intro p {
    margin: 6px 0 0;
    color: var(--vs-muted);
    font-size: .8rem;
    line-height: 1.45;
}

.vs-composer-prompt {
    position: relative;
    display: grid;
    min-width: 0;
    padding: 12px 16px 10px;
    border: var(--border-default);
    border-radius: var(--radius-md);
    background: var(--ai-composer-surface);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgb(255 255 255 / 3%);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.vs-composer-prompt:hover {
    border-color: var(--color-border-strong);
}

.vs-composer-prompt:focus-within {
    border-color: var(--color-border-accent);
    background: var(--color-surface-2);
    box-shadow: var(--shadow-focus);
}

.vs-section-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.vs-section-title label,
.vs-section-title h2 {
    display: block;
    margin: 0;
    color: var(--vs-text);
    font-size: .96rem;
    font-weight: 700;
    letter-spacing: -.015em;
}

.vs-section-title p {
    margin: 5px 0 0;
    color: var(--vs-muted);
    font-size: .79rem;
}

.vs-ai-badge {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    padding: 2px 0;
    color: var(--vs-intelligence);
    font-size: .72rem;
    white-space: nowrap;
}

.vs-ai-badge > span {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.vs-ai-badge strong {
    color: var(--color-intelligence-hover);
    font-size: .7rem;
    font-weight: 700;
}

.vs-ai-badge small {
    color: #747e90;
    font-size: .66rem;
}

.vs-composer textarea,
.clarification-form textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid var(--vs-border-strong);
    border-radius: var(--radius-md);
    outline: none;
    background: var(--color-bg-subtle);
    color: var(--vs-text);
    line-height: 1.55;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.vs-composer-prompt > textarea {
    height: 108px;
    min-height: 108px;
    max-height: 340px;
    padding: 8px 44px 46px 2px;
    overflow-y: hidden;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    font-size: .95rem;
    resize: none;
}

.vs-composer textarea::placeholder,
.clarification-form textarea::placeholder {
    color: #626c7e;
}

.vs-composer .vs-composer-prompt > textarea:focus,
.vs-composer .vs-composer-prompt > textarea:focus-visible {
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}

.vs-prompt-clear {
    position: absolute;
    z-index: 1;
    top: 11px;
    right: 11px;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #7f899a;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

.vs-prompt-clear[hidden] {
    display: none;
}

.vs-prompt-clear:hover {
    background: rgba(255, 255, 255, .07);
    color: #d7dce5;
}

.vs-prompt-clear:focus-visible {
    background: rgba(123, 108, 246, .11);
    color: #e2dfff;
}

.vs-prompt-clear span {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1;
}

.vs-voice-button {
    position: absolute;
    z-index: 2;
    right: 13px;
    bottom: 12px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .045);
    color: rgba(226, 232, 240, .82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .08s ease, opacity .16s ease;
}

.vs-voice-button:hover:not(:disabled) {
    border-color: rgba(148, 163, 184, .28);
    background: rgba(255, 255, 255, .085);
    color: #fff;
}

.vs-voice-button:active:not(:disabled) {
    transform: translateY(1px) scale(.98);
}

.vs-voice-button:focus-visible {
    outline: 0;
    border-color: rgba(147, 197, 253, .52);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .14), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.vs-voice-button:disabled {
    opacity: .38;
    cursor: not-allowed;
    box-shadow: none;
}

.vs-voice-button.recording {
    border-color: rgba(239, 68, 68, .55);
    background: rgba(239, 68, 68, .22);
    color: #fff;
}

.vs-voice-button.transcribing {
    background: rgba(59, 130, 246, .18);
    color: #fff;
}

.vs-voice-button.voice-error {
    border-color: rgba(248, 113, 113, .5);
    color: #fecaca;
}

.vs-voice-button .voice-icon,
.vs-voice-button .voice-icon svg {
    display: block;
    line-height: 0;
}

.vs-voice-button .voice-icon svg {
    width: 18px;
    height: 18px;
    transform: translateY(-1px);
}

.vs-voice-button .voice-stop-dot {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .16);
}

.vs-voice-button .voice-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, .28);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vsVoiceSpin .75s linear infinite;
}

.vs-voice-panel {
    position: absolute;
    z-index: 1;
    right: 56px;
    bottom: 15px;
    left: 16px;
    display: flex;
    min-width: 0;
    height: 28px;
    align-items: center;
    gap: 8px;
    color: #aeb8c8;
    font-size: .7rem;
}

.vs-voice-panel[hidden] {
    display: none;
}

.vs-voice-status {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-voice-wave {
    display: flex;
    height: 22px;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
}

.vs-voice-wave span {
    display: block;
    width: 2px;
    height: 7px;
    border-radius: 999px;
    background: rgba(226, 232, 240, .82);
    animation: vsVoiceWave 900ms ease-in-out infinite;
}

.vs-voice-wave span:nth-child(2), .vs-voice-wave span:nth-child(10) { animation-delay: .08s; }
.vs-voice-wave span:nth-child(3), .vs-voice-wave span:nth-child(9) { animation-delay: .16s; }
.vs-voice-wave span:nth-child(4), .vs-voice-wave span:nth-child(8) { animation-delay: .24s; }
.vs-voice-wave span:nth-child(5), .vs-voice-wave span:nth-child(7) { animation-delay: .32s; }
.vs-voice-wave span:nth-child(6) { animation-delay: .4s; }

@keyframes vsVoiceWave {
    0%, 100% { height: 7px; opacity: .45; }
    50% { height: 21px; opacity: 1; }
}

@keyframes vsVoiceSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .vs-voice-wave span,
    .vs-voice-button .voice-spinner { animation: none; }
}

.clarification-form textarea:focus {
    border-color: var(--color-border-accent);
    box-shadow: var(--shadow-focus);
}

.upload-zone {
    display: inline-flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 7px 10px 7px 8px;
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-sm);
    background: var(--color-surface-1);
    color: var(--vs-muted);
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease;
}

.upload-zone:hover,
.upload-zone:focus-within,
.upload-zone.is-dragover {
    border-color: var(--color-border-accent);
    background: var(--color-accent-soft);
}

.upload-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 8px;
    background: var(--color-accent-soft);
    color: var(--color-accent-hover);
    font-size: .95rem;
}

.upload-copy {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.upload-copy strong {
    color: #dfe3eb;
    font-size: .76rem;
}

.upload-copy small {
    color: #737d8f;
    font-size: .64rem;
    line-height: 1.35;
}

.upload-zone input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 112px));
    gap: 8px;
    margin: 0;
}

.asset-grid:empty {
    display: none;
}

.asset-item {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--vs-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-subtle);
}

.asset-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.asset-item figcaption {
    padding: 6px 7px;
    overflow: hidden;
    color: var(--vs-muted-strong);
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asset-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(7, 9, 13, .82);
    color: #fff;
    cursor: pointer;
}

.asset-remove > .bi::before {
    display: block;
}

.asset-remove:hover {
    background: #2a1117;
    color: #ffb5bb;
}

.vs-attachments {
    min-width: 0;
    margin-top: 10px;
    padding: 12px 14px 14px;
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-surface-1) 76%, transparent);
}

.vs-attachments:not(:has(.asset-item)) {
    display: none;
}

.vs-attachments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 9px;
}

.vs-attachments-heading h2 {
    margin: 0;
    color: #aeb6c5;
    font-size: .72rem;
    font-weight: 650;
}

.vs-attachments-content {
    display: grid;
    gap: 8px;
}

.vs-attachment-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px 12px;
    margin-top: 12px;
}

.vs-attachment-help {
    min-width: 120px;
    margin: 0;
    color: #747e90;
    font-size: .68rem;
    line-height: 1.4;
}

.vs-attachment-count {
    flex: 0 0 auto;
    color: #7f899a;
    font-size: .67rem;
    font-weight: 500;
    white-space: nowrap;
}

.vs-composer-toolbar {
    display: block;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 14px 16px;
    border: var(--border-default);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-surface-1) 90%, transparent);
}

.vs-settings-main-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    align-items: end;
    gap: 20px;
}

.vs-settings {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    gap: 22px;
}

.vs-settings fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.vs-settings legend {
    float: none;
    width: auto;
    margin: 0 0 7px;
    color: var(--vs-muted-strong);
    font-size: .75rem;
    font-weight: 650;
}

.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.choice-chip {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.choice-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-chip span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--vs-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-subtle);
    color: var(--vs-muted-strong);
    font-size: .77rem;
    font-weight: 650;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.choice-chip:hover span {
    border-color: var(--vs-border-strong);
    background: var(--vs-surface-hover);
}

.choice-chip input:checked + span {
    border-color: var(--color-border-accent);
    background: var(--color-surface-selected);
    color: var(--color-accent-hover);
    box-shadow: inset 0 0 0 1px rgb(110 168 254 / 9%);
}

.choice-chip input:focus-visible + span {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

.ratio-shape {
    display: inline-block;
    width: 13px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
}

.ratio-916 {
    width: 7px;
    height: 12px;
}

.ratio-11 {
    width: 10px;
    height: 10px;
}

.vs-composer-action {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
}

.vs-composer-action p {
    margin: 0;
    color: #727c8e;
    font-size: .68rem;
}

.vs-price-preview {
    display: grid;
    min-width: 190px;
    justify-items: end;
    gap: 2px;
    line-height: 1.2;
    text-align: right;
}

.vs-price-preview-label {
    color: var(--vs-muted-strong);
    font-size: .75rem;
    font-weight: 600;
}

.vs-price-preview-amount {
    color: var(--vs-text);
    font-size: 1.18rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.vs-price-preview-fallback {
    max-width: 230px;
    color: var(--vs-muted-strong);
    font-size: .75rem;
    font-weight: 500;
}

.vs-composer-action p i {
    margin-right: 5px;
}

.vs-composer-action .vs-primary-button {
    min-height: 44px;
    padding: 9px 16px;
    white-space: nowrap;
}

.vs-form-error {
    grid-column: 1 / -1;
}

.vs-moderation-message {
    display: grid;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    gap: 0.25rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(220, 53, 69, 0.28);
    border-radius: var(--radius-md);
    background: rgba(220, 53, 69, 0.08);
    color: var(--vs-text, #1f2937);
}

.vs-moderation-message[hidden] {
    display: none;
}

.vs-moderation-message span {
    color: var(--vs-muted, #667085);
}

.field-error {
    margin: 9px 0 0;
    color: #f1a1a8;
    font-size: .77rem;
}

.vs-state-card,
.vs-quote-card,
.vs-completed {
    margin-top: 18px;
}

.vs-state-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px 26px;
}

.vs-state-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 12px;
    background: var(--vs-accent-soft);
    color: #aca2ff;
    font-size: 1.1rem;
}

.vs-state-body {
    min-width: 0;
    flex: 1;
}

.vs-state-card h2,
.vs-quote-card h2,
.vs-completed h2 {
    margin: 0;
    color: var(--vs-text);
    font-size: 1.25rem;
    font-weight: 720;
    letter-spacing: -.025em;
}

.vs-state-card p,
.vs-quote-heading p {
    max-width: 710px;
    margin: 8px 0 0;
    color: var(--vs-muted);
    font-size: .85rem;
    line-height: 1.55;
}

.vs-state-error .vs-state-icon {
    background: rgba(239, 135, 144, .1);
    color: var(--vs-danger);
}

.vs-runtime-status,
.vs-payment-state {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--vs-border);
    border-radius: 10px;
    background: #0d1118;
    color: var(--vs-muted-strong);
    font-size: .8rem;
}

.vs-runtime-status[hidden],
.generation-progress[hidden],
.final-video-result[hidden],
.generation-start-form[hidden],
.completed-presentation[hidden],
.generation-active-indicator[hidden],
.generation-failure-indicator[hidden],
.vs-failure-action[hidden] {
    display: none !important;
}

.vs-runtime-status.is-failed {
    border-color: rgba(239, 135, 144, .2);
    color: #f0abb1;
}

.vs-spinner {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    border: 2px solid rgba(166, 156, 255, .23);
    border-top-color: #a69cff;
    border-radius: 50%;
    animation: vs-spin .8s linear infinite;
}

.vs-error-indicator {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border-radius: 50%;
    background: rgba(239, 135, 144, .12);
    color: var(--vs-danger);
    font-size: .75rem;
}

.producer-action-form {
    margin-top: 18px;
}

.producer-paid-resume-form {
    margin-top: 22px;
}

.vs-producer-state {
    position: relative;
    display: grid;
    box-sizing: border-box;
    width: min(100%, 920px);
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    margin: 24px auto 0;
    padding: 30px 24px;
    overflow: hidden;
    border: 1px solid rgba(140, 132, 255, .14);
    border-radius: var(--vs-radius);
    background:
        radial-gradient(circle at 4% 18%, rgba(124, 92, 255, .11), transparent 34%),
        linear-gradient(90deg, rgba(13, 17, 28, .42), rgba(10, 14, 22, .12));
}

.vs-producer-state.is-failed {
    border-color: rgba(239, 135, 144, .18);
    background: radial-gradient(circle at 4% 18%, rgba(239, 135, 144, .07), transparent 34%), #0b0f17;
}

.vs-producer-state.is-failed .vs-producer-orbit {
    border-color: rgba(239, 135, 144, .24);
    background: rgba(239, 135, 144, .08);
    color: #f0abb1;
}

.vs-producer-orbit {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(166, 156, 255, .25);
    border-radius: 50%;
    background: rgba(124, 92, 255, .08);
    color: #b8b0ff;
    box-shadow: 0 0 26px rgba(124, 92, 255, .14);
}

.vs-producer-state h2 {
    margin: 2px 0 0;
    color: var(--vs-text);
    font-size: clamp(1.22rem, 2vw, 1.48rem);
    font-weight: 720;
    letter-spacing: -.03em;
}

.vs-producer-copy {
    max-width: 650px;
    margin: 9px 0 0;
    color: var(--vs-muted);
    font-size: .86rem;
    line-height: 1.58;
}

.vs-producer-progress {
    position: relative;
    display: flex;
    max-width: 460px;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    padding: 11px 14px;
    overflow: hidden;
    border: 1px solid rgba(129, 140, 248, .12);
    border-radius: 10px;
    background: rgba(10, 14, 23, .52);
    color: #b7bfd0;
    font-size: .78rem;
}

.vs-producer-progress::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8b7cff, #60a5fa, transparent);
    content: "";
    transform: translateX(-100%);
    animation: vs-producer-shimmer 2.2s ease-in-out infinite;
}

.vs-producer-progress[hidden] {
    display: none;
}

.vs-producer-pulse {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #9c91ff;
    box-shadow: 0 0 0 0 rgba(156, 145, 255, .38);
    animation: vs-producer-pulse 1.8s ease-out infinite;
}

.vs-producer-progress.is-failed .vs-producer-pulse {
    background: var(--vs-danger);
    animation: none;
}

.vs-producer-note {
    margin: 10px 0 0;
    color: #737d90;
    font-size: .72rem;
}

.execution-runtime-status,
.execution-prepare-form {
    margin-right: 26px;
    margin-left: 26px;
}

.execution-prepare-form {
    margin-top: 14px;
    margin-bottom: 25px;
}

.clarification-form {
    display: grid;
    gap: 10px;
}

.clarification-form label {
    margin-top: 5px;
    color: #dce0e8;
    font-size: .81rem;
    font-weight: 650;
}

.clarification-form textarea {
    min-height: 84px;
    padding: 12px 13px;
}

.clarification-form .vs-primary-button {
    width: fit-content;
    margin-top: 5px;
}

.vs-quote-card {
    box-sizing: border-box;
    width: min(100%, 920px);
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    border-color: rgba(139, 132, 255, .13);
    background:
        radial-gradient(circle at 92% 0, rgba(59, 130, 246, .08), transparent 34%),
        rgba(10, 14, 22, .62);
    box-shadow: none;
}

.vs-quote-heading,
.vs-completed-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 26px;
}

.vs-quote-heading {
    align-items: center;
    padding-bottom: 21px;
}

.vs-quote-meta {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.vs-quote-meta span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 999px;
    background: rgba(15, 23, 42, .42);
    color: #cbd2df;
    font-size: .75rem;
    font-weight: 650;
    white-space: nowrap;
}

.vs-quote-meta i {
    color: #9187ed;
}

.vs-quote-checkout {
    display: grid;
    grid-template-columns: minmax(150px, .55fr) minmax(0, 1.45fr);
    align-items: center;
    border-top: 1px solid rgba(148, 163, 184, .09);
}

.vs-price {
    display: grid;
    flex: 0 0 auto;
    text-align: right;
}

.vs-quote-checkout .vs-price {
    padding: 21px 26px;
    text-align: left;
}

.vs-price span {
    color: var(--vs-muted);
    font-size: .7rem;
}

.vs-price strong {
    margin-top: 2px;
    color: #fff;
    font-size: 1.45rem;
    letter-spacing: -.035em;
}

.vs-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--vs-border);
    border-bottom: 1px solid var(--vs-border);
}

.vs-summary-grid > div {
    min-width: 0;
    padding: 17px 20px;
    border-right: 1px solid var(--vs-border);
}

.vs-summary-grid > div:last-child {
    border-right: 0;
}

.vs-summary-grid dt,
.vs-video-details dt {
    color: #747e90;
    font-size: .68rem;
    font-weight: 500;
}

.vs-summary-grid dd,
.vs-video-details dd {
    margin: 4px 0 0;
    overflow: hidden;
    color: #dce0e8;
    font-size: .82rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-payment-action,
.generation-start-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 26px;
}

.vs-quote-checkout .vs-payment-action {
    min-width: 0;
    border-left: 1px solid rgba(148, 163, 184, .09);
}

.vs-ai-notice {
    display: grid;
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    padding: 11px 12px;
    border: 1px solid rgba(139, 132, 255, .14);
    border-radius: 10px;
    background: rgba(123, 108, 246, .055);
}

.vs-ai-notice p {
    margin: 0;
    color: #b9c1cf;
    font-size: .82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.vs-ai-notice > i {
    margin-top: 2px;
    color: #8f87df;
    font-size: .88rem;
}

.vs-payment-action .vs-primary-button {
    min-height: 42px;
    padding: 9px 16px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.vs-payment-pending-stage {
    box-sizing: border-box;
    width: min(100%, 920px);
    margin: 28px auto 0;
    padding: 18px 0;
}

.vs-payment-pending-stage .vs-payment-state {
    max-width: 580px;
    margin: 0;
    border-color: rgba(129, 140, 248, .13);
    background: rgba(10, 14, 22, .48);
    box-shadow: 0 0 34px rgba(79, 70, 229, .055);
}

@keyframes vs-producer-shimmer {
    0% { transform: translateX(-100%); }
    55%, 100% { transform: translateX(100%); }
}

@keyframes vs-producer-pulse {
    0% { box-shadow: 0 0 0 0 rgba(156, 145, 255, .34); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(156, 145, 255, 0); }
}

.vs-payment-state {
    margin: 20px 26px;
}

.vs-payment-state > div,
.generation-start-form > div {
    display: grid;
    gap: 3px;
}

.vs-payment-state strong,
.generation-start-form strong {
    color: #e3e6ed;
    font-size: .85rem;
}

.vs-payment-state span,
.generation-start-form span {
    color: var(--vs-muted);
    font-size: .75rem;
}

.payment-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.payment-state-actions[hidden] {
    display: none;
}

.payment-state-actions form {
    margin: 0;
}

.payment-state-actions .vs-primary-button {
    min-height: 38px;
    padding: 9px 14px;
    font-size: .75rem;
}

.vs-generation-panel {
    box-sizing: border-box;
    width: min(100%, 920px);
    margin: 18px auto 0;
    overflow: hidden;
    border: 1px solid rgba(139, 132, 255, .15);
    border-radius: var(--vs-radius);
    background:
        radial-gradient(circle at 8% 0, rgba(100, 91, 255, .12), transparent 38%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, .08), transparent 42%),
        #0b0f17;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .2);
}

.generation-progress {
    padding: clamp(28px, 5vw, 46px);
}

.vs-progress-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.vs-progress-header > div {
    min-width: 0;
}

.vs-progress-header .generation-stage-title {
    margin: 5px 0 0;
    color: var(--vs-text);
    font-size: clamp(1.22rem, 3vw, 1.65rem);
    font-weight: 740;
    letter-spacing: -.03em;
    line-height: 1.18;
}

.vs-progress-header .generation-message {
    max-width: 610px;
    margin: 10px 0 0;
    color: var(--vs-muted);
    font-size: .86rem;
    line-height: 1.6;
}

.generation-background-helper {
    display: grid;
    gap: 3px;
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(139, 132, 255, .14);
    border-radius: 10px;
    background: rgba(124, 92, 255, .06);
    color: #c5bfff;
    font-size: .8rem;
    line-height: 1.5;
}

.generation-background-helper strong,
.generation-background-helper span {
    display: block;
}

.generation-background-helper span {
    color: #939caf;
}

.paid-resume-form,
.delivery-repair-form {
    margin-top: 22px;
}

.paid-resume-form[hidden],
.delivery-repair-form[hidden] {
    display: none;
}

.vs-progress-track {
    position: relative;
    margin-top: 28px;
}

.vs-progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    color: #aab2c1;
    font-size: .76rem;
}

.vs-progress-label strong {
    color: #d8d5ff;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
}

.generation-progress-bar {
    display: block;
    width: 100%;
    height: 5px;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #242a36;
    color: var(--vs-accent);
}

.generation-progress-bar::-webkit-progress-bar {
    border-radius: 999px;
    background: #242a36;
}

.generation-progress-bar::-webkit-progress-value {
    border-radius: 999px;
    background: linear-gradient(90deg, #7267f0, #8d83ff, #61a8ff);
    transition: width .35s ease;
}

.generation-progress-bar::-moz-progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, #7267f0, #8d83ff, #61a8ff);
    transition: width .35s ease;
}

.vs-progress-track.is-indeterminate::after {
    position: absolute;
    right: 65%;
    bottom: 0;
    left: 0;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7267f0, #61a8ff);
    animation: vs-assembly-progress 1.8s ease-in-out infinite alternate;
    content: "";
}

.generation-progress.is-failed {
    border-color: rgba(239, 135, 144, .16);
    background: radial-gradient(circle at 8% 0, rgba(239, 135, 144, .08), transparent 42%);
}

.vs-failure-action {
    width: fit-content;
    margin-top: 22px;
}

.vs-progress-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    color: #646e80;
    font-size: .7rem;
    list-style: none;
}

.vs-active-stage {
    display: flex;
    width: 58px;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
}

.vs-active-stage span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9188ff;
    animation: vs-life-pulse 1.35s ease-in-out infinite;
}

.vs-active-stage span:nth-child(2) { animation-delay: .16s; }
.vs-active-stage span:nth-child(3) { animation-delay: .32s; }

.vs-runtime-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 16px;
    color: #747f91;
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
}

.vs-connection-notice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 18px;
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(245, 190, 96, .2);
    border-radius: 11px;
    background: rgba(245, 190, 96, .055);
    color: #d8deea;
    font-size: .78rem;
    line-height: 1.5;
}

.vs-connection-notice > span {
    grid-column: 1;
    color: #98a2b3;
}

.vs-connection-retry {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    padding: 8px 11px;
    border: 1px solid rgba(245, 190, 96, .24);
    border-radius: 8px;
    background: rgba(245, 190, 96, .07);
    color: #f0d39c;
    cursor: pointer;
    font: inherit;
}

.vs-long-run-reassurance {
    display: flex;
    max-width: 650px;
    gap: 11px;
    margin-top: 18px;
    padding: 13px 14px;
    border: 1px solid rgba(139, 132, 255, .14);
    border-radius: 10px;
    background: rgba(124, 92, 255, .06);
    color: #bdb7ff;
}

.vs-long-run-reassurance div {
    display: grid;
    gap: 3px;
}

.vs-long-run-reassurance strong {
    color: #d8d5ff;
    font-size: .79rem;
}

.vs-long-run-reassurance span {
    color: #8f99aa;
    font-size: .74rem;
    line-height: 1.45;
}

@keyframes vs-life-pulse {
    0%, 100% { opacity: .25; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

.vs-progress-steps li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.vs-progress-steps li > span {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border: 1px solid #525b6b;
    border-radius: 50%;
}

.vs-progress-steps .is-complete {
    color: #9fa8b7;
}

.vs-progress-steps .is-complete > span {
    border-color: var(--vs-success);
    background: var(--vs-success);
}

.vs-progress-steps .is-current {
    color: #c5bfff;
}

.vs-progress-steps .is-current > span {
    border-color: #a69cff;
    background: #a69cff;
    box-shadow: 0 0 0 3px rgba(166, 156, 255, .12);
}

.vs-completed {
    width: min(100%, 920px);
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    border-color: rgba(98, 201, 149, .14);
    background:
        radial-gradient(circle at 90% 0, rgba(98, 201, 149, .08), transparent 32%),
        var(--vs-surface);
}

.vs-ready-badge {
    border-color: rgba(98, 201, 149, .2);
    background: rgba(98, 201, 149, .08);
    color: #9bdbbc;
}

.final-video-result {
    border-top: 1px solid var(--vs-border);
}

.final-video-player {
    display: block;
    width: 100%;
    max-height: min(68vh, 720px);
    object-fit: contain;
    background: #030406;
}

.vs-video-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 22px;
}

.vs-video-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #b7bfcd;
    font-size: .83rem;
    font-weight: 650;
}

.vs-completed-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vs-secondary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 11px;
    background: rgba(15, 23, 42, .5);
    color: #d9dee8 !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease;
}

.vs-secondary-button:hover {
    border-color: rgba(166, 156, 255, .42);
    background: rgba(100, 91, 255, .1);
}

.vs-mobile-bar,
.vs-sidebar-backdrop {
    display: none;
}

.vs-app :is(a, button, input, textarea, video):focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

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

@keyframes vs-assembly-progress {
    to {
        right: 0;
        left: 65%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-progress-track.is-indeterminate::after {
        animation: none;
        right: 35%;
    }

    .vs-active-stage span {
        animation: none;
        opacity: .75;
    }
}

@media (max-width: 1199.98px) {
    .vs-main {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 991.98px) {
    .vs-app {
        display: block;
        min-height: calc(100dvh - 64px);
    }

    .vs-sidebar {
        position: fixed;
        z-index: 1060;
        top: 0;
        left: 0;
        width: min(86vw, 300px);
        height: 100dvh;
        padding-top: 18px;
        border-right-color: var(--vs-border-strong);
        box-shadow: 18px 0 50px rgba(0, 0, 0, .42);
        transform: translateX(-102%);
        transition: transform .22s ease;
    }

    .sidebar-open .vs-sidebar {
        transform: translateX(0);
    }

    .vs-sidebar-backdrop {
        position: fixed;
        z-index: 1055;
        inset: 0;
        border: 0;
        background: rgba(0, 0, 0, .62);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

    .sidebar-open .vs-sidebar-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .vs-main {
        padding-top: 18px;
    }

    .vs-mobile-bar {
        display: flex;
        align-items: center;
        min-width: 0;
        gap: 12px;
        margin-bottom: 24px;
    }

    .sidebar-toggle {
        display: inline-flex;
        min-height: 38px;
        align-items: center;
        gap: 8px;
        padding: 7px 11px;
        border: 1px solid var(--vs-border);
        border-radius: 9px;
        background: var(--vs-surface);
        color: var(--vs-muted-strong);
        font-size: .78rem;
    }

    .vs-mobile-project {
        min-width: 0;
        overflow: hidden;
        color: #7d8798;
        font-size: .75rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

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

    .vs-summary-grid > div:nth-child(2) {
        border-right: 0;
    }

    .vs-summary-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--vs-border);
    }
}

@media (max-width: 767.98px) {
    .vs-settings-main-row {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 15px;
    }

    .vs-settings {
        flex-wrap: wrap;
        gap: 15px 22px;
    }

    .vs-composer-action {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .vs-price-preview {
        min-width: 0;
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .vs-app {
        margin-top: -.5rem;
    }

    .vs-main {
        padding: 16px 12px 55px;
    }

    .vs-mobile-bar {
        margin-bottom: 20px;
    }

    .vs-hero {
        display: grid;
        gap: 15px;
        margin-bottom: 22px;
    }

    .vs-hero h1 {
        font-size: var(--text-2xl);
    }

    .vs-hero p {
        font-size: .9rem;
        line-height: 1.55;
    }

    .vs-status-pill {
        width: fit-content;
    }

    .vs-creation-intro {
        display: grid;
        min-height: 112px;
        align-items: start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .vs-rotating-heading {
        min-height: 2.4em;
        font-size: 1.16rem;
    }

    .vs-creation-intro p {
        margin-top: 4px;
    }

    .vs-composer-prompt,
    .vs-attachments,
    .vs-composer-toolbar,
    .vs-state-card,
    .vs-quote-heading,
    .vs-completed-heading,
    .generation-progress {
        padding-right: 16px;
        padding-left: 16px;
    }

    .vs-composer-prompt {
        padding-top: 16px;
        padding-bottom: 12px;
    }

    .vs-composer-toolbar {
        padding-top: 14px;
        padding-bottom: 15px;
    }

    .vs-section-title {
        display: block;
    }

    .vs-ai-badge {
        margin-top: 0;
        white-space: normal;
    }

    .vs-ai-badge > span {
        flex-wrap: wrap;
    }

    .vs-composer-prompt > textarea {
        height: 126px;
        min-height: 104px;
    }

    .vs-attachment-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .upload-zone {
        max-width: 100%;
    }

    .vs-attachment-help {
        order: 3;
        width: 100%;
    }

    .asset-grid {
        grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    }

    .choice-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .choice-chip span {
        width: 100%;
        min-height: 44px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .vs-composer-action,
    .vs-payment-action,
    .generation-start-form,
    .paid-resume-form,
    .delivery-repair-form {
        align-items: stretch;
        flex-direction: column;
    }

    .vs-payment-action,
    .generation-start-form {
        padding: 16px;
    }

    .vs-payment-action {
        gap: 14px;
    }

    .vs-composer-action .vs-primary-button,
    .vs-payment-action .vs-primary-button,
    .generation-start-form .vs-primary-button,
    .paid-resume-form .vs-primary-button {
        width: 100%;
    }

    .delivery-repair-form .vs-primary-button {
        width: 100%;
    }

    .vs-state-card {
        display: grid;
    }

    .vs-producer-state {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        padding: 24px 4px;
    }

    .vs-producer-orbit {
        width: 32px;
        height: 32px;
    }

    .vs-producer-copy {
        font-size: .82rem;
    }

    .vs-producer-progress {
        width: 100%;
        padding-right: 11px;
        padding-left: 11px;
    }

    .vs-quote-heading,
    .vs-completed-heading {
        display: grid;
    }

    .vs-price {
        text-align: left;
    }

    .vs-quote-meta {
        justify-content: flex-start;
    }

    .vs-quote-checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-quote-checkout .vs-price {
        padding: 18px 16px 8px;
    }

    .vs-quote-checkout .vs-price strong {
        overflow-wrap: anywhere;
    }

    .vs-quote-checkout .vs-payment-action {
        border-left: 0;
    }

    .vs-ai-notice {
        width: 100%;
        box-sizing: border-box;
    }

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

    .vs-summary-grid > div {
        padding: 14px;
    }

    .vs-payment-state {
        margin: 16px;
    }

    .vs-payment-pending-stage {
        padding: 0;
    }

    .vs-payment-pending-stage .vs-payment-state {
        margin: 0;
    }

    .vs-progress-steps {
        grid-template-columns: 1fr;
    }

    .vs-connection-notice {
        grid-template-columns: 1fr;
    }

    .vs-connection-notice > span,
    .vs-connection-retry {
        grid-row: auto;
        grid-column: 1;
    }

    .vs-connection-retry {
        width: 100%;
        margin-top: 6px;
    }

    .vs-video-details {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
    }

    .vs-video-details dl {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .vs-video-details dl > div {
        min-width: 0;
    }

    .vs-video-details .vs-primary-button {
        width: 100%;
    }

    .vs-completed-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-completed-actions :is(.vs-primary-button, .vs-secondary-button),
    .vs-failure-action {
        width: 100%;
    }

    .final-video-player {
        max-height: 72vh;
    }
}

/* Video Studio shell: follows the proven AI Hub leftbar geometry without
   sharing its DOM or JavaScript. */
html.vs-auth-sync-pending body {
    visibility: hidden;
}

body.vs-page {
    --vs-sidebar-wide: 260px;
    --vs-sidebar-rail: 56px;
    --vs-sidebar-current: var(--vs-sidebar-wide);
    overflow-x: hidden;
    background: var(--vs-bg);
}

body.vs-page main > .container-fluid,
body.vs-page main > .container-fluid > .row,
body.vs-page #wrapper_main_menu_content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.vs-app {
    display: grid;
    grid-template-columns: var(--vs-sidebar-current) minmax(0, 1fr);
    min-height: calc(100dvh - 71px);
    margin: 0;
    transition: grid-template-columns .2s ease;
}

.vs-sidebar {
    position: fixed;
    z-index: 1035;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: var(--vs-sidebar-current);
    height: 100dvh;
    padding: 8px;
    flex-direction: column;
    overflow: hidden;
    border-right: var(--border-default);
    background-color: var(--vs-sidebar);
    background-image:
        radial-gradient(ellipse at 8% 4%, color-mix(in srgb, var(--color-accent) 9%, transparent), transparent 48%),
        radial-gradient(ellipse at 96% 28%, color-mix(in srgb, var(--color-intelligence) 7%, transparent), transparent 46%),
        radial-gradient(circle, color-mix(in srgb, var(--color-text-primary) 34%, transparent) 0 .75px, transparent 1.15px),
        radial-gradient(circle, color-mix(in srgb, var(--color-accent) 38%, transparent) 0 1px, transparent 1.55px),
        radial-gradient(circle, color-mix(in srgb, var(--color-intelligence) 24%, transparent) 0 .65px, transparent 1.2px),
        linear-gradient(180deg, rgb(255 255 255 / 1.5%), transparent 24%);
    background-position: center, center, 17px 29px, 79px 101px, 41px 67px, center;
    background-size: auto, auto, 109px 137px, 173px 211px, 251px 293px, auto;
    box-shadow: 16px 0 52px rgba(0, 0, 0, .3);
    transition: width .2s ease, transform .2s ease;
}

.vs-sidebar-head {
    min-height: 56px;
    padding: 5px 2px 9px;
    flex: 0 0 auto;
}

.vs-sidebar-logo {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    filter: none;
    transition: transform .16s ease;
}

.vs-sidebar-logo:hover {
    transform: translateY(-1px);
}

.vs-sidebar-logo img {
    display: block;
    width: 38px;
    height: 38px;
}

.vs-sidebar-close {
    position: relative;
    top: 6px;
    display: flex;
    width: 40px;
    height: 40px;
    margin-right: 2px;
    padding: 0;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-secondary);
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition:
        color var(--duration-fast) var(--ease-standard),
        background-color var(--duration-fast) var(--ease-standard),
        border-color var(--duration-fast) var(--ease-standard);
}

.vs-sidebar-close:hover {
    border-color: var(--color-border-subtle);
    background: var(--color-surface-raised);
    color: var(--color-text-primary);
}

.vs-sidebar-close:active {
    background: var(--color-surface-3);
    transform: translateY(1px);
}

.vs-app .vs-sidebar-close:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
}

.vs-collapse-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.vs-close-icon {
    display: none;
}

.vs-sidebar-nav {
    display: grid;
    width: 100%;
    gap: 4px;
    flex: 0 0 auto;
}

.vs-new-project,
.vs-ai-chat-link {
    display: inline-flex;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-secondary);
    box-shadow: none;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.vs-sidebar-nav a > i {
    width: 18px;
    flex: 0 0 18px;
    text-align: center;
}

.vs-sidebar-nav a > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-new-project:hover,
.vs-ai-chat-link:hover {
    border-color: var(--color-border-subtle);
    background: var(--color-surface-raised);
    color: var(--color-text-primary);
}

.vs-new-project.is-active {
    border-color: var(--color-border-accent);
    background: var(--color-accent-soft);
    color: var(--color-text-primary);
}

.vs-sidebar-nav a:active {
    transform: translateY(1px);
}

.vs-projects {
    display: flex;
    min-height: 0;
    margin-top: 18px;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
}

.vs-projects h2 {
    flex: 0 0 auto;
    margin: 4px 7px 10px;
    color: var(--color-text-tertiary);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-label);
    text-transform: none;
}

.vs-project-list {
    display: block;
    min-height: 0;
    padding: 0 1px 10px;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(148, 163, 184, .24) transparent;
    scrollbar-width: thin;
}

.vs-project-item {
    margin-bottom: 4px;
    gap: 4px;
    padding: 8px 10px 8px 13px;
    border-radius: var(--radius-sm);
}

.vs-project-row {
    position: relative;
    min-width: 0;
    margin-bottom: 4px;
}

.vs-project-row .vs-project-item {
    width: 100%;
    margin-bottom: 0;
    padding-right: 42px;
}

.vs-project-delete {
    position: absolute;
    z-index: 2;
    top: 7px;
    right: 7px;
    display: inline-flex;
    width: 28px;
    height: 28px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: rgba(203, 213, 225, .48);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: opacity .14s ease, color .14s ease, background-color .14s ease, border-color .14s ease;
}

.vs-project-row:hover .vs-project-delete,
.vs-project-row:focus-within .vs-project-delete {
    opacity: 1;
    pointer-events: auto;
}

.vs-project-delete:hover,
.vs-project-delete:focus-visible {
    border-color: rgba(248, 113, 113, .26);
    outline: none;
    background: rgba(248, 113, 113, .13);
    color: #fecaca;
}

.vs-delete-dialog {
    width: min(430px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--radius-lg);
    background: var(--color-surface-overlay);
    color: #eef3ff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.vs-delete-dialog::backdrop {
    background: rgba(2, 6, 14, .72);
    backdrop-filter: blur(3px);
}

.vs-delete-dialog form {
    padding: 24px;
}

.vs-delete-dialog h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.vs-delete-dialog p {
    margin: 0;
    color: rgba(226, 232, 240, .76);
    line-height: 1.5;
}

.vs-delete-dialog .vs-delete-payment-note {
    margin-top: 10px;
    color: #fbbf24;
}

.vs-delete-dialog .vs-delete-error {
    margin-top: 12px;
    color: #fca5a5;
}

.vs-delete-actions {
    display: flex;
    margin-top: 22px;
    gap: 10px;
    justify-content: flex-end;
}

.vs-delete-actions button {
    min-height: 40px;
    padding: 8px 15px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: var(--radius-md);
    background: rgba(148, 163, 184, .08);
    color: #eef3ff;
    cursor: pointer;
}

.vs-delete-actions .vs-dialog-confirm {
    border-color: rgba(248, 113, 113, .35);
    background: rgba(220, 38, 38, .82);
}

.vs-delete-actions button:disabled {
    opacity: .6;
    cursor: wait;
}

@media (hover: none), (pointer: coarse) {
    .vs-project-delete {
        opacity: 1;
        pointer-events: auto;
    }

    .vs-prompt-clear,
    .vs-voice-button,
    .asset-remove {
        min-width: 44px;
        min-height: 44px;
    }

    .vs-new-project,
    .vs-ai-chat-link {
        min-height: 44px;
    }

    .vs-project-delete {
        width: 40px;
        height: 40px;
        top: 1px;
        right: 1px;
    }

    .vs-project-row .vs-project-item {
        padding-right: 46px;
    }

    .choice-chip span {
        min-height: 44px;
    }
}

.vs-project-item:hover {
    border-color: transparent;
    background: var(--color-surface-2);
}

.vs-project-item.is-active {
    border-color: var(--color-border-accent);
    background: var(--color-surface-selected);
    box-shadow: inset 2px 0 0 var(--color-accent);
}

.vs-project-title,
.vs-project-meta,
.vs-project-status {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-main {
    grid-column: 2;
}

html.vs-noscroll,
body.vs-noscroll {
    height: 100%;
    overflow: hidden !important;
}

@media (min-width: 992px) {
    html.vs-sidebar-pref-collapsed body.vs-page,
    body.vs-page.vs-sidebar-collapsed {
        --vs-sidebar-current: var(--vs-sidebar-rail);
    }

    body.vs-page #transparent-menu-background {
        left: var(--vs-sidebar-current) !important;
        width: calc(100% - var(--vs-sidebar-current)) !important;
        transition: left .2s ease, width .2s ease;
    }

    body.vs-page #header_id {
        width: calc(100% - var(--vs-sidebar-current)) !important;
        margin-left: var(--vs-sidebar-current) !important;
        transition: margin-left .2s ease, width .2s ease;
    }

    body.vs-page #nav_id_menu .navbar-brand {
        display: none !important;
    }

    body.vs-sidebar-collapsed .vs-sidebar-head {
        justify-content: center;
    }

    body.vs-sidebar-collapsed .vs-sidebar-close {
        width: 39px;
        margin-right: 0;
        margin-left: 0;
        flex-basis: 39px;
    }

    body.vs-sidebar-collapsed .vs-sidebar-logo,
    body.vs-sidebar-collapsed .vs-new-project span,
    body.vs-sidebar-collapsed .vs-ai-chat-link span,
    body.vs-sidebar-collapsed .vs-projects {
        display: none;
    }

    body.vs-sidebar-collapsed .vs-new-project,
    body.vs-sidebar-collapsed .vs-ai-chat-link {
        width: 40px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    body.vs-page {
        --vs-sidebar-current: 0px;
    }

    .vs-app {
        display: block;
        min-height: calc(100dvh - 72px);
    }

    .vs-sidebar {
        z-index: 1060;
        width: min(86vw, 292px);
        max-width: 100vw;
        transform: translateX(-101%);
    }

    .sidebar-open .vs-sidebar {
        transform: translateX(0);
    }

    .vs-sidebar-backdrop {
        position: fixed;
        z-index: 1055;
        inset: 0;
        display: block;
        visibility: hidden;
        width: 100%;
        border: 0;
        background: rgba(0, 0, 0, .58);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .sidebar-open .vs-sidebar-backdrop {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .vs-collapse-icon {
        display: none;
    }

    .vs-close-icon {
        display: inline-block;
    }

    .vs-main {
        grid-column: auto;
    }

    #ai-left-toggle-slot .sidebar-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, .09);
        border-radius: var(--radius-md);
        background: var(--color-surface-2);
        color: var(--color-text-primary);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-app *,
    .vs-app *::before,
    .vs-app *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
