.board-page { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 38px; padding-block: 42px 72px; }
.board-sidebar { padding-right: 24px; border-right: 1px solid var(--line); }
.board-sidebar > p { margin: 0 0 5px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.board-sidebar h2 { margin-bottom: 24px; color: var(--navy); font-size: 24px; }
.board-sidebar nav { display: grid; gap: 3px; }
.board-sidebar button { min-height: 44px; padding: 10px 12px; border: 0; border-left: 3px solid transparent; background: transparent; color: var(--muted); text-align: left; }
.board-sidebar button[aria-current="page"] { border-left-color: var(--green); color: var(--navy); background: #edf5f3; font-weight: 700; }
.board-main { min-width: 0; }
.board-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.board-heading h1 { margin: 0 0 5px; font-size: 32px; }
.board-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.board-write-button, .board-submit { min-height: 42px; padding: 9px 18px; border: 0; border-radius: 4px; color: #fff; background: var(--navy); font-weight: 700; }
.board-tools { display: flex; gap: 8px; margin-bottom: 18px; }
.board-tools input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 13px; border: 1px solid #cad6db; border-radius: 4px; background: #fff; }
.board-tools button, .board-secondary { min-height: 42px; padding: 9px 16px; border: 1px solid #cbd6da; border-radius: 4px; background: #fff; color: #294252; font-weight: 650; }
.board-table { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--navy); }
.board-table th, .board-table td { padding: 14px 12px; border-bottom: 1px solid #e0e7e9; text-align: center; font-size: 13px; }
.board-table th { color: #526572; background: #f7f9fa; font-weight: 650; }
.board-table td:nth-child(3) { text-align: left; }
.board-title-button { width: 100%; padding: 0; border: 0; background: transparent; color: #1d3443; text-align: left; }
.board-title-button:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.board-empty { padding: 54px 20px; border-block: 1px solid var(--line); color: var(--muted); text-align: center; }
.board-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.board-detail { padding: 30px; border-top: 2px solid var(--navy); background: #fff; }
.board-detail h1 { margin-bottom: 16px; font-size: 29px; }
.board-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.board-body { min-height: 220px; padding: 28px 0; overflow-wrap: anywhere; }
.board-format-plain { white-space: pre-wrap; }
.board-rich-content { display: grid; gap: 10px; font-size: 16px; line-height: 1.75; }
.board-rich-content p, .board-rich-content ul, .board-rich-content ol { margin: 0; }
.board-rich-content p, .board-rich-content li { white-space: pre-wrap; }
.board-rich-content ul, .board-rich-content ol { padding-left: 25px; }
.board-rich-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.board-rich-align-left { text-align: left; }
.board-rich-align-center { text-align: center; }
.board-rich-align-right { text-align: right; }
.board-rich-size-12px { font-size: 12px; }
.board-rich-size-14px { font-size: 14px; }
.board-rich-size-16px { font-size: 16px; }
.board-rich-size-18px { font-size: 18px; }
.board-rich-size-20px { font-size: 20px; }
.board-rich-size-24px { font-size: 24px; }
.board-rich-size-28px { font-size: 28px; }
.board-rich-size-32px { font-size: 32px; }
.board-rich-editor { display: grid; gap: 8px; min-width: 0; }
.board-rich-toolbar { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; max-width: 100%; padding: 7px; overflow-x: auto; border: 1px solid #cbd6da; border-bottom: 0; border-radius: 5px 5px 0 0; background: #f5f8f9; scrollbar-width: thin; }
.board-rich-toolbar button, .board-rich-toolbar select { flex: 0 0 auto; min-height: 34px; padding: 5px 9px; border: 1px solid #c8d4d8; border-radius: 3px; background: #fff; color: #294252; font: inherit; font-size: 12px; }
.board-rich-toolbar button { font-weight: 700; }
.board-rich-toolbar .is-bold { font-weight: 900; }
.board-rich-toolbar .is-italic { font-style: italic; }
.board-rich-toolbar .is-underline { text-decoration: underline; }
.board-rich-toolbar .is-strike { text-decoration: line-through; }
.board-rich-toolbar .is-center { text-align: center; }
.board-rich-toolbar .is-right { text-align: right; }
.board-form .board-rich-toolbar .board-rich-link-input { flex: 0 0 128px; width: 128px; min-height: 34px; padding: 5px 8px; border-radius: 3px; font-size: 12px; }
.board-rich-input { min-height: 300px; padding: 14px; overflow-wrap: anywhere; border: 1px solid #cbd6da; border-radius: 0 0 5px 5px; background: #fff; font-size: 16px; line-height: 1.7; outline: 0; white-space: pre-wrap; }
.board-rich-input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(28, 119, 107, .12); }
.board-rich-input p, .board-rich-input ul, .board-rich-input ol { margin: 0 0 10px; }
.board-rich-input ul, .board-rich-input ol { padding-left: 25px; }
.board-rich-message { min-height: 18px; margin: 0; color: var(--muted); font-size: 12px; }
.board-actions { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.board-form { display: grid; gap: 18px; padding: 28px; border-top: 2px solid var(--navy); background: #fff; }
.board-form label { display: grid; gap: 7px; color: var(--navy); font-size: 14px; font-weight: 650; }
.board-form input, .board-form textarea { width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid #cbd6da; border-radius: 4px; background: #fff; font: inherit; font-weight: 400; }
.board-form textarea { min-height: 300px; resize: vertical; }
.board-page :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.board-admin-badge { display: inline-block; margin-top: 8px; padding: 2px 7px; color: #17645a; background: #edf5f3; border-radius: 3px; font-size: 12px; font-weight: 700; }
.board-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.board-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; }
.board-filter select { min-height: 44px; padding: 8px; border: 1px solid #cad6db; background: #fff; color: var(--navy); }
.board-answer { margin-bottom: 24px; padding: 20px; border-left: 3px solid var(--green); background: #f5f9f8; }
.board-answer h2 { font-size: 18px; }
.board-answer-content { margin-block: 12px; overflow-wrap: anywhere; }
.board-answer-form { margin-bottom: 24px; }
.board-answer-form .board-rich-input { min-height: 160px; }
@media (max-width: 760px) {
  .board-page { grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 24px 50px; }
  .board-sidebar { padding: 0 0 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  .board-sidebar h2 { margin-bottom: 12px; }
  .board-sidebar nav { grid-template-columns: repeat(3, 1fr); }
  .board-heading { align-items: flex-start; }
  .board-table thead { display: none; }
  .board-table, .board-table tbody, .board-table tr, .board-table td { display: block; width: 100%; }
  .board-table tr { position: relative; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .board-table td { display: inline; padding: 0; border: 0; color: var(--muted); font-size: 12px; }
  .board-table td:nth-child(1), .board-table td:nth-child(2) { margin-right: 8px; }
  .board-table td:nth-child(3) { display: block; margin: 7px 0; font-size: 15px; }
  .board-table td:nth-child(6) { float: right; }
  .board-detail, .board-form { padding: 22px 18px; }
}
