/* Shared appearance tokens, layered over the existing OpsCore layouts. */
.opsThemeFloating{position:fixed!important;right:16px!important;bottom:14px!important;z-index:19!important;padding:7px 11px!important;border:1px solid #a3bad0!important;border-radius:6px!important;background:#e9f0f6!important;color:#19374e!important;font:600 12px 'Segoe UI',Arial,sans-serif!important;box-shadow:0 2px 10px #0002!important}
@media screen{
html[data-opscore-theme="dark"]:root{color-scheme:dark;--ui-navy:#0b2337!important;--ui-navy-deep:#091c2d!important;--ui-blue:#4c9aff!important;--ui-canvas:#101923!important;--ui-line:#34495e!important;--ui-text:#d8e5f1!important;--ui-muted:#a5b9cc!important;--estimate-navy:#0b2337!important;--estimate-border:#34495e!important;--estimate-canvas:#101923!important;--estimate-muted:#a5b9cc!important;background:#101923;color:#d8e5f1}
html[data-opscore-theme="dark"]:root body,html[data-opscore-theme="dark"]:root .app{background:#101923!important;color:#d8e5f1!important}
html[data-opscore-theme="dark"]:root :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background-color:#203449!important;color:#e3edf7!important;border-color:#405970!important;caret-color:#fff!important}
html[data-opscore-theme="dark"]:root :is(input,textarea)::placeholder{color:#9db1c5!important;opacity:1}
html[data-opscore-theme="dark"]:root option,html[data-opscore-theme="dark"]:root optgroup{background:#203449!important;color:#e3edf7!important}
html[data-opscore-theme="dark"]:root :is(dialog,.modalCard,.recordSection,.o874card,.panel,.card,.tableWrap,.p-card,.e-card,.opsProfilePanel){background-color:#172737!important;color:#d8e5f1!important;border-color:#34495e!important}
html[data-opscore-theme="dark"]:root :is(label,.readonlyLabel,.readOnlyLabel,.detailReadOnlyLabel,.fieldLabel){color:#e1ecf6!important}
html[data-opscore-theme="dark"]:root :is(a,.jiraLink){color:#83bbff}
html[data-opscore-theme="dark"]:root :is(button,input,a,select,textarea):focus-visible{outline-color:#83bbff!important}
html[data-opscore-theme="dark"]:root input::file-selector-button{background:#29465f!important;color:#eaf3fc!important;border:1px solid #52718b!important}
html[data-opscore-theme="dark"]:root :is(.opsThemeFloating,[data-theme-toggle]){background:#203b53!important;color:#eaf3fc!important;border-color:#4a6680!important}
html[data-opscore-theme="dark"]:root ::selection{background:#285e99;color:#fff}
html[data-opscore-theme="dark"]:root{scrollbar-color:#4c647a #132333}
html[data-opscore-theme="dark"]:root dialog::backdrop{background:#020b16aa}
}
@media print{.opsThemeFloating,[data-theme-toggle]{display:none!important}}

/* Column filters use header surfaces; blue is reserved for an active filter. */
@media screen{
html[data-opscore-theme="dark"]:root body :is(#issuesTable,#closedTable,#pmTable,#pmClosedTable,#jiraOpenTable,#jiraClosedTable,#tasksOpenTable,#tasksClosedTable) thead th button.columnFilterButton{
  background:transparent!important;border-color:transparent!important;color:#a5b9cc!important;box-shadow:none!important;
}
html[data-opscore-theme="dark"]:root body :is(#issuesTable,#closedTable,#pmTable,#pmClosedTable,#jiraOpenTable,#jiraClosedTable,#tasksOpenTable,#tasksClosedTable) thead th button.columnFilterButton:is(:hover,:focus-visible){
  background:#29445d!important;border-color:#52718b!important;color:#edf5fd!important;
}
html[data-opscore-theme="dark"]:root body :is(#issuesTable,#closedTable,#pmTable,#pmClosedTable,#jiraOpenTable,#jiraClosedTable,#tasksOpenTable,#tasksClosedTable) thead th button.columnFilterButton.active{
  background:#244e75!important;border-color:#568fc8!important;color:#b9dcff!important;
}
html[data-opscore-theme="dark"]:root body :is(#issuesTable,#closedTable,#pmTable,#pmClosedTable,#jiraOpenTable,#jiraClosedTable,#tasksOpenTable,#tasksClosedTable) thead th button.columnFilterButton.active:is(:hover,:focus-visible){
  background:#2c608f!important;border-color:#83bbff!important;color:#fff!important;
}
}

@media screen{
html[data-opscore-theme="dark"]:root body .entityPageHead .entityTabs{background:#203449!important;border-color:#405970!important}
html[data-opscore-theme="dark"]:root body .entityPageHead .entityTabs .entityTab{background:#203449!important;color:#d8e5f1!important;border-color:#405970!important}
html[data-opscore-theme="dark"]:root body .entityPageHead .entityTabs .entityTab:hover{background:#29445d!important;color:#edf5fd!important}
html[data-opscore-theme="dark"]:root body .entityPageHead .entityTabs .entityTab.active{background:#1565c0!important;color:#fff!important}
html[data-opscore-theme="dark"]:root body .entityPageHead .entityTabs .entityTab.active:hover{background:#17599f!important;color:#fff!important}
}
@media screen{
html[data-opscore-theme="dark"]:root body #system .systemTabs{background:transparent!important;border-bottom-color:#34495e!important}
html[data-opscore-theme="dark"]:root body #system .systemTabs>button.systemTab{background:transparent!important;color:#a5b9cc!important;border-bottom-color:transparent!important;box-shadow:none!important}
html[data-opscore-theme="dark"]:root body #system .systemTabs>button.systemTab:hover{background:#203449!important;color:#e5eff8!important}
html[data-opscore-theme="dark"]:root body #system .systemTabs>button.systemTab.active{background:#203449!important;color:#e5eff8!important;border-bottom-color:#83bbff!important}
html[data-opscore-theme="dark"]:root body table.mobileTicketCards>tbody>tr{background:#172737!important;color:#d8e5f1!important;border-color:#34495e!important}
html[data-opscore-theme="dark"]:root body .mobileTicketOptionRow>button.active{background:#244e75!important;color:#b9dcff!important;border-color:#568fc8!important}
}
