.jm-board {
    max-width: 1100px;
    margin: 24px auto;
    padding: 24px;
    background: #fff;
    color: #233853;
    border: 1px solid #e0e6ef;
    border-radius: 8px;
}
.jm-board-heading,
.jm-board-search,
.jm-board-pages {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}
.jm-board-heading {
    justify-content: space-between;
}
.jm-board-row {
    padding: 16px 4px;
    border-bottom: 1px solid #e7ebf1;
}
.jm-board-row > small,
.jm-comment > small {
    display: block;
    margin-top: 6px;
    color: #8190a4;
    font-size: 12px;
}
.jm-board-body {
    margin: 16px 0;
}
.jm-board .field {
    display: block;
    margin: 16px 0;
}
.jm-board .field > span {
    display: block;
    margin-bottom: 8px;
}
.jm-board input:not([type='checkbox']):not([type='hidden']),
.jm-board select,
.jm-board textarea {
    box-sizing: border-box;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #d4deea;
    border-radius: 5px;
    font: inherit;
}
.jm-board .field input,
.jm-board textarea {
    width: 100%;
}
.jm-board button,
.jm-board .btn {
    cursor: pointer;
    border: 1px solid #d4deea;
    border-radius: 5px;
    padding: 8px 12px;
    color: #2353a3;
    background: #f8fafc;
    font: inherit;
}
.jm-board [aria-current='page'] {
    background: #2563eb;
    color: #fff;
}
.jm-board [role='alert'] {
    padding: 12px;
    background: #fff1f1;
    color: #a72a2a;
}
.jm-board-answer {
    background: #f5f8fd;
    padding: 16px;
    margin: 24px 0;
}
.jm-comments {
    margin-top: 32px;
    border-top: 2px solid #d4deea;
}
.jm-comment {
    padding: 20px 16px;
    border-bottom: 1px solid #e0e6ef;
}
.jm-comment.is-reply {
    margin-left: 24px;
    background: #f6f8fa;
    border-left: 2px solid #e0e6ef;
}
.jm-comment details {
    display: inline-block;
    margin-left: 12px;
    font-size: 12px;
}
.jm-mention {
    color: #2563eb;
    font-weight: 600;
}
.jm-board summary {
    cursor: pointer;
}
@font-face {
    font-family: Pretendard;
    src: url('/assets/vendor/pretendard/Pretendard-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Pretendard;
    src: url('/assets/vendor/pretendard/Pretendard-SemiBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
}
.board-post-form [data-resource-list] {
    margin: 12px 0;
}
.board-post-form .board-file-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-top: 7px;
    padding: 7px;
    border: 1px dashed #cbd6e5;
    border-radius: 6px;
    background: #f8fafc;
}
.board-post-form .board-file-input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
}
.board-post-form .board-file-control:focus-within {
    outline: 2px solid #72a0f4;
    outline-offset: 2px;
}
.board-post-form .board-file-select {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #d8e2f0;
    border-radius: 5px;
    color: #29466e;
    background: #edf3fc;
    font: inherit;
}
.board-post-form .board-file-input:disabled {
    opacity: 0;
    cursor: not-allowed;
}
.board-post-form .board-file-control.is-disabled .board-file-select,
.board-post-form .board-file-control.is-disabled .board-file-name {
    opacity: 0.58;
}
.board-post-form .board-file-name {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #526783;
    font-size: 13px;
}
.board-attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
}
.board-attachment-item span {
    overflow-wrap: anywhere;
    min-width: 0;
}
.board-post-form [data-upload-status] {
    min-height: 1.5em;
}
@media (max-width: 600px) {
    .board-post-form .board-file-control {
        flex-wrap: wrap;
    }
    .board-post-form .board-file-name {
        flex-basis: 100%;
        padding: 0 4px 3px;
    }
}

[data-suneditor-wrap] {
    margin: 18px 0;
}
[data-suneditor-wrap] > label {
    display: block;
    margin-bottom: 8px;
    color: #405571;
    font-size: 13px;
    font-weight: 600;
}
[data-suneditor] .sun-editor {
    border-color: #dce4ef;
    border-radius: 8px;
    overflow: hidden;
}
[data-suneditor] .sun-editor-editable,
.jm-board-body.sun-editor-editable {
    --se-edit-line-height: 1.4;
    box-sizing: border-box;
    min-height: 220px;
    padding: 18px;
    color: #233853;
    font-family: Pretendard, system-ui, sans-serif;
    font-size: 16px;
    overflow-wrap: anywhere;
}
[data-suneditor-wrap] textarea[data-board-body]:not([hidden]) {
    width: 100%;
    min-height: 300px;
    font-family: ui-monospace, monospace;
}
.board-editor-status {
    min-height: 1.5em;
    color: #687b96;
    font-size: 12px;
}
