/* ─────────────────────────────────────────────────────────────
   ACRO 웹디자인 — 공통 스타일
   느낌: 흰 바탕 · 넉넉한 여백 · 20px 둥근 카드 · 파란 포인트 · 검정 상담/푸터 · Pretendard 500
   브레이크포인트: PC ≥1024 (기준 1280) · 태블릿 768–1023 (기준 800) · 모바일 <768 (기준 375)
   브랜드를 바꿀 때는 아래 :root 의 --primary 계열과 로고만 바꾸면 전체가 따라감
   ───────────────────────────────────────────────────────────── */

:root {
  /* 브랜드 색 (여기만 바꾸면 버튼·강조·포커스가 모두 바뀜) */
  --primary: #2468be;
  --primary-hover: #1f59a3;
  --primary-press: #194985;

  /* 중립 색 */
  --ink: #000;            /* 제목·본문 */
  --ink-2: #2e2e27;       /* 카드 안 진한 글자 */
  --body-2: #4b4b4b;      /* 긴 본문 */
  --sub: #707070;         /* 부제목·보조 설명 */
  --muted: rgba(0, 0, 0, 0.5);
  --placeholder: #979797;
  --dark: #101010;        /* 상담·푸터 배경 */
  --bg: #fff;
  --gray-bg: #f0f0f0;     /* 메뉴 호버 */
  --card: #f8fafc;        /* 연한 카드 */
  --soft: #f7f9fb;        /* 연한 섹션 배경 */
  --line: #eceff3;
  --danger: #ff6b6b;

  /* 모양 */
  --radius-card: 20px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --shadow-pop: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));

  /* 레이아웃 */
  --wrap: 900px;          /* 본문 폭 (PC) */
  --hd-w: 980px;          /* 헤더 안쪽 폭 (PC) */
  --hd-h: 89px;
  --sec-gap: 150px;       /* 섹션 사이 */
  --title-gap: 50px;      /* 섹션 제목 → 내용 */

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}
@media (max-width: 1023px) { :root { --hd-h: 81px; --sec-gap: 100px; --title-gap: 30px; } }
@media (max-width: 767px)  { :root { --hd-h: 64px; --sec-gap: 50px; --title-gap: 30px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.is-drawer-open { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
input, select, textarea { font: inherit; }
[id] { scroll-margin-top: var(--hd-h); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.only-pc { display: block; }
.only-tablet, .only-mobile { display: none; }
@media (max-width: 1023px) { .only-pc { display: none; } .only-tablet { display: block; } }
@media (max-width: 767px)  { .only-tablet { display: none; } .only-mobile { display: block; } }

/* ───────── 레이아웃 · 글자 ───────── */
.wrap { width: var(--wrap); margin: 0 auto; }
.sec { padding-top: var(--sec-gap); }
.sec--soft { margin-top: var(--sec-gap); padding: 100px 0; background: var(--soft); }
.sec-head { display: grid; gap: 10px; margin-bottom: var(--title-gap); }
.sec-head--center { text-align: center; justify-items: center; }
.sec-title { font-size: 30px; font-weight: 600; line-height: 1.35; letter-spacing: -0.3px; }
.sec-sub { font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--sub); }
.eyebrow { font-size: 16px; font-weight: 600; color: var(--primary); }

@media (max-width: 1023px) {
  .wrap { width: min(650px, 100% - 40px); }
  .sec--soft { padding: 70px 0; }
  .sec-title { font-size: 25px; }
  .sec-sub { font-size: 18px; }
}
@media (max-width: 767px) {
  .wrap { width: calc(100% - 55px); }
  .sec--soft { padding: 50px 0; }
  .sec-title { font-size: 20px; }
  .sec-sub { font-size: 15px; }
  .eyebrow { font-size: 14px; }
}

/* ───────── 버튼 ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  padding: 0 32px;
  border-radius: 44.5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active, .btn--primary.is-pressed { background: var(--primary-press); }
.btn--line { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--line:hover { background: color-mix(in srgb, var(--primary) 7%, #fff); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--primary); color: #fff; }
.btn--sm { height: 40px; padding: 0 20px; font-size: 15px; }
.btn:disabled { opacity: 0.7; cursor: default; }
.more { display: inline-flex; align-items: center; font-size: 20px; font-weight: 500; line-height: 1.25; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; }
.tag--soft { background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); }
.tag--white { background: #fff; color: var(--primary); }
@media (max-width: 1023px) { .more { font-size: 15px; } }
@media (max-width: 767px) { .btn { height: 48px; padding: 0 26px; font-size: 15px; } .tag { height: 24px; padding: 0 10px; font-size: 12px; } }

/* ───────── 헤더 (스크롤해도 위에 고정) ───────── */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--hd-h); background: var(--bg); }
.hd-inner { position: relative; display: flex; align-items: center; width: var(--hd-w); height: 100%; margin: 0 auto; }
.hd-logo { flex: none; display: flex; align-items: center; height: 35px; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.hd-logo img { width: auto; height: 48px; }
.hd-nav { display: flex; align-items: center; gap: 10px; margin-left: 24px; }
.hd-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hd-btn, .hd-sub {
  display: flex;
  align-items: center;
  height: 35px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  transition: background-color 300ms ease-out;
}
.hd-btn:hover, .hd-item.is-open > .hd-btn, .hd-sub:hover { background: var(--gray-bg); }
.hd-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 300ms ease-out;
}
.hd-cta:hover { background: var(--primary-hover); }

/* 드롭다운: 마우스를 올리면 100ms 안에 나타남. 메뉴와 패널 사이 15px 는 padding 으로 이어서 호버가 끊기지 않게 */
.hd-item { position: relative; }
.hd-drop { position: absolute; top: 35px; left: 0; padding-top: 15px; opacity: 0; visibility: hidden; transition: opacity 100ms ease-in, visibility 0s linear 100ms; }
.hd-item.is-open > .hd-drop { opacity: 1; visibility: visible; transition: opacity 100ms ease-in, visibility 0s; }
.hd-panel { display: flex; gap: 4px; padding: 8px; border-radius: var(--radius-card); background: var(--bg); filter: var(--shadow-pop); }
.hd-col { display: flex; flex-direction: column; gap: 5px; min-width: 140px; }

/* 햄버거 (태블릿·모바일) */
.hd-burger { display: none; position: relative; flex: none; width: 30px; height: 22px; }
.hd-burger span { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 3px; background: var(--ink); }
.hd-burger span:nth-child(1) { top: 0; }
.hd-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hd-burger span:nth-child(3) { bottom: 0; }

@media (max-width: 1023px) {
  .hd-inner { width: auto; padding: 0 9.5%; }
  .hd-nav, .hd-right > .hd-btn { display: none; }
  .hd-right { gap: 25px; }
  .hd-burger { display: block; }
}
@media (max-width: 767px) {
  .hd-inner { padding: 0 25px; }
  .hd-logo { font-size: 19px; }
  .hd-logo img { height: 38px; }
  .hd-right { gap: 20px; }
  .hd-cta { height: 28px; padding: 5px 10px; border-radius: 8px; font-size: 13px; }
  .hd-burger { width: 24px; height: 17px; }
  .hd-burger span { height: 2.5px; }
}

/* ───────── 서랍 메뉴 (태블릿·모바일): 오른쪽에서 300ms ease-in ───────── */
.drawer { position: fixed; inset: 0; z-index: 200; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); transform: translateX(100%); visibility: hidden; transition: transform 300ms ease-in, visibility 0s linear 300ms; }
.drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 300ms ease-in, visibility 0s; }
@media (min-width: 1024px) { .drawer { display: none; } }
.dr-top { display: flex; justify-content: flex-end; align-items: center; max-width: 375px; height: 78px; margin: 0 auto; padding: 30px 21px 15px; }
.dr-close { position: relative; width: 24px; height: 24px; }
.dr-close::before, .dr-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3px; height: 28px; border-radius: 60px; background: var(--ink); transform: translate(-50%, -50%) rotate(45deg); }
.dr-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dr-list { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: min(317px, 100% - 40px); margin: 0 auto; padding: 40px 0 20px; }
.dr-cat, .dr-link, .dr-sub { display: flex; align-items: center; height: 35px; padding: 8px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 500; white-space: nowrap; text-align: left; }
.dr-sub { transition: background-color 300ms ease-in; }
.dr-sub:active, .dr-sub.is-pressed { background: var(--gray-bg); }
@media (hover: hover) { .dr-sub:hover { background: var(--gray-bg); } }
.dr-group.is-open > .dr-cat { color: var(--primary); font-weight: 700; }
/* 아코디언: 높이 0 → 내용 높이 (grid-template-rows 트릭), 하나만 펼침 */
.dr-subs { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 300ms ease-in, opacity 300ms ease-in; }
.dr-group.is-open > .dr-subs { grid-template-rows: 1fr; opacity: 1; }
.dr-subs-inner { overflow: hidden; min-height: 0; }
.dr-subs-col { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-top: 15px; }

/* ───────── 카드 ───────── */
/* 연한 카드: 가운데 정렬 정보 카드 */
.soft-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; min-height: 250px; padding: 30px 20px; border-radius: var(--radius-card); background: var(--card); text-align: center; }
.soft-card strong { font-size: 20px; font-weight: 600; line-height: 1.35; }
.soft-card span, .soft-card p { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--muted); }

/* 이미지 카드: 사진 위에 흰 글자. 호버 시 사진 10% 확대 + 살짝 어둡게 (ease-out 300ms, 모바일 없음) */
.img-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 440px; padding: 50px; border-radius: var(--radius-card); overflow: hidden; isolation: isolate; color: #fff; }
.img-card--dark-text { color: var(--ink); }
.img-card > .img-bg, .img-card > picture > .img-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease-out, filter 300ms ease-out; }
.img-card > picture { position: absolute; inset: 0; z-index: -1; }
.img-card-title { font-size: 25px; font-weight: 700; line-height: 1.3; }
.img-card-desc { font-size: 20px; font-weight: 500; line-height: 1.25; }
@media (hover: hover) and (min-width: 768px) {
  .img-card:hover > .img-bg, .img-card:hover > picture > .img-bg { transform: scale(1.1); filter: brightness(0.88); }
  .img-card--plain:hover > .img-bg { filter: none; }
}

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .grid { gap: 16px; }
  .soft-card { min-height: 181px; gap: 10px; padding: 20px 14px; }
  .soft-card strong { font-size: 15px; }
  .soft-card span, .soft-card p { font-size: 13px; }
  .img-card { height: auto; aspect-ratio: 1; padding: 40px; }
  .img-card--wide { aspect-ratio: auto; height: 350px; }
  .img-card-title { font-size: 20px; }
  .img-card-desc { font-size: 15px; }
}
@media (max-width: 767px) {
  .grid { gap: 15px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .img-card, .img-card--wide { height: auto; aspect-ratio: 1; padding: 30px; }
}

/* ───────── 자동 슬라이드 배너 (3초 대기 → 800ms ease-out, 끝에서 처음으로 이어짐) ───────── */
.slider { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.slider-view { width: 100%; height: 409px; border-radius: var(--radius-card); overflow: hidden; }
.slide-track { display: flex; height: 100%; transition: transform 800ms ease-out; }
.slide { position: relative; flex: 0 0 100%; height: 100%; }
.slide img, .slide picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-copy { position: absolute; left: 60px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.slide-title { font-size: 36px; font-weight: 700; line-height: 1.3; letter-spacing: -0.5px; }
.slider-view { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slide-dots { display: flex; gap: 2px; }
.slide-dot { box-sizing: content-box; width: 9px; height: 9px; padding: 6px; border: 0; border-radius: 50%; background: #d9d9d9; background-clip: content-box; cursor: pointer; transition: background-color 800ms ease-out; }
.slide-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: 0; }
.slide-dot.is-active { background-color: var(--ink-2); }
@media (max-width: 1023px) {
  .slider { gap: 20px; }
  .slider-view { height: 377px; }
  .slide-copy { left: 40px; }
  .slide-title { font-size: 28px; }
  .slide-dots { gap: 0; }
  .slide-dot { width: 7px; height: 7px; padding: 5px; }
}
@media (max-width: 767px) {
  .slider-view { height: auto; aspect-ratio: 320 / 377; }
  .slide-copy { left: 24px; right: 24px; top: 28px; transform: none; }
  .slide-title { font-size: 22px; }
}

/* ───────── 무한 흐르기 (로고·후기) — JS 가 항목을 복제해 화면을 채움 ───────── */
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee calc(var(--marquee-dur, 30s) * var(--marquee-dur-scale, 1)) linear infinite; }
.marquee--pause:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: calc(var(--marquee-dur, 30s) * 4); } }
/* 항목 간격은 gap 대신 margin-right (복제 이음새가 끊기지 않게) */
.marquee-track > * { flex: none; margin-right: var(--marquee-gap, 15px); }

/* 후기 카드 */
.rv-card { display: flex; flex-direction: column; justify-content: space-between; width: 260px; height: 270px; padding: 20px 25px; border-radius: var(--radius-sm); background: #f9fafb; color: var(--ink-2); }
.rv-text { font-size: 20px; font-weight: 500; line-height: 1.35; }
.rv-who { display: flex; align-items: center; gap: 12px; font-size: 16px; white-space: nowrap; }
.rv-avatar { flex: none; width: 25px; height: 25px; border-radius: 50%; background: #dfe3e8; }
@media (max-width: 1023px) { .rv-card { width: 200px; height: 203px; padding: 15px 19px; } .rv-text { font-size: 15px; } .rv-who { font-size: 12px; gap: 9px; } .rv-avatar { width: 19px; height: 19px; } }
@media (max-width: 767px)  { .rv-card { width: 160px; height: 162px; padding: 12px 15px; } .rv-text { font-size: 12px; } }

/* ───────── 상담 (검정 배경 · 흰 pill 입력 · 파란 버튼) ───────── */
.contact { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-top: var(--sec-gap); padding: 150px 20px; background: var(--dark); color: #fff; text-align: center; }
.contact-head { display: grid; gap: 10px; justify-items: center; }
.contact-title { font-size: 30px; font-weight: 600; line-height: 1.35; }
.contact-tel { font-size: 16px; white-space: nowrap; }
.contact-form { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; width: 640px; max-width: 100%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.field { position: relative; display: flex; align-items: center; height: 58px; padding: 0 25px; border-radius: var(--radius-pill); background: #fff; box-shadow: 0 0 0 2px transparent; transition: box-shadow 200ms ease; }
.field:focus-within { box-shadow: 0 0 0 2px var(--primary); }
.field.is-invalid { box-shadow: 0 0 0 2px var(--danger); }
.field--full { grid-column: 1 / -1; }
.field--area { height: auto; padding: 18px 25px; border-radius: 24px; }
.field-input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; font-weight: 500; text-align: left; }
.field-input::placeholder { color: var(--placeholder); opacity: 1; }
textarea.field-input { height: 112px; line-height: 1.5; resize: vertical; }
select.field-input { height: 100%; appearance: none; cursor: pointer; }
select.field-input:invalid { color: var(--placeholder); }
select.field-input option { color: var(--ink); }
.field--select::after { content: ''; position: absolute; right: 27px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--placeholder); border-bottom: 2px solid var(--placeholder); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.agree { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.check { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { position: absolute; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.check-box { position: relative; flex: none; width: 22px; height: 22px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 2px transparent; transition: background-color 200ms ease, box-shadow 200ms ease; }
.check input:checked + .check-box { background: var(--primary); }
.check input:checked + .check-box::after { content: ''; position: absolute; left: 7.5px; top: 3.5px; width: 6px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }
.check input:focus-visible + .check-box { box-shadow: 0 0 0 2px var(--primary); }
.check.is-invalid .check-box { box-shadow: 0 0 0 2px var(--danger); }
.check em { font-style: normal; color: rgba(255, 255, 255, 0.55); }
.terms-btn { font-size: 15px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact .btn { width: 200px; }
/* 안내 메세지: 투명 → 보임 200ms */
.form-msg { min-height: 18px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.7); opacity: 0; transition: opacity 200ms ease; }
.form-msg.is-visible { opacity: 1; }
.form-msg b { font-weight: 800; color: #fff; }
@media (max-width: 1023px) {
  .contact { padding: 100px 20px; }
  .contact-title { font-size: 25px; }
  .contact-form { width: 514px; }
  .form-msg { font-size: 13px; }
}
@media (max-width: 767px) {
  .contact { padding: 80px 27px; }
  .contact-title { font-size: 20px; }
  .contact-form { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .agree, .terms-btn { font-size: 13px; }
  .agree { gap: 8px; }
  .contact .btn { width: 100%; }
  .form-msg { font-size: 12px; }
}

/* ───────── 팝업 (개인정보 동의 등) ───────── */
.modal { width: min(520px, calc(100% - 40px)); padding: 0; border: 0; border-radius: var(--radius-card); background: #fff; color: var(--ink); }
.modal::backdrop { background: rgba(0, 0, 0, 0.55); }
.modal-inner { display: flex; flex-direction: column; gap: 16px; padding: 36px 32px 28px; text-align: left; }
.modal-title { font-size: 22px; font-weight: 700; }
.modal-text { font-size: 15px; line-height: 1.6; color: var(--body-2); }
.modal-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.info-list { border-radius: 14px; background: var(--card); overflow: hidden; }
.info-list div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.6; }
.info-list div + div { border-top: 1px solid var(--line); }
.info-list dt { font-weight: 700; }
.info-list dd { color: var(--body-2); }
.modal .btn { align-self: center; width: 160px; height: 48px; }
@media (max-width: 767px) { .modal-inner { padding: 28px 22px 22px; } .info-list div { grid-template-columns: 70px 1fr; padding: 12px 14px; } }

/* ───────── 푸터 (검정) ───────── */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.55); }
.ft-inner { display: flex; align-items: flex-start; gap: 120px; max-width: 1280px; margin: 0 auto; padding: 80px 65px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ft-content { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 40px; }
.ft-logo { font-size: 22px; font-weight: 800; color: #fff; }
.ft-logo img { width: auto; height: 44px; }
.ft-info { margin-top: 21px; font-size: 16px; line-height: 1.6; letter-spacing: -0.08px; }
.ft-info b { font-weight: 700; }
.ft-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 16px; }
.ft-links .ft-strong { color: #fff; }
.ft-nav { display: flex; align-items: flex-start; gap: 55px; flex: none; }
.ft-col { display: flex; flex-direction: column; gap: 8px; min-width: 130px; font-size: 16px; line-height: 1.45; }
.ft-col-title { padding-bottom: 16px; color: #fff; font-weight: 700; }
@media (max-width: 1023px) {
  .ft-inner { flex-direction: column; gap: 40px; max-width: 800px; padding: 52px 34px; }
}
@media (max-width: 767px) {
  .ft-inner { max-width: 375px; padding: 52px 27px 60px; }
  .ft-info { font-size: 14px; }
  .ft-nav { flex-direction: column; gap: 32px; }
  .ft-links, .ft-col { font-size: 14px; }
}

/* ───────── 약관·안내 같은 글 페이지 ───────── */
.doc { width: var(--wrap); margin: 0 auto; padding: 100px 0 150px; }
.doc-title { font-size: 30px; font-weight: 600; }
.doc-date { margin-top: 12px; font-size: 15px; color: var(--sub); }
.doc-lead { margin-top: 40px; padding: 28px 30px; border-radius: var(--radius-card); background: var(--card); font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.doc-sec { margin-top: 50px; }
.doc-sec h2 { margin-bottom: 16px; font-size: 20px; font-weight: 600; }
.doc-sec p, .doc-sec li { font-size: 16px; line-height: 1.8; color: var(--body-2); }
.doc-sec p + p { margin-top: 12px; }
.doc-sec ol { list-style: decimal; padding-left: 22px; }
.doc-sec ul { list-style: disc; padding-left: 22px; margin-top: 6px; }
.doc-sec li + li { margin-top: 6px; }
.doc-sec a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.pill-links a { display: inline-flex; padding: 14px 22px; border-radius: var(--radius-pill); background: #f2f4f6; font-size: 16px; font-weight: 600; color: #191f28; }
.pill-links a:hover { background: #e5e8eb; }
.pill-links li:first-child a { background: var(--primary); color: #fff; }
@media (max-width: 1023px) { .doc { width: min(650px, 100% - 40px); padding: 80px 0 100px; } .doc-title { font-size: 25px; } .doc-sec h2 { font-size: 18px; } }
@media (max-width: 767px) { .doc { width: calc(100% - 55px); padding: 50px 0 80px; } .doc-title { font-size: 22px; } .doc-lead { margin-top: 30px; padding: 20px; border-radius: 16px; font-size: 15px; } .doc-sec p, .doc-sec li { font-size: 15px; } }

/* ═════════════════════════════════════════════════════════════
   심의소 공통 — 하위 페이지 · 안내 · 신청 폼 · 조회 화면
   ═════════════════════════════════════════════════════════════ */

/* ───────── 하위 페이지 머리 ───────── */
.sub-hero { padding: 100px 0 0; }
.sub-hero .wrap { display: grid; justify-items: start; gap: 16px; }
.sub-hero--center .wrap { justify-items: center; text-align: center; }
.sub-title { font-size: 40px; font-weight: 700; line-height: 1.3; letter-spacing: -0.6px; }
.sub-hero .btn-row { margin-top: 14px; }
.sub-text { font-size: 18px; line-height: 1.8; color: var(--body-2); }
.sub-text + .sub-text { margin-top: 18px; }
@media (max-width: 1023px) { .sub-hero { padding-top: 70px; } .sub-title { font-size: 32px; } .sub-text { font-size: 16px; } }
@media (max-width: 767px)  { .sub-hero { padding-top: 50px; } .sub-title { font-size: 26px; } .sub-text { font-size: 15px; } }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
@media (max-width: 767px) { .btn-row .btn { flex: 1 1 auto; } }

/* ───────── 하단 안내 (검정 띠) ───────── */
.cta-sub { font-size: 18px; color: rgba(255, 255, 255, 0.6); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-actions .btn { min-width: 200px; }
.cta-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 16px; color: rgba(255, 255, 255, 0.7); }
.cta-help a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.cta-help a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta-kakao { width: 22px; height: 22px; border-radius: 7px; background: #fee500 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23191919' d='M12 4.5c-4.7 0-8.5 3-8.5 6.6 0 2.3 1.5 4.4 3.9 5.5l-.8 3c-.1.3.2.5.5.3l3.5-2.3c.5.1.9.1 1.4.1 4.7 0 8.5-3 8.5-6.6S16.7 4.5 12 4.5z'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 1023px) { .cta-sub { font-size: 16px; } }
@media (max-width: 767px) {
  .cta-sub { font-size: 14px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; min-width: 0; }
  .cta-help { flex-direction: column; align-items: center; gap: 10px; font-size: 14px; }
}

/* ───────── 진행 절차 ───────── */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 20px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 24px; border-radius: var(--radius-card); background: var(--card); }
.step-num { font-size: 15px; font-weight: 700; color: var(--primary); }
.step strong { font-size: 20px; font-weight: 600; line-height: 1.35; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .step { padding: 24px 20px; }
  .step strong { font-size: 17px; }
  .step p { font-size: 14px; }
}
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; gap: 10px; } .step { padding: 20px; gap: 6px; } }

/* ───────── 가격 카드 ───────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-grid--2 { grid-template-columns: repeat(2, 1fr); }
.price-card { display: flex; flex-direction: column; gap: 14px; padding: 34px 28px 30px; border-radius: var(--radius-card); background: var(--card); }
.price-card--best { background: color-mix(in srgb, var(--primary) 8%, #fff); box-shadow: inset 0 0 0 2px var(--primary); }
.price-card .tag { align-self: flex-start; }
.price-name { font-size: 20px; font-weight: 600; line-height: 1.35; }
.price-amount { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; color: var(--primary); }
.price-amount small { margin-left: 4px; font-size: 16px; font-weight: 600; color: var(--sub); }
.price-desc { font-size: 15px; line-height: 1.6; color: var(--body-2); }
.price-card .btn { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: var(--radius-pill); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 1023px) {
  .price-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .price-card { padding: 28px 24px 24px; }
  .price-amount { font-size: 28px; }
}
@media (max-width: 767px) { .price-grid--2 { grid-template-columns: 1fr; } .price-card { padding: 24px 20px 20px; gap: 12px; } .price-name { font-size: 18px; } .price-amount { font-size: 26px; } }

/* ───────── 안내 상자 · 정보 표 ───────── */
.note { padding: 28px 30px; border-radius: var(--radius-card); background: var(--card); }
.note-title { margin-bottom: 12px; font-size: 17px; font-weight: 700; }
.note ul { display: grid; gap: 8px; }
.note li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.65; color: var(--body-2); }
.note li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.note strong { color: var(--ink); }
.note--warn { background: #fff8f0; }
.note--warn li::before { background: #f08c00; }
.note + .note { margin-top: 16px; }
@media (max-width: 767px) { .note { padding: 20px; border-radius: 16px; } .note li { font-size: 14px; } }

.spec { border-radius: var(--radius-card); background: var(--card); overflow: hidden; }
.spec div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 26px; font-size: 15px; line-height: 1.6; }
.spec div + div { border-top: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd { color: var(--body-2); }
@media (max-width: 767px) { .spec div { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; font-size: 14px; } }

/* ───────── 질문 펼침 (FAQ) — data-qa ───────── */
.qa-list { display: grid; gap: 12px; }
.qa { border-radius: 16px; background: var(--card); }
.qa-q { display: flex; align-items: center; gap: 14px; width: 100%; padding: 22px 26px; font-size: 17px; font-weight: 600; line-height: 1.45; text-align: left; }
.qa-q::before { content: 'Q'; flex: none; font-weight: 800; color: var(--primary); }
.qa-q::after { content: ''; flex: none; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: translateY(-3px) rotate(45deg); transition: transform 300ms ease-in; }
.qa.is-open .qa-q::after { transform: translateY(2px) rotate(-135deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms ease-in; }
.qa.is-open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; min-height: 0; }
.qa-a p { padding: 0 26px 24px 52px; font-size: 15px; line-height: 1.75; color: var(--body-2); white-space: pre-line; }
@media (max-width: 767px) { .qa-q { padding: 18px 18px; font-size: 15px; gap: 10px; } .qa-a p { padding: 0 18px 18px 40px; font-size: 14px; } }

/* 알약 탭 */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab { height: 42px; padding: 0 20px; border-radius: var(--radius-pill); background: #f2f4f6; font-size: 15px; font-weight: 600; color: #4e5968; transition: background-color 200ms ease, color 200ms ease; }
.tab:hover { background: #e5e8eb; }
.tab.is-active { background: var(--ink-2); color: #fff; }
@media (max-width: 767px) { .tabs { gap: 6px; margin-bottom: 20px; } .tab { height: 36px; padding: 0 14px; font-size: 13px; } }

/* ───────── 입력 폼 (밝은 바탕) ───────── */
.form-card { padding: 44px 44px 40px; border-radius: var(--radius-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.form-card + .form-card { margin-top: 20px; }
.form-card-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; font-size: 20px; font-weight: 700; }
.form-card-title small { font-size: 14px; font-weight: 500; color: var(--sub); }
.f-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
.f-row { display: grid; gap: 8px; align-content: start; min-width: 0; }
.f-row--full { grid-column: 1 / -1; }
.f-label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.f-label em { margin-left: 2px; font-style: normal; color: var(--primary); }
.f-label-hint { margin-left: 4px; font-size: 13px; font-weight: 600; color: var(--primary); }
.f-help { font-size: 13px; line-height: 1.5; color: var(--sub); }
.f-input { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: #f6f7f9; color: var(--ink); font-size: 16px; font-weight: 500; outline: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 200ms ease, background-color 200ms ease; }
.f-input::placeholder { color: var(--placeholder); }
.f-input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.f-input.is-invalid { box-shadow: inset 0 0 0 2px var(--danger); }
textarea.f-input { height: 140px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
select.f-input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23979797' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.f-err { font-size: 13px; font-weight: 600; color: #e03131; }
.f-err:empty { display: none; }
.form-alert { margin-top: 20px; font-size: 15px; font-weight: 600; color: #e03131; text-align: center; }
.form-alert:empty { display: none; }
@media (max-width: 1023px) { .form-card { padding: 34px 28px 30px; } }
@media (max-width: 767px) {
  .form-card { padding: 26px 20px 24px; border-radius: 16px; }
  .form-card-title { margin-bottom: 20px; font-size: 18px; flex-wrap: wrap; }
  .f-grid { grid-template-columns: 1fr; gap: 16px; }
  .f-input { height: 50px; }
}

/* 선택 카드 (라디오·체크박스) */
.opts { display: grid; grid-template-columns: repeat(var(--opt-cols, 3), 1fr); gap: 12px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; border-radius: 16px; background: #f6f7f9; cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 200ms ease, background-color 200ms ease; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:hover { background: #f0f2f5; }
.opt:has(input:checked) { background: color-mix(in srgb, var(--primary) 7%, #fff); box-shadow: inset 0 0 0 2px var(--primary); }
.opt:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.opt:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.opt.is-invalid { box-shadow: inset 0 0 0 2px var(--danger); }
.opt-name { padding-right: 28px; font-size: 16px; font-weight: 700; }
.opt-price { font-size: 18px; font-weight: 700; color: var(--primary); }
.opt-desc { font-size: 13px; line-height: 1.5; color: var(--sub); }
.opt::after { content: ''; position: absolute; right: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #d1d6db; }
.opt--check::after { border-radius: 6px; }
.opt:has(input:checked)::after { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center no-repeat; box-shadow: none; }
@media (max-width: 1023px) { .opts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .opts { grid-template-columns: 1fr; gap: 10px; } .opt { padding: 16px 16px 14px; } }

/* 작은 라디오 줄 (예/아니오 등) */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; background: #f6f7f9; font-size: 15px; font-weight: 600; color: #4e5968; cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.seg input:checked + span { background: var(--primary); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.seg.is-invalid span { box-shadow: inset 0 0 0 2px var(--danger); }

/* 밝은 바탕 체크박스 */
.check--light { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.check--light .check-box { background: #fff; box-shadow: inset 0 0 0 2px #d1d6db; }
.check--light input:checked + .check-box { box-shadow: none; }
.check--light em { color: var(--primary); font-style: normal; }
.check--light.is-invalid .check-box { box-shadow: inset 0 0 0 2px var(--danger); }

/* 동의 목록 */
.agree-list { display: grid; border-radius: 16px; background: #f6f7f9; padding: 6px 20px; }
.agree-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; }
.agree-item + .agree-item { border-top: 1px solid #e9ecef; }
.agree-all { font-weight: 700; }
.agree-view { flex: none; font-size: 14px; font-weight: 600; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .agree-list { padding: 4px 16px; } .check--light { font-size: 14px; } }

/* 파일 올리기 */
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 24px; border-radius: 16px; background: #f6f7f9; text-align: center; cursor: pointer; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 200ms ease, background-color 200ms ease; }
.drop:hover, .drop.is-over { background: color-mix(in srgb, var(--primary) 6%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--primary) 40%, #fff); }
.drop.is-invalid { box-shadow: inset 0 0 0 2px var(--danger); }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.drop-title { font-size: 16px; font-weight: 700; }
.drop-title::before { content: ''; display: block; width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M8 13V3M3.5 7.5L8 3l4.5 4.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.drop-help { font-size: 13px; line-height: 1.5; color: var(--sub); }
.files { display: grid; gap: 8px; margin-top: 10px; }
.files:empty { display: none; }
.file { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px 12px; padding: 12px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-size { color: var(--sub); white-space: nowrap; }
.file-del { width: 24px; height: 24px; border-radius: 50%; background: #f2f4f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M1 1l8 8M9 1L1 9' stroke='%23707070' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat; }
.file-bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: #eef1f4; overflow: hidden; }
.file-bar span { display: block; height: 100%; width: 0; background: var(--primary); transition: width 200ms linear; }
.file.is-done .file-bar span { background: #2fb344; }
.file.is-error { box-shadow: inset 0 0 0 1px var(--danger); }
.file-state { grid-column: 1 / -1; font-size: 12px; color: var(--sub); }
.file.is-error .file-state { color: #e03131; }
.file-retry { font-size: 12px; font-weight: 700; color: var(--primary); text-decoration: underline; }

/* 신청 단계 표시 */
.wizard { display: flex; gap: 8px; margin-bottom: 40px; counter-reset: wz; }
.wizard li { flex: 1; display: grid; gap: 10px; font-size: 14px; font-weight: 600; color: #b0b8c1; counter-increment: wz; }
.wizard li::before { content: ''; height: 4px; border-radius: 2px; background: #e5e8eb; transition: background-color 300ms ease; }
.wizard li.is-done, .wizard li.is-current { color: var(--ink-2); }
.wizard li.is-done::before, .wizard li.is-current::before { background: var(--primary); }
.wizard li span::before { content: counter(wz) '. '; }
@media (max-width: 767px) {
  .wizard { gap: 5px; margin-bottom: 28px; }
  .wizard li span { display: none; }
  .wizard li.is-current { flex: 2.6; }
  .wizard li.is-current span { display: block; font-size: 13px; }
}

[hidden] { display: none !important; } /* 숨김 표시는 어떤 표시 방식보다 우선 (center-msg·f-row 등이 grid 라 덮이던 문제) */
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.wz-nav .btn { min-width: 160px; }
.wz-nav .btn--primary:only-child { margin-left: auto; }
@media (max-width: 767px) { .wz-nav .btn { min-width: 0; flex: 1; } }

/* 결제 요약 */
.sum { display: grid; border-radius: 16px; background: #f6f7f9; overflow: hidden; }
.sum div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 14px 20px; font-size: 15px; line-height: 1.6; }
.sum div + div { border-top: 1px solid #e9ecef; }
.sum dt { font-weight: 600; color: var(--sub); }
.sum dd { color: var(--ink-2); word-break: break-all; }
.sum .sum-total { background: color-mix(in srgb, var(--primary) 8%, #fff); }
.sum .sum-total dd { font-size: 22px; font-weight: 800; color: var(--primary); }
@media (max-width: 767px) { .sum div { grid-template-columns: 96px 1fr; padding: 12px 16px; font-size: 14px; } }

/* 트랙(곡) 반복 입력 */
.track { padding: 24px; border-radius: 16px; background: #fbfcfd; box-shadow: inset 0 0 0 1px var(--line); }
.track + .track { margin-top: 14px; }
.track-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 16px; font-weight: 700; }
.track-head .btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
@media (max-width: 767px) { .track { padding: 18px 16px; } }

/* ───────── 목록 표 (1:1 문의 등) ───────── */
.board { width: 100%; border-collapse: collapse; font-size: 15px; }
.board th { padding: 14px 10px; border-top: 2px solid var(--ink-2); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink-2); text-align: center; }
.board td { padding: 16px 10px; border-bottom: 1px solid var(--line); text-align: center; color: var(--body-2); }
.board td.board-title { text-align: left; color: var(--ink); }
.board td.board-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.board tr.is-empty td { padding: 60px 10px; color: var(--sub); }
.lock { display: inline-block; width: 12px; height: 13px; margin-right: 6px; vertical-align: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='13'%3E%3Crect x='1' y='5.5' width='10' height='7' rx='1.5' fill='%23979797'/%3E%3Cpath d='M3.5 5.5V4a2.5 2.5 0 015 0v1.5' fill='none' stroke='%23979797' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat; }
@media (max-width: 767px) {
  .board thead { display: none; }
  .board tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .board td { padding: 0; border: 0; text-align: left; font-size: 13px; color: var(--sub); }
  .board td.board-title { grid-column: 1 / -1; font-size: 15px; }
  .board td.board-no { display: none; }
  .board tr.is-empty { display: block; }
  .board tr.is-empty td { padding: 40px 0; text-align: center; }
}
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 15px; color: var(--sub); }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pager:empty { display: none; }
.pager button { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #4e5968; }
.pager button:hover { background: #f2f4f6; }
.pager button.is-active { background: var(--ink-2); color: #fff; }

/* 상태 표시 */
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; white-space: nowrap; background: #f2f4f6; color: #4e5968; }
.badge--pass { background: #e6f7ea; color: #1e8e3e; }
.badge--fail { background: #fdecec; color: #d6336c; }
.badge--wait { background: #f2f4f6; color: #6b7684; }
.badge--prog { background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); }

/* 검색창 */
.search { display: flex; gap: 8px; }
.search .f-input { flex: 1; }
.search .btn { flex: none; height: 52px; }
@media (max-width: 767px) { .search .btn { height: 50px; padding: 0 20px; } }

/* 가운데 좁은 영역 (조회·완료 화면) */
.narrow { width: min(560px, 100%); margin: 0 auto; }
.center-msg { display: grid; justify-items: center; gap: 14px; padding: 20px 0; text-align: center; }
.center-msg .sec-sub { font-size: 17px; line-height: 1.6; }
.ok-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22'%3E%3Cpath d='M2 11l8 8L26 3' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.page-pad { padding-bottom: var(--sec-gap); }
@media (max-width: 767px) { .center-msg .sec-sub { font-size: 15px; } }

/* 서랍 하위 메뉴: 위 메뉴와 구분되게 (작은 글씨 · 회색 · 연한 바탕 · 점) */
.dr-group { align-self: stretch; }
.dr-group .dr-subs-col { gap: 2px; margin-top: 10px; padding: 8px 6px; border-radius: 12px; background: #f6f8fa; }
.dr-group .dr-sub { align-self: stretch; height: 38px; padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--sub); }
.dr-group .dr-sub::before { content: ''; flex: none; width: 4px; height: 4px; margin-right: 10px; border-radius: 50%; background: #c2c8d0; }
.dr-group .dr-sub:active, .dr-group .dr-sub.is-pressed { background: #eceff3; color: var(--ink); }
@media (hover: hover) { .dr-group .dr-sub:hover { background: #eceff3; color: var(--ink); } }
