/* yourZone Phase 2 · 08.11.2026 · nur Darstellung, als letztes Stylesheet geladen.
   Freigegeben: Primärbutton Aqua (A), Tagebuch-Kategorien farbig (B), Kleinigkeiten a–h. */

/* 1 · Primärbutton Aqua mit dunkler Schrift, auch auf der Anmeldeseite */
.yz-login button[type=submit]{background:#59bfc1!important;color:#10292b!important;-webkit-text-fill-color:#10292b!important;font-weight:600!important;min-height:48px}
.yz-login button[type=submit]:focus-visible{outline:3px solid #59bfc1;outline-offset:3px}
#yz-portal .yz-action.yz-primary{background:#59bfc1;border-color:#59bfc1;color:#10292b!important;-webkit-text-fill-color:#10292b!important}
@media(hover:hover){#yz-portal .yz-action.yz-primary:not(:disabled):hover{background:#6fcacc;border-color:#6fcacc}}
#yz-portal .yz-action.yz-primary:not(:disabled):active{background:#4fb0b2;border-color:#4fb0b2}

/* 3 · Tagebuch-Kategorien: gleiche Helligkeit, gedämpft; Aqua bleibt die stärkste Farbe */
html #yz-portal .yz-kind-training{--entry-color:#59bfc1}
html #yz-portal .yz-kind-meal{--entry-color:#d9a85b}
html #yz-portal .yz-kind-balance{--entry-color:#8fbf7a}
html #yz-portal .yz-kind-steps{--entry-color:#7fb4d9}
html #yz-portal .yz-kind-note{--entry-color:#a993c4}
html[data-yz-theme=light] #yz-portal .yz-kind-training{--entry-color:#1f8285}
html[data-yz-theme=light] #yz-portal .yz-kind-meal{--entry-color:#94661c}
html[data-yz-theme=light] #yz-portal .yz-kind-balance{--entry-color:#4d7a38}
html[data-yz-theme=light] #yz-portal .yz-kind-steps{--entry-color:#2d6c96}
html[data-yz-theme=light] #yz-portal .yz-kind-note{--entry-color:#6a538e}
/* höhere Spezifität als die Glas-Regeln, die border-color für alle Seiten setzen */
html #yz-portal .yz-diary-entry[class],
html[data-yz-theme] #yz-portal .yz-diary-entry[class],
html[data-yz-glass][data-yz-theme] #yz-portal .yz-diary-entry[class]{border-left:3px solid var(--entry-color,#59bfc1)!important;border-left-color:var(--entry-color,#59bfc1)!important}
html #yz-portal .yz-diary-icon{color:var(--entry-color,#59bfc1)!important}
html #yz-portal .yz-diary-metrics>span{color:var(--entry-color,#59bfc1)!important;background:color-mix(in srgb,var(--entry-color,#59bfc1) 14%,transparent)!important}
html #yz-portal .yz-diary-legend{display:flex!important}

/* a · Darstellungsleiste oben als eine durchgehende Fläche inkl. Statusleisten-Bereich */
html[data-yz-theme]:not([data-yz-embedded]) body>.yz-appearance-bar,
html[data-yz-theme]:not([data-yz-embedded]) .yzg-own-bar{background:#151d20!important}
html[data-yz-theme=light]:not([data-yz-embedded]) body>.yz-appearance-bar,
html[data-yz-theme=light]:not([data-yz-embedded]) .yzg-own-bar{background:#f4f9f9!important}

@media(max-width:850px){
 /* b · Inhalt endet mit Luft über Schnellzugriff-Knopf und unterer Navigation */
 html[data-yz-theme] #yz-portal:has(.yz-nav){padding-bottom:calc(184px + env(safe-area-inset-bottom,0px))!important}

 /* c · Bibliotheksblatt: Seite dahinter abgedunkelt, unten Luft, Scroll-Hinweis statt harter Kante */
 html[data-yz-theme] #yz-portal:has(.yz-nav[data-yz-library=open])::after{content:"";position:fixed;inset:0;z-index:99;background:rgba(6,11,13,.55);pointer-events:none}
 html[data-yz-theme=light] #yz-portal:has(.yz-nav[data-yz-library=open])::after{background:rgba(16,35,39,.28)}
 html[data-yz-theme] #yz-portal .yz-nav[data-yz-library=open],
 html[data-yz-theme] #yz-portal.yz-coach-workspace .yz-nav[data-yz-library=open]{
  padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))!important;
  -webkit-mask-image:linear-gradient(#000 calc(100% - 36px),transparent);
  mask-image:linear-gradient(#000 calc(100% - 36px),transparent);
 }
}

/* d · Wochentage im Dunkelmodus als Glas, gewählter Tag in Aqua */
html[data-yz-theme=dark] #yz-portal .yz-day{background:rgba(255,255,255,.06)!important;border:1px solid var(--glass-line,#ffffff32)!important;color:var(--glass-ink,#f4f7f8)!important}
html[data-yz-theme=dark] #yz-portal .yz-day[aria-pressed=true]{background:#59bfc1!important;border-color:#59bfc1!important;color:#10292b!important}
html[data-yz-theme=dark] #yz-portal .yz-day[aria-pressed=true] .yz-dot{background:#10292b!important}

/* f · „Zur aktuellen Woche“ nur zeigen, wenn man woanders ist (in der aktuellen Woche ist er deaktiviert) */
#yz-portal .yz-week-tools>[data-yz-week-shift="0"]:disabled{display:none!important}

/* g · Coach-Hinweise: bei leerer Liste nur ein Satz */
#yz-portal .yz-coach-hints:has(.yz-hints-empty) .yz-hints-intro{display:none!important}

/* h · Überschriften: Barlow Condensed für Seitentitel und Bereichskacheln, Manrope für Kartentitel */
html[data-yz-theme] #yz-portal [data-home-toolbar] strong{font:600 30px/1 'Barlow Condensed',Manrope,sans-serif!important;letter-spacing:.005em!important}
html[data-yz-theme] #yz-portal .yz-home-feature h2{font:600 26px/1.1 'Barlow Condensed',Manrope,sans-serif!important;letter-spacing:.01em!important;text-transform:none!important}
