/* 두 서브 서비스는 원본 공통 토큰과 기본 문서 규칙을 함께 사용합니다. */
:root {
    --aside-footer-min-height: 144px;
    --aside-footer-padding: 24px;
}
@media (max-width: 760px) {
    :root {
        --aside-footer-min-height: 176px;
    }
}
html {
    color-scheme: light;
}
body {
    margin: 0;
    color: var(--ref-ink);
    background: var(--k-bg-white);
    font-family: var(--k-font-primary), sans-serif;
}
/* 두 서비스에서 같은 상단 안내 띠를 사용합니다. */
.demo-strip {
    display: flex;
    justify-content: space-between;
    padding: 8px 48px;
    background: var(--ref-ink);
    color: var(--k-bg-white);
    font: 10px/1.8 "Courier New", "Malgun Gothic", monospace;
    letter-spacing: .09em;
}
.demo-strip a,
.lost-site .demo-strip a {
    color: inherit;
    text-decoration: none;
}
@media (max-width: 1023.98px) {
    .demo-strip {
        height: 34px;
        flex-shrink: 0;
        padding: 0 32px;
    }
    .demo-strip a {
        display: inline-flex;
        align-items: center;
        min-width: 44px;
        min-height: 34px;
    }
}
@media (max-width: 720.98px) {
    .demo-strip {
        justify-content: center;
        padding-right: 20px;
        padding-left: 20px;
    }
    .demo-strip > span {
        display: none;
    }
}
/* 연구소의 서비스명·저작권·연결 메뉴 구성을 모든 서비스에서 공유합니다. */
.site-footer {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 1472px;
    min-height: var(--aside-footer-min-height);
    margin: 0 auto;
    padding: var(--aside-footer-padding) 48px;
    border-top: 1px solid var(--ref-ink);
    color: var(--ref-ink);
    font: 16px/1.65 "Pretendard", Arial, "Malgun Gothic", sans-serif;
}
.site-footer a {
    color: inherit;
    text-decoration: none;
}
.site-footer .footer-top,
.site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-footer .footer-brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.05em;
}
.site-footer .footer-bottom {
    color: var(--k-text-gray);
    font: 10px/1.6 "Courier New", "Malgun Gothic", monospace;
}
.site-footer .footer-bottom a {
    color: inherit;
}
.site-footer .footer-bottom nav {
    display: flex;
    gap: 20px;
    font: 11px/1.6 "Pretendard", Arial, "Malgun Gothic", sans-serif;
}
@media (max-width: 1023.98px) {
    .site-footer {
        padding-right: 32px;
        padding-left: 32px;
    }
    .site-footer nav a {
        display: inline-flex;
        align-items: center;
        min-width: 44px;
        min-height: 44px;
    }
}
@media (max-width: 720.98px) {
    .site-footer {
        padding-right: 20px;
        padding-left: 20px;
    }
    .site-footer .footer-top,
    .site-footer .footer-bottom {
        display: block;
    }
    .site-footer .footer-brand {
        display: inline-block;
        font-size: 12px;
    }
    .site-footer .footer-bottom nav {
        flex-wrap: wrap;
        gap: 18px;
        margin-top: 16px;
    }
}
[hidden] {
    display: none !important;
}
.aside-error {
    max-width: 640px;
    margin: 80px auto;
    padding: 24px;
}
.aside-error a {
    display: inline-block;
    margin: 12px 20px 12px 0;
    color: inherit;
}
