/* VMS Works 디자인 시스템 토큰 — 색·글자 크기·층 순서의 단 한 곳(docs/DESIGN_SYSTEM.md A. 색상).
   2026-11-08 대표색 통일(A안): 화면 대표색은 --vms-primary 하나, 회사 주황은 로고에만.
   base.html · base_dynamic.html · 로그인 계열 화면 · mobile/base.html 이 가장 먼저 읽는다.
   옛 변수(--primary-color · --link-color 등)는 custom.css·mobile.css 에서 이 토큰을 가리키는 별칭이다. */

:root, [data-bs-theme="light"] {
    /* === Brand (프로젝트 고유 Primary) === */
    --vms-primary: #4e73df;
    --vms-primary-dark: #3a5bc7;
    --vms-primary-light: #e8f0fe;
    /* 글자 링크 — 흰 바탕 대비 6.0(대표색 4.34 보다 진하게, 글자 시인성) */
    --vms-link: #3a5bc7;
    --vms-link-hover: #2c4699;

    /* === Surface (카드/섹션 헤더, 합계행) === */
    --vms-header-bg: #4e73df;
    --vms-header-text: #ffffff;
    --vms-summary-bg: #cfe2ff;
    --vms-summary-text: #212529;

    /* === Z-Index 레이어 === */
    --vms-z-dropdown: 10000;
    --vms-z-modal: 1050;
    --vms-z-navbar: 1030;
    --vms-z-sticky: 1020;

    /* === Font Scale (rem 기반) === */
    --vms-text-xs: 0.75rem;     /* 12px */
    --vms-text-sm: 0.8125rem;   /* 13px - body 기준 */
    --vms-text-base: 0.875rem;  /* 14px */
    --vms-text-lg: 1rem;        /* 16px */
    --vms-text-xl: 1.5rem;      /* 24px - 페이지 제목 */

    /* === 회사 로고(VMS Solutions) — 로고 전용, 글자·버튼에 쓰지 않음(흰 바탕 대비 2.56) === */
    --vms-brand-orange: #ef8822;
    --vms-brand-gray: #bbbdbf;
    --vms-brand-ink: #151515;
    --vms-brand-badge-bg: #ffffff;
}

[data-bs-theme="dark"], [data-theme="dark"] {
    --vms-primary: #6b9eff;
    --vms-primary-dark: #5a8cf0;
    --vms-primary-light: #1a2a4a;
    --vms-link: #6b9eff;
    --vms-link-hover: #8bb4ff;

    --vms-header-bg: #2d4a8a;
    --vms-header-text: #ffffff;
    --vms-summary-bg: #1a2a4a;
    --vms-summary-text: #e9ecef;

    --vms-brand-ink: #f1f3f5;
}
