.host-switch {
  display: grid;
  text-align: left;
  gap: 5px;
  width: 100%;
  padding: 13px;
  margin: 8px 0 12px;
  background: #e9efeb;
  color: #193e35;
  border: 1px solid #dce5de;
  border-radius: 13px;
}
.host-switch small,
.host-switch span {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.host-switch span {
  opacity: 0.7;
}
.agent-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.agent-toolbar select {
  min-width: 0;
  flex: 1;
}
.agent-toolbar label {
  margin: 0;
  font-size: 12px;
  color: #52685c;
}
.agent-badge {
  display: inline-block;
  color: #2d6654;
  background: #e8f0e9;
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 10px;
}
.agent-claude .agent-badge {
  color: #875334;
  background: #f6eadd;
}
.agent-card,
.host-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e0e6df;
  border-radius: 14px;
  margin: 12px 0;
}
.agent-card p,
.agent-card small,
.host-card small {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.host-id {
  display: block;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.scan-video {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  background: #e9efeb;
}
.scan-video:not([src]) {
  min-height: 50px;
}
.confirm-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
}
.confirm-row input {
  width: auto;
  margin-top: 4px;
  flex: none;
}
.agent-consent {
  font-size: 12px;
  padding: 10px;
  background: #f5efdf;
  border-radius: 12px;
}
.thread-card .agent-badge {
  margin-right: 5px;
  font-size: 9px;
}
.native-workspace #hosts-button,
.native-workspace #gate-hosts,
.native-workspace #pair-button {
  display: none;
}
#file-upload-progress {
  width: 100%;
  height: 14px;
}
