/* Shared text hierarchy: dark content, clear supporting text, red actions. */
:root{--ink:#292631;--muted:#625a6b;--text-primary:#292631;--text-secondary:#514958;--text-muted:#625a6b;--text-action:#b32944}
.page-heading h1{color:var(--text-primary);font-weight:650}
.panel-heading h2,.dialog-head h2,.toolbar-dialog .dialog-head h2,.source-detail h3,.detail-meta strong,.empty strong{color:var(--text-primary)}
.job-title{color:var(--text-primary);font-weight:650}
td{color:#3f3748}
.job-name{color:#494050;font-weight:500}
thead,th{color:var(--text-secondary);font-weight:600}
.job-sub,.time-cell,.pagination,.export-preview .job-sub{color:#5d5366}
.page-heading p,.panel-heading p,.panel-note,.chart-foot,.source-line,.connection-banner p,.source-detail p,.detail-body p,.helper,.toolbar-dialog .helper,.form-body label,.detail-meta p,.detail-body h3{color:var(--text-secondary)}
.connection-banner strong{color:#423849;font-weight:600}
.sidebar nav button,.header-right a,.workspace-shortcuts button:not(.shortcut-all){color:var(--text-secondary)}
.brand-sub,.workspace,.workspace>span:last-child,.sidebar .nav-caption,.sidebar-bottom,.sidebar-bottom small,.local-icon,.header-right>span,.year-badge,.workspace-toolbar .year-badge,.quick-cities-empty,footer,footer b{color:var(--text-muted)}
.sidebar nav small{color:var(--text-secondary)}
.sidebar nav button.active{color:var(--text-action)}
.sidebar nav button.active small{color:#fff}
.header-search,.header-icon:not(.add),.toolbar-tools,.toolbar-tools .button,.workspace-shortcuts .shortcut-symbol{color:var(--text-muted)}
.header-search input,.search input,.filters select,.form-body input,.form-body select,.form-body textarea,.copy-fallback{color:var(--text-primary)}
.header-search input::placeholder,.search input::placeholder,.form-body input::placeholder{color:#665d70;opacity:1}
.search span{color:var(--text-muted)}
.button:not(.primary):not(.close),.heading-actions .button:not(.primary),.source-summary .button{color:var(--text-secondary)}
.text-button,.detail-button,.source-link,.source-detail a,.detail-body a,.official-source-card a,.connection-banner>.text-button{color:var(--text-action)}
.metric>div,.metric p,.metric:first-child p,.metric strong small{color:var(--text-secondary)}
.metric>strong,.metric:first-child>strong{color:var(--text-primary)}
.metric:nth-child(3)>strong{color:var(--text-action)}
.metric.accent>div,.metric.accent p,.metric.accent strong small{color:#ede7f3}
.metric.accent>strong{color:#fff}
.pill,.pill.green,.official-source-card small,.city-choice small,.export-summary span,.export-summary p{color:var(--text-muted)}
.city-bar>span:first-child,.city-bar b,.timeline b,.timeline span,.band-cards b,.band-cards small,.official-source-card p,.city-links a,.history-item small,.history-time,.history-item .history-time,.empty,.empty p{color:var(--text-secondary)}
.band-cards strong,.official-source-card b,.history-item p,.city-choice b,.export-preview td:first-child{color:var(--text-primary)}
.badge.blue{color:#28558b}.badge.yellow{color:#74520c}.badge.red{color:#9f263e}.badge.unknown{color:#594663}
.star,.workspace-shortcuts .remove-quick-city,.city-choice>.ui-icon{color:#76637f}
.star.selected,.toolbar-tools .button.has-filters,.workspace-shortcuts [data-city][aria-pressed="true"]{color:var(--text-action)}
.countdown>span,.countdown p,.countdown strong,.button.primary,.heading-actions .button.primary,.icon-rail button.active,.header-icon.add,.workspace-shortcuts .shortcut-all{color:#fff}
.source-line b,.green-text{color:var(--text-secondary)!important}
.panel-note a{color:var(--text-action)}
