/* 게시판 — 사이트 공통 스타일(site.css) 위에 덧씌움 */
.board-main { padding: 56px 0 100px; }
.hero-panel { display: none; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.search { display: flex; gap: 8px; flex-wrap: wrap; }
.input, .card textarea, .card select { width: 100%; height: 46px; border: 1px solid #d5dbe4; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; color: var(--ink-900); }
.card textarea { height: 260px; padding: 14px; line-height: 1.7; resize: vertical; }
.input:focus, .card textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47, 122, 229, .15); }
.btn { height: 44px; padding: 0 18px; border: 1px solid var(--line); background: #fff; color: var(--ink-900); font-size: 15px; }
.btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn.dark { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.btn.dark:hover { background: #1853a8; color: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { background: var(--surface-alt); color: var(--ink-500); font-weight: 700; font-size: 14px; padding: 13px 12px; border-top: 2px solid var(--navy-900); border-bottom: 1px solid var(--line); text-align: center; }
.table td { padding: 15px 12px; border-bottom: 1px solid var(--line-soft); text-align: center; color: var(--ink-700); }
.table td:nth-child(2) { text-align: left; }
.table td:nth-child(2) a { color: var(--ink-900); font-weight: 600; }
.table td:nth-child(2) a:hover { color: var(--blue-600); }
.badge { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-alt); color: var(--ink-500); }
.badge.new { background: #fdf3dc; color: #8a5a00; }
.badge.progress { background: var(--blue-50); color: var(--blue-600); }
.badge.done { background: #e7f6ec; color: #1b7a3d; }
.help { font-size: 13px; color: var(--ink-400); margin-top: 6px; }
.secret { margin-right: 4px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); font-size: 14px; }
.pagination .active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.field input[type="checkbox"] { width: auto; height: auto; margin-right: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.view-title { font-size: 26px; margin-bottom: 14px; }
.meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-500); font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.content { padding: 24px 0 28px; font-size: 16px; line-height: 1.85; min-height: 160px; }
.attach-img img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.reply-box { background: var(--blue-50); border: 1px solid #d6e4fa; border-radius: 12px; padding: 20px 22px; margin-top: 20px; line-height: 1.8; }
.error { background: #fdecec; border: 1px solid #f5c2c2; color: #a12b2b; border-radius: 12px; padding: 18px 20px; }
.sqlbox { background: #0b1b33; color: #dce6f4; border-radius: 10px; padding: 14px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; overflow-x: auto; margin-top: 10px; }
@media (max-width: 700px) {
  .card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .table th:nth-child(1), .table td:nth-child(1), .table th:nth-child(6), .table td:nth-child(6), .table th:nth-child(4), .table td:nth-child(4) { display: none; }
  .table td, .table th { padding: 12px 6px; font-size: 14px; }
  .search .input { width: 100% !important; }
}

/* 개인정보 동의 */
.agree-box { border: 1px solid #dfe5ee; border-radius: 10px; padding: 16px 18px; background: #f7f9fc; }
.agree-text { font-size: 13.5px; line-height: 1.7; color: #4a5a72; margin-bottom: 10px; }
.agree-text strong { color: #1b2a41; }
.agree-box label { font-weight: 700; }

/* 스팸 방지용 숨은 입력칸 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
