/*
 * woijd-ui 1.5.0 – Konto oben rechts (Guide KON-01 bis KON-04): das Profilbild und die Kacheln der eigenen
 * woijd-Werkzeuge, gezeichnet von WoijdUI.konto() in woijd-ui.js. Die Blasen hängen am <body>.
 *
 * Eigene Datei, damit auch eine Oberfläche mit eigenem Rahmen (woijd timeTrack) sie allein einbinden kann: hier stehen
 * keine Token, nur Bausteine. Die Farben kommen aus den Token der Seite (--surface, --text, --border, --hover,
 * --primary, --danger); die festen Markenfarben haben einen Rückfall.
 */
.w-profil { width: 36px; height: 36px; padding: 0; border-radius: 50%; flex: none; overflow: hidden; cursor: pointer;
  background: var(--woijd-moos, #2e6b4f); color: #fff; border: 1.5px solid rgba(255, 255, 255, .22);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; line-height: 1; transition: border-color .15s, box-shadow .15s; }
.w-profil:hover, .w-profil[aria-expanded="true"] { border-color: rgba(255, 255, 255, .75); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.w-profil img, .w-blase-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-apps-knopf[aria-expanded="true"] { background: rgba(255, 255, 255, .22); }
.w-blase { position: fixed; top: calc(var(--kopf-h, 56px) + 6px); right: 12px; z-index: 600; width: 316px; max-width: calc(100vw - 24px);
  max-height: calc(100vh - var(--kopf-h, 56px) - 24px); max-height: calc(100dvh - var(--kopf-h, 56px) - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-blatt, 16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22); font-family: var(--schrift, inherit); font-size: 14px; line-height: 1.45; animation: w-blase-auf .12s ease; }
@keyframes w-blase-auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .w-blase { animation: none; } }
.w-blase-kopf { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 20px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.w-blase-bild { position: relative; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; margin-bottom: 6px; padding: 0; border: 0;
  background: var(--woijd-moos, #2e6b4f); color: #fff; display: flex; align-items: center; justify-content: center; font-family: inherit; font-size: 26px; font-weight: 700; }
button.w-blase-bild, a.w-blase-bild { cursor: pointer; text-decoration: none; }
.w-blase-bild .stift { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: rgba(0, 0, 0, .5); color: #fff;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .12s; }
.w-blase-bild:hover .stift, .w-blase-bild:focus-visible .stift { opacity: 1; }
.w-blase-bild .stift svg { width: 14px; height: 14px; }
@media (hover: none) { .w-blase-bild .stift { opacity: 1; } }
.w-blase-name { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.w-blase-zeile { font-size: 13px; color: var(--text-dim); overflow-wrap: anywhere; }
.w-blase-meldung { font-size: 12.5px; color: var(--danger); margin-top: 4px; }
.w-blase-liste { padding: 6px 0; display: flex; flex-direction: column; }
.w-blase-liste a, .w-blase-liste button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 20px; width: 100%;
  border: 0; background: none; color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.w-blase-liste a:hover, .w-blase-liste button:hover { background: var(--hover); }
.w-blase-liste svg { width: 18px; height: 18px; flex: none; color: var(--text-dim); }
.w-blase-liste .trenner { height: 1px; background: var(--border); margin: 6px 0; }
.w-apps-titel { padding: 16px 20px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.w-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px 12px 14px; }
.w-apps a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px 10px; border-radius: 12px;
  color: var(--text); text-decoration: none; font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.25; min-height: 88px; }
.w-apps a:hover { background: var(--hover); }
.w-apps a[aria-current="page"] { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.w-apps .kachel { width: 44px; height: 44px; border-radius: 12px; background: var(--woijd-graphit, #1d1d1f); color: var(--woijd-spross, #8cc79a); display: flex; align-items: center; justify-content: center; flex: none; }
.w-apps .kachel svg { width: 24px; height: 24px; }
/* Produkte tragen ihr Zeichen aus dem Markenbuch: Spross auf der Kachel in der Farbe des Produkts (KON-06) */
.w-apps .kachel.w-zeichen { box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .22); }
.w-apps .kachel.w-zeichen svg { width: 19px; height: 30px; }
.w-blase-thema { display: none !important; }
@media (max-width: 560px) { .w-blase-liste .w-blase-thema { display: flex !important; } .w-mit-konto .w-thema, .w-mit-konto [data-w-thema] { display: none; } }
.w-apps-fuss { padding: 10px 20px 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-dim); }
