/* =========================================================
   디자인 토큰 — 색·글꼴·간격은 여기서만 바꾼다
   ========================================================= */
@font-face { font-family: "HyundaiText"; src: url("../fonts/HyundaiSansTextKRRegular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "HyundaiText"; src: url("../fonts/HyundaiSansTextKRBold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "HyundaiHead"; src: url("../fonts/HyundaiSansHeadKRMedium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  /* 글꼴 */
  --font-text: "HyundaiText", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --font-head: "HyundaiHead", var(--font-text);
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-lg: 16px; --fs-xl: 20px; --fs-2xl: 26px;

  /* 기본 색 */
  --c-bg: #f4f6f9;
  --c-surface: #ffffff;
  --c-line: #e1e5ec;
  --c-line-strong: #c5cdd9;
  --c-text: #152338;
  --c-sub: #5b6779;
  --c-muted: #8a94a3;

  /* 시스템 색 (body[data-system]으로 바뀜) */
  --c-primary: #002c5f;      /* 리서치 데이터 대시보드 */
  --c-primary-soft: #e8eef7;
  --c-accent: #00aad2;
  --c-sidebar: #0f2240;
  --c-sidebar-text: #c9d6ea;

  /* 상태 색 */
  --c-ok: #08715d;    --c-ok-soft: #e3f3ef;
  --c-info: #2456bd;  --c-info-soft: #e8effc;
  --c-warn: #a35f00;  --c-warn-soft: #fbf0de;
  --c-err: #c0392b;   --c-err-soft: #fbe6e3;
  --c-off: #8a94a3;   --c-off-soft: #eef0f3;

  /* 출처 태그 색 — 고객 확정 / 아이엠파인 제안 / 검토 필요 */
  --c-tag-confirmed: #293548;
  --c-tag-proposal: #08715d;
  --c-tag-review: #a35f00;

  /* 치수 */
  --header-h: 56px;
  --sidebar-w: 252px;
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 16px;
  --shadow: 0 1px 2px rgba(16, 34, 64, .06), 0 2px 8px rgba(16, 34, 64, .04);
}

/* 운영 CMS는 무채색 계열로 구분 */
body[data-system="cms"] {
  --c-primary: #33404f;
  --c-primary-soft: #eceff3;
  --c-accent: #e07a1f;
  --c-sidebar: #1f262f;
  --c-sidebar-text: #c3cad3;
}
