/* Zeitplan im Lernpfad (js/lernen-pfad.js mit js/lernen-zeitplan.js): Fälligkeit je Station mit Ampel, Punkte, Fokustag-Hinweis, Checkliste.
   Breit: Checkliste über dem Weg; am Handy (bis 600 px) darunter. Farben der Ampel: erledigt grün, im Plan neutral, heute fällig gelb/orange, überfällig rot. */
.mein-pfad.mit-plan{display:flex;flex-direction:column}
.mein-pfad.mit-plan>.mein-pfad-weg{order:4}
@media(max-width:600px){.mein-pfad.mit-plan>.mein-pfad-plan{order:6;margin-top:14px}}

/* Station: „fällig bis Fr 23.10. · ca. 70 min“ */
.mein-pfad-faellig{display:inline-block;margin-top:3px;font-size:12px;font-weight:700;line-height:1.35;padding:1px 8px;border-radius:999px;background:#eef2f5;color:#3d4b57}
.mein-pfad-faellig.amp-erledigt{background:#e5f3eb;color:#176440}
.mein-pfad-faellig.amp-heute{background:#fff1d6;color:#8a5300}
.mein-pfad-faellig.amp-ueberfaellig{background:#fde8e8;color:#a32020}

/* Punkte in diesem Lernpfad */
.mein-pfad-punkte{margin:10px 0 4px;border:1px solid #e6d7a9;background:#fffaf0;border-radius:14px;padding:0}
.mein-pfad-punkte>summary{list-style:none;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px;padding:9px 14px;font-weight:600;font-size:15px}
.mein-pfad-punkte>summary::-webkit-details-marker{display:none}
.mein-pfad-punkte>summary::after{content:"▾";margin-left:auto;color:#8a7440;transition:transform .15s}
.mein-pfad-punkte[open]>summary::after{transform:rotate(180deg)}
.mein-pfad-punkte summary b{font:800 22px/1 var(--headline);color:#5b4618}
.mpp-teile{color:var(--muted);font-weight:600;font-size:14px}
.mpp-inhalt{padding:0 14px 12px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px 24px}
.mpp-inhalt h4{margin:6px 0 4px;font-size:14px}
.mpp-schritte{list-style:none;margin:0;padding:0;font-size:13.5px}
.mpp-schritte li{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px dashed #eadfbf}
.mpp-t{min-width:0;overflow-wrap:anywhere}
.mpp-w{white-space:nowrap;font-weight:700}
.mpp-w small{font-weight:600;color:#176440}
.mpp-tage{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.mpp-tage li{font-size:12.5px;font-weight:700;padding:2px 9px;border-radius:999px;background:#e5f3eb;color:#176440}
.mpp-pk{font-size:13px;font-weight:700;color:#176440;margin:6px 0 0}
@media(max-width:600px){.mpp-inhalt{grid-template-columns:1fr}}

/* Fokustag-Hinweis mit dem Käfer */
.mein-pfad-fokus{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 4px;padding:10px 14px;border-radius:14px;background:linear-gradient(90deg,#fff1d6,#fffaf0);border:2px solid #f0b54a}
.mein-pfad-fokus img{width:48px;height:48px;border-radius:50%;background:#fff;border:2px solid #f0b54a;flex:0 0 auto}
.mein-pfad-fokus>div{flex:1 1 220px;font-size:14px;line-height:1.45}
.mein-pfad-fokus strong{display:block;font-size:15.5px}
.mein-pfad-fokus-knopf{font:inherit;font-weight:800;font-size:14px;padding:8px 14px;border-radius:999px;border:2px solid #101820;background:#101820;color:#fcebc1;cursor:pointer}
.mein-pfad-fokus-knopf:hover{background:#26323c}

/* Checkliste */
.mein-pfad-plan{margin:12px 0 4px;border:1px solid var(--line,#dbe3e9);border-radius:14px;background:#fff}
.mein-pfad-plan>details>summary{list-style:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:10px 14px}
.mein-pfad-plan>details>summary::-webkit-details-marker{display:none}
.mpl-titel{font-weight:800;font-size:15px}
.mpl-titel::before{content:"☑ ";color:#176440}
.mpl-stand{font-weight:700;font-size:13.5px;padding:3px 11px;border-radius:999px;background:#e5f3eb;color:#176440;border:1px solid #b5dac6}
.mpl-stand.stufe-hinten{background:#fff1d6;color:#8a5300;border-color:#f0c779}
.mpl-stand.stufe-weit_hinten{background:#fde8e8;color:#a32020;border-color:#efb1b1}
.mpl-stand.stufe-ohne{background:#eef2f5;color:#3d4b57;border-color:#d4dde3}
.mpl-balken{height:6px;margin:0 14px 8px;border-radius:3px;background:#e3eaef;overflow:hidden}
.mpl-balken i{display:block;height:100%;background:#1f7a4d}
.mpl-liste{list-style:none;margin:0;padding:0 8px 8px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:4px 10px}
.mpl-liste li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:6px 8px;border-radius:10px;min-width:0}
.mpl-liste li.amp-ueberfaellig{background:#fff3f3;box-shadow:inset 3px 0 0 #c43a3a}
.mpl-liste li.amp-heute{background:#fff8e8;box-shadow:inset 3px 0 0 #e09a1c}
.mpl-haken{flex:0 0 auto;width:24px;height:24px;border-radius:6px;border:2px solid #9fb0bc;display:grid;place-items:center;font-weight:900;font-size:15px;line-height:1;background:#fff}
.amp-erledigt .mpl-haken{background:#1f7a4d;border-color:#1f7a4d;color:#fff}
.amp-ueberfaellig .mpl-haken{border-color:#c43a3a;color:#c43a3a}
.amp-heute .mpl-haken{border-color:#e09a1c}
.mpl-text{display:flex;flex-direction:column;min-width:0;flex:1 1 170px}
.mpl-name{font-weight:700;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.amp-erledigt .mpl-name{color:#4b5a65;text-decoration:line-through;text-decoration-color:#9fb0bc}
.mpl-info{font-size:12.5px;color:var(--muted,#536373)}
.mpl-ampel{font-weight:700}
.mpl-ampel.amp-erledigt{color:#176440}.mpl-ampel.amp-heute{color:#8a5300}.mpl-ampel.amp-ueberfaellig{color:#a32020}.mpl-ampel.amp-im_plan{color:#3d4b57}
.mpl-knoepfe{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.mpl-los{font:inherit;font-size:13px;font-weight:800;padding:6px 11px;border-radius:999px;border:1px solid #a32020;background:#c43a3a;color:#fff;text-decoration:none;cursor:pointer;white-space:nowrap}
.amp-heute .mpl-los{background:#fcebc1;color:#101820;border-color:#d0bd8c}
.mpl-los:hover{filter:brightness(1.07)}
.mpl-kaefer{width:34px;height:34px;border-radius:50%;border:1px solid #d6c79c;background:#fffaf0;display:grid;place-items:center;padding:0;cursor:pointer}
.mpl-kaefer img{width:22px;height:22px;border-radius:50%}
.mpl-kaefer:hover{border-color:#101820}
.mpl-notizen{margin:0 14px 12px;padding:8px 12px;list-style:none;border-radius:10px;background:#f4f8fa;font-size:13px;color:#3d4b57}
.mpl-notizen li::before{content:"• ";color:#00797b}
@media(max-width:600px){.mpl-liste{grid-template-columns:1fr}.mpl-los{padding:6px 9px}}
/* Übungsbereich im Lernpfad angerechnet (lernmodul-api/anrechnung.php, js/lernen-pfad.js) */
.mein-pfad-ub{display:inline-block;margin-top:3px;font-size:11.5px;font-weight:700;line-height:1.35;padding:1px 8px;border-radius:999px;background:#efe9fb;color:#4b2f8a}
.mein-pfad-ub-ico{font-size:12px}
.mpp-w small.mpp-ub,.mpp-tage .mpp-ub{color:#4b2f8a}
