/* Midsummer docs custom styling (loaded after Furo). */

/* Brand color accent for the Midsummer "aurora" feel. */
:root {
  --midsummer-accent: #4f46e5; /* indigo, matches the app's Aura preset */
}

/* Make inline code a touch more legible. */
code.literal {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background: var(--color-code-background);
}

/* Error-code anchors: give each error block a subtle left rule so the
   /errors/#e-reg-1 deep links from nice-error land on something obvious. */
dl.error-code,
section[id^="error-"] {
  border-left: 3px solid var(--midsummer-accent);
  padding-left: 1rem;
}

/* Admonitions used for the three audience-specific instructions. */
.admonition.attendees { border-left-color: #22c55e; }
.admonition.organizers { border-left-color: #f59e0b; }
.admonition.techs     { border-left-color: #ef4444; }
