.rew-banner{border:1px solid #b6cff2;border-left:4px solid #246fe5;background:#f4f8ff;padding:12px 16px;border-radius:8px;margin:12px 0;color:#243b5a;line-height:1.55}
.rew-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}
.rew-toolbar h3{margin:0 auto 0 0}.rew-muted{color:#64748b;font-size:13px;line-height:1.6}
.rew-table-wrap{overflow-x:auto;border:1px solid #dce4ef;border-radius:8px;background:white}.rew-table{width:100%;border-collapse:collapse;min-width:640px}.rew-table th,.rew-table td{text-align:left;padding:12px;border-bottom:1px solid #e4eaf2;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.rew-table th{background:#f7f9fc;font-size:12px}.rew-table button{margin:0 6px 6px 0}
.rew-dialog{width:min(960px,94vw);max-height:90dvh;overflow-y:auto;border:1px solid #dce4ef;border-radius:12px;padding:24px;color:#172b49;background:#fff}.rew-dialog::backdrop{background:#14233e70}.rew-dialog h3{margin-top:0}.rew-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rew-grid>label,.rew-policy>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:600;font-size:13px}.rew-dialog input,.rew-dialog select{box-sizing:border-box;width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#172b49;padding:8px;font:inherit}.rew-dialog select[multiple]{height:110px}.rew-policy{border:1px solid #dce4ef;border-radius:8px;padding:16px;margin:14px 0;min-width:0}.rew-policy legend{font-weight:700;padding:0 8px}.rew-tiers{width:100%;border-collapse:collapse;margin-top:10px}.rew-tiers th,.rew-tiers td{padding:6px;text-align:left}.rew-tiers td:last-child{width:70px}.rew-tiers input{min-width:80px}.rew-check{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:13px}.rew-check input{width:18px;min-height:18px}.rew-output{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;background:#f7f9fc;padding:12px;border-radius:6px;font-size:13px;line-height:1.5}.rew-error{color:#a52135}.rew-pill{display:inline-block;background:#eef3f9;border-radius:12px;padding:3px 8px;white-space:nowrap;font-size:12px}.rew-live-host .news-leverage-toolbar{flex-wrap:wrap}.rew-live-host{margin:20px 0}
.rew-dialog [hidden]{display:none!important}
.rew-group-picker{grid-column:1/-1;min-width:0;border:1px solid #dce4ef;border-radius:8px;padding:12px;margin:12px 0}.rew-group-picker>label{display:flex;flex-direction:column;gap:6px}.rew-group-list{max-height:220px;overflow:auto;border:1px solid #dce4ef;border-radius:6px;padding:4px 10px}.rew-group-list .rew-check{display:flex!important;flex-direction:row!important;min-height:38px;margin:2px 0;overflow-wrap:anywhere}.rew-group-list input[type=checkbox]{flex:0 0 18px;width:18px!important;height:18px;min-height:18px;padding:0}.rew-group-picker details{margin-top:12px}.rew-group-picker details>label{display:flex;flex-direction:column;gap:6px}.rew-group-picker summary{cursor:pointer}.rew-group-list [hidden]{display:none!important}
@media(max-width:640px){.rew-dialog{padding:16px;width:96vw;max-height:94dvh}.rew-grid{grid-template-columns:1fr}.rew-policy{padding:10px}.rew-toolbar .btn{min-height:42px}.rew-tiers th,.rew-tiers td{padding:3px}.rew-tiers input{min-width:0}.rew-table{min-width:600px}}
@media(max-width:640px){.rew-tiers,.rew-tiers tbody{display:block}.rew-tiers thead{display:none}.rew-tiers tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;padding:10px;border:1px solid #dce4ef;border-radius:8px}.rew-tiers td,.rew-tiers td:last-child{display:block;width:auto;min-width:0;padding:0;align-content:end}.rew-tiers td[data-label]::before{content:attr(data-label);display:block;font-size:12px;line-height:1.4;min-height:34px;margin-bottom:5px}.rew-tiers input{width:100%;font-size:14px}.rew-tiers td:last-child .btn{width:100%;min-height:40px}}
