#effect-rule-editor .form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 20px; }
#effect-rule-editor .field { min-width:0; }
#effect-rule-editor .field-full { grid-column:1/-1; }
#effect-rule-editor :is(input,select,textarea) { width:100%; }
#em-recipients { min-height:112px; }
#effect-rule-editor small { display:block; margin-top:6px; color:var(--gray-600); }
#effect-rule-editor [hidden] { display:none; }
#effect-monitor-detail :is(td,p), #effect-monitor-workspace td { overflow-wrap:anywhere; }
#effect-monitor-chart { display:block; width:100%; height:220px; }
#effect-monitor-detail { border:0; box-shadow:none; margin:0; }
#effect-monitor-detail-close { display:none; }
#effect-monitor-filters input { max-width:260px; }
#effect-monitor-filters { flex-wrap:wrap; }
#em-alert-filters { display:contents; }
#em-alert-filters[hidden] { display:none; }
#em-proof :is(p,td) { overflow-wrap:anywhere; }
#em-proof .filter-bar, #em-proof .action-group { flex-wrap:wrap; }
#em-proof-query { min-width:0; max-width:100%; }
#em-proof .tbl { min-width:760px; }
#em-review :is(p,li), #em-toggle p { overflow-wrap:anywhere; }
#em-review textarea, #em-toggle textarea { width:100%; min-height:90px; }
#em-review .action-group, #em-toggle .action-group { flex-wrap:wrap; }
#eo-editor .form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 20px; }
#eo-editor .field { min-width:0; }
#eo-editor .field-full { grid-column:1/-1; }
#eo-editor .field :is(input,select,textarea) { width:100%; }
#eo-editor textarea { min-height:90px; }
#eo-editor :is(p,label), #eo-history :is(p,td) { overflow-wrap:anywhere; }
#eo-editor .action-group { flex-wrap:wrap; }
#eo-editor .review-rule { display:flex; align-items:flex-start; gap:8px; margin:10px 0; }
#eo-editor .review-rule input { flex:none; margin-top:4px; }
#eo-history .tbl { min-width:620px; }
#rt-editor .form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 20px; }
#rt-editor .field { min-width:0; }
#rt-editor .field-full { grid-column:1/-1; }
#rt-editor :is(input,select,textarea), #rt-toggle textarea { width:100%; }
#rt-editor textarea, #rt-toggle textarea { min-height:90px; }
#rt-recipients { min-height:112px; }
#rt-editor .rt-config-empty { margin-top:10px; overflow-wrap:anywhere; }
#rt-editor .rt-config-empty p { margin:6px 0; }
#rt-editor .rt-config-blocker { color:var(--danger,#b42318); }
#rt-editor .rt-config-source { color:var(--gray-600); }
#rt-editor .rt-config-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin-top:10px; }
#rt-editor :is(.rt-config-empty,.rt-config-actions)[hidden] { display:none; }
:is(#rt-list,#rt-editor,#rt-detail,#rt-toggle) :is(p,td,label,dd) { overflow-wrap:anywhere; }
:is(#rt-list,#rt-editor,#rt-detail,#rt-toggle) .action-group, #rt-list .filter-bar,
#effect-monitor-workspace .card-h .action-group { flex-wrap:wrap; }
#rt-list input { min-width:0; max-width:100%; }
#rt-list .tbl { min-width:760px; }
#rt-detail .tbl { min-width:540px; }
.rt-summary { display:grid; grid-template-columns:minmax(100px,160px) minmax(0,1fr); gap:8px 16px; margin:16px 0; }
.rt-summary dt { color:var(--gray-600); }
.rt-summary dd { margin:0; }
@media(max-width:600px) {
  #effect-rule-editor .form-grid, #eo-editor .form-grid, #rt-editor .form-grid { grid-template-columns:minmax(0,1fr); }
  .rt-summary { grid-template-columns:minmax(0,1fr); gap:4px; }
  .rt-summary dd { margin-bottom:8px; }
  #effect-monitor-filters input { max-width:100%; }
}
