/* Spine Explorer — reusable interactive (see .superpowers/sdd/2026-08-02-spondylolisthesis-interactive) */
.sx{background:#083a6a;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 #38bdf8;outline-offset:2px}
.sx-explain-card.sx-active{border-color:rgba(56,189,248,.55);box-shadow:0 0 14px rgba(56,189,248,.15)}
.sx-explain-card[data-mode="cord"].sx-active{border-color:rgba(245,158,11,.7);box-shadow:0 0 14px rgba(245,158,11,.2)}
.sx-explain-card h4{color:#fff;font-size:.95rem;margin:0 0 .4rem;font-weight:700}
.sx-explain-card h4 span{color:#38bdf8}
.sx-explain-card[data-mode="cord"] h4 span{color:#f59e0b}
.sx-explain-card p{color:#b6cbe0;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:'Inter',system-ui,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(56,189,248,.3)}
.sx-vert:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}
.sx-vert.sx-on{background:#38bdf8;color:#083a6a;font-weight:600;border-color:#38bdf8;box-shadow:0 0 16px rgba(56,189,248,.55)}
.sx-vert.sx-on--teal{background:rgba(245,158,11,.85);color:#fff;border-color:#f59e0b;box-shadow:0 0 12px rgba(245,158,11,.5)}
.sx-zone.sx-lit--teal{fill:#f59e0b;filter:drop-shadow(0 0 9px rgba(245,158,11,.75))}
.sx-panel h4.sx-h--teal{color:#f59e0b}
.sx-figure{justify-self:center;max-width:290px;width:100%}
.sx-zone{fill:rgba(255,255,255,.10);stroke:rgba(255,255,255,.22);stroke-width:1;cursor:pointer;transition:fill .25s,filter .25s}
.sx-zone:hover{fill:rgba(56,189,248,.4)}
.sx-zone:focus-visible{outline:none;stroke:#38bdf8;stroke-width:2.5}
.sx-zone.sx-lit{fill:#38bdf8;filter:drop-shadow(0 0 9px rgba(56,189,248,.75))}
.sx-body{fill:rgba(255,255,255,.045);stroke:rgba(255,255,255,.14);stroke-width:1.2}
.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:'Inter',system-ui,sans-serif;color:#38bdf8;letter-spacing:.14em;font-size:.9rem;margin:0 0 .35rem;text-transform:uppercase}
.sx-panel .sx-disc{color:#b6cbe0;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:#b6cbe0;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:#b6cbe0;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{transition:none}.sx-zone.sx-lit{filter:none}.sx-vert.sx-on{box-shadow:none}}
.sx-kicker{color:#38bdf8;font-size:.78rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;margin:0}
.sx-heading{font-family:'Playfair Display',serif;color:#fff;font-size:1.7rem;font-weight:700;margin:.6rem 0 0}
@media(min-width:640px){.sx-heading{font-size:2rem}}
.sx-intro{color:#b6cbe0;font-size:.95rem;line-height:1.7;max-width:46rem;margin:.7rem 0 0}
.sx-cta{display:inline-flex;align-items:center;gap:.5rem;background:#fff;color:#0a4d8c;font-weight:600;font-size:.9rem;padding:.7rem 1.4rem;border-radius:9999px;white-space:nowrap;text-decoration:none;box-shadow:0 6px 14px rgba(0,0,0,.25);transition:transform .2s}
.sx-cta:hover{transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){.sx-cta{transition:none}}
