/* ════════════════════════════════════════════════════════════════
   gantt_liste.css — Listenansicht des Projektplans (29.11.2026)
   Gehört zu js/components/gantt_liste.js. Farben über die Theme-
   Variablen aus main.css (Glass, White, Dark), keine Verläufe.
   ════════════════════════════════════════════════════════════════ */

/* ── Umschalter Diagramm | Liste in der Werkzeugleiste ───────────── */
.gantt-ansicht-wahl {
    display: inline-flex;
    flex-shrink: 0;
    gap: 2px;
    padding: 2px;
    border-radius: 9px;
    background: rgba(29, 29, 31, 0.07);
}
.gantt-ansicht-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--theme-zoom-btn, rgba(29, 29, 31, 0.6));
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -0.1px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.gantt-ansicht-btn svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gantt-ansicht-btn:hover { color: var(--theme-zoom-btn-hover, #1d1d1f); }
.gantt-ansicht-btn.is-aktiv { background: #fff; color: #1d1d1f; box-shadow: 0 1px 2px rgba(20, 20, 40, 0.1), 0 0 0 1px rgba(29, 29, 31, 0.04); }
.gantt-ansicht-btn:focus-visible { outline: 2px solid #5b54a8; outline-offset: 1px; }
.gantt-ansicht-btn .gantt-ansicht-schloss { width: 12px; height: 12px; margin-left: -1px; opacity: 0.6; stroke-width: 2.2; }
.gantt-ansicht-btn .gantt-ansicht-schloss[hidden] { display: none; }   /* hidden wirkt auf <svg> nicht von selbst */
[data-theme="dark"] .gantt-ansicht-wahl { background: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .gantt-ansicht-btn.is-aktiv { background: #2a3446; color: #e8eaf0; box-shadow: none; }
@media (max-width: 1100px) {
    .gantt-ansicht-btn span { display: none; }
    .gantt-ansicht-btn { padding: 0 8px; }
}

/* ── Was in der Liste ausgeblendet wird ──────────────────────────── */
.gantt-container.ist-liste > .gantt-month-bar,
.gantt-container.ist-liste > .gantt-header,
.gantt-container.ist-liste > #gantt-body,
.gantt-container.ist-liste > .gantt-label-resize-handle,
.gantt-container.ist-liste > .gantt-row-resizer,
.gantt-container.ist-liste .gl-nur-diagramm { display: none !important; }
.gantt-container.ist-liste { padding-bottom: 18px; user-select: text; -webkit-user-select: text; }
/* Handy-Hochformat: eigene Listen-Ansicht (gantt_mobile_view.js) */
body.gmv-active .gantt-ansicht-wahl,
body.gmv-active #gantt-liste { display: none !important; }

/* ── Liste ───────────────────────────────────────────────────────── */
.gl {
    --gl-spalten: 26px 34px minmax(220px, 1fr) 176px 160px 132px;
    --gl-linie: var(--theme-grid-line, rgba(0, 0, 0, 0.08));
    --gl-text: var(--theme-label-text, #1d1d1f);
    --gl-leise: var(--theme-label-sub, rgba(29, 29, 31, 0.5));
    --gl-flaeche: var(--theme-timeline-bg, #fff);
    --gl-flaeche-fest: var(--theme-timeline-bg, #fff);   /* deckend — für die angehobene Zeile beim Ziehen */
    --gl-kopf: var(--theme-label-bg, #f7f9fc);
    --gl-hover: var(--theme-row-hover, rgba(0, 100, 220, 0.03));
    --gl-akzent: #5b54a8;
    position: relative;
    color: var(--gl-text);
    font-size: 14px;
    background: var(--gl-flaeche);
}
.gl[hidden] { display: none !important; }
.gl.gl-mit-kosten { --gl-spalten: 26px 34px minmax(220px, 1fr) 176px 150px 124px 112px; }
.gl:not(.gl-mit-kosten) .gl-k-kosten { display: none; }
[data-theme="dark"] .gl { --gl-akzent: #9f97f0; }
/* Glass (kein data-theme): Töne der Aufgabenspalte im Diagramm — Beige-Grau
   #e0dde6, Kopfschrift #4f6773 — statt der bläulichen Glass-Variablen
   (#dce8f8). Gemessen am Diagramm, 29.11.2026. */
html:not([data-theme]) .gl {
    --gl-flaeche: rgb(224, 221, 230);
    --gl-zeile-bg: #ffffff;          /* Aufgabenzeilen weiß wie im White-Design (Wunsch 29.11.2026) */
    --gl-flaeche-fest: #ffffff;
    --gl-kopf: rgb(214, 210, 221);
    --gl-linie: rgba(29, 29, 31, 0.07);
    --gl-hover: rgba(91, 84, 168, 0.05);
    --gl-text: rgb(44, 43, 48);
    --gl-leise: rgba(44, 43, 48, 0.56);
}
html:not([data-theme]) .gl-kopf { color: rgb(79, 103, 115); }

.gl-leiste {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 6px 18px;
}
.gl-stand { font-size: 13px; font-weight: 600; color: var(--gl-leise); }
.gl-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--gl-leise);
    cursor: pointer;
}
.gl-filter[hidden] { display: none; }
.gl-filter:hover { color: var(--gl-text); }
.gl-filter:focus-visible { outline: 2px solid var(--gl-akzent); outline-offset: 2px; border-radius: 6px; }
.gl-filter-schalter {
    position: relative;
    width: 30px;
    height: 18px;
    border-radius: 999px;
    background: rgba(29, 29, 31, 0.16);
    transition: background 0.18s ease;
}
.gl-filter-schalter::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease;
}
.gl-filter[aria-pressed="true"] .gl-filter-schalter { background: var(--gl-akzent); }
.gl-filter[aria-pressed="true"] .gl-filter-schalter::after { transform: translateX(12px); }
[data-theme="dark"] .gl-filter-schalter { background: rgba(255, 255, 255, 0.18); }

/* Spaltenköpfe — bleiben unter der Werkzeugleiste stehen */
.gl-kopf {
    position: sticky;
    top: 40px;
    z-index: 6;
    display: grid;
    grid-template-columns: var(--gl-spalten);
    align-items: center;
    gap: 0 12px;
    min-height: 34px;
    padding: 0 18px;
    background: var(--gl-kopf);
    border-top: 1px solid var(--gl-linie);
    border-bottom: 1px solid var(--gl-linie);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gl-leise);
}
.gl-kopf[hidden] { display: none; }
.gl-k-kosten { text-align: right; }

.gl-zeilen { position: relative; }

/* ── Zeile ───────────────────────────────────────────────────────── */
.gl-eintrag { border-bottom: 1px solid var(--gl-linie); background: var(--gl-zeile-bg, transparent); }
.gl-zeile {
    position: relative;
    display: grid;
    grid-template-columns: var(--gl-spalten);
    align-items: center;
    gap: 0 12px;
    min-height: 52px;
    padding: 8px 18px;
    cursor: pointer;
    outline: none;
    transition: background 0.12s ease;
}
.gl-zeile:hover { background: var(--gl-hover); }
.gl-zeile:focus-visible { box-shadow: inset 0 0 0 2px var(--gl-akzent); border-radius: 4px; }
.gl.gl-gesperrt .gl-zeile { cursor: default; }
.gl-zeile.ist-bewegt { animation: glBewegt 0.9s ease; }
@keyframes glBewegt {
    0%, 30% { background: rgba(91, 84, 168, 0.12); }
    100%    { background: transparent; }
}

/* Gruppe: Kopfzeile mit eigener Fläche */
.gl-zeile.is-gruppe { background: var(--gl-kopf); min-height: 48px; }
.gl-zeile.is-gruppe:hover { background: var(--gl-kopf); filter: brightness(0.985); }
[data-theme="dark"] .gl-zeile.is-gruppe:hover { filter: brightness(1.08); }

/* Griff zum Ziehen */
.gl-griff, .gl-griff-platz { width: 26px; height: 32px; }
.gl-griff {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -6px;
    border-radius: 7px;
    color: var(--gl-leise);
    opacity: 0;
    cursor: grab;
    touch-action: none;
    transition: opacity 0.12s ease, background 0.12s ease;
}
.gl-griff svg { width: 16px; height: 16px; fill: currentColor; }
.gl-zeile:hover .gl-griff, .gl-zeile:focus-within .gl-griff { opacity: 0.75; }
.gl-griff:hover { opacity: 1 !important; background: rgba(29, 29, 31, 0.06); }
@media (hover: none) { .gl-griff { opacity: 0.55; } }
body.gl-ziehen-aktiv, body.gl-ziehen-aktiv * { cursor: grabbing !important; user-select: none !important; }

/* Häkchen: Kreis, füllt sich mit der Aufgabenfarbe */
.gl-check { position: relative; display: flex; width: 24px; height: 24px; cursor: pointer; }
.gl-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gl-check input:disabled { cursor: default; }
.gl-check-kreis {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(26, 26, 46, 0.24);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.gl-check-kreis::after {
    content: '';
    width: 6px;
    height: 11px;
    margin-top: -2px;
    border: solid var(--gl-haken, #fff);
    border-width: 0 2.4px 2.4px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gl-check:hover .gl-check-kreis { border-color: var(--gl-farbe); transform: scale(1.06); }
.gl-check input:checked + .gl-check-kreis { background: var(--gl-farbe); border-color: var(--gl-farbe); }
.gl-check input:checked + .gl-check-kreis::after { transform: rotate(45deg) scale(1); }
.gl-check input:focus-visible + .gl-check-kreis { outline: 2px solid var(--gl-akzent); outline-offset: 2px; }
.gl-check input:disabled + .gl-check-kreis { opacity: 0.55; }
[data-theme="dark"] .gl-check-kreis { border-color: rgba(232, 234, 240, 0.3); }
.gl-zeile.ist-frisch .gl-check-kreis { animation: glPop 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.25); }
@keyframes glPop {
    0%   { transform: scale(0.82); }
    45%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* Titelzelle */
.gl-titel-zelle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding-left: calc(var(--gl-stufe, 0) * 26px);
}
.gl-auf {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin: 0 -4px 0 -6px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gl-leise);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gl-auf svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s ease; }
.gl-auf.ist-zu svg { transform: rotate(-90deg); }
.gl-auf:hover { background: rgba(29, 29, 31, 0.07); color: var(--gl-text); }
.gl-auf:focus-visible { outline: 2px solid var(--gl-akzent); outline-offset: 1px; }
.gl-punkt {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 3px;
    background: var(--gl-farbe);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.gl-zeile.is-gruppe .gl-punkt { width: 12px; height: 12px; margin-top: 5px; border-radius: 4px; }
.gl-titel-text { min-width: 0; flex: 1 1 auto; }
.gl-titel-reihe { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.gl-titel {
    min-width: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--gl-text);
    overflow-wrap: anywhere;
    /* Durchstreichen als Linie, die sich beim Abhaken von links nach
       rechts zieht (background statt text-decoration — animierbar) */
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 56%;
    background-size: 0 1.5px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: color 0.2s ease;
}
.gl-zeile.is-gruppe .gl-titel { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; }
.gl-zeile.is-erledigt .gl-titel { color: var(--gl-leise); background-size: 100% 1.5px; }
.gl-zeile.is-erledigt.ist-frisch .gl-titel { animation: glStrich 0.38s ease-out; }
@keyframes glStrich {
    from { background-size: 0 1.5px; }
    to   { background-size: 100% 1.5px; }
}
.gl-gast-zeichen { flex-shrink: 0; display: flex; margin-top: 3px; color: var(--gl-leise); }
.gl-gast-zeichen svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.gl-gruppe-info { display: block; margin-top: 1px; font-size: 12px; font-weight: 600; color: var(--gl-leise); }
.gl-notiz {
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--gl-leise);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gl-unter { display: none; }

/* To-do-Zähler (öffnet die To-dos unter der Zeile) */
.gl-todo-knopf {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    margin-top: 0;
    padding: 0 7px 0 5px;
    border: 1px solid var(--gl-linie);
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gl-leise);
    cursor: pointer;
}
.gl-todo-knopf svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gl-todo-knopf:hover, .gl-todo-knopf[aria-expanded="true"] { color: var(--gl-text); border-color: rgba(91, 84, 168, 0.35); background: rgba(91, 84, 168, 0.07); }
.gl-todo-knopf.ist-voll { color: #2d6a45; }
[data-theme="dark"] .gl-todo-knopf.ist-voll { color: #8fd3a8; }
.gl-todo-knopf:focus-visible { outline: 2px solid var(--gl-akzent); outline-offset: 1px; }

/* Spalten rechts */
.gl-zeit, .gl-wer, .gl-fort, .gl-kosten { min-width: 0; font-size: 13px; }
.gl-zeit { display: flex; flex-direction: column; line-height: 1.35; }
.gl-datum { font-weight: 600; color: var(--gl-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-dauer { font-size: 12px; font-weight: 500; color: var(--gl-leise); }
.gl-dauer.is-ueber { color: #c2412d; font-weight: 700; }
[data-theme="dark"] .gl-dauer.is-ueber { color: #ff9a85; }
.gl-wer { display: flex; align-items: center; gap: 8px; }
.gl-avatar {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 800;
    color: #2b2950;
}
.gl-wer-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.gl-leise { color: var(--gl-leise); }
.gl-fort { display: flex; align-items: center; gap: 9px; }
.gl-fort-balken {
    position: relative;
    flex: 1 1 auto;
    height: 6px;
    border-radius: 999px;
    background: rgba(29, 29, 31, 0.08);
    overflow: hidden;
}
[data-theme="dark"] .gl-fort-balken { background: rgba(255, 255, 255, 0.08); }
.gl-fort-balken i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--gl-farbe); transition: width 0.3s ease; }
.gl-fort-zahl { flex-shrink: 0; width: 44px; white-space: nowrap; text-align: right; font-size: 12px; font-weight: 700; color: var(--gl-leise); font-variant-numeric: tabular-nums; }
.gl-kosten { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* erledigte Zeile: rechte Spalten zurücknehmen */
.gl-zeile.is-erledigt .gl-zeit,
.gl-zeile.is-erledigt .gl-wer,
.gl-zeile.is-erledigt .gl-fort,
.gl-zeile.is-erledigt .gl-kosten,
.gl-zeile.is-erledigt .gl-punkt,
.gl-zeile.is-erledigt .gl-notiz { opacity: 0.55; }

/* ── To-dos unter der Zeile ──────────────────────────────────────── */
.gl-todos {
    list-style: none;
    margin: -4px 0 0;
    padding: 0 18px 10px calc(18px + 26px + 12px + 34px + 12px + var(--gl-stufe, 0) * 26px + 20px);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.gl-todo label { display: flex; align-items: flex-start; gap: 10px; padding: 5px 8px; margin-left: -8px; border-radius: 8px; cursor: pointer; }
.gl-todo label:hover { background: var(--gl-hover); }
.gl-todo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gl-todo-kreis {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 5px;
    border: 2px solid rgba(26, 26, 46, 0.22);
    transition: background 0.15s ease, border-color 0.15s ease;
}
.gl-todo-kreis::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 1.5px;
    width: 4px;
    height: 8px;
    border: solid var(--gl-haken, #fff);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.18s ease;
}
.gl-todo input:checked + .gl-todo-kreis { background: var(--gl-farbe); border-color: var(--gl-farbe); }
.gl-todo input:checked + .gl-todo-kreis::after { transform: rotate(45deg) scale(1); }
.gl-todo input:focus-visible + .gl-todo-kreis { outline: 2px solid var(--gl-akzent); outline-offset: 2px; }
[data-theme="dark"] .gl-todo-kreis { border-color: rgba(232, 234, 240, 0.28); }
.gl-todo-text { font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.gl-todo.is-erledigt .gl-todo-text { color: var(--gl-leise); text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* ── Neue Aufgabe, leerer Plan ───────────────────────────────────── */
.gl-neu {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 18px 0 calc(18px + 26px + 12px + 4px);
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--gl-leise);
    text-align: left;
    cursor: pointer;
}
.gl-neu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.gl-neu:hover { color: var(--gl-text); background: var(--gl-hover); }
.gl-neu:focus-visible { outline: 2px solid var(--gl-akzent); outline-offset: -2px; }
.gl-neu[hidden] { display: none; }
.gl-leer { padding: 56px 24px 64px; text-align: center; }
.gl-leer[hidden] { display: none; }
.gl-leer-titel { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--gl-text); }
.gl-leer-text { margin: 0 0 18px; font-size: 14px; color: var(--gl-leise); }
.gl-leer-knoepfe { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.gl-leer-knoepfe button {
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--gl-linie);
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--gl-text);
    cursor: pointer;
}
.gl-leer-knoepfe .gl-leer-neu { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
[data-theme="dark"] .gl-leer-knoepfe .gl-leer-neu { background: #e8eaf0; border-color: #e8eaf0; color: #161c24; }
.gl:has(.gl-leer:not([hidden])) .gl-neu { display: none; }
.gl-alles-erledigt { padding: 28px 18px; text-align: center; font-size: 14px; color: var(--gl-leise); }

/* ── Ziehen ──────────────────────────────────────────────────────── */
/* Die gezogene Zeile hebt sich nur leicht an (29.11.2026) — gleiche Größe,
   feiner Schatten, deckender Hintergrund; sie folgt dem Zeiger per transform. */
.gl-eintrag.gl-hebt {
    position: relative;
    z-index: 30;
    background: var(--gl-flaeche-fest);
    box-shadow: 0 6px 16px rgba(20, 20, 50, 0.12), 0 1px 3px rgba(20, 20, 50, 0.08);
    will-change: transform;
}
.gl-eintrag.gl-hebt .gl-zeile { background: transparent; }
.gl-eintrag.gl-hebt .gl-griff { opacity: 1; }
.gl-eintrag.gl-zurueck { transition: transform 0.16s ease; }
.gl-marke {
    position: absolute;
    left: 14px;
    right: 14px;
    height: 3px;
    border-radius: 2px;
    background: var(--gl-akzent);
    pointer-events: none;
    z-index: 5;
}
.gl-marke::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -3.5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gl-akzent);
}
.gl-marke.ist-kind { left: calc(14px + 26px + 12px + 34px + 12px + 26px); }
.gl-marke.ist-gleich { opacity: 0.35; }

/* ── Schmalere Fenster ───────────────────────────────────────────── */
@media (max-width: 1080px) {
    .gl, .gl.gl-mit-kosten { --gl-spalten: 26px 34px minmax(0, 1fr) 160px 116px; }
    .gl-wer, .gl-k-wer, .gl-kosten, .gl-k-kosten { display: none !important; }
    .gl-unter { display: flex; flex-wrap: wrap; gap: 0 6px; margin-top: 2px; font-size: 12px; color: var(--gl-leise); }
    .gl-unter-zeit { display: none; }
    .gl-unter-trenn:first-of-type { display: none; }
}
@media (max-width: 760px) {
    .gl, .gl.gl-mit-kosten { --gl-spalten: 26px 32px minmax(0, 1fr) 64px; }
    .gl-zeit, .gl-k-zeit { display: none !important; }
    .gl-kopf { display: none !important; }   /* nur noch „Aufgabe" und „%" — Kopfzeile entbehrlich */
    .gl-unter-zeit { display: inline; }
    .gl-unter-zeit.is-ueber { color: #c2412d; font-weight: 700; }
    .gl-unter-trenn:first-of-type { display: inline; }
    .gl-fort-balken { display: none; }
    .gl-fort-zahl { width: auto; }
    .gl-kopf, .gl-zeile { padding-left: 12px; padding-right: 12px; gap: 0 8px; }
    .gl-leiste { padding: 6px 12px; }
    .gl-todos { padding-left: calc(12px + 26px + 8px + 32px + 8px + var(--gl-stufe, 0) * 26px + 20px); padding-right: 12px; }
    .gl-neu { padding-left: calc(12px + 26px + 8px + 4px); }
    .gl-titel-zelle { padding-left: calc(var(--gl-stufe, 0) * 18px); }
    .gl-griff { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .gl-zeile, .gl-check-kreis, .gl-check-kreis::after, .gl-titel, .gl-fort-balken i { transition: none !important; animation: none !important; }
}
