
#selectionPoolRoot .rk-cell{display:flex;flex-direction:column;align-items:center;gap:5px;width:fit-content;max-width:100%;text-align:center}
.rk-badge{display:inline-flex;align-items:center;border-radius:5px;padding:3px 7px;font-size:12px;line-height:19px;font-weight:400;white-space:nowrap;background:#eef1f5;color:#687384}
.rk-badge.rk-clear{background:#edf6f0;color:#397653}.rk-badge.rk-confirm{background:#fff4df;color:#a36b16}.rk-badge.rk-risk,.rk-badge.rk-high{background:#fceeee;color:#b54c4c}
#selectionPoolRoot .rk-cell small{font-size:11px;line-height:17px;color:#7a8495;white-space:normal;overflow-wrap:anywhere;margin:0;max-width:125px}
#selectionPoolRoot .rk-cell:focus-visible{outline:2px solid #3478f6;outline-offset:3px;border-radius:4px}
#poolCollabLayer.rk-mode .pool-collab-drawer{width:min(560px,96vw)}
#poolCollabLayer.rk-mode .pool-collab-head{min-height:66px;padding:18px 24px}#poolCollabLayer.rk-mode .pool-collab-head h2{font-size:19px;margin:0;font-weight:700}#poolCollabLayer.rk-mode #poolCollabSubtitle{display:none}
#poolCollabLayer.rk-mode .pool-collab-body{padding:18px 24px;background:#fff;overscroll-behavior:contain;scrollbar-width:thin}
.rk-product{display:flex;gap:12px;align-items:center;padding-bottom:18px;border-bottom:1px solid #e7ecf3;margin-bottom:20px}.rk-product img{width:48px;height:48px;object-fit:contain;border:1px solid #e7ecf3;border-radius:7px}.rk-product strong{font-size:14px;color:#253247;font-weight:600;overflow-wrap:anywhere}.rk-product small{display:block;color:#7d8a9d;font-size:12px;margin-top:5px}
#poolCollabLayer .rk-form{border:0;margin:0;overflow:visible;border-radius:0}
.rk-fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.rk-fieldset legend{font-size:14px;font-weight:600;color:#253247;padding:0;margin-bottom:10px}.rk-fieldset legend small{font-size:12px;font-weight:400;color:#8893a4;margin-left:5px}
.rk-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rk-choice{display:flex;align-items:center;gap:9px;border:1px solid #dce3ec;padding:11px 13px;border-radius:7px;font-size:13px;cursor:pointer;color:#465267}.rk-choice input{margin:0;accent-color:#3974ef;width:15px;height:15px}.rk-choice:has(input:checked){background:#eff5ff;border-color:#6796ef;color:#245bbb}.rk-choice.rk-risk:has(input:checked){color:#b44747;background:#fff4f4;border-color:#e7b3b3}.rk-choice.rk-confirm:has(input:checked){color:#986817;background:#fff9eb;border-color:#e6c785}.rk-choice.rk-clear:has(input:checked){color:#337148;background:#f0f8f2;border-color:#9bc9a9}
.rk-categories{display:flex;flex-wrap:wrap;gap:8px}.rk-categories label{cursor:pointer}.rk-categories input{position:absolute;opacity:0;width:1px;height:1px}.rk-categories span{display:block;padding:7px 11px;border:1px solid #dce3ec;border-radius:6px;font-size:12px;color:#667388}.rk-categories input:checked+span{background:#eff5ff;color:#2e67cb;border-color:#7fa6ed}.rk-categories input:focus-visible+span{outline:2px solid #3577ea;outline-offset:2px}
#poolCollabLayer.rk-mode .pool-collab-field>label{font-size:14px;font-weight:600;color:#253247;margin-bottom:10px}.rk-note{margin-bottom:20px}#poolCollabLayer.rk-mode .rk-note textarea{font-size:13px;min-height:130px;line-height:1.7;resize:vertical}.rk-evidence{margin-bottom:20px}#poolCollabLayer.rk-mode .pool-collab-tools{gap:9px}#poolCollabLayer.rk-mode .pool-collab-link-add{flex-basis:100%;min-width:0}#poolCollabLayer.rk-mode .pool-collab-link-add input{min-width:0;font-size:12px}#poolCollabLayer.rk-mode .pool-light-btn{font-size:12px;white-space:nowrap}
#poolCollabLayer.rk-mode .pool-collab-drafts{display:flex;flex-direction:column;gap:7px}#poolCollabLayer.rk-mode .pool-collab-drafts>span{display:flex;width:100%;align-items:center;padding:8px 10px;border:1px solid #e0e7f1;background:#f8fafc;border-radius:6px;min-width:0}#poolCollabLayer.rk-mode .pool-collab-draft-link{min-width:0;flex:1}.pool-collab-draft-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rk-history{border-top:1px solid #e5eaf2;padding-top:15px}.rk-history>summary{cursor:pointer;font-size:13px;color:#596981}.rk-history>summary span{font-size:12px;color:#8b96a6;margin-left:4px}.rk-history>div{padding-top:14px}.rk-history-category{font-size:12px;color:#7c899a;margin-top:10px}#poolCollabLayer.rk-mode .pool-collab-record p{overflow-wrap:anywhere;font-size:13px}#poolCollabLayer.rk-mode .pool-collab-record-head{gap:8px;align-items:flex-start}#poolCollabLayer.rk-mode .pool-collab-record-side{flex-shrink:0}#poolCollabLayer.rk-mode .pool-collab-foot{padding:14px 24px}#poolCollabLayer.rk-mode .pool-collab-foot button{font-size:13px}
@media(max-height:780px){#poolCollabLayer.rk-mode .pool-collab-body{padding-top:12px}.rk-product{margin-bottom:14px;padding-bottom:12px}.rk-fieldset,.rk-note,.rk-evidence{margin-bottom:14px}#poolCollabLayer.rk-mode .rk-note textarea{min-height:100px}}
body.theme-dark #poolCollabLayer.rk-mode .pool-collab-body,body.theme-dark #poolCollabLayer.rk-mode .rk-form{background:#151b28;color:#e5e7eb}

#poolCollabLayer.rk-mode,#poolCollabLayer.rk-mode .pool-collab-drawer{transition:none}

#poolCollabLayer.rk-mode .rk-choice input{width:15px;height:15px;min-height:15px;max-height:15px;padding:0;margin:0;flex:none}
#poolCollabLayer.rk-mode .pool-collab-chip.is-clear{background:#edf6f0;color:#397653}#poolCollabLayer.rk-mode .pool-collab-chip.is-confirm{background:#fff4df;color:#a36b16}#poolCollabLayer.rk-mode .pool-collab-chip.is-risk{background:#fceeee;color:#b54c4c}

/* Compact centered risk editor. Team review retains its existing drawer. */
#poolCollabLayer.rk-mode{align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
#poolCollabLayer.rk-mode .pool-collab-drawer{width:660px;max-width:100%;height:auto;max-height:calc(100dvh - 32px);min-height:0;transform:none;border-radius:12px;overflow:hidden;box-shadow:0 18px 60px rgba(15,23,42,.24)}
#poolCollabLayer.rk-mode .pool-collab-head{min-height:0;flex:none;padding:14px 20px}
#poolCollabLayer.rk-mode .pool-collab-head h2{font-size:18px}
#poolCollabLayer.rk-mode .pool-collab-body{flex:0 1 auto;min-height:0;padding:14px 20px;overflow:auto}
#poolCollabLayer.rk-mode .rk-product{padding-bottom:12px;margin-bottom:14px;gap:10px}
#poolCollabLayer.rk-mode .rk-product img{width:40px;height:40px}
#poolCollabLayer.rk-mode .rk-product strong{font-size:14px}
#poolCollabLayer.rk-mode .rk-product small{margin-top:3px}
#poolCollabLayer.rk-mode .rk-fieldset{margin-bottom:14px}
#poolCollabLayer.rk-mode .rk-fieldset legend,#poolCollabLayer.rk-mode .pool-collab-field>label{font-size:13px;margin-bottom:7px;line-height:20px}
#poolCollabLayer.rk-mode .rk-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#poolCollabLayer.rk-mode .rk-choice{padding:8px;gap:7px;min-height:36px;box-sizing:border-box;font-size:12px;line-height:18px;white-space:nowrap;border-radius:6px}
#poolCollabLayer.rk-mode .rk-categories{gap:7px}
#poolCollabLayer.rk-mode .rk-categories span{padding:5px 10px;line-height:20px}
#poolCollabLayer.rk-mode .rk-note{margin-bottom:14px}
#poolCollabLayer.rk-mode .rk-note textarea{display:block;height:110px;min-height:110px;box-sizing:border-box;font-size:13px;line-height:1.65;padding:10px 12px}
#poolCollabLayer.rk-mode .rk-evidence{margin-bottom:14px}
#poolCollabLayer.rk-mode .pool-collab-tools{display:flex;flex-wrap:nowrap;gap:8px;align-items:center}
#poolCollabLayer.rk-mode .pool-collab-link-add{flex:1 1 0;min-width:0;gap:6px;align-items:center}
#poolCollabLayer.rk-mode .pool-collab-tools button{height:34px;box-sizing:border-box;flex-shrink:0;padding:6px 9px}
#poolCollabLayer.rk-mode .pool-collab-link-add input{height:34px;box-sizing:border-box;flex:1;min-width:0;padding:6px 9px}
#poolCollabLayer.rk-mode .pool-collab-drafts:empty{display:none}
#poolCollabLayer.rk-mode .rk-history{padding-top:11px}
#poolCollabLayer.rk-mode .pool-collab-foot{flex:none;padding:12px 20px;gap:10px}
#poolCollabLayer.rk-mode .pool-collab-foot button{min-height:34px;padding:6px 14px}
@media(max-width:580px){#poolCollabLayer.rk-mode .rk-choices{grid-template-columns:repeat(2,minmax(0,1fr))}#poolCollabLayer.rk-mode .pool-collab-tools{flex-wrap:wrap}#poolCollabLayer.rk-mode .pool-collab-link-add{flex-basis:100%}}

#selectionPoolRoot .rk-cell small{text-align:center}

#poolCollabLayer .rk-withdraw[hidden]{display:none!important}
#poolCollabLayer.rk-mode .pool-collab-foot .rk-withdraw{margin-right:auto;color:#b34b4b;border-color:#ead8d8;background:#fff}
#poolCollabLayer.rk-mode .pool-collab-foot .rk-withdraw:hover:not(:disabled){background:#fff5f5;border-color:#d9a5a5}
#poolCollabLayer.rk-mode .pool-collab-foot .rk-withdraw:disabled{opacity:.5;cursor:not-allowed}
