/* Hilfemodus und Kurzanleitung.
   Gehört zu web/shared/hilfe.js. Die Blase soll auffallen, ohne die Ansicht
   darunter zu verdrängen — deshalb Akzentfarbe, aber gleiche Breite und
   gleicher Abstand wie eine Karte. */

.hilfe-blase {
  border: 1px solid var(--accent);
  border-left-width: 4px;
  background: var(--accent-2);
  border-radius: var(--radius);
  padding: 13px 16px 11px;
  margin: 0 0 16px;
  max-width: 78ch;
}

.hilfe-kopf { display: flex; align-items: center; gap: 9px; }

.hilfe-kopf h2 {
  margin: 0;
  font-size: 14px;
  color: var(--accent);
}

.hilfe-zeichen {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-size: 13px; font-weight: 700; line-height: 20px; text-align: center;
}

.hilfe-blase > p {
  margin: 8px 0 0;
  font-size: 13px; line-height: 1.55; color: var(--ink-2);
}

.hilfe-schritte {
  margin: 9px 0 0;
  padding-left: 22px;
  font-size: 13px; line-height: 1.6; color: var(--ink-2);
}

.hilfe-schritte li { margin: 3px 0; }
.hilfe-schritte li b { color: var(--ink); }

.hilfe-achtung {
  margin-top: 9px !important;
  font-weight: 600;
  color: var(--warn) !important;
}

.hilfe-fuss {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 12px;
}

.hilfe-fuss a { font-size: 12px; }

/* Der Umschalter in der Kopfzeile. Eingeschaltet muss er anders aussehen als
   ausgeschaltet, sonst weiss niemand, warum die Blasen weg sind. */

.hilfe-schalter { display: inline-flex; align-items: center; gap: 6px; }

.hilfe-schalter span[aria-hidden] {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--idle-bg); color: var(--ink-3);
  font-size: 10.5px; font-weight: 700; line-height: 15px; text-align: center;
}

.hilfe-schalter.an {
  border-color: var(--accent);
  background: var(--accent-2);
  color: var(--accent);
}

.hilfe-schalter.an span[aria-hidden] {
  background: var(--accent); color: var(--accent-ink);
}

/* ------------------------------------------------------- Kurzanleitung --- */

.kurzanleitung { max-width: 82ch; }

.kurzanleitung .lede {
  font-size: 14px; line-height: 1.6; color: var(--ink-2);
  margin: 6px 0 16px;
}

.anleitung-block > header { gap: 10px; }
.anleitung-block > header h2 { flex: 1; }

.anleitung-block .body > p {
  margin: 0 0 4px;
  font-size: 13px; line-height: 1.6; color: var(--ink-2);
}

.anleitung-ziel { margin-left: 6px; font-size: 12px; }

@media print {
  .sidebar, .topbar, .orientierung, .toolbar, .hilfe-fuss, .band { display: none !important; }
  .kurzanleitung { max-width: none; }
  .anleitung-block { break-inside: avoid; box-shadow: none; }
}
