/* EYAS-WEB-20261111-R1: single colour authority. Raw palette -> semantic roles.
   Paper text uses #5e5566: pale raw greys are decoration only, not small text.
   No external font request. Geometry/type scale remain in their component files. */
:root {
  /* Raw brand and paper palette */
  --brand-purple:#432d5b;
  --surface-paper:#f8f4ef; --surface-paper-deep:#eee5dc; --surface-paper-light:#fcf9f5;
  --text-ink:#26212b;
  --gray-primary:#5e5566; --gray-secondary:#857b8a; --gray-footnote:#9e94a3;
  --gold-base:#c9a253; --gold-highlight:#e8c877;
  /* Reading surface roles; hierarchy is weight/size, not faint text. */
  --text-support:var(--gray-primary); --text-secondary:var(--gray-primary); --text-caption:var(--gray-primary);
  --paper-rule:#ddd3ca; --paper-hover:#ece4f2;
  --application-rule:rgba(185,162,206,.4);
  --control-border:var(--gray-primary); /* visible field boundary on all paper surfaces */
  /* Opaque product surfaces, including map overlay labels. */
  --shell-base:#241c31; --shell-panel:#2b2340; --shell-line:#3a2f4a;
  --shell-text:#e8e2ee; --shell-muted:#b7adc4;
  --shell-hover:var(--shell-line); --shell-selected:var(--shell-line);
  --shell-control:var(--shell-muted); /* functional controls use a stronger edge */
  --shell-focus:var(--gold-highlight);
  /* Green retains normal-operation meaning; no invented alarm semantics. */
  --state-success:#bbd2c5; --state-success-bg:var(--shell-line);
  --state-warning:var(--gold-highlight); --state-warning-bg:var(--shell-line);
  --state-neutral:var(--shell-muted);
  /* Shared brand frame. Gold is permitted on dark header/breadcrumb/footer. */
  --frame-bg:var(--shell-base); --frame-text:var(--gold-highlight); --frame-line:var(--shell-line);
  --frame-hover:var(--shell-panel); --frame-button:var(--gold-base); --frame-button-hover:var(--gold-highlight);
  --focus-paper:var(--brand-purple); --selection-bg:var(--paper-hover); --selection-text:var(--brand-purple);
  --dialog-backdrop:rgba(36,28,49,.82); --shadow-ink:rgba(36,28,49,.3);
  --hero-shade:rgba(36,28,49,.9); --hero-shade-end:rgba(36,28,49,.82);
  --cta-shade:rgba(36,28,49,.94); --cta-shade-end:rgba(36,28,49,.84);
  /* Compatibility aliases consumed by existing components; no literal duplicates. */
  --paper:var(--surface-paper); --paper-deep:var(--surface-paper-deep); --paper-light:var(--surface-paper-light);
  --ink:var(--text-ink); --purple:var(--brand-purple); --muted:var(--text-support); --line:var(--paper-rule); --gold:var(--gold-base);
  --ui:var(--shell-panel); --ui-deep:var(--shell-base); --ui-line:var(--shell-line); --ui-text:var(--shell-text); --ui-muted:var(--shell-muted);
  --data-font:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --ease:cubic-bezier(.16,1,.3,1);
}
