/* =========================================================
   미래도로교육센터 통합 교육플랫폼 — 시제품 공통 스타일
   색상·글꼴·간격을 아래 :root 변수에서 한 번에 바꿀 수 있습니다.
   ========================================================= */
:root {
  /* ── 한국도로협회 CI 색상 (공식 로고 파일에서 추출) ── */
  --ci-navy: #243082;     /* KROAD 단색 워드마크 남색 */
  --ci-blue: #0016E5;     /* 심볼 파랑 리본 */
  --ci-red:  #E50000;     /* 심볼 빨강 리본 */
  --ci-gray: #A7A7A7;     /* 심볼 원형 테두리 */
  --ci-red-soft: #FF8A8A; /* 어두운 배경 위 글자용 밝은 빨강(가독성 보정) */
  --ci-red-ink: #C40000;  /* 흰 바탕 위 작은 글자용 CI 빨강(가독성 보정) */

  /* 메인·상단 배경용 깊은 남색 (CI 남색과 같은 계열, 채도를 낮춰 보랏빛을 뺌) — 2026-11-16 */
  --ink-950: #081131;
  --ink-900: #0D1A4A;
  --ink-800: #15245E;
  --hero-bg:
    radial-gradient(900px 520px at 88% 8%, rgba(52, 86, 214, .30), transparent 62%),
    radial-gradient(700px 420px at 8% 110%, rgba(36, 48, 130, .55), transparent 70%),
    linear-gradient(160deg, var(--ink-950) 0%, var(--ink-900) 52%, var(--ink-800) 100%);

  /* CI 남색 계열 (대표색 = --navy-800) */
  --navy-950: #0F1540;
  --navy-900: #161F5C;
  --navy-800: #243082;   /* 대표색 = CI 남색 */
  --navy-700: #2F3E9E;
  --navy-600: #3D4FB8;
  --blue-600: #0016E5;   /* 링크·강조 = CI 파랑 */
  --blue-500: #2A3DF0;
  --blue-50:  #EEF0FD;
  --teal-500: #0016E5;   /* 보조 강조(기업회원·협약) = CI 파랑 */
  --teal-50:  #EEF0FD;
  --lane:     #E50000;   /* 포인트 = CI 빨강 */
  --star:     #F5A800;   /* 별점·관심과정 */

  --gray-0:   #ffffff;
  --gray-25:  #fafbfd;
  --gray-50:  #f4f6fa;
  --gray-100: #eceff5;
  --gray-200: #dce2eb;
  --gray-300: #c3ccd9;
  --gray-400: #8f9bb0;
  --gray-500: #6b788f;
  --gray-600: #525e74;
  --gray-700: #3a4559;
  --gray-800: #232d3f;
  --gray-900: #121a29;

  --ok: #13804a;    --ok-bg: #e6f5ec;
  --info: #1d4ed8;  --info-bg: #e8effe;
  --warn: #b45309;  --warn-bg: #fef3e2;
  --danger: #c0262d; --danger-bg: #fdecec;
  --violet: #6d3fd8; --violet-bg: #f0ebfd;

  /* 교육 분야 색 */
  --f-policy: #2F3E9E;
  --f-design: #0a7f91;
  --f-construct: #d9530b;
  --f-maintain: #23803a;
  --f-future: #6a43dc;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 60, .06);
  --shadow: 0 4px 16px rgba(10, 30, 60, .08);
  --shadow-lg: 0 12px 40px rgba(10, 30, 60, .16);
  --container: 1240px;
  --header-h: 76px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--gray-800); background: var(--gray-0); word-break: keep-all; overflow-wrap: anywhere;
}
img, svg { vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; color: var(--gray-900); letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--gray-500); }
.small { font-size: 14px; }
.xsmall { font-size: 13px; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.right { text-align: right; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.hidden { display: none !important; }

/* ---------- 시제품 안내 띠 ---------- */
.demo-bar {
  background: var(--ink-950); color: #cfd9ea; font-size: 13px; line-height: 1.5;
}
.demo-bar .container { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.demo-bar strong { color: var(--ci-red-soft); font-weight: 700; margin-right: 6px; }
.demo-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--gray-200); }
.util-bar { border-bottom: 1px solid var(--gray-100); font-size: 13px; color: var(--gray-600); }
.util-bar .container { display: flex; justify-content: flex-end; gap: 4px; align-items: center; height: 36px; }
.util-bar a, .util-bar button { padding: 4px 10px; background: none; border: 0; border-radius: 4px; color: inherit; }
.util-bar a:hover, .util-bar button:hover { color: var(--navy-800); background: var(--gray-50); }
.util-bar .user-chip { color: var(--navy-800); font-weight: 600; padding: 4px 10px; }
.util-bar .sep { width: 1px; height: 12px; background: var(--gray-200); }

.header-main { position: relative; }
.header-main .container { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { height: 46px; display: flex; align-items: center; flex-shrink: 0; }
.logo-mark img { height: 100%; width: auto; display: block; }
.logo-text strong { display: block; font-size: 20px; font-weight: 800; color: var(--ci-navy); letter-spacing: -0.03em; line-height: 1.2; }
.logo-text span { display: block; font-size: 11.5px; color: var(--gray-500); letter-spacing: -0.01em; }
.site-header .logo-mark { height: 56px; }
.site-header .logo-text span, .drawer-head .logo-text span { font-size: 20px; font-weight: 700; color: var(--gray-700); letter-spacing: -0.03em; line-height: 1.2; }

.gnb { display: flex; flex: 1; justify-content: center; height: 100%; }
.gnb > li { position: relative; height: 100%; min-width: 112px; }
.gnb > li > a { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 22px; font-size: 17px; font-weight: 700; color: var(--gray-900); position: relative; }
.gnb > li > a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; background: var(--navy-800); transform: scaleX(0); transition: transform .2s; }
.gnb > li:hover > a::after, .gnb > li.active > a::after, .gnb > li:focus-within > a::after { transform: scaleX(1); }
.gnb > li.active > a { color: var(--navy-800); }
.gnb .sub { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 0 22px; z-index: 2; }
.gnb .sub a { display: block; padding: 6px 4px; font-size: 14px; line-height: 1.4; color: var(--gray-600); text-align: center; white-space: normal; word-break: keep-all; border-radius: 4px; }
.gnb .sub a:hover { color: var(--navy-800); background: var(--gray-50); font-weight: 600; }
.gnb .sub .tag { font-size: 11px; color: var(--teal-500); margin-left: 3px; font-weight: 700; }
.mega-bg { display: none; position: absolute; left: 0; right: 0; top: 100%; height: 260px; background: #fff; border-top: 1px solid var(--gray-200); box-shadow: 0 16px 24px rgba(10,30,60,.08); z-index: 1; }
.header-main.open .gnb .sub, .header-main.open .mega-bg { display: block; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--gray-200); background: #fff; color: var(--gray-700); }
.icon-btn:hover { border-color: var(--navy-700); color: var(--navy-800); }
.menu-toggle { display: none; }

/* 모바일 메뉴 */
.drawer { position: fixed; inset: 0; z-index: 300; display: none; }
.drawer.open { display: block; }
.drawer-dim { position: absolute; inset: 0; background: rgba(5,20,45,.5); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; overflow-y: auto; padding: 20px; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-user { background: var(--gray-50); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.drawer details { border-bottom: 1px solid var(--gray-100); }
.drawer summary { padding: 14px 4px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; color: var(--gray-400); font-weight: 400; }
.drawer details[open] summary::after { content: "−"; }
.drawer details a { display: block; padding: 8px 12px; color: var(--gray-600); font-size: 15px; }
.drawer details div { padding-bottom: 10px; }

/* 통합검색 레이어 */
.search-layer { position: fixed; inset: 0; z-index: 310; display: none; background: rgba(5,20,45,.55); }
.search-layer.open { display: block; }
.search-box { background: #fff; padding: 36px 0 40px; box-shadow: var(--shadow-lg); }
.search-box form { display: flex; gap: 8px; max-width: 760px; margin: 0 auto; }
.search-box input { flex: 1; height: 56px; border: 2px solid var(--navy-800); border-radius: 12px; padding: 0 18px; font-size: 18px; }
.search-box .kw { max-width: 760px; margin: 14px auto 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--gray-500); }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-blue { background: var(--blue-600); color: #fff; }
.btn-blue:hover { background: var(--blue-500); }
.btn-teal { background: var(--teal-500); color: #fff; }
.btn-teal:hover { filter: brightness(1.08); }
.btn-outline { background: #fff; border-color: var(--gray-300); color: var(--gray-800); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--navy-800); }
.btn-ghost:hover { background: var(--gray-50); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { background: var(--blue-50); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f1b8bb; }
.btn-danger:hover { background: var(--danger-bg); }
.btn[disabled], .btn.disabled { background: var(--gray-100); color: var(--gray-400); border-color: var(--gray-200); cursor: not-allowed; }
.link { color: var(--blue-600); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.more-link { font-size: 14px; color: var(--gray-500); display: inline-flex; align-items: center; gap: 4px; }
.more-link:hover { color: var(--navy-800); }

/* ---------- 배지 ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; line-height: 1; }
.badge-open { background: var(--ok-bg); color: var(--ok); }
.badge-wait { background: var(--warn-bg); color: var(--warn); }
.badge-soon { background: var(--info-bg); color: var(--info); }
.badge-closed { background: var(--gray-100); color: var(--gray-600); }
.badge-ongoing { background: var(--violet-bg); color: var(--violet); }
.badge-done { background: var(--gray-100); color: var(--gray-500); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-line { background: #fff; border: 1px solid var(--gray-200); color: var(--gray-600); font-weight: 600; }
.badge-navy { background: var(--navy-800); color: #fff; }
.badge-teal { background: var(--teal-50); color: var(--teal-500); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.field-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.field-chip::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--fc, var(--navy-800)); }

/* ---------- 메인: 히어로 ---------- */
/* 2026-11-16 다시 디자인: 깊은 남색 한 가지 + CI 빨강은 작은 포인트로만. 바로가기 4개는 같은 모양. */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--hero-bg); }
/* 잔잔한 점무늬(오른쪽 위로 갈수록 보임) */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 82% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 60% 80% at 82% 30%, #000 0%, transparent 72%); }
/* 멀리 뻗어 가는 도로 선(아주 옅게) */
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMaxYMax slice'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M470 600C700 470 950 360 1200 296' stroke-opacity='.07' stroke-width='2'/%3E%3Cpath d='M1010 600C1080 500 1140 430 1200 392' stroke-opacity='.07' stroke-width='2'/%3E%3Cpath d='M740 600C890 486 1040 396 1200 344' stroke-opacity='.11' stroke-width='3' stroke-dasharray='34 26'/%3E%3C/g%3E%3C/svg%3E") right bottom / cover no-repeat; }
.hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-eyebrow { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.74); letter-spacing: .01em; }
.hero-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ci-red); border-radius: 2px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; line-height: 1.24; margin-top: 18px; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: #fff; text-decoration: underline; text-decoration-color: var(--ci-red); text-decoration-thickness: .09em; text-underline-offset: .2em; text-decoration-skip-ink: none; }
.hero-lead { margin-top: 20px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.72); max-width: 540px; }
.hero-search { margin-top: 32px; display: flex; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 18px 44px rgba(3, 8, 30, .38); max-width: 600px; }
.hero-search select { border: 0; background: var(--gray-50); border-radius: 8px; padding: 0 12px; font-size: 15px; color: var(--gray-700); width: 132px; }
.hero-search input { flex: 1; border: 0; padding: 0 14px; font-size: 17px; min-width: 0; color: var(--gray-900); }
.hero-search input:focus { outline: none; }
.hero-search .btn { border-radius: 8px; }
.hero-search:focus-within { box-shadow: 0 0 0 4px rgba(255,255,255,.22), 0 18px 44px rgba(3, 8, 30, .38); }
.hero-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.55); align-items: center; }
.hero-tags > span { font-weight: 600; margin-right: 2px; }
.hero-tags a { color: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.18); padding: 3px 10px; border-radius: 6px; transition: background .15s, border-color .15s, color .15s; }
.hero-tags a:hover { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.36); }

.quick-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quick-item { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 164px; padding: 22px 20px 20px; border-radius: 16px; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.13);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s; }
.quick-item:hover { background: linear-gradient(160deg, rgba(255,255,255,.15), rgba(255,255,255,.07)); border-color: rgba(255,255,255,.30); transform: translateY(-2px); }
.quick-item:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.quick-item::after { content: "→"; position: absolute; top: 20px; right: 20px; font-size: 18px; line-height: 1; color: rgba(255,255,255,.35); transition: transform .2s, color .2s; }
.quick-item:hover::after { color: #fff; transform: translateX(3px); }
.quick-item .qi-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: auto; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.quick-item strong { font-size: 17px; font-weight: 700; margin-top: 18px; letter-spacing: -0.02em; }
.quick-item span { font-size: 13.5px; color: rgba(255,255,255,.64); line-height: 1.45; }
.quick-item.accent .qi-icon { background: var(--ci-red); border-color: var(--ci-red); }

/* ---------- 섹션 ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-50); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.section-head p { margin-top: 6px; color: var(--gray-500); }
.eyebrow { font-size: 13px; font-weight: 800; color: var(--ci-red-ink); letter-spacing: .08em; margin-bottom: 8px; display: block; }
.eyebrow-light { color: rgba(255,255,255,.62); }
/* CI 심볼의 파랑·빨강 리본을 옮긴 띠 */
.lane-divider { height: 4px; background: linear-gradient(100deg, var(--ci-blue) 0 49.6%, #fff 49.6% 50.4%, var(--ci-red) 50.4% 100%); }

/* ---------- 과정 카드 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.course-card { position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.course-card:hover { border-color: var(--navy-600); box-shadow: var(--shadow); transform: translateY(-2px); }
.course-card::before { content: ""; position: absolute; left: 22px; top: 0; width: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--fc, var(--navy-800)); }
.course-card .cc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.course-card h3 { font-size: 18px; font-weight: 700; line-height: 1.4; min-height: 50px; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course-card .cc-meta { display: grid; gap: 4px; font-size: 14px; color: var(--gray-600); }
.course-card .cc-meta div { display: flex; gap: 8px; }
.course-card .cc-meta dt { color: var(--gray-400); width: 56px; flex-shrink: 0; }
.course-card .cc-meta dd { margin: 0; }
.course-card .cc-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--gray-200); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; }
.seat-bar { flex: 1; max-width: 120px; height: 6px; background: var(--gray-100); border-radius: 99px; overflow: hidden; }
.seat-bar i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.seat-bar.full i { background: var(--warn); }
.seat-text { color: var(--gray-600); font-weight: 600; }
.seat-text b { color: var(--ok); }
.course-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- 분야 타일 ---------- */
.field-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.field-tile { position: relative; border-radius: var(--radius-lg); padding: 24px 20px; min-height: 196px; background: #fff; border: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.field-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--fc); }
.field-tile .ft-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--fc) 12%, white); color: var(--fc); }
.field-tile strong { font-size: 19px; color: var(--gray-900); }
.field-tile p { font-size: 13.5px; color: var(--gray-500); line-height: 1.5; }
.field-tile .ft-count { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--fc); }

/* ---------- 협약기업 확인 위젯 ---------- */
.company-check { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); background: #fff; }
.company-check .cc-left { padding: 36px; background: linear-gradient(135deg, var(--ci-blue), var(--navy-800)); color: #fff; }
.company-check .cc-left h3 { color: #fff; font-size: 26px; font-weight: 800; }
.company-check .cc-left p { color: #DCE1FF; margin-top: 10px; }
.company-check .cc-steps { margin-top: 22px; display: grid; gap: 8px; }
.company-check .cc-steps li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.company-check .cc-steps b { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.company-check .cc-right { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }

/* ---------- 성과 지표 ---------- */
.stats-band { background: radial-gradient(760px 380px at 100% 0%, rgba(52, 86, 214, .24), transparent 65%), var(--ink-900); color: #fff; position: relative; overflow: hidden; }
.stats-band .container { padding-top: 56px; padding-bottom: 56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-left: 2px solid var(--ci-red); padding-left: 20px; }
.stat .num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat .num small { font-size: 18px; font-weight: 600; margin-left: 3px; color: rgba(255,255,255,.62); }
.stat .lbl { color: rgba(255,255,255,.70); font-size: 15px; margin-top: 8px; }
.stats-band .note { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 28px; }

/* ---------- 참여 절차 ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process li { position: relative; text-align: center; padding: 0 10px; }
.process li::before { counter-increment: step; content: counter(step); position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 22px; font-weight: 800; background: #fff; color: var(--navy-800); border: 2px solid var(--navy-800); }
.process li::after { content: ""; position: absolute; top: 31px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: repeating-linear-gradient(90deg, var(--gray-300) 0 8px, transparent 8px 14px); }
.process li:last-child::after { display: none; }
.process strong { display: block; font-size: 17px; }
.process span { display: block; font-size: 14px; color: var(--gray-500); margin-top: 4px; }

/* ---------- 게시판 요약 ---------- */
.board-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel-head h3 { font-size: 19px; font-weight: 800; }
.notice-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--gray-100); font-size: 15px; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.board-grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .layout-lnb > *, .detail-layout > *, .course-grid > * { min-width: 0; }
.notice-list a:hover { color: var(--navy-800); text-decoration: underline; }
.notice-list time { color: var(--gray-400); font-size: 13.5px; flex-shrink: 0; }
.contact-card { background: radial-gradient(420px 260px at 100% 0%, rgba(52, 86, 214, .30), transparent 70%), var(--ink-900); color: #fff; border: 0; }
.contact-card h3 { color: #fff; }
.contact-card .tel { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 4px; color: #fff; }
.contact-card p { color: rgba(255,255,255,.70); font-size: 14px; }

/* ---------- 하위 페이지 상단 ---------- */
.page-hero { background: var(--hero-bg); color: #fff; position: relative; overflow: hidden; }
.page-hero .container { padding-top: 44px; padding-bottom: 44px; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.72); margin-top: 8px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(100deg, var(--ci-blue) 0 49.6%, var(--ink-950) 49.6% 50.4%, var(--ci-red) 50.4% 100%); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.62); margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }

.page-body { padding: 40px 0 88px; }
.layout-lnb { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
.lnb { position: sticky; top: calc(var(--header-h) + 52px); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.lnb h2 { background: var(--navy-800); color: #fff; font-size: 18px; padding: 20px 20px; }
.lnb a { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; border-top: 1px solid var(--gray-100); font-size: 15px; color: var(--gray-700); }
.lnb a:hover { background: var(--gray-50); color: var(--navy-800); }
.lnb a.active { color: var(--navy-800); font-weight: 700; background: var(--blue-50); box-shadow: inset 3px 0 0 var(--navy-800); }
.lnb a .tag { font-size: 11px; color: var(--teal-500); font-weight: 700; }
.content-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 2px solid var(--gray-900); flex-wrap: wrap; }
.content-head h2 { font-size: 26px; font-weight: 800; }
.content-head p { color: var(--gray-500); margin-top: 6px; font-size: 15px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
h3.h-sub { font-size: 20px; font-weight: 800; margin: 36px 0 14px; display: flex; align-items: center; gap: 8px; }
h3.h-sub::before { content: ""; width: 4px; height: 18px; background: var(--navy-800); border-radius: 2px; }
h3.h-sub:first-child { margin-top: 0; }

/* 탭 버튼 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--gray-200); margin-bottom: 24px; overflow-x: auto; }
.tabs button, .tabs a { background: none; border: 0; padding: 12px 18px; font-size: 15.5px; font-weight: 600; color: var(--gray-500); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover, .tabs a:hover { color: var(--gray-900); }
.tabs .active { color: var(--navy-800); border-bottom-color: var(--navy-800); }
.seg { display: inline-flex; background: var(--gray-100); border-radius: 10px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--gray-600); }
.seg button.active { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }

/* ---------- 폼 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: 14.5px; font-weight: 700; color: var(--gray-800); margin-bottom: 7px; }
.field .req { color: var(--danger); margin-left: 2px; }
.field .hint { font-size: 13px; color: var(--gray-500); margin-top: 6px; }
.input, .select, .textarea { width: 100%; height: 46px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); padding: 0 14px; background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(0,22,229,.14); }
.input[readonly] { background: var(--gray-50); color: var(--gray-600); }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-800); flex-shrink: 0; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { position: relative; border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 16px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card:has(input:checked) { border-color: var(--navy-800); background: var(--blue-50); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.filter-bar { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 14px; }
.filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-row > .lbl { width: 64px; font-size: 14px; font-weight: 700; color: var(--gray-700); flex-shrink: 0; }
.chip { border: 1px solid var(--gray-300); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--gray-700); font-weight: 500; }
.chip:hover { border-color: var(--navy-700); }
.chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 600; }

/* ---------- 표 ---------- */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--gray-900); }
.table { font-size: 14.5px; min-width: 640px; }
.table th { background: var(--gray-50); font-weight: 700; color: var(--gray-700); padding: 12px 12px; border-bottom: 1px solid var(--gray-200); text-align: center; white-space: nowrap; }
.table td { padding: 13px 12px; border-bottom: 1px solid var(--gray-100); text-align: center; vertical-align: middle; }
.table td.left, .table th.left { text-align: left; }
.table tbody tr:hover { background: var(--gray-25); }
.info-table { border-top: 2px solid var(--gray-900); font-size: 15px; }
.info-table th { width: 140px; background: var(--gray-50); text-align: left; padding: 14px 16px; font-weight: 700; color: var(--gray-700); border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.info-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-200); }

/* ---------- 알림 상자 ---------- */
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--blue-50); color: var(--gray-800); font-size: 14.5px; border: 1px solid #cfdcf8; }
.callout svg { flex-shrink: 0; color: var(--blue-600); margin-top: 1px; }
.callout strong { color: var(--navy-800); }
.callout.warn { background: var(--warn-bg); border-color: #f6d9a8; }
.callout.warn svg { color: var(--warn); }
.callout.ok { background: var(--ok-bg); border-color: #b7e2c8; }
.callout.ok svg { color: var(--ok); }
.callout.lock { background: var(--gray-50); border-color: var(--gray-200); }
.callout.lock svg { color: var(--gray-500); }
.callout ul { margin-top: 6px; display: grid; gap: 3px; }
.callout li { position: relative; padding-left: 12px; }
.callout li::before { content: "·"; position: absolute; left: 2px; }

/* ---------- 단계 표시 ---------- */
.stepper { display: flex; gap: 0; margin-bottom: 36px; }
.stepper li { flex: 1; position: relative; text-align: center; font-size: 14px; color: var(--gray-400); font-weight: 600; }
.stepper li span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px; background: var(--gray-100); color: var(--gray-400); font-weight: 800; position: relative; z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 18px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; background: var(--gray-200); }
.stepper li:last-child::after { display: none; }
.stepper li.done span { background: var(--teal-500); color: #fff; }
.stepper li.done::after { background: var(--teal-500); }
.stepper li.current { color: var(--navy-800); }
.stepper li.current span { background: var(--navy-800); color: #fff; box-shadow: 0 0 0 5px var(--blue-50); }

/* ---------- 카드 박스 ---------- */
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; }
.card-soft { background: var(--gray-50); border-radius: var(--radius-lg); padding: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2.wl { grid-template-columns: 1.4fr 1fr; }
.kpi { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; }
.kpi .k-label { font-size: 14px; color: var(--gray-500); font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.kpi .k-num { font-size: 30px; font-weight: 800; color: var(--gray-900); margin-top: 6px; letter-spacing: -0.02em; line-height: 1.2; }
.kpi .k-num small { font-size: 15px; color: var(--gray-500); font-weight: 600; margin-left: 2px; }
.kpi .k-sub { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.progress { height: 10px; background: var(--gray-100); border-radius: 99px; overflow: hidden; position: relative; }
.progress i { display: block; height: 100%; background: var(--navy-700); border-radius: 99px; }
.progress .goal { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--danger); }
.icon-list { display: grid; gap: 10px; }
.icon-list li { display: flex; gap: 10px; align-items: flex-start; }
.icon-list svg { color: var(--teal-500); flex-shrink: 0; margin-top: 3px; }
.bullets li { position: relative; padding-left: 14px; margin: 5px 0; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--navy-700); }
.empty { text-align: center; padding: 56px 20px; color: var(--gray-500); background: var(--gray-50); border-radius: var(--radius-lg); }
.empty svg { color: var(--gray-300); margin-bottom: 10px; }
.empty strong { display: block; font-size: 17px; color: var(--gray-700); margin-bottom: 4px; }

/* 아코디언 (FAQ) */
.accordion details { border-bottom: 1px solid var(--gray-200); }
.accordion details:first-child { border-top: 2px solid var(--gray-900); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 16px; position: relative; font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .q { color: var(--navy-800); font-weight: 800; }
.accordion summary::after { content: ""; position: absolute; right: 18px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--gray-500); border-bottom: 2px solid var(--gray-500); transform: rotate(45deg); transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.accordion .answer { padding: 18px 20px 22px 44px; background: var(--gray-50); color: var(--gray-700); font-size: 15px; display: flex; gap: 12px; }
.accordion .answer .a { color: var(--teal-500); font-weight: 800; margin-left: -28px; }

/* ---------- 과정 상세 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.apply-card { position: sticky; top: calc(var(--header-h) + 52px); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; background: #fff; box-shadow: var(--shadow); }
.apply-card .ac-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--gray-100); gap: 10px; }
.apply-card .ac-row span:first-child { color: var(--gray-500); flex-shrink: 0; }
.apply-card .ac-row span:last-child { text-align: right; font-weight: 600; }
.session-pick { display: grid; gap: 8px; }
.session-opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; background: #fff; text-align: left; width: 100%; }
.session-opt.active { border-color: var(--navy-800); background: var(--blue-50); }
.curriculum td:first-child { white-space: nowrap; color: var(--gray-500); }

/* ---------- 달력 ---------- */
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cal-head h3 { font-size: 24px; font-weight: 800; min-width: 150px; text-align: center; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--gray-900); border-left: 1px solid var(--gray-200); }
.calendar .dow { padding: 10px; text-align: center; font-weight: 700; font-size: 14px; background: var(--gray-50); border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.calendar .dow:first-child { color: var(--danger); }
.calendar .dow:last-child { color: var(--info); }
.calendar .day { min-width: 0; overflow: hidden; min-height: 118px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.calendar .day .dn { font-size: 13.5px; font-weight: 600; color: var(--gray-600); padding: 2px 4px; }
.calendar .day.out { background: var(--gray-25); }
.calendar .day.out .dn { color: var(--gray-300); }
.calendar .day.today .dn { background: var(--navy-800); color: #fff; border-radius: 6px; display: inline-block; width: fit-content; }
.calendar .day.sun .dn { color: var(--danger); }
.cal-event { display: block; font-size: 12px; font-weight: 600; padding: 3px 6px; border-radius: 4px; background: color-mix(in srgb, var(--fc) 12%, white); color: var(--fc); border-left: 3px solid var(--fc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-event:hover { background: color-mix(in srgb, var(--fc) 22%, white); }
.year-list .month-block { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
.year-list .month-block:first-child { border-top: 2px solid var(--gray-900); }
.year-list .m-label { font-size: 26px; font-weight: 800; color: var(--navy-800); }
.year-list .m-label small { display: block; font-size: 13px; color: var(--gray-400); font-weight: 600; }
.year-row { display: grid; grid-template-columns: 150px 1fr auto auto; gap: 16px; align-items: center; padding: 10px 14px; border-radius: var(--radius); }
.year-row:hover { background: var(--gray-50); }
.year-row .yr-title { font-weight: 600; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--gray-600); }

/* ---------- 나의 학습실 / 관리자 ---------- */
.profile-card { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: var(--radius-lg); padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.profile-card h3 { color: #fff; font-size: 22px; }
.profile-card p { color: #c3d3ec; font-size: 14px; margin-top: 4px; }
.profile-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.profile-stats div { background: rgba(255,255,255,.1); border-radius: 12px; padding: 12px 18px; text-align: center; min-width: 92px; }
.profile-stats b { display: block; font-size: 24px; }
.profile-stats span { font-size: 12.5px; color: #c3d3ec; }
.app-item { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: #fff; }
.app-item + .app-item { margin-top: 12px; }
.app-item h4 { font-size: 17px; font-weight: 700; margin: 6px 0 4px; }
.app-item .meta { font-size: 14px; color: var(--gray-500); display: flex; gap: 14px; flex-wrap: wrap; }
.app-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.timeline-mini { display: flex; gap: 0; margin-top: 12px; font-size: 12px; color: var(--gray-400); }
.timeline-mini li { flex: 1; position: relative; padding-top: 14px; text-align: center; }
.timeline-mini li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); z-index: 1; }
.timeline-mini li::after { content: ""; position: absolute; top: 4px; left: 50%; right: -50%; height: 2px; background: var(--gray-200); }
.timeline-mini li:last-child::after { display: none; }
.timeline-mini li.on { color: var(--navy-800); font-weight: 700; }
.timeline-mini li.on::before { background: var(--navy-800); }
.timeline-mini li.on::after { background: var(--navy-800); }

.checklist-stage { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.checklist-stage .dlabel { font-weight: 800; color: var(--navy-800); font-size: 15px; }
.checklist-stage .dlabel small { display: block; font-size: 12px; color: var(--gray-400); font-weight: 600; }
.checklist-stage.past .dlabel { color: var(--gray-400); }
.checklist-stage.now { background: var(--blue-50); border-radius: var(--radius); padding: 14px 12px; border-bottom-color: transparent; }
.check-items { display: grid; gap: 6px; }

.kanban { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.kanban-col { background: var(--gray-50); border-radius: var(--radius); padding: 12px; min-height: 160px; }
.kanban-col h4 { font-size: 14px; display: flex; justify-content: space-between; margin-bottom: 10px; }
.kanban-col h4 span { color: var(--gray-500); }
.k-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; padding: 10px; font-size: 13px; margin-bottom: 8px; }
.k-card b { display: block; font-size: 13.5px; margin-bottom: 2px; }

.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 10px; border-bottom: 1px solid var(--gray-200); }
.bar-chart .bc { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bar-chart .bc i { width: 100%; max-width: 34px; background: var(--navy-700); border-radius: 4px 4px 0 0; display: block; }
.bar-chart .bc i.plan { background: var(--gray-200); }
.bar-chart .bc span { font-size: 11.5px; color: var(--gray-500); }
.bar-chart .bc b { font-size: 11.5px; color: var(--gray-700); }
.bar-labels { display: flex; gap: 10px; }
.bar-labels span { flex: 1; text-align: center; font-size: 12px; color: var(--gray-500); padding-top: 6px; }

.log-list li { display: grid; grid-template-columns: 150px 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 14px; }
.log-list time { color: var(--gray-400); font-variant-numeric: tabular-nums; }
.masked { font-family: ui-monospace, "Consolas", monospace; letter-spacing: .02em; }

/* 관리자 레이아웃 */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 150px); }
.admin-side { background: var(--navy-950); color: #b9c7df; padding: 20px 12px; }
.admin-side h2 { color: #fff; font-size: 16px; padding: 4px 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 10px; }
.admin-side a { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 8px; font-size: 15px; }
.admin-side a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side a.active { background: var(--navy-700); color: #fff; font-weight: 600; }
.admin-main { background: var(--gray-50); padding: 28px 32px 64px; min-width: 0; }
.admin-main .content-head { border-bottom-color: var(--gray-300); border-bottom-width: 1px; }

/* ---------- 수료증 ---------- */
.cert-sheet { width: 100%; max-width: 760px; margin: 0 auto; aspect-ratio: 1 / 1.414; background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); padding: 48px; position: relative; overflow: hidden; }
.cert-inner { border: 3px double var(--navy-800); height: 100%; padding: 44px 48px; display: flex; flex-direction: column; text-align: center; position: relative; }
.cert-inner .cert-no { position: absolute; left: 24px; top: 18px; font-size: 13px; color: var(--gray-600); }
.cert-inner h1 { font-size: 44px; letter-spacing: .5em; margin: 40px 0 44px; padding-left: .5em; color: var(--navy-900); font-weight: 800; }
.cert-inner table { width: auto; margin: 0 auto; text-align: left; font-size: 17px; }
.cert-inner table th { padding: 6px 24px 6px 0; color: var(--gray-600); font-weight: 600; white-space: nowrap; }
.cert-inner table td { padding: 6px 0; font-weight: 700; }
.cert-body { margin: 44px 0 0; font-size: 19px; line-height: 2; }
.cert-date { margin-top: auto; font-size: 18px; }
.cert-org { margin-top: 18px; font-size: 26px; font-weight: 800; letter-spacing: .05em; display: flex; justify-content: center; align-items: center; gap: 16px; }
.cert-org img { height: 40px; width: auto; }
.cert-seal { width: 64px; height: 64px; border: 3px solid #c0262d; color: #c0262d; border-radius: 8px; display: grid; place-items: center; font-size: 13px; line-height: 1.2; font-weight: 800; transform: rotate(-4deg); opacity: .85; }
.cert-qr { position: absolute; right: 24px; top: 16px; text-align: center; font-size: 10.5px; color: var(--gray-500); }
.cert-watermark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-size: 64px; font-weight: 800; color: rgba(11,45,91,.05); transform: rotate(-24deg); }

/* ---------- 모달·토스트 ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; background: rgba(5,20,45,.55); animation: fade .15s; }
.modal-box { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.modal-box.wide { max-width: 760px; }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-head h2 { font-size: 20px; font-weight: 800; }
.modal-body { padding: 24px; overflow-y: auto; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.close-btn { width: 36px; height: 36px; border-radius: 8px; border: 0; background: var(--gray-50); display: grid; place-items: center; color: var(--gray-600); flex-shrink: 0; }
.close-btn:hover { background: var(--gray-100); }
.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 600; display: grid; gap: 8px; width: min(92vw, 440px); }
.toast { background: var(--gray-900); color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 15px; display: flex; gap: 10px; align-items: center; animation: toast-in .25s ease; }
.toast svg { color: #6ee7a8; flex-shrink: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 본인인증 모의창 */
.idv-head { background: #f2f4f8; border-radius: 10px; padding: 14px 16px; display: flex; gap: 10px; align-items: center; font-weight: 700; margin-bottom: 16px; }
.idv-result { display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--gray-200); font-size: 14.5px; }
.idv-result dt, .idv-result dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--gray-200); }
.idv-result dt { background: var(--gray-50); color: var(--gray-600); font-weight: 600; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink-950); color: rgba(255,255,255,.62); font-size: 14px; }
.footer-links { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-links .container { display: flex; gap: 6px 22px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.footer-links a { color: #d3dbe8; }
.footer-links a:hover { color: #fff; }
.footer-links a.strong { color: var(--ci-red-soft); font-weight: 700; }
.footer-main .container { display: flex; justify-content: space-between; gap: 32px; padding-top: 32px; padding-bottom: 40px; flex-wrap: wrap; }
.footer-main .f-logo .logo-mark { height: 48px; background: #fff; border-radius: 8px; padding: 4px 7px; }
.footer-main .f-logo { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-main address { font-style: normal; line-height: 1.8; }
.footer-main .copy { margin-top: 12px; color: rgba(255,255,255,.5); font-size: 13px; }
.footer-family { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.footer-family .select { background: transparent; color: #d3dbe8; border-color: rgba(255,255,255,.18); width: 210px; height: 42px; }
.footer-family .select option { color: #111; }

/* ---------- 인쇄 ---------- */
@media print {
  .demo-bar, .site-header, .site-footer, .no-print, .page-hero { display: none !important; }
  body { background: #fff; }
  .cert-sheet { box-shadow: none; border: 0; padding: 0; max-width: none; }
  .page-body { padding: 0; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1180px) {
  .gnb > li { min-width: 104px; }
  .gnb > li > a { padding: 0 14px; font-size: 16px; }
  .gnb > li > a::after { left: 14px; right: 14px; }
  .field-grid { grid-template-columns: repeat(3, 1fr); }
  .kanban { grid-template-columns: repeat(6, 170px); }
}
/* 메뉴 6개가 한 줄에 다 들어가지 않는 폭에서는 전체 메뉴 단추로 바꾼다 */
@media (max-width: 1100px) {
  .gnb, .mega-bg, .util-bar { display: none !important; }
  .menu-toggle { display: grid; }
  .header-main .container { justify-content: space-between; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .gnb, .mega-bg, .util-bar { display: none !important; }
  .menu-toggle { display: grid; }
  .header-main .container { justify-content: space-between; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; padding-bottom: 52px; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .board-grid .panel:first-child { grid-column: 1 / -1; }
  .layout-lnb { grid-template-columns: 1fr; gap: 20px; }
  .lnb { position: static; display: flex; overflow-x: auto; border-radius: var(--radius); }
  .lnb h2 { display: none; }
  .lnb a { border-top: 0; white-space: nowrap; padding: 12px 16px; }
  .lnb a.active { box-shadow: inset 0 -3px 0 var(--navy-800); }
  .lnb a .tag { margin-left: 4px; }
  .detail-layout { grid-template-columns: 1fr; }
  .apply-card { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: flex; gap: 4px; overflow-x: auto; padding: 8px; }
  .admin-side h2 { display: none; }
  .admin-side a { white-space: nowrap; }
  .admin-main { padding: 20px 16px 48px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2.wl { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .demo-bar .container { flex-direction: column; align-items: flex-start; gap: 2px; }
  .logo-text strong, .site-header .logo-text span, .drawer-head .logo-text span { font-size: 16px; }
  .logo-mark, .site-header .logo-mark { height: 42px; }
  .hero-lead { font-size: 16px; }
  .hero-search select { display: none; }
  .quick-item { min-height: 120px; padding: 16px 14px; }
  .quick-panel { gap: 10px; }
  .quick-item strong { margin-top: 12px; font-size: 16px; }
  .quick-item span { font-size: 13px; }
  .quick-item .qi-icon { width: 40px; height: 40px; }
  .quick-item::after { top: 14px; right: 14px; font-size: 16px; }
  .hero-search { margin-top: 26px; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .company-check { grid-template-columns: 1fr; }
  .company-check .cc-left, .company-check .cc-right { padding: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .process { grid-template-columns: 1fr; gap: 16px; }
  .process li { display: grid; grid-template-columns: 56px 1fr; text-align: left; align-items: center; column-gap: 14px; }
  .process li::before { width: 52px; height: 52px; margin: 0; grid-row: span 2; font-size: 19px; }
  .process li::after { display: none; }
  .process span { margin-top: 0; }
  .board-grid { grid-template-columns: 1fr; }
  .form-grid, .grid-2, .grid-3, .radio-cards { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stepper li { font-size: 12px; }
  .calendar .day { min-height: 74px; padding: 3px; }
  .cal-event { font-size: 10.5px; padding: 2px 3px; border-left-width: 2px; }
  .year-list .month-block { grid-template-columns: 1fr; gap: 8px; }
  .year-row { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 6px; }
  .year-row .yr-date { grid-column: 1 / -1; font-size: 13px; color: var(--gray-500); }
  .app-item { grid-template-columns: 1fr; }
  .app-actions { justify-content: flex-start; }
  .info-table th { width: 100px; padding: 12px; }
  .info-table td { padding: 12px; }
  .cert-sheet { padding: 14px; aspect-ratio: auto; }
  .cert-inner { min-height: 560px; padding-bottom: 100px !important; }
  .cert-watermark { font-size: 34px; }
  .cert-inner { padding: 28px 16px; }
  .cert-inner h1 { font-size: 28px; margin: 24px 0; }
  .cert-inner table, .cert-body { font-size: 14px; }
  .cert-org { font-size: 18px; }
  .log-list li { grid-template-columns: 1fr; gap: 2px; }
  .content-head h2 { font-size: 22px; }
  .filter-row > .lbl { width: 100%; }
}

/* 회원사 전용 표시 (2026-11-17) */
.badge-member { background: var(--ink-900, #0D1A4A); color: #fff; }

/* 메인 숫자: 숨긴 항목이 있으면 남은 칸만큼 나눔 (2026-11-17) */
.stats-grid.stat-cols-3 { grid-template-columns: repeat(3, 1fr); }
.stats-grid.stat-cols-2 { grid-template-columns: repeat(2, 1fr); }
.stats-grid.stat-cols-1 { grid-template-columns: 1fr; }
@media (max-width: 760px) { .stats-grid.stat-cols-3 { grid-template-columns: 1fr 1fr; } }

/* 연간교육일정: 1월 위 「온라인 · 상시」 줄 (2026-11-18) */
.year-list .online-block { background: #F4F6FC; border-bottom: 2px solid var(--navy-800, #243082); padding-left: 16px; padding-right: 8px; }
.year-list .online-block .m-label { color: var(--navy-800, #243082); }
.year-list .online-block .m-label small { color: var(--navy-600, #3b4aa8); }
.year-list .online-block .year-row:hover { background: #fff; }
@media (max-width: 760px) { .year-list .online-block { padding-left: 10px; padding-right: 4px; } }
