
.fx-illus{display:inline-block;font-size:12px;font-weight:600;color:#5E5944;border:1px solid #DDD3C0;border-radius:3px;padding:1px 7px;margin-left:6px;vertical-align:2px}
.fx-graph{position:relative;aspect-ratio:100/62;margin:28px 0 12px;background:#fff;border:1px solid var(--border);border-radius:6px;box-shadow:0 1px 2px rgba(47,59,46,.06)}
.fx-lines{position:absolute;inset:0;width:100%;height:100%}
.fx-lines line{fill:none;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round}
.fx-e.e-live{stroke:#2F6B45}.fx-e.e-pilot{stroke:#A9601F}.fx-e.e-soon{stroke:#9A7B55;stroke-dasharray:5 5}
.ln-m{display:none}
.fx-n{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:3px;min-width:44px;min-height:44px;padding:7px 12px;background:var(--bg);border:1.5px solid #2F6B45;border-radius:6px;color:var(--text);text-decoration:none;font-weight:600;font-size:15px;line-height:1.2;text-align:center;white-space:nowrap;transition:box-shadow .2s,background-color .2s,opacity .2s}
.fx-n.n-pilot{border-color:#A9601F}.fx-n.n-soon{border-style:dashed;border-color:#9A7B55;background:#fff}
.fx-n .st{font-size:11px;padding:0 6px}
.fx-n:focus-visible{outline:3px solid #285C3B;outline-offset:3px}
.fx-graph.has-sel .fx-n{opacity:.45}.fx-graph.has-sel .fx-n.on,.fx-graph.has-sel .fx-n.rel{opacity:1}
.fx-n.on{background:#E6EFE0;box-shadow:0 0 0 3px rgba(47,107,69,.25)}
.fx-graph.has-sel .fx-e{opacity:.2}.fx-graph.has-sel .fx-e.rel{opacity:1;stroke-width:3.5}
.fx-panel{min-height:52px;margin:0 0 14px;padding:12px 14px;background:var(--surface,#fff);border:1px solid var(--border);border-radius:6px;font-size:16px}
.fx-hint{color:#5E5944}
.fx-legend{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:6px 24px;font-size:15px}
.fx-legend li{padding:6px 0;border-top:1px solid var(--border)}.fx-legend .st{margin:0 6px}.fx-d{display:block;color:#5E5944}
.fx-legend li.on{background:#F3F6EF}
@media(max-width:820px){.fx-n{font-size:14px;padding:6px 9px}}
@media(max-width:640px){.fx-graph{aspect-ratio:100/150}.ln-d{display:none}.ln-m{display:block}.fx-n{left:var(--mx);top:var(--my);white-space:normal;width:44%;max-width:170px}.fx-legend{grid-template-columns:1fr}}
@media (prefers-reduced-motion:no-preference){
 .fx-graph.drawn .fx-e{animation:fxdraw .5s ease-out both;animation-delay:calc(var(--i)*90ms)}
 .fx-graph.done .fx-e.e-live{animation:fxpulse 3.2s ease-in-out infinite}
 .fx-graph.paused .fx-e,.fx-graph.paused.done .fx-e.e-live{animation-play-state:paused}
}
@keyframes fxdraw{from{opacity:0}to{opacity:1}}
@keyframes fxpulse{0%,100%{opacity:1}50%{opacity:.45}}

/* thin reading-progress bar (home only; created by JS, so absent without JS; hidden for reduced motion) */
.pr-bar{position:fixed;top:0;left:0;right:0;height:3px;z-index:60;pointer-events:none}.pr-bar span{display:block;height:100%;background:#2F6B45;transform-origin:0 50%;transform:scaleX(var(--sp,0))}
@supports (animation-timeline:scroll()){.pr-bar span{animation:prgrow linear both;animation-timeline:scroll(root)}}
@keyframes prgrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.pr-bar{display:none}}

/* v4: dim unrelated nodes without lowering text contrast (opacity let lines show through and dropped text below AA) */
.fx-graph.has-sel .fx-n{opacity:1}.fx-graph.has-sel .fx-n:not(.on):not(.rel){border-color:#DDD3C0;background:#FAF7F0}

.fx-block{margin-top:56px;padding-top:40px;border-top:1px solid var(--border)}
