/* Native charts share the existing light/dark theme and use comfortable input targets. */
.axo-viz-explorer,.axo-project-activity{min-width:0;color:var(--ax-text)}
.axo-viz-toolbar,.axo-viz-map-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px}.axo-viz-sample,.axo-viz-map-meta{font-size:10px;color:var(--ax-muted)}
.axo-viz-controls{display:flex;gap:3px;padding:3px;border:1px solid var(--ax-border);background:var(--ax-raised);border-radius:10px;width:max-content;max-width:100%;margin-bottom:14px}.axo-viz-toolbar .axo-viz-controls{margin:0}.axo-viz-controls button{border:0;background:transparent;color:var(--ax-muted);padding:9px 12px;border-radius:7px;min-height:38px;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap}.axo-viz-controls [aria-pressed=true]{background:var(--ax-surface);color:var(--ax-text);box-shadow:0 1px 5px #0002}.axo-viz-controls [aria-pressed=true]:after{content:'';display:block;height:2px;background:var(--ax-action);margin-top:4px;border-radius:2px}
.axo-treemap{position:relative;height:350px;min-width:0;border-radius:12px;overflow:hidden;background:var(--ax-raised)}
.axo-tree-cell{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border:2px solid var(--ax-surface);border-radius:8px;overflow:hidden;padding:10px;cursor:pointer;min-width:0;color:#ebfff4;background:linear-gradient(145deg,#235c49,#163b30);transition:filter .15s}.axo-tree-cell.down{color:#ffeef1;background:linear-gradient(145deg,#783b4c,#492732)}.axo-tree-cell.flat,.axo-tree-cell.unknown{background:linear-gradient(145deg,#485761,#29343d);color:#f0f3f6}.axo-tree-cell:hover{filter:brightness(1.15)}.axo-tree-cell:focus-visible,.axo-activity-dot:focus-visible{outline:3px solid var(--ax-action);outline-offset:-4px;z-index:4}
.axo-viz-avatar{width:38px;height:38px;display:grid;place-items:center;position:relative;flex:none;border-radius:50%;background:#253f35;color:#f2fff5;border:1px solid #ffffff35;overflow:hidden;box-shadow:0 2px 5px #0002;font:700 11px/1 system-ui}.axo-viz-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}.axo-tree-cell .axo-viz-avatar{width:44px;height:44px;border:2px solid #ffffff50}.axo-tree-rank{position:absolute;top:9px;left:11px;font-size:10px;opacity:.6;font-variant-numeric:tabular-nums}.axo-tree-symbol{font-size:16px;letter-spacing:.04em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.axo-tree-value{font-size:24px;letter-spacing:-.6px;line-height:1.15;font-variant-numeric:tabular-nums}.axo-tree-cell small{font-size:10px;opacity:.72}.axo-tree-cell.compact{gap:3px;padding:5px}.axo-tree-cell.compact .axo-viz-avatar{width:28px;height:28px}.axo-tree-cell.compact .axo-tree-symbol{font-size:11px}.axo-tree-cell.compact .axo-tree-value{font-size:15px}.axo-tree-cell.compact small,.axo-tree-cell.compact .axo-tree-rank{display:none}.axo-tree-cell.tiny .axo-tree-symbol,.axo-tree-cell.tiny .axo-tree-value{display:none}.axo-tree-cell.tiny{padding:0}.axo-tree-cell.tiny .axo-viz-avatar{width:min(24px,80%);height:min(24px,80%);box-shadow:none;font-size:8px}
.axo-viz-readout{font-size:11px;line-height:1.6;color:var(--ax-muted);padding:11px 0;min-height:54px;box-sizing:border-box;overflow-wrap:anywhere}.axo-viz-legend{display:flex;gap:14px;font-size:10px;flex-wrap:wrap;color:var(--ax-muted)}.axo-viz-legend span:before,.axo-activity-counts i{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:#849199}.axo-viz-legend .up:before,.axo-activity-counts .up{background:var(--ax-green)}.axo-viz-legend .down:before,.axo-activity-counts .down{background:var(--ax-red)}.axo-viz-note{font-size:10px;line-height:1.65;color:var(--ax-muted);overflow-wrap:anywhere;margin:12px 0}.axo-viz-empty{padding:32px 10px;text-align:center;font-size:12px;color:var(--ax-muted);border:1px dashed var(--ax-border);border-radius:12px}
.axo-viz-list{border-top:1px solid var(--ax-border);margin-top:12px;font-size:11px}.axo-viz-list summary{padding:14px 0;cursor:pointer;font-weight:650;min-height:44px;box-sizing:border-box}.axo-viz-list summary span{float:right;font-size:10px;color:var(--ax-muted);font-weight:400}.axo-viz-row{display:flex;gap:10px;align-items:center;width:100%;min-height:54px;background:transparent;border:0;border-top:1px solid var(--ax-border);color:var(--ax-text);padding:8px 0;text-align:left;cursor:pointer;font:inherit}.axo-viz-row:hover{background:var(--ax-raised)}.axo-viz-row:focus-visible,.axo-viz-controls button:focus-visible,.axo-map-chooser button:focus-visible{outline:2px solid var(--ax-action);outline-offset:2px;border-radius:6px}.axo-viz-rank{color:var(--ax-muted);font-size:10px;width:15px;text-align:center}.axo-viz-row .axo-viz-avatar{width:30px;height:30px}.axo-viz-row-name{display:flex;flex-direction:column;gap:3px;min-width:0}.axo-viz-row-name b{max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.axo-viz-row-name small{font-size:9px;color:var(--ax-muted)}.axo-viz-row-value{margin-left:auto;font-size:11px;text-align:right;color:var(--ax-muted);max-width:48%;line-height:1.6;font-variant-numeric:tabular-nums}
.axo-activity-map{position:relative;height:350px;min-width:0;background:radial-gradient(ellipse at 65% 25%,color-mix(in srgb,var(--ax-green) 5%,transparent),transparent 65%);border-radius:10px}.axo-map-grid{width:100%;height:100%;overflow:visible}.axo-map-grid line{stroke:var(--ax-border);stroke-width:1;stroke-dasharray:2 5;vector-effect:non-scaling-stroke}.axo-map-grid text{fill:var(--ax-muted);font:10px system-ui}.axo-map-grid .axo-map-axis-label{font-size:11px}.axo-map-observation{fill:var(--ax-muted)}.axo-map-observation.up{fill:var(--ax-green)}.axo-map-observation.down{fill:var(--ax-red)}.axo-activity-dot{position:absolute;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;padding:4px;display:grid;place-items:center;border:2px solid #4a987b;background:var(--ax-surface);cursor:pointer;box-shadow:0 2px 7px #0002;z-index:2}.axo-activity-dot.down{border-color:#b8687b}.axo-activity-dot.flat,.axo-activity-dot.unknown{border-color:#8a959e}.axo-activity-dot .axo-viz-avatar{width:30px;height:30px;border:0}.axo-activity-dot:hover,.axo-activity-dot[aria-expanded=true]{z-index:5;outline:2px solid var(--ax-action);outline-offset:2px}.axo-map-cluster{position:absolute;right:-5px;top:-6px;border-radius:10px;border:2px solid var(--ax-surface);background:var(--ax-action);color:#101510;font-size:10px;font-weight:750;padding:2px 4px;min-width:18px;box-sizing:border-box}.axo-map-chooser{position:absolute;top:15px;left:8px;right:8px;z-index:10;padding:10px 14px;background:var(--ax-surface);border:1px solid var(--ax-border);border-radius:12px;box-shadow:0 8px 32px #0004;max-height:290px;overflow:auto}.axo-map-chooser[hidden]{display:none}.axo-map-chooser>div{display:flex;align-items:center;justify-content:space-between;font-size:11px}.axo-map-chooser [data-viz-close]{width:44px;height:44px;border:0;background:transparent;color:var(--ax-text);font-size:22px;cursor:pointer}
.axo-activity-identity{display:flex;align-items:center;gap:10px;margin-bottom:16px}.axo-activity-identity>div{display:flex;flex-direction:column;gap:3px}.axo-activity-identity b{font-size:13px}.axo-activity-identity small{font-size:10px;color:var(--ax-muted)}.axo-activity-status{margin-left:auto;font-size:9px;color:var(--ax-muted);max-width:38%;text-align:right}.axo-activity-status.warn{color:var(--ax-red)}.axo-activity-kpis{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.axo-activity-kpis>div{min-width:0}.axo-activity-kpis small{display:block;font-size:10px;color:var(--ax-muted);margin-bottom:6px}.axo-activity-kpis strong{font-size:27px;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.axo-activity-counts{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--ax-muted)}.axo-activity-counts b{color:var(--ax-text);font-weight:600;margin-left:4px}.axo-buy-sell{height:5px;display:flex;border-radius:3px;overflow:hidden;background:var(--ax-red);margin:10px 0 20px}.axo-buy-sell i{display:block;height:100%;background:var(--ax-green)}.axo-window-bars{border-top:1px solid var(--ax-border);padding-top:10px}.axo-window-bars>div{display:flex;align-items:center;gap:10px;padding:5px 0;font-size:10px}.axo-window-bars span{width:25px;color:var(--ax-muted)}.axo-window-bars b{width:67px;text-align:right;font-weight:500;font-variant-numeric:tabular-nums}.axo-window-track{flex:1;height:6px;background:var(--ax-raised);border-radius:3px;overflow:hidden}.axo-window-track i{display:block;height:100%;background:var(--ax-action);border-radius:3px}.axo-activity-source{font-size:10px;border-top:1px solid var(--ax-border);padding-top:10px}.axo-activity-source summary{cursor:pointer;min-height:32px}.axo-activity-source p{overflow-wrap:anywhere;line-height:1.8;color:var(--ax-muted)}.axo-pool-hourly>p:first-child{font-size:10px;color:var(--ax-muted)}.axo-pool-hourly svg{width:100%;height:auto}.axo-pool-hourly text{fill:var(--ax-muted);font:9px system-ui}
.ch-chart.ch-spark{width:100%;height:auto;min-height:105px}.ch-spark polyline,.spark polyline{stroke-linecap:round;stroke-linejoin:round}.ch-spark text{fill:var(--ax-muted);font:9px system-ui}.ch-spark .axo-chart-grid{stroke:var(--ax-border);stroke-dasharray:2 5;stroke-width:1;vector-effect:non-scaling-stroke}.ch-chart .mini{line-height:1.7}
@media(max-width:600px){.axo-treemap{height:340px}.axo-viz-controls button{padding:10px 9px;min-height:44px}.axo-viz-sample{display:none}.axo-viz-list summary span{display:none}.axo-viz-row-value{font-size:10px}.axo-activity-map{height:310px}.axo-map-grid text{font-size:13px}.axo-map-grid .axo-map-axis-label{font-size:13px}.axo-activity-kpis strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){.axo-tree-cell{transition:none}}
