/*
 * Paranoid Prophet Evidence Web — Geometry & Collision Stability v1.
 * v0.32.5: layout-neutral interaction states, protected zones, deterministic fallback placement, and mobile-sheet deferral.
 */
.pp-evidence-web.pp-ew-geometry-stable{
  --pp-ew-geometry-clearance:26px;
  --pp-ew-geometry-node-pad:12px;
  --pp-ew-geometry-center-pad:18px;
}

/* Hover and selection may illuminate, but may never alter the map footprint. */
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button.pp-ew-master-gateway .pp-ew-node-surface{
  box-sizing:border-box;
  transform:none!important;
  transition:border-color var(--pp-ew-motion-fast,.18s) var(--pp-ew-ease,ease),background var(--pp-ew-motion-fast,.18s) var(--pp-ew-ease,ease),box-shadow var(--pp-ew-motion-fast,.18s) var(--pp-ew-ease,ease),filter var(--pp-ew-motion-fast,.18s) var(--pp-ew-ease,ease)!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button.pp-ew-master-gateway:hover .pp-ew-node-surface,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button.pp-ew-master-gateway:focus-visible .pp-ew-node-surface,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button.pp-ew-master-gateway:is(.is-selected,[aria-pressed="true"]) .pp-ew-node-surface{
  transform:none!important;
}


/* v0.32.4 hotfix — preserve the absolute-position anchor while interaction states illuminate.
 * Master convergence decorates graph buttons with .pp-ew-node. A generic
 * transform:none on that shared class removes the button's required
 * translate(-50%,-50%) centering and creates pointer-edge oscillation. */
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button{
  transform:translate(-50%,-50%);
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button:is(:hover,:focus-visible,[aria-pressed="true"],.is-selected,.is-hover-inspected,.is-hover-neighbor){
  transform:translate(-50%,-50%)!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button .pp-ew-node-surface,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button:hover .pp-ew-node-surface,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button:focus-visible .pp-ew-node-surface,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button:is(.is-selected,[aria-pressed="true"],.is-hover-inspected,.is-hover-neighbor) .pp-ew-node-surface{
  transform:none!important;
}
.pp-evidence-web.pp-ew-geometry-stable :is(.pp-ew-node:not(.pp-ew-node-button),.pp-ew-pathway-card,.pp-ew-branch-cluster,.pp-ew-investigation-leaf):is(:hover,:focus-visible,[aria-pressed="true"],.is-selected){
  transform:none!important;
}

/* Keep focused plaque metrics identical to their unselected state. */
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button:not(.is-core):not(.is-jesus-core).is-focus .pp-ew-node-surface{
  border-width:2px!important;
  outline:1px solid rgba(247,219,144,.34);
  outline-offset:0;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button .pp-ew-node-title,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button .pp-ew-node-caption{
  font-synthesis:none;
}

/* Universal Branch Lens controls remain physically anchored. */
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-cluster{
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-cluster:hover,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-cluster:focus-visible{
  transform:none!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-canvas[data-pp-layout-profile="layered-source-map"] .pp-ew-branch-cluster:nth-child(even),
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-canvas[data-pp-presentation-mode="layered-worldview-map"] .pp-ew-branch-cluster:nth-child(even){
  transform:translateY(7px)!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-canvas[data-pp-layout-profile="layered-source-map"] .pp-ew-branch-cluster:nth-child(even):is(:hover,:focus-visible),
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-canvas[data-pp-presentation-mode="layered-worldview-map"] .pp-ew-branch-cluster:nth-child(even):is(:hover,:focus-visible){
  transform:translateY(7px)!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-recommended.pp-ew-action:hover,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-recommended.pp-ew-action:focus-visible{
  transform:none!important;
}

/* Map investigation attachments must not move under the pointer. */
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf{
  box-sizing:border-box;
  contain:layout;
  transform:translateZ(0)!important;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf:hover,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf:focus-within{
  transform:translateZ(0)!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf-layer{
  z-index:7!important;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf-layer .pp-ew-investigation-leaf{
  z-index:1;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf.is-geometry-mobile-sheet-suppressed{display:none!important}

/* The full attachment replaces the old caption cue; never let both peek through. */
.pp-evidence-web.pp-ew-geometry-stable.has-investigation-leaf .pp-ew-node-button.is-focus.has-investigation-cue .pp-ew-node-caption{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Long titles keep a fixed card footprint while preserving full accessible names. */
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf__title{
  overflow:hidden;
  display:-webkit-box;
  min-height:3.21em;
  max-height:3.21em;
  overflow-wrap:anywhere;
  hyphens:auto;
  text-wrap:balance;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf.is-compact .pp-ew-investigation-leaf__title,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf.is-console-dock .pp-ew-investigation-leaf__title,
.pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf.is-console-rail .pp-ew-investigation-leaf__title{
  min-height:2.16em;
  max-height:2.44em;
}

/* Stability diagnostics are private DOM state, never visitor copy. */
.pp-evidence-web.pp-ew-geometry-stable[data-pp-geometry-leaf-adjusted="true"] .pp-ew-investigation-leaf{
  will-change:auto;
}

@media(max-width:760px){
  .pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-canvas[data-pp-layout-profile="layered-source-map"] .pp-ew-branch-cluster:nth-child(even),
  .pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-canvas[data-pp-presentation-mode="layered-worldview-map"] .pp-ew-branch-cluster:nth-child(even),
  .pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-canvas[data-pp-layout-profile="layered-source-map"] .pp-ew-branch-cluster:nth-child(even):is(:hover,:focus-visible),
  .pp-evidence-web.pp-ew-geometry-stable .pp-ew-branch-canvas[data-pp-presentation-mode="layered-worldview-map"] .pp-ew-branch-cluster:nth-child(even):is(:hover,:focus-visible){
    transform:none!important;
  }
  .pp-evidence-web.pp-ew-geometry-stable .pp-ew-investigation-leaf__title{
    display:block;
    min-height:0;
    max-height:none;
    -webkit-line-clamp:unset;
  }
}

@media(prefers-reduced-motion:reduce){
  .pp-evidence-web.pp-ew-geometry-stable :is(.pp-ew-node-surface,.pp-ew-branch-cluster,.pp-ew-investigation-leaf){
    transition:none!important;
  }
}

@media(forced-colors:active){
  .pp-evidence-web.pp-ew-geometry-stable .pp-ew-node-button:not(.is-core):not(.is-jesus-core).is-focus .pp-ew-node-surface{
    outline:3px solid Highlight;
  }
}

/* v0.32.2 Run M — branch composition profiles for the live evidence map. */
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch]:not([data-pp-composition-branch="master"]) .pp-ew-node-button:not(.is-core):not(.is-jesus-core){z-index:6}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch]:not([data-pp-composition-branch="master"]) .pp-ew-node-button.is-focus{z-index:8}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch]:not([data-pp-composition-branch="master"]) .pp-ew-investigation-leaf-layer{z-index:9!important}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch]:not([data-pp-composition-branch="master"]) .pp-ew-node-title{overflow:hidden;display:-webkit-box;max-width:100%;max-height:3.24em;line-height:1.08;overflow-wrap:anywhere;hyphens:auto;text-wrap:balance;-webkit-box-orient:vertical;-webkit-line-clamp:3}
@media(min-width:761px){
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-density="high"] .pp-ew-node-button.is-focus.is-tile{width:198px;height:112px}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-density="high"] .pp-ew-node-button.is-focus.is-seal{width:188px;height:120px}
}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch="prophecy"] .pp-ew-investigation-leaf,
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch="discernment-lab"] .pp-ew-investigation-leaf{width:204px}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch="witnesses-apostles"] .pp-ew-investigation-leaf{width:226px}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch="scripture-wisdom"] .pp-ew-investigation-leaf{width:232px}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch="historical-jesus"] .pp-ew-investigation-leaf,
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch="god-creation"] .pp-ew-investigation-leaf{width:214px}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch="prophecy"] .pp-ew-investigation-leaf__title,
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-branch="discernment-lab"] .pp-ew-investigation-leaf__title{font-size:15px}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-viewport="tablet"] .pp-ew-investigation-leaf{width:min(196px,calc(100% - 30px))}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-viewport="phone"] .pp-ew-investigation-leaf{width:min(184px,calc(100% - 24px))}
.pp-evidence-web.pp-ew-geometry-stable[data-pp-composition-viewport="phone"] .pp-ew-investigation-leaf__title{font-size:14px}
