/* ══════════════════════════════════════════════════════════════════
   static-pages.css — /faq/·/forms/ 전용 최소 스타일
   scripts/build-static-pages.mjs 가 public/assets/static-pages.css 로 복사한다.
   ⛔ 새 색을 지어내지 마라 — 아래 값은 전부 src/frontend/styles.css·ui.css 에 실재한다
   (발행기가 이 파일의 색을 사이트 팔레트와 대조해 어긋나면 빌드를 세운다).
   ══════════════════════════════════════════════════════════════════ */

/* board-page/board-main 은 사이트 공용 폭·카드 껍데기(ui.css)라 그대로 쓴다.
   여기서는 그 안의 문서 타이포그래피·문답 목록·표만 채운다. */
.static-page h1 {
  max-width: none;
  margin: 0 0 14px;
  color: #102c40; /* ui.css --ink-deep */
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: normal;
}

.static-page .lead {
  margin: 0 0 30px;
  color: #607383; /* ui.css --ink-muted */
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}

.static-page h2 {
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d9e1e2; /* ui.css --line */
  color: #17364b; /* ui.css --ink */
  font-size: 20px;
}

.static-page h3 {
  margin: 0 0 10px;
  color: #17364b;
  font-size: 16px;
}

.static-page p {
  margin: 0 0 10px;
  line-height: 1.75;
  word-break: keep-all;
}

.static-page a {
  color: #246fae; /* ui.css --blue */
  text-decoration: underline;
}

.static-page a:hover {
  color: #175789; /* ui.css --blue-dark */
}

.static-page code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #e9f3ee; /* ui.css --mint-pale */
  color: #17364b;
  font-size: 13px;
}

/* 목차 */
.faq-toc {
  padding: 22px 26px;
  border: 1px solid #d9e1e2;
  border-radius: 18px; /* ui.css --radius-md */
  background: #e8f3fa; /* ui.css --blue-pale */
  margin-bottom: 34px;
}

.faq-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.faq-toc li {
  margin: 6px 0;
  break-inside: avoid;
}

.faq-toc a {
  text-decoration: none;
}

.faq-toc a:hover {
  text-decoration: underline;
}

/* 문답 목록 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.faq-item {
  padding-top: 22px;
  border-top: 1px solid #d9e1e2;
}

.faq-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-q {
  color: #102c40;
}

.faq-a p {
  color: #17364b;
}

/* 표준양식 표 */
.forms-group {
  margin-bottom: 36px;
}

.forms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.forms-table th,
.forms-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #d9e1e2;
  text-align: left;
  vertical-align: top;
}

.forms-table th {
  color: #607383;
  font-size: 12px;
  font-weight: 700;
}

/* 열 너비 고정 — 네 그룹의 표가 서로 어긋나 보이지 않게 한다. */
.forms-table {
  table-layout: fixed;
}

.forms-table col.c-label {
  width: 26%;
}

.forms-table col.c-accept {
  width: 19%;
}

.forms-table col.c-download {
  width: 28%;
}

.forms-table col.c-where {
  width: 27%;
}

/* 확장자 목록은 쪼개지 않는다(".csv, .xls, .xlsx" 가 세 줄이 되던 자리). */
.forms-table td.c-accept-cell {
  white-space: nowrap;
  font-size: 13px;
}

.forms-group-note {
  margin: 0 0 14px;
  color: #607383;
  font-size: 13px;
  line-height: 1.7;
}

.forms-none {
  color: #607383;
}

.forms-columns {
  margin: 6px 0 0;
  color: #607383;
  font-size: 12px;
  line-height: 1.6;
  word-break: keep-all;
}

/* 입력 주의사항 상자 */
.forms-notice-box {
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid #fff3d5;
  border-radius: 18px;
  background: #fff3d5; /* ui.css .status-waiting_ai 배경 */
}

.forms-notice-box h2 {
  margin-top: 0;
  border-bottom: 0;
  padding-bottom: 0;
  color: #81601f; /* ui.css .status-waiting_ai 글자색 */
}

.forms-notice-list {
  margin: 0;
  padding-left: 22px;
}

.forms-notice-list li {
  margin: 8px 0;
  line-height: 1.7;
  word-break: keep-all;
}
