/* Контраст тексту — згенеровано сканером по всіх екранах CRM (у кожного кольору той самий відтінок, лише темніший/світліший до читабельного).
   Правило: текст має відрізнятися від фону щонайменше в 4.2 раза (великий/жирний — у 3). */
:root[data-theme="light"] #main div.row3 > label > span.ch-tg{color:#097ab7!important}
:root[data-theme="light"] #main div.isl-bar > span.isl-dl{color:#5e7d99!important}
:root[data-theme="light"] #main div.isl-axl > b{color:#5e7d99!important}
:root[data-theme="light"] #main div.isl-p > span{color:#5e7d99!important}
:root[data-theme="light"] #main div.isl-b.now > b{color:#0068cc!important}
:root[data-theme="light"] #main div.isl-b.now > span{color:#0068cc!important}
:root[data-theme="light"] #main div.isl-p > span.okt{color:#148d32!important}
:root[data-theme="light"] #main div.isl-leg > span{color:#5e7d99!important}
:root[data-theme="light"] #main div.ai-h > span.muted.small{color:#5e7d99!important}
:root[data-theme="light"] #main div.ai-fl > button > em{color:#56728d!important}
:root[data-theme="light"] #main div.ask-cats > button{color:#56728d!important}
:root[data-theme="light"] #main div.pnl-net.bad > div > b{color:#df766e!important}
:root[data-theme="light"] #main header.vh.lv-head > h1 > span.lv-live{color:#c5362c!important}
:root[data-theme="light"] #main div.pl-post > div > span.small{color:#527fa4!important}
:root[data-theme="light"] #main div.pl-jt > b.lv-t{color:#527fa4!important}
:root[data-theme="light"] #main div.pl-job > span.due-chip.over{color:#e73524!important}
:root[data-theme="light"] #main div.bd-sum > span{color:#587590!important}
:root[data-theme="light"] #main div.bd-sum > span > b{color:#4775a3!important}
:root[data-theme="light"] #main div.bd-sum > span.over{color:#da2818!important}
:root[data-theme="light"] #main span.over > b{color:#da2818!important}
:root[data-theme="light"] #main button.f-over > em{color:#56728d!important}
:root[data-theme="light"] #main div.bd-fl > button > em{color:#56728d!important}
:root[data-theme="light"] #main div.bcol-t > span{color:#587590!important}
:root[data-theme="light"] #main div.bcard > div.bc-cl{color:#5e7d99!important}
:root[data-theme="light"] #main div.bc-pr > span{color:#5e7d99!important}
:root[data-theme="light"] #main div.bc-pr > span.bc-ms{color:#4f809c!important}
:root[data-theme="light"] #main div.bc-f > span.bc-ns{color:#5e7d99!important}
:root[data-theme="light"] #main div.bcard.due-over > div.bc-cl{color:#5e7d99!important}
:root[data-theme="light"] #main div.bc-cl > em{color:#597f96!important}
:root[data-theme="light"] #main div.bcard.due-over > span.due-chip.over{color:#e73524!important}
:root[data-theme="light"] #main div.bc-f > span.bc-fl.warn{color:#9a6d0d!important}
:root[data-theme="light"] #main div.bc-pr > span.bc-ms.none{color:#5e7d99!important}
:root[data-theme="light"] #main div.bcard > div.bc-cmp{color:#5e7d99!important}
:root[data-theme="light"] #main span.ib-r2 > span.mt-ch{color:#137c3a!important}
:root[data-theme="light"] #main div.ib-ids > div > span.mt-ch{color:#14853e!important}
:root[data-theme="light"] #main span.sc-tags > i.pt{color:#8d630b!important}
:root[data-theme="light"] #main div.wc-part > div.wc-eta{color:#9c6c0c!important}
:root[data-theme="light"] #main span.pd-it-m > em{color:#56728d!important}
:root[data-theme="light"] #main span.pd-it-m > em.pd-due.over{color:#d52717!important}
:root[data-theme="light"] #main span.pd-it-m > em.pd-due.today{color:#91660c!important}
:root[data-theme="light"] #main div.pd-empty > p{color:#5e7d99!important}
:root[data-theme="light"] #main div.seg.st-tabs > button > em{color:#6e6e6e!important}
:root[data-theme="light"] #main h3.sk-gh > span.muted{color:#587590!important}
:root[data-theme="light"] #main div.kb-ch > div > span.kb-catp{color:#1472ff!important}
:root[data-theme="light"] #main div.kb-n-by > b > i.kb-av{color:#334954!important}
:root[data-theme="light"] #main div.lv-req > span.po-av{color:#454545!important}
:root[data-theme="light"] #main div.lv-rt > span.lv-t{color:#527fa4!important}
:root[data-theme="light"] #main div.lv-bal > small.lv-p{color:#96711d!important}
:root[data-theme="light"] #main div.lv-soon > div > span.lv-t{color:#d44a40!important}
:root[data-theme="light"] #main div.lv-soon > div > span.lv-st{color:#45876e!important}
:root[data-theme="light"] #main div.kpi.rq-k.hot > b{color:#c9870b!important}
:root[data-theme="light"] #main .rq-sec.hot div.rq-sh > h3{color:#ba7e0b!important}
:root[data-theme="light"] #main .rq-c.hot div.rq-h > b.rq-code{color:#c9870b!important}
:root[data-theme="light"] #main div.rq-h > span.rq-src.pg{color:#0077d6!important}
:root[data-theme="light"] #main .rq-c.hot div.rq-what > b{color:#c9870b!important}
:root[data-theme="light"] #main div.rq-h > span.rq-src.bot{color:#22874a!important}
/* ручні: стан запиту деталі, кнопка «Приїхала», дата-плитка */
:root[data-theme="light"] .wc-steps .cur span{color:#8a5a00!important}:root[data-theme="light"] .wc-steps .cur i{background:#c08a2e!important;box-shadow:none!important}
:root[data-theme="light"] .wc-steps .done span{color:#53646f!important}:root[data-theme="light"] .wc-steps .done i{background:#c08a2e80!important}
:root[data-theme="light"] .sc .wc-pa button.ok{background:#178a47!important;color:#fff!important}
:root[data-theme="light"] .sc .wc-eta{color:#8a5a00!important;background:#f3d38f40!important}
:root[data-theme="light"] .rq-cal small{background:#2f6fd0!important;color:#fff!important}:root[data-theme="light"] .rq-c.hot .rq-cal small{background:#b8711f!important}
/* темна тема: білий текст на середньо-синьому — затемнюємо сам фон */
:root:not([data-theme="light"]) :is(.sc .wc-row.me .wc-b,.sc-f em,.sc-r em,.seg.st-tabs button em,.lv.l1,.rq-cal small){background:#3a74d4!important;color:#fff!important}
:root:not([data-theme="light"]) .sc .wc-row.me .wc-b small{color:#ffffffc0!important;opacity:1!important}

:is(.lv-m) .po-av{color:#fff!important}
:root[data-theme="light"] #main .bd-fl button.on{background:#0c1115!important;color:#fff!important;opacity:1!important}:root[data-theme="light"] #main .bd-fl button.on :is(em,.ic){color:#ffffffb0!important;opacity:1!important}
