/* KI-MARO Model Hub · Werkbank — nicht sicher gelesene Tafeln bestätigen oder korrigieren. */
.wb-wurzel{display:flex;flex-direction:column;flex:1;min-height:0;width:100%}
.wb-kopf{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--rand,#d9d9d9)}
.wb-kopf h2{margin:0;font-size:16px;font-weight:600}
.wb-kopf select,.wb-kopf input{font:inherit;padding:5px 8px;border:1px solid var(--rand,#ccc);border-radius:6px;background:var(--feld,#fff);color:inherit}
.wb-kopf .wb-zaehler{margin-left:auto;font-size:13px;opacity:.85}
.wb-filter{display:flex;gap:6px;flex-wrap:wrap}
.wb-filter button{font:inherit;font-size:12px;padding:3px 9px;border-radius:12px;border:1px solid var(--rand,#ccc);background:transparent;color:inherit;cursor:pointer}
.wb-filter button.akt{background:var(--akzent,#1a4d8f);color:#fff;border-color:var(--akzent,#1a4d8f)}
.wb-spalten{display:flex;flex:1;min-height:0}
.wb-liste{width:360px;min-width:260px;overflow:auto;border-right:1px solid var(--rand,#d9d9d9)}
.wb-eintrag{padding:8px 12px;border-bottom:1px solid var(--rand,#eee);cursor:pointer;display:grid;grid-template-columns:1fr auto;gap:2px 8px}
.wb-eintrag:hover{background:rgba(0,0,0,.04)}
.wb-eintrag.akt{background:rgba(26,77,143,.12)}
.wb-eintrag .wb-dok{font-size:12px;opacity:.75;grid-column:1/3}
.wb-eintrag .wb-titel{font-size:13px;font-weight:600}
.wb-eintrag .wb-sub{font-size:12px;opacity:.8;grid-column:1/3}
.wb-status{font-size:11px;padding:1px 7px;border-radius:10px;white-space:nowrap;align-self:start}
.wb-status.ausgeschlossen{background:#f3c9c9;color:#7a1414}
.wb-status.uneinig{background:#fbe3b6;color:#6b4400}
.wb-status.ein_leser{background:#dfe7f5;color:#1f3d6b}
.wb-status.erledigt{background:#cfe9d3;color:#125a26}
.wb-detail{flex:1;min-width:0;overflow:auto;padding:12px 16px;display:flex;flex-direction:column;gap:12px}
.wb-detail h3{margin:0;font-size:15px}
.wb-hinweis{font-size:13px;opacity:.85}
.wb-seite{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.wb-bild{flex:1 1 480px;min-width:320px;max-height:70vh;overflow:auto;border:1px solid var(--rand,#ccc);border-radius:6px;background:#f4f4f4;position:relative}
.wb-bild img{display:block;transform-origin:0 0}
.wb-bildleiste{display:flex;gap:6px;align-items:center;font-size:12px;margin-bottom:4px;flex-wrap:wrap}
.wb-bildleiste button{font:inherit;font-size:12px;padding:2px 8px;border:1px solid var(--rand,#ccc);border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.wb-tafelbereich{flex:1 1 520px;min-width:320px}
.wb-tafel{border-collapse:collapse;font-size:12.5px;width:100%}
.wb-tafel th,.wb-tafel td{border:1px solid var(--rand,#cfcfcf);padding:3px 6px;vertical-align:top;min-width:40px}
.wb-tafel th{background:rgba(0,0,0,.05);font-weight:600}
.wb-tafel td[contenteditable],.wb-tafel th[contenteditable]{outline:none}
.wb-tafel td[contenteditable]:focus,.wb-tafel th[contenteditable]:focus{box-shadow:inset 0 0 0 2px var(--akzent,#1a4d8f)}
.wb-tafel .wb-strittig{background:#fff1cc;border:2px solid #d98a00}
.wb-tafel .wb-geaendert{background:#dcf2e0}
.wb-tafel td.wb-idx{background:rgba(0,0,0,.04);color:#666;font-size:11px;text-align:right;min-width:24px}
.wb-tafel .wb-neu{opacity:.6;font-size:11px;text-align:center}
.wb-strittigliste{font-size:12.5px;margin:6px 0;display:flex;flex-direction:column;gap:3px}
.wb-strittigliste button{font:inherit;font-size:11.5px;padding:1px 7px;border:1px solid var(--rand,#ccc);border-radius:6px;background:transparent;color:inherit;cursor:pointer;margin-left:4px}
.wb-lesungen{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.wb-lesung{flex:1 1 300px;border:1px dashed var(--rand,#bbb);border-radius:6px;padding:6px;font-size:12px;max-height:280px;overflow:auto}
.wb-lesung .wb-tafel{font-size:11.5px}
.wb-aktionen{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:10px 0;border-top:1px solid var(--rand,#ddd);position:sticky;bottom:0;background:var(--grund,#fff)}
.wb-aktionen textarea{flex:1 1 260px;min-height:34px;font:inherit;font-size:12.5px;padding:5px 8px;border:1px solid var(--rand,#ccc);border-radius:6px;background:var(--feld,#fff);color:inherit}
.wb-leer{padding:30px;opacity:.7;font-size:14px}
.wb-export{white-space:pre;font-family:ui-monospace,Menlo,monospace;font-size:11.5px;max-height:60vh;overflow:auto;background:rgba(0,0,0,.04);padding:8px;border-radius:6px}
@media (max-width: 900px){.wb-liste{width:100%;border-right:0;max-height:38vh}.wb-spalten{flex-direction:column}}
