/* Style A redesign: charts area (knob gauges, expo preview, curve editor, smoothing previews). Uses tokens.css only.
 * The charts themselves are painted on canvas by app.js (KnobSlider.draw, drawExpoCurvePreview, drawCurve),
 * which read --rd-* tokens at draw time so every theme's accent applies. These rules only touch the canvases. */

/* The expo preview paints its own rounded plot surface + hairline edge; avoid a second CSS border. */
#app #page-home #expo-curve-preview {
    border: 0;
    border-radius: var(--rd-radius-sm);
    background: transparent;
    box-shadow: none;
    /* Fill the card's free width at a fixed chart height; drawExpoCurvePreview sizes its backing
       store from clientWidth x clientHeight, so this box is the single source of geometry. */
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    height: 176px;
    aspect-ratio: auto;
}

/* Gauges: keyboard/pointer affordance only — geometry is drawn by KnobSlider. */
#app .knob-container canvas {
    -webkit-tap-highlight-color: transparent;
}
