/* app.q2med.com design tokens: the Proactive Shortages workspace system
   (DESIGN_GUIDE.md is the source of truth). Cool white neutrals, a navy rail,
   one action blue for the single primary action, colour only where it carries
   meaning. The --ag-* names used by the Ask Q2Med stylesheets are aliased to
   them at the bottom. Avoid Tailwind theme names here (--color-*, --radius-*,
   --shadow-*, --font-*): the Tailwind theme in src/css/input.css mirrors these
   values under its own names. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/newsreader-latin.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/newsreader-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plex-mono-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/plex-mono-600-latin.woff2) format('woff2'); }

:root {
  /* Surfaces */
  --ground: #f0f1f3;
  --page: #f6f9fc;
  --sheet: #fbfbfc;
  --panel: #fdfdfd;
  --card: #ffffff;

  --fill-row: #f6f7f8;
  --fill-tile: #f1f2f4;
  --fill-chip: #eff0f2;
  --fill-bubble: #eaf2fb;
  --fill-hover: #f5f6f8;
  --fill-rail: #e7e9ec;
  --fill-avatar: #e7e9ec;

  /* Lines */
  --line-shell: #e2e4e8;
  --line: #e5e7ea;
  --line-input: #dadde2;
  --line-rule: #e9ebee;
  --line-row: #edeef1;
  --line-row2: #f2f3f5;
  --line-dash: #c7cbd1;
  --line-strong: #a2a8b0;
  --line-panelcard: #e7e9ec;

  /* Text */
  --ink: #181d24;
  --body: #30363e;
  --muted: #585f68;
  --meta: #61676f;
  --faint: #888e96;

  /* Brand */
  --navy: #0b2545;
  --navy-hover: #16355c;
  --navy-soft: #8aa0b8;
  --link: #0672bf;
  --action: #0672bf;
  --action-hover: #055c9c;
  --action-fill: #e8f4ff;
  --action-line: #b7d9f3;
  --action-ink: #075d89;

  /* Meaning: red shortage/error, amber listed/return dates/attention,
     blue upcoming/action, green done/confirmed, grey neutral. */
  --ok: #1f7a3f;
  --ok-dot: #1f9d55;
  --ok-fill: #e8f4ea;
  --ok-line: #bfe0c8;
  --att: #a35a00;
  --att-dot: #e39b14;
  --att-fill: #fdf1e3;
  --att-line: #f0c98a;
  --err: #c23b3b;
  --err-dot: #d84f4f;
  --err-fill: #fbeaea;
  --err-line: #f1c9c9;
  --info: #075d89;
  --info-fill: #e8f4ff;
  --neutral-fill: #eff0f2;
  --plum: #6b3fb0;
  --plum-fill: #efe8fa;
  --rust: #b4530a;
  --rust-fill: #fcecdc;

  /* Navigation rail */
  --rail-bg: #0b2545;
  --rail-ink: rgba(255, 255, 255, .74);
  --rail-ink-strong: #ffffff;
  --rail-hover: rgba(255, 255, 255, .09);
  --rail-line: rgba(255, 255, 255, .12);
  --rail-active: var(--action);

  /* Type */
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --fs-title: 30px;
  --fs-title-phone: 26px;
  --fs-record: 26px;
  --fs-section: 23px;
  --fs-aside: 18px;
  --fs-card: 15px;
  --fs-body: 14px;
  --fs-meta: 13px;
  --fs-small: 12px;
  --fs-label: 11.5px;

  /* Shape and depth */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --control-h: 36px;
  --control-h-lg: 40px;
  --touch-h: 44px;

  --sh-card: 0 1px 2px rgba(11, 37, 69, .04);
  --sh-hero: 0 1px 2px rgba(11, 37, 69, .04), 0 16px 40px -20px rgba(11, 37, 69, .22);
  --sh-pop: 0 10px 30px rgba(11, 37, 69, .16);
  --sh-tip: 0 6px 18px rgba(11, 37, 69, .14);
  --focus-ring: 0 0 0 3px rgba(6, 114, 191, .2);

  /* Shell */
  --app-rail-w: 80px;
  --app-chat-w: 400px;
  --app-chat-strip-w: 56px;
  --page-gutter: 32px;
  --page-gap: 18px;

  --ag-ground: var(--ground);
  --ag-sheet: var(--page);
  --ag-panel: var(--panel);
  --ag-card: var(--card);
  --ag-fill: var(--fill-row);
  --ag-tile: var(--fill-tile);
  --ag-chip: var(--fill-chip);
  --ag-user: var(--fill-bubble);
  --ag-hover: var(--fill-hover);
  --ag-line-shell: var(--line-shell);
  --ag-line: var(--line);
  --ag-line-input: var(--line-input);
  --ag-line-rule: var(--line-rule);
  --ag-line-row: var(--line-row);
  --ag-line-row2: var(--line-row2);
  --ag-line-dash: var(--line-dash);
  --ag-line-strong: var(--line-strong);
  --ag-line-panelcard: var(--line-panelcard);
  --ag-ink: var(--ink);
  --ag-body: var(--body);
  --ag-muted: var(--muted);
  --ag-meta: var(--meta);
  --ag-faint: var(--faint);
  --ag-navy: var(--navy);
  --ag-navy-hover: var(--navy-hover);
  --ag-navy-soft: var(--navy-soft);
  --ag-link: var(--link);
  --ag-action: var(--action);
  --ag-action-hover: var(--action-hover);
  --ag-action-fill: var(--action-fill);
  --ag-ok: var(--ok);
  --ag-ok-dot: var(--ok-dot);
  --ag-ok-fill: var(--ok-fill);
  --ag-warn: var(--att);
  --ag-warn-dot: var(--att-dot);
  --ag-warn-fill: var(--att-fill);
  --ag-warn-line: var(--att-line);
  --ag-err: var(--err);
  --ag-err-fill: var(--err-fill);
  --ag-sans: var(--sans);
  --ag-serif: var(--serif);
  --ag-mono: var(--mono);
  --ag-shadow-card: var(--sh-card);
  --ag-shadow-hero: var(--sh-hero);
  --ag-shadow-pop: var(--sh-pop);
  --ag-shadow-tip: var(--sh-tip);
  --ag-panel-w: 408px;
}
