.video-production-page {
    --vp-bg: rgba(13, 21, 30, 0.82);
    --vp-bg-strong: rgba(10, 17, 25, 0.96);
    --vp-bg-soft: rgba(255, 255, 255, 0.035);
    --vp-border: rgba(250, 227, 217, 0.13);
    --vp-border-strong: rgba(97, 192, 191, 0.38);
    --vp-text: #f7f8f8;
    --vp-muted: rgba(232, 238, 239, 0.66);
    --vp-teal: var(--vsn-teal, #61c0bf);
    --vp-peach: var(--vsn-peach, #fae3d9);
    --vp-success: #72d7a4;
    --vp-warning: #f0c775;
    --vp-danger: #f38f91;
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
    color: var(--vp-text);
}

.video-production-page *,
.video-production-page *::before,
.video-production-page *::after {
    box-sizing: border-box;
}

.video-production-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.video-production-header__intro {
    max-width: 720px;
}

.video-production-header h1 {
    margin: 0.65rem 0 0.6rem;
    color: var(--vp-text);
}

.video-production-header p {
    max-width: 62ch;
    margin: 0;
}

.video-production-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.video-production-button,
.video-production-icon-button,
.video-production-metric-card,
.video-production-workflow-card,
.video-production-source-switch button,
.video-production-filter-bar button,
.video-production-request-card,
.video-production-artifact-card {
    font: inherit;
}

.video-production-button {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    padding: 0.68rem 1rem;
    background: var(--vp-teal);
    color: #082523;
    box-shadow: 0 14px 28px -20px rgba(97, 192, 191, 0.9);
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.video-production-button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #79cecd;
}

.video-production-button--ghost {
    border-color: rgba(250, 227, 217, 0.22);
    background: rgba(255, 255, 255, 0.025);
    color: var(--vp-peach);
    box-shadow: none;
}

.video-production-button--ghost:hover:not(:disabled) {
    border-color: rgba(250, 227, 217, 0.46);
    background: rgba(250, 227, 217, 0.075);
}

.video-production-button--danger-ghost {
    border-color: rgba(243, 143, 145, 0.38);
    background: rgba(243, 143, 145, 0.08);
    color: #ffc8c9;
    box-shadow: none;
}

.video-production-button--danger-ghost:hover:not(:disabled) {
    border-color: rgba(243, 143, 145, 0.68);
    background: rgba(243, 143, 145, 0.14);
}

.video-production-button--large {
    min-width: 11.5rem;
    min-height: 3rem;
    padding-inline: 1.35rem;
}

.video-production-button--small {
    min-height: 2.2rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
}

.video-production-button:disabled,
.video-production-icon-button:disabled,
.video-production-metric-card:disabled,
.video-production-workflow-card:disabled,
.video-production-source-switch button:disabled,
.video-production-target input:disabled + strong,
.video-production-page input:disabled,
.video-production-page select:disabled,
.video-production-page textarea:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.video-production-button:focus-visible,
.video-production-icon-button:focus-visible,
.video-production-metric-card:focus-visible,
.video-production-workflow-card:focus-visible,
.video-production-source-switch button:focus-visible,
.video-production-filter-bar button:focus-visible,
.video-production-request-card:focus-visible,
.video-production-artifact-card:focus-visible,
.video-production-page input:focus-visible,
.video-production-page select:focus-visible,
.video-production-page textarea:focus-visible,
.video-production-support-details summary:focus-visible {
    outline: 3px solid rgba(97, 192, 191, 0.34);
    outline-offset: 2px;
}

.video-production-live {
    display: inline-flex;
    min-height: 2.2rem;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--vp-border);
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    background: rgba(255, 255, 255, 0.025);
    color: var(--vp-muted);
    font-size: 0.78rem;
    white-space: nowrap;
}

.video-production-live > span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--vp-danger);
    box-shadow: 0 0 0 0 rgba(243, 143, 145, 0.35);
}

.video-production-live--connected > span {
    background: var(--vp-success);
    animation: video-production-live-pulse 2.2s ease-out infinite;
}

.video-production-live--connecting > span {
    background: var(--vp-warning);
}

@keyframes video-production-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(114, 215, 164, 0.42); }
    65%, 100% { box-shadow: 0 0 0 0.45rem rgba(114, 215, 164, 0); }
}

.video-production-message,
.video-production-empty {
    border: 1px solid var(--vp-border);
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.045);
    color: var(--vp-peach);
}

.video-production-message {
    margin-bottom: 1rem;
}

.video-production-message--success {
    border-color: rgba(114, 215, 164, 0.34);
    background: rgba(114, 215, 164, 0.1);
    color: #d9ffea;
}

.video-production-message--error {
    border-color: rgba(243, 143, 145, 0.38);
    background: rgba(243, 143, 145, 0.11);
    color: #ffd7d8;
}

.video-production-empty {
    display: grid;
    gap: 0.32rem;
    color: var(--vp-muted);
}

.video-production-empty strong {
    color: var(--vp-text);
}

.video-production-empty--loading {
    min-height: 13rem;
    place-content: center;
    justify-items: center;
}

.video-production-empty--compact {
    min-height: 8.5rem;
    place-content: center;
    text-align: center;
}

.video-production-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--vp-teal);
    border-radius: 50%;
    animation: video-production-spin 800ms linear infinite;
}

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

.video-production-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.video-production-metric-card {
    display: grid;
    min-height: 8.2rem;
    align-content: start;
    gap: 0.25rem;
    border: 1px solid var(--vp-border);
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    color: var(--vp-text);
    text-align: left;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.video-production-metric-card:hover,
.video-production-metric-card.is-selected {
    border-color: var(--vp-border-strong);
    background: linear-gradient(145deg, rgba(97, 192, 191, 0.12), rgba(255, 255, 255, 0.025));
    transform: translateY(-1px);
}

.video-production-metric-card > span {
    color: var(--vp-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.video-production-metric-card > strong {
    margin-top: 0.25rem;
    color: var(--vp-text);
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    line-height: 1;
}

.video-production-metric-card > small {
    margin-top: auto;
    color: var(--vp-muted);
    line-height: 1.35;
}

.video-production-metric-card--ready > strong {
    color: #a7f0c6;
}

.video-production-metric-card--attention > strong {
    color: #ffc0c1;
}

.video-production-create-panel,
.video-production-panel {
    border: 1px solid var(--vp-border);
    background: linear-gradient(180deg, var(--vp-bg), rgba(10, 17, 25, 0.76));
    box-shadow: 0 34px 70px -54px rgba(0, 0, 0, 0.92);
}

.video-production-create-panel {
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
    border-color: rgba(97, 192, 191, 0.25);
    border-radius: 1.15rem;
}

.video-production-create-panel::before {
    position: absolute;
    top: -1px;
    right: 15%;
    left: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(97, 192, 191, 0.72), transparent);
    content: "";
}

.video-production-create-panel__header,
.video-production-create-panel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.35rem;
}

.video-production-create-panel__header {
    border-bottom: 1px solid var(--vp-border);
}

.video-production-create-panel__header h2,
.video-production-panel__header h2,
.video-production-detail-header h2,
.video-production-detail-empty h2,
.video-production-status-overview h3,
.video-production-section-heading h3 {
    margin: 0;
    color: var(--vp-text);
}

.video-production-create-panel__header h2 {
    margin-top: 0.28rem;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
}

.video-production-create-panel__header p {
    margin: 0.35rem 0 0;
    color: var(--vp-muted);
}

.video-production-eyebrow {
    color: var(--vp-teal);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-production-icon-button {
    display: grid;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid var(--vp-border);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.025);
    color: var(--vp-peach);
    font-size: 1.45rem;
    cursor: pointer;
}

.video-production-icon-button:hover:not(:disabled) {
    border-color: rgba(250, 227, 217, 0.36);
    background: rgba(250, 227, 217, 0.07);
}
