/* Quiet navy headers with restrained SchoolTrack red accents. */
:root{--heading-red:#202d40;--heading-red-surface:#202d40;--heading-red-line:#39485d}
html[data-theme] #viewRoot#viewRoot :is(.data-table,.parent-history-table,.school-fleet-table,.pd-table,table) thead th{background:#202d40!important;color:#f2f5fb!important;border-bottom:2px solid #39485d!important;font-weight:750}
html[data-theme] #viewRoot#viewRoot :is(.page-head,.card-header,.replay-heading,.replay-stops>header,.po-section-head,.po-panel-title,.chat-panel-head,.history-operations-summary>header){background:#202d40!important;color:#f2f5fb!important;border-color:#39485d!important;border-radius:12px;padding:14px 16px}
html[data-theme] #viewRoot#viewRoot :is(.page-head,.card-header,.replay-heading,.replay-stops>header,.po-section-head,.po-panel-title,.chat-panel-head,.history-operations-summary>header) :is(h1,h2,h3,h4,p,small,span,strong){color:#f2f5fb!important}
html[data-theme] #viewRoot#viewRoot .history-selected-stop-group>h4,html[data-theme] #viewRoot#viewRoot :is(.oc-card,.driver-last-journey,.parent-duration-chart,.school-fleet-overview)>h4{background:#202d40!important;color:#f2f5fb!important;border-radius:9px;padding:12px 14px}
html[data-theme] .app-workspace .topbar h2{display:inline-block;background:#202d40!important;color:#f2f5fb!important;padding:8px 12px;border-radius:9px;line-height:1.3}
html[data-theme] #viewRoot#viewRoot .chat-panel-head .messages-new{background:#ffffff20!important;color:#f2f5fb!important;border-color:#ffffff65!important}
@media(max-width:760px){html[data-theme] .app-workspace .topbar h2{padding:7px 9px;font-size:14px}html[data-theme] #viewRoot#viewRoot :is(.history-operations-table,.parent-history-table) tbody th{background:#202d40!important;color:#f2f5fb!important}html[data-theme] #viewRoot#viewRoot :is(.history-operations-table,.parent-history-table) tbody th :is(button,small,svg){color:#f2f5fb!important}}

html[data-theme] #viewRoot#viewRoot :is(.page-head,.replay-heading,.po-section-head){border-inline-start:3px solid #ed6470!important;background:linear-gradient(110deg,#2b2c3e,#1c2b3e)!important;padding:18px 20px;border-radius:14px}
html[data-theme] #viewRoot#viewRoot :is(.page-head,.card-header,.replay-heading,.po-section-head,.chat-panel-head) :is(p,small){color:#aebed1!important;font-weight:400;line-height:1.6}
html[data-theme] #viewRoot#viewRoot table thead th{color:#a8bbd2!important;font-size:11px;letter-spacing:.035em;border-bottom:1px solid #3b4c62!important;padding-block:14px;font-weight:650}
html[data-theme] .app-workspace .topbar h2{background:transparent!important;padding:0;border-radius:0;color:#edf2fa!important}
