body.site-theme:has(.statistic-workspace)>.container{width:100%;max-width:none;padding:0 16px}
.statistic-workspace{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px;min-height:0}
.statistic-chart-panel{min-width:0;min-height:0}
.statistic-workspace .statistic-recent-values{width:100%;margin:0;min-width:0;min-height:0;border:1px solid var(--reading-border,#394653);display:flex;flex-direction:column;padding:12px;overflow:hidden}
.statistic-workspace .statistic-recent-values h2{font-size:18px;margin:0 0 12px;flex-shrink:0}
.statistic-workspace .recent-values-table{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.statistic-workspace .recent-values-table thead{position:sticky;top:0;z-index:1;background:var(--reading-paper,#10151a)}
.statistic-workspace .recent-values-table td{white-space:nowrap}
body.site-theme:has(.statistic-workspace) #caption-wrapper{margin-left:0;margin-right:0}
@media(min-width:1000px){
 body.site-theme:has(.statistic-workspace){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;width:100%;max-width:none;margin:0}
 body.site-theme:has(.statistic-workspace)>#nav-bar{flex-shrink:0;margin:0;padding-top:4px;padding-bottom:4px}
 body.site-theme:has(.statistic-workspace)>.container{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:10px}
 body.site-theme:has(.statistic-workspace) #entity-caption{margin:8px 0;flex-shrink:0}
 body.site-theme:has(.statistic-workspace) #entity-caption h1{font-size:24px;margin:0;line-height:1.25}
 body.site-theme:has(.statistic-workspace) #choose-another-entity-field p{margin:0}
 .statistic-workspace{flex:1;overflow:hidden;grid-template-rows:minmax(0,1fr)}
 .statistic-chart-panel{display:flex;flex-direction:column}
 body.site-theme .statistic-chart-panel #chart-block{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;margin:0}
 .statistic-chart-panel #statistic-control{flex-shrink:0}
 .statistic-chart-panel .chart-control{margin-bottom:6px}
 body.site-theme .statistic-chart-panel #chart-container{flex:1;min-height:0;height:auto!important}
 .statistic-chart-panel #chart-block>p{flex-shrink:0;margin:2px 0;font-size:11px;line-height:1.2;max-height:36px;overflow:auto}
 .statistic-chart-panel #chart-block>p:empty{display:none}
 body.site-theme:has(.statistic-workspace)>.footer_index{flex-shrink:0;margin:0;padding:4px 16px;max-height:64px;overflow:auto;font-size:10px}
 body.site-theme:has(.statistic-workspace)>.footer_index p{margin:0}
}
@media(max-width:999px){
 .statistic-workspace{grid-template-columns:minmax(0,1fr);gap:16px}
 .statistic-workspace .recent-values-table{max-height:60dvh}
 body.site-theme:has(.statistic-workspace)>.container{padding:0 10px}
 .statistic-chart-panel #chart-block{width:100%;margin:0}
}
