.g3d,.g3d *{box-sizing:border-box}.g3d{--g3d-bg:#080c14;--g3d-fg:#e6edf7;--g3d-muted:#a7b4c9;--g3d-grid:#29364a;--g3d-accent:#63e6c4;background:var(--g3d-bg);color:var(--g3d-fg);padding:16px 18px;border:1px solid var(--g3d-grid);border-radius:10px;color-scheme:dark;font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;min-width:0}.g3d__title{font-size:18px;font-weight:500;margin:0 0 14px;color:var(--g3d-fg)}.g3d__controls{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 4px}.g3d__field{display:block;flex:1;min-width:180px;font-size:13px;color:var(--g3d-fg)}.g3d__field.is-narrow{flex:0 0 140px;min-width:120px}.g3d select,.g3d input[type=text],.g3d input[type=number]{display:block;width:100%;background:var(--g3d-bg);color:var(--g3d-fg);border:1px solid var(--g3d-grid);border-radius:6px;padding:8px 9px;font:inherit;margin-top:5px}.g3d input[type=range]{display:block;width:100%;accent-color:var(--g3d-accent);margin-top:4px}.g3d__color{display:block;width:64px;height:40px;padding:3px;margin-top:5px;background:var(--g3d-bg);border:1px solid var(--g3d-grid);border-radius:6px}.g3d__check{display:flex;align-items:center;gap:8px;font-size:13px}.g3d__out{font-variant-numeric:tabular-nums;color:var(--g3d-muted)}.g3d details{margin-top:12px}.g3d summary{cursor:pointer;padding:6px 0;font-size:13px;color:var(--g3d-fg)}.g3d__wheel-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:12px}.g3d__wheel-fields{display:flex;flex-direction:column;gap:10px;min-width:220px;flex:1}.g3d__wheel{width:144px;height:144px;border-radius:50%;position:relative;cursor:crosshair;touch-action:none;flex:none;background:radial-gradient(closest-side,#fff,#fff0),conic-gradient(from 90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.g3d__wheel-dim{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:#000;pointer-events:none}.g3d__wheel-knob{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border:2px solid #080c14;border-radius:50%;pointer-events:none}.g3d__params{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.g3d__legend{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0 8px}.g3d__legend button{border:0;background:transparent;color:var(--g3d-fg);font:inherit;font-size:13px;padding:4px 0;display:flex;align-items:center;gap:6px;cursor:pointer}.g3d__legend button[aria-pressed=false]{opacity:.45}.g3d__legend button.is-dim{opacity:.6}.g3d__swatch{display:inline-block;width:16px;height:3px;border-radius:1px}.g3d__swatch.is-heavy{height:4px}.g3d__plot{position:relative;width:100%;min-width:0}.g3d__svg{display:block;width:100%;height:auto;touch-action:none;cursor:grab;outline:none}.g3d__svg:active{cursor:grabbing}.g3d__svg:focus-visible,.g3d input:focus-visible,.g3d select:focus-visible,.g3d button:focus-visible,.g3d summary:focus-visible{outline:2px solid var(--g3d-accent);outline-offset:3px}.g3d__frame{fill:none;stroke:var(--g3d-grid)}.g3d__grid line{stroke:var(--g3d-grid);stroke-width:1}.g3d__ticks text,.g3d__titles text{fill:var(--g3d-fg)}.g3d__ticks text.is-z{font-size:.92em}.g3d__zero line{stroke:var(--g3d-muted);stroke-dasharray:5 4;stroke-width:1}.g3d__zero text,.g3d__mark text{fill:var(--g3d-muted);font-size:.85em}.g3d__mark line{stroke:var(--g3d-accent);stroke-dasharray:3 4;stroke-width:1;opacity:.7}.g3d__line path{fill:none;stroke-linejoin:round;stroke-linecap:round}.g3d__line.is-dim,.g3d__candle.is-dim,.g3d__bar.is-dim{opacity:.28}.g3d__candle .g3d__wick{stroke-width:1}.g3d__candle.is-up .g3d__wick,.g3d__bar.is-up line{stroke:var(--sl-positive,#5fd3a0)}.g3d__candle.is-down .g3d__wick,.g3d__bar.is-down line{stroke:var(--sl-negative,#ff6b81)}.g3d__candle.is-up .g3d__body{fill:var(--sl-positive,#5fd3a0)}.g3d__candle.is-down .g3d__body{fill:var(--sl-negative,#ff6b81)}.g3d__bar line{stroke-width:1.6;stroke-linecap:round}.g3d__inspect circle{stroke:var(--g3d-bg);stroke-width:1.5}.g3d__row{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;margin-top:8px}.g3d__detail{margin:10px 0 0;min-height:24px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--g3d-fg);overflow-wrap:anywhere}.g3d__table{overflow:auto;max-height:360px}.g3d table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.g3d caption{text-align:left;color:var(--g3d-muted);padding:4px 0 8px}.g3d th,.g3d td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--g3d-grid);white-space:nowrap}.g3d td{text-align:right}.g3d__note{margin:12px 0 0;font-size:12px;color:var(--g3d-muted)}@media (max-width:460px){.g3d__params{grid-template-columns:1fr}.g3d{padding:12px}}@media (prefers-reduced-motion:reduce){.g3d *{transition:none!important}}.g3d__svg{cursor:crosshair}.g3d__line.is-hover path{filter:drop-shadow(0 0 3px rgba(255,255,255,.35))}.g3d__candle.is-hover .g3d__body{stroke:var(--g3d-fg);stroke-width:1.4}.g3d__candle.is-hover .g3d__wick,.g3d__bar.is-hover line{stroke-width:2.6}.g3d__cross polyline{fill:none;stroke:var(--g3d-fg);stroke-width:1.1;stroke-dasharray:4 3;opacity:.85}.g3d__cross polyline.is-drop{stroke-dasharray:none;opacity:.55}.g3d__cross-dot{stroke:var(--g3d-bg);stroke-width:2}.g3d__tag rect{fill:var(--g3d-fg);opacity:.92}.g3d__tag text{fill:var(--g3d-bg);font-weight:700;font-variant-numeric:tabular-nums}.g3d__sync line{stroke:#9a7bff;stroke-width:1.4;stroke-dasharray:3 3}.g3d__sync circle{fill:var(--g3d-bg);stroke-width:2}.g3d__sync text{fill:#9a7bff;font-size:.85em;font-weight:700}.g3d__slice polygon{fill:#9a7bff;fill-opacity:.12;stroke:#9a7bff;stroke-opacity:.7;stroke-width:1}.g3d__slice text{fill:#9a7bff;font-size:.85em;font-weight:700}
