.board-row-actions{display:flex;align-items:center;border-bottom:1px solid #e2e8f0}
.board-row-actions:last-child{border-bottom:0}
.board-row-actions>.board-row{flex:1;min-width:0;border-bottom:0}
.board-row-actions .board-title{overflow-wrap:anywhere}
.board-row-edit{flex:0 0 auto;margin:8px 12px 8px 0;padding:9px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;text-decoration:none;font-size:.85rem;font-weight:800}
.board-row-edit:hover,.board-row-edit:focus-visible{background:#f1f5f9;border-color:#64748b}
.board-edit-message{margin:0;padding:24px 8px;line-height:1.7;color:#475569}
.board-edit-error{color:#b42318}
#boardEditModal [data-board-edit-content][hidden]{display:none!important}
@media(max-width:760px){
  .board-row-actions>.board-row{flex-direction:column;align-items:flex-start;gap:6px}
  .board-row-actions .board-meta{white-space:normal}
  .board-row-edit{padding:10px 12px;margin-right:8px}
}

/* 게시글 한 건의 수정·삭제: 게시판 전체 삭제와 구분 */
.board-row-manage{display:flex;align-items:center;gap:6px;flex:none;padding:8px 12px 8px 0}
.board-row-manage:empty{display:none}
.board-row-manage .board-row-edit{margin:0;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.board-row-delete-form{margin:0}
.board-row-delete{min-height:44px;padding:9px 14px;border:1px solid #e7b8b8;border-radius:8px;background:#fff7f7;color:#982323;font:inherit;font-size:.85rem;font-weight:800;cursor:pointer;white-space:nowrap}
.board-row-delete:hover{background:#feecec;border-color:#bd4d4d}
.board-row-delete:focus-visible,.board-post-delete-dialog button:focus-visible{outline:3px solid #145dcc;outline-offset:3px}
.board-post-delete-dialog{width:min(440px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;padding:24px;border:1px solid #dce2e8;border-radius:14px;color:#243345;background:#fff;box-shadow:0 18px 70px #14233640;overflow:auto}
.board-post-delete-dialog::backdrop{background:#101c2c88}
.board-post-delete-dialog h2{margin:0 0 14px;font-size:1.2rem}
.board-post-delete-dialog p{line-height:1.6}
.board-post-delete-title{font-weight:700;overflow-wrap:anywhere;white-space:pre-wrap}
.board-post-delete-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}
.board-post-delete-actions button{min-height:44px;padding:9px 18px;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}
.board-post-delete-actions [data-delete-cancel]{border:1px solid #cbd5e1;background:#fff;color:#334155}
@media(max-width:760px){
 .board-row-actions{flex-wrap:wrap}
 .board-row-actions>.board-row{flex-basis:100%;width:100%;box-sizing:border-box}
 .board-row-manage{margin-left:auto;padding:0 12px 12px;gap:8px}
 .board-post-delete-dialog{padding:20px}
}
