/* GODIMENTO UI 8904.66 – Kontrastkorrektur Wochenplan
 * Rein visuelle Korrektur fuer die hellen Wochenkarten aus UI8904.64.
 * Keine JS-/DOM-/Datenbank-Aenderung, kein Eingriff in Login, Familie oder Touren.
 * MUSS NACH ui890464 und ui890465 geladen werden.
 */

/* Auf den hellen Tageskarten: Text strikt dunkel, nicht Champagnergold/Weiss. */
#gd8883Overlay .gd8883-day {
  color:#26352b!important;
  -webkit-text-fill-color:#26352b!important;
}
#gd8883Overlay .gd8883-day .gd8883-dayhead strong{
  color:#19382a!important;-webkit-text-fill-color:#19382a!important;
  font-size:clamp(20px,2vw,23px)!important;line-height:1.22!important;
  opacity:1!important;
}
#gd8883Overlay .gd8883-day .gd8883-dayhead small{
  color:#65502f!important;-webkit-text-fill-color:#65502f!important;
  font-size:12px!important;font-weight:750!important;opacity:1!important;
}
#gd8883Overlay .gd8883-day .gd8883-meal {
  border-top-color:#d9c9a9!important;
  align-items:center!important;
  min-width:0!important;
}
#gd8883Overlay .gd8883-day .gd8883-meal > div:not(.gd8888-meal-actions) {
  min-width:0!important;overflow:visible!important;
}
#gd8883Overlay .gd8883-day .gd8883-meal b,
#gd8883Overlay .gd8883-day .gd8883-meal strong {
  display:block!important;
  color:#202e25!important;-webkit-text-fill-color:#202e25!important;
  font-size:14px!important;font-weight:800!important;line-height:1.42!important;
  opacity:1!important;text-shadow:none!important;
  overflow-wrap:anywhere!important;
}
#gd8883Overlay .gd8883-day .gd8883-meal small,
#gd8883Overlay .gd8883-day .gd8883-meal > div:not(.gd8888-meal-actions) > small {
  color:#5e513b!important;-webkit-text-fill-color:#5e513b!important;
  font-size:12px!important;font-weight:650!important;line-height:1.45!important;
  opacity:1!important;text-shadow:none!important;
}
#gd8883Overlay .gd8883-day .gd8883-emptyday {
  color:#515d51!important;-webkit-text-fill-color:#515d51!important;
  font-size:13px!important;opacity:1!important;
}
/* Die Aktionsspalte soll die Rezeptnamen nicht unnoetig zusammenpressen. */
#gd8883Overlay .gd8883-day .gd8883-meal .gd8888-meal-actions{
  display:flex!important;flex:0 0 auto!important;
  align-items:center!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;gap:5px!important;
  width:auto!important;max-width:130px!important;
}
#gd8883Overlay .gd8883-day .gd8883-meal .gd8888-meal-actions button {
  color:#f9e6ba!important;-webkit-text-fill-color:#f9e6ba!important;
  background:#2a261e!important;border:1px solid #987541!important;
  min-height:34px!important;line-height:1.1!important;
}
#gd8883Overlay .gd8883-day .gd8883-meal .gd8888-meal-actions button:not([data-swap]):not([data-remove]){
  flex:0 1 auto!important;width:auto!important;min-width:64px!important;
  padding:7px 9px!important;font-size:12px!important;font-weight:800!important;
}
/* Alle Buttons in der Tageskopfzeile behalten helle Schrift auf dunkelgruen. */
#gd8883Overlay .gd8883-day .gd8883-dayhead button {
  color:#f9e1af!important;-webkit-text-fill-color:#f9e1af!important;
  background:#183024!important;
}
@media(max-width:620px){
 #gd8883Overlay .gd8883-day .gd8883-meal b{font-size:14px!important}
 #gd8883Overlay .gd8883-day .gd8883-meal .gd8888-meal-actions{max-width:110px!important}
}
