/* WELLE 2 - Additional Audit Items */

/* ===== #062 HELL-MODE-TOGGLE ===== */
.w2-theme-tog{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  color:rgba(245,245,247,.8);
  cursor:pointer;transition:all .25s;
  margin-right:10px;flex-shrink:0
}
.w2-theme-tog:hover{
  background:rgba(0,245,255,.08);
  border-color:rgba(0,245,255,.3);
  color:#00f5ff
}
body.w2-light{
  --bg: #f5f5f7;
  --bg2: #ffffff;
  --ink: #1d1d1f;
  --ink2: rgba(29,29,31,.7);
  --ink3: rgba(29,29,31,.45);
  --line: rgba(0,0,0,.08);
  --line2: rgba(0,0,0,.12)
}
body.w2-light{
  background:#f5f5f7 !important;
  color:#1d1d1f !important
}
body.w2-light .ak-nav,
body.w2-light aside.side{
  background:rgba(255,255,255,.85) !important;
  border-color:rgba(0,0,0,.08) !important;
  backdrop-filter:blur(20px)
}
body.w2-light .s-item{color:rgba(29,29,31,.75) !important}
body.w2-light .s-item:hover{background:rgba(0,245,255,.06) !important; color:#1d1d1f !important}
body.w2-light .ak-brand{color:#1d1d1f !important}
body.w2-light .card,
body.w2-light .pd-stat,
body.w2-light .b-card{
  background:rgba(255,255,255,.7) !important;
  border-color:rgba(0,0,0,.06) !important;
  color:#1d1d1f !important
}
body.w2-light #mainContent h1,
body.w2-light #mainContent h2,
body.w2-light .pd-hero h1{color:#1d1d1f !important}

/* ===== #019 STREAK HEATMAP ===== */
.w2-heatmap{
  background:rgba(20,20,32,.5);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;padding:24px;margin:24px 0
}
.w2-heatmap h3{
  font-family:-apple-system,'SF Pro Display','Inter',sans-serif;
  font-weight:700;font-size:16px;margin:0 0 16px;color:#fff
}
.w2-heatmap-grid{
  display:grid;grid-template-columns:repeat(53,1fr);gap:3px;
  max-width:100%;overflow-x:auto
}
.w2-day{
  aspect-ratio:1;border-radius:3px;
  background:rgba(255,255,255,.04);
  transition:transform .15s;cursor:pointer;
  position:relative
}
.w2-day:hover{transform:scale(1.4);z-index:2}
.w2-day.l1{background:rgba(0,245,255,.2)}
.w2-day.l2{background:rgba(0,245,255,.45)}
.w2-day.l3{background:rgba(0,245,255,.7)}
.w2-day.l4{background:linear-gradient(135deg,#00f5ff,#ff006e);box-shadow:0 0 8px rgba(0,245,255,.4)}
.w2-heatmap-leg{
  display:flex;align-items:center;gap:8px;justify-content:flex-end;
  margin-top:14px;font-family:'JetBrains Mono',monospace;
  font-size:10px;color:rgba(245,245,247,.5)
}
.w2-leg-cells{display:flex;gap:3px}
.w2-leg-cells > div{width:11px;height:11px;border-radius:3px}

/* ===== #096 PRINT STYLESHEET ===== */
@media print {
  .ak-nav, aside.side, .azn-bub-btn, .azn-bub-panel,
  .cb-banner, .cb-overlay, .cb-settings, .sb-tog,
  .pd-hero-dots, .pp-filters, .w1-search, .azn-lang,
  #toast, .w1-toast, .w1-pwa-banner, .mini-sp { display:none !important; }
  
  body { background:white !important; color:black !important; }
  .main, #mainContent { padding:0 !important; }
  .dash { grid-template-columns:1fr !important; }
  
  .card, .pd-stat, .b-card {
    background:white !important; border:1px solid #ddd !important;
    color:black !important; break-inside:avoid;
    box-shadow:none !important;
  }
  .pd-hero { background:white !important; border:1px solid #ddd; min-height:auto !important; }
  .pd-hero-bg, .pd-hero-overlay { display:none !important; }
  .pd-hero h1, h1, h2 { color:black !important; text-shadow:none !important; }
  .pd-hero p, p { color:#444 !important; }
  a { color:black !important; text-decoration:underline; }
  a[href]:after { content:" (" attr(href) ")"; font-size:10px; color:#666; }
}

/* ===== Glossar Light-Mode anpassen ===== */
body.w2-light .gl-term { background:rgba(0,0,0,.03) !important; border-color:rgba(0,0,0,.06) !important; color:#1d1d1f !important; }
body.w2-light .gl-term h2 { color:#1d1d1f !important; }
body.w2-light .gl-term p { color:rgba(29,29,31,.7) !important; }
