/* Accepted pedigree: correct dark-on-dark controls in the light PITVU theme.
   Explicit theme scopes avoid changing historical source-tree rendering. */
:root[data-pitvu-theme="light"] body main:has(>.explorer),
:root:not([data-pitvu-theme]) body main:has(>.explorer) {
 background:var(--theme-bg,#fbf9f3)!important;
 color:var(--theme-text,#232a28)!important;
}
:root[data-pitvu-theme="light"] .explorer,
:root:not([data-pitvu-theme]) .explorer {
 --graph-bg:#faf8f2!important;
 --graph-line:#aab9ae!important;
 --graph-text:#24372e!important;
 --graph-accent:#255c48!important;
 background:#faf8f2!important;
 color:#24372e!important;
 border-color:#c6cfc4!important;
}
:root[data-pitvu-theme="light"] .explorer-heading :is(h1,h2,p,span,small),
:root[data-pitvu-theme="light"] .explorer-controls label,
:root[data-pitvu-theme="light"] .explorer-help {
 color:#32473b!important;
}
:root[data-pitvu-theme="light"] .explorer-heading a,
:root[data-pitvu-theme="light"] .explorer a {color:#245847!important}
:root[data-pitvu-theme="light"] .explorer .explorer-actions>button,
:root[data-pitvu-theme="light"] .explorer .explorer-controls button:not(.button) {
 background:#f1f4ee!important;
 color:#243b30!important;
 border:1px solid #8fa398!important;
 box-shadow:none!important;
 opacity:1!important;
}
:root[data-pitvu-theme="light"] .explorer .explorer-actions>button:is(:hover,:focus-visible),
:root[data-pitvu-theme="light"] .explorer .explorer-actions>button[aria-pressed="true"]{
 background:#dce9dd!important;
 color:#153c29!important;
}
:root[data-pitvu-theme="light"] .explorer .explorer-actions>output{
 color:#234b3b!important;font-weight:700;
}
:root[data-pitvu-theme="light"] .explorer .explorer-controls :is(input,select){
 background:#fffdf8!important;color:#24372e!important;border:1px solid #8c9c91!important;
}
:root[data-pitvu-theme="light"] .explorer .explorer-node{
 background:#fffdf8!important;color:#25372f!important;
 border-color:#b2bfb4!important;
}
:root[data-pitvu-theme="light"] .explorer .explorer-node :is(.eyebrow,.node-id,span) {
 color:#4f6758!important;
}
:root[data-pitvu-theme="light"] .explorer .explorer-node .explorer-name{
 color:#22563f!important;
}
:root[data-pitvu-theme="light"] .explorer .explorer-tree summary{
 color:#344d3c!important;
}
:root[data-pitvu-theme="light"] .explorer .explorer-tree details{
 border-left-color:#a0b4a7!important;
}
:root[data-pitvu-theme="dark"] .explorer .explorer-actions>button{
 background:#183640!important;color:#edf5f6!important;
 border-color:#78919d!important;
}
:root[data-pitvu-theme="dark"] .explorer .explorer-node{
 background:#102632!important;color:#edf5f6!important;
}
@media print{
 :root[data-pitvu-theme] .explorer,
 :root[data-pitvu-theme] .explorer .explorer-node {
  background:#fff!important;color:#111!important;
 }
}
