/* Layout: priorizar área de chat legible */
body {
  min-height: 100vh;
}

#orb-dashboard,
#orb-account-panel {
  flex-shrink: 0;
}

#orb-dashboard.orb-dash-collapsed .orb-dash-panel,
#orb-account-panel.orb-dash-collapsed .orb-dash-panel {
  display: none !important;
}

#orb-dashboard.orb-dash-collapsed .orb-dash-tabs,
#orb-account-panel.orb-dash-collapsed .orb-dash-tabs {
  border-bottom-color: transparent;
}

body.orb-layout-v2 #orb-coach-panel #messages {
  min-height: 0 !important;
}

#messages {
  flex: 1 1 auto !important;
  min-height: min(42vh, 420px) !important;
  background: #0a0a10;
}

.msg.bot {
  background: #232338 !important;
  border-color: #5a5a88 !important;
  color: #f2f2fa !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.msg.user {
  background: #3a2a7a !important;
  color: #f0ebff !important;
}

.context-badge {
  color: #9a9ab8 !important;
}

.suggestions,
.suggestions-b {
  flex-shrink: 0;
}

#input-area {
  flex-shrink: 0;
}

.orb-source-chip {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.orb-source-registry {
  color: #93c5fd;
  background: rgba(30, 58, 138, 0.35);
  border-color: #3b82f6;
}

.orb-source-roster {
  color: #86efac;
  background: rgba(20, 83, 45, 0.35);
  border-color: #22c55e;
}

.orb-source-llm {
  color: #fcd34d;
  background: rgba(120, 53, 15, 0.35);
  border-color: #f59e0b;
}

.orb-beta-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fde68a;
  background: #78350f;
  border: 1px solid #f59e0b;
  vertical-align: middle;
}
