/* ---------- Tools-Gerüst Phase 4 (Skizzen tools-*.html): Reiterliste 220 px, Trenner, Zähler; Modul-Fläche ---------- */
.tools { grid-template-columns: 220px 1fr; }
.tools .liste { gap: 3px; }
.tools .liste button { align-items: center; gap: 6px; height: 34px; padding: 0 10px; font-size: 14px; justify-content: flex-start; flex: none; }
.tools .liste button > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tools .liste button:focus-visible { outline: 2px solid var(--ac); outline-offset: 1px; }
.tools .liste .sep { height: 1px; background: var(--ln); margin: 4px 2px; flex: none; }
.tools .liste .c { font-size: 11.5px; border-radius: 9px; padding: 0 6px; background: var(--p4); line-height: 18px; }
.tools .liste .c.w { background: var(--warn); color: var(--warn-bg); font-weight: 700; }
.tools-modul { position: relative; min-width: 0; min-height: 0; }
.tools-modul > * { position: absolute; inset: 0; }
.tools .k, .tools-modul .k { font-size: 11px; color: var(--mu); font-family: var(--mono); border: 1px solid var(--ln2); border-radius: 3px; padding: 0 4px; }
.tools-modul .btn.pri .k { color: var(--info-tx); border-color: #5d84c9; }
.tw-zaehler { align-self: flex-end; font-size: 12px; }

/* Zähler „überfällig“ am Tools-Knopf des Menüs (F4-13), Wert als CSS-Variable an .rail (aufgaben-stand.js) */
.rail button[data-ansicht="tools"]::after { content: var(--ec-aufgaben-ueberfaellig, none); position: absolute; right: 3px; top: 3px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 9px; background: var(--warn); color: var(--warn-bg); font-size: 11.5px; font-weight: 700; text-align: center; }
