#jtb-policy-popup {
    position: fixed;
    z-index: 110000;
    inset: 0;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 12px;
    color: #182338;
    background: rgba(14, 29, 48, .48);
    font: 400 14px/1.65 "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
    letter-spacing: -.02em;
    text-align: left;
}

#jtb-policy-popup[hidden] {
    display: none !important;
}

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

#jtb-policy-popup .jtb-policy-panel {
    display: flex;
    width: min(100%, 660px);
    min-width: 0;
    max-height: min(720px, calc(100vh - 24px));
    max-height: min(720px, calc(100dvh - 24px));
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(24, 35, 56, .22);
    font: inherit;
}

#jtb-policy-popup .jtb-policy-heading {
    display: flex;
    min-width: 0;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 7px 12px 7px 16px;
    border-bottom: 1px solid #dce5f0;
    background: #f6f9ff;
}

#jtb-policy-popup .jtb-policy-heading h2 {
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #182338;
    font: 660 18px/1.35 "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
    overflow-wrap: anywhere;
}

#jtb-policy-popup .jtb-policy-close {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    appearance: none;
    color: #234b78;
    background: #eaf2fb;
    cursor: pointer;
}

#jtb-policy-popup .jtb-policy-close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

#jtb-policy-popup .jtb-policy-body {
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: clamp(13px, 4vw, 20px);
    overflow: auto;
    overscroll-behavior: contain;
    font: inherit;
}

#jtb-policy-popup .jtb-policy-content,
#jtb-policy-popup .jtb-policy-content div {
    max-width: 100%;
    margin: 0;
    font: inherit;
    overflow-wrap: anywhere;
}

#jtb-policy-popup .jtb-policy-content p {
    margin: 0 0 .75em;
}

#jtb-policy-popup .jtb-policy-content :is(ul, ol) {
    margin: 0 0 .8em;
    padding-left: 1.25em;
    list-style: revert;
}

#jtb-policy-popup .jtb-policy-content table {
    max-width: 100%;
    margin: 0 0 .8em;
    border-collapse: collapse;
}

#jtb-policy-popup .jtb-policy-content :is(th, td) {
    min-width: 0;
    padding: 6px;
    border: 1px solid #dce5f0;
    font: inherit;
    overflow-wrap: anywhere;
}

#jtb-policy-popup .jtb-policy-content img {
    max-width: 100%;
    height: auto;
}

#jtb-policy-popup .jtb-policy-content a[href] {
    color: #104e97;
    text-decoration: underline;
}

#jtb-policy-popup .jtb-policy-status {
    margin: 4px 0;
    color: #506179;
}

#jtb-policy-popup .jtb-policy-retry {
    min-height: 44px;
    margin: 10px 0 0;
    padding: 7px 13px;
    border: 1px solid #b8cde6;
    border-radius: 7px;
    appearance: none;
    color: #104e97;
    background: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

#jtb-policy-popup :is(a, button, [tabindex]):focus-visible {
    outline: 2px solid #246ec8;
    outline-offset: 2px;
}
