
/* =========================================================
   Geyssel Steuerungsportal V6.10.14
   Allerletzte Listen-/Tabellen-Schicht
   Lädt NACH style-reset-final.css.
   ========================================================= */

/* Alle Portal-Tabellen: dunkelblau/weiß.
   Spezifität absichtlich höher als alte frontend.css-Regeln. */
html body.geyssel-app-mode .geyssel-front table.geyssel-table,
html body.geyssel-portal-app .geyssel-front table.geyssel-table,
html body.geyssel-app-mode .geyssel-front table.widefat,
html body.geyssel-portal-app .geyssel-front table.widefat{
  background:#082c4a!important;
  color:#fff!important;
  border-color:#2b6f9f!important;
}

/* Tabellenkopf */
html body.geyssel-app-mode .geyssel-front table.geyssel-table thead th,
html body.geyssel-portal-app .geyssel-front table.geyssel-table thead th,
html body.geyssel-app-mode .geyssel-front table.widefat thead th,
html body.geyssel-portal-app .geyssel-front table.widefat thead th{
  background:#0d4774!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#2b6f9f!important;
}

/* Gerade Zeilen */
html body.geyssel-app-mode .geyssel-front table.geyssel-table tbody tr:nth-child(even) > td,
html body.geyssel-portal-app .geyssel-front table.geyssel-table tbody tr:nth-child(even) > td,
html body.geyssel-app-mode .geyssel-front table.widefat tbody tr:nth-child(even) > td,
html body.geyssel-portal-app .geyssel-front table.widefat tbody tr:nth-child(even) > td{
  background:#0a3559!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#2b6f9f!important;
}

/* Ungerade Zeilen */
html body.geyssel-app-mode .geyssel-front table.geyssel-table tbody tr:nth-child(odd) > td,
html body.geyssel-portal-app .geyssel-front table.geyssel-table tbody tr:nth-child(odd) > td,
html body.geyssel-app-mode .geyssel-front table.widefat tbody tr:nth-child(odd) > td,
html body.geyssel-portal-app .geyssel-front table.widefat tbody tr:nth-child(odd) > td{
  background:#082c4a!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#2b6f9f!important;
}

/* WordPress striped explizit neutralisieren */
html body.geyssel-app-mode .geyssel-front table.striped > tbody > tr:nth-child(odd) > *,
html body.geyssel-portal-app .geyssel-front table.striped > tbody > tr:nth-child(odd) > *{
  background:#082c4a!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body.geyssel-app-mode .geyssel-front table.striped > tbody > tr:nth-child(even) > *,
html body.geyssel-portal-app .geyssel-front table.striped > tbody > tr:nth-child(even) > *{
  background:#0a3559!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Fallback für Tabellen ohne spezielle Klasse */
html body.geyssel-app-mode .geyssel-front .geyssel-table-wrap table tbody tr:nth-child(odd) > td,
html body.geyssel-portal-app .geyssel-front .geyssel-table-wrap table tbody tr:nth-child(odd) > td{
  background:#082c4a!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body.geyssel-app-mode .geyssel-front .geyssel-table-wrap table tbody tr:nth-child(even) > td,
html body.geyssel-portal-app .geyssel-front .geyssel-table-wrap table tbody tr:nth-child(even) > td{
  background:#0a3559!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Hover */
html body.geyssel-app-mode .geyssel-front table.geyssel-table tbody tr:hover > td,
html body.geyssel-portal-app .geyssel-front table.geyssel-table tbody tr:hover > td,
html body.geyssel-app-mode .geyssel-front table.widefat tbody tr:hover > td,
html body.geyssel-portal-app .geyssel-front table.widefat tbody tr:hover > td{
  background:#0f4b79!important;
}

/* Zelltexte und verschachtelte Standardtexte */
html body.geyssel-app-mode .geyssel-front table.geyssel-table tbody td,
html body.geyssel-app-mode .geyssel-front table.geyssel-table tbody td p,
html body.geyssel-app-mode .geyssel-front table.geyssel-table tbody td strong,
html body.geyssel-app-mode .geyssel-front table.geyssel-table tbody td small,
html body.geyssel-app-mode .geyssel-front table.geyssel-table tbody td div,
html body.geyssel-portal-app .geyssel-front table.geyssel-table tbody td,
html body.geyssel-portal-app .geyssel-front table.geyssel-table tbody td p,
html body.geyssel-portal-app .geyssel-front table.geyssel-table tbody td strong,
html body.geyssel-portal-app .geyssel-front table.geyssel-table tbody td small,
html body.geyssel-portal-app .geyssel-front table.geyssel-table tbody td div{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Normale Tabellenlinks: hellblau, auch nach Besuch */
html body.geyssel-app-mode .geyssel-front table tbody td a:not(.geyssel-btn):not(.button),
html body.geyssel-app-mode .geyssel-front table tbody td a:not(.geyssel-btn):not(.button):visited,
html body.geyssel-portal-app .geyssel-front table tbody td a:not(.geyssel-btn):not(.button),
html body.geyssel-portal-app .geyssel-front table tbody td a:not(.geyssel-btn):not(.button):visited{
  color:#b9e5ff!important;
  -webkit-text-fill-color:#b9e5ff!important;
}

/* Buttons in Tabellen immer blau/weiß */
html body.geyssel-app-mode .geyssel-front table .geyssel-btn,
html body.geyssel-app-mode .geyssel-front table .button,
html body.geyssel-app-mode .geyssel-front table button,
html body.geyssel-portal-app .geyssel-front table .geyssel-btn,
html body.geyssel-portal-app .geyssel-front table .button,
html body.geyssel-portal-app .geyssel-front table button{
  background:#0d78c6!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #5ca7d4!important;
}

/* Status-Badges behalten ihre eigenen Hintergründe.
   Nur die bekannten hellen Statusfarben bekommen dunklen Text. */
html body.geyssel-app-mode .geyssel-front table .status,
html body.geyssel-portal-app .geyssel-front table .status{
  background-clip:padding-box!important;
  font-weight:800!important;
}
html body.geyssel-app-mode .geyssel-front table .status.status-new,
html body.geyssel-app-mode .geyssel-front table .status.status-accepted,
html body.geyssel-app-mode .geyssel-front table .status.status-material_ordered,
html body.geyssel-app-mode .geyssel-front table .status.status-in_production,
html body.geyssel-app-mode .geyssel-front table .status.status-ready,
html body.geyssel-app-mode .geyssel-front table .status.status-shipped,
html body.geyssel-app-mode .geyssel-front table .status.status-received,
html body.geyssel-app-mode .geyssel-front table .status.status-installed,
html body.geyssel-portal-app .geyssel-front table .status.status-new,
html body.geyssel-portal-app .geyssel-front table .status.status-accepted,
html body.geyssel-portal-app .geyssel-front table .status.status-material_ordered,
html body.geyssel-portal-app .geyssel-front table .status.status-in_production,
html body.geyssel-portal-app .geyssel-front table .status.status-ready,
html body.geyssel-portal-app .geyssel-front table .status.status-shipped,
html body.geyssel-portal-app .geyssel-front table .status.status-received,
html body.geyssel-portal-app .geyssel-front table .status.status-installed{
  color:#17324d!important;
  -webkit-text-fill-color:#17324d!important;
}

/* Tabellencontainer */
html body.geyssel-app-mode .geyssel-front .geyssel-table-wrap,
html body.geyssel-portal-app .geyssel-front .geyssel-table-wrap{
  background:#082c4a!important;
  border-color:#2b6f9f!important;
}
