.video-production-workspace {
    display: grid;
    grid-template-columns: minmax(18rem, 23rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.video-production-panel {
    min-width: 0;
    border-radius: 1.05rem;
}

.video-production-request-panel {
    position: sticky;
    top: 6.25rem;
    display: flex;
    max-height: calc(100vh - 7.5rem);
    flex-direction: column;
    overflow: hidden;
}

.video-production-panel__header,
.video-production-detail-header,
.video-production-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.video-production-panel__header {
    padding: 1.1rem 1.1rem 0.85rem;
}

.video-production-panel__header h2 {
    margin-top: 0.25rem;
    font-size: 1.2rem;
}

.video-production-count {
    border: 1px solid var(--vp-border);
    border-radius: 999px;
    padding: 0.3rem 0.55rem;
    color: var(--vp-muted);
    font-size: 0.7rem;
    white-space: nowrap;
}

.video-production-filter-bar {
    margin: 0 1.1rem 0.75rem;
}

.video-production-filter-bar button {
    min-width: 0;
    padding-inline: 0.32rem;
    font-size: 0.67rem;
    white-space: nowrap;
}

.video-production-request-list {
    display: grid;
    min-height: 0;
    gap: 0.5rem;
    overflow-y: auto;
    padding: 0 0.85rem 0.9rem 1.1rem;
    scrollbar-color: rgba(97, 192, 191, 0.42) rgba(255, 255, 255, 0.035);
    scrollbar-width: thin;
}

.video-production-request-card {
    display: grid;
    gap: 0.42rem;
    width: 100%;
    border: 1px solid var(--vp-border);
    border-radius: 0.85rem;
    padding: 0.82rem;
    background: rgba(255, 255, 255, 0.025);
    color: var(--vp-text);
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.video-production-request-card:hover,
.video-production-request-card.is-selected {
    border-color: rgba(97, 192, 191, 0.48);
    background: rgba(97, 192, 191, 0.075);
}

.video-production-request-card:hover {
    transform: translateX(1px);
}

.video-production-request-card.is-selected {
    box-shadow: 3px 0 0 var(--vp-teal) inset;
}

.video-production-request-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.video-production-request-card__topline time {
    color: var(--vp-muted);
    font-size: 0.68rem;
    white-space: nowrap;
}

.video-production-request-card > strong {
    overflow: hidden;
    color: var(--vp-text);
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-production-request-card__source,
.video-production-request-card > small {
    overflow: hidden;
    color: var(--vp-muted);
    font-size: 0.73rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-production-status-pill {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border: 1px solid rgba(97, 192, 191, 0.28);
    border-radius: 999px;
    padding: 0.25rem 0.52rem;
    background: rgba(97, 192, 191, 0.1);
    color: #b7efec;
    font-size: 0.68rem;
    font-weight: 750;
    white-space: nowrap;
}

.video-production-status-pill--ready {
    border-color: rgba(114, 215, 164, 0.32);
    background: rgba(114, 215, 164, 0.11);
    color: #bff5d5;
}

.video-production-status-pill--attention {
    border-color: rgba(243, 143, 145, 0.34);
    background: rgba(243, 143, 145, 0.12);
    color: #ffc7c8;
}

.video-production-status-pill--cancelled,
.video-production-status-pill--cancelling {
    border-color: rgba(232, 238, 239, 0.18);
    background: rgba(232, 238, 239, 0.07);
    color: var(--vp-muted);
}

.video-production-mini-progress,
.video-production-progress-bar {
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
}

.video-production-mini-progress {
    height: 0.28rem;
}

.video-production-mini-progress > span,
.video-production-progress-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--vp-teal), var(--vp-success));
    transition: width 280ms ease;
}

.video-production-detail-panel {
    min-height: 38rem;
    padding: 1.25rem;
}

.video-production-detail-empty {
    display: grid;
    min-height: 34rem;
    place-content: center;
    justify-items: center;
    gap: 0.6rem;
    text-align: center;
}

.video-production-detail-empty > span {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    place-items: center;
    border: 1px solid rgba(97, 192, 191, 0.28);
    border-radius: 50%;
    background: rgba(97, 192, 191, 0.08);
    color: var(--vp-teal);
}

.video-production-detail-empty p {
    max-width: 42ch;
    margin: 0 0 0.45rem;
    color: var(--vp-muted);
}

.video-production-detail-header {
    align-items: center;
    margin-bottom: 1rem;
}

.video-production-detail-header h2 {
    margin-top: 0.5rem;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.video-production-detail-header p {
    margin: 0.3rem 0 0;
    color: var(--vp-muted);
    font-size: 0.83rem;
}

.video-production-status-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1.2rem;
    border: 1px solid rgba(97, 192, 191, 0.24);
    border-radius: 0.95rem;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(97, 192, 191, 0.1), rgba(255, 255, 255, 0.025));
}

.video-production-status-overview--ready {
    border-color: rgba(114, 215, 164, 0.28);
    background: linear-gradient(145deg, rgba(114, 215, 164, 0.11), rgba(255, 255, 255, 0.02));
}

.video-production-status-overview--attention {
    border-color: rgba(243, 143, 145, 0.3);
    background: linear-gradient(145deg, rgba(243, 143, 145, 0.11), rgba(255, 255, 255, 0.02));
}

.video-production-status-overview--cancelled,
.video-production-status-overview--cancelling {
    border-color: var(--vp-border);
    background: rgba(255, 255, 255, 0.035);
}

.video-production-status-overview__copy > span {
    color: var(--vp-muted);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.video-production-status-overview__copy h3 {
    margin-top: 0.25rem;
    font-size: 1.12rem;
}

.video-production-status-overview__copy p {
    max-width: 65ch;
    margin: 0.32rem 0 0;
    color: var(--vp-muted);
    line-height: 1.48;
}

.video-production-status-overview__progress {
    display: grid;
    align-content: center;
    justify-items: end;
}

.video-production-status-overview__progress strong {
    color: var(--vp-text);
    font-size: 1.55rem;
}

.video-production-status-overview__progress span {
    color: var(--vp-muted);
    font-size: 0.7rem;
}

.video-production-progress-bar {
    grid-column: 1 / -1;
    height: 0.48rem;
}

.video-production-detail-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.video-production-detail-metrics article {
    display: grid;
    gap: 0.28rem;
    border: 1px solid var(--vp-border);
    border-radius: 0.78rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.025);
}

.video-production-detail-metrics span {
    color: var(--vp-muted);
    font-size: 0.7rem;
}

.video-production-detail-metrics strong {
    overflow: hidden;
    color: var(--vp-text);
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-production-attention-card {
    display: grid;
    gap: 0.28rem;
    margin-top: 0.8rem;
    border: 1px solid rgba(243, 143, 145, 0.32);
    border-radius: 0.8rem;
    padding: 0.85rem;
    background: rgba(243, 143, 145, 0.09);
    color: #ffd0d1;
}

.video-production-attention-card span {
    color: var(--vp-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.video-production-social-progress {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.8rem;
    border: 1px solid var(--vp-border);
    border-radius: 0.8rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.025);
}

.video-production-social-progress > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.video-production-social-progress span {
    color: var(--vp-muted);
}

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

.video-production-social-progress__link {
    width: max-content;
    margin-top: 0.15rem;
}

.video-production-detail-section {
    margin-top: 1.3rem;
}

.video-production-section-heading {
    align-items: flex-end;
    margin-bottom: 0.72rem;
}

.video-production-section-heading h3 {
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.video-production-section-heading > small {
    color: var(--vp-muted);
    font-size: 0.74rem;
    text-align: right;
}

.video-production-artifact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.video-production-artifact-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    border: 1px solid var(--vp-border);
    border-radius: 0.82rem;
    padding: 0.78rem;
    background: rgba(255, 255, 255, 0.025);
    color: var(--vp-text);
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.video-production-artifact-card:hover {
    border-color: rgba(97, 192, 191, 0.48);
    background: rgba(97, 192, 191, 0.07);
    transform: translateY(-1px);
}

.video-production-artifact-card__icon {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: 0.65rem;
    background: rgba(97, 192, 191, 0.12);
    color: var(--vp-teal);
    font-size: 0.72rem;
    font-weight: 800;
}

.video-production-artifact-card__copy {
    display: grid;
    min-width: 0;
    gap: 0.15rem;
}

.video-production-artifact-card__copy strong,
.video-production-artifact-card__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-production-artifact-card__copy strong {
    color: var(--vp-text);
    font-size: 0.82rem;
}

.video-production-artifact-card__copy small {
    color: var(--vp-muted);
    font-size: 0.7rem;
}

.video-production-artifact-card__action {
    color: var(--vp-teal);
    font-size: 0.7rem;
    font-weight: 750;
}

.video-production-stage-list {
    display: grid;
    gap: 0.45rem;
}

.video-production-stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid var(--vp-border);
    border-radius: 0.75rem;
    padding: 0.72rem 0.78rem;
    background: rgba(255, 255, 255, 0.02);
}

.video-production-stage__marker {
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border: 1px solid rgba(232, 238, 239, 0.17);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--vp-muted);
    font-size: 0.72rem;
    font-weight: 850;
}

.video-production-stage--running .video-production-stage__marker {
    border-color: rgba(97, 192, 191, 0.58);
    background: var(--vp-teal);
    box-shadow: 0 0 0 0 rgba(97, 192, 191, 0.34);
    animation: video-production-stage-pulse 1.7s ease-out infinite;
}

.video-production-stage--completed .video-production-stage__marker {
    border-color: rgba(114, 215, 164, 0.6);
    background: rgba(114, 215, 164, 0.15);
    color: #bff5d5;
}

.video-production-stage--failed .video-production-stage__marker {
    border-color: rgba(243, 143, 145, 0.58);
    background: rgba(243, 143, 145, 0.13);
    color: #ffc7c8;
}

.video-production-stage--cancelled .video-production-stage__marker,
.video-production-stage--skipped .video-production-stage__marker {
    color: var(--vp-muted);
}

@keyframes video-production-stage-pulse {
    0% { box-shadow: 0 0 0 0 rgba(97, 192, 191, 0.34); }
    70%, 100% { box-shadow: 0 0 0 0.42rem rgba(97, 192, 191, 0); }
}

.video-production-stage > div {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
}

.video-production-stage strong {
    color: var(--vp-text);
    font-size: 0.82rem;
}

.video-production-stage span,
.video-production-stage small {
    color: var(--vp-muted);
    font-size: 0.7rem;
}

.video-production-stage > small {
    text-align: right;
    white-space: nowrap;
}

.video-production-support-details {
    margin-top: 1.15rem;
    border-top: 1px solid var(--vp-border);
    padding-top: 0.85rem;
}

.video-production-support-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--vp-muted);
    font-size: 0.77rem;
    font-weight: 700;
}

.video-production-support-details > div {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
    border: 1px solid var(--vp-border);
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
}

.video-production-support-details span {
    display: grid;
    min-width: 0;
    gap: 0.25rem;
}

.video-production-support-details small {
    color: var(--vp-muted);
}

.video-production-support-details code {
    overflow: hidden;
    color: var(--vp-peach);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .video-production-create-grid {
        grid-template-columns: 1fr;
    }

    .video-production-form-step--workflow {
        grid-row: auto;
        border-right: 0;
        border-bottom: 1px solid var(--vp-border);
    }

    .video-production-form-step--social {
        border-top: 1px solid var(--vp-border);
    }

    .video-production-workspace {
        grid-template-columns: minmax(17rem, 20rem) minmax(0, 1fr);
    }

    .video-production-artifact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .video-production-page {
        padding-top: 6.4rem;
    }

    .video-production-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .video-production-header__actions {
        width: 100%;
        justify-content: flex-start;
    }

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

    .video-production-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-production-workspace {
        grid-template-columns: 1fr;
    }

    .video-production-request-panel {
        position: static;
        max-height: none;
    }

    .video-production-request-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 27rem;
    }
}

@media (max-width: 640px) {
    .video-production-page {
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .video-production-header__actions,
    .video-production-create-panel__header,
    .video-production-create-panel__footer,
    .video-production-detail-header,
    .video-production-section-heading,
    .video-production-support-details > div {
        align-items: stretch;
        flex-direction: column;
    }

    .video-production-header__actions .video-production-button,
    .video-production-create-panel__footer .video-production-button,
    .video-production-detail-header .video-production-button {
        width: 100%;
    }

    .video-production-live {
        width: max-content;
    }

    .video-production-summary,
    .video-production-workflow-grid,
    .video-production-target-grid,
    .video-production-form-row,
    .video-production-detail-metrics,
    .video-production-request-list {
        grid-template-columns: 1fr;
    }

    .video-production-metric-card {
        min-height: 6.8rem;
    }

    .video-production-create-panel__header,
    .video-production-form-step,
    .video-production-create-panel__footer,
    .video-production-upload-progress {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .video-production-icon-button {
        position: absolute;
        top: 0.8rem;
        right: 0.8rem;
    }

    .video-production-create-panel__header > div {
        padding-right: 2.5rem;
    }

    .video-production-filter-bar {
        overflow-x: auto;
    }

    .video-production-filter-bar button {
        min-width: max-content;
        padding-inline: 0.62rem;
    }

    .video-production-detail-panel {
        padding: 1rem;
    }

    .video-production-status-overview {
        grid-template-columns: 1fr;
    }

    .video-production-status-overview__progress {
        justify-items: start;
    }

    .video-production-progress-bar {
        grid-column: 1;
    }

    .video-production-artifact-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .video-production-artifact-card__action {
        grid-column: 2;
    }

    .video-production-stage {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .video-production-stage > small {
        grid-column: 2;
        text-align: left;
    }
}

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