/*
 * Regel-Liste im Akkordeon-Stil (wie Talente, Waldemaster-Design).
 * Praefix wm-wru-, Wurzel #wruApp.
 */
.wm-wru-app{ margin: 0 auto; max-width: var(--wsc-content-width, 1000px); }
.wm-wru-subrow{ display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.wm-wru-sub{ font-size: 12.5px; color: var(--wm-muted); max-width: 680px; }
.wm-wru-count{ font-size: 12px; font-weight: 700; color: var(--wm-teal); white-space: nowrap; }

.wm-wru-filters{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 12px; }
.wm-wru-field{ display:flex; flex-direction:column; gap:4px; }
.wm-wru-field-grow{ flex:1 1 260px; max-width: 340px; }
.wm-wru-flabel{ font-size: 11px; font-weight:700; letter-spacing:.4px; color: var(--wm-muted); text-transform: uppercase; }
.wm-wru-search, .wm-wru-select{ font-family:inherit; font-size:14px; padding:7px 10px; border:1px solid var(--wm-divider); border-radius:6px; background:#fff; }

.wm-wru-list{ display:flex; flex-direction:column; gap:8px; }
.wm-wru-item{ border:1px solid var(--wm-divider); border-radius:8px; background:#fff; overflow:hidden; }
.wm-wru-head{ display:flex; align-items:center; gap:12px; padding:10px 14px; cursor:pointer; }
.wm-wru-head:hover{ background: var(--wm-panel, #f7f4ec); }
.wm-wru-name{ flex:1 1 auto; min-width:0; }
.wm-wru-name-title{ font-family:Georgia,serif; font-weight:700; font-size:16px; color:var(--wm-teal); }
.wm-wru-name-sub{ font-size:12px; color:var(--wm-muted); }
.wm-wru-toggle{ flex:0 0 auto; width:30px; height:30px; border:1px solid var(--wm-divider); background:#fff; border-radius:50%; font-size:18px; line-height:1; color:var(--wm-teal); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:0; font-family:inherit; }

.wm-wru-item .wm-wru-body{ display:none; }
.wm-wru-item.is-open .wm-wru-body{ display:block; padding:6px 18px 18px; border-top:1px solid var(--wm-divider); }

.wm-wru-meta{ margin:10px 0 8px; }
.wm-wru-group{ font-size:11px; font-weight:700; color:#fff; border-radius:4px; padding:2px 8px; background:var(--wm-teal); }
.wm-wru-group--condition{ background:#8a4a4a; }
.wm-wru-group--action{ background:#4a6b8a; }
.wm-wru-group--glossary{ background:#5a7d5a; }
.wm-wru-group--hazard{ background:#9a5a2a; }
.wm-wru-group--mastery{ background:#a5642f; }
.wm-wru-group--chargen{ background:#6b5a8a; }
.wm-wru-text{ font-size:15px; line-height:1.55; }
.wm-wru-text p{ margin:6px 0; }
.wm-wru-text table{ border-collapse:collapse; margin:10px 0; font-size:13.5px; }
.wm-wru-text th, .wm-wru-text td{ border:1px solid var(--wm-divider); padding:3px 9px; text-align:left; }
.wm-wru-text th{ background: var(--wm-panel, #f7f4ec); font-family:Georgia,serif; }

.wm-wru-source{ margin-top:14px; font-size:11px; color:var(--wm-muted); text-align:right; }
.wm-wru-nores{ padding:20px; text-align:center; color:var(--wm-muted); }

/* Offener Eintrag deutlich hervorheben (Muster wie Zauber-/Item-Liste). */
.wm-wru-item{ transition:box-shadow .15s ease, border-color .15s ease; }
.wm-wru-item.is-open{ border-color:var(--wm-teal); box-shadow:0 1px 6px rgba(12,133,123,.12); }
.wm-wru-item.is-open .wm-wru-head{ background:var(--wm-panel,#f7f4ec); }
