/* > **CLAUDE-AUTHORED** — written by Claude (`rehost-b`), 2026-09-18. */
/* ============================================================
   THE NOTICES BOARD'S TWO STATES — the plugin's own sheet.

   NEW FILE. `antigravity-tools-register-icons.php` emits the board and names
   `.ag-notice-mark` as the state hook (:64-71: "⚠️ Renaming or dropping this
   class silently un-paints BOTH surfaces: face.css § S binds to it, and nothing
   else does"). Until now it owned no stylesheet at all, so the thing it warns
   about was already true in the other direction: the only declaration of either
   state lived in portal-home.css, a screen's sheet, `:13-21`
   (md5 f1a0b06d3e271509b344bd5f06bf54f6; identical rules in cfca864c…, which took a
   comment-only edit at 11:49 on 2026-09-18), outside both of its media branches
   and outside its home gate — i.e. on every portal route at every width.
   Home-scope that sheet and the bell stops lighting for unread notifications
   everywhere except the portal home. These two rules are that signal, re-hosted
   to the plugin that emits the mark.

   THE CONDITION IS THE SERVER'S OWN ANSWER, read where the server put it.
   `suredash/core/notifier/base.php:208-210,228` stamps each notification row
   `read` / `unread` IN PHP, so `:has(.notification-read-status.unread)` is not
   a client-side guess. ⛔ Bind to that, never to a script-written
   `.notification-unread-count`. Two states, no count.

   TOKEN: `--agf-gold` → `#FFC000`. The face sheet already carried that literal
   as the fallback in `var(--agf-gold, #FFC000)`, so this is the value that
   painted wherever the token was missing, promoted to the value. Sovereignty
   Gold; the board is the ONE thing in the register allowed to be loud, and only
   when it has something to say.

   SPECIFICITY, before → after:
     `body.ag-face .ag-notice-mark`                           (0,2,1) → (0,1,0)
     `body.ag-face:has(.notification-read-status.unread) …`   (0,4,1) → (0,3,1)
   Both strictly LOWER than the face's, and UNFORCED — no `!important` on either.
   Measured on portal home, a course space, /portal/bookmarks/ and a lesson, at
   1595 and 520, on every `.ag-notice-mark` on the page: the only other author
   declaration of `fill` or `stroke` that reaches this element is the face
   sheet's own pair. The `fill="none" stroke="currentColor"` on the parent
   `<svg>` are PRESENTATION ATTRIBUTES, which any author rule outranks. So an
   unforced (0,1,0) rule is enough, and while portal-home.css still loads its
   `!important` pair keeps winning — with identical values, so nothing moves.

   ⭐ ORDER INSIDE THIS FILE IS THE MECHANISM, not a style choice: the unread
   rule is both later and heavier, so it is what lands when the condition holds.
   ============================================================ */

/* no new notifications — the plain board */
.ag-notice-mark{
  fill: none;
  stroke: currentColor;
}

/* new notifications — the board lights, in Sovereignty Gold */
body:has(.notification-read-status.unread) .ag-notice-mark{
  fill: #FFC000;                 /* was var(--agf-gold, #FFC000) */
  stroke: none;
}
