prism-chart{--chart-ring:var(--surface);position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;height:240px;color:var(--fog);font-size:12px;font-variant-numeric:tabular-nums}prism-chart:where([type=spark]){height:40px;gap:0}prism-chart:where([type=donut],[type=pie],[type=radar]){height:260px}prism-chart:where([type=gauge]){height:170px}prism-chart:where([type=heatmap]){height:auto}prism-chart>svg{display:block;flex:1 1 0;min-height:0;width:100%;overflow:visible;border-radius:6px;touch-action:pan-y;transition:opacity var(--dur-2)}prism-chart[type=heatmap]{overflow-x:auto;overflow-y:hidden;padding-bottom:2px}prism-chart[type=heatmap]>svg{flex:none;width:auto}prism-chart[type=heatmap]>.chart-legend{position:sticky;inset-inline-start:0}prism-chart>svg:focus-visible{outline:2px solid var(--accent);outline-offset:4px}prism-chart[aria-busy=true]>svg{opacity:.4}prism-chart text{fill:var(--dim);font:500 11px var(--font)}.c-grid{stroke:var(--line);stroke-width:1;shape-rendering:crispEdges}.c-base{stroke:var(--line2);stroke-width:1;shape-rendering:crispEdges}.c-line{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px color-mix(in oklch,currentColor 55%,transparent))}prism-chart[type=spark] .c-line{stroke-width:1.75}.c-area{stroke:none}.c-dot{fill:currentColor;stroke:var(--chart-ring);stroke-width:2}.c-ping{fill:currentColor;transform-box:fill-box;transform-origin:center;animation:c-ping 1.2s var(--ease) both;pointer-events:none}@keyframes c-ping{from{opacity:.55;transform:scale(1)}to{opacity:0;transform:scale(3.4)}}.c-bar{fill:currentColor;transition:opacity var(--dur-1)}.c-dim :is(.c-bar,.c-candle):not(.c-hot),.c-dim .c-cell:not(.c-hot),.c-dim .c-slice:not(.c-hot){opacity:.4}.c-slice{stroke:var(--chart-ring);stroke-width:2;transition:transform var(--dur-2) var(--ease),opacity var(--dur-1)}.c-cell{transition:opacity var(--dur-1)}.c-cell.c-hot{stroke:var(--ink);stroke-width:1.5}.c-cross{stroke:var(--line3);stroke-width:1;shape-rendering:crispEdges;pointer-events:none}.c-band{fill:var(--fill-2);pointer-events:none}.c-web{fill:none;stroke:var(--line);stroke-width:1}.c-poly{stroke:currentColor;stroke-width:2;stroke-linejoin:round;fill:color-mix(in oklch,currentColor 16%,transparent);filter:drop-shadow(0 0 6px color-mix(in oklch,currentColor 40%,transparent))}.c-track{fill:none;stroke:var(--fill-3);stroke-linecap:round}.c-arc{fill:none;stroke:currentColor;stroke-linecap:round;filter:drop-shadow(0 0 6px color-mix(in oklch,currentColor 60%,transparent));transition:stroke-dasharray var(--dur-4) var(--ease)}.c-up{fill:var(--good);stroke:var(--good)}.c-down{fill:var(--bad);stroke:var(--bad)}.c-wick{stroke-width:1.2;shape-rendering:crispEdges}.c-price{stroke-dasharray:3 3;stroke-width:1;shape-rendering:crispEdges}.c-tag{stroke:none}prism-chart text.c-tagtx{fill:var(--on-accent);font-weight:700}prism-chart text.c-big{fill:var(--ink);font:700 30px var(--font);letter-spacing:-.02em}prism-chart text.c-sub{fill:var(--fog);font-size:12px}prism-chart>svg.undrawn :is(.c-line,.c-area,.c-bar,.c-pie,.c-poly,.c-arc,.c-cell,.c-candle,.c-dot){opacity:0}prism-chart>svg.drawn .c-line{stroke-dasharray:1;stroke-dashoffset:1;animation:c-draw 1.1s var(--ease) forwards}prism-chart>svg.drawn :is(.c-area,.c-dot){animation:c-fade .9s .3s var(--ease) both}prism-chart>svg.drawn :is(.c-bar,.c-candle){transform-box:fill-box;transform-origin:50% 100%;animation:c-grow .7s var(--ease-out) both;animation-delay:calc(var(--i,0) * 28ms)}prism-chart>svg.drawn .c-candle{transform-origin:50% 50%}prism-chart>svg.drawn :is(.c-pie,.c-poly){transform-box:view-box;transform-origin:var(--cx) var(--cy);animation:c-pop .8s var(--ease-out) both}prism-chart>svg.drawn .c-cell{animation:c-fade .5s var(--ease) both;animation-delay:calc(var(--i,0) * 7ms)}prism-chart>svg.drawn .c-arc{animation:c-sweep 1.1s var(--ease) both}@keyframes c-draw{to{stroke-dashoffset:0}}@keyframes c-fade{from{opacity:0}}@keyframes c-grow{from{transform:scaleY(0)}}@keyframes c-pop{from{opacity:0;transform:rotate(-35deg) scale(.85)}}@keyframes c-sweep{from{stroke-dasharray:0 100}}.chart-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--fog)}.chart-legend>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.chart-legend i{width:10px;height:10px;border-radius:3px;background:currentColor}.chart-legend i.ln{width:14px;height:3px;border-radius:2px}.chart-legend b{color:var(--ink);font-weight:600}.chart-legend.scale{justify-content:flex-end;gap:3px;align-items:center}.chart-legend.scale i{width:11px;height:11px}.chart-legend[hidden],.chart-empty[hidden]{display:none}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--dim);font-size:13px;text-align:center;padding:12px}.chart-tip{position:fixed;inset:auto;margin:0;z-index:var(--z-tip);display:grid;gap:3px;min-width:130px;max-width:260px;padding:8px 11px;border:1px solid var(--line2);border-radius:10px;background:var(--solid);color:var(--ink);box-shadow:var(--sh);font:500 12px/1.45 var(--font);font-variant-numeric:tabular-nums;pointer-events:none;overflow:visible}.chart-tip[hidden],.chart-tip:not(:popover-open)[popover]{display:none}.chart-tip>b{color:var(--fog);font-weight:600;margin-bottom:2px}.chart-tip>div{display:flex;align-items:center;gap:8px}.chart-tip i{flex:none;width:12px;height:3px;border-radius:2px;background:currentColor}.chart-tip span{color:var(--fog);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-tip strong{margin-inline-start:auto;padding-inline-start:12px;font-weight:700;color:var(--ink)}.chart-tip>strong{margin:0;padding:0;font-size:13px}
