/* Production Builder only: existing roots and workflow_preflight portal provenance.
   Historical styles remain active in Original. No behavior or layout persistence. */
html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#section-project-new.workflow-production:not(.hidden)),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) body:has(#section-project-new.workflow-production:not(.hidden)) {
  background: var(--ps-bg);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) main:has(#section-project-new.workflow-production:not(.hidden)) {
  scrollbar-color: var(--ps-line-strong) var(--ps-bg);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock {
  font-family: var(--ps-font-ui) !important;
  color: var(--ps-text) !important;
  color-scheme: dark;
  scrollbar-color: var(--ps-line-strong) var(--ps-bg);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-new.workflow-production:not(.hidden) {
  background: var(--ps-bg) !important;
  border-color: var(--ps-line);
  box-shadow: var(--ps-shell-reflection);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #ttkWorkflowBuilderModal,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock {
  background: #0009 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #ttkWorkflowBuilderModal > div,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] > div,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal > div {
  background: var(--ps-bg) !important;
  border-color: var(--ps-line) !important;
  box-shadow: 0 24px 80px #0006 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.projects-panel, .projects-panel-body) {
  background: var(--ps-bg) !important;
  border-color: var(--ps-line);
  box-shadow: var(--ps-shell-reflection);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .projects-panel-header {
  background: var(--ps-surface-solid);
  border-color: var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.workflow-preview-card, #workflowConfigPanel, #workflowAssetsPanel) {
  background: var(--ps-bg-soft) !important;
  border-color: var(--ps-line) !important;
  box-shadow: var(--ps-shell-reflection) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.new-project-welcome, .new-project-overview) {
  background: var(--ps-bg-soft);
  color: var(--ps-text);
  border-color: var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.new-project-welcome p, .new-project-overview p) {
  color: var(--ps-muted);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(h2, h3, h4, legend, .projects-panel-title, .workflow-section-label, .new-project-name-field label),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-config-title, .workflow-config-step-heading h4, .workflow-assets-step-header h3, .workflow-file-name, .workflow-estimate-billing h4, legend) {
  color: var(--ps-ink) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.muted, .workflow-config-subtitle, .workflow-mode-desc, .workflow-preview-subtitle),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-option-desc, .workflow-config-step-heading p, .workflow-ai-model-helper, .workflow-ai-model-label small, .workflow-ai-fit-description, .workflow-language-row span, .workflow-video-summary, .workflow-file-facts, .workflow-file-summary, .workflow-import-formats, .workflow-estimate-note, .workflow-estimate-billing p, .workflow-estimate-metric > span, .workflow-video-processing-hint, .workflow-video-editor small, .workflow-srt-count, .workflow-file-name small) {
  color: var(--ps-muted);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.workflow-mode-card, .workflow-step),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-option-card {
  background: var(--ps-bg-soft);
  border-color: var(--ps-line);
  box-shadow: var(--ps-shell-reflection);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .workflow-mode-card.active,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-option-card.active {
  background: var(--ps-surface-solid);
  border-color: var(--ps-gold);
  box-shadow: inset 3px 0 var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .workflow-mode-card::after,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-option-card::after {
  background: var(--ps-button-bg);
  color: var(--ps-button-text);
  box-shadow: none;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .workflow-mode-card:hover,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-option-card:hover {
  background: var(--ps-surface-solid);
  border-color: var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.workflow-mode-title, .workflow-step-title),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-option-title, .workflow-ai-model-title, .workflow-ai-model-label strong, .workflow-ai-fit-title, .workflow-import-title) {
  color: var(--ps-ink);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.workflow-mode-icon, .workflow-step-icon, .projects-panel-icon),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-option-icon:not(img), .workflow-import-icon) {
  background: var(--ps-surface-solid);
  color: var(--ps-gold);
  box-shadow: none;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .workflow-arrow {
  color: var(--ps-gold);
  text-shadow: none;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-config-step {
  --workflow-step-border: var(--ps-line);
  --workflow-step-tint: var(--ps-surface-solid);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-config-step-header, .workflow-assets-step-header) {
  background: var(--ps-surface-solid);
  border-color: var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-config-step-number, .workflow-assets-step-number) {
  background: var(--ps-button-bg);
  color: var(--ps-button-text);
  box-shadow: var(--ps-button-shadow);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-config-step-context {
  color: var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-config-step-body, .workflow-assets-step) {
  background: var(--ps-bg-soft);
  border-color: var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-ai-model-card, .workflow-ai-fit-card, .workflow-empty-preview) {
  background: var(--ps-surface-soft);
  border-color: var(--ps-line);
  box-shadow: var(--ps-shell-reflection);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-language-row {
  background: transparent;
  border-color: var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-import-box {
  background: var(--ps-surface-soft);
  border-color: var(--ps-line-strong);
  box-shadow: none;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-import-box:hover, .workflow-import-box.dragover) {
  background: var(--ps-surface-solid);
  border-color: var(--ps-gold);
  box-shadow: inset 0 0 0 1px var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-video-card, .workflow-basic-file, .workflow-srt-row, .workflow-video-card:nth-child(odd), .workflow-video-card:nth-child(even)) {
  --workflow-video-tint: var(--ps-bg-soft);
  background: var(--ps-bg-soft);
  border-color: var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-video-card:has([aria-expanded="true"]) {
  border-color: var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-video-editor, .workflow-srt-files, .workflow-estimate-metric, .workflow-estimate-status) {
  background: var(--ps-surface-soft);
  border-color: var(--ps-line);
  color: var(--ps-text);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-video-language-fields, .workflow-srt-row, .workflow-estimate-billing) {
  border-color: var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-video-editor label {
  color: var(--ps-text);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-video-badge, .workflow-language-chip, .workflow-srt-count) {
  background: var(--ps-surface-solid);
  border-color: var(--ps-line);
  color: var(--ps-text);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-video-badge.is-custom, .workflow-language-chip) {
  color: var(--ps-gold-light);
  border-color: var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-estimate-metric > strong, .workflow-estimate-metric--usage > strong, .workflow-estimate-metric--credits > strong) {
  color: var(--ps-gold-light);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-ai-fit-switch-track, .workflow-ai-model-switch-track) {
  background: var(--ps-surface-solid);
  border-color: var(--ps-line-strong);
  box-shadow: var(--ps-shell-reflection);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-ai-fit-switch-input:checked + .workflow-ai-fit-switch-track,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-ai-model-switch-track {
  background: var(--ps-gold);
  border-color: var(--ps-button-border);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-ai-fit-switch-thumb, .workflow-ai-model-switch-thumb) {
  background: var(--ps-ink);
  border-color: var(--ps-button-text);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(input, select, textarea),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is(input, select, textarea) {
  background: var(--ps-surface-soft) !important;
  border-color: var(--ps-line-strong) !important;
  color: var(--ps-text) !important;
  font-family: var(--ps-font-ui);
  accent-color: var(--ps-gold);
  box-shadow: none;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) input::placeholder,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] input::placeholder {
  color: var(--ps-muted);
  opacity: .75;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) button,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] button,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal button {
  background: var(--ps-surface-soft) !important;
  border-color: var(--ps-line-strong) !important;
  color: var(--ps-text) !important;
  box-shadow: none !important;
  font-family: var(--ps-font-ui);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.workflow-mode-card, .workflow-option-card) {
  background: var(--ps-bg-soft) !important;
  border-color: var(--ps-line) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.workflow-mode-card.active, .workflow-option-card.active) {
  background: var(--ps-surface-solid) !important;
  border-color: var(--ps-gold) !important;
  box-shadow: inset 3px 0 var(--ps-gold) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) button:hover:not(:disabled):not(.disabled-hard),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] button:hover:not(:disabled),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal button:hover:not(:disabled) {
  background: var(--ps-surface-solid) !important;
  border-color: var(--ps-gold) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.btn-primary, .workflow-import-button),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] .btn-primary,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal .btn-primary {
  background: var(--ps-button-bg) !important;
  border-color: var(--ps-button-border) !important;
  color: var(--ps-button-text) !important;
  box-shadow: var(--ps-button-shadow) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(.btn-primary, .workflow-import-button):hover:not(:disabled),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] .btn-primary:hover:not(:disabled),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal .btn-primary:hover:not(:disabled) {
  background: var(--ps-button-hover) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(button:disabled, button.disabled-hard),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] button:disabled {
  color: var(--ps-muted) !important;
  box-shadow: none !important;
  opacity: .65;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .btn-primary:disabled,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] .btn-primary:disabled {
  background: var(--ps-bg) !important;
  border-color: var(--ps-line) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .workflow-language-chip button {
  background: transparent !important;
  color: var(--ps-gold-light) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(button, input, select, textarea):focus-visible,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is(button, input, select, textarea):focus-visible,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal button:focus-visible,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-ai-model-switch-input:focus-visible + .workflow-ai-model-switch-track, .workflow-ai-fit-switch-input:focus-visible + .workflow-ai-fit-switch-track) {
  outline: 3px solid var(--ps-focus) !important;
  outline-offset: 3px;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is(.workflow-estimate-error, .workflow-video-error),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .new-project-name-error {
  color: #fca5a5;
  border-color: #fca5a566;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) .workflow-estimate-error {
  background: #321d22;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) [aria-invalid="true"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) .new-project-name-attention {
  border-color: #fca5a5 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="background:#fff" i],[style*="background: #fff" i],[style*="background:#f1" i],[style*="background: #f1" i],[style*="background:#f8" i],[style*="background: #f8" i],[style*="background:#f9" i],[style*="background: #f9" i],[style*="background:#eef" i],[style*="background: #eef" i],[style*="background:#eff" i],[style*="background: #eff" i],[style*="background:#e2" i],[style*="background: #e2" i],[style*="background:#e0" i],[style*="background: #e0" i],[style*="background:#dbe" i],[style*="background: #dbe" i],[style*="background:linear-gradient" i],[style*="background: linear-gradient" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="background:#fff" i],[style*="background: #fff" i],[style*="background:#f1" i],[style*="background: #f1" i],[style*="background:#f8" i],[style*="background: #f8" i],[style*="background:#f9" i],[style*="background: #f9" i],[style*="background:#eef" i],[style*="background: #eef" i],[style*="background:#eff" i],[style*="background: #eff" i],[style*="background:#e2" i],[style*="background: #e2" i],[style*="background:#e0" i],[style*="background: #e0" i],[style*="background:#dbe" i],[style*="background: #dbe" i],[style*="background:linear-gradient" i],[style*="background: linear-gradient" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="background:#fff" i],[style*="background: #fff" i],[style*="background:#f1" i],[style*="background: #f1" i],[style*="background:#f8" i],[style*="background: #f8" i],[style*="background:#f9" i],[style*="background: #f9" i],[style*="background:#eef" i],[style*="background: #eef" i],[style*="background:#eff" i],[style*="background: #eff" i],[style*="background:#e2" i],[style*="background: #e2" i],[style*="background:#e0" i],[style*="background: #e0" i],[style*="background:#dbe" i],[style*="background: #dbe" i],[style*="background:linear-gradient" i],[style*="background: linear-gradient" i]) {
  background: var(--ps-bg-soft) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="color:#0f172a" i],[style*="color: #0f172a" i],[style*="color:#172432" i],[style*="color: #172432" i],[style*="color:#334155" i],[style*="color: #334155" i],[style*="color:#475569" i],[style*="color: #475569" i],[style*="color:#64748b" i],[style*="color: #64748b" i],[style*="color:#1e293b" i],[style*="color: #1e293b" i],[style*="color:#111827" i],[style*="color: #111827" i],[style*="color:#94a3b8" i],[style*="color: #94a3b8" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="color:#0f172a" i],[style*="color: #0f172a" i],[style*="color:#172432" i],[style*="color: #172432" i],[style*="color:#334155" i],[style*="color: #334155" i],[style*="color:#475569" i],[style*="color: #475569" i],[style*="color:#64748b" i],[style*="color: #64748b" i],[style*="color:#1e293b" i],[style*="color: #1e293b" i],[style*="color:#111827" i],[style*="color: #111827" i],[style*="color:#94a3b8" i],[style*="color: #94a3b8" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="color:#0f172a" i],[style*="color: #0f172a" i],[style*="color:#172432" i],[style*="color: #172432" i],[style*="color:#334155" i],[style*="color: #334155" i],[style*="color:#475569" i],[style*="color: #475569" i],[style*="color:#64748b" i],[style*="color: #64748b" i],[style*="color:#1e293b" i],[style*="color: #1e293b" i],[style*="color:#111827" i],[style*="color: #111827" i],[style*="color:#94a3b8" i],[style*="color: #94a3b8" i]) {
  color: var(--ps-text) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="color:#2563eb" i],[style*="color: #2563eb" i],[style*="color:#1d4ed8" i],[style*="color: #1d4ed8" i],[style*="color:#3730a3" i],[style*="color: #3730a3" i],[style*="color:#6366f1" i],[style*="color: #6366f1" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="color:#2563eb" i],[style*="color: #2563eb" i],[style*="color:#1d4ed8" i],[style*="color: #1d4ed8" i],[style*="color:#3730a3" i],[style*="color: #3730a3" i],[style*="color:#6366f1" i],[style*="color: #6366f1" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="color:#2563eb" i],[style*="color: #2563eb" i],[style*="color:#1d4ed8" i],[style*="color: #1d4ed8" i],[style*="color:#3730a3" i],[style*="color: #3730a3" i],[style*="color:#6366f1" i],[style*="color: #6366f1" i]) {
  color: var(--ps-gold-light) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="border:"], [style*="border-top:"], [style*="border-bottom:"]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="border:"], [style*="border-top:"], [style*="border-bottom:"]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="border:"], [style*="border-top:"], [style*="border-bottom:"]) {
  border-color: var(--ps-line) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] [style*="box-shadow:"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal [style*="box-shadow:"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock [style*="box-shadow:"] {
  box-shadow: var(--ps-shell-reflection) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is(h2, strong),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is(h2, strong),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is(h2, strong) {
  color: var(--ps-ink) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="color:#b91c1c" i],[style*="color: #b91c1c" i],[style*="color:#dc2626" i],[style*="color: #dc2626" i],[style*="color:#991b1b" i],[style*="color: #991b1b" i],[style*="color:#ef4444" i],[style*="color: #ef4444" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="color:#b91c1c" i],[style*="color: #b91c1c" i],[style*="color:#dc2626" i],[style*="color: #dc2626" i],[style*="color:#991b1b" i],[style*="color: #991b1b" i],[style*="color:#ef4444" i],[style*="color: #ef4444" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="color:#b91c1c" i],[style*="color: #b91c1c" i],[style*="color:#dc2626" i],[style*="color: #dc2626" i],[style*="color:#991b1b" i],[style*="color: #991b1b" i],[style*="color:#ef4444" i],[style*="color: #ef4444" i]) {
  color: #fca5a5 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="color:#b91c1c" i],[style*="color: #b91c1c" i],[style*="color:#dc2626" i],[style*="color: #dc2626" i],[style*="color:#991b1b" i],[style*="color: #991b1b" i],[style*="color:#ef4444" i],[style*="color: #ef4444" i])[style*="background"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="color:#b91c1c" i],[style*="color: #b91c1c" i],[style*="color:#dc2626" i],[style*="color: #dc2626" i],[style*="color:#991b1b" i],[style*="color: #991b1b" i],[style*="color:#ef4444" i],[style*="color: #ef4444" i])[style*="background"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="color:#b91c1c" i],[style*="color: #b91c1c" i],[style*="color:#dc2626" i],[style*="color: #dc2626" i],[style*="color:#991b1b" i],[style*="color: #991b1b" i],[style*="color:#ef4444" i],[style*="color: #ef4444" i])[style*="background"] {
  background: #321d22 !important;
  border-color: #fca5a566 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="color:#15803d" i],[style*="color: #15803d" i],[style*="color:#166534" i],[style*="color: #166534" i],[style*="color:#047857" i],[style*="color: #047857" i],[style*="color:#065f46" i],[style*="color: #065f46" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="color:#15803d" i],[style*="color: #15803d" i],[style*="color:#166534" i],[style*="color: #166534" i],[style*="color:#047857" i],[style*="color: #047857" i],[style*="color:#065f46" i],[style*="color: #065f46" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="color:#15803d" i],[style*="color: #15803d" i],[style*="color:#166534" i],[style*="color: #166534" i],[style*="color:#047857" i],[style*="color: #047857" i],[style*="color:#065f46" i],[style*="color: #065f46" i]) {
  color: #86efac !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="color:#15803d" i],[style*="color: #15803d" i],[style*="color:#166534" i],[style*="color: #166534" i],[style*="color:#047857" i],[style*="color: #047857" i],[style*="color:#065f46" i],[style*="color: #065f46" i])[style*="background"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="color:#15803d" i],[style*="color: #15803d" i],[style*="color:#166534" i],[style*="color: #166534" i],[style*="color:#047857" i],[style*="color: #047857" i],[style*="color:#065f46" i],[style*="color: #065f46" i])[style*="background"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="color:#15803d" i],[style*="color: #15803d" i],[style*="color:#166534" i],[style*="color: #166534" i],[style*="color:#047857" i],[style*="color: #047857" i],[style*="color:#065f46" i],[style*="color: #065f46" i])[style*="background"] {
  background: #102b26 !important;
  border-color: #86efac66 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="color:#a16207" i],[style*="color: #a16207" i],[style*="color:#92400e" i],[style*="color: #92400e" i],[style*="color:#b45309" i],[style*="color: #b45309" i],[style*="color:#9a3412" i],[style*="color: #9a3412" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="color:#a16207" i],[style*="color: #a16207" i],[style*="color:#92400e" i],[style*="color: #92400e" i],[style*="color:#b45309" i],[style*="color: #b45309" i],[style*="color:#9a3412" i],[style*="color: #9a3412" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="color:#a16207" i],[style*="color: #a16207" i],[style*="color:#92400e" i],[style*="color: #92400e" i],[style*="color:#b45309" i],[style*="color: #b45309" i],[style*="color:#9a3412" i],[style*="color: #9a3412" i]) {
  color: #f6cd8f !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="color:#a16207" i],[style*="color: #a16207" i],[style*="color:#92400e" i],[style*="color: #92400e" i],[style*="color:#b45309" i],[style*="color: #b45309" i],[style*="color:#9a3412" i],[style*="color: #9a3412" i])[style*="background"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal :is([style*="color:#a16207" i],[style*="color: #a16207" i],[style*="color:#92400e" i],[style*="color: #92400e" i],[style*="color:#b45309" i],[style*="color: #b45309" i],[style*="color:#9a3412" i],[style*="color: #9a3412" i])[style*="background"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock :is([style*="color:#a16207" i],[style*="color: #a16207" i],[style*="color:#92400e" i],[style*="color: #92400e" i],[style*="color:#b45309" i],[style*="color: #b45309" i],[style*="color:#9a3412" i],[style*="color: #9a3412" i])[style*="background"] {
  background: #2a241a !important;
  border-color: #f6cd8f66 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is([style*="color:#b91c1c" i],[style*="color: #b91c1c" i]),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) [data-workflow-voice-glossary]:has(select[aria-invalid="true"]) [role="status"] {
  color: #fca5a5 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) :is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal) :is(#workflowConfigPanel, #workflowAssetsPanel, #workflowWorkspacePanel) :is([style*="background:#fef2f2" i],[style*="background: #fef2f2" i]) {
  background: #321d22 !important;
  border-color: #fca5a566 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] progress {
  accent-color: var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] :is([style*="background:#2563eb" i],[style*="background: #2563eb" i],[style*="background:#3b82f6" i],[style*="background: #3b82f6" i]):not(button) {
  background: var(--ps-gold) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] > div,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal > div {
  background: var(--ps-bg) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal > div > div:last-child {
  background: var(--ps-surface-solid) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] .muted,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(:is(#section-project-new.workflow-production:not(.hidden), #ttkWorkflowBuilderModal))) #quotaUploadModal .muted {
  color: var(--ps-muted);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] [data-nextcloud-selection-index] {
  background: var(--ps-bg-soft) !important;
  border-color: var(--ps-line) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="workflow_preflight"] [data-nextcloud-selection-index]:has([data-nextcloud-select-checkbox]:checked) {
  background: var(--ps-surface-solid) !important;
  box-shadow: inset 3px 0 var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#mediaImportModal[data-destination-kind="workflow_preflight"])) #nextcloudBatchInteractionLock [data-nextcloud-lock-message] {
  background: var(--ps-surface-solid) !important;
  color: var(--ps-text) !important;
  border-color: var(--ps-line) !important;
}
