.cup-channel-picker{--cp-bg:#121e2d;--cp-border:#2a3c53;--cp-text:#eaf2fc;--cp-muted:#93a7c0;position:relative;min-width:0}.cup-channel-picker *{box-sizing:border-box}.cup-channel-trigger{width:100%;border:1px solid var(--cp-border);border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:var(--cp-bg);color:var(--cp-text);text-align:left;font:inherit;cursor:pointer;min-height:69px}.cup-channel-trigger:disabled{cursor:default;opacity:.65}.cup-channel-trigger:focus-visible{outline:2px solid #81baf1;outline-offset:3px}.cup-channel-current,.cup-channel-option>span:first-child{display:flex;flex-direction:column;gap:8px;min-width:0}.cup-channel-current strong,.cup-channel-option strong{font-size:13px;line-height:1.45;font-weight:600;white-space:normal;overflow-wrap:anywhere}.cup-channel-current small,.cup-channel-option small{font-size:11px;color:var(--cp-muted);line-height:1.5}.cup-channel-current-state,.cup-channel-option-state{display:flex;align-items:center;gap:10px;flex-shrink:0}.cup-channel-health{font-size:10px;display:inline-flex;align-items:center;gap:6px;border:1px solid currentColor;border-radius:20px;padding:4px 7px;white-space:nowrap;line-height:1.2}.cup-channel-health i{width:5px;height:5px;border-radius:50%;background:currentColor}.cup-channel-health[data-health=green],.cup-channel-legend [data-health=green]{color:#4ad29b}.cup-channel-health[data-health=yellow],.cup-channel-legend [data-health=yellow]{color:#e8b95c}.cup-channel-health[data-health=red],.cup-channel-legend [data-health=red]{color:#ef8a91}.cup-channel-health[data-health=unknown]{color:var(--cp-muted)}.cup-channel-popover{position:fixed;inset:auto;margin:0;z-index:1500;padding:0;color:var(--cp-text);font:inherit;background:var(--cp-bg);border:1px solid var(--cp-border);border-radius:12px;box-shadow:0 18px 45px #0005;overflow:hidden}.cup-channel-popover[hidden]{display:none!important}.cup-channel-search{padding:12px}.cup-channel-search input{width:100%;min-height:38px!important;padding:9px 11px!important;background:transparent!important;color:var(--cp-text)!important;border:1px solid var(--cp-border)!important;border-radius:8px!important;font-size:12px!important;outline:none}.cup-channel-search input:focus-visible{border-color:#78b9f4!important}.cup-channel-options{max-height:310px;overflow:auto;padding:0 6px 6px}.cup-channel-option{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid transparent;background:transparent;color:var(--cp-text);text-align:left;padding:12px 9px;border-radius:8px;cursor:pointer}.cup-channel-option:hover,.cup-channel-option:focus-visible{background:#7cabe314;outline:none;border-color:var(--cp-border)}.cup-channel-option[aria-selected=true]{background:#6aaff21c;border-color:#72b5f333}.cup-channel-check{width:11px;color:#8ec8ff;font-size:13px}.cup-channel-empty{padding:15px;color:var(--cp-muted);font-size:12px}.cup-channel-legend{display:flex;gap:9px;flex-wrap:wrap;margin:0!important;padding:12px;border-top:1px solid var(--cp-border);color:var(--cp-muted);font-size:9px;line-height:1.7}.cup-channel-legend span:last-child{flex-basis:100%}[data-cup-theme=night] .cup-channel-picker{--cp-bg:#1b1b1f;--cp-border:#37373d;--cp-text:#ededee;--cp-muted:#aaaab5}[data-cup-theme=day] .cup-channel-picker{--cp-bg:#fff;--cp-border:#d5dfeb;--cp-text:#18283c;--cp-muted:#66768d}[data-cup-theme=day] .cup-channel-health[data-health=green],[data-cup-theme=day] .cup-channel-legend [data-health=green]{color:#178453}[data-cup-theme=day] .cup-channel-health[data-health=yellow],[data-cup-theme=day] .cup-channel-legend [data-health=yellow]{color:#9d6d0b}[data-cup-theme=day] .cup-channel-health[data-health=red],[data-cup-theme=day] .cup-channel-legend [data-health=red]{color:#bd404b}@media(max-width:600px){.cup-channel-trigger{padding:12px;gap:8px}.cup-channel-current-state{gap:6px}.cup-channel-health{padding:4px 6px;font-size:9px}.cup-channel-option{gap:7px}.cup-channel-option strong{font-size:12px}}

.cup-channel-picker+select[hidden]{display:none!important}

.cup-channel-option:disabled{cursor:not-allowed;opacity:.65}.cup-channel-option:disabled:hover{background:transparent;border-color:transparent}.cup-channel-availability{font-size:10px;line-height:1.3;border:1px solid var(--cp-border);border-radius:20px;padding:4px 7px;color:var(--cp-muted);white-space:nowrap}.cup-channel-availability[data-availability=available]{color:var(--cp-text)}.cup-channel-option-state,.cup-channel-current-state{flex-wrap:wrap;justify-content:flex-end;max-width:48%}

/* One layout for every host, including older canvas and Agent overrides. */
.cup-channel-picker[data-layout="inline"] {
  --cp-bg: var(--cup-float-surface, var(--panel, #fffef9)) !important;
  --cp-border: var(--cup-float-line, var(--line, #dfe5da)) !important;
  --cp-text: var(--cup-float-text, var(--text, #35423b)) !important;
  --cp-muted: var(--cup-float-muted, var(--muted, #707d74)) !important;
  width: 100%;
  max-width: 100%;
}
.cup-channel-picker[data-layout="inline"] :is(.cup-channel-trigger, .cup-channel-option) {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  font-family: inherit;
  font-weight: 400;
  color: var(--cp-text) !important;
  border-radius: 12px !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-trigger {
  border: 1px solid var(--cp-border) !important;
  background: var(--cup-float-raised, var(--cp-bg)) !important;
  box-shadow: inset 0 1px 0 #ffffff0c, 0 2px 4px #18281d06 !important;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-trigger:is(:hover, [aria-expanded="true"]):not(:disabled) {
  border-color: var(--cup-float-accent, var(--cp-muted)) !important;
  background: var(--cp-bg) !important;
  box-shadow: var(--cup-float-card-shadow, 0 3px 10px #18281d12) !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-current {
  display: flex !important;
  flex: 1 1 0 !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: 0 !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-current :is(strong, small) {
  display: block !important;
  min-width: 0;
  margin: 0 !important;
  line-height: 20px !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0 !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-current strong {
  flex: 1 1 auto;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--cp-text) !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-current small {
  flex: 0 0 auto;
  max-width: 48%;
  font-size: 10px !important;
  font-weight: 400 !important;
  color: var(--cp-muted) !important;
  font-variant-numeric: tabular-nums;
}
.cup-channel-picker[data-layout="inline"] :is(.cup-channel-current-state, .cup-channel-option-state) {
  display: flex !important;
  align-items: center !important;
  flex: 0 1 auto !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  min-width: 0;
  max-width: 38% !important;
}
.cup-channel-picker[data-layout="inline"] :is(.cup-channel-health, .cup-channel-availability) {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  gap: 4px !important;
  padding: 4px 6px !important;
  border: 0 !important;
  border-radius: 7px !important;
  font-size: 10px !important;
  line-height: 14px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-health i { flex-shrink: 0; }
.cup-channel-picker[data-layout="inline"] .cup-channel-chevron {
  flex: 0 0 10px;
  color: var(--cp-muted);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-popover {
  background: var(--cp-bg) !important;
  border-color: var(--cp-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--cup-float-shadow, 0 14px 40px #18281d26) !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-options { padding: 0 6px 6px; }
.cup-channel-picker[data-layout="inline"] .cup-channel-option {
  margin-block: 2px;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 9px !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-option:is(:hover, :focus-visible, [aria-selected="true"]):not(:disabled) {
  background: var(--cup-float-selected, #e2ebe2) !important;
  border-color: transparent !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-option .cup-channel-current small { font-size: 11px !important; }
.cup-channel-picker[data-layout="inline"] .cup-channel-search input:focus-visible {
  border-color: var(--cup-float-accent, var(--cp-muted)) !important;
}
.cup-channel-picker[data-layout="inline"] .cup-channel-trigger:focus-visible {
  outline: 2px solid var(--cup-float-accent, var(--cp-muted));
}
.agent-compose-actions > label:has(> .cup-channel-picker[data-layout="inline"]) {
  flex: 1 1 360px !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.cup-inline-node > label:has(> .cup-channel-picker[data-layout="inline"]) {
  grid-column: 1 / -1;
}
/* Fixed local model catalogs use the same field treatment. */
html[data-cup-workstation] :is(#workshop-depth-modelSize, select[data-node-param="modelSize"], .cam-dialog select[name="modelId"]) {
  min-height: 44px !important;
  padding: 0 12px !important;
  border: 1px solid var(--cup-float-line) !important;
  border-radius: 12px !important;
  background: var(--cup-float-raised) !important;
  color: var(--cup-float-text) !important;
  font: inherit;
  font-size: 12px !important;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .cup-channel-picker[data-layout="inline"] .cup-channel-trigger { transition: none; }
}
