/* Theme Readability R1. Screen-only colour corrections; print palettes stay separate. */
@media screen {
body .budget-summary strong{color:var(--tk-text)}
body .photo-placeholder{background:var(--tk-table-head);color:var(--tk-text);border-color:var(--tk-border);box-shadow:none}
body .photo-sync-note,body .profile-tabs span.muted{background:var(--tk-table-head)!important;color:var(--tk-muted)!important;border-color:var(--tk-border)}
body .tier-label small{color:var(--tk-muted)}
html body :is(.tk-tile small,.sd-link small,.sd-message small,.sd-suggestions a small,.tk-launcher-intro p){color:var(--tk-muted)!important;opacity:1!important}
body .connected-hierarchy .tier-person .reports-to.warning{color:#825000}
html[data-tk-theme=dark] body .connected-hierarchy .tier-person .reports-to.warning{color:#ffd58a!important}
html[data-tk-theme=dark] body :is(.topbar-wordmark,.release-version,.text-danger-button,summary,.filter-tabs b){color:var(--tk-accent)!important}
html[data-tk-theme=dark] body :is(.pipeline-column,.pipeline-card,.read-only-field,.health-strip span,.count-badge){background:var(--tk-panel)!important;color:var(--tk-text)!important;border-color:var(--tk-border)!important}
html[data-tk-theme=dark] body :is(.pipeline-column-head strong,.pipeline-card strong,.read-only-field strong,.health-strip b){color:var(--tk-text)!important}
html[data-tk-theme=dark] body .pipeline-column-head span{background:var(--tk-table-head);color:var(--tk-text)}
html[data-tk-theme=dark] body :is(.filter-tabs a.active,.finance-tabs a.active){background:#9d0c23!important;color:#fff!important;border-color:#ff8096!important}
html[data-tk-theme=dark] body .filter-tabs a.active b{color:#fff!important}
html[data-tk-theme=dark] body :is(.notice.good,.notice.good p,.notice.good small,.notice.good strong,.notice.good span){background:#14352c!important;color:#a3e7c9!important;border-color:#527b6a}
html[data-tk-theme=dark] body :is(.notice.bad,.notice.bad p,.notice.bad small,.notice.bad strong,.notice.bad span){background:#381e2a!important;color:#ffb4c0!important;border-color:#9d6975}
html[data-tk-theme=dark] body :is(.notice.warning,.notice.warning p,.notice.warning small,.notice.warning strong,.notice.warning span){background:#3d301b!important;color:#ffd58a!important;border-color:#9d824e}
/* Give the gradient a real dark fallback and readable secondary annotations. */
body .tk73-board{background-color:#101c2e}
html body .tk73-board :is(.tk73-note,.tk73-muted,.tk73-meter-sub,.tk73-stage-detail,.tk73-caption){color:#b7c8dc!important}
}
