/* The photographic office treatment is intentionally independent of the three trees. */
:is(#panel-s,#panel-v).tree-model-ready .secondary-body::before,
:is(#panel-s,#panel-v).tree-model-ready .secondary-body::after { display:none; }

:is(#panel-s,#panel-v,#panel-o-organization) .secondary-header,
:is(#panel-s,#panel-v,#panel-o-organization) .secondary-body { position:relative; z-index:1; }
.tree-model-backdrop {
  position:absolute;
  z-index:0;
  inset:68px 0 0;
  overflow:hidden;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(0deg,transparent,#000 9%,#000 96%,transparent);
  mask-image:linear-gradient(0deg,transparent,#000 9%,#000 96%,transparent);
}
.tree-model-backdrop canvas { position:absolute; inset:0; display:block; width:100%; height:100%; }
/* Keep the chosen structure crisp and luminous; push the other two softly back. */
.tree-model-solid { opacity:.64; filter:brightness(1.12) contrast(1.04); }
.tree-model-soft { opacity:.23; filter:blur(9px) saturate(.72) brightness(.86); }
/* The organization page has data on both sides, so its backdrop stays quieter. */
#panel-o-organization .tree-model-solid { opacity:.47; }
#panel-o-organization .tree-model-soft { opacity:.16; }
@media(max-width:700px) {
  .tree-model-backdrop { top:52px; }
  .tree-model-solid { opacity:.38; }
  .tree-model-soft { opacity:.15; filter:blur(7px) saturate(.72) brightness(.86); }
  #panel-o-organization .tree-model-solid { opacity:.32; }
  #panel-o-organization .tree-model-soft { opacity:.12; }
}
