/* СГЕНЕРИРОВАНО scripts/gen-dark-theme.mjs — не править руками (OpenSpec add-dark-theme).
   Тёмные значения для цветов, записанных прямо в стилях нового интерфейса и Delivery Office. */

/* ── public/initiatives/v2/index.html ── */
:where(html[data-theme="dark"]) .auth-overlay { background: linear-gradient(145deg, #221b41 0%, #192f43 50%, #252837 100%); }
:where(html[data-theme="dark"]) .header-user-badge { background: #1d3f2f; color: #8ef6d6; }
:where(html[data-theme="dark"]) .attr-pill.cl-pill-new { background: #1d3f28; color: #9ce7ba; }
:where(html[data-theme="dark"]) .attr-pill.cl-pill-improved { background: #221b41; color: #b897ec; }
:where(html[data-theme="dark"]) .btn-danger { background: #431926; border: 1.5px solid #6f2a40; }
:where(html[data-theme="dark"]) .btn-danger:hover { background: #431928; }
:where(html[data-theme="dark"]) .rt-pill.tle-save-view { background: #213b2c; border-color: #3c5d4b; color: #8ef6c2; }
:where(html[data-theme="dark"]) .rt-pill.tle-save-view:hover { background: #23392c; }
:where(html[data-theme="dark"]) .section-badge.tle-stage-5 { background: #252b37; color: #b3b8d4; }
:where(html[data-theme="dark"]) .section-badge.tle-cancelled { background: #411b1b; color: #f391ac; }
:where(html[data-theme="dark"]) .section-badge.tle-onec-gray { background: #252b37; color: #b3b8d4; }
:where(html[data-theme="dark"]) .section-badge.tle-onec-lightgreen { background: #1e3e29; color: #9ae9b8; }
:where(html[data-theme="dark"]) .tle-dor-value.done { color: #8ef6c2; }
:where(html[data-theme="dark"]) .type-epic { background: #1a2b41; color: #93acf1; }
:where(html[data-theme="dark"]) .type-feature { background: #1a3e42; color: #8fdef4; }
:where(html[data-theme="dark"]) .type-story { background: #1d3f2d; color: #8ef6d9; }
:where(html[data-theme="dark"]) .type-architectural { background: #423a1a; color: #f4b68f; }
:where(html[data-theme="dark"]) .children-popup { background: #171a2e; border: 1px solid #2b3050; }
:where(html[data-theme="dark"]) .children-popup-header { border-bottom: 1px solid #2b3050; background: #171a2e; }
:where(html[data-theme="dark"]) .children-popup-close:hover { background: #252a44; color: #e8eaf6; }
:where(html[data-theme="dark"]) .children-popup-item { border-bottom: 1px solid #2b3050; }
:where(html[data-theme="dark"]) .children-popup-item:hover { background: #252a44; }
:where(html[data-theme="dark"]) .children-popup-item-title { color: #e8eaf6; }
:where(html[data-theme="dark"]) .form-row.field-error input, :where(html[data-theme="dark"]) .form-row.field-error textarea, :where(html[data-theme="dark"]) .form-row.field-error select { background: #431922; }
:where(html[data-theme="dark"]) .ref-status-implemented { background: #1d3f2d; color: #8ef6d9; }
:where(html[data-theme="dark"]) .ref-status-cancelled { background: #411b1b; color: #ed9797; }
:where(html[data-theme="dark"]) .alert-warning { background: #433a19; border: 1px solid #6e602b; color: #f4b68f; }
:where(html[data-theme="dark"]) .alert-error { background: #431926; border: 1px solid #6f2a40; color: #f391ac; }
:where(html[data-theme="dark"]) .alert-success { background: #1e3e28; border: 1px solid #32674f; color: #8ef6d9; }
:where(html[data-theme="dark"]) .alert-info { background: #192b43; border: 1px solid #2b496e; color: #97abed; }
:where(html[data-theme="dark"]) .title-ai-status.errors { background: #433a19; color: #f1b592; }
:where(html[data-theme="dark"]) .title-ai-status.success { background: #1e3e28; color: #8ef6d9; border: 1px solid #32674f; }
:where(html[data-theme="dark"]) .file-item-del:hover { background: #431926; }
:where(html[data-theme="dark"]) .comment-yt-badge { background: #2d1943; }
:where(html[data-theme="dark"]) .comment-yt-pending { color: #f4b68f; background: #423a1a; }
:where(html[data-theme="dark"]) .comment-del:hover { background: #431926; }
:where(html[data-theme="dark"]) .onec-summary { background: #431926; border: 1px solid #6f2a40; color: #f391b4; }
:where(html[data-theme="dark"]) .onec-badge-simple { background: #1b3241; color: #8ed1f6; }
:where(html[data-theme="dark"]) .onec-badge-complex { background: #221b41; }
:where(html[data-theme="dark"]) .onec-badge-architectural { background: #423a1a; color: #f4b68f; }
:where(html[data-theme="dark"]) .onec-badge-state { background: #423a1a; color: #f4b68f; }
:where(html[data-theme="dark"]) .onec-state-select { background-color: #423a1a; color: #f4b68f; border: 1px solid #6e602b; }
:where(html[data-theme="dark"]) .onec-dor.done { color: #8ef6c2; }
:where(html[data-theme="dark"]) .onec-overquota-badge { background: #431926; color: #f391b4; border: 1px solid #6f2a40; }
:where(html[data-theme="dark"]) .onec-quota-chip.over { background: #431926; border: 1px solid #6f2a40; }
:where(html[data-theme="dark"]) .onec-column.drag-over-invalid { background: #431926; outline-color: #6f2a40; }
:where(html[data-theme="dark"]) .bl-quad-urgent_important { background: #431926; color: #f391ac; }
:where(html[data-theme="dark"]) .bl-quad-important_not_urgent { background: #1e3e28; color: #8ef6d9; }
:where(html[data-theme="dark"]) .bl-quad-urgent_not_important { background: #413d1b; color: #f4b68f; }
:where(html[data-theme="dark"]) .oreq-intro { border: 1px solid #433069; color: #b6a0e4; }
:where(html[data-theme="dark"]) .oreq-highlight { background: #433419; }
:where(html[data-theme="dark"]) .oreq-highlight .oreq-check { color: #f6ce8e; }
:where(html[data-theme="dark"]) .oreq-row-err td { background: #431924; }
:where(html[data-theme="dark"]) .oreq-cell-err { background: #431926; }
:where(html[data-theme="dark"]) .oreq-done-mark { background: #23392d; }
:where(html[data-theme="dark"]) .mx-good { background: #203c30; color: #8ef6d8; }
:where(html[data-theme="dark"]) .mx-bad { background: #3f1d23; color: #f48fa8; }
:where(html[data-theme="dark"]) .mx-insight.mx-good .mx-dot { background: #203c30; color: #8ef6d8; }
:where(html[data-theme="dark"]) .mx-insight.mx-bad .mx-dot { background: #3f1d23; color: #f48fa8; }
:where(html[data-theme="dark"]) .hp-difftext ins.hp-d-ins { background: #1d3f28; color: #9ce7ba; }
:where(html[data-theme="dark"]) .hp-difftext del.hp-d-del { background: #411b1b; color: #ed9797; }
:where(html[data-theme="dark"]) .attr-pill.od-r-bad { background: #3f1d23; color: #f48fa8; }
:where(html[data-theme="dark"]) .attr-pill.od-r-warn { background: #41381b; color: #f4b68f; }
:where(html[data-theme="dark"]) .od-quota-over { color: #f48fa8; }
:where(html[data-theme="dark"]) .ops-flag { color: #f391ac; background: #431922; }
:where(html[data-theme="dark"]) .ops-route-err { color: #f391ac; background: #431926; }
:where(html[data-theme="dark"]) .ops-card-blocked { background: #411b1b; border-color: #6d2c2c; }
:where(html[data-theme="dark"]) .ops-card-blocked:hover { background: #421a1a; }
:where(html[data-theme="dark"]) .ops-card-blocked .attr-pill { background: #171a2e; }
:where(html[data-theme="dark"]) .ops-blocked-val { color: #ef9595; }
:where(html[data-theme="dark"]) .ops-sync-err { color: #f4b68f; background: #423a1a; }
:where(html[data-theme="dark"]) .ops-prio-critical { background: #411b1b; color: #ef9595; }
:where(html[data-theme="dark"]) .ops-prio-minor, :where(html[data-theme="dark"]) .ops-prio-trivial { background: #252937; }
:where(html[data-theme="dark"]) .ops-age-warn { background: #423a1a; color: #f4b68f; }
:where(html[data-theme="dark"]) .ops-age-overdue { background: #411b1b; color: #ef9595; }
:where(html[data-theme="dark"]) .bl-thumb-del { background: rgba(24,28,47,0.92); }
:where(html[data-theme="dark"]) .onec-decomp-dot.active-work { background: #432b19; color: #f6b08e; border: 1px solid #6f492a; }
:where(html[data-theme="dark"]) .onec-badge-inwork { background: #432b19; color: #f6b08e; border: 1px solid #6f492a; }
:where(html[data-theme="dark"]) .onec-decomp-badge.active-work { background: #432b19; color: #f6b08e; border: 1px solid #6f492a; }
:where(html[data-theme="dark"]) .onec-state-dropdown-del:hover { background: #411b1b; }
:where(html[data-theme="dark"]) .perm-switch { background: #252837; }
:where(html[data-theme="dark"]) .perm-switch span { background: #171a2e; }
:where(html[data-theme="dark"]) .st-new { background: #252b37; color: #b3b8d4; }
:where(html[data-theme="dark"]) .st-cancelled { background: #411b1b; color: #f391ac; }
:where(html[data-theme="dark"]) .attr-pill.ops-prio-critical { background: #411b1b; color: #ef9595; }
:where(html[data-theme="dark"]) .attr-pill.bl-quad-urgent_important { background: #431922; color: #f391ac; }
:where(html[data-theme="dark"]) .attr-pill.bl-quad-important_not_urgent { background: #1d3f2b; color: #8ef6d9; }
:where(html[data-theme="dark"]) .attr-pill.bl-quad-urgent_not_important { background: #41381b; color: #f4b68f; }
:where(html[data-theme="dark"]) .inbox-tag { background: #433019; color: #f6ac8e; }
:where(html[data-theme="dark"]) .p2-text-bad { color: #f48fa8; }
:where(html[data-theme="dark"]) .p2-text-ok { color: #8ef6d8; }
:where(html[data-theme="dark"]) .attr-pill.p2-lbl-green, :where(html[data-theme="dark"]) .attr-pill.p2-rag-green, :where(html[data-theme="dark"]) .attr-pill.p2-flag-ok { background: #1d3f28; color: #9ce7ba; }
:where(html[data-theme="dark"]) .attr-pill.p2-lbl-yellow, :where(html[data-theme="dark"]) .attr-pill.p2-rag-yellow, :where(html[data-theme="dark"]) .attr-pill.p2-flag-warn { background: #423a1a; color: #f1b592; }
:where(html[data-theme="dark"]) .attr-pill.p2-lbl-red, :where(html[data-theme="dark"]) .attr-pill.p2-rag-red, :where(html[data-theme="dark"]) .attr-pill.p2-flag-red { background: #411b1b; color: #ed9797; }
:where(html[data-theme="dark"]) .attr-pill.p2-lbl-mandatory { background: #192343; color: #a5a0e3; }
:where(html[data-theme="dark"]) .attr-pill.p2-ms-done { background: #1d3f28; color: #9ce7ba; }
:where(html[data-theme="dark"]) .attr-pill.p2-ms-slipping { background: #423a1a; color: #f1b592; }
:where(html[data-theme="dark"]) .attr-pill.p2-dec-approve, :where(html[data-theme="dark"]) .attr-pill.p2-dec-cr_approve, :where(html[data-theme="dark"]) .attr-pill.p2-dec-resume { background: #1d3f28; color: #9ce7ba; }
:where(html[data-theme="dark"]) .attr-pill.p2-dec-reject, :where(html[data-theme="dark"]) .attr-pill.p2-dec-cancel, :where(html[data-theme="dark"]) .attr-pill.p2-dec-cr_reject { background: #411b1b; color: #ed9797; }
:where(html[data-theme="dark"]) .attr-pill.p2-dec-rework, :where(html[data-theme="dark"]) .attr-pill.p2-dec-pause { background: #423a1a; color: #f1b592; }
:where(html[data-theme="dark"]) .p2-score-hi { background: #1d3f28; color: #9ce7ba; }
:where(html[data-theme="dark"]) .p2-score-mid { background: #1b3241; color: #91cff3; }
:where(html[data-theme="dark"]) .p2-score-lo { background: #411b1b; color: #ed9797; }
:where(html[data-theme="dark"]) .p2-pay.p2-lbl-green .p2-dot { color: #93f0b6; }
:where(html[data-theme="dark"]) .p2-pay.p2-lbl-yellow .p2-dot { color: #f6c58e; }
:where(html[data-theme="dark"]) .p2-field.p2-missing > .p2-field-head > label::after, :where(html[data-theme="dark"]) .p2-field.p2-missing > .p2-field-head > .p2-label::after, :where(html[data-theme="dark"]) .p2-field.p2-missing > label::after { color: #f48fa8; background: #411b1b; }
:where(html[data-theme="dark"]) .p2-how.p2-how-miss { background: #431922; }
:where(html[data-theme="dark"]) .p2-rag-opt.p2-rag-green:has(input:checked) { background: #1d3f28; }
:where(html[data-theme="dark"]) .p2-rag-opt.p2-rag-yellow:has(input:checked) { background: #423a1a; }
:where(html[data-theme="dark"]) .p2-rag-opt.p2-rag-red:has(input:checked) { background: #411b1b; }
:where(html[data-theme="dark"]) .p2-tab-mark { background: #433419; color: #f6cd8e; }
:where(html[data-theme="dark"]) .p2-save-note { color: #f6d28e; }
:where(html[data-theme="dark"]) .p2-path li.done::before { color: #92f2bc; }
:where(html[data-theme="dark"]) .p2-next-check li.done .p2-check-ico { color: #92f2bc; }

/* ── public/initiatives/pmo/pmo.css ── */
:where(html[data-theme="dark"]) .pmo-flash { background: #433a19; }
:where(html[data-theme="dark"]) .pmo-demo-note blockquote { background: #433a19; color: #f4b68f; }
:where(html[data-theme="dark"]) .pmo-example { background: linear-gradient(180deg, #433a19 0, var(--bg2) 120px); }
:where(html[data-theme="dark"]) .pmo-demo-flag { color: #f4b68f; background: #423a1a; border: 1px solid #6e602b; }
:where(html[data-theme="dark"]) .pmo-queue-item.overdue { border-color: #6e2b2b; background: #431919; }
:where(html[data-theme="dark"]) .pmo-flag.warn { background: #433419; color: #f6c78e; }
:where(html[data-theme="dark"]) .pmo-flag.bad { background: #431924; color: #f192aa; }
:where(html[data-theme="dark"]) .pmo-stale.amber { color: #f6c78e; }
:where(html[data-theme="dark"]) .pmo-art-status.s-accepted { background: #22392d; color: #8ef6c2; }
:where(html[data-theme="dark"]) .pmo-art-status.s-needs_update { background: #432819; color: #f0ad94; }
:where(html[data-theme="dark"]) .pmo-art-status.s-in_review { background: #192843; color: #93b2f0; }
:where(html[data-theme="dark"]) .pmo-dor { background: #433419; color: #f6c78e; }
:where(html[data-theme="dark"]) .pmo-dor.ok { background: #22392d; color: #8ef6c2; }
:where(html[data-theme="dark"]) .pmo-dor-items li { background: #433419; color: #f6c78e; }
:where(html[data-theme="dark"]) .pmo-dor-items li.ok { background: #22392d; color: #8ef6c2; }
:where(html[data-theme="dark"]) .pmo-dor-items li.soft { background: #252a44; }
:where(html[data-theme="dark"]) .pmo-dor-items li.soft.ok { background: #22392d; color: #8ef6c2; }
:where(html[data-theme="dark"]) .pmo-gate-list li.ok { color: #8ef6c2; }
:where(html[data-theme="dark"]) .pmo-gate-list li.bad { color: #f192aa; }
:where(html[data-theme="dark"]) .pmo-bcard-flags span { background: #433419; color: #f6c78e; }
:where(html[data-theme="dark"]) .pmo-row-warn td { background: #432d19; }
:where(html[data-theme="dark"]) .pmo-file-pdf { background: #3f1d23; color: #f48fa8; }
:where(html[data-theme="dark"]) .pmo-file-doc { background: #192943; color: #93acf1; }
:where(html[data-theme="dark"]) .pmo-file-xls { background: #22392d; color: #8ef6d8; }
:where(html[data-theme="dark"]) .pmo-file-ppt { background: #433119; color: #f6ac8e; }
:where(html[data-theme="dark"]) .pmo-file-del:hover { background: #3f1d23; color: #f48fa8; }
:where(html[data-theme="dark"]) .pmo-file-up.is-error { background: #43191e; }
:where(html[data-theme="dark"]) .pmo-file-err { color: #f48fa8; }
:where(html[data-theme="dark"]) .pmo-picker-epic { background: #192943; color: #93acf1; }
:where(html[data-theme="dark"]) .pmo-picker-feature { background: #22392d; color: #8ef6d8; }
:where(html[data-theme="dark"]) .pmo-picker-onec { background: #423a1a; color: #f4b68f; }
:where(html[data-theme="dark"]) .pmo-picker-title mark { background: #675f23; }
:where(html[data-theme="dark"]) .work-cancel-count.ok { color: #8ef6d8; }
:where(html[data-theme="dark"]) .work-cancelled { border: 1px solid #6e2b34; background: #43191d; }
:where(html[data-theme="dark"]) .work-cancelled-tracker { color: #f2aa91; background: #433019; }
:where(html[data-theme="dark"]) .btn-cancel-work { color: #f48fa8; border-color: #6e2b34; }
:where(html[data-theme="dark"]) .btn-cancel-work:hover { background: #43191c; }
:where(html[data-theme="dark"]) .pmo-badge-overdue { background: #411b1b; color: #ef9595; border-color: #6e2b2b; }
