/* chart-workbench-v1 — chart routes only; active-addresses/home excluded. */
/* holder-brilliance-v1: crisp curves, visible inspection and aligned category cells. */
body.page-holder-thresholds #holder-thresholds-chart .holder-data-line {opacity:1;stroke-width:3}
body.page-holder-thresholds #holder-thresholds-chart .holder-price-background-line {opacity:.7;stroke-width:2.6}
body.page-holder-thresholds #holder-thresholds-chart #holder-hover-line {stroke:#d8fbff;stroke-width:1.7;stroke-dasharray:3 4;filter:drop-shadow(0 0 3px #67e8f980)}
body.page-holder-thresholds #holder-thresholds-chart .holder-lane-change {fill:#c5d6e9}
body.page-holder-thresholds #holder-thresholds-chart .holder-lane-icon {filter:brightness(1.18) saturate(1.2) drop-shadow(0 0 4px #9deaff55)}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-icon {filter:brightness(1.18) saturate(1.2) drop-shadow(0 0 4px #9deaff55)}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-button.is-active {opacity:1;border-color:color-mix(in srgb,var(--series-color) 65%,transparent);background:color-mix(in srgb,var(--series-color) 13%,#081222)}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-button:hover {opacity:1;border-color:var(--series-color)}
body.page-holder-thresholds #holder-thresholds-tooltip {border-color:#80eaf1a6;background:#0b192f;box-shadow:0 8px 28px #0008,0 0 12px #67e8f91a}
body.page-holder-thresholds .holder-distribution-table td:first-child {text-align:left}
body.page-holder-thresholds .holder-distribution-table .holder-cohort-name {display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;min-width:158px}
body.page-holder-thresholds .holder-distribution-table .holder-cohort-icon {width:40px;height:40px;font-size:28px;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;border-color:color-mix(in srgb,var(--series-color) 65%,transparent);background:color-mix(in srgb,var(--series-color) 16%,#07101f);filter:brightness(1.18) saturate(1.2)}
body.page-holder-thresholds .holder-table-wrap {scrollbar-color:#70cddd #101d32;scrollbar-width:auto}

/* chart-first-holder-v3: dedicated rows, not generic flex children. */
body.page-holder-thresholds.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) #holder-thresholds-chart-toolbar {
  display:grid!important; grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important; padding:12px!important; justify-content:stretch!important;
}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-topline {
  display:flex; flex-direction:row; flex-wrap:wrap; align-items:center;
  justify-content:center; gap:8px 18px; padding:0 0 10px; width:100%; min-width:0;
}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-section {
  display:flex; flex:0 1 auto; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px; min-width:0;
}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-section:has([data-view]) {order:-1}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-segmented {
  display:flex; flex-wrap:wrap; width:auto; gap:4px; padding:0; border:0; background:none;
}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-label {font:700 10px Mulish,Arial,sans-serif;letter-spacing:.04em;color:#9fb9cc}
body.page-holder-thresholds #holder-thresholds-chart-toolbar [data-view].is-active {background:#79e5dd!important;color:#092b36!important;-webkit-text-fill-color:#092b36!important}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-price-toggle {min-height:32px;padding:5px 10px;gap:7px;border-radius:6px}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-price-toggle small {display:none}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-price-toggle strong {font-size:11px}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-heading {display:none}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-series-controls {width:100%;min-width:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
/* holder-icons-v3: reserve a real icon column, never the legacy 4px swatch. */
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-button {display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;padding:7px 8px;gap:7px;border-radius:8px;min-height:50px}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-icon {display:flex;align-items:center;justify-content:center;width:34px;height:34px;font-size:30px;line-height:1;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif}
body.page-holder-thresholds.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) #holder-thresholds-chart text.holder-lane-icon {font-size:28px!important;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif!important}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-button strong {font-size:12px}
body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-button small {font-size:10px}
@media(max-width:1000px){
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-series-controls {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:480px){
 body.page-holder-thresholds.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) #holder-thresholds-chart-toolbar {padding:8px!important;gap:8px!important}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-topline {gap:8px 12px;justify-content:flex-start}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-section--range {flex-basis:100%;justify-content:flex-start}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-section--range .holder-segmented {flex:1;gap:3px}
 body.page-holder-thresholds.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) #holder-thresholds-chart-toolbar [data-range] {flex:1 1 0!important;padding:6px 2px!important}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-section--range {display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-section--range .holder-segmented {width:100%;flex-wrap:nowrap}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-section--price {flex-direction:row;flex:0 1 auto;width:auto}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-control-section--price>.holder-control-label {display:none}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-price-toggle {width:auto;min-width:0}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-series-controls {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.page-holder-thresholds #holder-thresholds-chart-toolbar .holder-category-button {padding:7px 5px;gap:5px}
}

/* visual-review-v2: supplementary readings do not displace the chart. */
body.chart-workbench .metric-context-details{min-width:0;border:1px solid #6ddce526;border-radius:12px;background:#132136;margin:0;padding:0 12px}
body.chart-workbench .metric-context-details>summary{cursor:pointer;padding:12px 0;color:#a9dfe5;font:700 12px Mulish,Arial,sans-serif;line-height:1.5}
body.chart-workbench .metric-context-details>summary:focus-visible{outline:2px solid #80eaf1;outline-offset:2px}
body.chart-workbench .metric-context-details[open]>summary{border-bottom:1px solid #6ddce526;margin-bottom:12px}
body.chart-workbench .metric-context-details>section{margin:12px 0}
body.chart-workbench .metric-context-details .panel{padding:16px}

body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .page-shell{max-width:1440px;padding:8px 24px 20px;gap:0!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .hero.hero--compact{margin-bottom:0!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) main{gap:12px!important;margin-top:0!important;min-width:0}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-panel{padding:18px!important;margin:0!important;border-radius:20px;min-width:0}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-stage{padding:0!important;gap:12px!important;min-width:0}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-meta{padding:0 0 10px!important;margin:0!important;min-height:0!important;gap:10px!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-meta--compact-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-meta-value{font-size:20px!important;line-height:1.25}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-context{font-size:12px!important;line-height:1.4}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-control-dock,body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-meta-actions:has(.chart-toolbar-unified){width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;min-width:0}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-toolbar-toggle{display:none!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-toolbar-unified.chart-toolbar-unified,body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .holder-control-panel,body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .workbench-direct-controls{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:8px 20px!important;padding:10px 12px!important;margin:0 0 12px!important;box-sizing:border-box;background:linear-gradient(125deg,#14283d,#111d31 65%)!important;border:1px solid #6ddce540!important;border-radius:14px!important;box-shadow:inset 0 1px #b5faff0d,0 5px 20px #0002!important;max-height:none!important;overflow:visible!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-toolbar-unified>:is(.chart-controls-row,.chart-control-row,.cointime-controls-row){display:flex!important;flex-wrap:wrap!important;align-items:center;justify-content:center;gap:8px 20px!important;min-width:0;max-width:100%;flex:0 1 auto!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) :is(.chart-toolbar-unified,.holder-control-panel,.workbench-direct-controls) .control-group{display:flex!important;flex:0 1 auto!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:4px!important;padding:0!important;margin:0!important;min-width:0!important;max-width:100%!important;width:auto!important;min-height:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-toolbar-unified .control-group::before{content:attr(data-label)!important;position:static!important;display:block!important;flex-basis:auto!important;margin:0 5px 0 0!important;font:700 10px Mulish,Arial,sans-serif!important;color:#92a3bc!important;letter-spacing:.04em;text-transform:uppercase}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-toolbar-unified .control-group::after{content:none!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) :is(.chart-toolbar-unified,.holder-control-panel,.workbench-direct-controls) :is(.control-pill,.exchange-pill,.reset-zoom){flex:0 0 auto!important;min-width:0!important;min-height:32px!important;padding:5px 10px!important;font:700 11px Mulish,Arial,sans-serif!important;border-radius:6px!important;white-space:normal!important;color:#bdcddd!important;-webkit-text-fill-color:#bdcddd!important;background:#ffffff05!important;border:1px solid #91b3d024!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) :is(.chart-toolbar-unified,.holder-control-panel,.workbench-direct-controls) :is(.control-pill,.exchange-pill).is-active{color:#eaffff!important;-webkit-text-fill-color:#eaffff!important;background:#2c728052!important;border-color:#70e1eb99!important;box-shadow:inset 0 -2px #74e7ec!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-toolbar-unified .control-group[data-label="View"]{order:-1}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-toolbar-unified .control-group[data-label="View"] .is-active{background:linear-gradient(110deg,#75ebdd,#60cce8)!important;color:#082c39!important;-webkit-text-fill-color:#082c39!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) :is(.chart-toolbar-unified,.holder-control-panel,.workbench-direct-controls) [hidden]{display:none!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) :is(.chart-toolbar-unified,.holder-control-panel,.workbench-direct-controls) button:disabled{opacity:.4;cursor:default}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) :is(.chart-toolbar-unified,.holder-control-panel,.workbench-direct-controls) button:focus-visible{outline:2px solid #80eaf1;outline-offset:3px}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) :is(.chart-wrap,.validator-stake-chart-wrap,.fear-chart-wrap,.epoch-chart-wrap):has(.chart-responsive-svg){padding:8px 0!important;margin:0!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important;min-width:0}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) svg.chart-responsive-svg{display:block!important;width:100%!important;height:clamp(440px,58svh,640px)!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) svg.chart-responsive-svg.chart-multi-pane{height:var(--chart-pane-height,640px)!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) svg.chart-responsive-svg text{font-family:Mulish,Arial,sans-serif!important;font-size:12px!important;font-variant-numeric:tabular-nums;letter-spacing:normal!important}
@media(max-width:760px){
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .page-shell{padding:8px 12px 16px}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-panel{padding:10px!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .chart-toolbar-unified.chart-toolbar-unified,body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .holder-control-panel,body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) .workbench-direct-controls{padding:8px!important;gap:6px 12px!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) :is(.chart-toolbar-unified,.holder-control-panel,.workbench-direct-controls) :is(.control-pill,.exchange-pill,.reset-zoom){min-height:36px!important;padding:6px 8px!important}
body.chart-workbench:not(#legacy-chart-layout):not(#legacy-chart-dock) svg.chart-responsive-svg:not(.chart-multi-pane){height:400px!important}
}
