/*
IC SHIP PASS — generated by icpass.py from the map. edit the CODE; rerun to refresh this.

══════════════════════════════════════════════════════════════════════
 PAGE 0 — TABLE OF CONTENTS  (goldfish pointers)
 jump by SEARCHING the anchor phrase — line numbers drift, names don't.
══════════════════════════════════════════════════════════════════════
  per-agent topbar heads — "any topbar ... search: "per-agent topbar heads"
══════════════════════════════════════════════════════════════════════

 FOR AI
 ───────
   **OWNS** — The single source of truth for the `unicorn` skin's color palette. Exports CSS
   **custom properties (variables) under `[data-skin="unicorn"]` that are consumed by agent
   **templates and component stylesheets across the codebase. The palette name `unicorn` itself
   **is load-bearing: it appears in HTML `data-skin` attributes.
   
   **TOUCH HERE** —
   - Change the base purple or lavender tones → `--bg`, `--surface`, `--surface-2` L6–8
   - Change gold text brightness or warmth → `--text` L11
   - Change topbar background darkness → `--topbar-bg` L17
   - Change an agent's head color (toto, coder, writer, tutor) → `--head-*` and `--head-*-ink`
   - pairs L28–36
   - Change nurse paper color → `--nurse-paper` L40
   - Change writer's card-head lavender or title ink → `.p-richtext .card-head` background L46,
   - color L48
   
   **TRAPS** —
   - Lines 28–29, 31–32, 33–34, 35–36 are paired: each agent's head color must have a matching
   - ink color, or text becomes unreadable. Never change one without the other.
   - Line 40 (`--nurse-paper`) is referenced in `agent-nurse.css` by name; renaming it breaks the
   - nurse agent's entire bar.
   - Lines 46–48 hardcode colors for `.p-richtext .card-head` instead of using variables; they do
   - not inherit from the palette above and must be edited separately if the writer's card needs
   - to shift.
   - The variable names themselves (`--head-toto`, `--head-coder`, etc.) are matched by selectors
   - in agent templates; renaming a variable orphans its usage.
   
   **DO NOT** —
   - Rename `unicorn` or any `--*` variable name without auditing every file that references it
   - by name.
   - Add agent head colors here for agents whose heads are PNGs (wellness, lumberjack, pa); those
   - are handled in their own stylesheets.
   - Move the nurse-paper logic into this palette as a variable pair; it is intentionally
   - centralized in `agent-nurse.css` so the whole bar shifts together.
   - Edit `.p-richtext` rules here if the change should apply to other skins; move shared rules
   - to a skin-agnostic stylesheet instead.
   
   
   
   ---

END IC SHIP PASS
*/

/* unicorn.css — cotton-candy dark. an agent skin. color only.
   "made peace with the void and it is lavender." gold text, soft on the eyes.
   ported from light-bar/themes.css → toto2 token set. apply via [data-skin="unicorn"]. */

[data-skin="unicorn"] {
  --bg:          #4e1d5c;   /* base purple */
  --surface:     #6e4696;   /* lavender card */
  --surface-2:   #4830a8;   /* indigo panel */
  --line:        #7a5ab4;

  --text:        #f8e060;   /* gold — the signature */
  --text-dim:    #d8c0e0;   /* soft lavender-grey (solid, never faded) */

  --accent:      #e878c0;   /* unicorn pink */
  --accent-deep: #a03c78;

  --topbar-bg:   #200834;
  --btn:         #5888d0;   /* action blue */
  --btn-sh:      #2a4878;

  --bevel-light: rgba(210, 190, 255, 0.25);
  --bevel-dark:  rgba(0, 0, 0, 0.55);

  /* ── per-agent topbar heads — "any topbar without a png shifts." the png agents
     (wellness · lumberjack · pa) keep their art; these are the css-head agents. each
     gets a coordinated pastel + DARK ink (so gold-on-pastel never happens). toto is
     pinned near-black — the one agent that stays black, by spec. ── */
  --head-toto:       #1b0a2e;   /* the OZ agent stays black (deep void purple) */
  --head-toto-ink:   #f8e060;   /* gold still reads on the dark head */

  --head-coder:      #d6def5;   /* periwinkle — the coder's cool plastic, pastel'd */
  --head-coder-ink:  #2a2f55;
  --head-writer:     #efe0f2;   /* soft mauve — the writer's warm ink room */
  --head-writer-ink: #4a2f50;
  --head-tutor:      #f4ecc9;   /* pale gold cream — echoes the unicorn signature */
  --head-tutor-ink:  #4a3f1a;

  /* nurse = "pale pale pink, not quite white." her whole bar rides --nurse-paper
     (agent-nurse.css), so head + screen + bar all shift together. ink + cross stay. */
  --nurse-paper:     #fbe9f0;
}

/* tiptap — the writer's paper card. the HEAD goes almost-white lavender; the PAGE stays
   white + editable (--rt-paper, untouched). the book-cover image yields to a flat tint,
   and the parchment title flips to dark ink so it reads on lavender. */
[data-skin="unicorn"] .p-richtext .card-head { background: #ece6f7; }
[data-skin="unicorn"] .p-richtext .card-head .card-title,
[data-skin="unicorn"] .p-richtext .card-head::after { color: #4a3a6a; text-shadow: none; }
[data-skin="unicorn"] .p-richtext .card-head .card-icon { filter: none; }
