.group-selection-panel .card-head{gap:16px;flex-wrap:wrap}
.group-selection-panel .selection-intro{margin:8px 0 20px;line-height:1.65;max-width:95ch}
.selection-rule{border-top:1px solid var(--line,#263249);padding:20px 0}
.selection-fields{display:grid;grid-template-columns:minmax(180px,2fr) minmax(90px,.65fr) minmax(90px,.65fr) auto minmax(260px,auto);gap:16px;align-items:end}
.selection-fields>label:not(.switch){display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted,#98a6bf)}
.selection-fields input[type=number],.selection-fields select{height:40px;min-width:0;width:100%;box-sizing:border-box}
.selection-actions{display:flex;gap:8px;flex-wrap:wrap}.selection-actions .btn{min-height:40px;border-radius:0}
.selection-enabled{min-height:40px;align-self:end}.selection-run{margin:16px 0 8px;line-height:1.6}
.selection-feedback{font-size:13px;margin:8px 0 12px;line-height:1.6}
.selection-rule details{margin:12px 0;font-size:13px}.selection-rule summary{cursor:pointer;padding:8px 0}
.selection-results{padding:0 0 0 24px;margin:10px 0;max-height:340px;overflow:auto}
.selection-results li{padding:9px 8px;border-bottom:1px solid var(--line,#263249)}
.selection-results li>span{display:inline-block;max-width:72%;vertical-align:top;overflow-wrap:anywhere}
.selection-results strong{float:right;font-variant-numeric:tabular-nums;margin-left:12px}
.selection-history{padding-left:20px;line-height:1.7}.selection-history>li{margin:10px 0}
@media(max-width:1200px){.selection-fields{grid-template-columns:minmax(180px,2fr) 1fr 1fr auto}.selection-actions{grid-column:1/-1}}
@media(max-width:650px){.selection-fields{grid-template-columns:1fr 1fr}.selection-fields>label:first-child{grid-column:1/-1}.selection-enabled{grid-column:1/-1}.selection-results li>span{max-width:60%}}
