/* Native selection controls keep their IDs, handlers and authority states. */
.rts-active #selectionCard.rts-selection-card{box-sizing:border-box;position:relative;width:100%;height:200px;max-height:210px;margin:0;padding:9px 11px;border:0;border-radius:0;background:transparent;color:#e2e8e4;overflow:visible}
.rts-active .rts-selection-layout{display:grid;grid-template-columns:minmax(180px,.9fr) minmax(210px,1.1fr) minmax(260px,1.3fr);gap:15px;height:100%;min-width:0}
.rts-active .rts-selection-layout>section{min-width:0;min-height:0}
.rts-active .rts-selection-summary{padding-right:12px;border-right:1px solid #42534c}
.rts-active .selection-heading{min-height:44px;margin:0;gap:5px}
.rts-active .selection-heading h2{font-size:10px;letter-spacing:.8px;color:#a8bdb1}
.rts-active #selectionCard .selection-tools button{width:44px;height:44px;min-height:44px;padding:11px;font-size:24px;background:#1c2c2a;border-color:#42594d}
.rts-active #selectionName{font-size:16px;font-weight:650;line-height:1.25;margin:3px 0 4px;max-height:40px;overflow:auto}
.rts-active .rts-selection-count{margin:0 0 7px;font-size:11px;color:#b6c5bb;line-height:1.35}
.rts-active .rts-selection-types{list-style:none;display:flex;flex-wrap:wrap;gap:4px 9px;margin:0;padding:0;max-height:55px;overflow:auto}
.rts-active .rts-selection-type{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;color:#d7e4db}
.rts-active .rts-selection-type .role-icon{display:inline-flex;width:15px;height:15px}.rts-active .rts-selection-type svg{width:15px;height:15px}
.rts-active #selectionMembers{margin-top:7px;min-height:5px}
.rts-active .rts-selection-state{overflow:auto;overscroll-behavior:contain;padding-right:4px}
.rts-active #selectionState{margin:3px 0 8px;font-size:12px;line-height:1.35;color:#e0e8e2}
.rts-active #selectionStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 8px;padding:0;background:none;border:0}
.rts-active #selectionStats>div{min-width:0;padding:0;border:0;background:none}
.rts-active #selectionStats small{display:block;font-size:9px;letter-spacing:.5px;color:#a8bdb1}
.rts-active #selectionStats strong{display:block;font-size:11px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.rts-active #selectionOrders{font-size:11px;line-height:1.4;margin:5px 0}
.rts-active #selectionEta{font-size:12px;line-height:1.4;margin:5px 0;color:#c7dccb}
.rts-active #actionReason:not(:empty){margin:5px 0 0;font-size:11px;line-height:1.35;padding:5px;background:#2b342a;color:#e4d6b8}
.rts-active .rts-selection-orders{display:flex;flex-direction:column;gap:5px}
.rts-active .rts-selection-commands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-content:start;min-height:0;overflow:auto;overscroll-behavior:contain;flex:1}
.rts-active .rts-selection-commands>.row.actions{display:contents}
.rts-active #selectionCard .rts-selection-commands button{box-sizing:border-box;min-width:0;width:100%;min-height:44px;margin:0;padding:6px 8px;font-size:11px;line-height:1.25;white-space:normal;border-radius:4px;background:#21342d;border-color:#506557}
.rts-active #selectionCard .rts-selection-commands button:disabled{opacity:.5;cursor:not-allowed}
.rts-active .rts-selection-more{margin:0;padding:0;border:0}
.rts-active .rts-selection-toggle{box-sizing:border-box;min-height:44px;display:flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid #475b50;border-radius:4px;background:#1b2a25;color:#d6e3da;font-size:11px;line-height:1.3;cursor:pointer;list-style:none}
.rts-active .rts-selection-toggle::-webkit-details-marker{display:none}
.rts-active .rts-selection-toggle:before{content:'▸';font-size:13px}.rts-active details[open]>.rts-selection-toggle:before{content:'▾'}
.rts-active .rts-selection-detail{position:absolute;right:0;bottom:calc(100% + 8px);box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:min(340px,calc(100vh - 245px));overflow:auto;overscroll-behavior:contain;padding:12px;border:1px solid #657b6c;border-radius:6px;background:#172720fa;box-shadow:0 6px 20px #0005;z-index:30}
.rts-active .rts-selection-detail h2{margin:0 0 8px;font-size:11px;letter-spacing:.6px}
.rts-active .rts-selection-detail p{font-size:11px;line-height:1.4;margin:7px 0}
.rts-active #selectionCard .rts-selection-detail button{min-height:44px;margin:5px 0;font-size:12px;line-height:1.3}
.rts-active #selectionCard button:focus-visible,.rts-active .rts-selection-toggle:focus-visible{outline:2px solid #c4e3cc;outline-offset:2px}
.rts-active #selectionCard[hidden],.rts-active #selectionCard [hidden]{display:none!important}
@media(max-width:1000px){.rts-active #selectionCard.rts-selection-card{height:200px;padding:8px}.rts-active .rts-selection-layout{grid-template-columns:minmax(170px,.85fr) minmax(190px,1fr) minmax(240px,1.2fr);gap:10px}.rts-active #selectionName{font-size:15px}.rts-active .rts-selection-summary{padding-right:8px}}
@media(max-width:760px){.rts-active .rts-selection-layout{grid-template-columns:minmax(125px,.8fr) minmax(145px,1fr) minmax(160px,1fr);gap:7px}.rts-active .selection-heading{flex-wrap:wrap}.rts-active .selection-tools{gap:2px}.rts-active #selectionName{font-size:13px}.rts-active .rts-selection-count{font-size:10px}.rts-active #selectionStats{gap:3px}.rts-active .rts-selection-commands{grid-template-columns:repeat(2,minmax(0,1fr))}}
