/* 대구개별화물협회 — 사용자 화면 공통 서식
   색상은 피그마 이미지에서 뽑은 값 (2026-11-17) */

:root {
  --primary: #2081a0;      /* 버튼·드롭다운·제목 밑줄 */
  --primary-dark: #18667f;
  --primary-soft: #e8f3f6;
  --teal: #0d7075;         /* 메인 '주요업무' 상자 */
  --navy: #15558a;         /* 메인 '복지사업' 상자 */
  --blue: #055baa;         /* 메인 탭 글자 */
  --red: #ff6b8b;          /* 안내 빨간 글씨 */
  --line: #bcbcbc;         /* 입력칸 테두리 */
  --line-soft: #e1e4e8;
  --th-bg: #f6f6f6;        /* 표 머리칸 */
  --bg-soft: #f6f8fa;      /* 회색 바탕 구역 */
  --footer: #4f6577;
  --text: #111;
  --text-2: #444;
  --muted: #8a8a8a;
  --container: 1000px;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ───────── 머리 (PC) ───────── */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; height: 100px; border-bottom: 1px solid rgba(255,255,255,.55); }
.site-header .inner { height: 100%; display: flex; align-items: center; padding: 0 44px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.brand img { width: 42px; height: 42px; }
.gnb { display: flex; margin-left: auto; margin-right: 40px; }
.gnb > li { position: relative; }
.gnb > li > a { display: block; padding: 0 34px; line-height: 100px; color: #fff; font-size: 18px; font-weight: 600; position: relative; }
.gnb > li.on > a { color: var(--primary); }
.gnb > li.on > a::after, .gnb > li:hover > a::after { content: ""; position: absolute; left: 34px; right: 34px; bottom: 26px; height: 3px; background: var(--primary); border-radius: 2px; }
.gnb .sub { display: none; position: absolute; top: 100px; left: 50%; transform: translateX(-50%); min-width: 170px; background: #fff; border-radius: 0 0 22px 22px; padding: 20px 26px 26px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.gnb > li:hover .sub { display: block; }
.gnb .sub a { display: block; padding: 5px 0; font-size: 15px; white-space: nowrap; color: #222; }
.gnb .sub a:hover, .gnb .sub a.on { color: var(--primary); font-weight: 600; }
.util { display: flex; gap: 8px; }
.util a { border: 1px solid rgba(255,255,255,.85); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 20px; }
.util a:hover { background: rgba(255,255,255,.15); }
.m-burger { display: none; }

/* ───────── 하위 페이지 사진 띠 ───────── */
.sub-band { height: 390px; background: url(../img/band_pc.jpg) center/cover no-repeat; position: relative; }
.sub-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.05)); }
.sub-band h1 { position: absolute; left: 0; right: 0; top: 190px; text-align: center; color: #fff; font-size: 50px; font-weight: 800; letter-spacing: -1px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }

/* ───────── 1단·2단 메뉴 고르기 ───────── */
.sub-nav { border-bottom: 1px solid #d9d9d9; background: #fff; }
.sub-nav .inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 26px; }
.sn-d1, .sn-d2 { position: relative; }
.sn-d1 > button { width: 210px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; height: 40px; }
.sn-sep { width: 1px; height: 26px; background: #555; }
.sn-d2 > button { width: 200px; height: 36px; padding: 0 22px; display: flex; justify-content: space-between; align-items: center; border-radius: 20px; background: var(--primary); color: #fff; font-weight: 600; font-size: 14px; }
.sn-arrow { font-weight: 800; font-size: 14px; font-family: Arial, sans-serif; }
.sn-list { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid #ddd; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.08); padding: 8px 0; z-index: 20; }
.sn-list.open { display: block; }
.sn-list a { display: block; padding: 8px 18px; font-size: 14px; }
.sn-list a:hover, .sn-list a.on { color: var(--primary); font-weight: 600; background: var(--primary-soft); }

/* 모바일 전용 제목 (PC는 사진 띠에 제목) */
.page-title { display: none; }

/* ───────── 본문 ───────── */
.content { padding: 80px 0 120px; }
.lead { font-size: 15px; color: var(--text-2); margin-bottom: 26px; }
.req-note { text-align: right; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.sec-title { font-size: 20px; font-weight: 700; margin: 46px 0 14px; display: flex; align-items: center; gap: 8px; }
.sec-title::before { content: ""; width: 3px; height: 18px; background: var(--primary); }
.sec-title:first-child { margin-top: 0; }

/* 안내 표 (협회업무·복지 안내와 같은 모양) */
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid #111; font-size: 15px; }
.info-table th { width: 150px; background: var(--th-bg); font-weight: 600; padding: 18px 12px; border-bottom: 1px solid #d7d7d7; border-right: 1px solid #d7d7d7; vertical-align: middle; }
.info-table td { padding: 18px 24px; border-bottom: 1px solid #d7d7d7; color: var(--text-2); }
.info-table td p + p { margin-top: 4px; }
.notice-line { margin-top: 18px; font-size: 14px; font-weight: 700; }
.link-right { text-align: right; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.link-right a:hover { color: var(--primary); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 50px; padding: 0 28px; border-radius: var(--radius); font-weight: 700; font-size: 16px; transition: background .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-line { border: 1px solid var(--line); background: #fff; }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { display: flex; width: 100%; height: 56px; font-size: 17px; }
.btn-center { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.btn-pill { border-radius: 14px; min-width: 300px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }

/* ───────── 입력 서식 (복지 신청서와 같은 모양) ───────── */
.form { max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 26px; }
.field > label, .field > .label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.field .star { color: var(--text); }
.input, .select, .textarea { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; font-size: 16px; background: #fff; outline: none; }
.input::placeholder, .textarea::placeholder { color: #b5b5b5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(32,129,160,.12); }
.input[readonly] { background: var(--bg-soft); color: var(--text-2); }
.select { appearance: none; background: #fff 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' stroke='%23111' stroke-width='2' fill='none'/%3E%3C/svg%3E") right 16px center no-repeat; padding-right: 40px; }
.textarea { height: 150px; padding: 14px 18px; resize: vertical; line-height: 1.5; }
.hint { color: var(--red); font-size: 14px; font-weight: 600; margin-top: 8px; }
.hint.gray { color: var(--muted); font-weight: 500; }
.row { display: flex; gap: 10px; align-items: center; }
.row .input, .row .select { flex: 1; }
.row .unit { font-weight: 600; flex: none; }
.row .btn { flex: none; height: 52px; }
.radios { display: flex; gap: 28px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.radios input { width: 20px; height: 20px; accent-color: #3b82f6; }
.file-btn { display: inline-flex; align-items: center; gap: 6px; height: 50px; padding: 0 22px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; background: #fff; }
.agree-box { border-radius: 20px; box-shadow: 0 2px 16px rgba(0,0,0,.08); padding: 24px 28px; font-size: 13.5px; color: var(--text-2); }
.agree-box ul li { padding-left: 12px; position: relative; }
.agree-box ul li::before { content: "·"; position: absolute; left: 0; font-weight: 700; }
.agree-box .agree-q { border-top: 1px solid #ddd; margin-top: 16px; padding-top: 16px; text-align: center; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 10px; }
.agree-box .agree-q input { width: 18px; height: 18px; accent-color: var(--primary); }
.agree-box .scroll { max-height: 130px; overflow: auto; padding-right: 8px; }
.agree-all { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; padding: 18px 22px; border: 1px solid var(--primary); border-radius: 14px; background: var(--primary-soft); margin-bottom: 14px; }
.agree-all input { width: 22px; height: 22px; accent-color: var(--primary); }

/* 차량번호 입력 (대구 [  ] [차▼] [    ]) */
.car-no { display: flex; gap: 8px; align-items: center; }
.car-no .area { font-weight: 700; width: 40px; flex: none; }
.car-no .input:nth-of-type(1) { flex: 0.8; }
.car-no .select { flex: 0.8; }
.car-no .input:last-of-type { flex: 1.4; }

/* ───────── 게시판 ───────── */
.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 15px; color: #666; }
.board-top b { color: var(--text); }
.search-bar { display: flex; gap: 6px; }
.search-bar .select { width: 110px; height: 40px; font-size: 14px; }
.search-bar .input { width: 200px; height: 40px; font-size: 14px; }
.search-bar .btn { height: 40px; }
.board-list { width: 100%; border-collapse: collapse; border-top: 1px solid #d0d0d0; font-size: 15px; text-align: center; }
.board-list th { font-weight: 600; padding: 14px 6px; border-bottom: 1px solid #d0d0d0; font-size: 15px; }
.board-list td { padding: 13px 6px; border-bottom: 1px solid #e3e3e3; color: var(--text-2); }
.board-list td.subj { text-align: left; padding-left: 20px; color: var(--text); }
.board-list td.subj a:hover { color: var(--primary); text-decoration: underline; }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 36px; font-size: 14px; }
.pager a { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: #666; }
.pager a.on { background: var(--primary); color: #fff; font-weight: 700; }

.view-head { border-top: 2px solid #111; padding: 26px 10px 22px; border-bottom: 1px solid #d7d7d7; }
.view-head .cat { color: var(--primary); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.view-head h2 { font-size: 24px; font-weight: 700; line-height: 1.4; }
.view-meta { display: flex; gap: 22px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.view-meta b { color: var(--text-2); font-weight: 600; margin-right: 6px; }
.view-files { background: var(--bg-soft); border-bottom: 1px solid #d7d7d7; padding: 16px 20px; font-size: 14px; }
.view-files li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.view-files .ico { width: 26px; height: 26px; border-radius: 6px; background: #fff; border: 1px solid #ddd; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--primary); flex: none; }
.view-files a:hover { color: var(--primary); text-decoration: underline; }
.view-files .size { color: var(--muted); }
.view-body { padding: 40px 10px 60px; font-size: 16px; line-height: 1.85; color: #222; border-bottom: 1px solid #d7d7d7; min-height: 280px; }
.view-body p + p { margin-top: 14px; }
.view-body table { border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.view-body th, .view-body td { border: 1px solid #ccc; padding: 8px 16px; }
.view-body th { background: var(--th-bg); }
.view-nav { border-bottom: 1px solid #d7d7d7; font-size: 15px; }
.view-nav a { display: flex; gap: 24px; padding: 15px 10px; border-top: 1px solid #ececec; }
.view-nav a:first-child { border-top: 0; }
.view-nav a:hover .t { color: var(--primary); }
.view-nav .k { width: 70px; flex: none; font-weight: 700; }
.view-nav .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.view-nav .d { color: var(--muted); font-size: 14px; flex: none; }

/* ───────── 상태 표시 ───────── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.b-recv { background: #eef0f3; color: #555; }
.b-check { background: #e5f0fb; color: var(--blue); }
.b-done { background: #e3f4ef; color: var(--teal); }
.b-reject { background: #ffeef2; color: #e0446a; }
.b-wait { background: #fff4dc; color: #b77800; }

/* ───────── 단계 표시 ───────── */
.steps { display: flex; justify-content: center; gap: 0; margin-bottom: 44px; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 140px; position: relative; font-size: 14px; color: var(--muted); font-weight: 600; }
.steps li::before { content: ""; position: absolute; top: 18px; left: -50%; width: 100%; height: 2px; background: #ddd; z-index: 0; }
.steps li:first-child::before { display: none; }
.steps li span { width: 38px; height: 38px; border-radius: 50%; background: #e9ecef; display: grid; place-items: center; font-weight: 800; color: #999; position: relative; z-index: 1; }
.steps li.on { color: var(--primary); }
.steps li.on span { background: var(--primary); color: #fff; }
.steps li.done span { background: var(--primary-soft); color: var(--primary); }
.steps li.on::before, .steps li.done::before { background: var(--primary); }

/* 둥근 카드 (로그인 화면 카드와 같은 모양) */
.card { max-width: 520px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: 0 4px 26px rgba(0,0,0,.08); padding: 40px 44px; }
.card-notice { border: 2px solid #9fcfdc; border-radius: 18px; padding: 20px 22px; margin-bottom: 30px; }
.card-notice h3 { font-size: 17px; margin-bottom: 10px; }
.card-notice .pill { background: var(--primary); color: #fff; border-radius: 8px; text-align: center; font-weight: 700; padding: 7px; margin-bottom: 10px; }
.card-notice p { font-size: 13px; color: var(--text-2); }
.text-links { text-align: center; margin-top: 20px; font-size: 14px; font-weight: 600; }
.text-links a + a::before { content: "|"; margin: 0 10px; color: #bbb; font-weight: 400; }

/* 탭 (마이페이지 등) */
.tabs { display: flex; border-bottom: 1px solid #d0d0d0; margin-bottom: 36px; }
.tabs a { flex: 1; text-align: center; padding: 14px 0; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--text); border-color: var(--primary); }

/* ───────── 하단 ───────── */
.site-footer { background: var(--footer) url(../img/footer_bg.jpg) center/cover no-repeat; color: #fff; }
.site-footer .inner { max-width: 1200px; margin: 0 auto; padding: 46px 40px 40px 44%; font-size: 13.5px; }
.f-links { display: flex; gap: 22px; font-weight: 700; margin-bottom: 22px; margin-left: 240px; }
.f-info { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 8px 22px; }
.f-info dt { opacity: .7; }
.f-info dd { font-weight: 600; }
.copy { margin-top: 22px; text-align: center; opacity: .9; font-size: 13px; }

/* 맨 위로 */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.2); z-index: 40; }

/* ───────── 모바일 전체 메뉴 ───────── */
.m-menu { display: none; position: fixed; inset: 0; background: #fff; z-index: 100; overflow-y: auto; }
.m-menu.open { display: block; }
.m-menu .top { background: #bdbdbd; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.m-menu .top .brand { font-size: 11px; }
.m-menu .top .brand img { width: 28px; height: 28px; }
.m-menu .close { font-size: 30px; font-weight: 400; line-height: 1; color: #000; }
.m-menu .mem { text-align: right; padding: 20px; font-weight: 700; border-bottom: 1px solid #888; font-size: 15px; }
.m-menu .mem a + a::before { content: "|"; margin: 0 10px; }
.m-menu .d1 > li > button { width: 100%; text-align: left; padding: 15px 20px; font-weight: 700; font-size: 16px; border-bottom: 1px solid #ddd; }
.m-menu .d1 .d2 { display: none; background: #f3f3f3; padding: 10px 0; border-bottom: 1px solid #ddd; }
.m-menu .d1 li.open .d2 { display: block; }
.m-menu .d2 a { display: block; padding: 8px 36px; font-weight: 600; }
.m-menu .d2 a.on { color: var(--primary); }

/* ═════════ 모바일 (1024px 미만) ═════════ */
@media (max-width: 1023px) {
  body { font-size: 15px; }
  .site-header { position: relative; height: 60px; background: url(../img/band_mo.jpg) center/cover; border-bottom: 0; }
  .site-header .inner { padding: 0 16px; }
  .brand { font-size: 11.5px; gap: 7px; }
  .brand img { width: 30px; height: 30px; }
  .gnb, .util { display: none; }
  .m-burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; width: 34px; height: 34px; }
  .m-burger i { display: block; height: 3px; background: #fff; border-radius: 2px; }
  .sub-band { display: none; }
  .sub-nav .inner { height: 64px; padding: 0 16px; gap: 14px; }
  .sn-d1 { flex: 1; }
  .sn-d1 > button { width: 100%; font-size: 13px; }
  .sn-d2 { flex: 1.1; }
  .sn-d2 > button { width: 100%; height: 38px; font-size: 13px; padding: 0 16px; }
  .sn-sep { height: 30px; }
  .page-title { display: block; text-align: center; padding-top: 34px; }
  .page-title h1 { display: inline-block; font-size: 25px; font-weight: 800; letter-spacing: -0.5px; padding-bottom: 2px; border-bottom: 3px solid var(--primary); line-height: 1.25; }
  .content { padding: 36px 0 70px; }
  .container { padding: 0 18px; }
  .info-table { font-size: 13.5px; }
  .info-table th { width: 92px; padding: 14px 6px; font-size: 13.5px; }
  .info-table td { padding: 14px 12px; }
  .sec-title { font-size: 17px; margin-top: 34px; }
  .field > label, .field > .label { font-size: 15px; }
  .input, .select { height: 48px; font-size: 15px; padding: 0 14px; }
  .row .btn { height: 48px; padding: 0 14px; font-size: 14px; }
  .car-no { gap: 6px; }
  .car-no .area { width: 32px; font-size: 14px; }
  .car-no .input { padding: 0 10px; text-align: center; min-width: 0; }
  .car-no .select { flex: none; width: 62px; padding: 0 22px 0 12px; background-position: right 9px center; }
  .car-no .btn { height: 48px !important; padding: 0 12px; font-size: 14px; }
  .btn-pill { min-width: 0; width: 100%; }
  .btn-center { flex-direction: column; }
  .btn-center .btn { width: 100%; }
  .card { box-shadow: 0 2px 16px rgba(0,0,0,.08); padding: 28px 22px; border-radius: 18px; }
  .board-top { flex-direction: column; align-items: stretch; gap: 10px; }
  .search-bar .input { flex: 1; width: auto; }
  .search-bar .select { width: 90px; }
  .board-list { font-size: 13px; }
  .board-list .pc-only { display: none; }
  .board-list td.subj { padding-left: 8px; }
  .view-head { padding: 18px 4px 16px; }
  .view-head h2 { font-size: 19px; }
  .view-meta { gap: 12px; font-size: 12.5px; flex-wrap: wrap; }
  .view-body { padding: 26px 4px 40px; font-size: 15px; min-height: 0; }
  .view-body table { font-size: 13px; width: 100%; }
  .view-body th, .view-body td { padding: 6px 8px; }
  .view-files { padding: 12px 14px; font-size: 13px; }
  .view-files li { flex-wrap: wrap; }
  .view-nav { font-size: 14px; }
  .view-nav a { gap: 12px; }
  .view-nav .k { width: 52px; }
  .view-nav .d { display: none; }
  .steps li { width: 96px; font-size: 12px; }
  .steps li span { width: 32px; height: 32px; }
  .steps li::before { top: 15px; }
  .site-footer .inner { padding: 30px 22px 26px; font-size: 12px; }
  .f-links { margin: 0 0 18px; justify-content: center; }
  .f-info { gap: 6px 12px; }
  .copy { font-size: 11px; }
  .to-top { width: 40px; height: 40px; right: 14px; bottom: 14px; }
  .pc-only { display: none !important; }
}
@media (min-width: 1024px) { .mo-only { display: none !important; } }

/* ═════════ PHP 판에서 더한 것 (2026-11-17) ═════════ */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: #000; color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.flash { background: var(--primary-soft); color: var(--primary-dark); border-radius: 12px; padding: 12px 18px; margin-bottom: 24px; font-weight: 600; }
.flash.err { background: #ffeef2; color: #c8304f; }
.pw-notice { background: #fff4dc; color: #8a5a00; border-radius: 12px; padding: 12px 18px; margin-bottom: 24px; font-size: 14.5px; }
.pw-notice a { font-weight: 700; text-decoration: underline; }
.msg-box { text-align: center; padding: 40px 0; font-size: 17px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.red { color: var(--red); }
.form-err { background: #ffeef2; color: #c8304f; border-radius: 12px; padding: 12px 18px; margin-bottom: 22px; font-weight: 600; font-size: 14.5px; }
.pager .pg-arrow { font-weight: 800; }
.pager .pg-arrow.prev::before { content: "‹"; }
.pager .pg-arrow.next::before { content: "›"; }
.util a + a { margin-left: 0; }

/* 고정 글 (협회업무·복지 안내 등) */
.doc-body .law { font-size: 15px; color: var(--text-2); margin-bottom: 14px; }
.doc-body .sec-title { margin-top: 36px; }
.doc-body .sec-title:first-child { margin-top: 0; }
.doc-body .info-table { margin-bottom: 10px; }
.doc-body .info-table td ul, .doc-body .info-table td ol { padding-left: 2px; }
.doc-body a { color: var(--primary); text-decoration: underline; }
.data-table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 6px 0; text-align: center; }
.data-table th, .data-table td { border: 1px solid #d5d5d5; padding: 7px 8px; }
.data-table th { background: var(--th-bg); font-weight: 600; }
.doc-body h3.ch { font-size: 18px; color: var(--primary); margin: 30px 0 10px; }
.doc-body h4 { font-size: 16px; margin: 18px 0 6px; }
.doc-body p { margin-bottom: 6px; }
.greeting { display: grid; grid-template-columns: 1fr 200px; gap: 40px; align-items: start; }
.greeting .photo img { width: 200px; border-radius: 6px; }
.greeting .txt p { font-size: 17px; line-height: 1.9; color: #222; margin-bottom: 14px; }
.greeting .sign { font-weight: 800; margin-top: 30px; font-size: 18px; }

/* 연혁 */
.yr-tabs { display: flex; justify-content: center; gap: 0; border-bottom: 1px solid #ddd; margin-bottom: 50px; }
.yr-tabs a { padding: 14px 30px; color: #aaa; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.yr-tabs a.on { color: #111; font-weight: 800; border-color: #111; }
.hist { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.hist .cap { color: var(--primary); font-size: 14px; line-height: 1.5; }
.hist .cap b { display: block; font-size: 26px; color: #111; margin-top: 8px; }
.hist ul { border-left: 1px solid #ccc; padding-left: 30px; }
.hist li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 8px 0; font-size: 15.5px; }
.hist li .d { color: var(--primary); font-weight: 600; }
.hist li .c { white-space: pre-line; color: #333; }

/* 정관 탭 */
.rule-tabs { display: flex; justify-content: center; gap: 0; border-bottom: 1px solid #ddd; margin-bottom: 30px; flex-wrap: wrap; }
.rule-tabs a { padding: 14px 24px; color: #999; font-weight: 600; font-size: 15px; }
.rule-tabs a.on { color: #111; font-weight: 800; }
.ch-chips { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.ch-chips a { background: var(--primary); color: #fff; border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 700; }

/* 찾아오시는길 */
.map-box { border-radius: 14px; overflow: hidden; border: 1px solid #ddd; height: 420px; background: #eef1f4; display: grid; place-items: center; color: var(--muted); }
.loc-info { margin-top: 30px; }
.loc-info div { display: grid; grid-template-columns: 110px 1fr; padding: 10px 0; font-size: 16px; }
.loc-info dt { font-weight: 800; border-right: 2px solid #111; margin-right: 20px; }
.loc-info dd { color: #555; padding-left: 20px; }

/* 관련기관 표 */
.org-table { width: 100%; border-collapse: collapse; border-top: 2px solid #111; font-size: 15px; }
.org-table th { background: var(--th-bg); padding: 13px; border-bottom: 1px solid #d7d7d7; }
.org-table td { padding: 14px 13px; border-bottom: 1px solid #e3e3e3; text-align: center; }
.org-table td.l { text-align: left; font-weight: 600; }
.org-table a.go { color: var(--primary); font-weight: 700; }

@media (max-width: 1023px) {
  .greeting { grid-template-columns: 1fr; gap: 20px; }
  .greeting .photo { order: -1; display: flex; justify-content: center; }
  .greeting .photo img { width: 140px; }
  .greeting .txt p { font-size: 15px; }
  .yr-tabs { margin-bottom: 30px; }
  .yr-tabs a { padding: 12px 14px; font-size: 14px; }
  .hist { grid-template-columns: 1fr; gap: 16px; }
  .hist ul { padding-left: 16px; }
  .hist li { grid-template-columns: 1fr; gap: 2px; font-size: 14px; }
  .rule-tabs a { padding: 10px 10px; font-size: 13px; }
  .map-box { height: 260px; }
  .loc-info div { grid-template-columns: 76px 1fr; font-size: 14px; }
  .loc-info dd { padding-left: 12px; }
  .org-table { font-size: 13.5px; }
  .org-table .pc-only { display: none; }
}

/* 회원가입 동의 (디자인추가 join.html) */
.agree-item { border: 1px solid #e1e1e1; border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.agree-item summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 600; cursor: pointer; }
.agree-item summary::-webkit-details-marker { display: none; }
.agree-item summary input { width: 20px; height: 20px; accent-color: var(--primary); }
.agree-item summary .req { color: var(--primary); font-size: 13px; }
.agree-item summary .opt { color: var(--muted); font-size: 13px; }
.agree-item summary::after { content: "보기 ▾"; margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 500; }
.agree-item[open] summary::after { content: "닫기 ▴"; }
.agree-item .body { padding: 0 18px 16px 48px; font-size: 13.5px; color: var(--text-2); }
.agree-item .body a { text-decoration: underline; }
.hint.ok { color: var(--teal); }
.car-no .btn { flex: none; height: 52px; }

/* 개인정보처리방침·이용약관 글 */
.doc-body .doc-intro { background: var(--bg-soft); border-radius: 16px; padding: 22px 26px; font-size: 15px; color: var(--text-2); margin-bottom: 26px; }
.doc-body .toc { border: 1px solid #ddd; border-radius: 16px; padding: 22px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; font-size: 14.5px; margin-bottom: 40px; }
.doc-body .toc a { color: inherit; text-decoration: none; }
.doc-body h3 { font-size: 18px; margin: 34px 0 10px; }
.doc-body .warn { background: #fff4f6; border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 10px 0; }
.doc-body .chapter { font-size: 19px; font-weight: 800; color: var(--primary); margin: 40px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.doc-body .foot { margin-top: 40px; background: var(--bg-soft); border-radius: 14px; padding: 18px 22px; }
.doc-body ol li, .doc-body > p { color: var(--text-2); line-height: 1.8; }
@media (max-width: 1023px) { .doc-body .toc { grid-template-columns: 1fr; padding: 18px; } }
.done-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--primary-soft); display: grid; place-items: center; margin: 0 auto 18px; }
.file-name { margin-left: 10px; font-size: 14px; color: var(--text-2); }
.file-btn { cursor: pointer; }
.file-btn:focus-within { outline: 3px solid rgba(32,129,160,.3); }
.bank-row .input:nth-child(1) { flex: .8; }
.bank-row .input:nth-child(2) { flex: 1.6; }
.bank-row .input:nth-child(3) { flex: .8; }
@media (max-width: 1023px) { .bank-row { flex-wrap: wrap; } .bank-row .input:nth-child(2) { flex: 1 0 100%; order: 3; } }

/* 협회 로고 원본 (11/18): 문양 + 흰 글씨 이름 한 장 */
.brand img.full { width: auto; height: 46px; }
.m-menu .top .brand img.full { height: 28px; }
@media (max-width: 1023px) { .brand img.full { height: 30px; max-width: 72vw; object-fit: contain; object-position: left center; } }
/* 인사말: DB 글 안에도 <div class="greeting"> 이 있어 두 겹 → 안쪽은 그냥 글 */
.greeting .greeting { display: block; }
.greeting .greeting p { font-size: inherit; }
/* 규정 원문 내려받기 */
.doc-body .doc-file { margin-top: 40px; background: var(--bg-soft); border-radius: 14px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.doc-body .doc-file p { margin: 0; }
.doc-body .doc-file a.btn { text-decoration: none; color: var(--text); }
.doc-body h4 { font-size: 16px; margin: 20px 0 6px; }
