/* FreeShow Church Planner — Alpha17. Accessible light/dark palette for all portal sections.
   Generated overrides cover legacy neutral backgrounds and ink colors, without touching images or harmonies. */
html[data-fcp-theme="dark"] { --fcp-bg:#111827; --fcp-card:#1b2940; --fcp-ink:#eaf0fb;
 --fcp-muted:#afbed4; --fcp-line:#35445e; --fcp-soft:#273754;
 --fcp-accent:#94aaff; --fcp-accent-dark:#738eff; --fcp-dark:#dbe5fa;
 --fcp-card-bg:#1b2940; --fcp-night-card:#1b2940; --fcp-night-soft:#273754;
 --fcp-night-ink:#eaf0fb; --fcp-night-muted:#b4c0d4; --fcp-night-line:#3d4e6a;
}
html[data-fcp-theme="dark"] .fcp-portal { color-scheme:dark; background:var(--fcp-bg); color:var(--fcp-ink); }
html[data-fcp-theme="dark"] body.fcp-standalone-page { background:var(--fcp-bg);color:var(--fcp-ink); }
html[data-fcp-theme="dark"] .fcp-portal .fcp-topbar {background:rgba(19,29,46,.98);border-color:var(--fcp-line)}
html[data-fcp-theme="dark"] .fcp-portal a:not(.fcp-button-primary) {color:inherit}
html[data-fcp-theme="dark"] .fcp-portal a.fcp-nav-link, html[data-fcp-theme="dark"] .fcp-portal .fcp-nav a {color:#dce5f5}
html[data-fcp-theme="dark"] .fcp-portal .fcp-nav a.is-active {color:#b8c6ff}
html[data-fcp-theme="dark"] .fcp-portal :is(input,textarea,select):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]) {background:#16243a!important;color:#eff3fc!important;border-color:#42546d!important}
html[data-fcp-theme="dark"] .fcp-portal :is(input,textarea)::placeholder {color:#95a7be}
html[data-fcp-theme="dark"] .fcp-portal :is(h1,h2,h3,h4,h5,p,strong,label,small) {text-shadow:none}
html[data-fcp-theme="dark"] .fcp-portal .fcp-button-primary {background:#365cf5!important;border-color:#365cf5!important;color:#fff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-front-hero {background:linear-gradient(145deg,#1d3152,#223858);color:#fff}
html[data-fcp-theme="dark"] .fcp-portal .fcp-chordpro-textarea {background:#0f1729!important;color:#edf2ff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-wave-bar {background:#91a8fc}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-playhead {box-shadow:none}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-confirm {background:#147d5f!important;border-color:#147d5f!important;color:white!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-edit {background:#365cf5!important;border-color:#365cf5!important;color:white!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-reject {background:#59412e!important;border-color:#a98a5f!important;color:#ffe4b7!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-marker.is-rejected {background:#493b35!important;border-color:#947e61!important;color:#ffe3b3!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-review.is-rejected {background:#352c2b!important;border-color:#947e61!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-review.is-reviewed {background:#1d392f!important;border-color:#44876e!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-v160 .fcp-studio-mode.is-selected {background:#354b71!important;color:#fff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-v160 .fcp-studio-complete {background:#1d392f!important;border-color:#44876e!important;color:#bbf7d0!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-v160 .fcp-studio-complete p {color:#a7e6cb!important}

@media screen {
html[data-fcp-theme="dark"] .fcp-nav a {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-button {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-button:hover {border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-stat-grid article {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-service-card {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-service-meta span {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-empty-front {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-empty-icon {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-form-grid label > span {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-form-grid input, html[data-fcp-theme="dark"] .fcp-form-grid textarea {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-form-grid input:disabled, html[data-fcp-theme="dark"] .fcp-form-grid textarea:disabled {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-search-field {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-search-field > span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-search-results {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-search-result:hover {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-front-service-item {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-front-service-item.is-section {background:var(--fcp-night-soft)!important; border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-front-drag {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .is-section .fcp-item-badge {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-remove-front-item {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-front-sortable .ui-sortable-placeholder {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-list-empty {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-alert-success {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-alert-error {border-color:var(--fcp-night-line)!important; background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-song-card {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-song-card-meta span {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-login-card {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-login-card label {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-source-filter {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-button-ghost {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-music-settings select {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-music-pill {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-music-service-card {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-music-section-divider {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-music-song {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-music-song-head {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-music-song-facts > span {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chart-toolbar {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chart-toggle {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-chord-section-title, html[data-fcp-theme="dark"] .fcp-chord-comment {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-lyric {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-no-chart {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-no-chart p {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-editor-form .fcp-form-grid select {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chordpro-help {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chordpro-help code {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-song-music-link {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-quick-chord-editor {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-keyboard-mode {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chord-keyboard-mode span {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-chord-palette-button {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chord-palette-button strong {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-palette-button kbd {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-recent-button {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-chord-custom-input {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chord-source-pane, html[data-fcp-theme="dark"] .fcp-chord-preview-pane {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chord-pane-title {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-pane-title strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-live-chord-preview {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-musician-profile-bar {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-editor-profile-row {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-profile-segmented {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-profile-button {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-profile-button.is-active {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-notation-control select {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-chord-builder {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-builder-title {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-builder select, html[data-fcp-theme="dark"] .fcp-visual-picker-builder select {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-visual-word:hover .fcp-visual-slot {border-color:var(--fcp-night-line)!important; background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-visual-slot.has-chord {border-color:var(--fcp-night-line)!important; background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-editor-form.is-chord-dragging .fcp-live-chord-preview .fcp-visual-slot {border-color:var(--fcp-night-line)!important; background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-editor-form.is-chord-dragging .fcp-live-chord-preview .fcp-visual-slot.has-chord {border-color:var(--fcp-night-line)!important; background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-editor-form.is-chord-dragging .fcp-live-chord-preview .fcp-visual-slot.is-drop-target {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-visual-lyric {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-visual-chord-picker {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-visual-picker-head strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-visual-picker-close {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-visual-choice {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-visual-choice:hover, html[data-fcp-theme="dark"] .fcp-visual-choice.is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-visual-remove {border-color:var(--fcp-night-line)!important; background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-alert-info {border-color:var(--fcp-night-line)!important; background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-status-select {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chart-status-validated {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-chart-status-badge.fcp-chart-status-draft {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chart-status-badge.fcp-chart-status-review {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chart-status-badge.fcp-chart-status-validated {background:var(--fcp-night-soft)!important; color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-chart-source-results {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chart-source-choice {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chart-source-choice:hover {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chart-source-choice strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-chart-source-success {background:var(--fcp-night-soft)!important; color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-instrumental-section-tools {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-visual-line:hover .fcp-visual-slot:not(.has-chord) {border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-visual-picker-hint {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-grid-section {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-visual-grid-line .fcp-grid-cell {border-color:var(--fcp-night-line)!important; color:var(--fcp-night-muted)!important; background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-visual-grid-line .fcp-grid-cell.has-chord {background:var(--fcp-night-soft)!important; border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-grid-bar, html[data-fcp-theme="dark"] .fcp-grid-symbol {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-grid-display-chord {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-grid-display-empty, html[data-fcp-theme="dark"] .fcp-grid-display-symbol {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-grid-lock-badge {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-add-music-bridge {background:var(--fcp-night-card)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-add-music-bridge:hover {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-remove-music-section {color:#ffb4b4!important;}
html[data-fcp-theme="dark"] .fcp-audio-file-label {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-file-label:hover {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-audio-play, html[data-fcp-theme="dark"] .fcp-audio-jump {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-audio-play {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-audio-time {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-speed {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-speed select {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-audio-loop-row .fcp-button.is-set {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-audio-loop-status {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-capture-row {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-audio-capture-row label {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-audio-capture-status {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-shortcuts {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-shortcuts kbd {background:var(--fcp-night-card)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-remove {color:#ffb4b4!important;}
html[data-fcp-theme="dark"] .fcp-live-chord-preview .fcp-visual-slot.is-audio-armed {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-editor-layout-toolbar {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-editor-layout-copy strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-editor-layout-segmented {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-editor-layout-button {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-editor-layout-button.is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-reference-source-tabs {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-reference-source-button {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-reference-source-button.is-active {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-reference-source-pane {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-reference-remove-row button {color:#ffb4b4!important;}
html[data-fcp-theme="dark"] .fcp-youtube-input-row input {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-media-bridge-status {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-media-bridge-status.is-ready {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-chord-timeline {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chord-timeline-head strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-chord-timeline-source {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-timeline-clear {color:#ffb4b4!important;}
html[data-fcp-theme="dark"] .fcp-chord-timeline-empty {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-cue {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-cue.is-current {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-cue-seek {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-chord-cue-seek:hover {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-cue-time {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-cue-delete {background:var(--fcp-night-card)!important; color:#ffb4b4!important;}
html[data-fcp-theme="dark"] .fcp-chord-cue-delete:hover {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-chord-timeline-save {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-chord-timeline-save.is-saved {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-live-chord-preview .fcp-visual-slot.is-timeline-focus {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-visual-tail-add .fcp-visual-tail-slot {border-color:var(--fcp-night-line)!important; background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-visual-tail-add .fcp-visual-tail-slot:hover {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-audio-sync-toggle.is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-audio-sync-summary {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-sync-panel {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-audio-sync-help strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-audio-sync-help span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-audio-sync-panel .fcp-audio-capture-status {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-audio-sync-note {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-engine-panel {border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-engine-panel .fcp-panel-head-front p {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-badge {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-source-label {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-progress {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-progress-bar {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-progress-text {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-summary > div {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-summary span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-summary strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-toolbar label {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-segment {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-segment.needs-review {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-segment.is-validated {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-listen {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-listen:hover {background:var(--fcp-night-soft)!important; border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-time strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-time span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-proposal span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-candidate {background:var(--fcp-night-card)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-candidate:hover {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-candidate.is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-confidence-cell strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-state {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-segment.is-validated .fcp-harmony-state {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-harmony-save-status {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-save-status.is-saved {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-harmony-empty {color:var(--fcp-night-muted)!important; background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-view-tabs {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-view-button {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-view-button.is-active {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-lyrics-toolbar {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-lyrics-range strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-lyrics-range span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-lyrics-grid {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-lyrics-section, html[data-fcp-theme="dark"] .fcp-harmony-instrumental {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-section-title {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-section-title small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-lyric-text {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-grid-chord {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-grid-chord.needs-review {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-grid-chord.is-validated {background:var(--fcp-night-soft)!important; color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-harmony-grid-inspector {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-inspector-copy span, html[data-fcp-theme="dark"] .fcp-harmony-inspector-copy small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-grid-candidate {background:var(--fcp-night-card)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-grid-candidate:hover, html[data-fcp-theme="dark"] .fcp-harmony-grid-candidate.is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-grid-actions span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-stats>div {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-stats strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-stats span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-provider-card {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-provider-card .fcp-provider-icon {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-provider-card span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-provider-card em {background:var(--fcp-night-soft)!important; color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-provider-card.is-pending em {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-progress-bar {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-run-status, html[data-fcp-theme="dark"] .fcp-song-discovery-status {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-run-status.is-success, html[data-fcp-theme="dark"] .fcp-song-discovery-status.is-success {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-discovery-batch-row {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-batch-song span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-batch-row.is-error {border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-candidate {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-candidate.is-exact {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-candidate.is-good {border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-score {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-score span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-candidate p {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-meta, html[data-fcp-theme="dark"] .fcp-discovery-reason {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-reason {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-not-importable {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-import-notice {background:var(--fcp-night-soft)!important; color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-discovery-empty {color:var(--fcp-night-muted)!important; background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-recent-row span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-web-option {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-web-option label {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-web-option span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-discovery-web-snippet {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-web-import-preview {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-web-import-summary strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-web-import-summary span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-web-import-warning {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-web-import-chart {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-chord-clipboard-notice {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-learning-strip {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-learning-strip strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-learning-strip > div:first-child span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-learning-metrics > span {background:var(--fcp-night-card)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-learning-metrics b {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-library-recent-card {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-library-recent-card strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-library-recent-card span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-library-recent-card small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-library-smart-filter {background:var(--fcp-night-card)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-library-smart-filter.is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-benchmark-stats>div {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-benchmark-stats span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-benchmark-errors {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-benchmark-errors summary {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-benchmark-error-list span {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-rephi-bulk-note {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-rephi-bulk-preview {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-rephi-bulk-preview strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-rephi-bulk-preview span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-rephi-bulk-preview ul {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-rephi-bulk-status {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-rephi-bulk-status.is-success {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-rephi-bulk-error {background:var(--fcp-night-soft)!important; color:#ffb4b4!important;}
html[data-fcp-theme="dark"] .fcp-theme-chip {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-service-theme-suggestions {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-service-theme-suggestions>span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-theme-suggestion {background:var(--fcp-night-card)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-theme-suggestion small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-theme-suggestion:hover, html[data-fcp-theme="dark"] .fcp-theme-suggestion.is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-review-item {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-review-item-local strong, html[data-fcp-theme="dark"] .fcp-review-item-best strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-review-item-local span, html[data-fcp-theme="dark"] .fcp-review-item-best span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-review-item-local small, html[data-fcp-theme="dark"] .fcp-review-item-best small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-review-score {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-review-detail {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-review-local-card {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-review-local-card p {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-review-local-card pre, html[data-fcp-theme="dark"] .fcp-review-remote-lyrics {background:var(--fcp-night-soft)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-review-metrics span {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-review-metrics strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-profile-preference-block {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-profile-choice-card {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-profile-choice-card:hover {border-color:var(--fcp-night-line)!important;}
html[data-fcp-theme="dark"] .fcp-profile-choice-card:has(input:checked) {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-profile-select-label select {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-share-link-block {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-share-copy-row input {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-pdf-message {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-pdf-preview {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-pdf-find-existing {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-pdf-pick-existing {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-pdf-pick-existing:hover, html[data-fcp-theme="dark"] .fcp-pdf-pick-existing:focus {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-pdf-pick-existing small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-song-music-adjustments {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-settings-heading strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-settings-heading small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-music-input-row label span, html[data-fcp-theme="dark"] .fcp-music-note-label > span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-music-input-row select {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-music-note-label textarea {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-music-save-status {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-music-save-status.is-saved {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-team-music-settings {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-team-music-settings .fcp-helper {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-team-note-readonly {background:var(--fcp-night-soft)!important; color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-mobile-menu-toggle {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-mobile-menu {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-mobile-menu a {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-guest-tune {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-guest-tune-status {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-harmony-registry-stats>div {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-registry-stats strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-registry-stats span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-registry-filters select {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-registry-table th {background:var(--fcp-night-soft)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-registry-table td small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-pair-controls label {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-harmony-pair-controls input, html[data-fcp-theme="dark"] .fcp-harmony-pair-controls select {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-pair-state, html[data-fcp-theme="dark"] .fcp-pair-progress, html[data-fcp-theme="dark"] .fcp-pair-save-state {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-pair-diagnostic {background:var(--fcp-night-soft)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-pair-requirements li {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-pair-requirements li.is-ready>span:first-child {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-pair-requirements li small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-count {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-transport>span {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-wave {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-wave-empty {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-structure {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-hint {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-group {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-studio-occurrences .is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-review.is-reviewed {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-review-state {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-chord-compare>div {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-chord-compare small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-chord-compare strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-time-row input[type=number] {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-explain {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-marker {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-marker small {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-marker.is-reviewed {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-bulk {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-message {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-lead {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-mode-switch {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-mode {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-mode.is-selected {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-progress-text {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-progress-text strong {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-progress-track {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-guidance {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-guide-heading {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-guide-time {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-loop.is-active {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-question {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-skip {background:var(--fcp-night-card)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-correction {background:var(--fcp-night-soft)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-correction p {color:var(--fcp-night-muted)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-correction-fields label {color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-correction-fields input {background:var(--fcp-night-card)!important; color:var(--fcp-night-ink)!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-complete {background:var(--fcp-night-soft)!important; color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-complete p {color:#85dfbc!important;}
html[data-fcp-theme="dark"] .fcp-studio-v160 .fcp-studio-marker.is-skipped {background:var(--fcp-night-soft)!important;}
}

.fcp-ui-theme-toggle{appearance:none;cursor:pointer;border:1px solid var(--fcp-line,#ccd5e5);border-radius:10px;
 background:var(--fcp-card,#fff);color:var(--fcp-ink,#203452);font:700 12px/1.35 system-ui,sans-serif;
 font-family:inherit;padding:8px 11px;white-space:nowrap;min-height:37px;flex:0 0 auto;}
.fcp-ui-theme-toggle:hover{border-color:var(--fcp-accent,#365cf5)}
.fcp-ui-theme-toggle:focus-visible{outline:3px solid var(--fcp-accent,#365cf5);outline-offset:2px}
.fcp-portal>.fcp-ui-theme-toggle.is-floating{position:fixed;right:16px;top:16px;z-index:150}
.fcp-login-card>.fcp-ui-theme-toggle{margin:10px auto;display:block}
.fcp-studio-v160 .fcp-studio-guided-actions{grid-template-columns:1fr 1fr;gap:8px}
.fcp-studio-v160 .fcp-studio-reject{background:#fff9ef;border-color:#e6cf9b;color:#79521a}
.fcp-studio-v160 .fcp-studio-review.is-rejected{border-color:#e6cf9b;background:#fffdf7}
.fcp-studio-v160 .fcp-studio-marker.is-rejected{border-color:#d5b67d;background:#fff6e6;color:#885e1f}
.fcp-studio-v160 .fcp-studio-decision-help{font-size:11px;line-height:1.5;color:var(--fcp-muted);margin:9px 0 0}
@media(max-width:680px){.fcp-ui-theme-toggle{font-size:11px;padding:7px 9px}.fcp-studio-v160 .fcp-studio-guided-actions{grid-template-columns:1fr}.fcp-studio-v160 .fcp-studio-skip{grid-column:auto}}
@media print {.fcp-ui-theme-toggle{display:none!important}}

html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-step{color:#aabaff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-v160 .fcp-studio-lead{color:#b4c0d4!important}
@media print {
 html[data-fcp-theme="dark"]{--fcp-bg:#fff;--fcp-card:#fff;--fcp-ink:#172033;--fcp-muted:#667085;--fcp-line:#dfe4ec;--fcp-soft:#eef2ff}
 html[data-fcp-theme="dark"] .fcp-portal, html[data-fcp-theme="dark"] body.fcp-standalone-page{background:#fff!important;color:#172033!important;color-scheme:light}
}

.fcp-ui-theme-toggle.is-mobile{display:none}
@media (max-width:800px){
 .fcp-portal .fcp-topbar-inner .fcp-ui-theme-toggle.is-mobile {display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;padding:0;margin-left:auto;font-size:19px}
 .fcp-portal .fcp-topbar-inner .fcp-brand {min-width:0}
}
@media print {.fcp-ui-theme-toggle.is-mobile{display:none!important}}

/* Alpha18 — repair the original WHITE gradient overriding the shared dark palette. */
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel {
  background:linear-gradient(180deg,#202e47 0%,#1b2940 100%)!important;
  border-color:#3d4e6a!important;
  color:var(--fcp-night-ink)!important;
}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-eyebrow {color:#abbcff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-harmony-proposal strong {color:#a3b9ff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-start-row .fcp-button-primary {color:#fff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-section-work {background:#1a283e;border-color:#40516a;color:#eaf0fb}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-section-work-head p,
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-section-work-head label,
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-section-status {color:#bdcae0!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-guided-navigation {border-color:#40516a}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-reconsider {background:#4b392e!important;border-color:#b89960!important;color:#ffe6bc!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-studio-range-select {background:#17263d;color:#f1f5ff;border-color:#52617b}
html[data-fcp-theme="dark"] .fcp-portal .fcp-profile-choice-card:has(input:checked) {outline:1px solid #8b9fff;border-color:#8b9fff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-profile-preference-block {border-color:#40516a}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-progress {border-color:#40516a}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-harmony-badge {color:#c3cfff!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-learning-strip {border-color:#40516a!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-learning-metrics>span {border-color:#40516a!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-panel-head-front p {color:#b4c0d4!important}
/* Improve contrast of contextual labels on old Harmony panels. */
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-harmony-learning-strip>div:first-child span,
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-harmony-source-label,
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-harmony-grid-actions span {color:#c4d0e4!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-panel-head-front p {font-size:12px!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-engine-panel .fcp-harmony-source-label {font-size:11px!important}
html[data-fcp-theme="dark"] .fcp-portal .fcp-harmony-learning-strip > div:first-child span {font-size:11px!important}
