/* 문의 접수(3.156, 결정 762·764·786) — 승인 시안(764)의 목록·문의하기·접수 완료·비밀글·내 글.
   wiki.css 토큰만 쓴다(밝은·어두운 화면 같이). 이용자가 쓴 글·입력 칸은 서브셋 글꼴에 없는 글자가 있어 시스템 글꼴(3.156 10절). */
.inq-sys { font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
.inq-desc { margin: 14px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.inq-msg { margin: 14px 0 0; padding: 10px 14px; border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); }
.inq-msg.err { border-color: var(--mark); color: var(--ink); }

/* 목록 위 도구 줄 */
.inq-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 18px 0 10px; }
.inq-count { font-size: var(--fs-sm); color: var(--muted); }
.inq-count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.inq-find { display: flex; gap: 6px; flex-wrap: wrap; }
.inq-find input { height: 36px; width: 200px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 3px; padding: 0 10px; font-size: var(--fs-sm); }

/* 목록 표(PC)·줄 목록(모바일) */
.inq-list { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); border-top: 1px solid var(--ink); }
.inq-list th { font-weight: var(--fw-bold); color: var(--muted); font-size: var(--fs-xs); background: var(--surface); padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.inq-list td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.inq-list td.t { text-align: left; width: 100%; }
.inq-list td.t a, .inq-mlist a { color: var(--muted); }
.doc .inq-mlist { display: none; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.doc .inq-mlist li { border-bottom: 1px solid var(--line); padding: 12px 2px; margin: 0; }
.inq-mlist a { display: block; font-size: var(--fs-md); line-height: 1.5; }
.inq-mlist .mm { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.inq-empty { padding: 28px 0; text-align: center; color: var(--muted); font-size: var(--fs-sm); border-bottom: 1px solid var(--line); }
.inq-pages { display: flex; justify-content: center; gap: 4px; margin: 20px 0 6px; font-size: var(--fs-sm); }
.inq-pages button { min-width: 32px; height: 32px; border: 1px solid transparent; border-radius: 3px; background: none; color: var(--muted); cursor: pointer; font: inherit; }
.inq-pages button[aria-current] { border-color: var(--line); color: var(--ink); font-weight: var(--fw-bold); background: var(--surface); }
.inq-pages button:disabled { opacity: 0.4; cursor: default; }
.inq-note { font-size: var(--fs-xs); color: var(--muted); margin: 14px 0 0; }

/* 문의하기 */
.inq-notice { border: 1px solid var(--line); background: var(--surface); padding: 12px 16px; margin: 18px 0 20px; font-size: var(--fs-sm); line-height: 1.7; }
.inq-notice strong { display: block; margin-bottom: 4px; }
.inq-notice ul { margin: 0; padding-left: 18px; }
.inq-notice li b { color: var(--mark); }
.inq-form { display: grid; grid-template-columns: 130px minmax(0, 1fr); border-top: 1px solid var(--ink); font-size: var(--fs-sm); }
.inq-form > .lb { background: var(--surface); font-weight: var(--fw-bold); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.inq-form > .fd { padding: 8px 12px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; min-width: 0; }
.inq-form input[type=text], .inq-form input[type=email], .inq-form input[type=password], .inq-form textarea {
  height: 36px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); padding: 0 10px; font-size: var(--fs-sm); }
.inq-form .wide, .inq-form textarea { width: 100%; }
.inq-form textarea { height: 220px; padding: 10px; line-height: 1.7; resize: vertical; }
.inq-form .req { color: var(--mark); margin-left: 2px; }
.inq-form .bad { border-color: var(--mark); }
.inq-kinds { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; margin: 0; padding: 0; }
.inq-kinds label { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 36px; border-left: 1px solid var(--line); cursor: pointer; }
.inq-kinds label:first-of-type { border-left: 0; }
.inq-kinds label:has(input:checked) { background: var(--surface); font-weight: var(--fw-bold); }
.inq-pw { display: flex; flex-wrap: wrap; gap: 8px; }
.inq-pw input { width: 200px; }
.inq-pw input[type=email] { width: 320px; max-width: 100%; }
.doc .inq-below { max-width: none; }
.inq-below { flex-basis: 100%; font-size: var(--fs-xs); color: var(--muted); margin: -2px 0 0; line-height: 1.6; }
.inq-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inq-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.inq-actions.split { justify-content: space-between; }
.inq-actions .grp { display: flex; gap: 8px; }
.inq-actions .btn, .inq-box .btn { cursor: pointer; font: inherit; font-weight: var(--fw-bold); }
.inq-actions .btn:disabled, .inq-box .btn:disabled { opacity: 0.55; cursor: default; }

/* 가운데 상자(접수 완료·비밀글·새 비밀번호) */
.inq-box { max-width: 480px; margin: 28px auto 8px; border: 1px solid var(--line); }
.inq-box .bh { background: var(--navy); color: var(--on-navy); padding: 10px 16px; font-weight: var(--fw-heavy); font-size: var(--fs-md); }
.inq-box .bb { padding: 18px 20px 20px; font-size: var(--fs-sm); }
.inq-box .bb p { margin: 0 0 12px; }
.inq-box dl { display: grid; grid-template-columns: 96px minmax(0, 1fr); margin: 0 0 14px; border-top: 1px solid var(--line); }
.inq-box dt, .inq-box dd { margin: 0; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.inq-box dt { background: var(--surface); font-weight: var(--fw-bold); }
.inq-box dd b { font-size: var(--fs-lg); letter-spacing: 0.5px; font-variant-numeric: tabular-nums; }
.inq-box .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.inq-box .field label { font-weight: var(--fw-bold); }
.inq-box .field input { height: 40px; border: 1px solid var(--line); border-radius: 3px; padding: 0 10px; font-size: var(--fs-md); background: var(--paper); color: var(--ink); }
.inq-box .row { display: flex; gap: 8px; }
.inq-box .row .btn { flex: 1; height: 40px; }
.inq-box .small { font-size: var(--fs-xs); color: var(--muted); margin: 12px 0 0; }
.inq-link { border: 0; background: none; padding: 0; color: var(--link); font: inherit; cursor: pointer; }
.inq-link:hover { text-decoration: underline; }

/* 내 글 */
.inq-post-h { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 16px 4px 12px; margin-top: 18px; }
.inq-post-h h2 { margin: 0; font-size: var(--fs-h3); font-weight: var(--fw-heavy); line-height: 1.45; letter-spacing: -0.3px; }
.inq-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.inq-meta .done { color: var(--link); font-weight: var(--fw-bold); }
.inq-post-b { padding: 20px 4px 24px; font-size: var(--fs-md); white-space: pre-wrap; }
.inq-reply { border: 1px solid var(--line); margin-top: 12px; }
.inq-reply .ah { background: var(--navy); color: var(--on-navy); padding: 8px 14px; display: flex; justify-content: space-between; gap: 10px; font-size: var(--fs-sm); }
.inq-reply.writer .ah { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.inq-reply .ah b { font-weight: var(--fw-heavy); }
.inq-reply .ah span { font-size: var(--fs-xs); font-variant-numeric: tabular-nums; opacity: 0.85; }
.inq-reply .ab { padding: 14px 16px; white-space: pre-wrap; }
.inq-more { margin-top: 20px; }
.inq-more textarea { width: 100%; height: 140px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); padding: 10px; font-size: var(--fs-sm); line-height: 1.7; resize: vertical; }

@media (max-width: 760px) {
  .inq-find { width: 100%; }
  .inq-find input { flex: 1 1 140px; width: auto; }
  .inq-list { display: none; }
  .doc .inq-mlist { display: block; }
  .inq-form { grid-template-columns: minmax(0, 1fr); }
  .inq-form > .lb { border-bottom: 0; padding: 10px 2px 4px; background: none; }
  .inq-form > .fd { padding: 0 2px 12px; }
  .inq-form input[type=text], .inq-form input[type=email], .inq-form input[type=password] { width: 100%; height: 44px; }
  .inq-kinds { display: flex; width: 100%; }
  .inq-kinds label { flex: 1; justify-content: center; padding: 0 6px; height: 44px; }
  .inq-pw input { width: 100%; }
  .inq-actions .btn { flex: 1; height: 44px; }
  .inq-actions.split { flex-direction: column-reverse; }
  .inq-actions .grp { width: 100%; }
  .inq-box { margin-top: 16px; }
  .inq-box .row .btn, .inq-box .field input { height: 44px; }
}
