/* Colour carries operational meaning or it is not used.
   Emerald = action, accent, success. Ochre = operational attention, work
   queues, guardrails. Destructive = errors and destructive actions.
   Everything else is ink, mute or hairline. */
:root{
  /* Surfaces */
  --os-field:#FBFCFC;
  --os-panel:#FFFFFF;

  /* Ink */
  --os-ink:#0E1614;
  --os-ink-soft:#283330;
  --os-mute:#5F6563;
  --os-mute-soft:#A4AAA8;

  /* Hairlines */
  --os-rule:#E2E6E5;
  --os-rule-soft:#EEF1F0;
  --os-rule-strong:#C9D0CE;
  --os-input-border:#8C9391;

  /* Emerald — the single accent */
  --os-emerald:#1F4A38;
  --os-emerald-wash:#EBF0EE;

  /* Ochre — operational attention only */
  --os-ochre:#7A5E1C;
  --os-ochre-soft:#F5EFDF;

  /* Destructive */
  --os-destructive:#A1372A;
  --os-destructive-soft:#FBE3DC;

  /* Reserved: 3px top rule on Staff cards. Used nowhere else. */
  --os-staff-rule:#235346;

  /* Reserved: the Owner's own messages in Owner AI. Never an action, a
     selection or a state. Approved 15 Oct 2026. */
  --os-pine:#243E34;

  /* Floating controls: field at 88% under a 20px blur (--os-glass-filter).
     Solid --os-panel with Reduce Transparency. Approved 17 Oct 2026. */
  --os-glass:rgba(251,252,252,0.88);

  /* ── Semantic aliases. Prefer these in components. ── */
  --os-surface-page:var(--os-field);
  --os-surface-raised:var(--os-panel);

  --os-text-primary:var(--os-ink);
  --os-text-secondary:var(--os-ink-soft);
  --os-text-tertiary:var(--os-mute);
  --os-text-disabled:var(--os-mute-soft);
  --os-text-placeholder:var(--os-mute-soft);
  --os-text-absent:var(--os-mute);

  --os-border-hairline:var(--os-rule);
  --os-border-quiet:var(--os-rule-soft);
  --os-border-firm:var(--os-rule-strong);

  --os-action:var(--os-emerald);
  --os-action-text:var(--os-field);
  --os-action-disabled-surface:var(--os-rule-soft);
  --os-action-disabled-text:var(--os-mute);

  --os-selected-surface:var(--os-emerald-wash);
  --os-selected-border:var(--os-emerald);

  --os-attention:var(--os-ochre);
  --os-attention-wash:var(--os-ochre-soft);

  --os-danger:var(--os-destructive);
  --os-danger-wash:var(--os-destructive-soft);

  --os-focus:var(--os-emerald);
  --os-scrim:rgba(14,22,20,0.40);
}
