/*
 * sbc.css — the SBC details popup styles (Session 9).
 * The popup reuses the dialog shell classes (dialog-head/dialog-body)
 * from dashboard.css; this file owns only the reference-content chrome:
 * the dialog width, the section rhythm, and the external-link list.
 * No palette values inline (design §9): every color comes from
 * tokens.css custom properties. No framework, no CDN (D1/D2).
 */

/* --- dialog ------------------------------------------------------------ */

dialog.sbc-dialog {
  width: min(52rem, 94vw);
  max-width: min(94vw, 860px);
}

/* --- content sections --------------------------------------------------- */

.sbc-section {
  margin: 0 0 1.1rem 0;
}

.sbc-section:last-child {
  margin-bottom: 0;
}

.sbc-section h3 {
  margin: 0 0 0.4rem 0;
  font-size: 0.92rem;
  color: var(--text);
}

.sbc-section p {
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text);
}

.sbc-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.sbc-section li {
  margin: 0 0 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text);
}

.sbc-section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  background: var(--mono-bg);
  color: var(--mono-text);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

.sbc-note {
  margin: 0.5rem 0 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- reference links (the ONE deliberate off-app exception, D8) --------- */

.sbc-links a {
  color: var(--accent);
}

.sbc-ref-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}
