.skyvex-risk-batch-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0;font-size:13px}
.skyvex-risk-profile-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #dce5f1;background:#f7faff;border-radius:8px;margin:10px 0;font-size:13px;line-height:1.5}.skyvex-risk-profile-context[hidden]{display:none!important}.skyvex-risk-profile-context span{min-width:0;overflow-wrap:anywhere}.skyvex-risk-profile-context button{flex-shrink:0}
@media(max-width:600px){.skyvex-risk-profile-context{align-items:stretch;flex-direction:column}.skyvex-risk-profile-context button{width:100%}}
.skyvex-risk-batch-toolbar label{display:flex;align-items:center;gap:5px;margin:0}
.skyvex-risk-batch-toolbar input[type=search]{max-width:230px}
.skyvex-risk-batch-toolbar select,.skyvex-risk-batch-toolbar input[type=search]{height:34px;padding:5px 8px;border:1px solid #dce3ec;border-radius:5px}
.skyvex-risk-batch .control-policy-table th,.skyvex-risk-batch .control-policy-table td{font-size:12px;padding:6px 8px}
.skyvex-risk-batch-dialog{width:min(900px,94vw);max-height:88vh;border:1px solid #dce3ec;border-radius:9px;padding:18px}
.skyvex-risk-batch-dialog::backdrop{background:#12223766}
.skyvex-risk-batch-dialog h3{margin:0 0 10px}.skyvex-risk-batch-dialog p{font-size:13px}
.skyvex-risk-batch-dialog textarea{display:block;width:100%;margin:8px 0;padding:8px;box-sizing:border-box}
.skyvex-risk-batch-preview{max-height:42vh;overflow:auto;margin:10px 0}
.skyvex-risk-batch-actions{display:flex;gap:8px;justify-content:flex-end}
/* The existing small-screen table hides its old fourth column. The new
   Category/selection columns move Profile there, so keep its identity visible. */
#main-screen .skyvex-risk-batch .risk-policy-table th:nth-child(4),
#main-screen .skyvex-risk-batch .risk-policy-table .control-policy-row>td:nth-child(4){display:table-cell}
#main-screen .skyvex-risk-batch-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px}
#main-screen .skyvex-risk-batch-toolbar label{display:flex;width:auto;align-items:center;gap:5px;margin:0}
#main-screen .skyvex-risk-batch-toolbar select{width:auto;min-width:125px;height:34px;padding:5px 8px}
#main-screen .skyvex-risk-batch-toolbar input[type=search]{flex:0 1 240px;width:240px;max-width:280px;min-width:150px;height:34px;margin:0}
#main-screen .skyvex-risk-batch-toolbar button{width:auto;white-space:nowrap}
#main-screen .skyvex-risk-batch .control-policy-table td{padding:7px 9px}
#main-screen .skyvex-risk-batch .control-priority strong{white-space:nowrap}
.skyvex-risk-batch-dialog button.btn{padding:8px 13px;border:1px solid #dce3ec;border-radius:5px;background:white;color:#334155;cursor:pointer}
.skyvex-risk-batch-dialog button.btn-primary{background:#1768d3;border-color:#1768d3;color:white}
.skyvex-risk-batch-dialog button:disabled{opacity:.5;cursor:default}
