.project-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px 18px;align-items:center;margin-bottom:18px}.project-context label,.resource-search{font-size:13px;font-weight:650;color:#314b5a}.project-context select,.resource-search input{width:100%;margin-top:7px;padding:11px 12px;border:1px solid #cbd6dd;border-radius:7px;background:white;color:#243c4b;font:inherit}.resource-search{display:block;margin-bottom:16px}.inactive-toggle,.select-resource{display:flex;align-items:center;gap:8px;font-size:13px}.inactive-toggle input,.select-resource input{width:auto;margin:0}.resource-tabs{display:flex;gap:10px;margin:22px 0}.resource-tabs button[aria-pressed=true]{color:white;background:#315d50;border-color:#315d50}.resource-list,.selection-list{display:grid;gap:12px}.resource-card{padding:16px;border:1px solid #dce3e8;border-radius:10px;background:#fbfcfd}.resource-card.inactive{opacity:.7}.resource-card.selected{border-color:#315d50;background:#f1f8f3}.resource-card.selected .resource-card-heading h3,.selection-item h3{text-decoration:underline;text-decoration-color:#315d50;text-decoration-thickness:2px;text-underline-offset:3px}.resource-card-heading,.resource-actions,.selection-item{display:flex;align-items:center;justify-content:space-between;gap:12px}.resource-card-heading h3,.selection-item h3{margin:0;font-size:16px}.resource-source{padding:4px 8px;border-radius:999px;background:#e8eff2;color:#435968;font-size:11px;white-space:nowrap}.resource-detail{margin:7px 0 0;font-size:13px;overflow-wrap:anywhere}.resource-detail b{color:#314b5a}.resource-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:12px}.resource-actions button{padding:7px 10px}.selection-card{margin-top:18px}.selection-item{padding:12px;border:1px solid #dce3e8;border-radius:8px}.selection-item p{margin:5px 0 0;font-size:12px;color:#60727d}.transfer-note{margin-top:15px;font-size:12px;color:#60727d}.resource-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.resource-fields label{display:block;font-size:13px;font-weight:650;color:#314b5a}.resource-fields input,.resource-fields textarea{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #cbd6dd;border-radius:7px;font:inherit}.resource-fields textarea,.resource-fields input{min-width:0}.resource-fields .wide{grid-column:1/-1}#edit-dialog{width:min(760px,calc(100% - 24px));max-height:90vh;overflow:auto;border:0;border-radius:12px;padding:24px;box-shadow:0 18px 60px #10243155}#edit-dialog::backdrop{background:#10243188}#edit-dialog h2{margin-top:0}#form-error{color:#9a2631}.empty-state{padding:22px;border:1px dashed #b4c6bd;border-radius:10px}.error{color:#a42e36}@media(max-width:600px){.resource-fields{grid-template-columns:1fr}.resource-fields .wide{grid-column:auto}.resource-card-heading{align-items:flex-start}.resource-actions{align-items:flex-start}.selection-item{align-items:flex-start}.project-context{grid-template-columns:1fr}}

/* LONG_TEXT_WRAP_V1 */
td,th,label,h1,h2,h3,p,li,small{overflow-wrap:anywhere}
/* BAURAIL_V2 Liste mit ✓ */
#resource-results{display:flex!important;flex-direction:column;gap:0}
.vorlage-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#fff7e0;border:1px solid #e8c56a;border-radius:8px;padding:10px 12px;margin-bottom:10px}
.res-group{display:flex;align-items:center;gap:10px;margin:14px 0 4px;padding-bottom:4px;border-bottom:2px solid #20384e;font-weight:700;color:#20384e;font-size:14px}.res-group small{color:#5f7a8e;font-weight:400}.res-all{margin-left:auto;font-size:12px;padding:3px 10px}
.res-row{display:flex;align-items:center;gap:10px;padding:6px 8px;border-bottom:1px solid #e6edf3;cursor:pointer;background:#fff}.res-row:hover{background:#f4f8fb}.res-row.selected{background:#e8f4ee}.res-row.inactive{opacity:.55}
.res-row input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#2f7a5b}
.res-main{flex:1;min-width:0;display:flex;flex-direction:column}.res-main b{font-size:14px}.res-main small{color:#5f7a8e;font-size:12px;word-break:break-word}
.res-icon{border:0!important;background:transparent!important;font-size:15px;padding:2px 6px!important;min-height:0!important;cursor:pointer}
.br-header{background:#fff;border:1px solid #d6e1ea;border-radius:10px;padding:12px 14px;margin:10px 0}.br-header h2{margin:0 0 8px;font-size:15px}
.br-hgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 12px}.br-hgrid label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:600;color:#5f7a8e}.br-hgrid input{font:inherit;font-size:14px;padding:6px 8px;border:1px solid #c4d4e0;border-radius:6px;color:#20384e}
.res-row{margin:0!important;min-height:0!important;padding:5px 8px!important;font-weight:400!important}
