/* Paamon · brand rules for the content of every public page (manager/brand.html, CLAUDE.md "האתר הציבורי").
   Loaded by SiteShell.astro inside the "brand" cascade layer, which is declared before "legacy" (the old
   page CSS): these !important rules win over legacy, while normal rules here never override a page.
   The pages' own CSS was converted in place (gold, mono labels, gradients); this file holds what applies
   everywhere: one-colour headings, and the accent colours that turn white on dark sections. */
@layer brand {
  /* gold left the content: accents are burgundy on light backgrounds and white on dark ones.
     The converted page CSS uses var(--ink-accent) / var(--ink-line); dark sections redefine them below. */
  :root { --ink-accent: #7B1A3A; --ink-line: #7B1A3A; }

  /* a heading is one colour: no word in another colour, no coloured italics (weight may stay) */
  main#content :is(h1, h2, h3, h4) :is(em, i, span, strong, b, mark, .accent, .hl, .highlight) {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    background: none !important;
    font-style: inherit !important;
  }

  /* DARK SECTIONS (filled in below) */
}
