/*
 * Whale Fall V103 — legible connection explorer & analytical GIS label guards.
 * Source-backed relationships: no visual edge without a real admitted record.
 */
#network.active{
  --wf-network-line:rgba(185,214,233,.22);
  --wf-network-surface:#0b1118;
  color:#ecf4f9;
}
#network.active>.lead{
  max-width:80ch;
  font-size:clamp(.86rem,1.05vw,.98rem);
  line-height:1.55
}
#network.active .network-toolbar{margin:18px 0 12px}
#network.active .network-input{min-width:0;min-height:46px}
#network.active .network-reset{
  min-height:46px;
  border-color:var(--wf-network-line);
  background:#18232c;
  color:#f4f8fc
}
#network.active .network-meta{color:#bfcddb;font-size:.81rem}
.wf-v103-network-shell{
  min-width:0;
  border:1px solid var(--wf-network-line);
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(180deg,#121d27,#070b10 360px);
  box-shadow:0 15px 45px rgba(0,0,0,.22)
}
.wf-v103-focusbar{
  display:grid;
  grid-template-columns:minmax(200px,.7fr) minmax(260px,1.3fr);
  gap:12px 22px;
  align-items:center;
  padding:18px 20px;
  border-bottom:1px solid var(--wf-network-line)
}
.wf-v103-focusbar label{
  display:grid;
  gap:6px;
  min-width:0;
  font-size:.74rem;
  font-weight:750;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#e5f3ff
}
.wf-v103-focusbar select{
  width:100%;
  min-width:0;
  min-height:44px;
  padding:10px 36px 10px 12px;
  border-radius:10px;
  border:1px solid rgba(213,241,185,.33);
  outline-offset:3px;
  background:#0d1924;
  color:#f4f8f9;
  font-size:.92rem;
  font-weight:620;
  letter-spacing:normal;
  text-transform:none
}
.wf-v103-focusbar select:focus-visible,
.wf-v103-open-source:focus-visible,
.wf-v103-evidence-toggle input:focus-visible{
  outline:3px solid #d8ff45;outline-offset:3px
}
.wf-v103-graph-summary{
  font-size:.82rem;
  line-height:1.5;
  font-weight:520;
  color:#c4d3df;
  overflow-wrap:anywhere
}
.wf-v103-graph-hint{
  margin:0;
  padding:11px 20px;
  font-size:.79rem;
  line-height:1.5;
  color:#a8bdc9;
  border-bottom:1px solid rgba(185,214,233,.11)
}
.wf-v103-diagram{
  border-bottom:1px solid var(--wf-network-line)
}
.wf-v103-diagram>summary{
  display:flex;
  align-items:center;
  gap:9px;
  cursor:pointer;
  padding:13px 19px;
  color:#f0f6f3;
  font-weight:720;
  font-size:.86rem;
  list-style-position:inside;
  background:rgba(177,219,115,.04)
}
.wf-v103-diagram[open]>summary{
  border-bottom:1px solid rgba(177,219,115,.18)
}
.wf-v103-diagram .network-graph{
  border:0;
  border-radius:0;
  background:
    radial-gradient(circle at 50% 40%,rgba(110,139,159,.10),transparent 55%),
    linear-gradient(180deg,#0b151e,#080e14);
  overflow:auto;
  overscroll-behavior-inline:contain;
  scrollbar-color:#72899a #0d1620
}
.wf-v103-diagram #networkSvg{
  display:block;
  width:100%;
  height:auto;
  min-height:380px;
  aspect-ratio:auto;
  background-image:radial-gradient(circle,rgba(202,238,232,.09) .8px,transparent 1px);
  background-size:25px 25px
}
.wf-v103-edges .wf-v103-edge{
  fill:none;
  stroke:#8ea2af;
  stroke-width:1.85;
  opacity:.72;
}
.wf-v103-edges .wf-v103-edge:hover,
.wf-v103-edges .wf-v103-edge:focus-visible{
  stroke:#d8ff45;
  stroke-width:3;
  opacity:1
}
.wf-v103-node{
  cursor:pointer;
  outline:none;
}
.wf-v103-node rect{
  fill:#132432;
  stroke:rgba(149,182,198,.48);
  stroke-width:1.5;
  transition:fill .15s,stroke .15s
}
.wf-v103-node:hover rect,
.wf-v103-node:focus-visible rect{
  stroke:#d8ff45;
  stroke-width:3;
  fill:#213445
}
.wf-v103-node circle{fill:#d4f7a4}
.wf-v103-node-name{
  font-size:13px;
  font-weight:680;
  fill:#f5fafb;
}
.wf-v103-node-type{
  font-size:10px;
  font-weight:500;
  letter-spacing:.07em;
  text-transform:uppercase;
  fill:#b8cedb
}
.wf-v103-node-count{
  font-size:10px;
  font-weight:700;
  fill:#e5fbb0;
}
.wf-v103-focus-node rect{
  stroke:#d8ff45;
  stroke-width:2;
  fill:#25371e;
  filter:drop-shadow(0 3px 16px rgba(158,218,86,.14));
}
.wf-v103-focus-overline{
  fill:#e3fabe;
  font-size:9px;
  letter-spacing:2px
}
.wf-v103-focus-name{
  fill:#f7fdf3;
  font-size:15px;
  font-weight:770
}
.wf-v103-focus-type{
  fill:#baccc3;
  font-size:11px;
  letter-spacing:.05em
}
.wf-v103-evidence{
  padding:16px 20px 22px;
  min-width:0
}
.wf-v103-evidence-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:12px;
}
.wf-v103-evidence-bar h2{
  font-size:1.04rem;
  margin:0;
  color:#f2f7fb;
}
.wf-v103-evidence-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-size:.81rem;
  line-height:1.35;
  font-weight:640;
  color:#deebf4;
}
.wf-v103-evidence-toggle input{
  width:18px;height:18px;
  accent-color:#d8ff45
}
.wf-v103-evidence-scroll{
  overflow:auto;
  max-height:clamp(280px,58dvh,560px);
  border:1px solid var(--wf-network-line);
  border-radius:12px;
  scrollbar-color:#648297 #0d1620
}
.wf-v103-evidence-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:750px;
  font-size:.8rem;
  line-height:1.45;
}
.wf-v103-evidence-table caption{
  padding:12px 13px;
  text-align:left;
  color:#d7e9f3;
  font-weight:720;
}
.wf-v103-evidence-table thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:#1b2a33;
  color:#eaf4f9;
  text-align:left;
  font-size:.72rem;
  letter-spacing:.05em;
  padding:12px 13px;
  border-top:1px solid var(--wf-network-line);
  border-bottom:1px solid var(--wf-network-line);
}
.wf-v103-evidence-table td{
  padding:11px 13px;
  border-bottom:1px solid rgba(185,214,233,.11);
  vertical-align:top;
  color:#dfe9f0;
  max-width:360px;
}
.wf-v103-evidence-table tbody tr:nth-child(even){background:rgba(147,186,212,.035)}
.wf-v103-evidence-table tbody tr:hover{background:rgba(216,255,69,.06)}
.wf-v103-record-name{display:block;overflow-wrap:anywhere;font-weight:650}
.wf-v103-predicate strong{display:block;color:#dff89f}
.wf-v103-evidence-table code{
  display:block;
  margin-top:5px;
  max-width:100%;
  overflow-wrap:anywhere;
  white-space:normal;
  color:#aabcca;
  font-size:.69rem;
}
.wf-v103-open-source{
  border:1px solid rgba(216,255,69,.3);
  border-radius:8px;
  background:#172725;
  color:#e5f4d6;
  padding:7px 9px;
  max-width:100%;
  min-height:36px;
  overflow-wrap:anywhere;
  font-size:.73rem;
  cursor:pointer
}
.wf-v103-open-source:hover{border-color:#d8ff45;background:#243b27}
.wf-v103-date{
  display:block;
  margin-top:5px;
  color:#b5c7d6;
  font-size:.69rem
}
.wf-v103-missing-source,.wf-v103-empty{
  color:#b1bec8;
  font-size:.82rem;
  line-height:1.5
}
.wf-v103-empty{padding:16px}
.wf-v103-evidence-note{
  color:#a9b9c6;
  font-size:.76rem;
  line-height:1.45;
  margin:12px 0 0
}
@media(max-width:850px){
  .wf-v103-focusbar{grid-template-columns:1fr;padding:15px}
  .wf-v103-graph-hint{padding:10px 15px}
  .wf-v103-evidence{padding:13px}
  .wf-v103-diagram .network-graph{overflow-x:auto}
  .wf-v103-diagram #networkSvg{min-width:820px}
}
@media(max-width:700px){
  #network.active .network-toolbar{grid-template-columns:1fr;margin:12px 0 10px}
  #network.active .network-reset{min-height:44px}
  .wf-v103-evidence-scroll{max-height:58dvh}
  .wf-v103-evidence-table{min-width:670px}
}
@media(prefers-reduced-motion:reduce){
  .wf-v103-node rect{transition:none}
}
