/* Paket Y-02 · Projekte-Liste wie im Entwurf (Main.dc.html), auf v206.
 * Präfixe .plc-* (Liste) und .wz-* (Werkzeugleiste, wie eure .wz).
 * Eure Variablen (--line, --muted, --text, --bg, --orange) werden benutzt.
 */

/* AVA-Phase wie im Entwurf */
.plc-ph{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;font-size:11.5px;font-weight:600;white-space:nowrap}
.plc-aus{background:#e6eefa;color:#1f4f93}
.plc-ang{background:#fff1d6;color:#8a5a00}
.plc-pru{background:#efe8fb;color:#5b3fa6}
.plc-ver{background:#e3f2e8;color:#1e6b3a}
.plc-abr{background:#fde4dc;color:#a32505}
.plc-feh{background:#FDE2E0;color:#9B1C1C}

/* Zeile */
.plc-titel{font-weight:700;font-size:13.5px;line-height:1.35}
.plc-unter{font-size:12px;color:var(--muted,#6b665e);margin-top:2px}
.plc-review{display:inline-block;font-size:10.5px;font-weight:700;padding:1px 6px;border-radius:5px;background:#fff1d6;color:#8a5a00;margin-left:4px}
.plc-test{display:inline-block;font-size:10.5px;font-weight:700;padding:1px 6px;border-radius:5px;background:#eceae6;color:#5b5750;margin-right:2px}
.plc-mono{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12.5px;font-variant-numeric:tabular-nums}
#tableWrap td.plc-mono{white-space:nowrap}
.plc-fr{font-size:12.5px}
.plc-fr-leer{font-size:12.5px;color:#b5afa5}
.plc-fr-rot{font-size:12.5px;font-weight:700;color:#a32505}
.plc-fr-gelb{font-size:12.5px;font-weight:700;color:#8a5a00}

/* Fusszeile „9 Leistungsverzeichnisse in 5 Projekten · Σ Volumen“ */
.plc-fuss{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid var(--line,#eeebe5);font-size:13px;color:var(--muted,#6b665e)}
.plc-fuss b{color:var(--text,#1d1b18)}

/* Rechts nur „Öffnen“ wie im Entwurf; Export, Plan-Viewer usw. bleiben
   über „Drucken / Export“ und das Detailfenster erreichbar. */
#tableWrap.plc-nur-oeffnen td .ico-action{display:none!important}

/* Schalter „Tests ausblenden“ in der Ansichten-Leiste */
#ansichtBar .plc-tests[aria-pressed="true"]{background:var(--text,#0b0807);color:#fff}

/* ── Werkzeugleiste mit Symbolen (Main.dc.html) ── */
.wz-leiste{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.wz.wz-ico{position:relative;display:inline-flex;align-items:center;gap:3px;border-color:transparent;background:transparent;padding:6px 7px;min-height:32px}
.wz.wz-ico:hover:not(:disabled){background:var(--bg,#f4f5f8)}
.wz.wz-ico span{font-size:12.5px;font-weight:600;margin-left:3px}
.wz.wz-ico[data-tip]:hover::after{content:attr(data-tip);position:absolute;top:calc(100% + 4px);left:0;white-space:nowrap;
  background:var(--text,#0b0807);color:#fff;font-size:12px;font-weight:500;padding:5px 9px;border-radius:6px;z-index:60;pointer-events:none}
.wz-dd:has(.wz-menue:not([hidden])) .wz-ico::after,
.wz-neu:has(.wz-menue:not([hidden])) .wz-ico::after{display:none}
.wz-alle{cursor:pointer}
.wz-alle input{position:absolute;opacity:0;width:1px;height:1px}
.wz-alle:has(input:checked){background:var(--orange-tint,#fff5f0);color:var(--orange,#ed3206)}
.wz-alle:has(input:focus-visible){outline:2px solid var(--orange,#ed3206);outline-offset:2px}
.wz-dd{position:relative;display:inline-block}
.wz-menue a.wz-mi{display:block;padding:8px 10px;border-radius:8px;color:inherit;text-decoration:none}
.wz-menue a.wz-mi:hover{background:var(--bg,#f4f5f8)}
.wz-menue a.wz-mi span,.wz-menue button.wz-mi span{display:block;font-size:11.5px;color:var(--muted,#6b665e)}
.wz-menue button:disabled{opacity:.5;cursor:not-allowed}
.wz-dd[data-dd="layout"] .wz-menue{left:auto;right:0}
.wz-info{margin-left:auto;font-size:12px;color:var(--muted,#6b665e)}
.wz-suche{display:flex;align-items:center;gap:8px;height:32px;width:220px;max-width:100%;margin:0 6px;padding:0 10px;border:1px solid var(--line,#e8e6e2);border-radius:8px;background:#fff;color:var(--muted,#6b665e)}
.wz-suche input{border:0;outline:none;background:transparent;font:inherit;font-size:13px;flex:1;min-width:0;color:var(--text,#0b0807)}
@media (max-width:760px){.wz-info{display:none}.wz-suche{width:100%;order:9;margin:6px 0 0}}

/* hidden muss gewinnen (altes Suchfeld, Menues), auch gegen display aus lvs.html (v219) */
.search-pill[hidden],.wz-menue[hidden],#lvFuss[hidden]{display:none!important}
