.jtb-bd-stage {
    width: 100%;
    min-width: 0;
    margin: 0;
    background: #f5f8fc;
}

#jtb-board {
    --bd-ink: #18283e;
    --bd-blue: #1563be;
    --bd-blue-hover: #104e97;
    --bd-soft: #edf5ff;
    --bd-muted: #506179;
    --bd-line: #d8e3f0;
    --bd-white: #fff;
    --bd-error: #a33142;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 36px;
    color: var(--bd-ink);
    font: 400 15px/1.55 "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
    letter-spacing: -.025em;
    text-align: left;
}

#jtb-board, #jtb-board *, #jtb-board *::before, #jtb-board *::after {
    box-sizing: border-box;
}

#jtb-board :is(div, nav, section, article, form, header, ul, li, p, h1, h2, h3, input, textarea, button, strong) {
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    text-align: inherit;
    letter-spacing: inherit;
}

#jtb-board :is(ul, li) {
    float: none;
    width: auto;
    height: auto;
    list-style: none;
}

#jtb-board a {
    color: inherit;
    text-decoration: none;
}

#jtb-board :is(a, button, input, textarea, summary, .jtb-bd-rich):focus-visible {
    outline: 2px solid var(--bd-blue);
    outline-offset: 2px;
}

#jtb-board .jtb-bd-body,
#jtb-board .jtb-bd-post-copy,
#jtb-board .jtb-bd-question-copy {
    min-width: 0;
}

#jtb-board .jtb-bd-menu {
    align-self: start;
    border: 1px solid var(--bd-line);
    border-radius: 11px;
    background: var(--bd-white);
}

#jtb-board .jtb-bd-menu-title {
    padding: 11px 14px;
    border-bottom: 1px solid var(--bd-line);
    border-radius: 10px 10px 0 0;
    background: #eaf2fc;
    font-size: 15px;
    font-weight: 650;
}

#jtb-board .jtb-bd-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
}

#jtb-board .jtb-bd-menu li {
    flex: 1 0 calc((100% - 8px) / 3);
    min-width: 0;
}

#jtb-board .jtb-bd-menu a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #364b65;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    word-break: keep-all;
}

#jtb-board .jtb-bd-menu a[aria-current] {
    border-color: #d9e8f8;
    background: var(--bd-soft);
    color: var(--bd-blue-hover);
    font-weight: 650;
}

#jtb-board .jtb-bd-heading {
    margin-bottom: 15px;
}

#jtb-board .jtb-bd-heading h1 {
    font-size: clamp(24px, 5.7vw, 31px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

#jtb-board .jtb-bd-heading p {
    margin-top: 6px;
    color: var(--bd-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

#jtb-board .jtb-bd-box,
#jtb-board .jtb-bd-posts,
#jtb-board .jtb-bd-faq {
    border: 1px solid var(--bd-line);
    border-radius: 11px;
    background: var(--bd-white);
}

#jtb-board .jtb-bd-button {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--bd-blue);
    border-radius: 7px;
    background: var(--bd-blue);
    color: var(--bd-white);
    font-size: 14px;
    font-weight: 620;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

#jtb-board .jtb-bd-secondary {
    border-color: #c6d7eb;
    background: var(--bd-white);
    color: var(--bd-blue-hover);
}

#jtb-board .jtb-bd-quiet {
    border-color: var(--bd-line);
    background: var(--bd-white);
    color: #40556e;
}

#jtb-board .jtb-bd-danger {
    border-color: #ad394c;
    background: #ad394c;
}

#jtb-board .jtb-bd-input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c6d7eb;
    border-radius: 7px;
    background: var(--bd-white);
    color: var(--bd-ink);
    font-size: 16px;
    line-height: 1.45;
    appearance: none;
    box-shadow: none;
}

#jtb-board .jtb-bd-input::placeholder {
    color: #667990;
    font-size: 14px;
}

#jtb-board .jtb-bd-toolbar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 12px;
}

#jtb-board .jtb-bd-search {
    display: grid;
    grid-template-columns: minmax(0, 240px) max-content;
    flex: 1;
    gap: 6px;
    min-width: 0;
}

#jtb-board .jtb-bd-filter-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 14px;
    margin: 0 0 9px;
    color: var(--bd-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

#jtb-board .jtb-bd-filter-summary a,
#jtb-board .jtb-bd-rich a {
    color: var(--bd-blue-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#jtb-board .jtb-bd-posts > li {
    border-bottom: 1px solid var(--bd-line);
}

#jtb-board .jtb-bd-posts > li:last-child {
    border-bottom: 0;
}

#jtb-board .jtb-bd-pinned {
    background: #f3f8ff;
}

#jtb-board .jtb-bd-pinned:first-child {
    border-radius: 10px 10px 0 0;
}

#jtb-board .jtb-bd-pinned:last-child {
    border-radius: 0 0 10px 10px;
}

#jtb-board .jtb-bd-pinned:only-child {
    border-radius: 10px;
}

#jtb-board .jtb-bd-post-link,
#jtb-board .jtb-bd-question summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

#jtb-board .jtb-bd-post-title,
#jtb-board .jtb-bd-question-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

#jtb-board .jtb-bd-post-title strong,
#jtb-board .jtb-bd-question strong {
    min-width: 0;
    max-width: 100%;
    font-size: 15px;
    font-weight: 610;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

#jtb-board .jtb-bd-tag {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 4px;
    background: #eff3f7;
    color: #465b74;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.55;
}

#jtb-board .jtb-bd-tag-blue {
    background: #e4effe;
    color: var(--bd-blue-hover);
}

#jtb-board .jtb-bd-new {
    color: var(--bd-blue-hover);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .015em;
}

#jtb-board .jtb-bd-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 10px;
    margin-top: 5px;
    color: var(--bd-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

#jtb-board .jtb-bd-chevron {
    display: block;
    width: 7px;
    height: 7px;
    border: solid #6b829f;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(-45deg);
}

#jtb-board .jtb-bd-empty,
#jtb-board .jtb-bd-message {
    padding: 22px 14px;
    color: var(--bd-muted);
    text-align: center;
}

#jtb-board .jtb-bd-message .jtb-bd-button {
    margin-top: 14px;
}

#jtb-board .jtb-bd-status {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #d5e6f9;
    border-radius: 7px;
    background: var(--bd-soft);
    color: var(--bd-blue-hover);
    font-size: 13px;
}

#jtb-board .jtb-bd-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 17px 0 0;
}

#jtb-board .jtb-bd-pages > * {
    display: grid;
    min-width: 36px;
    height: 40px;
    place-items: center;
    padding: 0 5px;
    border: 1px solid var(--bd-line);
    border-radius: 7px;
    background: var(--bd-white);
    font-size: 13px;
}

#jtb-board .jtb-bd-pages [aria-current] {
    border-color: var(--bd-blue);
    background: var(--bd-blue);
    color: var(--bd-white);
    font-weight: 650;
}

#jtb-board .jtb-bd-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}

#jtb-board .jtb-bd-filters a {
    display: grid;
    min-height: 40px;
    place-items: center;
    padding: 7px 11px;
    border: 1px solid var(--bd-line);
    border-radius: 7px;
    background: var(--bd-white);
    color: var(--bd-muted);
    font-size: 13px;
}

#jtb-board .jtb-bd-filters a[aria-current] {
    border-color: var(--bd-blue);
    background: var(--bd-blue);
    color: var(--bd-white);
    font-weight: 620;
}

#jtb-board .jtb-bd-question + .jtb-bd-question {
    border-top: 1px solid var(--bd-line);
}

#jtb-board .jtb-bd-question summary {
    list-style: none;
    cursor: pointer;
}

#jtb-board .jtb-bd-question summary::-webkit-details-marker {
    display: none;
}

#jtb-board .jtb-bd-question summary .jtb-bd-chevron {
    transform: rotate(45deg);
}

#jtb-board .jtb-bd-question[open] summary .jtb-bd-chevron {
    transform: rotate(225deg);
}

#jtb-board .jtb-bd-answer {
    padding: 14px;
    border-top: 1px solid var(--bd-line);
    background: #f5f9fe;
}

#jtb-board details:last-child .jtb-bd-answer {
    border-radius: 0 0 10px 10px;
}

#jtb-board .jtb-bd-article-head {
    padding: 17px 16px;
    border-bottom: 1px solid var(--bd-line);
}

#jtb-board .jtb-bd-article-head h2 {
    font-size: clamp(19px, 4.3vw, 24px);
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

#jtb-board .jtb-bd-article-content {
    min-height: 112px;
    padding: 19px 16px 26px;
}

#jtb-board .jtb-bd-rich {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

#jtb-board .jtb-bd-rich img {
    max-width: 100% !important;
    height: auto !important;
    vertical-align: middle;
}

#jtb-board .jtb-bd-rich :is(div, p, ul, ol, li, h1, h2, h3, h4, h5, h6, blockquote, pre) {
    width: auto;
    max-width: 100%;
    height: auto;
    line-height: inherit;
}

#jtb-board .jtb-bd-rich :is(p, ul, ol, blockquote, pre, table):not(:last-child) {
    margin-bottom: .8em;
}

#jtb-board .jtb-bd-rich :is(h1, h2, h3, h4, h5, h6, strong, b) {
    font-weight: 650;
}

#jtb-board .jtb-bd-rich :is(ul, ol) {
    padding-left: 1.4em;
}

#jtb-board .jtb-bd-rich ul li {
    list-style: disc;
}

#jtb-board .jtb-bd-rich ol li {
    list-style: decimal;
}

#jtb-board .jtb-bd-rich table {
    border-collapse: collapse;
}

#jtb-board .jtb-bd-rich :is(th, td) {
    padding: 7px 9px;
    border: 1px solid var(--bd-line);
    vertical-align: top;
}

#jtb-board .jtb-bd-rich th {
    background: #edf5ff;
}

#jtb-board .jtb-bd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

#jtb-board .jtb-bd-article-actions {
    justify-content: space-between;
    margin-top: 12px;
}

#jtb-board .jtb-bd-form,
#jtb-board .jtb-bd-rule-intro,
#jtb-board .jtb-bd-rule-detail {
    padding: 16px;
}

#jtb-board .jtb-bd-form {
    display: block;
    width: 100%;
}

#jtb-board .jtb-bd-password-form {
    max-width: 480px;
}

#jtb-board .jtb-bd-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

#jtb-board .jtb-bd-field {
    display: grid;
    min-width: 0;
    justify-items: start;
    gap: 5px;
    align-content: start;
}

#jtb-board .jtb-bd-field > label {
    font-size: 14px;
    font-weight: 620;
}

#jtb-board .jtb-bd-field > label > span {
    color: var(--bd-blue);
}

#jtb-board .jtb-bd-field small,
#jtb-board .jtb-bd-agreement small {
    color: var(--bd-muted);
    font-size: 12px;
    font-weight: 400;
}

#jtb-board .jtb-bd-full {
    grid-column: 1 / -1;
}

#jtb-board .jtb-bd-textarea {
    min-height: 160px;
    resize: vertical;
}

#jtb-board .jtb-bd-privacy-choice {
    align-content: center;
    min-height: 54px;
}

#jtb-board .jtb-bd-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

#jtb-board .jtb-bd-checkbox input {
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    accent-color: var(--bd-blue);
    appearance: auto;
}

#jtb-board .jtb-bd-agreement {
    display: grid;
    gap: 8px;
    margin: 17px 0 0;
    padding: 12px;
    border: 1px solid var(--bd-line);
    border-radius: 7px;
    background: #f5f9fe;
}

#jtb-board .jtb-bd-agreement summary,
#jtb-board .jtb-bd-original summary {
    color: var(--bd-blue-hover);
    font-size: 13px;
    cursor: pointer;
    overflow-wrap: anywhere;
}

#jtb-board .jtb-bd-agreement .jtb-bd-rich {
    margin-top: 8px;
    color: var(--bd-muted);
    font-size: 13px;
}

#jtb-board .jtb-bd-privacy-text {
    white-space: pre-line;
}

#jtb-board .jtb-bd-form-actions {
    display: grid;
    grid-template-columns: minmax(72px, 1fr) minmax(0, 2fr);
    margin-top: 16px;
}

#jtb-board .jtb-bd-original {
    margin-bottom: 12px;
    padding: 11px 14px;
}

#jtb-board .jtb-bd-original summary span {
    margin-left: 6px;
    color: var(--bd-muted);
}

#jtb-board .jtb-bd-original .jtb-bd-rich {
    margin-top: 10px;
}

#jtb-board .jtb-bd-error {
    color: var(--bd-error);
    font-size: 13px;
}

#jtb-board .jtb-bd-input[aria-invalid] {
    border-color: var(--bd-error);
}

#jtb-board .jtb-bd-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#jtb-board .jtb-bd-rules a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 9px;
    gap: 8px;
    align-items: center;
    min-height: 91px;
    padding: 11px;
    border: 1px solid var(--bd-line);
    border-radius: 9px;
    background: var(--bd-white);
}

#jtb-board .jtb-bd-rule-icon {
    display: grid;
    grid-column: 1 / -1;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 7px;
    background: var(--bd-soft);
    color: var(--bd-blue);
}

#jtb-board .jtb-bd-rule-icon svg {
    display: block;
    width: 21px;
    height: 21px;
}

#jtb-board .jtb-bd-rules strong {
    min-width: 0;
    font-size: 13px;
    font-weight: 610;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

#jtb-board .jtb-bd-rule-intro {
    margin-bottom: 12px;
}

#jtb-board .jtb-bd-rule-detail {
    margin-top: 12px;
    scroll-margin-top: 94px;
}

#jtb-board :is(.jtb-bd-rule-intro, .jtb-bd-rule-detail) h2 {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 650;
}

#jtb-board .jtb-bd-dialog {
    width: min(600px, calc(100% - 32px));
    max-width: none;
    max-height: min(80vh, 660px);
    padding: 0;
    border: 1px solid var(--bd-line);
    border-radius: 12px;
    background: var(--bd-white);
    color: var(--bd-ink);
    overflow: auto;
}

#jtb-board .jtb-bd-dialog:not([open]) {
    display: none;
}

#jtb-board .jtb-bd-dialog::backdrop {
    background: rgba(12, 28, 49, .57);
}

#jtb-board .jtb-bd-dialog header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px 8px 16px;
    border-bottom: 1px solid var(--bd-line);
    background: var(--bd-white);
}

#jtb-board .jtb-bd-dialog h2 {
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
}

#jtb-board .jtb-bd-dialog-close {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--bd-line);
    border-radius: 7px;
    background: var(--bd-white);
    color: var(--bd-blue-hover);
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

#jtb-board .jtb-bd-dialog-content {
    padding: 14px 16px 20px;
}

#jtb-board .jtb-bd-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.jtb-bd-stage ~ .footerarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 16px 20px;
    color: #dde5f0;
    background: #1c2636;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.jtb-bd-stage ~ .footerarea :is(.menu_1, .copyarea_new) {
    box-sizing: border-box;
    width: min(1120px, 100%);
    height: auto;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    list-style: none;
}

.jtb-bd-stage ~ .footerarea .menu_1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid #405069;
}

.jtb-bd-stage ~ .footerarea :is(.menu_1, .copyarea_new) li {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: left;
}

.jtb-bd-stage ~ .footerarea .menu_1 a {
    display: inline-flex;
    width: auto;
    min-height: 36px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

@media (min-width: 620px) {
    #jtb-board .jtb-bd-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    #jtb-board .jtb-bd-rules {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    #jtb-board .jtb-bd-form-actions {
        grid-template-columns: 100px minmax(130px, max-content);
        justify-content: end;
    }
}

@media (min-width: 860px) {
    #jtb-board {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 24px;
        padding: 34px 0 46px;
    }

    #jtb-board .jtb-bd-menu-title {
        padding: 14px 16px;
        font-size: 16px;
    }

    #jtb-board .jtb-bd-menu ul {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        padding: 7px;
    }

    #jtb-board .jtb-bd-menu a {
        justify-content: flex-start;
        padding: 8px 11px;
        font-size: 14px;
        text-align: left;
    }

    #jtb-board .jtb-bd-heading {
        margin-bottom: 17px;
    }

    #jtb-board .jtb-bd-post-link,
    #jtb-board .jtb-bd-question summary,
    #jtb-board .jtb-bd-answer {
        padding: 15px 18px;
    }

    #jtb-board .jtb-bd-article-head,
    #jtb-board .jtb-bd-article-content,
    #jtb-board .jtb-bd-form {
        padding: 22px;
    }

    #jtb-board .jtb-bd-rules a {
        padding: 14px;
    }
}

@media (hover: hover) {
    #jtb-board .jtb-bd-post-link:hover,
    #jtb-board .jtb-bd-question summary:hover,
    #jtb-board .jtb-bd-menu a:hover,
    #jtb-board .jtb-bd-secondary:hover,
    #jtb-board .jtb-bd-quiet:hover,
    #jtb-board .jtb-bd-rules a:hover {
        background: #f1f6fd;
    }

    #jtb-board .jtb-bd-button:not(.jtb-bd-secondary, .jtb-bd-quiet, .jtb-bd-danger):hover {
        background: var(--bd-blue-hover);
    }
}
