/* kk-erscheinungsbild: Hilfe-Link unten links. Dezent, verdeckt nichts, mobil nutzbar, nicht im Druck. */
#kk-hilfe {
  position: fixed;
  left: max(var(--kk-hilfe-links, 10px), env(safe-area-inset-left, 0px));
  bottom: max(var(--kk-hilfe-unten, 10px), env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  font: 500 12px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  opacity: 0.88;
  color-scheme: light;
  transition: opacity 0.15s;
}
#kk-hilfe:hover, #kk-hilfe:focus-within { opacity: 1; }
#kk-hilfe a, #kk-hilfe summary {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--kk-haupt, var(--kk-hilfe-farbe, #1f4e79));
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
#kk-hilfe a:hover, #kk-hilfe summary:hover { background: rgba(0, 0, 0, 0.06); text-decoration: underline; }
#kk-hilfe a:focus-visible, #kk-hilfe summary:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
#kk-hilfe details { position: relative; }
#kk-hilfe summary { list-style: none; }
#kk-hilfe summary::-webkit-details-marker { display: none; }
#kk-hilfe details ul {
  position: absolute; left: 0; bottom: calc(100% + 6px); margin: 0; padding: 4px; list-style: none;
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); min-width: 160px;
}
#kk-hilfe details ul a { display: block; border-radius: 6px; }
/* Kein eigener Dunkelmodus: der Link folgt der (hellen) Oberfläche der Software, nicht dem Betriebssystem. */
@media (max-width: 600px) {
  #kk-hilfe { font-size: 13px; opacity: 0.9; }
  #kk-hilfe a, #kk-hilfe summary { padding: 7px 10px; }
}
@media print { #kk-hilfe { display: none !important; } }
