/* BAVORA OS · Hilfe-Panel neben der Arbeit (öffnet über „Hilfe“ in der Kopfzeile oder Taste ?) */
.page-help-btn { gap: 6px; }
.page-help-btn__icon {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: 11px; font-weight: 700; line-height: 1;
}
@media (max-width: 760px) { .page-help-btn__label { display: none; } }

.page-help {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 820;
  width: min(420px, 100vw); display: grid; grid-template-rows: auto minmax(0, 1fr);
  background: #fff; border-left: 1px solid var(--bv-crm-line, #d5e1d8);
  box-shadow: -12px 0 32px rgba(9, 43, 37, .10);
}
.page-help[hidden] { display: none !important; }
/* Auf breiten Bildschirmen rückt der Inhalt zur Seite, statt verdeckt zu werden */
@media (min-width: 1280px) { html.page-help-open #view-app .main-area { margin-right: min(420px, 100vw); } }
.ph-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--bv-crm-line, #d5e1d8); background: var(--bv-crm-primary-tint, #eef4ef); }
.ph-head h2 { margin: 0; font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--ink, #1a1a1a); }
.ph-head h2:focus { outline: none; }
.ph-body { overflow: auto; padding: 18px 20px 32px; display: grid; gap: 22px; align-content: start; }
.ph-body h3 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted, #6f746f); }
.ph-steps { margin: 0; padding: 0; list-style: none; counter-reset: ph; display: grid; gap: 10px; }
.ph-steps li { counter-increment: ph; position: relative; padding-left: 34px; font-size: 14px; line-height: 1.5; color: var(--ink, #1a1a1a); }
.ph-steps li::before {
  content: counter(ph); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--bv-crm-primary, #17523b);
}
.ph-article { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft, #3d3d3d); }
.ph-article h2 { font-size: 15px; font-weight: 600; margin: 16px 0 6px; font-family: var(--font-sans); color: var(--ink, #1a1a1a); }
.ph-article h2:first-child { margin-top: 0; }
.ph-article ul, .ph-article ol { padding-left: 20px; margin: 6px 0 10px; }
.ph-article li { margin: 3px 0; }
.ph-article p { margin: 6px 0; }
.ph-article a { color: var(--bv-crm-primary, #17523b); }
.ph-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--bv-crm-primary, #17523b); }
.ph-loading { font-size: 13px; color: var(--ink-muted, #6f746f); }
.ph-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-foot { padding-top: 16px; border-top: 1px solid var(--bv-crm-line-soft, #e6ede8); }
@media print { .page-help, .page-help-btn { display: none !important; } }

/* Startvorlagen (Übersicht → Erste Schritte, leere Seiten) */
.crm-onboarding-starter {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--bv-crm-secondary-line, #8eaa97); border-radius: 12px;
  background: var(--bv-crm-primary-tint, #eef4ef);
}
.crm-onboarding-starter[hidden] { display: none !important; }
.crm-onboarding-starter strong { display: block; margin: 2px 0; }
.crm-onboarding-starter p { margin: 0; max-width: 60ch; }
.sk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sk-item label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--bv-crm-line, #d5e1d8); border-radius: 10px; cursor: pointer; }
.sk-item input { margin-top: 3px; accent-color: var(--bv-crm-primary, #17523b); width: 16px; height: 16px; flex: 0 0 auto; }
.sk-item.is-done label { opacity: .6; cursor: default; }
.sk-text { display: grid; gap: 2px; }
.sk-import { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--bv-crm-line-soft, #e6ede8); }
