/* ================================================================
   <bm-connection>: schema:user@host:port/database, monospace, one line,
   cut with "…" (the whole on hover). Separators and schema subdued so
   the host and the database read first.
   ================================================================ */
bm-connection { display: inline-flex; min-width: 0; max-width: 100%; vertical-align: middle; }
.bm-connection { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
/* A database: a cylinder of three discs (drawn, not a font glyph), in the connection's accent colour */
.bm-connection__icon {
  flex: 0 0 auto; width: 16px; height: 16px; color: var(--bm-teal-600, #0D9488);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.bm-connection__icon .bm-connection__dot { fill: currentColor; stroke: none; }
.bm-connection__text {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--bm-font-mono, 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 12.5px; color: var(--bm-text-primary, #111827);
}
.bm-connection__sep { color: var(--bm-text-muted, #6B7280); }
.bm-connection__schema, .bm-connection__user { color: var(--bm-text-secondary, #4B5563); }
.bm-connection__host, .bm-connection__db { font-weight: 600; }
.bm-connection__more {
  flex-shrink: 0; font-size: 11px; font-weight: 600; padding: 0 6px; border-radius: 999px;
  color: var(--bm-text-secondary, #4B5563); background: var(--bm-surface-2, #F3F4F6); border: 1px solid var(--bm-border-subtle, #E5E7EB);
}
