/* NovaCore 6.1.78 – State-preserving UI / 6.1.50 Funktionsrueckkehr */

/* Startseite: Export-Einnahmen und Import-Ausgaben waren im DOM vorhanden, wurden
   aber von der alten Master-Ansicht ausgeblendet. Beide Karten sind wieder sichtbar. */
#homePage>.nc-home-finance-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}

/* Spalten-Popup: der Tabellen-Scrollcontainer hatte das Popup abgeschnitten. Waehrend
   das Menue offen ist, wird nur dieser Container aus dem Paint-Containment geloest. */
.nc-table-enhanced:has(.nc-table-columns[open]){
  overflow:visible!important;
  contain:none!important;
  position:relative!important;
  z-index:80!important;
}
.nc-table-enhanced:has(.nc-table-columns[open]) .nc-table-toolbar{overflow:visible!important;z-index:90!important}
.nc-table-columns[open]{z-index:100!important}
.nc-table-columns-menu{z-index:120!important;min-width:260px!important;width:max-content!important;max-width:min(360px,calc(100vw - 40px))!important}

/* Im Kopf nur der letzte Import-Stand. Naechster Import-Sync und Konto-Sync sind
   reine Hintergrunddetails und werden nicht mehr in der Benutzeroberflaeche gezeigt. */
.nc-master-header-live{grid-template-columns:minmax(170px,1fr) minmax(210px,1.25fr)!important;max-width:520px!important}

/* Die zurueckgekehrten Seiten in der linken Navigation haben dieselbe Geometrie
   wie die bestehenden Eintraege. */
#navRealEstate,#navCompanyProfit{display:grid!important}

@media(max-width:820px){#homePage>.nc-home-finance-grid{grid-template-columns:1fr!important}}
