/* 디자인 토큰 단일 소스 — WORK_ORDER.md 2장. 색·글자 크기는 여기서만 정의한다. */
:root {
  /* 색 (흰 배경 대비: primary 8.27:1 AAA) */
  --color-primary: #145a32;
  --color-primary-hover: #1b6b43;
  --color-emerald: #2e8b57;      /* 장식 전용 — 글자·버튼 배경 금지 (4.25:1) */
  --color-tint: #ebf5ef;
  --color-gold: #c88a2b;         /* 테두리·배지 배경 전용 — 글자색 금지 (2.95:1) */
  --color-danger: #c82333;
  --color-kakao: #fee500;
  --color-text: #1a1d1f;
  --color-text-sub: #4a5056;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f7f9;

  /* 글자 크기 3단계 — html[data-font-size] 로 전환, 나머지는 모두 rem */
  --font-base: 16px;
  --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", sans-serif;

  --touch-min: 3rem; /* 48px */
  --radius: 0.75rem;
}
html[data-font-size="large"] { --font-base: 19px; }
html[data-font-size="xlarge"] { --font-base: 22px; }
