/* Askwork design tokens (v1, 2026-11-09)
   Source of truth for colours, type, radius, shadow and sizes.
   Use these variables (or the Tailwind theme in DESIGN_GUIDE.md) instead of raw hex values. */

:root {
  /* Brand */
  --aw-logo: #1B4965;            /* logo wordmark */
  --aw-logo-dot: #F4895F;        /* the dot of the "i" in the logo (the stem of the first k), robot antenna tip */

  /* Core UI */
  --aw-primary: #33719A;         /* primary buttons, user chat bubble, links, send button */
  --aw-primary-hover: #255673;
  --aw-primary-soft: #E3F2FA;    /* header background, soft buttons, mic button, dismissal card tint */
  --aw-page: #FFF8F0;            /* page background (cream) */
  --aw-surface: #FFFFFF;         /* cards, answer bubble, input */
  --aw-surface-muted: #F3EFEA;   /* source chip, neutral chips */
  --aw-border: #F0E8DE;          /* hairlines on cream */
  --aw-text: #24364A;            /* all body text and headings */
  --aw-text-muted: #5A6878;      /* secondary text, disclaimers */
  --aw-hero: linear-gradient(180deg, #E3F2FA 0%, #FFF8F0 42%);

  /* Topic pastels (background / foreground pair) */
  --aw-mint-bg: #DDF3EA;     --aw-mint-fg: #22654F;      /* Pay and payslips */
  --aw-lavender-bg: #ECE7FB; --aw-lavender-fg: #4E3FA6;  /* Hours and leave, secondary action button */
  --aw-peach-bg: #FFE8D9;    --aw-peach-fg: #8F4220;     /* Safety and injury */
  --aw-butter-bg: #FFF3C9;   --aw-butter-fg: #7A5C00;    /* Visa and PALM workers */

  /* Traffic light badges (always shown with a text label, never colour alone) */
  --aw-green-bg: #DDF3EA;  --aw-green-fg: #22654F;  --aw-green-dot: #2E9E6B;
  --aw-yellow-bg: #FFF3C9; --aw-yellow-fg: #7A5C00; --aw-yellow-dot: #E5B300;
  --aw-red-bg: #FFE4E1;    --aw-red-fg: #A12A1F;    --aw-red-solid: #C0362C;

  /* Type */
  --aw-font: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --aw-text-body: 17px;      /* chat and answer text */
  --aw-text-ui: 16px;        /* buttons, tiles, list items */
  --aw-text-small: 14px;     /* chips, captions */
  --aw-text-meta: 13px;      /* disclaimers only */
  --aw-h1-mobile: 26px;
  --aw-h1-desktop: 34px;
  --aw-line: 1.5;

  /* Shape */
  --aw-radius-card: 20px;
  --aw-radius-input: 22px;
  --aw-radius-button: 16px;
  --aw-radius-tile: 20px;
  --aw-radius-chip: 12px;
  --aw-radius-pill: 999px;
  --aw-bubble-user: 20px 20px 6px 20px;
  --aw-bubble-bot: 20px 20px 20px 6px;

  /* Elevation */
  --aw-shadow: 0 2px 12px rgba(51, 113, 154, 0.10);
  --aw-shadow-raised: 0 4px 14px rgba(51, 113, 154, 0.14);

  /* Sizes */
  --aw-tap: 48px;            /* minimum tap target */
  --aw-tap-header: 44px;     /* header pills only */
  --aw-gutter-mobile: 16px;
  --aw-container: 1200px;

  /* Focus */
  --aw-focus: 0 0 0 3px #FFFFFF, 0 0 0 5px #33719A;
  /* Edges of fields (2026-11-23, Jay: "글씨 쓰는 칸이 잘 안 보이는데"). Drawn inside the box, so no box changes size.
     The box for the question: 2px. The other fields (.aw-field): 1px. Both --aw-primary (WCAG 1.4.11: 3:1). */
  --aw-composer-edge: inset 0 0 0 2px var(--aw-primary);
  --aw-field-edge: inset 0 0 0 1px var(--aw-primary);
}
