.sx{--sx-accent: var(--catalogue-accent, #5947e8);--sx-ink: var(--catalogue-ink, #131b50);--sx-muted: var(--catalogue-muted, #535f85);--sx-border: var(--catalogue-border, #e5e7fb);--sx-tint: #efedff;--sx-prob: #19a974;display:grid;gap:16px;padding:18px;color:var(--sx-ink);background:#fff;border:1px solid var(--sx-border);border-radius:16px}.sx-tabs{display:flex;flex-wrap:wrap;gap:8px}.sx-tab{padding:8px 14px;color:#5040c9;background:#f0edff;border:1px solid transparent;border-radius:22px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.sx-tab:hover{border-color:var(--sx-accent)}.sx-tab.is-active{color:#fff;background:var(--sx-accent)}.sx-stage{overflow:hidden;background:#fbfbff;border:1px solid var(--sx-border);border-radius:12px}.sx-plot{display:block;width:100%;height:auto}.sx-grid{stroke:#eceef8;stroke-width:1}.sx-tick,.sx-axis-label{fill:var(--sx-muted);font-size:11px}.sx-axis-label{font-weight:700;font-size:13px}.sx-potential{fill:none;stroke:var(--sx-ink);stroke-width:2.5}.sx-wall{fill:var(--sx-ink);opacity:.85}.sx-level line{stroke:#c9c4f5;stroke-width:1;stroke-dasharray:4 4}.sx-level text{fill:var(--sx-muted);font-size:10px}.sx-level.is-selected line{stroke:var(--sx-accent);stroke-dasharray:none;stroke-width:1.5}.sx-level.is-selected text{fill:var(--sx-accent);font-weight:700}.sx-wave{fill:none;stroke:#a99ff2;stroke-width:1.5}.sx-wave.is-selected{stroke:var(--sx-accent);stroke-width:2.5}.sx-wave.is-prob{fill:#19a9741f;stroke:#7fd3b2}.sx-wave.is-prob.is-selected{fill:#19a97440;stroke:var(--sx-prob)}.sx-wave--abs{fill:none;stroke:var(--sx-ink);stroke-width:1.6;stroke-dasharray:6 5;opacity:.6}.sx-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px 20px;align-items:end}.sx-field{display:grid;gap:6px;margin:0}.sx-field__label{display:flex;justify-content:space-between;color:var(--sx-muted);font-size:12px;font-weight:700}.sx-field__label output{color:var(--sx-accent);font-weight:800}.sx-field input[type=range]{width:100%;accent-color:var(--sx-accent)}.sx-toggles{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}.sx-segment{display:inline-flex;padding:3px;background:#f0f0f8;border-radius:10px}.sx-segment button{padding:6px 12px;color:var(--sx-muted);background:none;border:0;border-radius:8px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.sx-segment button.is-active{color:var(--sx-ink);background:#fff;box-shadow:0 1px 3px #131b501f}.sx-check{display:inline-flex;gap:6px;align-items:center;margin:0;color:var(--sx-muted);font-size:13px}.sx-check input{accent-color:var(--sx-accent)}.sx-readout{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.sx-readout>div{padding:12px;background:#f8f8fd;border:1px solid var(--sx-border);border-radius:12px}.sx-readout dt{color:var(--sx-muted);font-size:11px;font-weight:700}.sx-readout dd{margin:4px 0 0;color:var(--sx-ink);font-size:16px;font-weight:800}.sx-empty{margin:0;color:var(--sx-muted)}.sx-theory{padding:14px 16px;background:#f8f7ff;border-radius:12px}.sx-theory h3{margin:0 0 6px;font-size:15px;font-weight:800;color:var(--sx-ink)}.sx-theory p{margin:0 0 8px;color:var(--sx-muted);font-size:14px;line-height:1.55}.sx-formula{overflow-x:auto;color:var(--sx-ink)}.sx-note{font-size:12px!important;margin:8px 0 0!important}@media (max-width: 640px){.sx{padding:12px}.sx-readout{grid-template-columns:repeat(2,minmax(0,1fr))}}.sx-wave--im{fill:none;stroke:#eb6834;stroke-width:1.4;opacity:.75}.sx-evo-label{fill:var(--sx-muted);font-size:12px;font-weight:700}.sx-evo{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}.sx-segment button:disabled{opacity:.45;cursor:not-allowed}
