/* NovaCore 6.1.127 – struktureller Unterseiten-Fix + größerer KPI-Preisverlauf. */

/* -------------------------------------------------------------------------
   IMPORT – exakt derselbe äußere Aufbau wie Export
   ------------------------------------------------------------------------- */
body[data-nc-page="imports"] .main{
  width:calc(100% - var(--nc-main-nav-w))!important;
  max-width:none!important;
  margin:0 0 0 var(--nc-main-nav-w)!important;
  padding:14px 16px 8px!important;
  height:calc(100vh - var(--nc-chrome-h,98px))!important;
  min-height:0!important;
  overflow:hidden!important;
}
body[data-nc-page="imports"] #importPage{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  contain:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto minmax(0,1fr)!important;
  align-content:stretch!important;
}
body[data-nc-page="imports"] #importPage.hidden{display:none!important}
body[data-nc-page="imports"] #importPage>.page-header{
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0 0 10px!important;
}
body[data-nc-page="imports"] #importPage>.premium-strip{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 10px!important;
}
body[data-nc-page="imports"] #importPage>#importDiagnosticSummary.hidden{display:none!important}
body[data-nc-page="imports"] #importPage .import-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) clamp(300px,22vw,360px)!important;
  grid-template-rows:minmax(0,1fr)!important;
  gap:14px!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  contain:none!important;
}
body[data-nc-page="imports"] #importPage .import-layout>.content{
  grid-column:1!important;
  grid-row:1!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0 2px 0 0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  transform:none!important;
  contain:none!important;
}
body[data-nc-page="imports"] #importPage .controls-panel{
  position:relative!important;
  top:auto!important;
  z-index:1!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 10px!important;
}
body[data-nc-page="imports"] #importPage #importResults,
body[data-nc-page="imports"] #importPage .import-company-section{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  overflow:visible!important;
  content-visibility:visible!important;
  contain:none!important;
  contain-intrinsic-size:auto!important;
}
body[data-nc-page="imports"] #importPage .import-company-section{margin-bottom:10px!important}
body[data-nc-page="imports"] #importPage .tablewrap{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
}
body[data-nc-page="imports"] #importPage .import-table{
  width:100%!important;
  min-width:840px!important;
  max-width:none!important;
  table-layout:fixed!important;
}
body[data-nc-page="imports"] #importPage .import-sidebar{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  position:relative!important;
  top:auto!important;
  right:auto!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
body[data-nc-page="imports"] #importPage .import-sidebar .side-panel{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  padding:12px!important;
  overflow:hidden!important;
}
body[data-nc-page="imports"] #importPage .import-company-list{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}

/* -------------------------------------------------------------------------
   STARTSEITE – Preisverlauf klar größer und besser lesbar
   ------------------------------------------------------------------------- */
#homePage .nc-master-kpi-panel{
  height:405px!important;
  min-height:405px!important;
  grid-template-rows:46px 104px minmax(0,1fr)!important;
}
#homePage .nc-master-chart{
  height:255px!important;
  min-height:255px!important;
  padding:10px 16px 14px!important;
  grid-template-rows:40px minmax(0,1fr)!important;
  overflow:hidden!important;
}
#homePage .nc-master-chart>div{
  min-height:40px!important;
  height:40px!important;
  gap:18px!important;
}
#homePage .nc-master-chart>div>strong{
  font-size:16px!important;
  line-height:20px!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
#homePage .nc-pixel-chart-legend{
  gap:18px!important;
  font-size:12px!important;
  line-height:16px!important;
  font-weight:750!important;
}
#homePage .nc-pixel-chart-legend span{gap:5px!important}
#homePage .nc-pixel-chart-legend i{width:9px!important;height:9px!important;min-width:9px!important}
#homePage .nc-reference-chart-6179{
  width:100%!important;
  height:200px!important;
  display:block!important;
  margin:0!important;
  overflow:visible!important;
}
#homePage .nc-reference-chart-6179 .nc-ref-label{
  font-size:12px!important;
  font-weight:700!important;
  fill:#9eb9ca!important;
}
#homePage .nc-reference-chart-6179 .nc-ref-xlabel{font-size:11px!important}
#homePage .nc-reference-chart-6179 .nc-ref-grid{stroke-width:.8!important;opacity:.78!important}
#homePage .nc-reference-chart-6179 .nc-ref-axis{stroke-width:1!important}
#homePage .nc-reference-chart-6179 .nc-ref-import,
#homePage .nc-reference-chart-6179 .nc-ref-market,
#homePage .nc-reference-chart-6179 .nc-ref-mix{stroke-width:2.8!important}

@media(max-width:900px){
  body[data-nc-page="imports"] .main{height:auto!important;overflow:visible!important;padding-bottom:42px!important}
  body[data-nc-page="imports"] #importPage{height:auto!important;overflow:visible!important;display:block!important}
  body[data-nc-page="imports"] #importPage .import-layout{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important}
  body[data-nc-page="imports"] #importPage .import-layout>.content{height:auto!important;max-height:none!important;overflow:visible!important}
  body[data-nc-page="imports"] #importPage .import-sidebar{height:auto!important;max-height:380px!important;margin-top:12px!important}
  body[data-nc-page="imports"] #importPage .import-company-list{max-height:300px!important}
  body[data-nc-page="imports"] #importPage>.premium-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  #homePage .nc-master-kpi-panel{height:auto!important;min-height:430px!important}
  #homePage .nc-master-chart{height:auto!important;min-height:285px!important;grid-template-rows:auto minmax(210px,1fr)!important}
  #homePage .nc-master-chart>div{height:auto!important;align-items:flex-start!important;flex-direction:column!important}
  #homePage .nc-reference-chart-6179{height:210px!important}
  body[data-nc-page="imports"] #importPage>.premium-strip{grid-template-columns:1fr!important}
}
