/* ===== SealPal design tokens (2026-11-15): the SealPal design system, which runs on Plumb =====
   Graphite neutrals, one cobalt accent, Instrument Sans (Geist Mono for real data), 4px spacing, radii
   4 / 8 / 12 / 16, one easing. Shared by the workspace (glass/editorial.css), the Ask dock and the product
   homepage (glass/home-editorial.css). Source: the SealPal design system artifact's tokens.css; the --ed-*
   names are this codebase's, the values are the system's. */
:root{
  --ed-font:"Instrument Sans","PingFang SC","Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;
  --ed-display:"Newsreader","Songti SC","Noto Serif SC",Georgia,serif;
  --ed-mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;
  /* surfaces and ink */
  /* warm paper (Elsie 11-15: white was too bright; the original paper colour is easier on the eyes).
     The system's neutral ramp tinted warm, contrast ratios kept. Second pass the same day: #f2eee6 read as too
     dark, so the page is a lighter cream, #f9f6ef, with the sidebar and raised grounds one step down. */
  --ed-ground:#f6ead9;--ed-surface:#fcf4e8;--ed-raised:#f1e2cc;--ed-hover:rgba(70,40,20,.06);
  --ed-ink:#1b1a2b;--ed-ink-2:#4a4658;--ed-ink-3:#5e596a;--ed-line:rgba(70,40,20,.14);--ed-border:#7a7480;
  /* 2026-11-18 Elsie picked the beige / royal blue / burgundy palette: the paper leans beige (still light),
     royal blue is the one accent, burgundy is the danger colour. Ink carries a little of the blue. */
  /* the one accent */
  --ed-accent:#3a3f94;--ed-on-accent:#fff;--ed-accent-soft:#e1e0f0;--ed-wash:rgba(58,63,148,.16);
  /* status, always beside a word */
  --ed-positive:#0e664f;--ed-positive-soft:#dcebe2;--ed-negative:#7a1f2e;--ed-negative-soft:#f3dcd9;--ed-warning:#875200;--ed-warning-soft:#f3e6c8;
  --ed-r-tag:4px;--ed-r-ctl:8px;--ed-r-panel:12px;--ed-r-dialog:16px;
  --ed-ease:cubic-bezier(.22,1,.36,1);--ed-fast:150ms;--ed-med:200ms;
  --ed-shadow-sm:0 1px 2px rgba(16,20,26,.06);--ed-float:0 8px 24px rgba(16,20,26,.08);
  /* older names still read by the homepage and dock layers */
  --ed-paper:var(--ed-surface);--ed-card:var(--ed-surface);--ed-sub:var(--ed-ink-2);--ed-line-2:var(--ed-border);--ed-sand:var(--ed-raised);
  --ed-acc:var(--ed-accent-soft);--ed-cobalt:var(--ed-accent);--ed-acc-rgb:58,63,148;--ed-acc-ink:var(--ed-accent);
  --ed-dark:#1b1a2b;--ed-on-dark:#fff;--ed-on-dark-sub:rgba(255,255,255,.72);--ed-on-dark-line:rgba(255,255,255,.2);
}
:root[data-theme=night]{
  --ed-ground:#100f18;--ed-surface:#17161f;--ed-raised:#22202c;--ed-hover:rgba(244,236,224,.06);
  --ed-ink:#f4ece0;--ed-ink-2:#b8b1b6;--ed-ink-3:#958e98;--ed-line:rgba(244,236,224,.1);--ed-border:#787282;
  --ed-accent:#a9adf0;--ed-on-accent:#100f18;--ed-accent-soft:#272a55;--ed-wash:rgba(169,173,240,.18);
  --ed-positive:#55c595;--ed-positive-soft:#132a22;--ed-negative:#ee8b98;--ed-negative-soft:#381820;--ed-warning:#e2a640;--ed-warning-soft:#2e2414;
  --ed-shadow-sm:0 1px 2px rgba(0,0,0,.4);--ed-float:0 12px 32px rgba(0,0,0,.5);
  --ed-acc-rgb:169,173,240;
  --ed-dark:#f4ece0;--ed-on-dark:#100f18;--ed-on-dark-sub:rgba(16,15,24,.72);--ed-on-dark-line:rgba(16,15,24,.2);
}
