@layer wertigo.features{.graph-tool{gap:var(--ds-space-4);display:grid;container-type:inline-size}.graph-tool__head{justify-content:space-between;align-items:center;gap:var(--ds-space-3);flex-wrap:wrap;display:flex}.graph-tool__head h2{margin:0}.graph-tool__head-actions{gap:var(--ds-space-2);flex-wrap:wrap;display:flex}.graph-tool__layout,.graph-tool__side{gap:var(--ds-space-4);min-width:0;display:grid}.graph-tool__side{align-content:start}.graph-tool__stage{gap:var(--ds-space-3);min-width:0;display:grid}.graph-tool__function{align-items:center;gap:var(--ds-space-2);grid-template-columns:auto minmax(0,1fr) auto auto;display:grid}.graph-tool__swatch{border-radius:var(--ds-radius-pill);background:var(--series-color);width:12px;height:12px}.graph-tool__swatch--off{opacity:.3}.graph-tool__ranges{gap:var(--ds-space-3);grid-template-columns:repeat(auto-fit,minmax(120px,1fr));display:grid}.graph-tool__plot{min-width:0;position:relative}.graph-tool__canvas{aspect-ratio:16/10;cursor:crosshair;touch-action:none;width:100%;min-height:300px;max-height:560px;display:block}.graph-tool__canvas:focus-visible{box-shadow:var(--ds-focus-ring);outline:none}.graph-tool__controls{top:var(--ds-space-2);right:var(--ds-space-2);gap:var(--ds-space-1);display:grid;position:absolute}.graph-tool__readout{gap:var(--ds-space-1) var(--ds-space-4);min-height:1.5em;color:var(--ds-text);font-size:var(--ds-text-md);font-variant-numeric:tabular-nums;flex-wrap:wrap;margin:0;display:flex}.graph-tool__readout-value{color:var(--series-color);font-weight:var(--ds-weight-semibold)}.graph-tool__facts{gap:var(--ds-space-2);margin:0 0 var(--ds-space-4);padding:0;list-style:none;display:grid}.graph-tool__facts li{gap:var(--ds-space-1) var(--ds-space-3);padding-left:var(--ds-space-3);border-left:3px solid var(--series-color);font-size:var(--ds-text-md);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.graph-tool__fact-name{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}@container (width>=860px){.graph-tool__layout{grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start}.graph-tool__canvas{aspect-ratio:auto;height:calc(clamp(440px,72dvh,700px));max-height:none}}.graph-tool--full{z-index:var(--ds-z-modal);border:0;border-radius:0;grid-template-rows:auto minmax(0,1fr);gap:0;height:100dvh;padding:0;display:grid;position:fixed;inset:0}.graph-tool--full .graph-tool__head{padding:var(--ds-space-2) var(--ds-space-4);border-bottom:1px solid var(--ds-line)}.graph-tool--full .graph-tool__head h2{font-size:var(--ds-text-xl)}.graph-tool--full .graph-tool__layout{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:stretch;gap:0;min-height:0}.graph-tool--full.graph-tool--side-closed .graph-tool__layout{grid-template-columns:minmax(0,1fr)}.graph-tool--full .graph-tool__side{padding:var(--ds-space-4);border-right:1px solid var(--ds-line);background:var(--ds-surface-soft);overflow-y:auto}.graph-tool--full .graph-tool__stage{padding:var(--ds-space-3);flex-direction:column;height:100%;min-height:0;display:flex}.graph-tool--full .graph-tool__plot{flex:1 1 0;min-height:0}.graph-tool--full .graph-tool__canvas{aspect-ratio:auto;height:100%;min-height:0;max-height:none}.graph-tool--full .graph-tool__hint{display:none}.graph-tool--full .graph-tool__details{max-height:40dvh;margin:0;overflow-y:auto}@media (max-width:768px){.graph-tool--full .graph-tool__layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.graph-tool--full.graph-tool--side-closed .graph-tool__layout{grid-template-rows:minmax(0,1fr)}.graph-tool--full .graph-tool__side{border-right:0;border-bottom:1px solid var(--ds-line);max-height:42dvh}.graph-tool--full .graph-tool__details{max-height:30dvh}.graph-tool__canvas{aspect-ratio:4/3;min-height:280px}}}
