/* Review UI paint only. Historical injection and geometry remain authoritative.
   The HUB page and public document are separate entry scopes. Body portals own
   their instance marker, independent of the workspace's temporary visibility.
   Canvas, video/audio, playhead, markers, QC regions and lane sizes are excluded.
   Keep the historical font where its metrics determine the player/tool layout. */

/* The historical container stops 3px above the viewport bottom at 1440.
   Paint that exposed body only while this actual Review page is active. */

html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]:has(#section-project-detail:not(.hidden) #projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) body {
  background:var(--ps-bg);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) main:has(#section-project-detail:not(.hidden) #projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) {
  background:var(--ps-bg);
  color:var(--ps-text);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) {
  background:var(--ps-bg);
  color:var(--ps-text);
  border-color:var(--ps-line);
  box-shadow:none;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) > :is(#detailProjectTitle, #detailProjectMeta) {
  color:var(--ps-ink);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) > #detailProjectTitle {
  font-family:var(--ps-font-ui);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) :is(.projects-panel, .projects-panel-body),
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) :is(#projectInformationCard, #projectUploadCard, #projectToolsCard) {
  background:var(--ps-bg-soft);
  color:var(--ps-text);
  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"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) :is(.projects-panel-header, .admin-subcard-heading) {
  background:var(--ps-surface-solid);
  color:var(--ps-ink);
  border-color:var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) :is(.projects-panel-title, .admin-subcard-title, .admin-subcard-heading h3, #projectInformationCard strong) {
  color:var(--ps-ink);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) :is(.projects-panel-icon, .admin-subcard-icon) {
  background:var(--ps-bg-soft);
  border-color:var(--ps-line);
  color:var(--ps-ink);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) :is(.muted, #detailProjectMeta) {
  color:var(--ps-muted);
}

/* app.js:setProjectStats writes this one background inline. No renderer change. */

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) #projectStatsZone > div {
  --border-subtle:var(--ps-line);
  background:var(--ps-bg-soft) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) #projectUploadZone button,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden):has(#projectDynamicZone > :is(.ps-review, [data-review-empty-tool])) .admin-form-actions > button,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > [data-review-empty-tool], :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > [data-review-empty-tool]) .ps-review-button {
  background:var(--ps-button-bg);
  color:var(--ps-button-text);
  border-color:var(--ps-button-border);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > [data-review-empty-tool], :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > [data-review-empty-tool]) {
  background:var(--ps-surface-solid);
  color:var(--ps-text);
  border-color:var(--ps-line);
  box-shadow:var(--ps-shell-reflection);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > [data-review-empty-tool], :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > [data-review-empty-tool]) :is(.admin-tab-panel-header, .admin-tab-panel-body) {
  background:var(--ps-surface-solid);
  border-color:var(--ps-line);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > [data-review-empty-tool], :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > [data-review-empty-tool]) :is(h3, .admin-tab-panel-title) {
  color:var(--ps-ink);
  font-family:var(--ps-font-ui);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > [data-review-empty-tool], :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > [data-review-empty-tool]) .muted {
  color:var(--ps-muted);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > [data-review-empty-tool], :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > [data-review-empty-tool]) .admin-tab-panel-icon {
  background:var(--ps-bg-soft);
  border-color:var(--ps-line);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) {
  --review-ink:var(--ps-text);
  --review-muted:var(--ps-muted);
  --review-blue:var(--ps-gold);
  color:var(--ps-text);
  color-scheme:dark;
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-main, .ps-review-comments) {
  background:var(--ps-surface-solid);
  color:var(--ps-text);
  border-color:var(--ps-line);
  box-shadow:var(--ps-shell-reflection);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-toolbar, .ps-review-comments-head) {
  background:var(--ps-bg-soft);
  border-color:var(--ps-line);
  color:var(--ps-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-version {
  background:var(--ps-surface-soft);
  color:var(--ps-gold-light);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-comments-head h3 {
  color:var(--ps-ink);
  font-family:var(--ps-font-ui);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-player {
  background:var(--ps-bg-soft);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-player:is(:fullscreen, .is-immersive) {
  background:#000;
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-scrubber, .ps-review-transport) {
  background:var(--ps-bg-soft);
  color:var(--ps-text);
  border-color:var(--ps-line);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-player.is-immersive :is(.ps-review-scrubber, .ps-review-transport) {
  background:transparent;
  border-color:transparent;
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-duration, .ps-review-loudness, .ps-review-timeline-toolbar, .ps-review-waveform-note) {
  color:var(--ps-muted);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-scrubber input {
  accent-color:var(--ps-gold);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-volume-button {
  color:var(--ps-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-volume-button:hover {
  background:var(--ps-surface-solid);
  border-color:var(--ps-line-strong);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-audio-icon {
  background:var(--ps-shell-header-bg);
  color:var(--ps-ink);
  box-shadow:var(--ps-shell-reflection);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-audio-name {
  color:var(--ps-ink);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-audio-compare {
  background:var(--ps-bg-soft);
  border-color:var(--ps-line);
  color:var(--ps-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-compare-status, .ps-review-no-threads, .ps-review-status) {
  color:var(--ps-muted);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-compare-progress {
  color:var(--ps-gold-light);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-thread {
  background:var(--ps-bg-soft);
  border-color:var(--ps-line);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-thread:hover {
  border-color:var(--ps-line-strong);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-comment-body, .ps-review-reply-body) {
  color:var(--ps-text);
  font-family:var(--ps-font-ui);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-thread-author, .ps-review-reply-meta, .ps-review-edited) {
  color:var(--ps-muted);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-thread-time {
  color:var(--ps-gold-light);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-replies {
  border-color:var(--ps-line);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-reply {
  background:var(--ps-surface-solid);
  border-color:var(--ps-line);
  color:var(--ps-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-edit-latest {
  background:var(--ps-surface-soft);
  border-color:var(--ps-line);
  color:var(--ps-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-edit-notice, .ps-review-thread-range) {
  color:#f5cd91;
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-comments-resizer::before {
  background:var(--ps-line);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-comments-resizer:is(:hover, :focus-visible, .is-resizing)::before {
  background:var(--ps-focus);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-download-switch {
  background:var(--ps-surface-soft);
  border-color:var(--ps-line-strong);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-download-switch::after {
  background:var(--ps-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-download-switch:checked {
  background:var(--ps-gold);
  border-color:var(--ps-gold);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-download-switch:checked::after {
  background:var(--ps-button-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-button,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] .ps-review-button,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="share"] button {
  background:var(--ps-surface-soft);
  border-color:var(--ps-line-strong);
  color:var(--ps-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-button:hover,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] .ps-review-button:hover,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="share"] button:hover {
  background:var(--ps-surface-solid);
  border-color:var(--ps-gold);
  color:var(--ps-ink);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-button--primary,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] .ps-review-button--primary,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] button[data-share-save] {
  background:var(--ps-button-bg);
  border-color:var(--ps-button-border);
  color:var(--ps-button-text);
  box-shadow:var(--ps-button-shadow);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-button--primary:hover,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) [data-review-download]:active,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] .ps-review-button--primary:hover,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] button[data-share-save]:hover {
  background:var(--ps-button-hover);
  border-color:var(--ps-button-border);
  color:var(--ps-button-text);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-button--danger,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] .ps-review-button--danger,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] button[data-share-revoke] {
  background:#3b2025;
  border-color:#995154;
  color:#ffb4b4;
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-button--danger:hover,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] .ps-review-button--danger:hover,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] button[data-share-revoke]:hover {
  background:#4c252c;
  border-color:#df8c8c;
  color:#ffd3d3;
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(select, textarea),
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] :is(select, textarea),
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="share"] input:not([type="checkbox"]) {
  background:var(--ps-surface-soft);
  color:var(--ps-text);
  border-color:var(--ps-line-strong);
  color-scheme:dark;
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) textarea::placeholder,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] :is(input, textarea)::placeholder {
  color:var(--ps-muted);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(textarea, select):focus,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] :is(input, textarea, select):focus {
  border-color:var(--ps-focus);
  outline-color:var(--ps-focus);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-review-button, .ps-review-volume-button, input, textarea, select):focus-visible,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] :is(button, input, textarea, select):focus-visible {
  outline:2px solid var(--ps-focus);
  outline-offset:3px;
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .is-error,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > [data-review-empty-tool], :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > [data-review-empty-tool]) .is-error,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] [data-qc-import-state="error"] [data-qc-import-status] {
  color:#ffb4b4;
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] {
  --ps-review-dialog-line:var(--ps-line);
  --ps-review-dialog-text:var(--ps-text);
  background:var(--ps-bg-soft);
  color:var(--ps-text);
  border-color:var(--ps-line);
  box-shadow:0 18px 45px #0006;
  color-scheme:dark;
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal]::backdrop {
  background:#03090bb3;
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] :is(h2, legend) {
  color:var(--ps-ink);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] h2 {
  font-family:var(--ps-font-ui);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] :is(small, p) {
  color:var(--ps-muted);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] .ps-review-archived-row {
  border-color:var(--ps-line);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] [data-share-link] {
  color:var(--ps-gold-light);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="share"] input[type="checkbox"] {
  accent-color:var(--ps-gold);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] :is(fieldset, legend) {
  background:var(--ps-surface-solid);
  border-color:var(--ps-line);
  color:var(--ps-text);
  box-shadow:var(--ps-shell-reflection);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] :is(.ps-qc-modal-header, .ps-qc-modal-footer) {
  border-color:var(--ps-line);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] .ps-qc-modal-header {
  background:var(--ps-bg-soft);
  box-shadow:none;
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] :is([data-qc-source-name], [data-qc-import-status], [data-qc-import-current]) {
  color:var(--ps-text);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] [data-qc-import-state="ready"] [data-qc-import-status] {
  color:#a7e3bd;
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] .ps-qc-percent,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-qc-controls,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-qc-percent {
  background:var(--ps-bg-soft);
  border-color:var(--ps-line);
  color:var(--ps-text);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] .ps-qc-percent input,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-qc-percent input {
  color:var(--ps-text);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] .ps-qc-percent:focus-within,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-qc-percent:focus-within {
  border-color:var(--ps-focus);
  outline-color:var(--ps-focus);
}

html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] .ps-qc-stream-label,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) :is(.ps-qc-heading span, [data-qc-status]) {
  color:var(--ps-muted);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-qc-progress,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] .ps-qc-progress {
  color:var(--ps-gold-light);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-qc-progress progress,
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal][data-ps-review-portal="qc"] [data-qc-import-progress] {
  accent-color:var(--ps-gold);
}

:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) .ps-review-thread-list,
:is(:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #section-project-detail:not(.hidden) #projectDynamicZone > .ps-review, :where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-workspace] > .ps-review) [data-review-timeline],
html[data-ps-theme="studio"]:is([data-ps-window="hub"][data-ps-screen="app"], [data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-ps-review-portal] {
  scrollbar-color:var(--ps-line-strong) var(--ps-bg-soft);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]),
:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) body {
  background:var(--ps-bg);
  color:var(--ps-text);
  color-scheme:dark;
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) .review-guest-header {
  background:var(--ps-bg-soft);
  border-color:var(--ps-line);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) :is(.review-guest-brand, [data-guest-title]) {
  color:var(--ps-ink);
  font-family:var(--ps-font-ui);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) [data-guest-branding] {
  color:var(--ps-muted);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) .review-guest-access {
  background:var(--ps-surface-solid);
  border-color:var(--ps-line);
  color:var(--ps-text);
  font-family:var(--ps-font-ui);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) .review-guest-access input {
  background:var(--ps-surface-soft);
  color:var(--ps-text);
  border-color:var(--ps-line-strong);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) :is(.review-guest-access, [data-guest-nav]) button {
  background:var(--ps-surface-soft);
  border-color:var(--ps-line-strong);
  color:var(--ps-text);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) .review-guest-access button[type="submit"] {
  background:var(--ps-button-bg);
  border-color:var(--ps-button-border);
  color:var(--ps-button-text);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) :is(.review-guest-access, [data-guest-nav]) button:hover {
  border-color:var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) :is(.review-guest-access, [data-guest-nav]) :is(input, button):focus-visible {
  outline:2px solid var(--ps-focus);
  outline-offset:3px;
}

:where(html[data-ps-theme="studio"][data-ps-document="review-guest"][data-ps-window="review-guest"][data-ps-screen="public"]) body {
  scrollbar-color:var(--ps-line-strong) var(--ps-bg-soft);
}

/* The only Original addition is the requested public appearance control.
   Fixed positioning leaves historical content and media geometry unchanged. */

html[data-ps-document="review-guest"] .ps-review-appearance {
  position:fixed;
  right:12px;
  bottom:12px;
  z-index:20;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  font:12px system-ui,sans-serif;
  border:1px solid #94a3b8;
  border-radius:8px;
  background:#fff;
  color:#0f172a;
  box-shadow:0 2px 8px #0002;
}

html[data-ps-document="review-guest"] .ps-review-appearance-moon {
  display:none;
}

html[data-ps-document="review-guest"][data-ps-theme="studio"] .ps-review-appearance {
  background:var(--ps-bg-soft);
  border-color:var(--ps-line-strong);
  color:var(--ps-ink);
  font-family:var(--ps-font-ui);
}

html[data-ps-document="review-guest"][data-ps-theme="studio"] .ps-review-appearance-sun {
  display:none;
}

html[data-ps-document="review-guest"][data-ps-theme="studio"] .ps-review-appearance-moon {
  display:inline;
}

html[data-ps-document="review-guest"] .ps-review-appearance:focus-visible {
  outline:2px solid var(--ps-focus,#2563eb);
  outline-offset:3px;
}


/* Review's Unified Import instance only. These paint priorities replace
   audited inline colors in externalMediaImport.js (source cards, browser and
   transfer rows). No sizes, fonts, layout, progress widths or animation change. */

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] {
  background:#03090bb3 !important;
  color:var(--ps-text);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] > [role="dialog"][aria-labelledby="mediaImportModalTitle"] {
  background:var(--ps-surface-solid) !important;
  border-color:var(--ps-line) !important;
  box-shadow:0 24px 64px #0006 !important;
  color-scheme:dark;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] #mediaImportModalTitle {
  color:var(--ps-ink) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] button,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] input:not([type="checkbox"]):not([type="file"]) {
  background:var(--ps-surface-soft) !important;
  color:var(--ps-text) !important;
  border-color:var(--ps-line-strong) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] button:not(:disabled):hover {
  background:var(--ps-bg-soft) !important;
  border-color:var(--ps-gold) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] #mediaImportModalBody > div > button:is([onclick^="openComputerMediaPicker"], [onclick^="renderNextcloudImportStep"]) {
  background:var(--ps-bg-soft) !important;
  color:var(--ps-ink) !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"]) #mediaImportModal[data-destination-kind="review"] #mediaImportModalBody > div > button:is([onclick^="openComputerMediaPicker"], [onclick^="renderNextcloudImportStep"]):hover {
  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"]) #mediaImportModal[data-destination-kind="review"] #mediaImportModalBody > div > button:is([onclick^="openComputerMediaPicker"], [onclick^="renderNextcloudImportStep"]) > span:first-child {
  background:var(--ps-surface-soft) !important;
  color:var(--ps-gold) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] .btn-primary {
  background:var(--ps-button-bg) !important;
  color:var(--ps-button-text) !important;
  border-color:var(--ps-button-border) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] .btn-primary:not(:disabled):hover {
  background:var(--ps-button-hover) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] :is(button, input, select, textarea):focus-visible {
  outline:2px solid var(--ps-focus) !important;
  outline-offset:3px;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] input[type="checkbox"] {
  accent-color:var(--ps-gold);
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="background:#ffffff"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="background:#fff;"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="background:#f8fafc"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="background:#f8fbff"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-nextcloud-selection-index],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-import-transfer-id] {
  background:var(--ps-bg-soft) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-nextcloud-selection-index] {
  border-color:var(--ps-line) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-nextcloud-selection-index]:has(input:checked) {
  background:var(--ps-surface-solid) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="border:1px solid #e2e8f0"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="border:1px solid #dbeafe"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="border:1px solid #cbd5e1"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-import-transfer-id][style*="border-color: rgb(226, 232, 240)"] {
  border-color:var(--ps-line) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#0f172a"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#334155"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#475569"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-import-field="filename"] {
  color:var(--ps-text) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] .muted,
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#64748b"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#94a3b8"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-import-field="detail"] {
  color:var(--ps-muted) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#dc2626"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#b91c1c"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color: rgb(220, 38, 38)"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color: rgb(185, 28, 28)"] {
  color:#ffb4b4 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#16a34a"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color: rgb(22, 163, 74)"] {
  color:#a7e3bd !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#d97706"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color:#b45309"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color: rgb(217, 119, 6)"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [style*="color: rgb(180, 83, 9)"] {
  color:#f5cd91 !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-import-field="status"][style*="#2563eb"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-import-field="status"][style*="rgb(37, 99, 235)"] {
  color:var(--ps-gold-light) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-import-field="progress"][style*="#2563eb"],
:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] [data-import-field="progress"][style*="rgb(37, 99, 235)"] {
  background:var(--ps-gold) !important;
}

:where(html[data-ps-theme="studio"][data-ps-window="hub"][data-ps-screen="app"]) #mediaImportModal[data-destination-kind="review"] progress {
  accent-color:var(--ps-gold) !important;
}
