/* Anleitung zur Anbindung (Anbindungsseite und Hilfe): Tabelle, Hinweise, Farben und einklappbare Videos. Tokens aus app.css. */
.anl { max-width: 880px; color: var(--ink); }
.anl-lead { margin: 0 0 16px; max-width: 66ch; line-height: 1.6; }
.anl-sub { margin: 0 0 12px; max-width: 66ch; color: var(--muted); line-height: 1.55; }
.anl-h { margin: 32px 0 8px; font-size: 1.1rem; }
.anl-h2 { margin: 16px 0 6px; font-size: 1rem; }
.anl-table th, .anl-table td { vertical-align: top; text-align: left; }
.anl-table tbody th { font-weight: 700; }

.anl-list { margin: 0; display: grid; gap: 0; }
.anl-list > div { padding: 10px 0; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 13rem 1fr; gap: 4px 16px; }
.anl-list dt { font-weight: 700; }
.anl-list dd { margin: 0; line-height: 1.55; max-width: 66ch; }

.anl-colors, .anl-trouble { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; }
.anl-colors { list-style: none; padding-left: 0; }
.anl-color { padding: 8px 12px; border-left: 6px solid var(--rule); background: var(--surface); line-height: 1.5; max-width: 72ch; }
/* Farbe immer zusaetzlich als Text im Satz: der Streifen ist nur Beiwerk. */
.anl-color-erfuellt { border-left-color: #1a7f37; }
.anl-color-abweichung { border-left-color: #b7791f; }
.anl-color-kritisch { border-left-color: #c0392b; }
.anl-color-nicht-erhoben { border-left-color: #6b7280; }
.anl-trouble li { line-height: 1.55; max-width: 72ch; }

.anl-steps { margin: 0 0 12px; padding-left: 1.2rem; display: grid; gap: 10px; }
.anl-steps li { line-height: 1.55; max-width: 72ch; overflow-wrap: anywhere; }
.anl-tag { display: inline-block; padding: 0 8px; border: 1px solid var(--rule); font-size: .85rem; color: var(--muted); }
.anl-secure a { overflow-wrap: anywhere; }

.anl-clip { margin: 0; border-bottom: 1px solid var(--hairline); }
.anl-clip > summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; list-style: none; position: relative; min-height: 44px; }
.anl-clip > summary::-webkit-details-marker { display: none; }
.anl-clip > summary::after { content: '+'; position: absolute; right: 4px; top: 10px; font-size: 1.3rem; color: var(--brand); }
.anl-clip[open] > summary::after { content: '–'; }
.anl-clip > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.anl-dur { font-weight: 400; color: var(--muted); }
.anl-clip .vp { margin: 4px 0 12px; max-width: 100%; }
.anl-trans { margin: 0 0 16px; padding-left: 0; list-style: none; display: grid; gap: 4px; }
.anl-trans li { line-height: 1.5; max-width: 72ch; }
.anl-mark { display: inline-block; min-width: 2.6rem; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .anl-list > div { grid-template-columns: 1fr; }
}
.anl-help { margin: 0 0 8px; }
.anl-help-links { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.anl-help-links a { display: inline-block; min-height: 44px; line-height: 44px; }
.anl-clip-link { display: inline-block; min-height: 24px; font-weight: 400; }
