/* P1.11 — Garage identity badge. Scoped to #sessionInfo.p111-badge. */
.p111-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: min(220px, 42vw);
  height: 50px;
  margin: 0;
  padding: 0 12px 0 14px;
  border-radius: 16px;
  background: #081426;
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #eaf7ff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  box-sizing: border-box;
  flex-shrink: 1;
}
.p111-badge:hover,
.p111-badge:focus-visible {
  border-color: rgba(0, 245, 255, 0.7);
  outline: none;
}
.p111-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.55);
  flex-shrink: 0;
}
.p111-badge[data-status="inactive"] .p111-badge__dot,
.p111-badge[data-status="empty"] .p111-badge__dot {
  background: #8fa8bf;
  box-shadow: none;
}
.p111-badge__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.p111-badge__org {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  color: #eaf7ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p111-badge__site {
  font-size: 8px;
  font-weight: 400;
  line-height: 1.2;
  color: #8fa8bf;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p111-badge__site:empty {
  display: none;
}

html[data-theme="light"] .p111-badge {
  background: var(--surface, #f4f8fb);
  border-color: rgba(0, 140, 160, 0.35);
  color: var(--text, #102033);
}
html[data-theme="light"] .p111-badge__org {
  color: var(--text, #102033);
}
html[data-theme="light"] .p111-badge__site {
  color: var(--muted, #5b6f82);
}

@media (max-width: 720px) {
  .p111-badge {
    height: 42px;
    max-width: min(160px, 48vw);
    padding: 0 10px 0 12px;
    border-radius: 14px;
  }
}
