/* =========================================================
 * 편입N 목업 시안 — 디자인 토큰 (P0 소유, 이후 단위는 수정 금지)
 * 색 값은 src/app/globals.css 를 그대로 옮김.
 * 로드 순서: tokens.css → site.css → (admin.css) → pages/pN.css
 * ========================================================= */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
  /* ---- color (globals.css 원본) ---- */
  --navy: #16254a;
  --navy-soft: #22345f;
  --navy-line: #2e4270;
  --blue: #2456a6;
  --blue-bayoux: #5b6b8c;
  --blue-soft: #eaf0fa;
  --red: #cd1e24;
  --red-dark: #b0191e;
  --red-soft: #fdecec;
  --orange: #ff531e;
  --orange-soft: #fff0ea;
  --slate-800: #16254a;
  --slate-600: #525b6b;
  --slate-500: #86909f;
  --slate-400: #93a0b5;
  --slate-300: #c6cdd9;
  --line: #e2e6ec;          /* gray-line */
  --line-soft: #eceff3;     /* gray-line-soft */
  --bg: #f4f6f9;            /* gray-bg */
  --input-line: #d5dae2;
  --danger: #c0392b;
  --kakao: #fee500;
  --white: #ffffff;

  /* 보조(상태색) — 관리자 상태 배지·차트용 */
  --green: #1f8a5b;
  --green-soft: #e6f4ed;
  --amber: #b7791f;
  --amber-soft: #fdf3e1;

  /* ---- type ---- */
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 36px;
  --fs-4xl: 44px;

  /* ---- space / shape ---- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(22, 37, 74, 0.06);
  --shadow-pop: 0 10px 30px rgba(22, 37, 74, 0.14);

  /* ---- layout ---- */
  --container: 1180px;
  --gutter: 20px;
  --topbar-h: 38px;
  --header-h: 78px;
  --adm-side-w: 236px;
  --adm-top-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  letter-spacing: -0.2px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
