/* Channel workspace: restrained row separators, compact controls and bounded dialogs. */
.relay-channels .channel-key-input {display:block;width:100%;min-width:0}
.relay-channels .channel-key-input>input {display:block;width:100%;min-width:0;box-sizing:border-box}
.relay-channels {--channel-row-rule:#e4e7ed}
html[data-theme=dark] .relay-channels {--channel-row-rule:#353535}
.relay-channels,.relay-health-dialog {
 --channel-good:#24754f;--channel-good-fill:#eaf5ef;
 --channel-warning:#8b5a13;--channel-warning-fill:#fff4df;
 --channel-bad:#b4233b;--channel-bad-fill:#fff1f3;
}
html[data-theme=dark] :is(.relay-channels,.relay-health-dialog) {
 --channel-good:#82d7ad;--channel-good-fill:#193b2d;
 --channel-warning:#efbd67;--channel-warning-fill:#3a2f1e;
 --channel-bad:#ff9caa;--channel-bad-fill:#3b232c;
}
.relay-channels .channels-layout>.channel-list-card {
 border:0!important;box-shadow:var(--admin-card-shadow,none)!important;background:var(--ds-surface-1)!important;
}
.relay-channels .channel-table {border-collapse:separate!important;border-spacing:0!important}
.relay-channels .channel-table .channel-compact-row>td {
 border:0!important;border-bottom:1px solid var(--channel-row-rule)!important;
 background:var(--ds-surface-1)!important;padding-block:10px!important;
}
.relay-channels .channel-table .channel-compact-row:is(:hover,.is-selected)>td {
 background:var(--ds-surface-2)!important;
}
body.admin-mode .adm .relay-channels .channel-table tr.is-selected td[data-channel-column="actions"] {background:var(--ds-surface-2)!important}
.relay-channels .channel-table .channel-compact-row.is-selected>td:first-child {
 box-shadow:inset 2px 0 var(--ds-brand)!important;
}
.relay-channels .channel-table thead th,
.relay-channels .channel-category-toolbar {
 border:0!important;background:var(--ds-surface-1)!important;
}
.relay-channels .channel-table thead th {border-bottom:1px solid var(--channel-row-rule)!important}
.relay-channels .channel-table .channel-category-group-row>td {
 border:0!important;background:var(--ds-surface-1)!important;padding-block:20px 8px!important;
}
.relay-channels .channel-category-divider-line {display:none!important}
.relay-channels .channel-category-divider-title {
 border:0!important;box-shadow:none!important;background:transparent!important;padding:4px 0!important;
}
.relay-channels .channel-category-divider-title small {background:transparent!important}
.relay-channels .channel-category-group-actions {margin-left:auto}
.relay-channels .channel-category-group-actions .btn {
 border:0!important;box-shadow:none!important;background:transparent!important;color:var(--ds-text-3)!important;
}
.relay-channels .channel-category-group-actions .btn:hover {background:var(--ds-surface-2)!important;color:var(--ds-text-1)!important}
.relay-channels .channel-drag-handle {
 display:inline-flex!important;align-items:center;justify-content:center;
 box-sizing:border-box;flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;
 padding:0!important;border:0!important;border-radius:8px!important;
 background:transparent!important;color:var(--ds-text-3)!important;opacity:.55;cursor:grab;
}
.relay-channels .channel-drag-handle:is(:hover,:focus-visible) {opacity:1;background:var(--ds-surface-2)!important}
.relay-channels .channel-drag-handle:active {cursor:grabbing}
.relay-channels .channel-drag-handle svg {width:13px;height:13px;stroke-width:1.5}
.relay-channels .channel-table :is([data-channel-column="health"],[data-channel-column="status"]) {
 width:100px!important;min-width:100px!important;white-space:nowrap;padding-inline:10px!important;
}
.relay-channels .channel-table .channel-health-status::after {content:none!important;display:none!important}
.relay-channels .channel-table :is(.channel-health-status,.channel-status-toggle) {
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center;
 gap:5px!important;width:80px!important;min-width:80px!important;max-width:80px!important;
 height:30px!important;min-height:30px!important;padding:0 8px!important;
 font-size:11px!important;font-weight:550!important;line-height:1!important;
 white-space:nowrap!important;border:0!important;border-radius:8px!important;flex-shrink:0;
}
.relay-channels .channel-table .channel-health-status {cursor:pointer!important;transform:none!important}
.relay-channels .channel-table .channel-health-status::before {width:5px;height:5px;flex-basis:5px}
.relay-channels .channel-table :is(.channel-health-status,.channel-status-toggle).ok {background:var(--channel-good-fill)!important;color:var(--channel-good)!important}
.relay-channels .channel-table .channel-health-status.warn {background:var(--channel-warning-fill)!important;color:var(--channel-warning)!important}
.relay-channels .channel-table :is(.channel-health-status,.channel-status-toggle).bad {background:var(--channel-bad-fill)!important;color:var(--channel-bad)!important}
.relay-channels .channel-table .channel-health-status.muted {background:var(--ds-surface-3)!important;color:var(--ds-text-2)!important}
.relay-channels .channel-table .channel-health-status:focus-visible {outline:2px solid var(--ds-brand)!important;outline-offset:2px!important}
.relay-channels .channel-table .channel-actions-inner {justify-content:flex-end!important;gap:2px!important;background:transparent!important}
.relay-channels .channel-table .channel-actions-inner>button {font-weight:500!important}
.relay-channels .channel-category-toolbar {gap:12px!important;flex-wrap:wrap!important;align-items:center!important}
.relay-channels .channel-category-toolbar-main {min-width:0;flex:1 1 320px;gap:10px!important}
.relay-channels .channel-toolbar-secondary-actions {flex:0 0 auto;gap:6px!important}
.relay-channels .channel-toolbar-secondary-actions>.relay-select {width:116px!important;min-width:0!important}
.relay-channels .channel-column-settings-trigger {display:inline-flex!important;align-items:center;gap:5px;white-space:nowrap}

/* The editor owns one scroll area; its footer never covers a field. */
.relay-channels [data-channel-editor-panel] {display:flex!important;flex-direction:column!important;overflow:hidden!important}
body.admin-mode .relay-channels #channel-editor {overflow:hidden!important}
body.admin-mode .relay-channels #channel-form {flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;padding-bottom:0!important;gap:0!important}
.relay-channels .channel-editor-scroll {flex:1 1 auto!important;min-height:0!important;overflow:auto;display:flex;flex-direction:column;gap:18px;padding:0 2px 18px;scrollbar-width:thin}
.relay-channels .channel-editor-scroll>* {flex-shrink:0;min-width:0}
.relay-channels [data-channel-editor-panel]>.card-head {flex:none;align-items:flex-start;min-width:0}
.relay-channels [data-channel-editor-panel]>.card-head>div {min-width:0}
.relay-channels [data-channel-editor-panel] [data-channel-editor] {
 display:flex!important;flex-direction:column!important;min-height:0!important;overflow-y:auto!important;
 overflow-x:hidden!important;gap:18px!important;padding-bottom:0!important;scroll-padding-bottom:100px;
}
.relay-channels [data-channel-editor-panel] [data-channel-editor]>* {flex-shrink:0;min-width:0}
.relay-channels [data-channel-editor-panel] .model-picker-toolbar {
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;
}
.relay-channels [data-channel-editor-panel] .model-picker-search-wrap,
.relay-channels [data-channel-editor-panel] .model-picker-fetch-btn {grid-column:1/-1!important}
.relay-channels [data-channel-editor-panel] .model-picker-toolbar>.relay-select {min-width:0!important;width:100%!important;margin:0!important}
.relay-channels [data-channel-editor-panel] .model-picker-toolbar :is(input,.relay-select-trigger,.btn) {min-height:36px!important;height:36px!important;font-size:12px!important}
.relay-channels [data-channel-editor-panel] .model-picker-selected {max-height:136px!important;overflow-y:auto!important}
.relay-channels [data-channel-editor-panel] .inline-input-action {display:flex;align-items:center;gap:6px}
.relay-channels [data-channel-editor-panel] .inline-input-action input {flex:1;min-width:0!important;width:0!important}
.relay-channels [data-channel-editor-panel] .inline-input-action button {flex:none;padding-inline:9px!important}
.relay-channels [data-channel-editor-panel] .model-redirect-row {
 display:grid!important;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr) 24px!important;gap:5px!important;align-items:center!important;
}
.relay-channels [data-channel-editor-panel] .model-redirect-row :is(input,.model-redirect-field) {width:100%!important;min-width:0!important;font-size:11px!important}
.relay-channels [data-channel-editor-panel] .model-redirect-row input {padding:8px!important}
.relay-channels [data-channel-editor-panel] .model-redirect-remove {width:24px!important;min-width:24px!important;padding:0!important}
.relay-channels [data-channel-editor-panel] .channel-editor-save-dock {
 position:sticky!important;bottom:0!important;flex:none;z-index:3;
 margin-top:0!important;padding:10px 0 12px!important;background:var(--ds-surface-1)!important;border:0!important;
 box-shadow:0 -8px 12px -12px rgba(0,0,0,.2)!important;
}
body.admin-mode .relay-channels #channel-form .channel-editor-save-dock {position:static!important;inset:auto!important;margin-top:0!important;flex:none!important}
.relay-channels [data-channel-editor-panel] .channel-editor-save-dock .danger-zone {margin-top:8px!important;padding-top:0!important;border:0!important}

/* These dialogs use the application's actual dialog classes. */
body.admin-mode dialog:is(.relay-test-dialog,.relay-health-dialog,.relay-history-dialog) {
 box-sizing:border-box!important;width:min(820px,calc(100vw - 32px))!important;max-width:820px!important;
 max-height:min(820px,calc(100dvh - 40px))!important;margin:auto!important;padding:0!important;
 overflow:hidden!important;border:0!important;border-radius:16px!important;
 background:var(--paper)!important;color:var(--ink)!important;box-shadow:0 24px 80px -20px #0005!important;
}
body.admin-mode dialog:is(.relay-test-dialog,.relay-health-dialog,.relay-history-dialog)[open] {display:flex!important;flex-direction:column!important}
body.admin-mode dialog:is(.relay-test-dialog,.relay-health-dialog,.relay-history-dialog)>.dialog-head {
 position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;gap:16px!important;
 padding:20px 24px 10px!important;margin:0!important;border:0!important;flex:none;
}
body.admin-mode dialog:is(.relay-test-dialog,.relay-health-dialog,.relay-history-dialog)>.dialog-head h2 {
 display:block!important;min-width:0!important;margin:0!important;font-size:18px!important;line-height:1.4!important;overflow-wrap:anywhere;
}
body.admin-mode dialog:is(.relay-test-dialog,.relay-health-dialog,.relay-history-dialog)>.dialog-head .icon-btn {
 width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;
 margin-left:auto!important;padding:0!important;border:0!important;position:static!important;
}
body.admin-mode dialog.relay-test-dialog {width:min(700px,calc(100vw - 32px))!important;max-width:700px!important}
body.admin-mode dialog.relay-test-dialog>.dialog-head {padding-bottom:0!important}
.relay-test-dialog>.relay-modal-head {flex:none;padding:2px 24px 14px!important}
.relay-test-dialog>.relay-modal-head h2 {display:none!important}
.relay-test-dialog>.relay-modal-head p {margin:0!important;color:var(--muted);font-size:12px!important;line-height:1.65!important;overflow-wrap:anywhere}
.relay-test-dialog .channel-test-scroll-body {min-height:0!important;overflow:auto!important;padding:0 24px 20px!important;overscroll-behavior:contain}
.relay-test-dialog .channel-test-toolbar {display:grid!important;grid-template-columns:160px minmax(0,1fr)!important;gap:12px!important;margin:0 0 16px!important}
.relay-test-dialog .channel-test-toolbar>label {display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;font-size:12px!important}
.relay-test-dialog .channel-test-toolbar .relay-select {margin:0!important;width:100%!important}
.relay-test-dialog .channel-test-toolbar :is(input,.relay-select-trigger) {width:100%!important;min-height:38px!important;height:38px!important;font-size:12px!important;margin:0!important}
.relay-test-dialog .channel-test-model-head {display:flex!important;justify-content:space-between;align-items:center;gap:10px!important;margin-bottom:10px!important}
.relay-test-dialog .channel-test-model-head h3 {font-size:14px!important;margin:0!important}
.relay-test-dialog .channel-test-model-head>div {display:flex;gap:6px;align-items:center}
.relay-test-dialog .channel-test-models {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;max-height:220px!important;overflow:auto!important;padding:2px!important;margin:0!important}
body.admin-mode dialog.relay-test-dialog .channel-test-models label {display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;min-height:56px!important;padding:10px 12px!important;border:0!important;border-radius:9px!important;background:var(--ds-surface-2)!important;color:var(--ds-text-1)!important;box-shadow:none!important}
body.admin-mode dialog.relay-test-dialog .channel-test-models label:has(input:checked) {background:var(--ds-brand-soft)!important;box-shadow:inset 2px 0 var(--ds-brand)!important}
.relay-test-dialog .channel-test-models input {flex:0 0 16px!important;width:16px!important;height:16px!important;min-height:16px!important;margin:0!important}
.relay-test-dialog .channel-test-models label>span {flex:1;min-width:0}
.relay-test-dialog .channel-test-models strong {font-size:12px!important;line-height:1.5;overflow-wrap:anywhere}
.relay-test-dialog .channel-test-models :is(small,i) {font-size:10px!important;font-style:normal;color:var(--muted)}
.relay-test-dialog .channel-test-note {font-size:11px!important;line-height:1.65!important;padding:10px 12px!important;margin:12px 0!important;border:0!important;border-radius:8px!important}
.relay-test-dialog .channel-probe-summary {flex-wrap:wrap;padding:12px 0!important;gap:8px!important;border:0!important}
.relay-test-dialog .channel-probe-summary>div {margin-right:auto;gap:8px!important}
.relay-test-dialog .channel-probe-summary #test-progress {font-size:12px!important}
.relay-test-dialog .channel-probe-summary #test-counts {font-size:11px!important}
.relay-test-dialog .btn {min-height:32px!important;font-size:12px!important;padding:6px 10px!important;border-radius:8px!important}
.relay-test-dialog .channel-test-result-list {display:grid;gap:8px}
.relay-test-dialog .channel-test-result {display:flex!important;align-items:center;gap:12px!important;padding:12px!important;min-height:58px!important;border:0!important;border-radius:9px!important}
.relay-test-dialog .channel-test-result>div {min-width:0;flex:1}
.relay-test-dialog .channel-test-result strong {font-size:12px!important;overflow-wrap:anywhere}
.relay-test-dialog .channel-test-result small {display:block;font-size:11px!important;line-height:1.55!important;overflow-wrap:anywhere;white-space:pre-wrap;max-height:120px;overflow:auto}
.relay-test-dialog .channel-test-result>span {font-size:11px!important;flex:0 0 auto;max-width:42%;white-space:normal!important}
body.admin-mode dialog.relay-test-dialog .channel-test-result.ok {background:#dcfce7!important;color:#15803d!important;box-shadow:inset 0 0 0 1px #86efac!important}
body.admin-mode dialog.relay-test-dialog .channel-test-result.ok :is(strong,small,span) {color:inherit!important}
html[data-theme="dark"] body.admin-mode dialog.relay-test-dialog .channel-test-result.ok {background:#103c28!important;color:#4ade80!important;box-shadow:inset 0 0 0 1px #24834d!important}
.relay-test-dialog>.channel-test-footer-actions {flex:none;display:flex!important;gap:10px!important;padding:12px 24px 18px!important;background:var(--paper)!important;border:0!important}
.relay-test-dialog>.channel-test-footer-actions>.btn {flex:1;min-height:38px!important}
.relay-test-dialog [hidden] {display:none!important}
body.admin-mode dialog.relay-health-dialog {width:min(560px,calc(100vw - 32px))!important;max-width:560px!important;height:fit-content!important;min-height:0!important}
.relay-health-channel {flex:none;margin:0!important;padding:0 24px 12px;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body.admin-mode dialog:is(.relay-health-dialog,.relay-history-dialog)>.relay-health-detail {
 min-width:0;min-height:0;overflow:auto!important;padding:8px 24px 20px!important;
}
.relay-health-detail article {padding:12px 0!important;border:0!important;min-width:0}
.relay-health-detail :is(strong,p,small,pre) {overflow-wrap:anywhere;white-space:pre-wrap}
.relay-health-detail strong {font-size:13px!important}
.relay-health-detail p {font-size:12px!important;line-height:1.65}
.relay-health-detail small {font-size:11px!important;color:var(--muted)}
.relay-health-empty {padding:28px 0!important;color:var(--muted);text-align:center;font-size:13px}
.relay-health-dialog>.relay-modal-actions {padding:12px 24px 20px!important;flex:none;border:0!important}
body.admin-mode dialog.relay-health-dialog>.relay-health-detail {
 display:flex;flex-direction:column;gap:10px;flex:0 1 auto;
 padding:4px 24px 0!important;overscroll-behavior:contain;
}
body.admin-mode dialog.relay-health-dialog .relay-health-result {
 flex:none;margin:0!important;padding:16px!important;border:1px solid var(--ds-border)!important;
 border-radius:12px!important;background:var(--ds-surface-1)!important;color:var(--ds-text-1)!important;
}
.relay-health-result-head {display:flex;align-items:flex-start;gap:12px;justify-content:space-between;min-width:0}
.relay-health-result-head strong {min-width:0;font-size:13px!important;font-weight:600;line-height:1.6}
.relay-health-result-state {display:inline-flex;align-items:center;gap:5px;flex:none;font-size:11px;line-height:21px;font-weight:500}
.relay-health-result-state::before {content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.relay-health-result.is-good .relay-health-result-state {color:var(--channel-good)}
.relay-health-result.is-bad .relay-health-result-state {color:var(--channel-bad)}
.relay-health-result .relay-health-message {margin:12px 0 0!important;padding:10px 12px;border-radius:7px;background:var(--ds-surface-2);color:var(--ds-text-2);font-size:12px!important;line-height:1.7!important}
.relay-health-result.is-bad .relay-health-message {background:var(--channel-bad-fill);color:var(--channel-bad)}
.relay-health-result .relay-health-meta {display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 0;font-size:11px;line-height:1.6;color:var(--ds-text-3);font-variant-numeric:tabular-nums}
.relay-health-meta>div {display:flex;align-items:baseline;gap:6px}
.relay-health-meta :is(dt,dd) {margin:0}
.relay-health-meta dd {color:var(--ds-text-2)}
body.admin-mode dialog.relay-health-dialog>.relay-modal-actions {
 position:static!important;display:flex!important;justify-content:flex-start!important;gap:0!important;
 padding:16px 24px 20px!important;margin:0!important;min-height:0!important;background:transparent!important;
}
body.admin-mode dialog.relay-health-dialog #channel-open-history {
 flex:none!important;width:auto!important;min-width:0!important;min-height:34px!important;
 height:auto!important;padding:7px 11px!important;margin:0!important;line-height:20px!important;
 border:1px solid var(--ds-border)!important;border-radius:8px!important;
 background:var(--ds-surface-2)!important;color:var(--ds-text-2)!important;box-shadow:none!important;font-size:12px!important;font-weight:500!important;
}
body.admin-mode dialog.relay-health-dialog #channel-open-history:hover {background:var(--ds-surface-3)!important;color:var(--ds-text-1)!important}

/* Rounded SVG chevrons replace font-dependent angle glyphs everywhere. */
.relay-select-arrow,.category-select-arrow {
 display:inline-flex!important;align-items:center;justify-content:center;width:16px!important;height:16px!important;
 flex:0 0 16px!important;line-height:1!important;
}
.relay-select-arrow svg,.category-select-arrow svg {width:16px;height:16px;stroke-width:1.7}
.relay-channels .channel-advanced-settings>summary>i {display:flex;align-items:center;justify-content:center}
select::picker-icon {
 content:""!important;width:16px!important;height:16px!important;flex:0 0 16px;
 background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media(max-width:640px) {
 .relay-channels .channel-toolbar-secondary-actions {width:100%;justify-content:flex-end}
 .relay-channels .channel-category-toolbar-main {flex-basis:100%}
 .relay-channels .channel-drag-handle {flex-basis:44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
 body.admin-mode dialog:is(.relay-test-dialog,.relay-health-dialog,.relay-history-dialog) {width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important}
 body.admin-mode dialog:is(.relay-test-dialog,.relay-health-dialog,.relay-history-dialog)>.dialog-head {padding:16px 16px 8px!important}
 .relay-test-dialog>.relay-modal-head,.relay-health-channel {padding-inline:16px!important}
 .relay-test-dialog .channel-test-scroll-body,body.admin-mode dialog:is(.relay-health-dialog,.relay-history-dialog)>.relay-health-detail {padding-inline:16px!important}
 .relay-test-dialog .channel-test-toolbar {grid-template-columns:1fr!important}
 .relay-test-dialog .channel-test-models {grid-template-columns:1fr!important;max-height:200px!important}
 .relay-test-dialog .channel-test-model-head {flex-wrap:wrap}
 .relay-test-dialog .channel-test-result {align-items:flex-start;flex-direction:column;gap:6px!important}
 .relay-test-dialog .channel-test-result>span {max-width:100%}
 .relay-test-dialog>.channel-test-footer-actions {padding:10px 16px 16px!important}
 .relay-test-dialog .btn,.relay-health-dialog .btn {min-height:44px!important}
 body.admin-mode dialog.relay-health-dialog {width:calc(100vw - 24px)!important}
 body.admin-mode dialog.relay-health-dialog .relay-health-result {padding:14px!important}
 .relay-health-result-head {flex-direction:column;gap:4px}
 body.admin-mode dialog.relay-health-dialog>.relay-modal-actions {padding:14px 16px 16px!important}
 body.admin-mode dialog.relay-health-dialog #channel-open-history {min-height:44px!important}
}
.relay-channels .channel-drag-handle {
 flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:32px!important;min-height:32px!important;
 border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;
 color:var(--ds-text-2)!important;opacity:1;touch-action:none;user-select:none;-webkit-user-drag:none;
}
.relay-channels .channel-drag-handle svg{width:16px;height:16px;stroke-width:1.5}
.relay-channels .channel-drag-handle:is(:hover,:focus-visible){color:var(--ds-text)!important;background:var(--ds-surface-2)!important}
.relay-channels .channel-drag-handle:focus-visible{outline:2px solid var(--ds-text-2)!important;outline-offset:-2px!important}
.relay-channels .channel-drag-handle[aria-pressed=true]{background:var(--ds-surface-2)!important;color:var(--ds-text)!important}
.relay-channels .route-quick-editor{position:relative}
/* Save announcements remain available to screen readers without adding a row. */
.relay-channels .route-quick-editor>i{display:block!important;position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.relay-channels .route-value-shell[data-save-state=saving]{opacity:.55}
.relay-channels{--channel-save-ink:#18794e}
html[data-theme=dark] .relay-channels{--channel-save-ink:#70c99c}
.adm .relay-channels .channel-table .route-quick-editor label[data-channel-route-part=priority] .route-value-shell[data-save-state=saved]>:is(input[data-route-channel][data-route-key],b[data-route-priority-mirror]){background:color-mix(in srgb,var(--channel-save-ink) 10%,var(--paper))!important;color:var(--channel-save-ink)!important;-webkit-text-fill-color:var(--channel-save-ink)!important}
.relay-channels .route-value-shell[data-save-state=error]{outline:1px solid var(--danger,#c84a50);outline-offset:-1px}
.relay-channels [data-channel-row].is-dragging{opacity:.45}
body.channel-is-sorting,body.channel-is-sorting *{cursor:grabbing!important;user-select:none!important}
.channel-sort-ghost{position:fixed;left:0;top:0;z-index:20002;max-width:260px;padding:11px 14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 8px 24px rgb(0 0 0 / 18%);font-size:13px;line-height:1.4;font-weight:550;pointer-events:none;will-change:transform}
.channel-sort-insertion{position:fixed;left:0;top:0;height:3px;z-index:20001;background:var(--accent);pointer-events:none;will-change:transform}
.channel-sort-insertion[hidden]{display:none}
.channel-sort-insertion>span{position:absolute;left:18px;bottom:9px;max-width:min(360px,70vw);padding:7px 10px;border-radius:7px;background:var(--ink);color:var(--paper);font-size:12px;line-height:1.5;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:640px),(pointer:coarse){.relay-channels .channel-drag-handle{flex-basis:44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}}
