/* Spine Explorer — reusable interactive (see docs/superpowers/specs/2026-08-01-spine-explorer-design.md) */
.sx{background:#081E2A;border-radius:1rem;padding:2rem 1.5rem;position:relative;overflow:hidden}
.sx-grid{display:grid;gap:1.5rem;align-items:start;grid-template-columns:1fr}
@media(min-width:768px){.sx-grid{grid-template-columns:auto 1fr 1.15fr;gap:2rem}.sx{padding:2.5rem}}
.sx-explain{display:grid;gap:1rem;margin-bottom:2rem}
@media(min-width:640px){.sx-explain{grid-template-columns:1fr 1fr}}
.sx-explain-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:.75rem;padding:1.1rem 1.25rem;text-align:left;cursor:pointer;transition:border-color .2s,background .2s;font-family:inherit}
.sx-explain-card:hover{background:rgba(255,255,255,.1)}
.sx-explain-card:focus-visible{outline:2px solid #F97600;outline-offset:2px}
.sx-explain-card.sx-active{border-color:rgba(249,118,0,.55);box-shadow:0 0 14px rgba(249,118,0,.15)}
.sx-explain-card[data-mode="cord"].sx-active{border-color:rgba(0,121,170,.7);box-shadow:0 0 14px rgba(0,121,170,.2)}
.sx-explain-card h4{color:#fff;font-size:.95rem;margin:0 0 .4rem;font-weight:700}
.sx-explain-card h4 span{color:#F97600}
.sx-explain-card[data-mode="cord"] h4 span{color:#2ea3d6}
.sx-explain-card p{color:#9db4c0;font-size:.85rem;line-height:1.6;margin:0}
.sx-levels{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem;justify-content:center}
@media(min-width:768px){.sx-levels{flex-direction:column;justify-content:flex-start}}
.sx-vert{font-family:'Oswald',sans-serif;letter-spacing:.12em;font-size:.85rem;color:#cfe2ea;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:.65rem;padding:.7rem 1.35rem;cursor:pointer;transition:background .2s,box-shadow .2s,color .2s}
.sx-vert:hover{background:rgba(249,118,0,.3)}
.sx-vert:focus-visible{outline:2px solid #F97600;outline-offset:2px}
.sx-vert.sx-on{background:#F97600;color:#081E2A;font-weight:600;border-color:#F97600;box-shadow:0 0 16px rgba(249,118,0,.55)}
.sx-vert.sx-on--teal{background:rgba(0,121,170,.85);color:#fff;border-color:#0079AA;box-shadow:0 0 12px rgba(0,121,170,.5)}
.sx-zone.sx-lit--teal{fill:transparent;stroke:transparent;filter:none;animation:none}
.sx-panel h4.sx-h--teal{color:#2ea3d6}
.sx-figure{justify-self:center;max-width:340px;width:100%}
.sx-patient-art{pointer-events:none}
.sx-figure-glow{fill:rgba(0,121,170,.055);filter:blur(10px)}
.sx-zone{fill:transparent;stroke:transparent;stroke-width:.8;cursor:pointer;transition:fill .25s,filter .25s,stroke .25s}
.sx-zone:hover{fill:transparent;stroke:transparent}
.sx-zone:focus-visible{outline:none;stroke:#F97600;stroke-width:2.5}
.sx-zone.sx-lit{fill:transparent;stroke:transparent;filter:none;animation:none}
.sx-body{fill:rgba(255,255,255,.045);stroke:rgba(255,255,255,.14);stroke-width:1.2}
.sx-routes{pointer-events:none}
.sx-route{opacity:0;transition:opacity .25s}
.sx-route-glow,.sx-route-core{fill:none;stroke-linecap:round;stroke-linejoin:round}
.sx-route-glow{stroke:rgba(249,118,0,.34);stroke-width:8;filter:blur(3px)}
.sx-route-core{stroke:#ff8a1f;stroke-width:2.2;stroke-dasharray:9 7;filter:drop-shadow(0 0 4px rgba(249,118,0,.95));animation:sx-nerve-flow .75s linear infinite}
.sx-route.sx-route-on,.sx-route.sx-route-on--teal{opacity:1}
.sx-route-on--teal .sx-route-glow{stroke:rgba(46,163,214,.38)}
.sx-route-on--teal .sx-route-core{stroke:#55c7f5;filter:drop-shadow(0 0 5px rgba(46,163,214,.95));animation-duration:1.2s}
@keyframes sx-nerve-flow{to{stroke-dashoffset:-16}}
@keyframes sx-territory-pulse{0%,100%{fill-opacity:.55}50%{fill-opacity:.9}}
.sx-panel{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:.75rem;padding:1.35rem 1.5rem;min-height:16rem}
.sx-panel h4{font-family:'Oswald',sans-serif;color:#F97600;letter-spacing:.14em;font-size:.9rem;margin:0 0 .35rem;text-transform:uppercase}
.sx-panel .sx-disc{color:#9db4c0;font-size:.8rem;margin:0 0 .9rem}
.sx-panel dl{margin:0}
.sx-panel dt{color:#fff;font-weight:600;font-size:.85rem;margin-top:.7rem}
.sx-panel dd{color:#cfe2ea;font-size:.85rem;line-height:1.6;margin:.15rem 0 0}
.sx-panel .sx-hint{color:#9db4c0;font-size:.9rem;line-height:1.7}
.sx-note{margin-top:1.75rem;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.12);padding-top:1.5rem}
.sx-note p{color:#9db4c0;font-size:.8rem;margin:0}
@media(pointer:coarse){.sx-zone{stroke:transparent;stroke-width:14;paint-order:stroke}.sx-zone.sx-lit{stroke:transparent}}
@media(prefers-reduced-motion:reduce){.sx-vert,.sx-zone,.sx-route{transition:none}.sx-zone.sx-lit,.sx-zone.sx-lit--teal{filter:none;animation:none}.sx-route-core{animation:none}.sx-vert.sx-on{box-shadow:none}}
