/* ═══════════════════════════════════════════════════════════
   CHAMBERS — Legal & Compliance niche CMS editor skin (light)
   Deep charcoal + parchment + legal purple.
   Law-review authority meets compliance brief clarity.
   ═══════════════════════════════════════════════════════════
   Brand tokens (--warm, --font-heading, etc.) are inherited
   from journal/theme.css via @import below.
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,400&family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400&display=swap');
@import url('../../journal/theme.css');

:root {
  /* ── CMS chrome backgrounds ──────────────────────────── */
  --deep:           #f5f4f0;      /* body background — parchment */
  --panel:          #ffffff;      /* sidebar, cards, panels */
  --ink:            #1a0a2e;      /* topbar — deep charcoal */

  /* ── CMS text ────────────────────────────────────────── */
  --paper:          #1a0a2e;      /* primary text — dark on parchment */
  --stone:          #6b6478;      /* secondary / muted — mid purple-grey */
  --mist:           #e0dde8;      /* light dividers */
  --ash:            #c8c4d0;      /* lighter mid-tone */

  /* ── CMS surfaces ────────────────────────────────────── */
  --border:         rgba(75,29,150,0.12);
  --surface-subtle: rgba(0,0,0,0.02);
  --surface-hover:  rgba(0,0,0,0.03);
  --field-bg:       rgba(0,0,0,0.025);
  --overlay:        rgba(0,0,0,0.5);

  /* ── Semantic ────────────────────────────────────────── */
  --good:           #166534;
  --caution:        #92400e;
  --warn:           #dc2626;

  /* ── CMS font-sans and mono aliases ─────────────────── */
  --font-sans:      'Source Sans 3', system-ui, sans-serif;
  --font-serif:     Georgia, 'Times New Roman', serif;
  --font-mono:      'IBM Plex Mono', 'Courier New', monospace;
}

/* Monospaced citations and statute references in the CMS */
.citation-field,
.cfr-field,
.case-cite-field {
  font-family: var(--font-mono);
}
