:root{color-scheme:light}html[data-theme=dark]{color-scheme:dark;--mb-text:#e5e9ef;--mb-muted:#a0adbf;--mb-line:#333e4e;--mb-blue:#a7c7ff;--blue:#a7c7ff;--line:#333e4e;background:#141820;color:#e5e9ef}html[data-theme=dark] body{background:#141820;color:#e5e9ef}
.ministry-appearance-toggle{font:inherit;font-size:11px;min-height:36px;padding:6px 9px;background:#fff;color:#175cd3;border:1px solid #dce3ec;border-radius:9px;white-space:nowrap;margin-left:auto}.v2-header:has(.ministry-appearance-toggle){flex-wrap:wrap}.intro:has(.ministry-appearance-toggle){display:flex;align-items:center;gap:8px}
html[data-theme=dark] :is(.v2-app,.tools-main,.eval-app,.live-app,.wrap,.ministry-overview,#warmEvaluationView,#warmToolsView,.v2-tabs){background:#141820!important;color:#e5e9ef!important}
html[data-theme=dark] :is(.card,.eval-card,.live-card,.notes-entry,.group-pick,.grid,.kv,.note-item,.source-folder,.source-item,.hub-resource,.mo-card,.mo-resource,.live-roles label,.readiness-card,.readiness-item,.lighting-mode,dialog,.service-week-menu,.sermon-reading-controls){background:#1c232e!important;border-color:#333e4e!important;color:#e5e9ef!important}
html[data-theme=dark] :is(h1,h2,h3,h4,b,strong,label,summary){color:inherit}
html[data-theme=dark] :is(.muted,small,.kv span,.live-meta,.sc-caption,.personal-cue-pic,.personal-note-status,.personal-note-head,.readiness-caption,.mo-subtitle){color:#a0adbf!important}
html[data-theme=dark] :is(a,.back,.source-toggle,.personal-cue-notes summary,.personal-cue-body button){color:#a7c7ff}
html[data-theme=dark] :is(input,textarea,select){background:#141820!important;color:#e5e9ef!important;border-color:#4a5b73!important}html[data-theme=dark] ::placeholder{color:#9faec1!important}
html[data-theme=dark] :is(button,.service-pick button,.team-pick button,.icon-button,.search-result){background:#222d3c;color:#cad7e8;border-color:#3d4b60}
html[data-theme=dark] :is(button[aria-pressed=true],button[aria-selected=true],button.selected,button.current,.pill,.version,.live-cue-button,.personal-note-entry,.sc-colored-heading){background:#263a58!important;color:#b2ceff!important;border-color:#526f96!important}
html[data-theme=dark] :is(.primary,.live-primary,.quick-evaluation,.personal-note-actions button:first-child){background:#2765c9!important;color:#fff!important}
html[data-theme=dark] :is(td,th,.song,.live-song-line,.lighting-phase,.source-body,.live-note,.sc-report,.sc-summary-overview){border-color:#333e4e!important}html[data-theme=dark] th{background:#252e3c;color:#c2cedd}html[data-theme=dark] td:first-child{color:#b8c4d4}
html[data-theme=dark] :is(.v2-cue-target,.song details p,.sermon-bible-text,.sermon-reading-text,pre){color:#e5e9ef!important;background:transparent}
html[data-theme=dark] :is(.team-status-confirmed .team-status-title,.ready,.success){background:#193b31!important;color:#b4e2c7!important}html[data-theme=dark] :is(.team-status-tbc .team-status-title,.warning,.practice-banner,.warn){background:#463719!important;color:#f4d68f!important}html[data-theme=dark] .team-status-unassigned .team-status-title{background:#29313e;color:#bac7d7}
html[data-theme=dark] .ministry-dock{background:#202833!important;border-color:#3b4757!important;box-shadow:0 6px 22px #0005}html[data-theme=dark] .ministry-dock:before{background:none}html[data-theme=dark] .ministry-dock a{text-shadow:none;color:#b8c4d4}html[data-theme=dark] .ministry-dock a[aria-current=page]{background:#2b3c57!important;color:#b2ceff;box-shadow:none}
html[data-theme=dark] :is(.personal-note-entry,.sc-evaluation-heading){background:#222e3f!important;color:#d9e3ef!important}html[data-theme=dark] .sc-solution-heading{background:#1d3b33!important;color:#c5e8d3!important}
html[data-theme=dark] .ministry-appearance-toggle{background:#1c232e;color:#a7c7ff;border-color:#333e4e}
/* Quiet navigation: preserve transparent controls instead of painting every button. */
html[data-theme=dark] .v2-app .v2-tabs button,html[data-theme=dark] .v2-app .v2-tabs button[aria-selected=true]{background:transparent!important;box-shadow:none!important;border-top:0!important;border-left:0!important;border-right:0!important;color:#a0adbf!important;border-bottom-color:transparent!important}
html[data-theme=dark] .v2-app .v2-tabs button[aria-selected=true]{color:#b2ceff!important;border-bottom-color:#9ab7df!important}
html[data-theme=dark] .v2-app .group-pick button{background:transparent!important;border:0!important;color:#a0adbf!important}
html[data-theme=dark] .v2-app .group-pick button[aria-pressed=true]{background:#2b3442!important;color:#e5e9ef!important}
html[data-theme=dark] .v2-app .icon-button{background:transparent!important;box-shadow:none!important}
html[data-theme=dark] .v2-app .live-cue-button{background:transparent!important;border-color:#46566d!important;color:#a7c7ff!important}
html[data-theme=dark] .ministry-dock a[aria-current=page]{background:#2b3442!important;color:#c5d8f5!important}
html[data-theme=dark] .v2-app .service-home-controls button{background:transparent!important;box-shadow:none!important;border:0!important;color:#a7c7ff!important}
html[data-theme=dark] .v2-app .personal-cue-body .personal-add,html[data-theme=dark] .v2-app .personal-note-head button{background:transparent!important;box-shadow:none!important}

/* Home uses text rows on their parent surface, including iOS focus/active states. */
html[data-theme=dark] .ministry-overview :is(.mo-week-groups button,.mo-resource,.mo-link,.mo-dialog-top button,.mo-week-details summary),
html[data-theme=dark] .ministry-overview :is(.mo-week-groups button,.mo-resource,.mo-link,.mo-dialog-top button):is(:hover,:focus,:active){background:transparent!important;box-shadow:none!important}
