:root {
  --luama-accent: #7c3aed;
  --luama-green: #16a34a;
  --luama-amber: #d97706;
}

.sidebar-brand-copy { min-width: 0; display: grid; gap: 1px; }
.sidebar-brand-copy strong { font-size: 14px; line-height: 1.1; }
.sidebar-brand-copy small { color: var(--muted); font-size: 10.5px; font-weight: 500; }

.runtime-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #52525b;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.runtime-dot { width: 7px; height: 7px; border-radius: 999px; background: #a1a1aa; box-shadow: 0 0 0 3px rgba(161,161,170,.12); }
body[data-luama-runtime="governed"] .runtime-dot { background: var(--luama-green); box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
body[data-luama-runtime="degraded"] .runtime-dot { background: var(--luama-amber); box-shadow: 0 0 0 3px rgba(217,119,6,.12); }

.luama-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #606069;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
}
.luama-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--luama-accent); }
.empty-state > p.luama-subcopy { max-width: 650px; }

.luama-cycle {
  width: min(100%, 690px);
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.luama-cycle span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: #52525b;
  background: #fafafa;
  font-size: 11.5px;
  font-weight: 600;
}

.sidebar-capability-note {
  margin: 4px 9px 7px;
  color: #85858c;
  font-size: 11px;
  line-height: 1.45;
}

.answer-mode[data-mode="luama-governed"] { color: #166534; background: #f0fdf4; border-color: #bbf7d0; }
.answer-mode[data-mode="luama-degraded"],
.answer-mode[data-mode="local-evidence"] { color: #92400e; background: #fffbeb; border-color: #fde68a; }

.luama-control-card {
  margin: 16px 0 4px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}
.luama-control-card strong { display: block; margin-bottom: 8px; font-size: 12.5px; }
.luama-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.luama-control-grid span { min-width: 0; display: grid; gap: 2px; }
.luama-control-grid b { font-size: 11px; color: #71717a; font-weight: 600; }
.luama-control-grid em { font-style: normal; font-size: 12px; color: #27272a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.composer-note strong { color: #3f3f46; }

@media (max-width: 720px) {
  .runtime-pill { display: none; }
  .luama-control-grid { grid-template-columns: 1fr 1fr; }
  .luama-cycle { padding: 0 8px; }
}
