/* Channel UI ported from user-supplied Lingxi Relay 1.28.87-go.21. Scoped to this workspace. */

/* app.css */
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --bg:#f3f4f6;--bg-soft:#f8f8f9;--card:rgba(255,255,255,.92);--text:#17181b;--text-2:#383b42;--muted:#7b808a;
  --line:#e5e7eb;--line-strong:#d9dce2;--black:#111318;--black-2:#24272d;--green:#119a64;--red:#cf4141;--amber:#a86d18;
  --shadow:0 14px 38px rgba(20,24,32,.055);--shadow-hover:0 18px 48px rgba(20,24,32,.085);--radius:18px;--sidebar:248px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *{box-sizing:border-box}.relay-channels{min-height:100%;background:var(--bg)}.relay-channels{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:radial-gradient(circle at 76% -10%,rgba(255,255,255,.95),transparent 28%),linear-gradient(180deg,#f7f7f8 0,#f2f3f5 100%);-webkit-font-smoothing:antialiased}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea{font:inherit}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) button{touch-action:manipulation}@keyframes page-progress{0%{width:4%}60%{width:72%}100%{width:92%}}@keyframes content-in{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:none}}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{background:var(--card);border:1px solid rgba(224,226,231,.95);border-radius:var(--radius);box-shadow:var(--shadow);backdrop-filter:blur(10px)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:22px;margin-bottom:18px;transition:border-color .2s ease,box-shadow .2s ease}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card:hover{border-color:rgba(215,218,224,.95)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head h2{font-size:16px;letter-spacing:-.15px;margin:0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head p{font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0 0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .table-wrap{overflow:auto;border-radius:13px;border:1px solid #eceef1}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;background:#fff}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th{text-align:left;color:#8b9099;font-weight:700;font-size:10px;letter-spacing:.025em;padding:11px 13px;border-bottom:1px solid var(--line);white-space:nowrap;background:#fafafb}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td{padding:13px;border-bottom:1px solid #eff0f2;vertical-align:middle;transition:background .16s ease}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr:hover td{background:#fafafb}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td strong,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td small{display:block}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td strong{font-size:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td small{color:var(--muted);margin-top:4px;font-size:10px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .empty{text-align:center;color:var(--muted);padding:42px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:750}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.ok{background:#e9f8f1;color:#08784b}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.bad{background:#fff0f0;color:#b53232}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.warn{background:#fff7e8;color:#946015}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.muted{background:#eff1f3;color:#70757e}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions{white-space:nowrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button{border:0;background:none;color:#3d424a;padding:5px 7px;border-radius:7px;cursor:pointer;font-size:11px;transition:background .16s,color .16s}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions form{display:inline}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a:hover{background:#f0f1f3;color:#111318;text-decoration:none}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout{display:grid;grid-template-columns:minmax(0,1fr) 398px;gap:18px;align-items:start}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .grow{min-width:0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form{display:grid;gap:15px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label{font-size:11px;font-weight:700;color:#3f434a}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label small{display:block;color:var(--muted);font-weight:400;line-height:1.55;margin-top:6px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select{width:100%;border:1px solid #dfe2e7;border-radius:11px;background:#fff;padding:11px 12px;margin-top:7px;outline:none;color:var(--text);transition:border-color .18s,box-shadow .18s,background .18s}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea{resize:vertical}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:hover{border-color:#cfd3da}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select:focus{border-color:#969ca6;box-shadow:0 0 0 4px rgba(31,35,42,.065)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid{display:grid;gap:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.two{grid-template-columns:1fr 1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line{display:flex!important;justify-content:space-between;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:13px;background:#fafafb}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line input{width:42px;height:22px;margin:0;accent-color:#111318}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:10px;padding:9px 14px;border:1px solid var(--line);background:#fff;cursor:pointer;font-weight:750;font-size:11px;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease,opacity .16s ease}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:hover{transform:translateY(-1px);border-color:#d3d6dc;box-shadow:0 8px 22px rgba(20,24,32,.07)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:active{transform:translateY(0) scale(.985)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary{background:linear-gradient(180deg,#24272d,#111318);border-color:#111318;color:#fff;box-shadow:0 8px 20px rgba(17,19,24,.15)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary:hover{box-shadow:0 11px 26px rgba(17,19,24,.21)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary{background:#f2f3f5;border-color:#e0e2e6;color:#25282e}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost{background:#fff}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.full{width:100%;padding:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.tiny{min-height:30px;padding:6px 10px;font-size:10px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.is-success{background:#e8f7ef;border-color:#ccebdc;color:#08784b}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.is-loading{cursor:wait;opacity:.75}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.is-loading:after{content:"";width:12px;height:12px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .danger-zone{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .danger-zone button{width:100%;border:1px solid #f3d8d8;background:#fff7f7;color:#b53232;padding:10px;border-radius:10px;cursor:pointer;font-weight:700;transition:background .16s}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .danger-zone button:hover{background:#fff0f0}@keyframes toast-in{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar{display:grid;grid-template-columns:1.2fr 1fr 160px auto auto;gap:10px;align-items:end}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select{margin:0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:1120px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout{grid-template-columns:1fr}}
@media(max-width:780px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){--sidebar:100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar{grid-template-columns:1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.two{grid-template-columns:1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:16px;border-radius:15px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .table-wrap{border-radius:10px}}
@media(max-width:480px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head{align-items:flex-start}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head>.btn{flex:0 0 auto}}
@keyframes relay-pulse{0%,100%{opacity:.58}50%{opacity:1}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-pjax-loading .page-content{opacity:.94;transition:opacity .08s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::view-transition-old(relay-shell){animation:relay-page-out .14s ease both}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::view-transition-new(relay-shell){animation:relay-page-in .2s ease both}
@keyframes relay-page-out{to{opacity:0;transform:translateY(3px)}}
@keyframes relay-page-in{from{opacity:0;transform:translateY(4px)}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-record-row].is-syncing .status{animation:relay-pulse 1s ease infinite}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) button.is-loading{cursor:wait!important;opacity:.72!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) button.is-loading::after{content:"";width:12px;height:12px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;vertical-align:-2px;animation:relay-spin .7s linear infinite}
@keyframes relay-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-pjax-loading .page-content{transition:none!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::view-transition-old(relay-shell),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::view-transition-new(relay-shell){animation:none!important}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .inline-input-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:7px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .inline-input-action input{margin-top:0!important;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .inline-input-action .btn{height:44px;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .empty.compact{padding:14px;font-size:11px}
@media(max-width:760px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .inline-input-action{grid-template-columns:1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .inline-input-action .btn{height:auto}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-discovery-head .btn{width:100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .discovered-model-row .status{grid-column:1/-1;justify-self:start}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr) 410px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{padding:18px 18px 10px;overflow:hidden}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-head{margin-bottom:12px;align-items:center}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search{display:flex!important;align-items:center;gap:7px;margin:0!important;font-weight:500!important;color:var(--muted);font-size:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search>span{white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input{width:190px;height:34px;margin:0!important;padding:7px 10px!important;border-radius:9px!important;font-size:11px!important;background:#fafbfc!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-count{white-space:nowrap;font-size:10px;color:var(--muted);padding:0 2px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap{max-height:none;min-height:0;overflow:visible;border:1px solid var(--line);border-radius:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table{min-width:820px;table-layout:fixed}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table thead{position:sticky;top:0;z-index:2;background:#fafbfc;box-shadow:0 1px 0 var(--line)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th{height:34px;padding:7px 10px;background:#fafbfc}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(1){width:auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(2){width:58px;text-align:center}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(3){width:238px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(4){width:86px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(5){width:70px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(6){width:142px;text-align:right}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row{height:48px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row td{height:48px;padding:6px 10px;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row:hover td{background:#fafbfc}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-main-cell{min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line{display:flex;align-items:center;gap:10px;min-width:0;overflow:hidden}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line strong{display:block;flex:0 0 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-base-url{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-model-count{display:inline-flex;min-width:28px;height:24px;align-items:center;justify-content:center;border-radius:8px;background:#f1f3f5;color:#535963;font-size:10px;font-weight:750}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td:nth-child(2){text-align:center}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-route-cell{padding-top:4px!important;padding-bottom:4px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor{display:flex;align-items:center;gap:6px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label{display:flex;align-items:center;height:30px;border:1px solid #dfe2e7;border-radius:8px;background:#fff;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label:focus-within{border-color:#a8adb6;box-shadow:0 0 0 3px rgba(30,33,40,.05)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label>span{height:100%;display:flex;align-items:center;padding:0 7px;background:#f5f6f8;border-right:1px solid #e4e6ea;color:#737983;font-size:9px;font-weight:700}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input{width:52px;height:100%;border:0!important;box-shadow:none!important;outline:0!important;margin:0!important;padding:0 6px!important;border-radius:0!important;background:#fff!important;text-align:center;font-size:11px;font-weight:700;-moz-appearance:textfield}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input::-webkit-outer-spin-button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i{display:inline-flex;align-items:center;min-width:38px;font-style:normal;font-size:9px;color:var(--muted);transition:color .16s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i.is-saving{color:#6d7480}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i.is-saved{color:#08784b}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i.is-error{color:#b53232}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i.is-pending{color:#9a6519}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions{text-align:right!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 7px!important;border-radius:7px!important;color:#4c525c!important;text-decoration:none!important;transition:background .15s ease,color .15s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions>a:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions button:hover{background:#eef0f3!important;color:#111318!important;text-decoration:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions form{vertical-align:middle}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row .status{padding:4px 7px;font-size:9px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[hidden]{display:none}
@media(max-width:1260px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap{max-height:none;overflow:visible}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{margin-bottom:0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-actions{flex-wrap:wrap}}
@media(max-width:780px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-head{align-items:flex-start;gap:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-actions{width:100%;justify-content:flex-start}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search{flex:1 1 190px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input{width:100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-count{display:none}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap{max-height:none;overflow-x:auto;overflow-y:hidden}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{padding:14px 12px 8px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table{min-width:760px}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table-wrap{border:1px solid var(--line);border-radius:12px;overflow:auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table{min-width:760px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table thead{position:sticky;top:0;z-index:1;background:#fafbfc}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table th{background:#fafbfc}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tr[data-model-row][hidden]{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --font-sans:"MiSans","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",system-ui,-apple-system,"Segoe UI",sans-serif;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea{font-family:var(--font-sans);font-kerning:normal;text-rendering:optimizeLegibility}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){font-size:14px;line-height:1.55;letter-spacing:.005em}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head p{font-size:12.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head h2{font-size:17px;font-weight:760}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label{font-size:13px;font-weight:680}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label small{font-size:11.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn{font-size:12.5px;font-weight:720}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) table{font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th{font-size:11.5px;font-weight:720}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td strong{font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td small{font-size:11px}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr) 440px;gap:22px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{padding:22px 22px 14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-head{margin-bottom:16px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-head h2{font-size:19px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-head p{font-size:12.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-actions{gap:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search{font-size:12px!important;gap:9px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input{width:220px;height:40px;padding:9px 12px!important;border-radius:11px!important;font-size:13px!important;background:#fff!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-count{font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-actions>.btn{min-height:40px;padding:9px 16px;font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap{border-radius:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table{min-width:900px;font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th{height:40px;padding:9px 12px;font-size:11.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(2){width:66px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(3){width:258px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(4){width:98px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(5){width:104px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(6){width:118px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row{height:58px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row td{height:58px;padding:8px 12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line{gap:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line strong{max-width:210px;font-size:13.5px;font-weight:760}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-base-url{font-size:11.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-model-count{min-width:32px;height:28px;border-radius:9px;font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor{gap:8px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label{height:36px;border-radius:10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label>span{padding:0 9px;font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input{width:58px;font-size:13px!important;font-weight:750}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i{min-width:44px;font-size:10.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row .status{font-size:11px;padding:6px 10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions button{min-height:34px;padding:6px 10px!important;border-radius:9px!important;font-size:12px!important;font-weight:680}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions{padding-left:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-cell{text-align:left}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-form{display:inline-flex;margin:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle{appearance:none;border:1px solid transparent;gap:7px;min-width:76px;min-height:32px;justify-content:center;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease,color .15s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle i{display:block;width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(255,255,255,.45)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle.ok{background:#e9f8f1;border-color:#c6ead8;color:#08784b}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle.bad{background:#fff0f1;border-color:#f2c9cd;color:#c2353d}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(20,24,32,.08)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle.ok:hover{background:#def4e9;border-color:#addfc7}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle.bad:hover{background:#ffe6e8;border-color:#ebaeb4;color:#b9252d}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle:active{transform:scale(.98)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle:focus-visible{outline:0;box-shadow:0 0 0 4px rgba(31,35,42,.08)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle.is-loading{opacity:.62;cursor:wait}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle:disabled{pointer-events:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-syncing td{background:#fbfcfd}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>.form-card{padding:25px;border-radius:20px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>.form-card .card-head{margin-bottom:22px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>.form-card .card-head h2{font-size:21px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>.form-card .card-head p{font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form{gap:18px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form label{font-size:13.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form label small{font-size:12px;line-height:1.65}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form textarea{min-height:46px;padding:12px 14px;border-radius:13px;font-size:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .inline-input-action{gap:10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .inline-input-action .btn{height:46px;font-size:12.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .model-discovery{padding:18px;border-radius:16px;gap:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .model-discovery-head strong{font-size:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .model-discovery-head small,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .model-discovery-status,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .model-discovery-note{font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .binding-box{padding:17px;border-radius:15px;gap:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .binding-box>strong{font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .binding-box>small{font-size:11.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .model-binding-row{padding:9px 10px!important;font-size:12.5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .switch-line{padding:15px 16px;border-radius:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .btn.full{min-height:46px;font-size:14px}

@media(max-width:1260px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>.form-card{position:static}}
@media(max-width:780px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{padding:17px 14px 10px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table{min-width:850px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input{height:42px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>.form-card{padding:19px 16px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form textarea{font-size:16px}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .manual-model-grid .btn{min-height:44px;white-space:nowrap}
@media(max-width:720px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .manual-model-grid .btn{width:100%}}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker{position:relative;display:grid;gap:11px;padding:15px;border:1px solid #dfe2e7;border-radius:15px;background:linear-gradient(180deg,#fbfbfc,#f7f8fa)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head strong,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head small{display:block}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head strong{font-size:13px;color:#292c32}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head small{margin-top:4px;font-size:11px;line-height:1.5;color:var(--muted)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-count{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#eceef1;color:#555b64;font-size:10px;font-weight:750}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-selected{display:flex;align-items:center;gap:7px;min-height:43px;max-height:118px;overflow:auto;flex-wrap:wrap;padding:8px;border:1px solid #e1e3e7;border-radius:12px;background:#fff}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-placeholder{padding:4px 6px;color:#969ba4;font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:6px 8px;border:1px solid #dde0e5;border-radius:9px;background:#f5f6f8;color:#292d33;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip:hover{background:#fff1f1;border-color:#efcccc;transform:translateY(-1px)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip span{max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip small{padding:2px 5px;border-radius:6px;background:#fff;color:#777d86;font-size:9px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip i{font-size:14px;line-height:1;font-style:normal;color:#858b94}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 142px auto auto;gap:8px;align-items:center}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar select{width:100%;height:40px;margin:0;border:1px solid #d9dce2;border-radius:10px;background:#fff;padding:0 11px;outline:none;color:#20242a}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar input:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar select:focus{border-color:#9299a4;box-shadow:0 0 0 4px rgba(31,35,42,.06)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-search-wrap{position:relative;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown{position:absolute;z-index:35;top:calc(100% + 7px);left:0;right:0;padding:6px;border:1px solid #dfe2e7;border-radius:13px;background:#fff;box-shadow:0 18px 55px rgba(20,24,32,.15)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown[hidden]{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-options{display:grid;gap:3px;max-height:260px;overflow:auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;width:100%;min-height:39px;padding:7px 9px;border:0;border-radius:9px;background:#fff;text-align:left;cursor:pointer;transition:background .14s,color .14s}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option[hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option:hover{background:#f3f4f6}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option.is-selected{background:#eef8f3;color:#08784b}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option small{padding:3px 6px;border-radius:999px;background:#f0f1f3;color:#70757d;font-size:9px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option.is-selected small{background:#dff2e9;color:#08784b}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option i{font-style:normal;font-size:10px;font-weight:750;color:#777d86}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option.is-selected i{color:#08784b}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-empty{padding:22px 12px;text-align:center;color:#8b9098;font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-empty[hidden]{display:none}

@media(max-width:1300px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar{grid-template-columns:minmax(0,1fr) 135px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar .btn{width:100%}}
@media(max-width:780px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar{grid-template-columns:1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown{position:fixed;left:14px;right:14px;top:auto;bottom:14px;max-height:60vh}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-options{max-height:52vh}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip span{max-width:210px}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker{container-type:inline-size}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:10px;
  width:100%;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-search-wrap{
  flex:1 0 100%;
  width:100%;
  min-width:0;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .model-picker-toolbar input[type="search"],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .model-picker-toolbar select,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar .btn{
  box-sizing:border-box;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  border-radius:12px!important;
  font-size:13px!important;
  line-height:1.2;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .model-picker-toolbar input[type="search"]{
  width:100%!important;
  padding:0 14px!important;
  -webkit-appearance:none;
  appearance:none;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar input[type="search"]::-webkit-search-decoration,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar input[type="search"]::-webkit-search-cancel-button,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar input[type="search"]::-webkit-search-results-button,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar input[type="search"]::-webkit-search-results-decoration{
  -webkit-appearance:none;
  display:none;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .model-picker-toolbar .model-picker-type{
  flex:1 1 190px;
  width:auto!important;
  min-width:180px;
  padding:0 42px 0 14px!important;
  border:1px solid #d9dce2!important;
  background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b616b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 14px center!important;
  background-size:14px 14px!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  color:#25282e;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar .model-picker-add-btn{
  flex:0 0 132px;
  width:132px;
  padding:0 16px!important;
  white-space:nowrap;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar .model-picker-fetch-btn{
  flex:0 0 154px;
  width:154px;
  padding:0 16px!important;
  white-space:nowrap;
  word-break:keep-all;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar .btn.is-loading:after{flex:0 0 auto}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .switch-line input[type="checkbox"]{
  position:relative;
  flex:0 0 50px;
  width:50px!important;
  height:28px!important;
  min-height:28px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #cfd3da!important;
  border-radius:999px!important;
  background:#dfe2e7!important;
  box-shadow:none!important;
  outline:0;
  cursor:pointer;
  -webkit-appearance:none!important;
  appearance:none!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .switch-line input[type="checkbox"]:before{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 7px rgba(20,24,32,.18);
  transition:transform .18s ease;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .switch-line input[type="checkbox"]:checked{
  border-color:#111318!important;
  background:#111318!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .switch-line input[type="checkbox"]:checked:before{transform:translateX(22px)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .switch-line input[type="checkbox"]:focus-visible{box-shadow:0 0 0 4px rgba(31,35,42,.1)!important}
@media(max-width:520px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .model-picker-toolbar .model-picker-type{flex:1 0 100%;width:100%!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar .model-picker-add-btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar .model-picker-fetch-btn{flex:1 0 100%;width:100%}
}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label{align-items:stretch!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input[type="number"]{box-sizing:border-box!important;text-align:center!important;text-align-last:center!important;padding-left:8px!important;padding-right:8px!important;line-height:1!important;font-variant-numeric:tabular-nums;font-weight:760}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input[type="number"]::-webkit-inner-spin-button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input[type="number"]::-webkit-outer-spin-button{margin:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line{display:flex;align-items:center;gap:10px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:30px;border:0;border-radius:8px;background:#f0f2f5;color:#7b818b;font-size:17px;line-height:1;letter-spacing:-4px;cursor:grab;user-select:none;transition:background .16s,color .16s,transform .16s}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle:hover{background:#e5e8ec;color:#20242a;transform:scale(1.04)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle:active{cursor:grabbing}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-dragging{opacity:.46}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-dragging td{background:#f0f7f4!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-table-].is-reordering{opacity:.78;pointer-events:none}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal[hidden]{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal{position:fixed;z-index:1100;inset:0;display:grid;place-items:center;padding:20px;isolation:isolate}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-backdrop{position:absolute;inset:0;background:transparent;backdrop-filter:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{position:relative;z-index:1;width:min(760px,100%);max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #dfe2e7;border-radius:20px;background:#fff;box-shadow:0 22px 65px rgba(12,15,22,.18);padding:23px;margin:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid var(--line)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-head h2{margin:5px 0 0;font-size:20px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-head p{margin:6px 0 0;color:var(--muted);font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:#f7f8fa;color:#4e545d;font-size:24px;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar{display:grid;grid-template-columns:180px 1fr;gap:12px;margin-top:18px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar label{font-size:12px;font-weight:700;color:#3f434a}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar select{box-sizing:border-box;width:100%;height:44px;margin-top:7px;border:1px solid #dfe2e7;border-radius:11px;background:#fff;padding:0 12px;outline:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 9px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head strong{font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head span{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#f0f2f5;color:#68707a;font-size:10px;font-weight:750}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head-actions .btn{min-width:0;height:32px;padding:0 11px;border-radius:9px;font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-footer-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:280px;overflow:auto;padding:2px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e0e3e8;border-radius:12px;background:#fafbfc;cursor:pointer;transition:border-color .16s,background .16s,transform .16s}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model:hover{border-color:#cfd4dc;background:#fff;transform:translateY(-1px)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model input{width:17px;height:17px;margin:0;accent-color:#111318}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model strong,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model strong{font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model small{margin-top:3px;color:var(--muted);font-size:10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model i{font-style:normal;padding:4px 7px;border-radius:999px;background:#eef0f3;color:#666c75;font-size:9px;font-weight:750}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-loading,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-empty{grid-column:1/-1;padding:34px 12px;text-align:center;color:var(--muted);border:1px dashed #dfe2e7;border-radius:12px;font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-note{margin-top:10px;padding:10px 12px;border-radius:10px;background:#fff8e9;color:#845d18;font-size:10px;line-height:1.55}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-results{display:grid;gap:7px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result-heading{font-size:12px;font-weight:800}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result-heading.ok{color:#08784b}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result-heading.bad{color:#b53232}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-radius:11px;border:1px solid #e3e5e9;background:#fafbfc}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok{border-color:#d5ecdf;background:#f1faf5}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.bad{border-color:#f0d7d7;background:#fff5f5}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result strong,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result small{display:block}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result strong{font-size:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result small{margin-top:3px;color:var(--muted);font-size:10px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result>span{white-space:nowrap;color:#5e646d;font-size:10px;font-variant-numeric:tabular-nums}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .modal-open{overflow:hidden}

@media(max-width:680px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal{padding:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{padding:17px;border-radius:18px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar{grid-template-columns:1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-models{grid-template-columns:1fr}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result{align-items:flex-start;flex-direction:column}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions .btn{flex:1}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input[type="number"]{height:100%!important;min-height:0!important;padding-top:0!important;padding-bottom:0!important;line-height:36px!important;vertical-align:middle!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel{width:min(720px,100%)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model:has(input:checked){border-color:#bfc6d0;background:#fff;box-shadow:0 7px 18px rgba(20,24,32,.06)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions .btn{min-width:108px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions [data-channel-test-all]{min-width:100px}
@media(max-width:680px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal{padding:10px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{max-height:calc(100dvh - 20px)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions{display:grid;grid-template-columns:1fr 1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head{align-items:flex-start;gap:10px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head-actions{justify-content:flex-end}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker:has(.model-picker-dropdown:not([hidden])){z-index:80}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown{
  padding:0;
  overflow:hidden;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown .model-picker-options{
  max-height:300px;
  padding:7px;
  overflow:auto;
  overscroll-behavior:contain;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown-actions{
  position:relative;
  z-index:3;
  flex:0 0 auto;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  margin:0;
  padding:10px 11px;
  border:0;
  border-bottom:1px solid #d9e7df;
  border-radius:12px 12px 0 0;
  background:#f1faf5;
  box-shadow:0 4px 12px rgba(21,108,73,.05);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown-actions>span{
  flex:0 0 auto;
  width:100%;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown-actions .model-discovery-batch{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  width:100%;
  min-width:0;
  margin:0;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown-actions .model-discovery-batch-btn{
  min-width:0;
  padding:0 6px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown-actions .btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker.is-upstream-model-mode .model-picker-dropdown{
  border-color:#c9e8d8;
  box-shadow:0 18px 55px rgba(11,109,70,.16);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker.is-upstream-model-mode .model-picker-option:not([hidden]){
  background:#eef8f3;
  color:#08784b;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker.is-upstream-model-mode .model-picker-option:not([hidden]):hover{
  background:#e3f5ec;
}
@media(max-width:780px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown{display:flex;flex-direction:column;max-height:60vh}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown .model-picker-options{flex:1 1 auto;max-height:none;min-height:0}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[data-channel-edit-url]{cursor:pointer;outline:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[data-channel-edit-url]:focus-visible td{background:#f2f8f5!important;box-shadow:inset 0 1px 0 rgba(11,132,82,.16),inset 0 -1px 0 rgba(11,132,82,.16)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[data-channel-edit-url] input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[data-channel-edit-url] button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[data-channel-edit-url] a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[data-channel-edit-url] label{cursor:auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[data-channel-edit-url] button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row[data-channel-edit-url] a{cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-route-form-grid input[type=number]{font-variant-numeric:tabular-nums;text-align:center}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-route-form-grid small{min-height:2.9em}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label{
  display:grid!important;
  grid-template-columns:auto 64px;
  align-items:stretch!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label>span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input[data-route-priority],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input[data-route-weight]{
  display:block!important;
  box-sizing:border-box!important;
  width:64px!important;
  height:100%!important;
  min-width:64px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:#fff!important;
  color:#17191d!important;
  text-align:center!important;
  text-align-last:center!important;
  text-indent:0!important;
  direction:ltr!important;
  line-height:normal!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  font-size:14px!important;
  font-weight:800!important;
  font-variant-numeric:tabular-nums lining-nums!important;
  letter-spacing:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:textfield!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input[data-route-priority]::selection,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input[data-route-weight]::selection{background:rgba(17,154,100,.16)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label{
  grid-template-columns:auto 68px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:68px!important;
  min-width:68px!important;
  height:100%!important;
  overflow:hidden!important;
  background:#fff!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  caret-color:#111318!important;
  text-align:center!important;
  text-indent:0!important;
  font-size:14px!important;
  font-weight:800!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell>b{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  color:#17191d!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  font-size:14px!important;
  font-weight:800!important;
  font-style:normal!important;
  font-variant-numeric:tabular-nums lining-nums!important;
  letter-spacing:0!important;
  line-height:1!important;
  text-align:center!important;
  pointer-events:none!important;
  user-select:none!important;
  transform:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label:focus-within .route-value-shell{background:#fbfcfd!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell{
  box-sizing:border-box!important;
  padding:0!important;
  border-right:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell>b{
  transform:translateX(-5px)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]{
  box-sizing:border-box!important;
  padding:0 5px 0 0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-active td{
  background:#f0faf5!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-active td:first-child{
  box-shadow:inset 3px 0 0 #119a64;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel]{
  transition:opacity .16s ease,transform .16s ease,box-shadow .16s ease;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel].is-panel-loading{
  opacity:.58;
  transform:translateY(2px);
  pointer-events:none;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel].is-panel-loading:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.72) 48%,transparent 76%);
  background-size:220% 100%;
  animation:channel-panel-loading .9s linear infinite;
  pointer-events:none;
}
@keyframes channel-panel-loading{to{background-position:-220% 0}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects{display:grid;gap:12px;padding:16px;border:1px solid #dfe3e8;border-radius:16px;background:linear-gradient(180deg,#fbfcfd,#f7f9fb)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects-head strong,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects-head small{display:block}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects-head strong{font-size:15px;line-height:1.35;color:#20242a}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects-head small{margin-top:5px;font-size:12px;line-height:1.55;color:var(--muted)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-add{flex:0 0 auto;min-height:38px;padding:0 14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-labels{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) 58px;align-items:center;gap:8px;padding:0 6px;color:#737984;font-size:11px;font-weight:700}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-labels i{display:block}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-rows{display:grid;gap:8px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr) 58px;align-items:center;gap:8px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .model-redirect-row input{width:100%;height:44px;margin:0;padding:0 13px;border:1px solid #d7dce3;border-radius:12px;background:#fff;color:#1e2329;font-size:13px;line-height:44px;box-shadow:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .model-redirect-row input:focus{border-color:#8c96a3;box-shadow:0 0 0 4px rgba(39,48,60,.07)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-arrow{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#edf7f2;color:#078355;font-size:18px;font-weight:800}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-remove{height:38px;border:1px solid #efc9c9;border-radius:10px;background:#fff;color:#c63939;font-size:11px;font-weight:750;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-remove:hover{background:#fff2f2;border-color:#eaa9a9;transform:translateY(-1px)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-empty{padding:18px;border:1px dashed #d8dde4;border-radius:12px;background:rgba(255,255,255,.65);text-align:center;color:#9197a1;font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-empty[hidden]{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-note{display:block;padding:10px 12px;border-radius:11px;background:#f1f4f7;color:#6e7580;font-size:11px;line-height:1.55}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-note code{padding:2px 5px;border-radius:6px;background:#fff;color:#2a3038}
@media(max-width:760px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects-head{align-items:stretch;flex-direction:column}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-add{width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-labels{display:none}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row{grid-template-columns:minmax(0,1fr) 30px;gap:7px;padding:10px;border:1px solid #e1e5ea;border-radius:13px;background:#fff}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row input:first-child{grid-column:1}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-arrow{grid-column:2;grid-row:1 / span 2;align-self:center;width:30px;height:30px;transform:rotate(90deg)}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row input:nth-of-type(2){grid-column:1}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-remove{grid-column:1 / -1;width:100%}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip{
  display:inline-flex;
  align-items:stretch;
  gap:0;
  max-width:100%;
  padding:0;
  overflow:hidden;
  border:1px solid #dde0e5;
  border-radius:9px;
  background:#f5f6f8;
  color:#292d33;
  cursor:default;
  transition:background .16s,border-color .16s,transform .16s,box-shadow .16s;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip:hover{
  background:#f8fafc;
  border-color:#cfd5dd;
  transform:translateY(-1px);
  box-shadow:0 5px 14px rgba(20,24,32,.06);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
  max-width:100%;
  padding:6px 8px;
  border:0;
  background:transparent;
  color:inherit;
  cursor:copy;
  font:inherit;
  text-align:left;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy:hover{background:#eef8f3}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy:focus-visible{
  position:relative;
  z-index:1;
  outline:2px solid rgba(17,154,100,.32);
  outline-offset:-2px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy span{
  max-width:185px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy small{
  flex:0 0 auto;
  padding:2px 5px;
  border-radius:6px;
  background:#fff;
  color:#777d86;
  font-size:9px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-remove{
  display:grid;
  place-items:center;
  width:31px;
  min-width:31px;
  padding:0;
  border:0;
  border-left:1px solid #dde0e5;
  background:transparent;
  color:#858b94;
  font-size:16px;
  line-height:1;
  cursor:pointer;
  transition:background .15s,color .15s;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-remove:hover{background:#fff0f0;color:#c63434}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-remove:focus-visible{
  outline:2px solid rgba(198,52,52,.28);
  outline-offset:-2px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy.is-success{background:#e9f8f0;color:#087a50}
@media(max-width:780px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy span{max-width:210px}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell>b{
  transform:translateX(-9px)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]{
  padding:0 9px 0 0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell>b{
  transform:translateX(-12px)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]{
  padding:0 12px 0 0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid #dfe4ea;border-radius:13px;background:#f8fafb}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.is-running{border-color:#d8e4f4;background:#f5f9ff}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.has-failure{border-color:#efd9d9;background:#fff8f8}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary-copy{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary-copy strong{font-size:12px;color:#20242b}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary-copy span{font-size:10px;color:#69717c;font-variant-numeric:tabular-nums}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result-list{display:grid;gap:7px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.pending{border-style:dashed;background:#fbfcfd;color:#78808a}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.testing{border-color:#cfddef;background:#f4f8fe;box-shadow:0 0 0 3px rgba(73,116,177,.06)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.testing>span{color:#406a9c;font-weight:750}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.removed{opacity:.68;filter:saturate(.65)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.removed small{color:#8a5960}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary .btn.compact{min-height:34px;padding:0 12px;border-radius:10px;font-size:10px;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary .btn.danger{border:1px solid #efcaca;background:#fff;color:#b62e39;box-shadow:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary .btn.danger:hover{border-color:#df9da4;background:#fff4f5}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal.is-testing .relay-modal-close{opacity:.55}
@media(max-width:680px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary{align-items:stretch;flex-direction:column}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary .btn.compact{width:100%}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status{justify-content:center;white-space:nowrap;min-width:54px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.warn{min-width:88px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.bad{min-width:78px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tr[data-model-row].is-active td{background:#f0faf5!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tr[data-model-row].is-active td:first-child{box-shadow:inset 3px 0 0 #119a64}
@keyframes model-panel-loading{to{background-position:-220% 0}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-id-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:42px;height:24px;padding:0 8px;border:1px solid #dfe3e8;border-radius:8px;background:#f4f6f8;color:#616873;font-size:10.5px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.01em}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-copy-button{white-space:nowrap;color:#246b55!important;background:#edf8f3!important;border:1px solid #d3ecdf!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-copy-button:hover{color:#075d3e!important;background:#dcf3e8!important;border-color:#bfe3d1!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-copy-button.is-success{color:#fff!important;background:#119a64!important;border-color:#119a64!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(6){width:162px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions button+button{margin-left:3px}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  color-scheme:dark;
  --bg:#0e1116;--bg-soft:#131820;--card:rgba(21,26,34,.94);--text:#edf1f6;--text-2:#d1d8e2;--muted:#929ba8;
  --line:#2a313b;--line-strong:#3a4450;--black:#edf1f6;--black-2:#d7dde5;--green:#3ac889;--red:#ff7278;--amber:#e6aa52;
  --shadow:0 16px 42px rgba(0,0,0,.24);--shadow-hover:0 20px 54px rgba(0,0,0,.34);
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating),html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){background:#0e1116;color:var(--text)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){background:radial-gradient(circle at 78% -10%,rgba(54,68,88,.22),transparent 30%),linear-gradient(180deg,#11151b 0,#0d1015 100%)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::selection{background:rgba(58,200,137,.28);color:#fff}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .page-progress i{background:linear-gradient(90deg,#3ac889,#6f8cff)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar{background:rgba(16,20,26,.9);border-color:#252c35}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .brand-logo{background:#171c24;border-color:#303844;box-shadow:0 8px 22px rgba(0,0,0,.25)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .brand-copy strong{color:#f1f4f8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .nav-caption,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .eyebrow,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .section-kicker{color:#737d8a}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar nav a{color:#9da7b4}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar nav a:hover{background:rgba(38,46,58,.8);color:#f1f4f8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar nav a.active{background:#1a2029;color:#f5f7fa;border-color:#303844;box-shadow:0 9px 28px rgba(0,0,0,.25)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar nav a.active:before{background:#3ac889}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar-foot{border-color:#272e38}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .health-dot,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .logout-link{color:#8e98a5}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .logout-link:hover{color:#f2f5f8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin-chip,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .theme-switcher{background:rgba(22,27,35,.86);border-color:#303844;box-shadow:0 10px 30px rgba(0,0,0,.2)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin-chip>span{background:#e8edf3;color:#15191f}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin-chip small{color:#7f8996}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .theme-switcher button:hover{background:#242c37;color:#f2f5f8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .theme-switcher button.is-active{background:#303a47;color:#fff;box-shadow:0 5px 16px rgba(0,0,0,.28)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .metric,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{background:var(--card);border-color:#29313c;box-shadow:var(--shadow)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .metric:after{background:radial-gradient(circle,rgba(112,136,168,.11),transparent 68%)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .metric:hover,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card:hover{border-color:#3a4451}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .badge{background:#1a2028;border-color:#303844;color:#a0aab7}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .endpoint-grid>div,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .logo-setting-box{background:linear-gradient(180deg,#191f28,#151a22);border-color:#2c3440}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .endpoint-grid code,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) code{color:#cbd3de}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .table-wrap,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table-wrap{border-color:#29313b;background:#151a21}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) table{background:#151a21;color:#e5eaf0}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th{background:#191f27;color:#8994a1;border-color:#2b333e}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td{border-color:#252c35}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr:hover td{background:#1b222b}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button{color:#aeb7c3}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button:hover,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a:hover{background:#252c36;color:#fff}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar label{color:#cdd4de}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar select,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar select,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row input{background:#12171e!important;border-color:#323b47!important;color:#edf1f6!important;caret-color:#7ddfb1}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input::placeholder,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea::placeholder{color:#697482;opacity:1}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select option{background:#151a21;color:#edf1f6}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:hover,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:hover,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:hover{border-color:#46515f!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:focus,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:focus,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:focus,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input:focus,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select:focus{border-color:#657286!important;box-shadow:0 0 0 4px rgba(98,113,134,.18)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input:-webkit-autofill,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input:-webkit-autofill:hover,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input:-webkit-autofill:focus{-webkit-text-fill-color:#edf1f6;-webkit-box-shadow:0 0 0 1000px #12171e inset;transition:background-color 9999s ease-out 0s}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .binding-box,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .manual-model-create,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-subsection{background:#171d25;border-color:#2d3541}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn{background:#1a2028;border-color:#323b47;color:#dbe1e8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:hover{background:#222a35;border-color:#46515f;box-shadow:0 9px 25px rgba(0,0,0,.25)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary{background:linear-gradient(180deg,#e9edf2,#cbd3dc);border-color:#d7dee6;color:#171b21;box-shadow:0 9px 22px rgba(0,0,0,.3)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary{background:#252d38;border-color:#36414e;color:#dde3eb}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost{background:#171d25}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.is-success{background:#123529;border-color:#205941;color:#70dca9}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .danger-zone button{background:#321b20;border-color:#5a2d35;color:#ff9298}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .danger-zone button:hover{background:#412128}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .alert.success,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) #js-toast-zone .alert.success{background:#153326;border-color:#285942;color:#72dba9}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .alert.error{background:#371d22;border-color:#623039;color:#ff9398}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .alert.secret{background:#342b18;border-color:#5c4a25;color:#edc875}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .alert button{background:#e8edf3;color:#161a20}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) #js-toast-zone .toast-secret{background:rgba(255,255,255,.08);color:#dce3eb}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.ok{background:#15382a;color:#72dba9}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.bad{background:#3a1f24;color:#ff9197}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.warn{background:#3a301c;color:#e9c16e}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.muted{background:#252c35;color:#9aa5b2}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .segmented-control{background:#11161d}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .segmented-control span{color:#8f99a6}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .segmented-control input:checked+span{background:#2a333f;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.28)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .logo-preview{background:#151b23;border-color:#303945;color:#dfe5ed}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-list-card{background:rgba(21,26,34,.96)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-head,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-list-head{border-color:#29313b}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-search-box input{background:#12171e;border-color:#323b47;color:#edf1f6}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-count,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-count{background:#222a34;color:#a8b2bf}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle{background:#252d37;color:#919ba8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle:hover{background:#303a46;color:#fff}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-active td,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tr[data-model-row].is-active td{background:#173027!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-active td:first-child,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tr[data-model-row].is-active td:first-child{box-shadow:inset 3px 0 0 #3ac889}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-id-badge{background:#222a34;border-color:#36404d;color:#aeb8c4}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-copy-button{background:#173227!important;border-color:#28543f!important;color:#70dca9!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-copy-button:hover{background:#1d4132!important;border-color:#36745a!important;color:#9aeac4!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label{background:#151b23!important;border-color:#303945!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label>span{background:#252d38!important;color:#929da9!important;border-color:#303945!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label:focus-within .route-value-shell{background:#12171e!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input{color:#eef2f6!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle.is-enabled{background:#17372a!important;color:#70dca9!important;border-color:#285b43!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle.is-disabled{background:#3a1f24!important;color:#ff9096!important;border-color:#67313a!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown{background:#171d25;border-color:#35404c;box-shadow:0 22px 60px rgba(0,0,0,.45)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option{background:#171d25;color:#dfe5ed}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option:hover{background:#232b36}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option.is-selected{background:#17372b;color:#75dbaa}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option small,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy small{background:#29323d;color:#9ca7b4}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option.is-selected small{background:#24513e;color:#8be2b8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip{background:#202833;border-color:#343e4a;color:#dfe5ed}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip:hover{background:#27313d;border-color:#46515e;box-shadow:0 6px 16px rgba(0,0,0,.25)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-copy:hover{background:#19362a}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-remove{border-color:#38424e;color:#909ba8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip-remove:hover{background:#3b2025;color:#ff8f96}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-discovery-actions,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .health-policy-note{background:#173027;border-color:#2a5642;color:#a6c5b5}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-discovery-actions>span,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .health-policy-note strong{color:#77d9aa}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-discovery-batch{background:#1b232c;border-color:#355343;box-shadow:none}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-discovery-batch-btn{background:#1b232c;border-color:#355343;color:#b2beb7}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-discovery-batch-btn:hover{background:#244033;color:#8de0b7}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-discovery-batch-btn.is-primary{background:#2c8b62;color:#fff}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .redirect-confirm-models{background:#171d25!important;border-color:#303945!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-note code,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .redirect-confirm-models code{background:#222a34;border-color:#36404c;color:#dce3eb}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-arrow{background:#252e39;color:#9aa5b2}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-remove{background:#382025;border-color:#623039;color:#ff9197}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{background:#171d25;border-color:#35404c;box-shadow:0 26px 80px rgba(0,0,0,.55)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-head,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-results{border-color:#303945}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-close{background:#222a34;border-color:#36404c;color:#c4ccd6}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model{background:#1b222b;border-color:#303945}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model:hover,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model:has(input:checked){background:#232c37;border-color:#4a5665;box-shadow:0 7px 20px rgba(0,0,0,.22)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model i,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head span{background:#28313c;color:#9faab7}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-loading,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-empty{border-color:#35404c}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-note{background:#382f1d;color:#e3c47d}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary{background:#1a212a;border-color:#35404c}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.is-running{background:#182535;border-color:#334e6c}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.has-failure{background:#351e23;border-color:#60323a}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary-copy strong{color:#e4e9ef}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result{background:#1b222b;border-color:#303945}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok{background:#173027;border-color:#2b5844}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.bad{background:#351e23;border-color:#60323a}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.pending{background:#171d25;color:#929ca9}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.testing{background:#182536;border-color:#365476;box-shadow:0 0 0 3px rgba(73,116,177,.1)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-chain>summary{background:#1b222b;border-color:#35404c;color:#aeb8c4}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-chain[open]>summary{background:#173027;border-color:#2d5b46;color:#79dcad}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-chain-list{background:#131920;border-color:#303945;box-shadow:0 14px 34px rgba(0,0,0,.35)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-attempt{background:#1b222b;border-color:#303945}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-attempt-head strong,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-attempt-main b{color:#dfe5ed}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-attempt-main code{background:#28313c;color:#adb7c4}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-attempt-meta span{background:#202833;color:#aeb8c4}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-attempt-meta span i{color:#8290a2}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-attempt-meta span b{color:#cbd3dd}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-attempt p{color:#c9979e}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-error-detail{background:#2a1c22;border-color:#4e2d37;color:#e7aab3}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-error-detail strong{color:#ffb4bf}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-error-detail small{color:#d6b0b8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel].is-panel-loading:after{background:linear-gradient(100deg,transparent 20%,rgba(100,116,137,.14) 48%,transparent 76%);background-size:220% 100%}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *{scrollbar-color:#46515f #171d25}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::-webkit-scrollbar{width:11px;height:11px}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::-webkit-scrollbar-track{background:#171d25}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::-webkit-scrollbar-thumb{background:#46515f;border:3px solid #171d25;border-radius:999px}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::-webkit-scrollbar-thumb:hover{background:#596677}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .model-picker-toolbar .model-picker-type{background-color:#12171e!important;color:#edf1f6!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b7c0cb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .switch-line input[type="checkbox"]{background:#343d49!important;border-color:#4a5564!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .switch-line input[type="checkbox"]:checked{background:#3ac889!important;border-color:#3ac889!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout .stack-form .switch-line input[type="checkbox"]:before{background:#f3f6f8;box-shadow:0 2px 8px rgba(0,0,0,.32)}
@media(max-width:780px){
  html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar{background:#151a21;border-bottom-color:#2a313b}
  html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar nav a{background:#1b222b;border-color:#303945}
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-name-copy{
  color:#f3f6fa!important;
  -webkit-text-fill-color:#f3f6fa!important;
  text-shadow:none!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-name-copy:hover{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-name-copy.is-success{
  color:#78e0ae!important;
  -webkit-text-fill-color:#78e0ae!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-copy-button{
  background:#252d38!important;
  border-color:#3a4553!important;
  color:#dfe6ee!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-copy-button:hover{
  background:#303a47!important;
  border-color:#536173!important;
  color:#ffffff!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-copy-button.is-success{
  background:#17372a!important;
  border-color:#2d684d!important;
  color:#7be0af!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell>b{
  color:#f7f9fc!important;
  -webkit-text-fill-color:#f7f9fc!important;
  opacity:1!important;
  text-shadow:0 0 1px rgba(255,255,255,.18)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority],
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]{
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  caret-color:#86e5b8!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i.is-saving{color:#a7b1bd!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i.is-saved{color:#75dca9!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i.is-error{color:#ff8e95!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor i.is-pending{color:#e6be70!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table td,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td{
  color:#e7ecf2;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table td strong,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td strong,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table .mono,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table .mono{
  color:inherit;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table td small,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td small,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-base-url{
  color:#8f9aa8!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table .actions a,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table .actions button:not(.channel-copy-button){
  color:#c0c9d4!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table .actions a:hover,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table .actions button:not(.channel-copy-button):hover{
  color:#ffffff!important;
  background:#27303b!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-model-count{
  background:#edf1f6!important;
  color:#171b21!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table-wrap,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.015);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-strategy-badge.test{border-color:rgba(102,74,240,.18);background:rgba(102,74,240,.08);color:#664af0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer- .retry-route-reason{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:break-word!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer- .retry-route-reason{padding:9px 10px;border:1px solid #e5e8ed;border-radius:10px;background:#f8fafc;color:#596575!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer-backdrop{background:rgba(0,0,0,.52)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer-panel{background:#171d24;border-color:#303945;box-shadow:0 30px 90px rgba(0,0,0,.55)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer-head{background:linear-gradient(180deg,#1b222b,#171d24);border-color:#303945}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer-head strong{color:#e5eaf0}html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer-head small{color:#8f9aaa}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer-close{background:#202833;border-color:#35404c;color:#c2cad4}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer-{background:#11171d}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-drawer- .retry-route-reason{background:#202833;border-color:#35404c;color:#b7c0cb!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label:focus-within{
  box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell:focus-within>b{
  opacity:0!important;
  visibility:hidden!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority]:focus,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]:focus{
  color:#17191d!important;
  -webkit-text-fill-color:#17191d!important;
  caret-color:#111318!important;
  padding:0 24px 0 0!important;
  text-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority]:focus::selection,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]:focus::selection{
  background:rgba(17,154,100,.16)!important;
  color:#17191d!important;
  -webkit-text-fill-color:#17191d!important;
  text-shadow:none!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority]:focus,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]:focus{
  color:#f7f9fc!important;
  -webkit-text-fill-color:#f7f9fc!important;
  caret-color:#86e5b8!important;
  text-shadow:none!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-priority]:focus::selection,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell input[data-route-weight]:focus::selection{
  background:rgba(134,229,184,.22)!important;
  color:#f7f9fc!important;
  -webkit-text-fill-color:#f7f9fc!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-chain-trigger{background:#1b222b;border-color:#35404c;color:#aeb8c4}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-chain-trigger:hover,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-chain-trigger:focus-visible{background:#25203f;border-color:#5745a5;color:#b8aaff;box-shadow:0 0 0 3px rgba(118,88,255,.12)}

/* design-system.css */
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  color-scheme:light;
  --ds-bg:#f5f6fb;
  --ds-bg-subtle:#edeff8;
  --ds-sidebar:#fafbff;
  --ds-surface-1:#ffffff;
  --ds-surface-2:#f8f9fd;
  --ds-surface-3:#f0f2f8;
  --ds-surface-floating:#ffffff;
  --ds-text-1:#171a2a;
  --ds-text-2:#515a70;
  --ds-text-3:#7b8499;
  --ds-text-disabled:#a5adb8;
  --ds-border:#e2e5ef;
  --ds-border-strong:#d1d6e3;
  --ds-divider:#eceef5;
  --ds-brand:#6d4df5;
  --ds-brand-hover:#5e3ee9;
  --ds-brand-pressed:#4e31d7;
  --ds-brand-soft:#f0edff;
  --ds-success:#18794e;
  --ds-success-soft:#e9f6ef;
  --ds-warning:#9a6515;
  --ds-warning-soft:#fff4dd;
  --ds-danger:#c43843;
  --ds-danger-soft:#fdecee;
  --ds-info:#3568a8;
  --ds-info-soft:#ebf2fb;
  --ds-focus:rgba(109,77,245,.22);
  --ds-shadow-1:0 1px 2px rgba(20,24,46,.025),0 10px 30px rgba(38,42,76,.055);
  --ds-shadow-2:0 20px 60px rgba(28,31,60,.13);
  --ds-shadow-modal:0 30px 90px rgba(12,20,33,.22);
  --ds-radius-xs:6px;
  --ds-radius-sm:9px;
  --ds-radius-md:12px;
  --ds-radius-lg:16px;
  --ds-radius-xl:20px;
  --ds-control-h:40px;
  --ds-control-h-lg:44px;
  --ds-sidebar-w:226px;
  --ds-content-max:1760px;
  --ds-fast:120ms;
  --ds-normal:180ms;
  --ds-slow:240ms;
  --ds-font-sans:"MiSans","HarmonyOS Sans SC","SF Pro Text","Segoe UI Variable","PingFang SC","Microsoft YaHei UI","Noto Sans SC",sans-serif;
  --ds-font-mono:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
  --bg:var(--ds-bg);--bg-soft:var(--ds-surface-2);--card:var(--ds-surface-1);
  --text:var(--ds-text-1);--text-2:var(--ds-text-2);--muted:var(--ds-text-3);
  --line:var(--ds-border);--line-strong:var(--ds-border-strong);--black:var(--ds-text-1);--black-2:var(--ds-text-2);
  --green:var(--ds-success);--red:var(--ds-danger);--amber:var(--ds-warning);
  --shadow:var(--ds-shadow-1);--shadow-hover:var(--ds-shadow-1);--radius:var(--ds-radius-lg);--sidebar:var(--ds-sidebar-w);
}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  color-scheme:dark;
  --ds-bg:#0e1018;
  --ds-bg-subtle:#111420;
  --ds-sidebar:#11131d;
  --ds-surface-1:#171a25;
  --ds-surface-2:#1c202c;
  --ds-surface-3:#242936;
  --ds-surface-floating:#202431;
  --ds-text-1:#e8edf3;
  --ds-text-2:#b4bfcc;
  --ds-text-3:#8793a2;
  --ds-text-disabled:#606b78;
  --ds-border:#2b3040;
  --ds-border-strong:#3b4254;
  --ds-divider:#272c39;
  --ds-brand:#9a86ff;
  --ds-brand-hover:#ad9cff;
  --ds-brand-pressed:#846ff1;
  --ds-brand-soft:#2b2548;
  --ds-success:#69d6a3;
  --ds-success-soft:#17362a;
  --ds-warning:#e6bb66;
  --ds-warning-soft:#3a2f1c;
  --ds-danger:#ff8d96;
  --ds-danger-soft:#3a2025;
  --ds-info:#85b7ee;
  --ds-info-soft:#1b3047;
  --ds-focus:rgba(154,134,255,.25);
  --ds-shadow-1:0 1px 2px rgba(0,0,0,.22),0 12px 32px rgba(0,0,0,.16);
  --ds-shadow-2:0 20px 60px rgba(0,0,0,.34);
  --ds-shadow-modal:0 34px 100px rgba(0,0,0,.56);
}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){background:var(--ds-bg)!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  font-family:var(--ds-font-sans)!important;
  background:linear-gradient(180deg,var(--ds-bg-subtle) 0,var(--ds-bg) 220px)!important;
  font-size:14px;
  line-height:1.55;
  letter-spacing:0;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .mono{font-family:var(--ds-font-mono)!important;font-variant-ligatures:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) ::selection{background:var(--ds-brand-soft);color:var(--ds-text-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :focus-visible{outline:2px solid var(--ds-brand)!important;outline-offset:2px}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .theme-switcher button.is-active{background:var(--ds-surface-floating)!important;color:var(--ds-brand)!important;box-shadow:0 2px 8px rgba(0,0,0,.22)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{
  background:var(--ds-surface-1)!important;border:1px solid var(--ds-border)!important;
  border-radius:var(--ds-radius-lg)!important;box-shadow:var(--ds-shadow-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:20px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card+.card{margin-top:16px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card:hover{transform:none!important;border-color:var(--ds-border-strong)!important;box-shadow:var(--ds-shadow-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head{gap:16px!important;margin-bottom:16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head h2{font-size:17px!important;letter-spacing:-.15px!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head p{font-size:12px!important;line-height:1.55!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-count,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-count{background:var(--ds-surface-3)!important;border:1px solid var(--ds-border)!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects{
  background:var(--ds-surface-2)!important;border:1px solid var(--ds-border)!important;border-radius:var(--ds-radius-md)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .table-wrap,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table-wrap{
  border:1px solid var(--ds-border)!important;border-radius:var(--ds-radius-md)!important;
  background:var(--ds-surface-1)!important;box-shadow:none!important;overflow:auto!important;overscroll-behavior:contain;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) table{width:100%;border-collapse:separate!important;border-spacing:0!important;background:var(--ds-surface-1)!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th{
  position:sticky;top:0;z-index:4;background:var(--ds-surface-2)!important;color:var(--ds-text-3)!important;
  border-bottom:1px solid var(--ds-border)!important;padding:10px 12px!important;font-size:11px!important;font-weight:720!important;letter-spacing:.015em!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td{height:54px;padding:10px 12px!important;border-bottom:1px solid var(--ds-divider)!important;color:var(--ds-text-2)!important;font-size:12.5px!important;vertical-align:middle!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr:last-child td{border-bottom:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr:hover td{background:var(--ds-surface-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td strong{color:var(--ds-text-1)!important;font-weight:680!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td small{display:block;margin-top:3px;color:var(--ds-text-3)!important;font-size:10.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .empty{padding:42px 20px!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:last-child,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td:last-child,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table th:last-child,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table td:last-child{position:sticky;right:0;z-index:3;background:var(--ds-surface-1)!important;box-shadow:-10px 0 20px -20px rgba(15,23,42,.35)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table thead th:last-child,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table thead th:last-child{z-index:6;background:var(--ds-surface-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody tr:hover td:last-child,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tbody tr:hover td:last-child{background:var(--ds-surface-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-active td,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tr[data-model-row].is-active td{background:var(--ds-brand-soft)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-active td:first-child,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tr[data-model-row].is-active td:first-child{box-shadow:inset 3px 0 0 var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line{gap:9px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-base-url{color:var(--ds-text-3)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-id-badge{background:var(--ds-surface-3)!important;border-color:var(--ds-border)!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle{background:var(--ds-surface-3)!important;color:var(--ds-text-3)!important;border-radius:8px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle:hover{background:var(--ds-brand-soft)!important;color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-model-count{background:var(--ds-surface-3)!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions{white-space:nowrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button{color:var(--ds-text-2)!important;font-weight:650!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button:hover{background:var(--ds-surface-3)!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions button{
  min-height:var(--ds-control-h)!important;border-radius:var(--ds-radius-sm)!important;
  transition:background var(--ds-fast),border-color var(--ds-fast),color var(--ds-fast),box-shadow var(--ds-fast),transform var(--ds-fast)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn{padding:0 14px!important;background:var(--ds-surface-1)!important;border:1px solid var(--ds-border-strong)!important;color:var(--ds-text-1)!important;font-size:12.5px!important;font-weight:680!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:hover{background:var(--ds-surface-2)!important;border-color:var(--ds-border-strong)!important;transform:none!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:active{transform:translateY(1px)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary{background:var(--ds-brand)!important;border-color:var(--ds-brand)!important;color:#fff!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary:hover{background:var(--ds-brand-hover)!important;border-color:var(--ds-brand-hover)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary:active{background:var(--ds-brand-pressed)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary{background:var(--ds-surface-3)!important;border-color:var(--ds-border)!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost{background:transparent!important;border-color:var(--ds-border)!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.tiny{min-height:30px!important;padding:0 9px!important;font-size:11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn[disabled],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) button[disabled]{opacity:.5!important;cursor:not-allowed!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-copy-button{background:var(--ds-brand-soft)!important;border:1px solid color-mix(in srgb,var(--ds-brand) 24%,var(--ds-border))!important;color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-head{align-items:center!important;padding-bottom:14px!important;border-bottom:1px solid var(--ds-divider)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-actions,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar{gap:9px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search{gap:7px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search>span{color:var(--ds-text-3)!important;font-size:11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select{
  height:var(--ds-control-h)!important;background:var(--ds-surface-1)!important;border:1px solid var(--ds-border-strong)!important;
  color:var(--ds-text-1)!important;border-radius:var(--ds-radius-sm)!important;padding:0 12px!important;box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input{min-width:260px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input::placeholder,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea::placeholder{color:var(--ds-text-3)!important;opacity:.85!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout{gap:16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form{gap:15px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label{color:var(--ds-text-2)!important;font-size:12.5px!important;font-weight:650!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label>small,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form small{color:var(--ds-text-3)!important;font-size:11px!important;font-weight:450!important;line-height:1.55!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row input{
  min-height:var(--ds-control-h-lg)!important;background:var(--ds-surface-1)!important;border:1px solid var(--ds-border-strong)!important;
  color:var(--ds-text-1)!important;border-radius:var(--ds-radius-sm)!important;padding:10px 12px!important;box-shadow:none!important;
  transition:border-color var(--ds-fast),box-shadow var(--ds-fast),background var(--ds-fast)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:hover{border-color:color-mix(in srgb,var(--ds-brand) 35%,var(--ds-border-strong))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input:focus{
  border-color:var(--ds-brand)!important;box-shadow:0 0 0 3px var(--ds-focus)!important;outline:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid{gap:12px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .inline-input-action{gap:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section{display:grid;gap:14px;padding:16px;border:1px solid var(--ds-border);border-radius:var(--ds-radius-md);background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:11px;border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section-head h3{margin:0;color:var(--ds-text-1);font-size:14px;line-height:1.35}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section-head p{margin:4px 0 0;color:var(--ds-text-3);font-size:11px;line-height:1.5}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section-{display:grid;gap:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section .form-grid{margin:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line{background:var(--ds-surface-2)!important;border:1px solid var(--ds-border)!important;border-radius:var(--ds-radius-md)!important;padding:13px 14px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line strong{color:var(--ds-text-1)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line small{color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .danger-zone{margin-top:14px!important;padding-top:14px!important;border-color:var(--ds-divider)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .danger-zone button{background:var(--ds-danger-soft)!important;border:1px solid color-mix(in srgb,var(--ds-danger) 30%,var(--ds-border))!important;color:var(--ds-danger)!important;border-radius:var(--ds-radius-sm)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label{height:38px!important;background:var(--ds-surface-1)!important;border-color:var(--ds-border)!important;border-radius:9px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label>span:first-child{background:var(--ds-surface-3)!important;color:var(--ds-text-3)!important;border-color:var(--ds-border)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell{background:var(--ds-surface-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor .route-value-shell>b{color:var(--ds-text-1)!important;transform:translateX(-8px)!important;font-weight:760!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor input{caret-color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:26px!important;padding:4px 9px!important;border-radius:999px!important;font-size:10.5px!important;font-weight:720!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.ok{background:var(--ds-success-soft)!important;color:var(--ds-success)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.warn{background:var(--ds-warning-soft)!important;color:var(--ds-warning)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.bad{background:var(--ds-danger-soft)!important;color:var(--ds-danger)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.muted{background:var(--ds-surface-3)!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle{min-width:78px!important;min-height:32px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle i{box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects{padding:15px!important;gap:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head strong,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects-head strong{color:var(--ds-text-1)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head small,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects-head small{color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-selected{min-height:46px!important;max-height:132px!important;background:var(--ds-surface-1)!important;border-color:var(--ds-border)!important;border-radius:var(--ds-radius-sm)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip{background:var(--ds-surface-2)!important;border-color:var(--ds-border)!important;color:var(--ds-text-1)!important;border-radius:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip:hover{background:var(--ds-brand-soft)!important;border-color:color-mix(in srgb,var(--ds-brand) 28%,var(--ds-border))!important;transform:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-chip small{background:var(--ds-surface-1)!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar select{background:var(--ds-surface-1)!important;border-color:var(--ds-border-strong)!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown{background:var(--ds-surface-floating)!important;border-color:var(--ds-border-strong)!important;border-radius:var(--ds-radius-md)!important;box-shadow:var(--ds-shadow-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option{background:transparent!important;color:var(--ds-text-1)!important;border-radius:8px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option:hover{background:var(--ds-surface-3)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option.is-selected{background:var(--ds-brand-soft)!important;color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option small{background:var(--ds-surface-3)!important;color:var(--ds-text-3)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-option.is-selected small{background:color-mix(in srgb,var(--ds-brand-soft) 70%,var(--ds-surface-1))!important;color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row{background:var(--ds-surface-1)!important;border-color:var(--ds-border)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-arrow{background:var(--ds-surface-3)!important;color:var(--ds-text-3)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-remove{background:var(--ds-danger-soft)!important;border-color:color-mix(in srgb,var(--ds-danger) 25%,var(--ds-border))!important;color:var(--ds-danger)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal{z-index:1000!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-backdrop{background:rgba(14,20,28,.36)!important;backdrop-filter:blur(2px)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{background:var(--ds-surface-floating)!important;border:1px solid var(--ds-border-strong)!important;border-radius:var(--ds-radius-lg)!important;box-shadow:var(--ds-shadow-modal)!important;max-height:min(86vh,860px)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-head,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions{background:var(--ds-surface-floating)!important;border-color:var(--ds-divider)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-head{position:sticky;top:0;z-index:5}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions{position:sticky;bottom:0;z-index:5}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-close{background:var(--ds-surface-3)!important;border-color:var(--ds-border)!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary{background:var(--ds-surface-2)!important;border-color:var(--ds-border)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model:has(input:checked){background:var(--ds-brand-soft)!important;border-color:color-mix(in srgb,var(--ds-brand) 30%,var(--ds-border))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea{scroll-margin:90px}
@media(prefers-reduced-motion:reduce){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *:before,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:1180px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout{grid-template-columns:1fr!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout>.form-card{position:static!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table{min-width:960px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table{min-width:900px!important}
}
@media(max-width:900px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar-open{overflow:hidden}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-head,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head{align-items:flex-start!important;flex-wrap:wrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-actions{width:100%;display:flex;flex-wrap:wrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search{flex:1;min-width:230px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input{min-width:0;width:100%}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){font-size:13.5px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:15px!important;border-radius:var(--ds-radius-md)!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.two,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.three{grid-template-columns:1fr!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar{display:grid!important;grid-template-columns:1fr!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-search-wrap{grid-column:auto!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar .btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar select{width:100%!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-labels{display:none!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row{grid-template-columns:1fr!important;gap:8px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-arrow{transform:rotate(90deg);justify-self:center}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-remove{width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal{padding:8px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:var(--ds-radius-md)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions .btn.primary{grid-column:1/-1}
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-request-legend .is-chat,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-chart-summary .is-chat strong{color:#65c1b7}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-request-legend .is-image,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-chart-summary .is-image strong{color:#bd96ed}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-segment.is-chat,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-tooltip span i.is-chat{background:#57b2a8}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-segment.is-image,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-tooltip span i.is-image{background:#ad82df}
@media(max-width:640px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-request-card .card-head{display:grid!important}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 14px;border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filters{display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:thin}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filter{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:5px 10px;border:1px solid var(--ds-border);border-radius:10px;background:var(--ds-surface-2);color:var(--ds-text-2);white-space:nowrap;transition:background var(--ds-fast),border-color var(--ds-fast),color var(--ds-fast)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filter:hover{background:var(--ds-surface-3);color:var(--ds-text-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filter.is-active{background:var(--ds-brand-soft);border-color:color-mix(in srgb,var(--ds-brand) 34%,var(--ds-border));color:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filter-icon{display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:7px;background:var(--ds-surface-1);font-size:12px;line-height:1}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filter strong{font-size:12px;font-weight:720}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filter small{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--ds-surface-3);color:var(--ds-text-3);font-size:10px;font-variant-numeric:tabular-nums}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filter.is-active small{background:color-mix(in srgb,var(--ds-brand) 13%,var(--ds-surface-1));color:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0 0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--ds-brand) 25%,var(--ds-border));border-radius:12px;background:var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk>div:first-child{display:flex;align-items:baseline;gap:9px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk strong{color:var(--ds-text-1)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk span{color:var(--ds-text-3);font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk-actions{display:flex;align-items:center;gap:8px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk select{min-width:180px;height:34px;padding:0 30px 0 10px;border:1px solid var(--ds-border);border-radius:9px;background:var(--ds-surface-1);color:var(--ds-text-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-head-main{display:inline-flex;align-items:center;gap:10px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-head-main input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-row-select{width:16px!important;height:16px!important;min-width:16px!important;accent-color:var(--ds-brand);cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-badge{display:inline-flex;align-items:center;gap:5px;max-width:140px;height:26px;padding:0 8px;border:1px solid color-mix(in srgb,var(--ds-brand) 18%,var(--ds-border));border-radius:8px;background:var(--ds-brand-soft);color:var(--ds-brand);white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-badge i{font-style:normal;line-height:1}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-badge b{overflow:hidden;text-overflow:ellipsis;font-size:10.5px;font-weight:720}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-badge.is-empty{background:var(--ds-surface-3);border-color:var(--ds-border);color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row:has(.channel-row-select:checked) td{background:color-mix(in srgb,var(--ds-brand-soft) 68%,var(--ds-surface-1))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-panel{width:min(760px,calc(100vw - 28px))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-{padding:18px 20px;overflow:auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:10px;align-items:end;padding:14px;border:1px solid var(--ds-border);border-radius:12px;background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create label{display:grid;gap:6px;color:var(--ds-text-2);font-size:11px;font-weight:650}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create input{height:40px;border:1px solid var(--ds-border);border-radius:10px;background:var(--ds-surface-1);color:var(--ds-text-1);padding:0 11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-list{display:grid;gap:9px;margin-top:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{display:grid;grid-template-columns:82px minmax(0,1fr) 90px auto auto;gap:9px;align-items:center;padding:10px;border:1px solid var(--ds-border);border-radius:11px;background:var(--ds-surface-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item input{height:38px;border:1px solid var(--ds-border);border-radius:9px;background:var(--ds-surface-2);color:var(--ds-text-1);padding:0 10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-icon{text-align:center;font-size:17px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{color:var(--ds-text-3);font-size:11px;text-align:center;white-space:nowrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-empty{padding:24px;text-align:center;color:var(--ds-text-3);border:1px dashed var(--ds-border);border-radius:11px}
@media(max-width:900px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar{align-items:flex-start;flex-direction:column}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-filters{width:100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk{align-items:flex-start;flex-direction:column}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk-actions{width:100%;flex-wrap:wrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk select{flex:1;min-width:200px}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create{grid-template-columns:80px minmax(0,1fr)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create .btn{grid-column:1/-1;width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:68px minmax(0,1fr)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{grid-column:1/-1;text-align:left}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item .btn{width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-badge b{display:none}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-badge{padding:0 7px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk-actions{display:grid;grid-template-columns:1fr 1fr}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk select{grid-column:1/-1;width:100%}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0 13px;border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar-main{display:flex;align-items:center;gap:12px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-select-label{display:flex;align-items:center;gap:8px;color:var(--ds-text-3);font-size:11px;font-weight:650;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-select-label select{height:36px;min-width:210px;padding:0 34px 0 11px;border:1px solid var(--ds-border);border-radius:10px;background:var(--ds-surface-1);color:var(--ds-text-1);font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar-note{color:var(--ds-text-3);font-size:11px;line-height:1.5}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-group-row{background:transparent!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-group-row>td{height:auto!important;padding:14px 12px 8px!important;border:0!important;background:transparent!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider{display:flex;align-items:center;gap:16px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title{display:inline-flex;align-items:center;gap:9px;min-height:38px;padding:0 14px 0 10px;border:1px solid var(--ds-border);border-radius:11px;background:var(--ds-surface-1);box-shadow:var(--ds-shadow-1);color:var(--ds-text-1);white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title strong{font-size:13px;font-weight:760;letter-spacing:.01em}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title small{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--ds-surface-3);color:var(--ds-text-3);font-size:10px;font-variant-numeric:tabular-nums}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-line{height:1px;flex:1;min-width:36px;background:linear-gradient(90deg,var(--ds-border),transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-group-icon,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-preview{display:grid;place-items:center;position:relative;flex:0 0 auto;width:25px;height:25px;border-radius:7px;background:var(--ds-surface-3);color:var(--ds-text-2);font-size:15px;line-height:1;overflow:hidden}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-group-icon img,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-preview img{display:block;width:100%;height:100%;object-fit:cover}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-group-icon.is-image i,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-preview.is-image i{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-editor{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-editor.compact{grid-template-columns:32px minmax(0,1fr)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-preview{width:32px;height:32px;border:1px solid var(--ds-border);background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create{grid-template-columns:minmax(260px,1.15fr) minmax(220px,1fr) auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:minmax(260px,1.25fr) minmax(190px,1fr) 90px auto auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-icon{min-width:0;width:100%;font-family:var(--ds-font-mono);font-size:11px;text-align:left}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-name{min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-badge{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-theme="dark"] .channel-category-divider-title{background:var(--ds-surface-2);border-color:var(--ds-border-strong)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-theme="dark"] .channel-category-divider-line{background:linear-gradient(90deg,var(--ds-border-strong),transparent)}

@media (max-width:1100px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar-main{align-items:flex-start;flex-direction:column;gap:7px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar-note{white-space:normal}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create .btn{grid-column:1/-1;width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{grid-column:1/-1;text-align:left}
}
@media (max-width:720px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar{align-items:stretch;flex-direction:column}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-select-label{align-items:stretch;flex-direction:column}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-select-label select{width:100%;min-width:0}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider{gap:10px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title{max-width:calc(100vw - 84px);padding-right:10px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title strong{overflow:hidden;text-overflow:ellipsis}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title small{display:none}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:1fr}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item .btn{width:100%}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{overflow:visible!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-visual-select{position:relative;display:block;min-width:210px;z-index:6}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-visual-select>select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;opacity:0!important;pointer-events:none!important;margin:0!important;padding:0!important;border:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:5px 10px;border:1px solid var(--ds-border);border-radius:10px;background:var(--ds-surface-1);color:var(--ds-text-1);cursor:pointer;text-align:left;transition:border-color var(--ds-fast),box-shadow var(--ds-fast),background var(--ds-fast)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-trigger:hover{border-color:var(--ds-border-strong);background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-trigger:focus-visible{outline:none;border-color:var(--ds-brand);box-shadow:0 0 0 3px var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-current,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option-view{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option-icon{display:grid;place-items:center;position:relative;flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:var(--ds-surface-3);color:var(--ds-text-2);font-size:15px;line-height:1;overflow:hidden}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option-icon img{display:block;width:100%;height:100%;object-fit:cover}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option-icon.is-image i{display:none;place-items:center;width:100%;height:100%;font-style:normal}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option-copy{display:grid;gap:1px;min-width:0;line-height:1.2}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ds-text-1);font-size:12px;font-weight:720}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option-copy small{display:block;color:var(--ds-text-3);font-size:10px;font-weight:560}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-arrow{flex:0 0 auto;color:var(--ds-text-3);font-size:16px;line-height:1;transition:transform var(--ds-fast)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-visual-select.is-open .category-select-arrow{transform:rotate(180deg)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-menu{position:absolute;z-index:80;top:calc(100% + 6px);left:0;right:0;max-height:320px;overflow:auto;padding:6px;border:1px solid var(--ds-border-strong);border-radius:12px;background:var(--ds-surface-floating);box-shadow:var(--ds-shadow-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-menu[hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;padding:6px 8px;border:0;border-radius:9px;background:transparent;color:var(--ds-text-1);cursor:pointer;text-align:left;transition:background var(--ds-fast),color var(--ds-fast)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option:focus-visible{outline:none;background:var(--ds-surface-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option.is-selected{background:var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-check{flex:0 0 auto;color:var(--ds-brand);font-size:13px;font-weight:800;opacity:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option.is-selected .category-select-check{opacity:1}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-visual-select-bulk{min-width:220px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-visual-select-editor{width:100%;margin-top:7px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-visual-select-editor .category-select-trigger{min-height:44px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-select-label .category-visual-select{min-width:230px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk-actions .category-visual-select{flex:0 0 230px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-theme="dark"] .category-select-trigger{background:var(--ds-surface-2);border-color:var(--ds-border-strong)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-theme="dark"] .category-select-menu{background:var(--ds-surface-floating);border-color:var(--ds-border-strong)}
@media(max-width:900px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-select-label .category-visual-select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk-actions .category-visual-select{width:100%;min-width:0;flex:1 1 100%}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-toolbar-secondary-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings{position:relative}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-trigger{display:inline-flex!important;align-items:center!important;gap:7px!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-trigger small{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--ds-brand-soft);color:var(--ds-brand);font-size:10px;font-weight:760;font-variant-numeric:tabular-nums}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:90;width:220px;padding:8px;border:1px solid var(--ds-border-strong);border-radius:12px;background:var(--ds-surface-floating);box-shadow:var(--ds-shadow-modal)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 7px 8px;border-bottom:1px solid var(--ds-divider);margin-bottom:4px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-head strong{color:var(--ds-text-1);font-size:12px;font-weight:760}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-head button{padding:3px 5px;border:0;background:transparent;color:var(--ds-brand);font-size:10.5px;font-weight:680;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-menu>label{display:flex;align-items:center;gap:9px;min-height:35px;padding:6px 8px;border-radius:8px;color:var(--ds-text-2);font-size:12px;cursor:pointer;user-select:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-menu>label:hover{background:var(--ds-surface-3);color:var(--ds-text-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-menu input{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;accent-color:var(--ds-brand);cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table [data-channel-column][hidden],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table [data-channel-subcolumn][hidden],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table [data-channel-route-part][hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table.has-hidden-columns{table-layout:auto!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table.has-hidden-columns .channel-main-cell{width:auto!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table.hide-channel-address .channel-one-line strong{max-width:360px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table [data-channel-column="route"] .route-quick-editor{width:max-content}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table [data-channel-column="route"] .route-quick-editor>label:only-of-type{margin-right:0}

@media(max-width:900px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-toolbar-secondary-actions{width:100%;justify-content:flex-end}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-menu{right:0;left:auto}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-toolbar-secondary-actions{justify-content:stretch}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-toolbar-secondary-actions>.btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings{flex:1}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-trigger{width:100%;justify-content:center}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-menu{position:fixed;left:10px;right:10px;top:auto;bottom:10px;width:auto;max-height:70vh;overflow:auto}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-trigger small[hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head-actions .btn:disabled{opacity:.48;cursor:not-allowed;transform:none!important}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-footer-actions{grid-template-columns:1fr 1fr!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-footer-actions .btn.primary{grid-column:auto!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head{flex-direction:column!important;align-items:stretch!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head-actions{justify-content:flex-start!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model-head-actions [data-channel-test-selected-count]{margin-left:auto}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap{
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
}
@media (max-width:900px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
  }
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --ds-bg:#f2f4f7;
  --ds-bg-subtle:#eef1f5;
  --ds-sidebar:#f7f8fa;
  --ds-surface-1:#ffffff;
  --ds-surface-2:#f7f8fa;
  --ds-surface-3:#eef1f5;
  --ds-surface-floating:#ffffff;
  --ds-text-1:#18202b;
  --ds-text-2:#3f4a59;
  --ds-text-3:#697586;
  --ds-text-disabled:#a1a9b5;
  --ds-border:#d9dee6;
  --ds-border-strong:#c9d0da;
  --ds-divider:#e6e9ee;
  --ds-brand:#3d5fc4;
  --ds-brand-hover:#3353b2;
  --ds-brand-pressed:#29469b;
  --ds-brand-soft:#edf1ff;
  --ds-success:#287a55;
  --ds-success-soft:#eaf5ef;
  --ds-warning:#94651d;
  --ds-warning-soft:#fff4df;
  --ds-danger:#c43f4c;
  --ds-danger-soft:#fdecef;
  --ds-info:#3567a9;
  --ds-info-soft:#edf3fb;
  --ds-focus:rgba(61,95,196,.18);
  --ds-shadow-1:0 1px 2px rgba(16,24,40,.025);
  --ds-shadow-2:0 12px 34px rgba(18,28,45,.10);
  --ds-shadow-modal:0 24px 72px rgba(12,20,33,.20);
  --ds-radius-xs:3px;
  --ds-radius-sm:5px;
  --ds-radius-md:7px;
  --ds-radius-lg:9px;
  --ds-radius-xl:12px;
  --ds-control-h:36px;
  --ds-control-h-lg:40px;
  --ds-sidebar-w:198px;
  --ds-content-max:none;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --ds-bg:#11161d;
  --ds-bg-subtle:#0e1319;
  --ds-sidebar:#0f151c;
  --ds-surface-1:#171e27;
  --ds-surface-2:#1b232d;
  --ds-surface-3:#222c37;
  --ds-surface-floating:#202934;
  --ds-text-1:#e6ebf2;
  --ds-text-2:#b9c2ce;
  --ds-text-3:#8995a5;
  --ds-text-disabled:#5f6a78;
  --ds-border:#2b3542;
  --ds-border-strong:#3a4655;
  --ds-divider:#252f3b;
  --ds-brand:#7c98f2;
  --ds-brand-hover:#91a9f8;
  --ds-brand-pressed:#6887e8;
  --ds-brand-soft:#202d52;
  --ds-success:#70c99c;
  --ds-success-soft:#19352b;
  --ds-warning:#dfb867;
  --ds-warning-soft:#3b2f1d;
  --ds-danger:#f18b96;
  --ds-danger-soft:#3a2228;
  --ds-info:#8bb5e8;
  --ds-info-soft:#1d3047;
  --ds-focus:rgba(124,152,242,.22);
  --ds-shadow-1:0 1px 2px rgba(0,0,0,.2);
  --ds-shadow-2:0 16px 42px rgba(0,0,0,.32);
  --ds-shadow-modal:0 28px 84px rgba(0,0,0,.52);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){background:var(--ds-bg)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){background:var(--ds-bg)!important;font-size:14px!important;line-height:1.45!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{
  border-radius:var(--ds-radius-lg)!important;
  box-shadow:var(--ds-shadow-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:15px!important;margin-bottom:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card+.card{margin-top:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card:hover{border-color:var(--ds-border)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head{gap:12px!important;margin-bottom:11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head h2{font-size:15px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head p{font-size:11.5px!important;margin-top:3px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-count,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-count{border-radius:5px!important;padding:4px 7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{
  padding:0!important;
  overflow:hidden!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.card-head,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-list-card>.card-head{
  margin:0!important;padding:13px 14px!important;border-bottom:1px solid var(--ds-divider)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.channel-category-toolbar,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.channel-category-bulk{
  margin-left:14px!important;margin-right:14px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.channel-table-wrap,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-list-card>.model-table-wrap{
  margin:0!important;border:0!important;border-top:1px solid var(--ds-divider)!important;border-radius:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .table-wrap,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table-wrap{border-radius:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) table{font-size:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th{padding:8px 10px!important;font-size:10.5px!important;height:36px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td{height:47px!important;padding:8px 10px!important;font-size:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td strong{font-size:13px!important;font-weight:680!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td small{margin-top:2px!important;font-size:10.5px!important;line-height:1.35!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status{min-height:23px!important;padding:3px 7px!important;border-radius:5px!important;font-size:10.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle{min-width:70px!important;min-height:28px!important;border-radius:6px!important;font-size:10.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-id-badge{border-radius:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle{width:26px!important;height:27px!important;flex-basis:26px!important;border-radius:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line{gap:7px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-base-url{font-size:11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-model-count{min-width:31px!important;height:28px!important;border-radius:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button{padding:4px 6px!important;border-radius:4px!important;font-size:11.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions button{border-radius:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn{min-height:36px!important;padding:0 12px!important;font-size:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.compact,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.tiny{min-height:30px!important;padding:0 9px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select{border-radius:5px!important;height:36px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form{gap:12px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label{font-size:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row input{
  min-height:40px!important;border-radius:5px!important;padding:8px 10px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid{gap:9px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section{gap:11px!important;padding:12px!important;border-radius:7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section-head{padding-bottom:8px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section-head h3{font-size:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line{padding:10px 11px!important;border-radius:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects{border-radius:7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-trigger,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-menu,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-menu,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option{border-radius:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option-icon{border-radius:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-menu{padding:4px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk{border-radius:6px!important;padding:8px 10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title{min-height:34px!important;padding:0 10px 0 7px!important;border-radius:6px!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-group-icon,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-preview{width:23px!important;height:23px!important;border-radius:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title small{height:20px!important;border-radius:4px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-group-row>td{padding:10px 10px 6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar{padding:8px 0 10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout{grid-template-columns:minmax(0,1fr) 356px!important;gap:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr) 360px!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-segment.is-chat,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-tooltip span i.is-chat{background:#6ea4ef!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-segment.is-image,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-tooltip span i.is-image{background:#ad88e7!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{border-radius:10px!important;padding:18px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-close{width:34px!important;height:34px!important;border-radius:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary{border-radius:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-model{padding:9px 10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-note{border-radius:5px!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){background:var(--ds-bg)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar nav a.active{background:var(--ds-brand-soft)!important;color:var(--ds-brand)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-copy-button,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary{color:#f7f9ff!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .table-wrap,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table-wrap{background:var(--ds-surface-1)!important}

@media(max-width:1360px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr) 330px!important}
}
@media(max-width:1180px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:12px!important;border-radius:7px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{padding:0!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --ds-radius-xs:5px;
  --ds-radius-sm:7px;
  --ds-radius-md:10px;
  --ds-radius-lg:12px;
  --ds-radius-xl:15px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{
  grid-template-columns:minmax(0,1fr) minmax(420px,450px)!important;
  gap:14px!important;
  align-items:start!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel].form-card{
  padding:18px!important;
  border-radius:12px!important;
  background:var(--ds-surface-1)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.025),0 10px 28px rgba(16,24,40,.035)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>.card-head{
  margin-bottom:4px!important;
  padding:0 1px 13px!important;
  border-bottom:1px solid var(--ds-divider)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>.card-head h2{font-size:18px!important;letter-spacing:-.2px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>.card-head p{max-width:38em;font-size:12px!important;line-height:1.55!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor]{gap:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.form-section{
  display:grid!important;
  gap:12px!important;
  margin:0!important;
  padding:18px 1px 16px!important;
  border:0!important;
  border-bottom:1px solid var(--ds-divider)!important;
  border-radius:0!important;
  background:transparent!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.form-section:first-of-type{padding-top:16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.form-section-head{
  position:relative;
  gap:16px!important;
  padding:0!important;
  border:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.form-section-head>div:first-child{min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.form-section-head h3{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px!important;
  letter-spacing:-.05px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.form-section-head h3:before{
  content:"";
  width:3px;
  height:15px;
  border-radius:3px;
  background:color-mix(in srgb,var(--ds-brand) 72%,var(--ds-text-2));
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.form-section-head p{margin:5px 0 0!important;font-size:11.5px!important;line-height:1.55!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.form-section-{gap:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .stack-form label,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] label{line-height:1.4}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] textarea{
  min-height:42px!important;
  border-radius:8px!important;
  padding:9px 12px!important;
  background:var(--ds-surface-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] input::placeholder,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] textarea::placeholder{color:var(--ds-text-disabled)!important;font-weight:500!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-name-field input{
  width:100%!important;
  min-width:0!important;
  font-size:14px!important;
  font-weight:650!important;
  letter-spacing:.01em;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-basic-head{align-items:flex-end!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field{
  flex:0 0 180px;
  width:180px;
  margin:0!important;
  font-size:10.5px!important;
  color:var(--ds-text-3)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field>span{display:block;margin:0 0 5px;font-weight:700;color:var(--ds-text-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field .category-visual-select{width:100%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field .category-select-trigger{
  width:100%;
  min-height:38px!important;
  border-radius:8px!important;
  background:var(--ds-surface-2)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field .category-select-menu{right:0;left:auto;min-width:240px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .inline-input-action{gap:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .inline-input-action input{min-width:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .inline-input-action .btn{flex:0 0 auto;min-height:42px!important;border-radius:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-redirects,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line{
  margin-top:16px!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--ds-surface-2) 74%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-redirects{padding:14px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line{margin-bottom:16px!important;padding:12px 13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.btn.primary[type="submit"]{
  min-height:42px!important;
  border-radius:8px!important;
  box-shadow:0 5px 14px color-mix(in srgb,var(--ds-brand) 15%,transparent)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel].form-card{
  box-shadow:0 1px 2px rgba(0,0,0,.18),0 12px 30px rgba(0,0,0,.12)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field .category-select-trigger{
  background:var(--ds-surface-2)!important;
}
@media(max-width:1500px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr) minmax(390px,410px)!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field{flex-basis:164px;width:164px}
}
@media(max-width:1240px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:1fr!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel].form-card{position:static!important}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel].form-card{padding:14px!important;border-radius:10px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-basic-head{align-items:flex-start!important;flex-direction:column!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field{width:100%;flex-basis:auto}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-head-field .category-select-menu{left:0;right:auto;min-width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .form-grid.two{grid-template-columns:1fr!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings{
  margin:16px 0 16px!important;
  border:1px solid var(--ds-border)!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--ds-surface-2) 66%,var(--ds-surface-1))!important;
  overflow:hidden;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:54px;
  padding:12px 14px;
  cursor:pointer;
  list-style:none;
  user-select:none;
  color:var(--ds-text-1);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary::-webkit-details-marker{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary:hover{background:color-mix(in srgb,var(--ds-brand) 5%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary:focus-visible{outline:2px solid var(--ds-focus);outline-offset:-2px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary span{display:grid;gap:3px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary strong{font-size:13px;font-weight:750;line-height:1.35}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary small{font-size:11px;font-weight:450;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary i{font-style:normal;color:var(--ds-text-3);transition:transform .16s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings[open]>summary{border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings[open]>summary i{transform:rotate(180deg)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>.form-section{
  display:grid!important;
  gap:12px!important;
  margin:0!important;
  padding:16px 14px!important;
  border:0!important;
  border-bottom:1px solid var(--ds-divider)!important;
  border-radius:0!important;
  background:transparent!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>.form-section:last-child{border-bottom:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings .form-section-head{padding:0!important;border:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings .form-section-head h3{font-size:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings .form-section-head p{margin:4px 0 0!important;font-size:11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings .form-section-{display:grid;gap:12px}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings{border-radius:8px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary{min-height:50px;padding:11px 12px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>.form-section{padding:14px 12px!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .smart-route-note{
  display:flex;align-items:flex-start;gap:10px;padding:10px 12px;
  border:1px solid color-mix(in srgb,var(--ds-brand) 24%,var(--ds-border));
  border-radius:7px;background:color-mix(in srgb,var(--ds-brand) 6%,var(--ds-surface-2));
  color:var(--ds-text-2);font-size:11px;line-height:1.55;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .smart-route-note strong{flex:0 0 auto;color:var(--ds-brand);font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-decision-inline{display:flex;align-items:center;gap:5px;min-width:0;margin-top:5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-strategy-badge,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-explore-badge{
  display:inline-flex;align-items:center;justify-content:center;height:20px;padding:0 6px;
  border:1px solid var(--ds-border);border-radius:5px;background:var(--ds-surface-3);
  color:var(--ds-text-2);font-size:9.5px;font-weight:760;white-space:nowrap;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-strategy-badge.smart{border-color:color-mix(in srgb,var(--ds-brand) 35%,var(--ds-border));background:var(--ds-brand-soft);color:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-strategy-badge.fixed{color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-explore-badge{border-color:color-mix(in srgb,var(--ds-warning) 34%,var(--ds-border));background:color-mix(in srgb,var(--ds-warning) 11%,var(--ds-surface-2));color:var(--ds-warning)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-decision-inline small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-reason-text{display:block;max-width:100%;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-route-reason{display:flex!important;align-items:flex-start;gap:6px;margin:5px 0 0!important;color:var(--ds-text-2)!important;line-height:1.45!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .retry-route-reason .route-explore-badge{flex:0 0 auto;margin-top:1px}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .smart-route-note{background:color-mix(in srgb,var(--ds-brand) 9%,var(--ds-surface-2))}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-hero .card-head{margin-bottom:14px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-side>.card{padding:16px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.three,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.four{grid-template-columns:1fr}}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-side>.card{padding:16px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:5px;font-size:10px;font-weight:750;white-space:nowrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status-pill.success{color:var(--ds-success);background:var(--ds-success-soft)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status-pill.muted{color:var(--ds-text-3);background:var(--ds-surface-3)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head.compact{margin-bottom:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --ds-bg:#f5f6f8;
  --ds-bg-subtle:#f0f2f5;
  --ds-sidebar:#f8f9fb;
  --ds-surface-1:#ffffff;
  --ds-surface-2:#f8f9fb;
  --ds-surface-3:#f1f3f6;
  --ds-surface-floating:#ffffff;
  --ds-text-1:#171c25;
  --ds-text-2:#465161;
  --ds-text-3:#778291;
  --ds-border:#dfe3e9;
  --ds-border-strong:#cdd3dc;
  --ds-divider:#e9ecf0;
  --ds-brand:#5267d7;
  --ds-brand-hover:#455bc9;
  --ds-brand-pressed:#394db2;
  --ds-brand-soft:#eef1ff;
  --ds-focus:rgba(82,103,215,.18);
  --ds-shadow-1:0 1px 2px rgba(20,29,43,.025),0 7px 22px rgba(20,29,43,.035);
  --ds-shadow-2:0 18px 45px rgba(20,29,43,.12);
  --ds-shadow-modal:0 30px 88px rgba(17,24,39,.22);
  --ds-radius-xs:5px;
  --ds-radius-sm:8px;
  --ds-radius-md:10px;
  --ds-radius-lg:12px;
  --ds-radius-xl:15px;
  --ds-control-h:39px;
  --ds-control-h-lg:43px;
  --ds-sidebar-w:204px;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --ds-bg:#10141a;
  --ds-bg-subtle:#0d1117;
  --ds-sidebar:#11161d;
  --ds-surface-1:#171c24;
  --ds-surface-2:#1b212a;
  --ds-surface-3:#222a35;
  --ds-surface-floating:#202731;
  --ds-text-1:#e8ebf1;
  --ds-text-2:#b8c0cc;
  --ds-text-3:#8994a2;
  --ds-border:#2b333e;
  --ds-border-strong:#3b4654;
  --ds-divider:#252d37;
  --ds-brand:#8ca1ff;
  --ds-brand-hover:#a0b1ff;
  --ds-brand-pressed:#748bea;
  --ds-brand-soft:#222d55;
  --ds-focus:rgba(140,161,255,.22);
  --ds-shadow-1:0 1px 2px rgba(0,0,0,.24),0 10px 28px rgba(0,0,0,.10);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){font-size:14px!important;line-height:1.5!important;letter-spacing:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{border-radius:var(--ds-radius-lg)!important;border-color:var(--ds-border)!important;box-shadow:var(--ds-shadow-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:17px!important;margin-bottom:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head{margin-bottom:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head h2{font-size:16px!important;line-height:1.25!important;letter-spacing:-.18px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head p{font-size:11.5px!important;line-height:1.58!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn{min-height:38px!important;border-radius:8px!important;padding:0 13px!important;font-weight:680!important;letter-spacing:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary{box-shadow:0 1px 2px rgba(39,55,130,.12)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost{background:var(--ds-surface-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost:hover{background:var(--ds-surface-2)!important;border-color:var(--ds-border-strong)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select{
  min-height:42px!important;border-radius:9px!important;border-color:var(--ds-border)!important;background:var(--ds-surface-1)!important;
  padding:9px 11px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-search-box input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select{
  background:var(--ds-surface-2)!important;box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:hover{border-color:var(--ds-border-strong)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:focus{border-color:var(--ds-brand)!important;box-shadow:0 0 0 3px var(--ds-focus)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label{font-size:12px!important;font-weight:650!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label>small{font-weight:450!important;color:var(--ds-text-3)!important;line-height:1.55!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid{gap:11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section{padding:14px!important;border-radius:10px!important;background:color-mix(in srgb,var(--ds-surface-2) 72%,var(--ds-surface-1))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line{min-height:58px!important;padding:11px 12px!important;border-radius:9px!important;background:var(--ds-surface-2)!important;border-color:var(--ds-border)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line:hover{border-color:var(--ds-border-strong)!important;background:color-mix(in srgb,var(--ds-brand) 2.5%,var(--ds-surface-2))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line span strong{color:var(--ds-text-1)!important;font-size:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line span small{margin-top:3px!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{border-radius:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.card-head,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-list-card>.card-head{padding:14px 16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th{height:38px!important;padding:9px 11px!important;background:color-mix(in srgb,var(--ds-surface-2) 86%,var(--ds-surface-1))!important;font-size:10.5px!important;letter-spacing:.02em!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td{height:50px!important;padding:9px 11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr:hover td{background:color-mix(in srgb,var(--ds-brand) 2.6%,var(--ds-surface-1))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-active td,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table tr[data-model-row].is-active td{background:color-mix(in srgb,var(--ds-brand) 7%,var(--ds-surface-1))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status-pill,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-strategy-badge,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-explore-badge{border-radius:7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle{border-radius:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button{border-radius:7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-drag-handle,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-model-count,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-id-badge{border-radius:7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout{gap:14px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr) minmax(390px,420px)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects{border-radius:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-trigger,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-menu,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-column-settings-menu,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option{border-radius:9px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-bulk{border-radius:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider-title{border-radius:9px!important;min-height:36px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{border-radius:14px!important;border-color:var(--ds-border-strong)!important;box-shadow:var(--ds-shadow-modal)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-head{padding-bottom:14px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-actions{background:color-mix(in srgb,var(--ds-surface-1) 94%,transparent)!important;border-top-color:var(--ds-divider)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-switch-grid .switch-line{margin:0!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .office-rule-panel .switch-line{min-height:54px!important;margin:0!important;background:var(--ds-surface-1)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-savebar .btn{min-width:112px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-side>.card{padding:16px!important;border-radius:12px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-environment-card .card-head,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-test-card .card-head{margin-bottom:10px!important}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-hero{background:linear-gradient(135deg,var(--ds-surface-1),color-mix(in srgb,var(--ds-brand) 5%,var(--ds-surface-1)))!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-overview>div{background:color-mix(in srgb,var(--ds-surface-2) 82%,transparent)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-savebar{background:color-mix(in srgb,var(--ds-surface-1) 90%,transparent)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-drop-field{background:linear-gradient(180deg,var(--ds-surface-2),color-mix(in srgb,var(--ds-brand) 3%,var(--ds-surface-2)))!important}
@media(max-width:1180px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr) 380px!important}
}
@media(max-width:760px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-savebar .btn{width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.three,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.four{grid-template-columns:1fr 1fr!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .office-rule-panel .form-grid.four{grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.three,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.four,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .office-rule-panel .form-grid.four{grid-template-columns:1fr!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --ds-bg:#f6f7fb;
  --ds-bg-subtle:#f1f3f8;
  --ds-sidebar:#ffffff;
  --ds-surface-1:#ffffff;
  --ds-surface-2:#f8f9fc;
  --ds-surface-3:#f1f3f8;
  --ds-surface-floating:#ffffff;
  --ds-text-1:#161b2b;
  --ds-text-2:#4e586d;
  --ds-text-3:#8992a5;
  --ds-border:#e3e7ef;
  --ds-border-strong:#d5dbe6;
  --ds-divider:#edf0f5;
  --ds-brand:#6f4bf2;
  --ds-brand-hover:#6240e4;
  --ds-brand-pressed:#5635d4;
  --ds-brand-soft:#f1edff;
  --ds-brand-soft-2:#f7f4ff;
  --ds-focus:rgba(111,75,242,.17);
  --ds-success:#17a66a;
  --ds-success-soft:#eaf8f1;
  --ds-warning:#d28a16;
  --ds-warning-soft:#fff6e6;
  --ds-danger:#e04c57;
  --ds-danger-soft:#fff0f2;
  --ds-info:#3677e8;
  --ds-info-soft:#edf4ff;
  --ds-shadow-1:0 1px 2px rgba(24,31,51,.025),0 10px 30px rgba(24,31,51,.045);
  --ds-shadow-2:0 20px 60px rgba(28,34,58,.12);
  --ds-radius-xs:7px;
  --ds-radius-sm:10px;
  --ds-radius-md:13px;
  --ds-radius-lg:16px;
  --ds-radius-xl:20px;
  --ds-control-h:42px;
  --ds-control-h-lg:46px;
  --ds-sidebar-w:220px;
  --ds-content-max:1800px;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating){
  --ds-bg:#0f1320;
  --ds-bg-subtle:#0c101b;
  --ds-sidebar:#121725;
  --ds-surface-1:#171d2b;
  --ds-surface-2:#1c2333;
  --ds-surface-3:#242d40;
  --ds-surface-floating:#1c2333;
  --ds-text-1:#eef0f7;
  --ds-text-2:#bdc5d5;
  --ds-text-3:#8792a7;
  --ds-border:#2b3447;
  --ds-border-strong:#3a465c;
  --ds-divider:#252e40;
  --ds-brand:#9d87ff;
  --ds-brand-hover:#ae9aff;
  --ds-brand-pressed:#8b73ef;
  --ds-brand-soft:#2a2351;
  --ds-brand-soft-2:#211c3c;
  --ds-focus:rgba(157,135,255,.22);
  --ds-success:#5ed59b;
  --ds-success-soft:#18372c;
  --ds-warning:#efbd67;
  --ds-warning-soft:#3a2f1e;
  --ds-danger:#ff8d98;
  --ds-danger-soft:#3a222a;
  --ds-info:#85b4ff;
  --ds-info-soft:#1d304f;
  --ds-shadow-1:0 1px 2px rgba(0,0,0,.28),0 14px 36px rgba(0,0,0,.16);
  --ds-shadow-2:0 24px 70px rgba(0,0,0,.42);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){background:var(--ds-bg)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){background:linear-gradient(180deg,var(--ds-bg-subtle) 0,var(--ds-bg) 260px)!important;color:var(--ds-text-1)!important;font-size:14px!important}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{background:var(--ds-surface-1)!important;border:1px solid var(--ds-border)!important;box-shadow:var(--ds-shadow-1)!important;border-radius:var(--ds-radius-lg)!important;backdrop-filter:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:20px!important;margin-bottom:16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card:hover{border-color:var(--ds-border-strong)!important;box-shadow:var(--ds-shadow-1)!important;transform:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head{margin-bottom:16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head h2{font-size:16px!important;font-weight:780!important;letter-spacing:-.2px!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head p{margin-top:5px!important;font-size:11px!important;line-height:1.55!important;color:var(--ds-text-3)!important}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn{min-height:40px!important;padding:0 15px!important;border-radius:9px!important;font-size:12px!important;font-weight:720!important;line-height:1!important;gap:7px!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:hover{transform:translateY(-1px)!important;box-shadow:0 8px 20px rgba(29,35,60,.07)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:active{transform:translateY(0) scale(.985)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary{background:linear-gradient(135deg,#7655f6,#6845ed)!important;border-color:#6845ed!important;color:#fff!important;box-shadow:0 8px 18px rgba(111,75,242,.18)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary:hover{background:linear-gradient(135deg,#8060fb,#6240e4)!important;box-shadow:0 10px 24px rgba(111,75,242,.24)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost{background:var(--ds-surface-1)!important;border-color:var(--ds-border)!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost:hover{background:var(--ds-surface-2)!important;border-color:var(--ds-border-strong)!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.full{width:100%!important}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form{gap:16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label{font-size:12px!important;font-weight:680!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label>small,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form small{display:block;color:var(--ds-text-3)!important;font-size:10.5px!important;font-weight:450!important;line-height:1.55!important;margin-top:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-toolbar select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row input{
  width:100%!important;min-height:42px!important;margin-top:7px!important;padding:9px 12px!important;border:1px solid var(--ds-border)!important;border-radius:9px!important;background:var(--ds-surface-1)!important;color:var(--ds-text-1)!important;box-shadow:none!important;outline:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select:hover{border-color:var(--ds-border-strong)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form input:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form select:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form textarea:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar input:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar select:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-search input:focus{border-color:var(--ds-brand)!important;box-shadow:0 0 0 3px var(--ds-focus)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input::placeholder,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea::placeholder{color:color-mix(in srgb,var(--ds-text-3) 75%,transparent)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid{gap:12px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:64px!important;padding:12px 13px!important;border:1px solid var(--ds-border)!important;border-radius:10px!important;background:var(--ds-surface-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line:hover{background:var(--ds-brand-soft-2)!important;border-color:color-mix(in srgb,var(--ds-brand) 22%,var(--ds-border))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line span{min-width:0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line span strong{display:block;font-size:12px!important;color:var(--ds-text-1)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line span small{margin-top:3px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line>input[type="checkbox"]{appearance:none!important;flex:0 0 42px!important;width:42px!important;height:24px!important;min-height:24px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:#cfd5df!important;box-shadow:inset 0 0 0 1px rgba(22,27,43,.04)!important;cursor:pointer!important;position:relative!important;transition:background .18s ease!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line>input[type="checkbox"]:before{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(22,27,43,.18);transition:transform .18s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line>input[type="checkbox"]:checked{background:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line>input[type="checkbox"]:checked:before{transform:translateX(18px)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .switch-line>input[type="checkbox"]:focus-visible{box-shadow:0 0 0 3px var(--ds-focus)!important}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .table-wrap{border:1px solid var(--ds-border)!important;border-radius:11px!important;background:var(--ds-surface-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) table{background:var(--ds-surface-1)!important;font-size:11.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th{height:39px!important;padding:9px 11px!important;background:var(--ds-surface-2)!important;border-bottom-color:var(--ds-border)!important;color:var(--ds-text-3)!important;font-size:10px!important;font-weight:720!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) td{height:50px!important;padding:9px 11px!important;border-bottom-color:var(--ds-divider)!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr:hover td{background:var(--ds-brand-soft-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status{min-height:24px!important;padding:3px 8px!important;border-radius:999px!important;font-size:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.ok{background:var(--ds-success-soft)!important;color:var(--ds-success)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status.bad{background:var(--ds-danger-soft)!important;color:var(--ds-danger)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-main-form>.card{margin:0!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-security-column>.card{margin:0!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status-pill{border-radius:999px!important;padding:5px 9px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-side>.card{padding:17px!important;border-radius:16px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-test-card .btn{margin-top:2px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{border-radius:16px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .split-layout{gap:16px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>.form-card{border-radius:16px!important;padding:18px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.card-head,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-list-card>.card-head{padding:16px 18px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table-wrap,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-table-wrap{border-radius:11px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle{border-radius:999px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .actions button{min-height:31px!important;border-radius:8px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirects{border-radius:11px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar{gap:8px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar .btn{height:42px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal-panel{border-radius:17px!important}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .metric-icon,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .section-icon,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .overview-icon{background:var(--ds-brand-soft)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .request-metric-image .metric-icon{background:#1b3151!important;color:#82b6ff!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .request-metric-chat .metric-icon{background:#18382d!important;color:#67d7a2!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .request-metric-success .metric-icon{background:#3b301e!important;color:#f0bd63!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin-chip>span{background:#0d1120!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .logo-setting-box,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-mini-card,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-format-group{background:var(--ds-surface-2)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-savebar{background:color-mix(in srgb,var(--ds-surface-1) 90%,transparent)!important}
@media(max-width:1220px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-security-column .password-form .btn{grid-column:1/-1}
}
@media(max-width:760px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:15px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-savebar .btn{width:100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.two,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.three,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-grid.four,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .office-rule-panel .form-grid.four{grid-template-columns:1fr!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-panel{
  width:min(920px,calc(100vw - 28px))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-{
  min-width:0!important;
  overflow-x:hidden!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create{
  grid-template-columns:minmax(330px,1.25fr) minmax(220px,.9fr) 104px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{
  grid-template-columns:minmax(330px,1.35fr) minmax(190px,.85fr) 88px 64px 64px!important;
  min-width:0!important;
  overflow:hidden!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-editor,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-editor.compact{
  grid-template-columns:40px minmax(0,1fr)!important;
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-category-icon-preview],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-preview{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0!important;
  border:1px solid var(--ds-border)!important;
  border-radius:9px!important;
  background:var(--ds-surface-2)!important;
  overflow:hidden!important;
  contain:layout paint size!important;
  isolation:isolate!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-category-icon-preview]>.channel-category-preview,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-preview>.channel-category-preview{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:inherit!important;
  overflow:hidden!important;
  font-size:16px!important;
  line-height:1!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-category-icon-preview] img,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-preview img,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-preview img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-icon,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-name{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item .btn{
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
  padding:0 8px!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
@media(max-width:980px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-panel{width:min(760px,calc(100vw - 20px))!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create>.btn{grid-column:1/-1!important;width:100%!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) 78px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{grid-column:1/3!important;text-align:left!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item .btn{width:100%!important;min-width:0!important;max-width:none!important}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-panel{width:100%!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:1fr!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-editor,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-icon-editor.compact{grid-template-columns:40px minmax(0,1fr)!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{grid-column:auto!important}
}
@media(max-width:980px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-panel{width:min(760px,calc(100vw - 20px))!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create>.btn{grid-column:1/-1!important;width:100%!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:minmax(220px,1.25fr) minmax(140px,.8fr) 76px 58px 58px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{grid-column:auto!important;text-align:center!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item .btn{width:58px!important;min-width:58px!important;max-width:58px!important}
}
@media(max-width:760px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-panel{width:100%!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-create{grid-template-columns:1fr!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:minmax(0,1fr) 92px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item>.channel-category-icon-editor{grid-column:1/-1!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-name{grid-column:1!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{grid-column:2!important;text-align:right!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item .btn{width:100%!important;min-width:0!important;max-width:none!important}
}
@media(max-width:520px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item{grid-template-columns:1fr!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item>.channel-category-icon-editor,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-name,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{grid-column:auto!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-item-count{text-align:left!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table{min-width:1080px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:nth-child(6),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td:nth-child(6){width:210px!important;min-width:210px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line .channel-name-text{
  flex:0 1 340px!important;
  width:auto!important;
  max-width:340px!important;
  min-width:90px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-base-url{flex:1 1 180px!important;max-width:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions .channel-edit-button{
  background:var(--ds-surface-3)!important;
  border:1px solid var(--ds-border)!important;
  color:var(--ds-text-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions .channel-edit-button:hover{background:var(--ds-brand-soft)!important;color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-clear-all{min-height:30px!important;height:30px!important;padding:0 9px!important;font-size:11px!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-clear-all:not([disabled]){background:color-mix(in srgb,var(--ds-danger) 7%,var(--ds-surface-1))!important;border-color:color-mix(in srgb,var(--ds-danger) 28%,var(--ds-border))!important;color:var(--ds-danger)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-clear-all:not([disabled]):hover{background:color-mix(in srgb,var(--ds-danger) 12%,var(--ds-surface-1))!important}
@media(max-width:1180px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line .channel-name-text{max-width:260px!important;flex-basis:260px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table{min-width:1020px!important}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head{align-items:flex-start!important;flex-direction:column!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-head-actions{width:100%;justify-content:space-between}
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .request-metric-total>.metric-icon{background:var(--ds-brand-soft)!important;color:var(--ds-brand)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .request-metric-image>.metric-icon{background:#1b3151!important;color:#82b6ff!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .request-metric-chat>.metric-icon{background:#18382d!important;color:#67d7a2!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .request-metric-success>.metric-icon{background:#3b301e!important;color:#f0bd63!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:last-child,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td:last-child{
  box-shadow:none!important;
  border-left:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-footer-actions>.btn{
  width:100%!important;
  min-width:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar-main{flex-wrap:wrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-trigger{flex:0 0 auto;min-width:96px;justify-content:center;box-shadow:0 8px 18px color-mix(in srgb,var(--ds-brand) 10%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-trigger:disabled{box-shadow:none;opacity:.52;cursor:not-allowed}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-modal-panel{width:min(650px,calc(100vw - 28px))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-form{display:grid;gap:18px;padding:20px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid label{display:grid;gap:8px;color:var(--ds-text-2);font-size:12px;font-weight:720}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid select{width:100%;height:44px;padding:0 38px 0 13px;border:1px solid var(--ds-border);border-radius:11px;background:var(--ds-surface-1);color:var(--ds-text-1);font-size:13px;outline:none;transition:border-color var(--ds-fast),box-shadow var(--ds-fast),background var(--ds-fast)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid select:focus{border-color:color-mix(in srgb,var(--ds-brand) 62%,var(--ds-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--ds-brand) 13%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-empty{padding:18px;border:1px dashed var(--ds-border);border-radius:12px;background:var(--ds-surface-2);color:var(--ds-text-3);font-size:12px;line-height:1.7;text-align:center}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-form>.relay-modal-actions{margin:0;padding:16px 0 0;border-top:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-category-moving{opacity:.42;pointer-events:none;transition:opacity var(--ds-fast)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-advanced-section{margin:0!important;border:0!important;border-bottom:1px solid var(--ds-divider)!important;border-radius:0!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-advanced-field{display:grid;gap:8px;max-width:620px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-advanced-field>span{color:var(--ds-text-2);font-size:12px;font-weight:720}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-advanced-field>.category-visual-select{width:100%;max-width:520px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-advanced-field>.category-visual-select .category-select-trigger{width:100%;min-height:44px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-advanced-field>small{color:var(--ds-text-3);font-size:11px;line-height:1.65}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-basic-head{align-items:flex-start!important}
@media (max-width:760px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar-main{width:100%;align-items:stretch}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-select-label{flex:1 1 100%;width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-select-label .category-visual-select{flex:1;min-width:0}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-trigger{width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid{grid-template-columns:1fr}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table th:last-child,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td:last-child{
  position:static!important;
  right:auto!important;
  z-index:auto!important;
  box-shadow:none!important;
  border-left:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row>td{
  background:var(--ds-surface-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row:hover>td{
  background:color-mix(in srgb,var(--ds-brand) 2.6%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row.is-active>td{
  background:#f0faf5!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row>td{
  background:var(--ds-surface-1)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row:hover>td{
  background:color-mix(in srgb,var(--ds-brand) 7%,var(--ds-surface-1))!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row.is-active>td{
  background:#173027!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-cell,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions{
  height:58px!important;
  min-height:58px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  vertical-align:middle!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions{
  display:table-cell!important;
  text-align:right!important;
  background-clip:padding-box!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  width:100%!important;
  min-height:34px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>a,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>button,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-status-toggle{
  box-sizing:border-box!important;
  height:34px!important;
  min-height:34px!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>button+button{margin-left:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-tabs{display:flex;align-items:center;gap:7px;min-width:0;overflow-x:auto;padding:2px;scrollbar-width:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-tabs::-webkit-scrollbar{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-tabs button{flex:0 0 auto;height:40px;padding:0 18px;border:1px solid var(--ds-border);border-radius:10px;background:var(--ds-surface-1);color:var(--ds-text-2);font-weight:720;cursor:pointer;transition:.16s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-tabs button:hover{border-color:color-mix(in srgb,var(--ds-brand) 35%,var(--ds-border));color:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-tabs button.is-active{border-color:color-mix(in srgb,var(--ds-brand) 45%,transparent);background:var(--ds-brand-soft);color:var(--ds-brand);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ds-brand) 7%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-toolbar-actions .btn{height:42px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;color:var(--ds-text-3);font-size:12px;background:color-mix(in srgb,var(--ds-brand) 2%,var(--ds-surface-1));border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-hint strong{color:var(--ds-text-2);white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-groups{display:grid;gap:13px;padding:16px 20px 20px;background:var(--ds-surface-0)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-section{border:1px solid var(--ds-border);border-radius:14px;background:var(--ds-surface-1);overflow:hidden;box-shadow:0 5px 18px rgba(34,39,49,.035)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-section[hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-heading{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:57px;padding:10px 15px;border:0;background:var(--ds-surface-1);color:var(--ds-text-1);cursor:pointer;text-align:left}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-heading:hover{background:color-mix(in srgb,var(--ds-brand) 2.8%,var(--ds-surface-1))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-heading-main{display:flex;align-items:center;gap:11px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-heading-main>strong{font-size:16px;font-weight:780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-heading-main>i{display:grid;place-items:center;min-width:23px;height:23px;padding:0 7px;border-radius:999px;background:var(--ds-brand-soft);color:var(--ds-brand);font-size:11px;font-style:normal;font-weight:800}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-icon,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-preview{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:10px;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--ds-brand) 14%,var(--ds-surface-1)),color-mix(in srgb,var(--ds-brand) 5%,var(--ds-surface-1)));color:var(--ds-brand);border:1px solid color-mix(in srgb,var(--ds-brand) 12%,var(--ds-border));font-size:12px;font-weight:850;letter-spacing:-.02em}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon img,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-icon img,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-preview img{display:block;width:100%;height:100%;object-fit:cover}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon.is-image>b,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-icon.is-image>b,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-preview.is-image>b{display:none;width:100%;height:100%;place-items:center}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-chevron{font-size:19px;color:var(--ds-text-3);transition:transform .16s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-section.is-collapsed .model-category-chevron{transform:rotate(-90deg)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-{border-top:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table-wrap{overflow-x:auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table{width:100%;min-width:760px;border-collapse:collapse}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th{height:39px;padding:0 16px;background:color-mix(in srgb,var(--ds-brand) 1.7%,var(--ds-surface-2));color:var(--ds-text-3);font-size:11px;font-weight:760;text-align:left}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table td{height:47px;padding:7px 16px;border-top:1px solid var(--ds-divider);background:var(--ds-surface-1);vertical-align:middle}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table tbody tr:first-child td{border-top:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table tbody tr:hover td{background:color-mix(in srgb,var(--ds-brand) 2.5%,var(--ds-surface-1))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(1){width:34%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(2){width:29%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(3){width:11%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(4){width:12%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(5){width:14%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table .model-name-line strong{max-width:390px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ds-text-1);font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-expand{display:flex;align-items:center;gap:6px;margin:0;padding:11px 16px;border:0;background:transparent;color:var(--ds-brand);font-size:12px;font-weight:740;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-expand span{display:inline-block;transition:transform .16s ease}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-expand.is-expanded span{transform:rotate(180deg)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-editor-form{padding:20px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-panel{width:min(820px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 40px))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-toolbar{display:flex;justify-content:flex-end;padding:14px 18px;border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-list{display:grid;gap:9px;padding:16px 18px;overflow:auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--ds-border);border-radius:12px;background:var(--ds-surface-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-icon{width:40px;height:40px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item>div{min-width:0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item>div strong{display:block;color:var(--ds-text-1);font-size:14px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item>div small{display:block;margin-top:2px;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item form{margin:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-editor-panel{width:min(620px,calc(100vw - 28px))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon-source{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:4px;border-radius:11px;background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon-source button{height:38px;border:0;border-radius:8px;background:transparent;color:var(--ds-text-3);font-weight:730;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon-source button.is-active{background:var(--ds-surface-1);color:var(--ds-brand);box-shadow:0 2px 8px rgba(32,38,48,.08)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon-preview-box{display:flex;align-items:center;gap:13px;padding:13px;border:1px dashed var(--ds-border);border-radius:12px;background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-preview{width:50px;height:50px;border-radius:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon-preview-box>div strong{display:block;color:var(--ds-text-1)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-icon-preview-box>div small{display:block;color:var(--ds-text-3);margin-top:3px}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-type-badge.is-chat{background:#173b2c;color:#6be0aa}html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-type-badge.is-image{background:#432f16;color:#ffc56f}
@media(max-width:1120px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-tabs{grid-column:1/-1;grid-row:2}}
@media(max-width:720px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-toolbar-actions .btn{width:100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-tabs{order:3}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-hint{align-items:flex-start;flex-direction:column;padding:10px 14px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-groups{padding:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item{grid-template-columns:40px minmax(0,1fr);gap:9px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item>.btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item>form{grid-column:auto}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item>form .btn{width:100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-manage-item>.btn{width:100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table{min-width:700px}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table td.channel-actions{
  display:table-cell!important;
  height:58px!important;
  min-height:58px!important;
  padding:8px 12px!important;
  vertical-align:middle!important;
  text-align:right!important;
  background:var(--ds-surface-1)!important;
  box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row:hover>td.channel-actions{
  background:color-mix(in srgb,var(--ds-brand) 2.6%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row.is-active>td.channel-actions{background:#f0faf5!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row.is-active>td.channel-actions{background:#173027!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  width:100%!important;
  min-height:34px!important;
  white-space:nowrap!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>a,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0 10px!important;
  border-radius:8px!important;
  line-height:1!important;
  font-size:11.5px!important;
  font-weight:680!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>.channel-edit-button{
  min-width:46px!important;
  border:1px solid var(--ds-border)!important;
  background:var(--ds-surface-1)!important;
  color:var(--ds-text-1)!important;
  box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>.channel-edit-button:hover{
  border-color:color-mix(in srgb,var(--ds-brand) 34%,var(--ds-border))!important;
  background:var(--ds-brand-soft)!important;
  color:var(--ds-brand)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid>label>select{
  width:100%;height:44px;padding:0 38px 0 13px;border:1px solid var(--ds-border);border-radius:11px;
  background:var(--ds-surface-1);color:var(--ds-text-1);font-size:13px;outline:none;
  transition:border-color var(--ds-fast),box-shadow var(--ds-fast),background var(--ds-fast)
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid>label>select:focus{
  border-color:color-mix(in srgb,var(--ds-brand) 62%,var(--ds-border));
  box-shadow:0 0 0 3px color-mix(in srgb,var(--ds-brand) 13%,transparent)
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select{width:100%!important;min-width:0!important;z-index:95!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select>select{
  position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;
  overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;opacity:0!important;pointer-events:none!important;
  margin:0!important;padding:0!important;border:0!important;box-shadow:none!important
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select .category-select-trigger{min-height:44px!important;padding:6px 11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select .category-select-menu{max-height:300px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select .category-select-option-icon{flex-basis:30px;width:30px;height:30px}
@media(max-width:720px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner{gap:4px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-actions-inner>button{padding:0 8px!important}
}
@keyframes relay-toast-in{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:translateY(0)}}
@keyframes relay-toast-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) #js-toast-zone .ios-toast{
  border-color:rgba(255,255,255,.1)!important;
  background:rgba(28,32,30,.96)!important;
  color:#f5f8f6!important;
  box-shadow:0 10px 30px rgba(0,0,0,.35)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) #js-toast-zone .ios-toast-content strong{color:#f7faf8!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) #js-toast-zone .ios-toast-content small{color:#aab4ae!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal[data-channel-category-assign-modal]{
  padding:24px!important;
  overflow:hidden!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-modal-panel{
  width:min(960px,calc(100vw - 48px))!important;
  max-height:none!important;
  overflow:visible!important;
  padding:26px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-modal-panel>.relay-modal-head{
  position:static!important;
  padding-bottom:18px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-form{
  padding:22px 0 0!important;
  gap:20px!important;
  overflow:visible!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:22px!important;
  align-items:start!important;
  overflow:visible!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid>label{
  min-width:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select{
  position:relative!important;
  z-index:140!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select .category-select-trigger{
  min-height:52px!important;
  padding:7px 12px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select .category-select-menu{
  z-index:180!important;
  max-height:min(440px,calc(100dvh - 300px))!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:auto!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-form>.relay-modal-actions{
  position:static!important;
  margin-top:4px!important;
}
@media(max-width:760px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal[data-channel-category-assign-modal]{padding:10px!important;overflow:auto!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-modal-panel{
    width:100%!important;
    max-height:calc(100dvh - 20px)!important;
    overflow:auto!important;
    padding:18px!important;
  }
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-grid{grid-template-columns:1fr!important;gap:16px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-select .category-select-menu{
    max-height:min(330px,calc(100dvh - 360px))!important;
  }
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor]{
  gap:10px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-picker,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-redirects,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.btn.primary.full{
  margin-top:0!important;
  margin-bottom:0!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line{
  min-height:56px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary{
  min-height:52px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.btn.primary.full{
  min-height:44px!important;
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor]{gap:8px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-picker,
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-redirects{padding:12px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line{min-height:54px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary{min-height:50px!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-footer-actions [data-channel-test-all]{
  background:linear-gradient(135deg,#7655f6,#6845ed)!important;
  border-color:#6845ed!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(111,75,242,.18)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-footer-actions [data-channel-test-all]:hover{
  background:linear-gradient(135deg,#8060fb,#6240e4)!important;
  border-color:#6240e4!important;
  box-shadow:0 10px 24px rgba(111,75,242,.24)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-footer-actions [data-channel-test-all]:disabled{
  opacity:.62!important;
  box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result>.channel-test-result-metrics{
  white-space:nowrap!important;
  color:var(--ds-text-1)!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:750!important;
  letter-spacing:.01em;
  font-variant-numeric:tabular-nums;
}
@media(max-width:680px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result>.channel-test-result-metrics{font-size:12.5px!important}
}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .ocr-switch-grid>label:not(.switch-line){display:grid;gap:6px;padding:11px;border:1px solid var(--ds-border);border-radius:11px;background:var(--ds-surface-2);font-size:11px;font-weight:700;color:var(--ds-text-1)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .ocr-feature-grid .switch-line{margin:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .turbo-relay-section{background:linear-gradient(180deg,var(--ds-surface-1),color-mix(in srgb,#22a06b 2.5%,var(--ds-surface-1)))}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .turbo-relay-section{background:linear-gradient(180deg,var(--ds-surface-1),color-mix(in srgb,#22a06b 5%,var(--ds-surface-1)))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) >#js-toast-zone{
  z-index:2147483647!important;
  isolation:isolate!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.bad small{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.bad .channel-test-http-error{
  color:var(--ds-danger)!important;
  font-weight:850!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-modal[data-channel-test-modal]{
  overflow:hidden!important;
  overscroll-behavior:contain!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel{
  display:flex!important;
  flex-direction:column!important;
  max-height:min(86vh,calc(100dvh - 40px),900px)!important;
  padding:0!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel>.relay-modal-head{
  position:relative!important;
  inset:auto!important;
  z-index:3!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:22px 24px 16px!important;
  background:var(--ds-surface-floating)!important;
  border-bottom:1px solid var(--ds-divider)!important;
  box-shadow:0 1px 0 var(--ds-divider)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel>[data-channel-test-form]{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-scroll-{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  padding:0 24px 18px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-scroll->.channel-test-toolbar{
  margin-top:18px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-models{
  max-height:none!important;
  overflow:visible!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel>.relay-modal-head,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-footer-actions{
  transform:translateZ(0);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-footer-actions{
  position:relative!important;
  inset:auto!important;
  z-index:3!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:14px 24px 18px!important;
  background:var(--ds-surface-floating)!important;
  border-top:1px solid var(--ds-divider)!important;
  box-shadow:0 -8px 24px color-mix(in srgb,var(--ds-text-1) 5%,transparent)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-footer-actions{
  box-shadow:0 -8px 24px rgba(0,0,0,.18)!important;
}
@media(max-width:680px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel{
    width:100%!important;
    max-height:calc(100dvh - 20px)!important;
  }
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel>.relay-modal-head{padding:17px 17px 13px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-scroll-{padding:0 17px 14px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-footer-actions{padding:12px 17px 15px!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.compact{min-height:34px;padding:7px 11px;font-size:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.danger.ghost{color:var(--ds-danger);border-color:color-mix(in srgb,var(--ds-danger) 32%,var(--ds-border));background:var(--ds-danger-soft)}
@keyframes probeSpin{to{transform:rotate(360deg)}}
@keyframes probeLivePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.82)}}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .request-metric-file>.metric-icon{background:#3a2b16!important;color:#f1bd62!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-request-legend .is-file,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-chart-summary .is-file strong{color:#f1bd62!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-segment.is-file,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .daily-column-tooltip span i.is-file{background:#d99a38!important}
@keyframes dashboard-runtime-spin{to{transform:rotate(360deg)}}
@keyframes runtime-dot-pulse{50%{opacity:.35;transform:scale(.8)}}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .premium-trend-card{
  border-color:color-mix(in srgb,var(--ds-brand) 14%,var(--ds-border))!important;
  background:radial-gradient(900px 300px at 77% -80px,color-mix(in srgb,var(--ds-brand) 12%,transparent),transparent 64%),var(--ds-surface-1)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.16)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .premium-chart-frame{background:linear-gradient(180deg,color-mix(in srgb,var(--ds-brand) 4%,var(--ds-surface-1)),var(--ds-surface-2))!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .premium-trend-icon{box-shadow:none!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .premium-trend-legend span,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .premium-range-chip{background:var(--ds-surface-2)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .premium-summary-grid>.premium-summary-item{background:linear-gradient(145deg,var(--ds-surface-2),var(--ds-surface-1))!important;box-shadow:none!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .premium-chart-frame .daily-column-item.is-today:before{background:color-mix(in srgb,var(--ds-brand) 8%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal{
  z-index:2147483000!important;
  display:grid!important;
  place-items:center!important;
  padding:24px!important;
  opacity:0;
  transition:opacity .16s ease;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal.is-visible{opacity:1}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal.is-leaving{opacity:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(12,18,28,.44)!important;
  -webkit-backdrop-filter:blur(10px) saturate(112%)!important;
  backdrop-filter:blur(10px) saturate(112%)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-panel{
  position:relative!important;
  width:min(472px,calc(100vw - 32px))!important;
  max-height:none!important;
  overflow:hidden!important;
  padding:0!important;
  border:1px solid color-mix(in srgb,var(--ds-border-strong) 76%,transparent)!important;
  border-radius:18px!important;
  background:color-mix(in srgb,var(--ds-surface-floating) 96%,transparent)!important;
  box-shadow:0 34px 100px rgba(15,23,42,.28),0 8px 30px rgba(15,23,42,.12)!important;
  transform:translateY(12px) scale(.975);
  transition:transform .2s cubic-bezier(.2,.8,.2,1),opacity .16s ease!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal.is-visible .relay-confirm-panel{transform:translateY(0) scale(1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-accent{
  position:absolute;
  left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--ds-danger) 78%,#ff6470),transparent);
  opacity:.9;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal:not(.is-danger) .relay-confirm-accent{
  background:linear-gradient(90deg,transparent,var(--ds-brand),transparent);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;padding:26px 26px 20px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-icon{
  width:52px;height:52px;border-radius:15px;
  display:grid;place-items:center;
  color:var(--ds-danger);
  background:linear-gradient(145deg,color-mix(in srgb,var(--ds-danger-soft) 92%,var(--ds-surface-1)),var(--ds-danger-soft));
  border:1px solid color-mix(in srgb,var(--ds-danger) 18%,var(--ds-border));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal:not(.is-danger) .relay-confirm-icon{
  color:var(--ds-brand);background:var(--ds-brand-soft);border-color:color-mix(in srgb,var(--ds-brand) 18%,var(--ds-border));
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-icon svg{width:27px;height:27px;display:block}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-copy{min-width:0;padding-top:1px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-kicker{
  display:block;margin:0 0 5px;
  color:var(--ds-danger);font-size:10px;font-weight:850;letter-spacing:.14em;line-height:1.2;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal:not(.is-danger) .relay-confirm-kicker{color:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-copy h2{
  margin:0!important;color:var(--ds-text-1)!important;
  font-size:20px!important;font-weight:820!important;line-height:1.35!important;letter-spacing:-.02em!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-copy>p{
  margin:9px 0 0!important;color:var(--ds-text-2)!important;
  font-size:13px!important;line-height:1.75!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-note{
  margin-top:14px;padding:10px 11px;
  display:flex;align-items:flex-start;gap:8px;
  border:1px solid var(--ds-border);border-radius:9px;
  background:var(--ds-surface-2);color:var(--ds-text-3);
  font-size:11px;line-height:1.55;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-note[hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-note-dot{width:6px;height:6px;flex:0 0 6px;margin-top:5px;border-radius:999px;background:var(--ds-danger)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal:not(.is-danger) .relay-confirm-note-dot{background:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions{
  display:flex;justify-content:flex-end;align-items:center;gap:10px;
  padding:16px 26px 20px!important;
  border-top:1px solid var(--ds-divider)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--ds-surface-2) 45%,transparent),var(--ds-surface-floating))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions .btn{
  min-width:96px!important;min-height:40px!important;padding:9px 17px!important;
  border-radius:9px!important;font-size:12px!important;font-weight:780!important;
  box-shadow:none!important;transform:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions .relay-confirm-cancel{
  color:var(--ds-text-2)!important;background:var(--ds-surface-1)!important;border-color:var(--ds-border-strong)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions .relay-confirm-cancel:hover{background:var(--ds-surface-3)!important;color:var(--ds-text-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions .relay-confirm-accept.danger{
  color:#fff!important;border-color:color-mix(in srgb,var(--ds-danger) 88%,#8d1f29)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--ds-danger) 88%,#e3525d),color-mix(in srgb,var(--ds-danger) 92%,#92232d))!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--ds-danger) 20%,transparent)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions .relay-confirm-accept.danger:hover{filter:brightness(1.04);box-shadow:0 10px 25px color-mix(in srgb,var(--ds-danger) 27%,transparent)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions .relay-confirm-accept.primary{background:var(--ds-brand)!important;color:#fff!important;border-color:var(--ds-brand)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-backdrop{background:rgba(3,7,13,.64)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-panel{
  background:color-mix(in srgb,var(--ds-surface-floating) 97%,#0b1017)!important;
  box-shadow:0 38px 110px rgba(0,0,0,.62),0 8px 28px rgba(0,0,0,.36)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-icon{box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
@media(max-width:600px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-modal{padding:14px!important;align-items:end!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-panel{width:100%!important;border-radius:16px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-{grid-template-columns:44px minmax(0,1fr);gap:13px;padding:22px 18px 16px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-icon{width:44px;height:44px;border-radius:13px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-icon svg{width:24px;height:24px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-copy h2{font-size:18px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions{padding:14px 18px 18px!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-confirm-actions .btn{width:100%!important;min-width:0!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.bad > .channel-test-result-metrics{
  color:var(--ds-danger)!important;
  font-weight:850!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.bad > .channel-test-result-metrics::before{
  content:'';
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:7px;
  border-radius:999px;
  background:var(--ds-danger);
  vertical-align:1px;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--ds-danger) 10%,transparent);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.bad:hover > .channel-test-result-metrics{
  color:color-mix(in srgb,var(--ds-danger) 88%,#8f1f2c)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.bad > .channel-test-result-metrics{
  color:color-mix(in srgb,var(--ds-danger) 82%,#ffb2b8)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(1){width:31%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(2){width:20%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(3){width:29%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(4){width:9%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th:nth-child(5){width:11%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channels-cell{min-width:250px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-binding{display:grid;gap:8px;align-items:start}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-trigger{appearance:none;display:inline-flex;align-items:center;gap:7px;width:calc(100% - 255px);max-width:100%;min-height:30px;padding:4px 9px;border:1px solid color-mix(in srgb,var(--ds-brand) 16%,var(--ds-border));border-radius:9px;background:color-mix(in srgb,var(--ds-brand) 4%,var(--ds-surface-1));color:var(--ds-text-2);font:inherit;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-trigger:hover{border-color:color-mix(in srgb,var(--ds-brand) 32%,var(--ds-border));background:color-mix(in srgb,var(--ds-brand) 7%,var(--ds-surface-1));box-shadow:0 5px 16px color-mix(in srgb,var(--ds-brand) 8%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-trigger:active{transform:translateY(1px)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-count{display:inline-flex;align-items:baseline;gap:3px;font-size:12px;font-weight:720;color:var(--ds-text-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-count b{font-size:13px;color:var(--ds-brand);font-weight:850}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-trigger-text{font-size:11px;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-trigger i{font-style:normal;font-size:12px;color:var(--ds-text-3);transition:transform .16s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-binding.is-expanded .model-channel-trigger i{transform:rotate(180deg)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-empty{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border-radius:8px;background:var(--ds-surface-2);color:var(--ds-text-3);font-size:11px;font-weight:700}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-list{display:none;gap:6px;flex-wrap:wrap;max-width:100%;padding:1px 0 2px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-binding.is-expanded .model-channel-list,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table tr.is-model-search-result .model-channel-list{display:flex}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table tr.is-model-search-result .model-channel-trigger{border-color:color-mix(in srgb,var(--ds-brand) 28%,var(--ds-border));background:var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table tr.is-model-search-result .model-channel-trigger-text{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table tr.is-model-search-result .model-channel-trigger i{display:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-item{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"state name" "state meta" "state upstream";column-gap:7px;row-gap:1px;min-width:150px;max-width:250px;padding:7px 9px 7px 8px;border:1px solid var(--ds-border);border-radius:9px;background:var(--ds-surface-1);color:var(--ds-text-2);text-decoration:none;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-item:hover{border-color:color-mix(in srgb,var(--ds-brand) 34%,var(--ds-border));background:color-mix(in srgb,var(--ds-brand) 4%,var(--ds-surface-1));box-shadow:0 5px 15px rgba(15,23,42,.06);transform:translateY(-1px)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-state{grid-area:state;width:7px;height:7px;margin-top:5px;border-radius:50%;background:var(--ds-success);box-shadow:0 0 0 3px color-mix(in srgb,var(--ds-success) 12%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-name{grid-area:name;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:800;color:var(--ds-text-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-meta{grid-area:meta;font-size:10px;color:var(--ds-text-3);white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-upstream{grid-area:upstream;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px;color:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-item.is-disabled{opacity:.72;background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channel-item.is-disabled .model-channel-state{background:var(--ds-danger);box-shadow:0 0 0 3px color-mix(in srgb,var(--ds-danger) 10%,transparent)}
@media(max-width:900px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table{min-width:900px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-channels-cell{min-width:240px}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-redirects{
  container-type:inline-size;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-request-model],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-upstream-model]{
  min-width:0!important;
  padding-left:11px!important;
  padding-right:11px!important;
  font-size:12px!important;
  letter-spacing:-.015em!important;
  text-overflow:clip!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-request-model]:focus,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-upstream-model]:focus{
  font-size:12px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-note{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  position:relative!important;
  display:block!important;
  flex:0 0 44px!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--ds-border-strong)!important;
  border-radius:999px!important;
  background:#cfd5df!important;
  box-shadow:none!important;
  line-height:1!important;
  vertical-align:middle!important;
  overflow:hidden!important;
  cursor:pointer!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]:before{
  content:""!important;
  position:absolute!important;
  left:2px!important;
  top:2px!important;
  width:18px!important;
  height:18px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 2px 6px rgba(22,27,43,.20)!important;
  transform:translateX(0)!important;
  transition:transform .18s ease!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]:checked{
  background:var(--ds-brand)!important;
  border-color:var(--ds-brand)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]:checked:before{
  transform:translateX(20px)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]:focus-visible{
  box-shadow:0 0 0 3px var(--ds-focus)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]{
  background:#343d49!important;
  border-color:#4a5564!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]:checked{
  background:var(--ds-brand)!important;
  border-color:var(--ds-brand)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) :is([data-channel-editor],.channel-editor-scroll)>.model-redirects{
  padding:12px!important;
  gap:10px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-rows{
  gap:7px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-labels{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 46px!important;
  gap:6px!important;
  padding:0 4px!important;
  font-size:10px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 46px!important;
  grid-template-rows:40px!important;
  align-items:center!important;
  gap:6px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-request-model],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-upstream-model]{
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 8px!important;
  border:1px solid var(--ds-border)!important;
  border-radius:9px!important;
  background:var(--ds-surface-1)!important;
  box-shadow:none!important;
  color:var(--ds-text-1)!important;
  font-size:10.5px!important;
  line-height:38px!important;
  letter-spacing:-.025em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-request-model]{grid-column:1!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-upstream-model]{grid-column:3!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-request-model]:focus,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row input[data-redirect-upstream-model]:focus{
  border-color:color-mix(in srgb,var(--ds-brand) 62%,var(--ds-border))!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--ds-brand) 10%,transparent)!important;
  font-size:10.5px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row .model-redirect-arrow{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
  align-self:center!important;
  width:24px!important;
  height:28px!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  background:var(--ds-surface-3)!important;
  color:var(--ds-text-3)!important;
  font-size:15px!important;
  transform:none!important;
  box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row .model-redirect-remove{
  grid-column:4!important;
  grid-row:1!important;
  align-self:center!important;
  width:46px!important;
  min-width:46px!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:9px!important;
  background:var(--ds-danger-soft)!important;
  color:var(--ds-danger)!important;
  box-shadow:none!important;
  font-size:10.5px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row .model-redirect-remove:hover{
  background:color-mix(in srgb,var(--ds-danger) 14%,var(--ds-surface-1))!important;
  transform:none!important;
}
@media(max-width:760px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirects-head{align-items:center!important;flex-direction:row!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-add{width:auto!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-labels{display:grid!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok{
  background:color-mix(in srgb,var(--ds-success) 6.5%,var(--ds-surface-1))!important;
  border-color:color-mix(in srgb,var(--ds-success) 32%,var(--ds-border))!important;
  box-shadow:inset 3px 0 0 color-mix(in srgb,var(--ds-success) 82%,transparent)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok:hover{
  background:color-mix(in srgb,var(--ds-success) 9%,var(--ds-surface-1))!important;
  border-color:color-mix(in srgb,var(--ds-success) 42%,var(--ds-border))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok > div > strong{
  color:color-mix(in srgb,var(--ds-success) 78%,var(--ds-text-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok > div > small{
  color:color-mix(in srgb,var(--ds-success) 54%,var(--ds-text-3))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok > .channel-test-result-metrics{
  color:color-mix(in srgb,var(--ds-success) 84%,#075b3b)!important;
  font-weight:850!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok > .channel-test-result-metrics::before{
  content:'';
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:7px;
  border-radius:999px;
  background:var(--ds-success);
  vertical-align:1px;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--ds-success) 11%,transparent);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.is-success{
  background:color-mix(in srgb,var(--ds-success) 6.5%,var(--ds-surface-1))!important;
  border-color:color-mix(in srgb,var(--ds-success) 30%,var(--ds-border))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.is-success .channel-test-summary-copy strong{
  color:color-mix(in srgb,var(--ds-success) 82%,#075b3b)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.is-success .channel-test-summary-copy span{
  color:color-mix(in srgb,var(--ds-success) 54%,var(--ds-text-3))!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.is-success{
  background:color-mix(in srgb,var(--ds-success) 10%,var(--ds-surface-1))!important;
  border-color:color-mix(in srgb,var(--ds-success) 34%,var(--ds-border))!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok > div > strong,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.ok > .channel-test-result-metrics,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-summary.is-success .channel-test-summary-copy strong{
  color:color-mix(in srgb,var(--ds-success) 72%,#d8ffe9)!important;
}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-usage-card{background:radial-gradient(360px 210px at 90% -60px,color-mix(in srgb,var(--ds-brand) 11%,transparent),transparent 68%),linear-gradient(180deg,var(--ds-surface-1),var(--ds-surface-2));box-shadow:none}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-usage-donut{box-shadow:0 14px 32px rgba(0,0,0,.16)}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-usage-donut:before{box-shadow:inset 0 0 0 1px var(--ds-border),0 5px 18px rgba(0,0,0,.12)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .driver-test-controls .btn{white-space:nowrap!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin-contact-entry .btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin-contact-verify .btn{min-height:38px!important;padding-inline:10px!important;white-space:nowrap}
@media(max-width:780px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .driver-test-controls .btn{width:100%}}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .admin-contact-entry .btn{min-height:39px!important;border-radius:9px!important;padding-inline:11px!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .admin-contact-verify .btn{min-height:39px!important;border-radius:9px!important;white-space:nowrap!important}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-page-tabs,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-tab-intro,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .recovery-contact-card{box-shadow:none}
@media(max-width:820px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .admin-contact-entry .btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .admin-contact-verify .btn{width:100%}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .logo-quick-actions .btn{min-height:34px!important;height:34px!important;padding:0 12px!important;border-radius:9px!important;font-size:10.5px!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .logo-quick-actions .btn svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .logo-quick-actions .btn.is-active{color:var(--ds-brand)!important;border-color:color-mix(in srgb,var(--ds-brand) 36%,var(--ds-border))!important;background:var(--ds-brand-soft-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .settings-brand-compact>.logo-quick-actions .btn{height:42px!important;min-height:42px!important;padding:0 10px!important;border-radius:10px!important;font-size:10px!important}
@media(max-width:1320px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .settings-v177 .settings-brand-compact>.logo-quick-actions .btn{height:34px!important;min-height:34px!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  z-index:150!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select>select{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  opacity:0!important;
  pointer-events:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-trigger{
  min-height:52px!important;
  padding:7px 12px!important;
  border:1px solid color-mix(in srgb,var(--ds-border) 88%,transparent)!important;
  border-radius:12px!important;
  background:color-mix(in srgb,var(--ds-surface-1) 94%,var(--ds-surface-2))!important;
  box-shadow:0 1px 2px rgba(15,23,42,.03)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-trigger:hover{
  border-color:color-mix(in srgb,var(--ds-brand) 30%,var(--ds-border))!important;
  background:var(--ds-surface-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select.is-open .channel-select-trigger,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-trigger:focus-visible{
  outline:none!important;
  border-color:color-mix(in srgb,var(--ds-brand) 68%,var(--ds-border))!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--ds-brand) 12%,transparent),0 10px 24px color-mix(in srgb,var(--ds-brand) 7%,transparent)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-menu{
  z-index:190!important;
  top:calc(100% + 8px)!important;
  max-height:min(360px,calc(100dvh - 320px))!important;
  padding:7px!important;
  border:1px solid color-mix(in srgb,var(--ds-border-strong) 86%,transparent)!important;
  border-radius:13px!important;
  background:color-mix(in srgb,var(--ds-surface-floating) 97%,transparent)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.14),0 3px 12px rgba(15,23,42,.06)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-option{
  min-height:50px!important;
  padding:7px 9px!important;
  border-radius:10px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-option:hover,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-option:focus-visible{
  background:color-mix(in srgb,var(--ds-brand-soft) 45%,var(--ds-surface-2))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-option.is-selected{
  background:color-mix(in srgb,var(--ds-brand-soft) 78%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .category-select-option-copy strong{
  font-size:13px!important;
  font-weight:730!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .category-select-option-copy small{
  margin-top:2px!important;
  font-size:10px!important;
  color:var(--ds-text-3)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-select-option-badge{
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  min-width:48px;
  height:28px;
  padding:0 8px;
  border:1px solid color-mix(in srgb,var(--ds-brand) 18%,var(--ds-border));
  border-radius:8px;
  background:color-mix(in srgb,var(--ds-brand-soft) 55%,var(--ds-surface-2));
  color:var(--ds-brand);
  font-family:var(--ds-font-mono);
  font-size:9.5px;
  font-weight:760;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-select-option-badge.is-placeholder{
  min-width:30px;
  padding:0 7px;
  border-color:var(--ds-border);
  background:var(--ds-surface-3);
  color:var(--ds-text-3);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-theme="dark"] .channel-category-assign-channel-select .channel-select-trigger{
  background:color-mix(in srgb,var(--ds-surface-2) 92%,#000)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-theme="dark"] .channel-category-assign-channel-select .channel-select-menu{
  box-shadow:0 20px 54px rgba(0,0,0,.42),0 2px 10px rgba(0,0,0,.18)!important;
}
@media(max-width:760px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-assign-channel-select .channel-select-menu{max-height:min(300px,calc(100dvh - 380px))!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status{
  position:relative!important;
  gap:6px!important;
  min-height:28px!important;
  padding:5px 9px!important;
  font-size:10.8px!important;
  font-weight:760!important;
  line-height:1!important;
  letter-spacing:0!important;
  cursor:help!important;
  outline:0!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status::before{
  content:"";
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:999px;
  background:currentColor;
  opacity:.9;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(31,41,55,.08)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.ok{border-color:#d7f0e4!important;background:#edf9f3!important;color:#07945b!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.warn{border-color:#f4dfbc!important;background:#fff7e9!important;color:#c97708!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.bad{border-color:#f2cfd3!important;background:#fff0f2!important;color:#d7424d!important}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover{
  position:fixed;
  z-index:10080;
  box-sizing:border-box;
  width:360px;
  max-width:calc(100vw - 24px);
  padding:14px;
  border:1px solid var(--ds-border);
  border-radius:14px;
  background:color-mix(in srgb,var(--ds-surface-floating) 96%,transparent);
  box-shadow:0 18px 50px rgba(22,30,43,.16),0 4px 16px rgba(22,30,43,.08);
  backdrop-filter:blur(18px);
  color:var(--ds-text-1);
  opacity:0;
  transform:translateY(-3px) scale(.985);
  transform-origin:top center;
  pointer-events:none;
  transition:opacity .12s ease,transform .12s ease;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-visible{opacity:1;transform:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover[hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-head{display:flex;align-items:center;gap:10px;padding-bottom:11px;border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-head>i{display:block;width:9px;height:9px;border-radius:50%;background:var(--ds-text-3);box-shadow:0 0 0 5px color-mix(in srgb,var(--ds-text-3) 10%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-ok .channel-health-popover-head>i{background:#10a66a;box-shadow:0 0 0 5px rgba(16,166,106,.11)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-warn .channel-health-popover-head>i{background:#e99516;box-shadow:0 0 0 5px rgba(233,149,22,.12)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-bad .channel-health-popover-head>i{background:#e24b58;box-shadow:0 0 0 5px rgba(226,75,88,.12)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-head>div{min-width:0;display:grid;gap:3px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-head strong{font-size:13px;font-weight:800;line-height:1.25;color:var(--ds-text-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-head span{font-size:10.5px;font-weight:650;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-primary,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-models,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-error{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-primary>span,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-models>span,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-error>span{font-size:10px;font-weight:720;color:var(--ds-text-3);line-height:1.5}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-primary>div{min-width:0;display:grid;gap:4px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-primary strong{font-size:11.5px;font-weight:760;color:var(--ds-text-1);overflow-wrap:anywhere}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-primary small{font-size:10px;color:var(--ds-text-3);line-height:1.45}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-model-list{display:grid;gap:7px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-model-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:7px 9px;border:1px solid var(--ds-divider);border-radius:9px;background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-model-list strong{min-width:0;font-size:10.6px;font-weight:720;color:var(--ds-text-1);overflow-wrap:anywhere}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-model-list small{flex:0 0 auto;margin:0!important;font-size:9.8px!important;line-height:1.4;color:var(--ds-text-3)!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-error p{margin:0;padding:8px 9px;border-radius:9px;background:color-mix(in srgb,#f59e0b 7%,var(--ds-surface-2));color:var(--ds-text-2);font-size:10.5px;line-height:1.55;overflow-wrap:anywhere}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-bad .channel-health-popover-error p{background:color-mix(in srgb,#ef4444 7%,var(--ds-surface-2))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-note{margin:10px 0 0;color:var(--ds-text-3);font-size:10px;line-height:1.55}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.ok{border-color:#245b45!important;background:#183529!important;color:#6ee0ac!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.warn{border-color:#62491e!important;background:#352a16!important;color:#ffc267!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.bad{border-color:#69333b!important;background:#3a2025!important;color:#ff929a!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover{box-shadow:0 20px 55px rgba(0,0,0,.44),0 4px 16px rgba(0,0,0,.24)}
@media(max-width:720px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover{padding:12px;border-radius:12px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-primary,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-models,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-error{grid-template-columns:1fr;gap:6px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-model-list>div{display:grid;gap:3px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-model-list small{white-space:normal}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover{
  width:430px;
  pointer-events:auto;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-events{
  display:grid;
  gap:9px;
  padding:11px 0;
  border-bottom:1px solid var(--ds-divider);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-section-head>span{
  font-size:10px;
  font-weight:760;
  color:var(--ds-text-3);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-section-head>small{
  font-size:9.5px;
  font-weight:700;
  color:var(--ds-text-disabled);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-list{
  display:grid;
  gap:8px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-card{
  position:relative;
  display:grid;
  gap:7px;
  padding:10px 11px;
  border:1px solid color-mix(in srgb,#f59e0b 16%,var(--ds-border));
  border-radius:11px;
  background:linear-gradient(145deg,color-mix(in srgb,#f59e0b 5%,var(--ds-surface-1)),var(--ds-surface-2));
  box-shadow:0 3px 12px rgba(30,38,56,.025);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-bad .channel-health-event-card{
  border-color:color-mix(in srgb,#ef4444 18%,var(--ds-border));
  background:linear-gradient(145deg,color-mix(in srgb,#ef4444 5%,var(--ds-surface-1)),var(--ds-surface-2));
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-top b{
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:0 7px;
  border-radius:999px;
  background:color-mix(in srgb,#f59e0b 11%,var(--ds-surface-1));
  color:#c97708;
  font-size:9.5px;
  font-weight:800;
  line-height:1;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-bad .channel-health-event-top b{
  background:color-mix(in srgb,#ef4444 11%,var(--ds-surface-1));
  color:#d7424d;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-top time{
  min-width:0;
  color:var(--ds-text-disabled);
  font-size:9px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-model,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-subrow{
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  align-items:start;
  gap:8px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-model>span,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-subrow>span{
  color:var(--ds-text-3);
  font-size:9.6px;
  font-weight:700;
  line-height:1.5;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-model strong{
  min-width:0;
  color:var(--ds-text-1);
  font-size:11px;
  font-weight:800;
  line-height:1.45;
  overflow-wrap:anywhere;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-subrow code{
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ds-text-2);
  font-size:9.8px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-meta span{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-height:20px;
  padding:0 6px;
  border:1px solid var(--ds-divider);
  border-radius:7px;
  background:color-mix(in srgb,var(--ds-surface-1) 72%,transparent);
  color:var(--ds-text-3);
  font-size:8.8px;
  font-weight:650;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-card>p{
  margin:0;
  padding:8px 9px;
  border-radius:8px;
  background:color-mix(in srgb,#f59e0b 6%,var(--ds-surface-1));
  color:var(--ds-text-2);
  font-size:10px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-bad .channel-health-event-card>p{
  background:color-mix(in srgb,#ef4444 6%,var(--ds-surface-1));
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-more{
  padding:7px 9px;
  border-radius:8px;
  background:var(--ds-surface-2);
  color:var(--ds-text-3);
  font-size:9.4px;
  line-height:1.5;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-history-link{
  justify-self:start;
  color:var(--ds-brand);
  font-size:9.8px;
  font-weight:760;
  text-decoration:none;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-history-link:hover{text-decoration:underline}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-card{box-shadow:none}
@media(max-width:720px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover{width:min(430px,calc(100vw - 24px))}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-model,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-subrow{grid-template-columns:1fr;gap:2px}
}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating){scrollbar-color:color-mix(in srgb,var(--ds-text-3) 34%,transparent) transparent;scrollbar-width:thin}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *::-webkit-scrollbar{width:8px;height:8px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *::-webkit-scrollbar-track{background:transparent}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--ds-text-3) 30%,transparent);background-clip:padding-box}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--ds-text-3) 48%,transparent);background-clip:padding-box}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin-{
  background:
    radial-gradient(circle at 88% -10%,color-mix(in srgb,var(--ds-brand) 9%,transparent),transparent 31rem),
    radial-gradient(circle at 28% 0,color-mix(in srgb,#4d8dff 5%,transparent),transparent 27rem),
    linear-gradient(180deg,var(--ds-bg-subtle),var(--ds-bg) 250px)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin-{
  background:
    radial-gradient(circle at 88% -8%,rgba(120,91,255,.13),transparent 34rem),
    radial-gradient(circle at 20% -6%,rgba(47,111,237,.07),transparent 30rem),
    linear-gradient(180deg,var(--ds-bg-subtle),var(--ds-bg) 280px)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar{box-shadow:inset -1px 0 rgba(255,255,255,.025)!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .sidebar nav a.active{background:linear-gradient(135deg,var(--ds-brand-soft),color-mix(in srgb,var(--ds-brand-soft) 76%,var(--ds-surface-1)))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{
  border-color:color-mix(in srgb,var(--ds-border) 92%,transparent)!important;
  box-shadow:var(--ds-shadow-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{
  background:linear-gradient(180deg,color-mix(in srgb,var(--ds-surface-1) 99%,var(--ds-brand) 1%),var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head{padding-bottom:14px;border-bottom:1px solid var(--ds-divider)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head:last-child{padding-bottom:0;border-bottom:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card-head h2{font-weight:800!important}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .section-icon,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .metric-icon,html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .overview-icon{box-shadow:inset 0 1px rgba(255,255,255,.05)!important}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) button:not(.unstyled),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input[type="button"],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input[type="submit"]{
  font-family:inherit;
  transition:transform var(--ds-fast),border-color var(--ds-fast),background var(--ds-fast),color var(--ds-fast),box-shadow var(--ds-fast),opacity var(--ds-fast)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:hover:not(:disabled){transform:translateY(-1px)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn:active:not(:disabled){transform:translateY(0)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary{
  border-color:transparent!important;
  background:linear-gradient(135deg,#7a5cff,var(--ds-brand) 52%,#5a3ee7)!important;
  color:#fff!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--ds-brand) 23%,transparent)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.primary:hover{background:linear-gradient(135deg,#876cff,var(--ds-brand-hover) 54%,#5639df)!important;box-shadow:0 11px 26px color-mix(in srgb,var(--ds-brand) 29%,transparent)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost{
  background:color-mix(in srgb,var(--ds-surface-1) 94%,transparent)!important;
  border-color:var(--ds-border)!important;
  color:var(--ds-text-2)!important;
  box-shadow:0 2px 8px rgba(30,35,61,.025)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.secondary:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.ghost:hover{border-color:color-mix(in srgb,var(--ds-brand) 26%,var(--ds-border))!important;color:var(--ds-brand)!important;background:var(--ds-brand-soft)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .btn.danger{border-color:color-mix(in srgb,var(--ds-danger) 22%,var(--ds-border))!important}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea{
  border-color:var(--ds-border)!important;
  background:color-mix(in srgb,var(--ds-surface-1) 96%,var(--ds-surface-2))!important;
  color:var(--ds-text-1)!important;
  box-shadow:inset 0 1px 1px rgba(24,28,51,.02)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea:hover{border-color:var(--ds-border-strong)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) textarea:focus{
  border-color:var(--ds-brand)!important;
  box-shadow:0 0 0 4px var(--ds-focus)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) label>span:first-child{font-weight:700;color:var(--ds-text-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section{
  border-color:var(--ds-border)!important;
  background:color-mix(in srgb,var(--ds-surface-2) 72%,var(--ds-surface-1))!important;
}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .table-wrap{
  border:1px solid var(--ds-border)!important;
  border-radius:14px!important;
  background:var(--ds-surface-1)!important;
  overflow:auto;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) table{border-collapse:separate!important;border-spacing:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:color-mix(in srgb,var(--ds-surface-2) 94%,var(--ds-surface-1))!important;
  color:var(--ds-text-3)!important;
  font-size:10.5px!important;
  font-weight:760!important;
  letter-spacing:.015em;
  border-bottom:1px solid var(--ds-border)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody td{border-bottom-color:var(--ds-divider)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr{transition:background var(--ds-fast),box-shadow var(--ds-fast)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr:hover>td{background:color-mix(in srgb,var(--ds-brand-soft) 37%,var(--ds-surface-1))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) tbody tr:last-child td{border-bottom:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .status,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status{font-variant-numeric:tabular-nums}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-panel{
  border:1px solid color-mix(in srgb,var(--ds-border-strong) 82%,transparent)!important;
  border-radius:20px!important;
  background:color-mix(in srgb,var(--ds-surface-floating) 97%,transparent)!important;
  box-shadow:var(--ds-shadow-modal)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-card{overflow:visible}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar{
  border:1px solid var(--ds-border)!important;
  border-radius:13px!important;
  background:var(--ds-surface-2)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row{transition:background var(--ds-fast),box-shadow var(--ds-fast)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-compact-row.is-active{background:color-mix(in srgb,var(--ds-brand-soft) 62%,var(--ds-surface-1))!important;box-shadow:inset 3px 0 var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-divider{background:transparent!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-dropdown,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-menu{
  border-color:var(--ds-border)!important;
  border-radius:13px!important;
  box-shadow:var(--ds-shadow-2)!important;
  background:var(--ds-surface-floating)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .form-section{border-radius:15px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-redirect-row{border-bottom-color:var(--ds-divider)!important}
@media(max-width:900px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{padding:16px!important}
}
@media(max-width:620px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .card{border-radius:14px!important;padding:14px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-modal-panel{border-radius:16px!important}
}

@media(prefers-reduced-motion:reduce){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *:before,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th[data-channel-column="health"]{
  position:relative!important;
  cursor:help!important;
  white-space:nowrap!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th[data-channel-column="health"]::after{
  content:" ?";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:14px;
  height:14px;
  margin-left:5px;
  border:1px solid color-mix(in srgb,var(--ds-text-3) 28%,var(--ds-border));
  border-radius:50%;
  background:var(--ds-surface-2);
  color:var(--ds-text-3);
  font-size:9px;
  font-weight:850;
  line-height:1;
  vertical-align:1px;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th[data-channel-column="health"]::before{
  content:"可用性判断：绿色＝当前正常可用；黄色＝尚未判定整条渠道不可用，但存在部分模型或近期渠道异常；红色＝整条渠道当前不可用或已达到熔断条件。右侧“状态”只代表是否启用，与健康度不是一回事。";
  position:absolute;
  z-index:10120;
  left:50%;
  top:calc(100% + 9px);
  width:min(390px,calc(100vw - 28px));
  box-sizing:border-box;
  padding:10px 12px;
  border:1px solid var(--ds-border);
  border-radius:11px;
  background:color-mix(in srgb,var(--ds-surface-floating) 98%,transparent);
  box-shadow:0 14px 36px rgba(22,30,43,.14),0 3px 10px rgba(22,30,43,.06);
  color:var(--ds-text-2);
  font-size:10.5px;
  font-weight:620;
  line-height:1.65;
  white-space:normal;
  text-align:left;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(-50%,-3px);
  transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th[data-channel-column="health"]:hover::before{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status{
  user-select:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status::after{
  display:inline-flex;
  align-items:center;
  margin-left:1px;
  padding-left:6px;
  border-left:1px solid color-mix(in srgb,currentColor 22%,transparent);
  font-size:9px;
  font-weight:820;
  line-height:1;
  opacity:.78;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.ok::after{content:"可用"}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.warn::after{content:"需确认范围"}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status.bad::after{content:"不可用"}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover::before{
  display:block;
  box-sizing:border-box;
  margin:0 0 11px;
  padding:10px 11px;
  border:1px solid var(--ds-divider);
  border-radius:10px;
  font-size:10.7px;
  font-weight:720;
  line-height:1.62;
  letter-spacing:0;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-ok::before{
  content:"当前结论：渠道可用。最近已记录的请求或探测没有发现会阻止正常路由的异常。";
  border-color:color-mix(in srgb,var(--ds-success) 24%,var(--ds-border));
  background:color-mix(in srgb,var(--ds-success-soft) 58%,var(--ds-surface-1));
  color:var(--ds-success);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-warn::before{
  content:"当前结论：不是“整条渠道已经挂了”。系统尚未把该渠道判定为整体不可用，但检测到了部分模型波动或近期渠道级异常。请继续看下面的异常模型与最近事件，确认究竟影响哪些模型。";
  border-color:color-mix(in srgb,var(--ds-warning) 28%,var(--ds-border));
  background:color-mix(in srgb,var(--ds-warning-soft) 52%,var(--ds-surface-1));
  color:color-mix(in srgb,var(--ds-warning) 86%,var(--ds-text-1));
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover.is-bad::before{
  content:"当前结论：渠道当前整体不可用，或已经达到自动熔断/停用条件。正常情况下不应再让它承接新请求，直到恢复成功。";
  border-color:color-mix(in srgb,var(--ds-danger) 26%,var(--ds-border));
  background:color-mix(in srgb,var(--ds-danger-soft) 54%,var(--ds-surface-1));
  color:var(--ds-danger);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-head strong{
  font-size:13.4px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-primary>span,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-models>span,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-error>span,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-event-section-head>span{
  color:var(--ds-text-2)!important;
  font-weight:800!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-models,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-events{
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--ds-surface-2) 36%,transparent));
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-note{
  margin-top:11px!important;
  padding:9px 10px;
  border:1px dashed color-mix(in srgb,var(--ds-text-3) 22%,var(--ds-border));
  border-radius:9px;
  background:var(--ds-surface-2);
  color:var(--ds-text-3)!important;
  font-size:9.8px!important;
  line-height:1.6!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover-note::before{
  content:"怎么看：";
  color:var(--ds-text-2);
  font-weight:820;
}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th[data-channel-column="health"]::before{
  box-shadow:0 18px 42px rgba(0,0,0,.42),0 3px 12px rgba(0,0,0,.18);
}

@media(max-width:900px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-status::after{display:none}
}
@media(max-width:720px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th[data-channel-column="health"]::before{left:auto;right:-12px;transform:translateY(-3px)}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) th[data-channel-column="health"]:hover::before{transform:none}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-health-popover::before{font-size:10.2px;line-height:1.58}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"]{
  border-color:color-mix(in srgb,var(--ds-brand) 22%,var(--ds-border))!important;
  background:color-mix(in srgb,var(--ds-brand-soft) 48%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"]>span:first-child{
  background:var(--ds-brand-soft)!important;
  color:var(--ds-brand)!important;
  border-color:color-mix(in srgb,var(--ds-brand) 18%,var(--ds-border))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell{
  background:color-mix(in srgb,var(--ds-brand-soft) 34%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell>b{
  color:color-mix(in srgb,var(--ds-brand) 72%,var(--ds-text-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"]:focus-within{
  border-color:var(--ds-brand)!important;
  box-shadow:0 0 0 3px var(--ds-focus)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"]:focus-within .route-value-shell{
  background:color-mix(in srgb,var(--ds-brand-soft) 55%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"]{
  border-color:color-mix(in srgb,var(--ds-info) 20%,var(--ds-border))!important;
  background:color-mix(in srgb,var(--ds-info-soft) 46%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"]>span:first-child{
  background:var(--ds-info-soft)!important;
  color:var(--ds-info)!important;
  border-color:color-mix(in srgb,var(--ds-info) 17%,var(--ds-border))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell{
  background:color-mix(in srgb,var(--ds-info-soft) 32%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell>b{
  color:color-mix(in srgb,var(--ds-info) 70%,var(--ds-text-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"]:focus-within{
  border-color:var(--ds-info)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--ds-info) 18%,transparent)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"]:focus-within .route-value-shell{
  background:color-mix(in srgb,var(--ds-info-soft) 52%,var(--ds-surface-1))!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] input[data-route-priority]{caret-color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] input[data-route-weight]{caret-color:var(--ds-info)!important}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell>b,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell>b{
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"]{
  border-color:var(--ds-border)!important;
  background:var(--ds-surface-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"]>span:first-child,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"]>span:first-child{
  background:var(--ds-surface-3)!important;
  color:var(--ds-text-3)!important;
  border-color:var(--ds-border)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"]:focus-within .route-value-shell,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"]:focus-within .route-value-shell{
  background:var(--ds-surface-1)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"]:focus-within,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"]:focus-within{
  border-color:var(--ds-border-strong)!important;
  box-shadow:0 0 0 3px var(--ds-focus)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell>b{
  color:var(--ds-brand)!important;
  -webkit-text-fill-color:var(--ds-brand)!important;
  text-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell>b{
  color:var(--ds-info)!important;
  -webkit-text-fill-color:var(--ds-info)!important;
  text-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] input[data-route-priority]{
  caret-color:var(--ds-brand)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] input[data-route-weight]{
  caret-color:var(--ds-info)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] input[data-route-priority]::selection{
  background:color-mix(in srgb,var(--ds-brand) 20%,transparent)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] input[data-route-weight]::selection{
  background:color-mix(in srgb,var(--ds-info) 20%,transparent)!important;
}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell>b{
  color:color-mix(in srgb,var(--ds-brand) 78%,#fff)!important;
  -webkit-text-fill-color:color-mix(in srgb,var(--ds-brand) 78%,#fff)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell>b{
  color:color-mix(in srgb,var(--ds-info) 78%,#fff)!important;
  -webkit-text-fill-color:color-mix(in srgb,var(--ds-info) 78%,#fff)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell input[data-route-priority],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell input[data-route-priority]:hover,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell input[data-route-priority]:focus,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell input[data-route-weight],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell input[data-route-weight]:hover,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell input[data-route-weight]:focus{
  background:transparent!important;
  background-color:transparent!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  box-shadow:none!important;
  border:0!important;
  outline:0!important;
  opacity:1!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell>b[data-route-priority-mirror],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell>b[data-route-weight-mirror]{
  display:flex!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell>b[data-route-priority-mirror]{
  color:var(--ds-brand)!important;
  -webkit-text-fill-color:var(--ds-brand)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell>b[data-route-weight-mirror]{
  color:var(--ds-info)!important;
  -webkit-text-fill-color:var(--ds-info)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell input[data-route-priority]{
  caret-color:var(--ds-brand)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell input[data-route-weight]{
  caret-color:var(--ds-info)!important;
}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell>b[data-route-priority-mirror]{
  color:color-mix(in srgb,var(--ds-brand) 78%,#fff)!important;
  -webkit-text-fill-color:color-mix(in srgb,var(--ds-brand) 78%,#fff)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell>b[data-route-weight-mirror]{
  color:color-mix(in srgb,var(--ds-info) 78%,#fff)!important;
  -webkit-text-fill-color:color-mix(in srgb,var(--ds-info) 78%,#fff)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell:focus-within>b[data-route-priority-mirror],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell:focus-within>b[data-route-weight-mirror]{
  opacity:0!important;
  visibility:hidden!important;
}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell input[data-route-priority]:focus{
  color:var(--ds-brand)!important;
  -webkit-text-fill-color:var(--ds-brand)!important;
  caret-color:var(--ds-brand)!important;
  text-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell input[data-route-weight]:focus{
  color:var(--ds-info)!important;
  -webkit-text-fill-color:var(--ds-info)!important;
  caret-color:var(--ds-info)!important;
  text-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell input[data-route-priority]:focus::selection{
  background:color-mix(in srgb,var(--ds-brand) 20%,transparent)!important;
  color:var(--ds-brand)!important;
  -webkit-text-fill-color:var(--ds-brand)!important;
  text-shadow:none!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell input[data-route-weight]:focus::selection{
  background:color-mix(in srgb,var(--ds-info) 20%,transparent)!important;
  color:var(--ds-info)!important;
  -webkit-text-fill-color:var(--ds-info)!important;
  text-shadow:none!important;
}

html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell input[data-route-priority]:focus,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="priority"] .route-value-shell input[data-route-priority]:focus::selection{
  color:color-mix(in srgb,var(--ds-brand) 78%,#fff)!important;
  -webkit-text-fill-color:color-mix(in srgb,var(--ds-brand) 78%,#fff)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell input[data-route-weight]:focus,
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .route-quick-editor label[data-channel-route-part="weight"] .route-value-shell input[data-route-weight]:focus::selection{
  color:color-mix(in srgb,var(--ds-info) 78%,#fff)!important;
  -webkit-text-fill-color:color-mix(in srgb,var(--ds-info) 78%,#fff)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-editor-save-dock{
  position:sticky;
  bottom:14px;
  z-index:72;
  margin:2px -6px 0!important;
  padding:9px!important;
  border:1px solid color-mix(in srgb,var(--ds-border) 78%,var(--ds-brand) 22%)!important;
  border-radius:13px!important;
  background:color-mix(in srgb,var(--ds-surface-1) 88%,transparent)!important;
  box-shadow:0 12px 34px rgba(20,24,40,.14),0 2px 8px rgba(20,24,40,.06)!important;
  backdrop-filter:blur(16px) saturate(1.15);
  -webkit-backdrop-filter:blur(16px) saturate(1.15);
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-editor-save-dock>.btn.primary.full{
  width:100%!important;
  min-height:46px!important;
  margin:0!important;
  border-radius:10px!important;
  box-shadow:0 9px 22px color-mix(in srgb,var(--ds-brand) 23%,transparent)!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-editor-save-dock>.btn.primary.full:hover{
  box-shadow:0 12px 28px color-mix(in srgb,var(--ds-brand) 28%,transparent)!important;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-editor-save-dock{
  background:color-mix(in srgb,var(--ds-surface-1) 90%,transparent)!important;
  box-shadow:0 14px 36px rgba(0,0,0,.34),0 2px 8px rgba(0,0,0,.2)!important;
}
@media(max-width:1240px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-editor-save-dock{bottom:10px;margin-left:0!important;margin-right:0!important}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-editor-save-dock{
    bottom:8px;
    margin:0 -2px!important;
    padding:7px!important;
    border-radius:12px!important;
  }
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-editor-save-dock>.btn.primary.full{min-height:48px!important;border-radius:9px!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select.channel-category-quick{display:block!important;position:static!important;width:auto!important;min-width:92px!important;max-width:180px!important;height:26px!important;min-height:26px!important;padding:2px 22px 2px 8px!important;border:1px solid var(--ds-border)!important;border-radius:7px!important;background-color:var(--ds-surface-2)!important;color:var(--ds-text-2)!important;font-size:11px!important;line-height:20px!important;opacity:1!important;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select.channel-category-quick:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select.channel-category-quick:focus{border-color:var(--ds-brand)!important;color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select.channel-category-quick:disabled{opacity:.55!important;cursor:wait}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-group-add{flex:0 0 auto;color:var(--ds-brand)!important;font-size:11px!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table .category-empty-row td{background:var(--ds-surface-1)!important;border-bottom:0!important;padding:0 14px 12px!important;position:static!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-empty-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:14px 18px;border:1px dashed var(--ds-border);border-radius:10px;background:var(--ds-surface-2);color:var(--ds-text-3);font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-empty-hint button{background:none;border:0;color:var(--ds-brand);font-size:12px;cursor:pointer;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace{width:min(900px,calc(100vw - 32px))!important;max-height:min(850px,calc(100dvh - 40px))!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;background:var(--ds-surface-1)!important;color:var(--ds-text-1);border-radius:20px!important;outline:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace>.relay-modal-head{flex:0 0 auto;padding:22px 24px 16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace .relay-modal-head p{margin-top:7px;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-tabs{display:flex;flex:0 0 auto;gap:8px;padding:0 24px 15px;border-bottom:1px solid var(--ds-border)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:var(--ds-surface-2);color:var(--ds-text-2);font-size:13px;font-weight:650;min-height:40px;padding:8px 20px;border-radius:10px;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-tabs button[aria-selected="true"]{background:var(--ds-brand-soft);color:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-tabs span{font-size:11px;font-variant-numeric:tabular-nums;opacity:.72}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px;flex:1 1 auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-create-form{display:grid!important;grid-template-columns:minmax(120px,.7fr) minmax(160px,1fr) auto;align-items:end;gap:12px;padding:16px;border:1px solid var(--ds-border);border-radius:13px;background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace label{font-size:12px;color:var(--ds-text-2);font-weight:600}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-create-form label,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-assignment-target>label{display:flex;flex-direction:column;gap:7px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace input:not([type="checkbox"]),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace select{height:40px!important;min-height:40px!important;min-width:0;padding:8px 11px!important;border:1px solid var(--ds-border)!important;border-radius:9px!important;background-color:var(--ds-surface-1)!important;color:var(--ds-text-1)!important;font-size:13px!important;box-shadow:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace input:not([type="checkbox"]):focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace select:focus{border-color:var(--ds-brand)!important;outline:2px solid var(--ds-brand-soft);outline-offset:1px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace input[type="checkbox"]{width:17px!important;height:17px!important;min-height:0!important;margin:0!important;flex:0 0 17px;accent-color:var(--ds-brand);cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-note{font-size:12px;color:var(--ds-text-3);margin:16px 0 12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-list{display:grid;gap:10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-item{padding:14px;border:1px solid var(--ds-border);border-radius:13px;background:var(--ds-surface-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-main{display:grid;grid-template-columns:36px minmax(140px,1fr) minmax(130px,.8fr) auto;align-items:center;gap:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-main>label{display:flex;align-items:center;gap:8px;white-space:nowrap;min-width:0;font-size:11px;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-main input{width:100%;min-width:0!important;text-align:left!important;font-size:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-count{font-size:11px;color:var(--ds-text-3);white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-delete{color:var(--ds-danger)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-assignment-target{display:flex;gap:12px;align-items:end;padding:15px 16px;border:1px solid color-mix(in srgb,var(--ds-brand) 25%,var(--ds-border));border-radius:13px;background:var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-assignment-target>label{flex:1;font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-assignment-target select{width:100%;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-filters{display:flex;gap:10px;margin:16px 0 12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-filters input{flex:1;width:55%;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-filters select{max-width:40%;min-width:120px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:10px;color:var(--ds-text-3);font-size:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-summary label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:500}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-summary>span{margin-left:auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-summary button{padding:3px 0;background:none;border:0;color:var(--ds-brand);font-size:11px;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-list{display:grid;gap:6px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member{display:flex!important;align-items:center;gap:12px;padding:12px 14px!important;margin:0!important;border:1px solid var(--ds-border);border-radius:10px;cursor:pointer;background:var(--ds-surface-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member:hover{background:var(--ds-surface-2)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member.is-selected{background:var(--ds-brand-soft);border-color:color-mix(in srgb,var(--ds-brand) 40%,var(--ds-border))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-copy strong{font-size:13px;font-weight:650;overflow-wrap:anywhere;line-height:1.5;color:var(--ds-text-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-copy small{font-size:10px;color:var(--ds-text-3);font-variant-numeric:tabular-nums}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-current{max-width:30%;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:500;color:var(--ds-text-3);background:var(--ds-surface-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace [hidden],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table [hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-footer{display:flex;align-items:center;gap:10px;padding:16px 24px!important;border-top:1px solid var(--ds-border);flex:0 0 auto;background:var(--ds-surface-1)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-footer>span{flex:1;font-size:11px;line-height:1.6;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-footer>.btn{white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-category-saving .category-workspace-body,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-category-saving .category-workspace-tabs,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-category-saving [data-category-apply]{pointer-events:none;opacity:.6}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace button:focus-visible,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-empty-hint button:focus-visible{outline:2px solid var(--ds-brand);outline-offset:2px}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px)!important;border-radius:15px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace>.relay-modal-head{padding:18px 16px 12px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-tabs{padding:0 16px 12px;gap:6px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-tabs button{flex:1;padding:8px 12px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-body{padding:14px 16px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-create-form{grid-template-columns:1fr!important;padding:12px;gap:10px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-create-form>.btn{width:100%}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-item{padding:12px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-main{grid-template-columns:30px minmax(0,1fr);gap:8px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-icon{grid-column:2}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-count{grid-column:2}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-actions{gap:5px;flex-wrap:wrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-actions>.btn{padding:6px 8px!important;font-size:11px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-order-actions{gap:4px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-order-actions button{width:27px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-assignment-target{padding:12px;gap:8px;flex-wrap:wrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-assignment-target>label{min-width:150px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-filters{gap:7px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-filters select{min-width:90px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member{padding:10px!important;gap:9px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-copy strong{font-size:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-member-current{max-width:30%;font-size:10px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-footer{padding:12px 16px!important;flex-wrap:wrap;gap:8px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-footer>span{flex:1 1 100%;font-size:10px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace-footer>[data-category-apply]{flex:1}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-empty-hint{flex-wrap:wrap;min-height:76px;padding:12px;font-size:11px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select.channel-category-quick{max-width:140px!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-name-with-category{display:flex;flex:0 1 auto;min-width:180px;max-width:460px;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-one-line .channel-name-with-category .channel-name-text{flex:0 1 auto!important;min-width:0!important;max-width:320px!important;line-height:1.5!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:6px;max-width:116px;min-width:64px;min-height:28px;margin:0;padding:4px 8px;border:1px solid color-mix(in srgb,var(--ds-brand) 16%,var(--ds-border));border-radius:8px;background:color-mix(in srgb,var(--ds-brand-soft) 50%,var(--ds-surface-1));color:var(--ds-brand);font-family:inherit;font-size:12px;font-weight:550;line-height:18px;white-space:nowrap;cursor:pointer;vertical-align:middle;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,transform .1s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip>svg{flex:0 0 12px;opacity:.7;transition:transform .14s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip.is-uncategorized{background:var(--ds-surface-2);border-color:var(--ds-border);color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip[aria-expanded="true"]{background:var(--ds-brand-soft);border-color:color-mix(in srgb,var(--ds-brand) 48%,var(--ds-border));color:var(--ds-brand)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip[aria-expanded="true"]>svg{transform:rotate(180deg)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip:focus-visible{outline:2px solid var(--ds-brand);outline-offset:2px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip:active:not(:disabled){transform:translateY(1px)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip:disabled{opacity:.6;cursor:wait}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip[hidden],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select.channel-category-quick[hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover{position:fixed;z-index:980;display:flex;flex-direction:column;box-sizing:border-box;width:304px;padding:8px;border:1px solid var(--ds-border);border-radius:14px;background:var(--ds-surface-1);color:var(--ds-text-1);box-shadow:0 12px 36px rgba(20,24,40,.13),0 2px 6px rgba(20,24,40,.04);overflow:auto;overscroll-behavior:contain;animation:channel-category-popover-in .13s ease-out}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover [hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-head{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:8px;padding:6px 6px 12px;font-size:13px;font-weight:650}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-head small{font-size:11px;font-weight:400;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover input.channel-category-popover-search{box-sizing:border-box;flex:0 0 auto;width:100%;min-width:0;height:38px;min-height:38px;margin:0 0 6px;padding:8px 11px;border:1px solid var(--ds-border);border-radius:8px;background:var(--ds-surface-2);color:var(--ds-text-1);font-family:inherit;font-size:13px;line-height:20px;outline:none;transition:border-color .14s ease,box-shadow .14s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover input.channel-category-popover-search:focus{border-color:color-mix(in srgb,var(--ds-brand) 52%,var(--ds-border));box-shadow:0 0 0 2px var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-options{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;max-height:280px;gap:2px;overflow-y:auto;overscroll-behavior:contain;scroll-padding:3px;padding:3px 0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-option{display:flex;flex:0 0 auto;align-items:center;gap:10px;width:100%;min-height:40px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:var(--ds-text-2);font-family:inherit;font-size:13px;line-height:20px;text-align:left;cursor:pointer;transition:background-color .12s ease,color .12s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-name{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-icon{display:flex;align-items:center;justify-content:center;position:relative;flex:0 0 22px;width:22px;height:22px;font-size:17px;overflow:hidden;border-radius:6px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-icon img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-icon i{position:absolute;font-style:normal;font-size:14px;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-check{flex:0 0 15px;visibility:hidden;color:var(--ds-brand);font-size:14px;font-weight:700}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-option[aria-selected="true"]{color:var(--ds-brand);font-weight:600}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-option[aria-selected="true"] .channel-category-popover-check{visibility:visible}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-option:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-option.is-highlighted{background:var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-option:active{background:color-mix(in srgb,var(--ds-brand) 15%,var(--ds-surface-1))}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-empty{margin:0;padding:22px 10px;text-align:center;font-size:13px;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-manage{flex:0 0 auto;min-height:40px;margin-top:6px;padding:10px;border:0;border-top:1px solid var(--ds-border);border-radius:0 0 8px 8px;background:transparent;color:var(--ds-brand);font-family:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer;transition:background-color .12s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-manage:hover{background:var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover-manage:focus-visible{outline:2px solid var(--ds-brand);outline-offset:-2px}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover{box-shadow:0 12px 36px rgba(0,0,0,.32)}
@keyframes channel-category-popover-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel].form-card{padding:14px!important;border:1px solid var(--ds-border)!important;border-radius:12px!important;box-shadow:0 2px 5px rgba(20,24,40,.02),0 8px 24px rgba(20,24,40,.035)!important;font-size:12px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel]{transition:opacity .14s ease!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel].is-panel-loading{opacity:.82;transform:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel].is-panel-loading:after{inset:0 16px auto!important;height:2px;border-radius:2px;background:var(--ds-brand)!important;animation:channel-editor-loading .8s ease-in-out infinite alternate;transform-origin:left center}
@keyframes channel-editor-loading{from{transform:scaleX(.12);opacity:.35}to{transform:scaleX(1);opacity:.85}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>.card-head{padding:0 0 11px!important;margin-bottom:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>.card-head h2{font-size:17px!important;font-weight:700!important;line-height:1.4!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>.card-head p{margin-top:6px!important;font-size:12px!important;line-height:1.5!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor]{gap:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.form-section{padding:12px 0 2px!important;border-bottom:0!important;gap:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .form-section-head{border:0!important;padding:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .form-section-head h3,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-head strong,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirects-head strong{font-size:13px!important;font-weight:650!important;line-height:1.5!important;letter-spacing:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .form-section-head p,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] label small,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-head small,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirects-head small{font-size:11px!important;line-height:1.5!important;font-weight:400!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .form-section-head p{margin-top:4px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .form-section-{display:grid;gap:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] label{font-size:12px!important;font-weight:600!important;line-height:1.5!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] label:not(.switch-line){gap:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] input:not([type="checkbox"]):not([type="hidden"]),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] textarea{box-sizing:border-box;min-height:36px!important;border:1px solid var(--ds-border)!important;border-radius:10px!important;padding:7px 9px!important;background:var(--ds-surface-1)!important;color:var(--ds-text-1)!important;font-size:12px!important;font-weight:450!important;line-height:20px!important;letter-spacing:0!important;box-shadow:0 1px 2px rgba(20,24,40,.015)!important;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] input:not([type="checkbox"]):hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] select:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] textarea:hover{border-color:var(--ds-border-strong)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] input:not([type="checkbox"]):focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] select:focus,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] textarea:focus{outline:none!important;border-color:color-mix(in srgb,var(--ds-brand) 64%,var(--ds-border))!important;box-shadow:0 0 0 3px var(--ds-brand-soft)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] input::placeholder,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] textarea::placeholder{font-weight:400!important;color:var(--ds-text-3)!important;opacity:.72}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] input.mono{font-size:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.model-redirects{padding:11px!important;border:1px solid var(--ds-divider)!important;border-radius:12px!important;background:color-mix(in srgb,var(--ds-surface-2) 58%,var(--ds-surface-1))!important;gap:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-head{flex-wrap:wrap;gap:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-head>div:first-child{flex:1 1 120px;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-head-actions{flex:0 1 auto;flex-wrap:wrap;gap:7px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-count{font-size:11px!important;padding:5px 8px!important;border:0!important;border-radius:6px!important;background:var(--ds-surface-3)!important;color:var(--ds-text-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-toolbar{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;gap:9px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-selected{min-height:38px!important;max-height:116px!important;padding:8px!important;border:0!important;border-radius:9px!important;background:var(--ds-surface-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-placeholder,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-empty{font-size:12px!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip{border-color:transparent!important;padding:3px 5px!important;gap:4px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip span,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-option span{font-size:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip small,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-option small,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-option i{font-size:10.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-option{min-height:34px!important;padding:7px 9px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-dropdown{border-radius:12px!important;box-shadow:0 8px 24px rgba(20,24,40,.1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-discovery-status{font-size:11px!important;line-height:1.5!important;padding:0 2px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-discovery-status.success{color:var(--ds-success)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-discovery-status.loading{color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-discovery-status.error{color:var(--ds-danger)!important;background:var(--ds-danger-soft)!important;padding:7px 9px!important;border-radius:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirects-head{gap:10px!important;align-items:flex-start!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirect-empty{padding:10px 8px!important;font-size:11px!important;border:0!important;background:var(--ds-surface-1)!important;border-radius:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirect-labels,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirect-row{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 34px!important;gap:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirect-labels{font-size:10.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirect-row{grid-template-rows:34px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] .model-redirect-row input[data-redirect-request-model],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] .model-redirect-row input[data-redirect-upstream-model]{height:34px!important;min-height:34px!important;font-size:12px!important;padding:8px!important;line-height:18px!important;letter-spacing:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirect-row .model-redirect-arrow{width:18px!important;background:transparent!important;font-size:13px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirect-row .model-redirect-remove{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;font-size:10.5px!important;border-radius:7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.switch-line{padding:9px 11px!important;background:var(--ds-surface-2)!important;border:1px solid var(--ds-divider)!important;border-radius:11px!important;min-height:50px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .switch-line strong{font-size:12px!important;font-weight:600!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]{transition:background-color .16s ease,border-color .16s ease!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.switch-line>input[type="checkbox"]:before{transition:transform .16s ease!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings{border:1px solid var(--ds-border)!important;border-radius:12px!important;background:var(--ds-surface-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary{padding:10px 11px!important;min-height:50px!important;transition:background-color .14s ease}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary strong{font-size:12px!important;font-weight:600!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>summary small{font-size:11px!important;line-height:1.6!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings>.form-section{padding:12px 10px!important;gap:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.channel-advanced-settings .form-section-head h3{font-size:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .category-select-trigger{min-height:36px!important;border-radius:10px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .category-select-option-copy strong{font-size:12px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .btn{min-height:34px!important;padding:6px 10px!important;border-radius:9px!important;font-size:12px!important;line-height:20px!important;font-weight:600!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .inline-input-action .btn{min-height:36px!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .btn.primary{box-shadow:0 3px 8px color-mix(in srgb,var(--ds-brand) 16%,transparent)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .btn.ghost,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .btn.secondary{border-color:var(--ds-border)!important;background:var(--ds-surface-1)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .btn.ghost:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .btn.secondary:hover{background:var(--ds-brand-soft)!important;border-color:color-mix(in srgb,var(--ds-brand) 30%,var(--ds-border))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] button{touch-action:manipulation;transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .1s ease!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] button:hover{transform:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] button:active:not(:disabled){transform:translateY(1px)!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] button:focus-visible{outline:2px solid var(--ds-brand)!important;outline-offset:2px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] button:disabled{opacity:.5;cursor:not-allowed;transform:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-clear-all{min-height:30px!important;height:auto!important;padding:4px 8px!important;font-size:11px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirect-add{min-height:34px!important;padding:6px 9px!important;font-size:11px!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .channel-editor-save-dock{margin:0!important;padding:6px!important;border:1px solid var(--ds-border)!important;border-radius:10px!important;background:var(--ds-surface-1)!important;box-shadow:0 -3px 14px rgba(20,24,40,.04),0 6px 18px rgba(20,24,40,.07)!important;backdrop-filter:none;-webkit-backdrop-filter:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .channel-editor-save-dock>.btn.primary.full{min-height:38px!important;font-size:12px!important;border-radius:9px!important;box-shadow:0 3px 8px color-mix(in srgb,var(--ds-brand) 18%,transparent)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .danger-zone{margin-top:12px!important;padding-top:10px!important;border-top:1px solid var(--ds-divider)!important;text-align:center}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .danger-zone button{font-size:11px!important}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-name-with-category{gap:8px;min-width:170px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip{max-width:106px;min-height:32px}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel].form-card{padding:11px!important;border-radius:13px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.model-picker,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.model-redirects{padding:12px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .channel-editor-save-dock{margin:0!important}
}
@media(prefers-reduced-motion:reduce){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover{animation:none!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel].is-panel-loading:after{transition:none!important;animation:none!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip>svg,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-popover input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] input,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] textarea,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] summary,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] summary i,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] input:before{transition:none!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-chip:active:not(:disabled),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] button:active:not(:disabled){transform:none!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .main{padding-right:12px!important;padding-left:16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .main-inner{width:100%!important;max-width:none!important;margin:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr) 320px!important;gap:12px!important;align-items:start!important;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>.channel-list-card,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel]{min-width:0!important;width:100%!important;box-sizing:border-box}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.channel-table-wrap{width:100%;max-width:100%;min-width:0;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table{width:100%!important;min-width:1080px!important;table-layout:auto!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table [data-channel-column="actions"]{box-sizing:border-box;width:232px!important;min-width:232px!important;position:sticky!important;right:0!important;z-index:5;padding-left:10px!important;padding-right:10px!important;background:var(--ds-surface-1)!important;border-left:1px solid var(--ds-divider)!important;box-shadow:-5px 0 10px -9px rgba(20,24,40,.32)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table thead [data-channel-column="actions"]{z-index:6;background:var(--ds-surface-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table .channel-actions-inner{width:100%!important;min-width:0;gap:4px!important;flex-wrap:nowrap!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table .channel-actions-inner>a,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table .channel-actions-inner>button{flex:0 0 auto!important;min-width:0!important;padding:0 8px!important;height:32px!important;min-height:32px!important;font-size:11.5px!important;line-height:1!important;border-radius:7px!important;white-space:nowrap!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row:hover>[data-channel-column="actions"]{background:var(--ds-surface-2)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table tbody .channel-compact-row.is-active>[data-channel-column="actions"]{background:var(--ds-brand-soft)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table [data-channel-column="actions"][hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] input:not([type="checkbox"]):not([type="hidden"]),:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] textarea{border-radius:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-head-actions{width:100%;justify-content:space-between!important;gap:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip{max-width:100%;min-width:0;gap:2px!important;padding:2px 4px!important;border-radius:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip-copy{min-width:0!important;min-height:26px!important;padding:3px 5px!important;gap:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip-copy>span{max-width:150px!important;font-size:11.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip-remove{width:24px!important;min-width:24px!important;height:26px!important;min-height:26px!important;padding:0!important;border-radius:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 88px!important;gap:7px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-toolbar .model-picker-search-wrap,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-toolbar .model-picker-fetch-btn{grid-column:1/-1!important;width:100%!important;min-width:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-toolbar .model-picker-type{grid-column:1!important;width:100%!important;min-width:0!important;height:36px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-toolbar .model-picker-add-btn{grid-column:2!important;width:100%!important;min-width:0!important;padding:6px!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-redirects-head{flex-wrap:wrap;row-gap:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] .model-redirect-row input[data-redirect-request-model],:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] .model-redirect-row input[data-redirect-upstream-model]{padding:6px!important;line-height:20px!important;font-size:11.5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] .channel-editor-save-dock{bottom:8px}
@media(max-width:1360px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{grid-template-columns:minmax(0,1fr)!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel]{position:static!important}
}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .main{padding-left:10px!important;padding-right:10px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout{gap:10px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip-copy,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .model-picker-chip-remove{min-height:30px!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.model-picker{padding:9px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected]{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;align-content:flex-start;gap:4px 3px!important;min-width:0;min-height:32px!important;max-height:126px!important;padding:3px 2px!important;overflow-x:hidden!important;overflow-y:auto!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected]>.model-picker-placeholder{align-self:center;padding:4px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected]>.model-picker-chip{display:inline-flex!important;flex:0 1 auto;align-items:center!important;gap:0!important;width:max-content!important;min-width:0!important;max-width:100%!important;min-height:24px!important;box-sizing:border-box;padding:0 1px 0 0!important;border-radius:6px!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected] .model-picker-chip-copy{display:flex!important;flex:0 1 auto;align-items:center;gap:0!important;width:auto;min-width:0!important;max-width:100%!important;min-height:24px!important;height:auto!important;box-sizing:border-box;padding:3px 1px 3px 4px!important;overflow:visible;white-space:normal;border-radius:5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected] .model-picker-chip-copy>span{display:block;width:auto;min-width:0;max-width:none!important;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:normal;font-family:Arial,"Microsoft YaHei",sans-serif!important;font-size:var(--bound-model-font-size,11px)!important;font-weight:400!important;font-style:normal!important;line-height:16px!important;letter-spacing:0!important;text-transform:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected] .model-picker-chip-copy>small{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected] .model-picker-chip-remove{flex:0 0 16px;align-self:center;width:16px!important;min-width:16px!important;height:24px!important;min-height:24px!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;font-size:12px!important;line-height:1!important}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected] .model-picker-chip-copy,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-picker-selected] .model-picker-chip-remove{min-height:30px!important}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirects-head{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:center!important;column-gap:8px!important;row-gap:5px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirects-head>div{display:contents}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirects-head strong{grid-column:1;grid-row:1;min-width:0;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirects-head small{grid-column:1/-1;grid-row:2;margin:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirects-head>.model-redirect-add{grid-column:2;grid-row:1;justify-self:end;align-self:center;width:auto!important;min-height:28px!important;margin:0!important;padding:4px 8px!important;border-radius:7px!important;font-size:11px!important;line-height:18px!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] [data-model-redirects]{padding:9px!important;gap:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-labels,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-row{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 24px!important;gap:4px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-labels{padding:0!important;font-size:10px!important;font-weight:500!important;line-height:16px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-labels>span{padding-left:5px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-rows{gap:6px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-row{grid-template-rows:30px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] .model-redirect-row input[data-redirect-request-model],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-channel-editor] .model-redirect-row input[data-redirect-upstream-model]{height:30px!important;min-height:30px!important;padding:4px 5px!important;border-radius:6px!important;font-family:Arial,"Microsoft YaHei",sans-serif!important;font-size:var(--redirect-model-font-size,11px)!important;font-weight:400!important;font-style:normal!important;line-height:20px!important;letter-spacing:0!important;text-transform:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-row .model-redirect-arrow{width:12px!important;height:24px!important;font-size:12px!important;font-weight:400!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-row .model-redirect-remove{width:24px!important;min-width:24px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:5px!important;font-size:16px!important;font-weight:400!important;line-height:1!important;background:transparent!important;color:var(--ds-text-3)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-row .model-redirect-remove:hover,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] [data-model-redirects] .model-redirect-row .model-redirect-remove:focus-visible{background:var(--ds-danger-soft)!important;color:var(--ds-danger)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-item{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-main,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-actions{grid-column:2;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-drag-handle{grid-column:1;grid-row:1 / span 2;align-self:stretch;display:flex;align-items:center;justify-content:center;width:24px;min-height:36px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--ds-text-3);cursor:grab;touch-action:none;user-select:none;transition:background .15s,color .15s}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-drag-handle:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-drag-handle:focus-visible{color:var(--ds-brand);background:var(--ds-brand-soft)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-drag-handle:focus-visible{outline:2px solid var(--ds-brand);outline-offset:2px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-drag-handle:active{cursor:grabbing}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-item.is-category-drag-source{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-sort-placeholder{box-sizing:border-box;min-height:70px;border:1px dashed var(--ds-brand);border-radius:13px;background:var(--ds-brand-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ds-brand) 12%,transparent)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-sort-ghost{position:fixed;z-index:100000;display:flex;align-items:center;gap:10px;width:260px;max-width:calc(100vw - 16px);padding:10px 12px;border:1px solid var(--ds-brand);border-radius:12px;background:var(--ds-surface-1);color:var(--ds-text-1);box-shadow:0 12px 36px rgba(20,20,45,.18);pointer-events:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-sort-ghost>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-category-sorting,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-category-sorting *{cursor:grabbing!important;user-select:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-list[aria-busy="true"] .category-drag-handle{opacity:.4;cursor:wait}
@media(max-width:640px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-settings-item{grid-template-columns:26px minmax(0,1fr);column-gap:7px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-drag-handle{width:26px}}
@media(prefers-reduced-motion:reduce){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-drag-handle{transition:none}}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card{--channel-list-gutter:10px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.channel-list-head{padding:16px var(--channel-list-gutter) 14px!important;border-bottom:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.channel-category-toolbar{display:flex;flex-direction:row!important;flex-wrap:wrap;align-items:center!important;gap:10px!important;box-sizing:border-box;width:100%;min-width:0;margin:0!important;padding:10px var(--channel-list-gutter)!important;border:0!important;border-bottom:1px solid var(--ds-divider)!important;border-radius:9px 9px 0 0!important;background:var(--ds-surface-2)!important;box-shadow:none!important;overflow:visible!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.channel-table-wrap{margin:0!important;border:0!important;border-radius:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar-main{flex:1 1 auto;display:flex;flex-direction:row!important;align-items:center!important;gap:10px!important;width:auto!important;min-width:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .channel-category-select-label{display:flex;flex:0 1 auto;align-items:center;gap:8px;width:auto;min-width:0;font-size:11px;font-weight:500;line-height:18px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .category-visual-select{flex:0 1 230px;width:230px;min-width:160px;max-width:100%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .category-select-trigger{box-sizing:border-box;height:36px!important;min-height:36px!important;padding:4px 9px!important;border-radius:8px!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .category-select-current>.category-select-option-icon{width:24px;height:24px;flex-basis:24px;border-radius:6px;font-size:13px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .category-select-current .category-select-option-copy strong{font-size:11.5px;line-height:14px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .category-select-current .category-select-option-copy small{font-size:9px;line-height:11px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar [data-channel-category-manage],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .channel-column-settings-trigger{display:inline-flex!important;align-items:center!important;justify-content:center;height:36px!important;min-height:36px!important;box-sizing:border-box;padding:0 10px!important;border-radius:8px!important;font-size:11.5px!important;line-height:18px!important;white-space:nowrap}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .channel-toolbar-secondary-actions{flex:0 0 auto;width:auto!important;margin-left:auto;align-items:center;justify-content:flex-end}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .channel-column-settings{flex:0 0 auto}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table thead{background:var(--ds-surface-2)!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table thead th{height:36px!important;padding:8px var(--channel-list-gutter)!important;border-top:0!important;border-bottom:1px solid var(--ds-border)!important;background:var(--ds-surface-2)!important;box-shadow:none!important;font-size:10.5px!important;font-weight:600!important;line-height:19px!important;letter-spacing:0!important;vertical-align:middle}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table thead th[data-channel-column="actions"]{border-left:0!important;box-shadow:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-table .channel-category-group-row>td{padding-left:var(--channel-list-gutter)!important;padding-right:var(--channel-list-gutter)!important}
@media(max-width:640px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-list-card>.channel-category-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px!important}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar-main{display:contents}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .channel-category-select-label{grid-column:1/-1;width:100%;min-width:0}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .category-visual-select{flex:1 1 auto;width:auto;min-width:0}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar [data-channel-category-manage]{grid-column:1;justify-self:start}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-category-toolbar .channel-toolbar-secondary-actions{grid-column:2;justify-self:end;margin-left:0}
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row>.model-redirect-field{
  display:flex;position:relative;grid-row:1!important;align-self:stretch;
  min-width:0;min-height:0;box-sizing:border-box;margin:-2px;padding:2px;
  border:0;border-radius:0;background:transparent;cursor:text;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row>.model-redirect-field-request{grid-column:1!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row>.model-redirect-field-upstream{grid-column:3!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor] .model-redirect-row>.model-redirect-field>input{flex:1 1 auto;min-width:0!important;cursor:text}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .channel-editor-save-dock>.channel-editor-delete-action{
  margin-top:8px!important;
  padding-top:8px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] .channel-editor-delete-action>button{
  min-height:38px;
  width:100%;
}
html[data-theme="dark"] :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .failure-model-trigger>.metric-icon{background:#3b301e!important;color:#f0bd63!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-result.warn{border-color:#f3d49b;background:#fffaf0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel]{
  height:calc(100vh - var(--channel-editor-top,132px) - 16px);
  height:calc(100dvh - var(--channel-editor-top,132px) - 16px);
  max-height:calc(100vh - 28px);
  max-height:calc(100dvh - 28px);
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
@media(min-width:1361px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel]{display:flex;flex-direction:column}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>.card-head{flex-shrink:0}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>[data-channel-editor]{display:flex;flex-direction:column;flex:1 0 auto}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel]>:is([data-channel-editor],.channel-editor-scroll)>*{flex-shrink:0}
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) [data-channel-editor-panel] :is([data-channel-editor],.channel-editor-scroll)>.channel-editor-save-dock{margin-top:auto!important}
}
@media(max-width:1360px){
  :is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channels-layout>[data-channel-editor-panel]{
    height:auto;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 32px);
  }
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-toolbar>label{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-toolbar>label>.relay-select{
  margin:0;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-toolbar input[name="test_prompt"],
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-toolbar .relay-select-trigger,
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-test-modal-panel .channel-test-toolbar>label>select:not(.relay-control-native){
  box-sizing:border-box;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:9px 12px!important;
  border-radius:9px!important;
}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .file-parser-side>.card{min-width:0}

/* admin-controls.css */
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-chat-page{--ds-brand:var(--cc-accent);--ds-brand-soft:var(--cc-accent-soft);--ds-focus:var(--cc-accent-soft);--ds-surface-1:var(--cc-panel);--ds-surface-2:var(--cc-panel-2);--ds-surface-3:var(--cc-panel-3);--ds-surface-floating:var(--cc-panel);--ds-border:var(--cc-border);--ds-border-strong:var(--cc-border-strong);--ds-text-1:var(--cc-text);--ds-text-2:var(--cc-text);--ds-text-3:var(--cc-muted)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-control{position:relative;display:block;min-width:0;max-width:100%;color:var(--ds-text-1);font-size:12px;font-weight:500}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input.relay-control-native,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) select.relay-control-native{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;pointer-events:none!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;overflow:hidden!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-trigger,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-upload-trigger{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:7px 10px;border:1px solid var(--ds-border)!important;border-radius:8px;background:var(--ds-surface-1)!important;color:var(--ds-text-1)!important;font:inherit;line-height:20px;text-align:left;cursor:pointer;transition:border-color .14s,box-shadow .14s}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-trigger:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-upload-trigger:hover{border-color:var(--ds-border-strong)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-trigger:focus-visible,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-upload-trigger:focus-visible,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-datetime-input:focus-visible{outline:none!important;border-color:var(--ds-brand)!important;box-shadow:0 0 0 3px var(--ds-focus,var(--ds-brand-soft))!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-trigger:disabled,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-upload-trigger:disabled,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-datetime-input:disabled{opacity:.5;cursor:not-allowed}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-arrow{flex:none;color:var(--ds-text-3);font-size:17px;line-height:1}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-open>.relay-select-trigger .relay-select-arrow{transform:rotate(180deg)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu{box-sizing:border-box;position:fixed;z-index:2147483000;overflow:auto;overscroll-behavior:contain;padding:5px;border:1px solid var(--ds-border-strong);border-radius:10px;background:var(--ds-surface-floating,var(--ds-surface-1));color:var(--ds-text-1);box-shadow:0 12px 36px rgba(15,23,42,.14);font-family:inherit;font-size:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu[hidden]{display:none!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu .relay-select-option{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:8px 10px;margin:0;border:0!important;border-radius:6px;background:transparent!important;color:var(--ds-text-1)!important;font:inherit;text-align:left;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu .relay-select-option>span:first-child{min-width:0;overflow-wrap:anywhere}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu .relay-select-option:hover,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu .relay-select-option.is-active{background:var(--ds-surface-3)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu .relay-select-option.is-selected{background:var(--ds-brand-soft)!important;color:var(--ds-brand)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu .relay-select-option:disabled{opacity:.4;cursor:not-allowed}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-check{opacity:0;color:var(--ds-brand);flex:none}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .is-selected>.relay-select-check{opacity:1}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-group{padding:9px 10px 5px;color:var(--ds-text-3);font-size:10px;font-weight:700}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label>.relay-select,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .stack-form label>.relay-upload{margin-top:7px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar>.relay-select{min-width:120px;flex:0 1 160px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-workspace label>.relay-select{margin-top:5px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .parser-overflow-field>.relay-select{grid-column:1}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-picker-toolbar>.relay-select{min-width:170px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-upload{display:flex;align-items:center;gap:10px;padding:6px;border:1px dashed var(--ds-border-strong);border-radius:9px;background:var(--ds-surface-2)}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-upload-trigger{width:auto;flex:none;min-height:32px;font-size:11px;font-weight:600}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-upload-name{min-width:0;color:var(--ds-text-3);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-datetime{margin-top:7px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-datetime-input{box-sizing:border-box;display:block;width:100%;min-height:36px;padding:7px 10px!important;margin:0!important;border:1px solid var(--ds-border)!important;border-radius:8px;background:var(--ds-surface-1)!important;color:var(--ds-text-1)!important;font:inherit}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-datetime-input[aria-invalid="true"]{border-color:var(--ds-danger,#dc4b5e)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-datetime-hint{display:block;margin-top:5px;font-size:10px;font-weight:400;color:var(--ds-text-3)}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin- input[type="checkbox"]:not([role="switch"]):not(.switch-line>input):not(.driver-master-switch input):not(.content-search-toggle input):not(.file-format-option input):not([data-model-binding-checkbox]){appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;display:inline-grid!important;place-content:center!important;vertical-align:middle!important;position:relative!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;flex:0 0 17px!important;padding:0!important;margin:0!important;border:1px solid var(--ds-border-strong)!important;border-radius:5px!important;background:var(--ds-surface-1)!important;cursor:pointer;transition:background-color .14s,border-color .14s}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin- input[type="checkbox"]:not([role="switch"]):not(.switch-line>input):not(.driver-master-switch input):not(.content-search-toggle input):not(.file-format-option input):not([data-model-binding-checkbox]):checked,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin- input[type="checkbox"]:not(.switch-line>input):not(.driver-master-switch input):not(.content-search-toggle input):indeterminate{background:var(--ds-brand)!important;border-color:var(--ds-brand)!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin- input[type="checkbox"]:not([role="switch"]):not(.switch-line>input):not(.driver-master-switch input):not(.content-search-toggle input):not(.file-format-option input):not([data-model-binding-checkbox]):checked:after{content:"";position:absolute;width:8px;height:4px;border:solid #fff;border-width:0 0 2px 2px;transform:rotate(-45deg);left:3px;top:4px}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .admin- input[type="checkbox"]:not(.switch-line>input):not(.driver-master-switch input):not(.content-search-toggle input):indeterminate:after{content:"";position:absolute;left:3px;top:6px;width:9px;height:2px;background:#fff;border:0;transform:none}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) input[type="file"]::file-selector-button{font:inherit;color:var(--ds-text-1);background:var(--ds-surface-2);border:1px solid var(--ds-border);border-radius:7px;padding:7px 10px;cursor:pointer}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-bulk-category-toolbar{display:flex;align-items:center;gap:10px 12px;flex-wrap:wrap;padding:12px 15px;margin:0 0 14px;border:1px solid var(--ds-border);border-radius:11px;background:var(--ds-surface-2);color:var(--ds-text-2);font-size:12px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-bulk-category-field{display:flex;align-items:center;gap:8px;min-width:0;margin-left:auto}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-bulk-category-field>.relay-select{min-width:165px;max-width:240px}
@media(max-width:640px){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-bulk-category-toolbar{gap:9px;padding:11px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-bulk-category-field{flex:1 1 100%;margin:0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-bulk-category-field>.relay-select{flex:1;max-width:none;min-width:0}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .filter-bar>.relay-select{width:100%;flex:1 1 100%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .parser-overflow-field>.relay-select{grid-column:1}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu .relay-select-option{min-height:40px}}
@media(forced-colors:active){:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-trigger,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-menu,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-upload-trigger{border-color:ButtonText!important}}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .category-select-option.is-active{outline:none;background:var(--ds-surface-3)!important}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-bulk-category-field>label{font-size:12px;color:var(--ds-text-3)}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-suggestion-detail{color:var(--ds-text-3);font-size:10px;white-space:nowrap}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-suggestion-menu .relay-select-option{align-items:flex-start;flex-direction:column;gap:3px}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-chat-page input[type="number"]{appearance:textfield;-moz-appearance:textfield}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-chat-page input[type="number"]::-webkit-inner-spin-button,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .channel-chat-page input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table th.model-bulk-checkbox-cell,:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table td.model-bulk-checkbox-cell{width:34px!important;min-width:34px!important;max-width:34px;padding-left:12px!important;padding-right:0!important}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table:has(.model-bulk-checkbox-cell) th:nth-child(2){width:31%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table:has(.model-bulk-checkbox-cell) th:nth-child(3){width:20%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table:has(.model-bulk-checkbox-cell) th:nth-child(4){width:29%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table:has(.model-bulk-checkbox-cell) th:nth-child(5){width:9%}:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table:has(.model-bulk-checkbox-cell) th:nth-child(6){width:11%}
:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .model-category-table .is-model-bulk-selected td{background:var(--ds-brand-soft)!important}

:is(.relay-channels,.relay-channel-modal,.relay-channel-floating) .relay-select-trigger[aria-invalid="true"]:focus-visible{border-color:var(--ds-danger,#dc4b5e)!important}
