.crs-graphic{display:flex;flex-direction:column;gap:var(--app-space-3);margin:1em 0;padding:var(--app-space-3);border:1px solid var(--app-border);border-radius:var(--app-radius);background:var(--app-card);color:var(--app-text);max-width:100%;min-width:0}.crs-graphic__title{margin:0;font-weight:600;font-size:.95rem}.crs-graphic__loading{min-height:200px;background:var(--app-card-soft)}.crs-graphic-fallback{margin:1em 0}.crs-graphic-fallback pre,.crs-markdown pre{margin:0;padding:var(--app-space-3);overflow-x:auto;border-radius:var(--app-radius-sm);background:var(--app-fill);font-size:.85rem;line-height:1.45}.crs-graphic__error{margin:6px 0 0;font-size:.85rem;color:var(--app-on-surface-variant, var(--app-muted))}.crs-graph__plot{width:100%;min-width:0}.crs-graph__svg{display:block;width:100%;height:auto;touch-action:pan-y;font-family:var(--app-font)}.crs-graph__grid line{stroke:var(--app-border);stroke-width:1}.crs-graph__axes line{stroke:var(--app-muted);stroke-width:1.25}.crs-graph__axes text{fill:var(--app-muted);font-size:11px}.crs-graph__fn{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.crs-graph__point circle{fill:var(--app-text);stroke:var(--app-card);stroke-width:2}.crs-graph__point text{fill:var(--app-text);font-size:12px;font-weight:600;paint-order:stroke;stroke:var(--app-card);stroke-width:4px;stroke-linejoin:round}.crs-graphic__legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;list-style:none;font-size:.875rem}.crs-graphic__legend li{display:inline-flex;align-items:center;gap:6px;overflow-wrap:anywhere}.crs-graphic__swatch{flex:none;width:14px;height:4px;border-radius:2px}.crs-graph__sliders{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;border:0;min-width:0}.crs-graph__slider{display:grid;grid-template-columns:1.5em minmax(0,1fr) 4.5em;align-items:center;gap:var(--app-space-3);min-height:var(--app-touch)}.crs-graph__slider-name{font-style:italic;font-weight:600;font-family:Times New Roman,Georgia,serif;font-size:1.1rem;text-align:center}.crs-graph__slider input[type=range]{width:100%;min-width:0;height:var(--app-touch);margin:0;accent-color:var(--app-accent);cursor:pointer}.crs-graph__slider input[type=range]:focus-visible{outline:2px solid var(--app-accent);outline-offset:2px;border-radius:var(--app-radius-sm)}.crs-graph__slider-value{font-variant-numeric:tabular-nums;text-align:right;font-size:.9rem}.crs-chart{margin-inline:0}.crs-chart__plot{width:100%;min-width:0}.crs-mermaid{margin-inline:0;align-items:center}.crs-mermaid__svg{width:100%;overflow-x:auto;text-align:center}.crs-mermaid__svg svg{max-width:100%;height:auto}.crs-graphic-preview{display:flex;flex-direction:column;gap:4px;font-size:var(--app-text-body);line-height:1.5;white-space:normal}.crs-graphic-preview__label{font-size:.75rem;font-weight:600;color:var(--app-muted)}.crs-graphic-preview .crs-graphic,.crs-graphic-preview .crs-graphic-fallback{margin:0}.crs-app__head{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}.crs-app__head .crs-graphic__title{flex:1 1 auto;min-width:0}.crs-app__best{color:var(--app-teal-text);font-size:.85rem;font-weight:600}.crs-app__frame{width:100%;max-width:100%;overflow:hidden;border-radius:var(--app-radius-sm);background:var(--app-surface-lowest);transition:height var(--app-dur-fast) var(--app-ease)}@media (prefers-reduced-motion: reduce){.crs-app__frame{transition:none}}.crs-app__iframe{display:block;width:100%;height:100%;border:0;background:transparent}.crs-app-request{flex-direction:row;align-items:center;gap:8px;color:var(--app-on-surface-variant);font-size:.9rem;border-style:dashed}
