body.site-theme:has(.company-workspace)>.container{width:100%;max-width:none;padding:0 16px}
.company-workspace{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px;min-height:0}
.company-chart-panel,.company-details-panel{min-width:0;min-height:0}
.company-details-panel{display:flex;flex-direction:column;border:1px solid var(--site-border,#52606b)}
body.site-theme .company-details-panel #entity-description-tabs{margin:0;flex-shrink:0;gap:0;padding:4px}
body.site-theme .company-details-panel #entity-description-tabs .nav-link{font-size:13px;padding:9px 10px}
.company-details-panel #myTabContent{padding:12px;flex:1;min-height:0;overflow:hidden}
.company-details-panel #myTabContent>.tab-pane{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.company-details-panel h2{font-size:18px;margin:8px 0 12px}
.company-details-panel #finnancial-description{width:100%;text-align:left}
.company-details-panel table{font-size:12px}
.company-details-panel table th,.company-details-panel table td{padding:8px 5px;overflow-wrap:anywhere}
.company-details-panel .company-news-list a{display:block;padding:12px 4px;line-height:1.45}
.company-details-panel .company-news-list time{display:block;margin-bottom:5px}
.company-details-panel .company-news-access{display:block}
.company-details-panel .company-orderbook{margin:0;padding:8px;border:0}
.company-details-panel #overview-text{margin:0;overflow-wrap:anywhere}
.company-details-panel #overview-text img{max-width:100%;height:auto}
@media(min-width:1000px){
 body.site-theme:has(.company-workspace){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;width:100%;max-width:none;margin:0}
 body.site-theme:has(.company-workspace)>#nav-bar{flex-shrink:0;margin:0;padding-top:4px;padding-bottom:4px}
 body.site-theme:has(.company-workspace)>.container{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:10px}
 body.site-theme:has(.company-workspace) #entity-caption{margin:8px 0;flex-shrink:0}
 body.site-theme:has(.company-workspace) #entity-caption h1{font-size:24px;margin:0}
 body.site-theme:has(.company-workspace) #entity-caption .logo-wrapper{padding:3px}
 body.site-theme:has(.company-workspace) #entity-caption img{height:36px;max-width:90px;object-fit:contain}
 body.site-theme:has(.company-workspace) #choose-another-entity-field p{margin:0}
 .company-workspace{flex:1;overflow:hidden}
 .company-chart-panel{display:flex;flex-direction:column}
 body.site-theme .company-chart-panel #chart-block{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;margin:0}
 .company-chart-panel #statistic-control{flex-shrink:0}
 .company-chart-panel .chart-control{margin-bottom:6px}
 body.site-theme .company-chart-panel #chart-container{flex:1;min-height:0;height:auto!important}
 .company-chart-panel #chart-block>p{flex-shrink:0;margin:2px 0;font-size:11px;line-height:1.2;max-height:36px;overflow:auto}
 .company-chart-panel #chart-block>p:empty{display:none}
 body.site-theme:has(.company-workspace)>.footer_index{flex-shrink:0;margin:0;padding:4px 16px;max-height:64px;overflow:auto;font-size:10px}
 body.site-theme:has(.company-workspace)>.footer_index p{margin:0}
}
@media(max-width:999px){
 .company-workspace{grid-template-columns:minmax(0,1fr);gap:16px}
 .company-details-panel #myTabContent{flex:none;height:520px;max-height:70dvh}
 body.site-theme:has(.company-workspace)>.container{padding:0 10px}
}
body.site-theme:has(.company-workspace){max-width:100%;box-sizing:border-box}
body.site-theme:has(.company-workspace) #caption-wrapper{margin-left:0;margin-right:0}
.company-details-panel #overview-text,.company-details-panel #overview-text p,.company-details-panel #overview-text span,.company-details-panel #overview-text strong{color:var(--reading-text,var(--site-text,#ddd))!important}
.company-chart-panel #statistic-form>.row{margin-left:0;margin-right:0}
.company-chart-panel #statistic-form .chart-control{padding-left:0;padding-right:8px;min-width:0}

body.site-theme .company-details-panel #indicators-table{width:100%;table-layout:fixed}
body.site-theme .company-details-panel #indicators-table th:first-child{width:29%;text-align:left;font-weight:400;line-height:1.35}
body.site-theme .company-details-panel #indicators-table th,body.site-theme .company-details-panel #indicators-table td{padding:8px 3px!important;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}

.company-details-panel #financial-header,.company-details-panel #attractiveness-header{text-align:left}

@media(max-width:767px){
 body.site-theme .company-details-panel #indicators-table th:nth-child(3),body.site-theme .company-details-panel #indicators-table td:nth-child(3){display:table-cell}
 body.site-theme .company-details-panel #indicators-table th:first-child{width:28%}
 body.site-theme .company-details-panel #indicators-table tr:first-child th:nth-child(n+3){width:18%}
 body.site-theme .company-details-panel #indicators-table{font-size:11px}
 body.site-theme .company-details-panel #indicators-table td{padding:8px 2px!important}
}

.company-details-panel #myTabContent>#orderbook-pane{overflow:hidden}
.company-details-panel #company-orderbook{height:100%;display:flex;flex-direction:column;min-height:0;box-sizing:border-box}
.company-details-panel #company-orderbook .book-heading,.company-details-panel #company-orderbook .book-totals,.company-details-panel #company-orderbook .book-trade{flex-shrink:0}
.company-details-panel #company-orderbook .book-sides{flex:1;min-height:0}
.company-details-panel #company-orderbook .book-sides>section{display:flex;flex-direction:column;min-height:0}
.company-details-panel #company-orderbook .book-levels{flex:1;min-height:0;max-height:none;overflow:auto}
.company-details-panel #company-orderbook .book-trade{margin-top:12px}
