/* CaseFlo look: shared colours, fonts and motion for the Surgery module (CaseFlo match, step 1 of 3).
   Source: the tokens in mockup 2 (/mnt/project-files/design/surgery-caseflo-match/caseflo-look/).
   Every name starts with --cf- so nothing in style.css changes. Light is the default.
   Dark applies only while the page carries data-cf-theme="dark" on <html>; the Surgery screens
   set it on entering and remove it on leaving, so other modules never see dark.
   color-scheme is left to the Surgery wrapper on purpose (setting it on :root would change
   scrollbars and form controls in every module). */
:root {
  --cf-font-body:'Outfit',ui-sans-serif,system-ui,sans-serif;
  --cf-font-title:'Cal Sans','Outfit',ui-sans-serif,system-ui,sans-serif;
  --cf-font-data:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --cf-ease:cubic-bezier(.2,.6,.25,1); --cf-dur-fast:.12s; --cf-dur-base:.18s; --cf-dur-slow:.26s;
  --cf-motion-fade:var(--cf-dur-fast) var(--cf-ease); --cf-motion-medium:var(--cf-dur-base) var(--cf-ease);
  --cf-page:#f7fcff; --cf-page-hover:#e7eef6;
  --cf-bg:#ffffff; --cf-bg-hover:#f2f7fd; --cf-bg-press:#e7eef6;
  --cf-container:#e7eef6; --cf-container-hover:#dae3ec; --cf-container-press:#cbd6e3;
  --cf-surface:#f2f7fd; --cf-surface-hover:#e7eef6; --cf-surface-press:#dae3ec;
  --cf-surface-primary:#ddf0ff; --cf-surface-primary-hover:#c6e6ff; --cf-surface-primary-press:#a7daff;
  --cf-container-primary:#c6e6ff; --cf-container-primary-hover:#a7daff; --cf-container-primary-press:#8ccdff;
  --cf-primary:#2a5e8f; --cf-primary-hover:#1d456b; --cf-primary-press:#193755; --cf-primary-text:#193755;
  --cf-fg:#0b1015; --cf-fg-2:rgba(11,16,21,.7); --cf-fg-3:rgba(11,16,21,.5); --cf-fg-inv:#ffffff;
  --cf-line:rgba(59,67,77,.16); --cf-line-strong:rgba(59,67,77,.4);
  --cf-critical:#88414e; --cf-critical-text:#51262e; --cf-container-critical:#ffd3d9; --cf-surface-critical:#ffe4e8;
  --cf-positive:#006c58; --cf-positive-text:#004033; --cf-container-positive:#baefe0; --cf-surface-positive:#d7f5ec;
  --cf-attention:#946d21; --cf-attention-text:#463105; --cf-container-attention:#f7deb7; --cf-surface-attention:#f9ebd4;
  --cf-dots:#4278ae; --cf-focus:0 0 0 3px rgba(66,120,174,.28);
  --cf-shadow-md:0 2px 4px rgba(35,42,48,.06),0 4px 12px rgba(35,42,48,.08);
  --cf-shadow-lg:0 8px 28px rgba(35,42,48,.12),0 2px 6px rgba(35,42,48,.08);
}
:root[data-cf-theme="dark"] {
  --cf-page:#0b1015; --cf-page-hover:#2f363e;
  --cf-bg:#161b21; --cf-bg-hover:#232a30; --cf-bg-press:#2f363e;
  --cf-container:#2f363e; --cf-container-hover:#3b434d; --cf-container-press:#46505a;
  --cf-surface:#232a30; --cf-surface-hover:#2f363e; --cf-surface-press:#3b434d;
  --cf-surface-primary:#193755; --cf-surface-primary-hover:#1d456b; --cf-surface-primary-press:#22517e;
  --cf-container-primary:#1d456b; --cf-container-primary-hover:#22517e; --cf-container-primary-press:#2a5e8f;
  --cf-primary:#73b0ee; --cf-primary-hover:#8ccdff; --cf-primary-press:#a7daff; --cf-primary-text:#a7daff;
  --cf-fg:#e7eef6; --cf-fg-2:rgba(247,252,255,.7); --cf-fg-3:rgba(247,252,255,.5); --cf-fg-inv:#0b1015;
  --cf-line:rgba(231,238,246,.16); --cf-line-strong:rgba(231,238,246,.4);
  --cf-critical:#e78d9b; --cf-critical-text:#ffbcc7; --cf-container-critical:#652e39; --cf-surface-critical:#51262e;
  --cf-positive:#50c2a7; --cf-positive-text:#91e9d1; --cf-container-positive:#005040; --cf-surface-positive:#004033;
  --cf-attention:#cfa353; --cf-attention-text:#f5cf8f; --cf-container-attention:#583d00; --cf-surface-attention:#463105;
  --cf-dots:#73b0ee; --cf-focus:0 0 0 3px rgba(115,176,238,.4);
  --cf-shadow-md:0 2px 4px rgba(11,16,21,.3),0 4px 12px rgba(11,16,21,.3);
  --cf-shadow-lg:0 8px 28px rgba(11,16,21,.45),0 2px 6px rgba(11,16,21,.3);
}
