/* ── Anleitung Mitarbeiter — page-scoped styles ───────────── */

.anl .section + .section { margin-top: 64px; }
.anl .section .step-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-2);
  margin: 0 0 6px;
}
.anl .section .step-eyebrow .step-num { color: var(--tx-1); margin-right: 8px; }
.anl .section h2 { margin: 0 0 14px; }

/* Plugin feature blocks now use the unified .feature-list / .feature
   library (see template.css). Anleitung-specific examples list below. */

.anl ul.examples { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.anl ul.examples li {
  padding: 12px 16px;
  background: var(--bg-sunken);
  border: 1px solid var(--bdr-faint);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--tx-1);
  line-height: 1.5;
}
.anl ul.examples li i { font-style: normal; color: var(--tx-0); }
.anl ul.examples li small {
  display: block; margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 12.5px; color: var(--tx-2);
}

.anl .fields {
  display: grid; gap: 8px;
  background: var(--bg-el);
  border: 1px solid var(--bdr-def);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin: 14px 0 22px;
}
.anl .fields .row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 14px; align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed var(--bdr-faint);
}
.anl .fields .row:last-child { border-bottom: 0; }
.anl .fields .label {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tx-2);
  font-weight: 500;
}
.anl .fields .value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--tx-0);
}

.anl .perm-tbl-wrap { overflow-x: auto; margin: 14px 0 8px; }
.anl .perm-tbl {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
  background: var(--bg-surface);
  border: 1px solid var(--bdr-def);
  border-radius: var(--r-md);
  overflow: hidden;
}
.anl .perm-tbl th, .anl .perm-tbl td {
  padding: 9px 10px;
  text-align: center;
  border-bottom: 1px solid var(--bdr-faint);
  white-space: nowrap;
}
.anl .perm-tbl th {
  background: var(--bg-el);
  color: var(--tx-2);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.anl .perm-tbl td:first-child, .anl .perm-tbl th:first-child {
  text-align: left; font-weight: 500; padding-left: 14px;
}
.anl .perm-tbl tr:last-child td { border-bottom: 0; }

.anl .pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid;
}
.anl .pill-admin   { background: var(--inf-bg); color: var(--inf); border-color: var(--inf-bd); }
.anl .pill-execute { background: var(--ok-bg);  color: var(--ok);  border-color: var(--ok-bd); }
.anl .pill-read    { background: var(--bg-el);  color: var(--tx-2); border-color: var(--bdr-def); }
.anl .pill-none    { background: var(--er-bg);  color: var(--er);  border-color: var(--er-bd); }

.anl table.trouble {
  width: 100%; border-collapse: collapse; margin: 8px 0 22px;
  font-size: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--bdr-def);
  border-radius: var(--r-md);
  overflow: hidden;
}
.anl table.trouble th, .anl table.trouble td {
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--bdr-faint); vertical-align: top;
}
.anl table.trouble th {
  background: var(--bg-el); color: var(--tx-2);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500;
}
.anl table.trouble tr:last-child td { border-bottom: 0; }

.anl .anl-footer {
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid var(--bdr-faint);
  color: var(--tx-2); font-size: 12.5px;
}
.anl .anl-footer p { margin: 4px 0; color: var(--tx-2); }

.anl .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.anl .reveal.visible { opacity: 1; transform: none; }
