@charset "utf-8";

/* 디자이너 공통 규격: 해석 종류와 무관한 헤더·내비게이션. */
html body #header.ramp-common-header .ramp-header-glyph {
    display: inline-flex; flex: none; width: 28px; height: 28px;
    background: none;
}
html body #header.ramp-common-header .user-wrap .user-menu .main-menu > .menu-icon .ramp-header-glyph img,
html body #header.ramp-common-header .user-wrap .user-menu .user-menu-trigger .ramp-header-glyph img {
    display: block; flex: none; width: 28px; height: 28px;
    min-width: 28px; min-height: 28px; max-width: none; max-height: none;
    padding: 0; margin: 0; opacity: 1; object-fit: contain;
}
html body #header.ramp-common-header :is(.menu-icon,.user-menu-trigger):is(:hover,:focus-visible) .ramp-header-glyph img { filter: brightness(.9) sepia(1) saturate(6) hue-rotate(175deg); }
html body #header.ramp-common-header .user-wrap .user-menu .main-menu > .menu-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; min-width: 28px; height: 28px; padding: 0;
}
html body #header.ramp-common-header .user-menu-trigger { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 40px; padding: 0; }
html body #header.ramp-common-header .user-wrap .user-menu .main-menu > .menu-icon { background: transparent; border: 0; }
html body #header.ramp-common-header .user-wrap .user-menu > li { margin: 0; }
html body #header.ramp-common-header .user-wrap .user-menu > li.user-menu-item { margin-left: 8px; }
html body #header.ramp-common-header .user-wrap .user-menu { display: flex; align-items: center; gap: 8px; overflow: visible; }
/* Give every trigger the same line box; inline links otherwise add baseline space. */
html body #header.ramp-common-header .user-wrap .user-menu > :is(.main-menu,.user-menu-item) {
    display: flex; align-items: center; flex: none; height: 40px; padding: 0; line-height: 0;
}
html body #header.ramp-common-header .user-wrap .user-menu .user-menu-trigger {
    display: flex; align-items: center; height: 40px; padding: 0; line-height: 0;
}
html body #header.ramp-common-header .user-wrap .user-menu .user-menu-trigger > em {
    display: block; margin: 0 0 0 8px; padding: 0; font: 400 16px/20px Freesentation,sans-serif;
}
html body #header.ramp-common-header .user-menu > .main-menu > .sub-menu { display: none; }
html body #header.ramp-common-header .user-menu > .main-menu.on > .sub-menu { display: block; opacity: 1; visibility: visible; }
html body #header.ramp-common-header .user-menu .sub-menu a { display: block; color: inherit; white-space: nowrap; }
html body.ramp-common-result #header.ramp-common-header .logo-wrap .menu-title ul li.sub-menu { display: block; margin-left: 14px; color: #bdc2c9; font-size: 16px; font-weight: 300; }
html body #wrap .nav-bar.ramp-common-nav {
    display: flex; flex: 0 0 75px; flex-direction: column; justify-content: space-between;
    align-items: center; width: 75px; min-width: 75px; height: 100%; padding: 18px 0;
    border-right: 1px solid #e5eaf0; background: #fff; box-sizing: border-box; overflow-y: auto;
}
html body #wrap .ramp-common-nav .calc-menu { display: flex; flex-direction: column; flex: none; gap: 8px; width: 100%; padding: 0 6px; margin: 0; }
html body #wrap .ramp-common-nav .calc-menu > li { display: block; position: relative; flex: none; width: 100%; height: 64px; padding: 0; margin: 0; border-radius: 8px; background: transparent; }
html body #wrap .ramp-common-nav .calc-menu > li > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 64px; padding: 8px 0; color: #334052; font: 400 14px/18px Freesentation,sans-serif; }
html body #wrap .ramp-common-nav .calc-menu > li > a > div { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0; }
html body #wrap .ramp-common-nav .calc-menu > li > a > span { color: inherit; font: inherit; }
html body #wrap .ramp-common-nav .ramp-nav-glyph { display: inline-flex; flex: none; width: 24px; height: 24px; background: currentColor; mask: var(--ramp-icon) center / contain no-repeat; }
html body #wrap .ramp-common-nav .ramp-nav-glyph img { display: block; width: 24px; height: 24px; opacity: 0; }
html body #wrap .ramp-common-nav .calc-menu > li.on { background: #eaf3ff; }
html body #wrap .ramp-common-nav .calc-menu > li.on > a { color: #157cf4; }
html body #wrap .ramp-common-nav .calc-menu > li.on::after { content: ""; position: absolute; left: -6px; top: 20px; width: 3px; height: 24px; border-radius: 1.5px; background: #157cf4; transform: none; }
html body #wrap .ramp-common-nav .calc-menu > li:not(.on):hover { background: #f1f6fc; }
html body #wrap .ramp-common-nav .calc-menu > li:last-child { margin-top: 12px; }
html body #wrap .ramp-common-nav .calc-menu > li:last-child::before { width: 56px; left: 50%; transform: translateX(-50%); }
html body #wrap .ramp-common-nav .footer-menu { flex: none; margin-top: 20px; }
html body #wrap .ramp-common-nav .mobile-nav-title { display: none; }
@media (min-width: 1024px) {
    html body #header.ramp-common-header .user-wrap .user-menu > li.main-menu { display: flex; align-items: center; }
}
@media (max-width: 1023px) {
    html body #header.ramp-common-header .user-wrap .user-menu .user-menu-trigger > em { display: none; }
    html body.ramp-common-result #header.ramp-common-header .logo-wrap .menu-title ul li.sub-menu { display: none; }
    html body #wrap .nav-bar.ramp-common-nav { display: none; position: fixed; z-index: 1002; left: 0; top: 0; bottom: 0; width: 280px; min-width: 280px; height: 100dvh; padding: 20px 16px; transform: none; box-shadow: 4px 0 24px #0002; }
    html body #wrap .nav-bar.ramp-common-nav.mobile-on { display: flex; }
    html body #wrap .ramp-common-nav .mobile-nav-title { display: flex; flex: none; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 20px; color: #222b38; font-size: 18px; }
    html body #wrap .ramp-common-nav .calc-menu { flex: 1; gap: 4px; padding: 0; }
    html body #wrap .ramp-common-nav .calc-menu > li,
    html body #wrap .ramp-common-nav .calc-menu > li > a { height: 48px; }
    html body #wrap .ramp-common-nav .calc-menu > li > a { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 10px 14px; }
    html body #wrap .ramp-common-nav .calc-menu > li.on::after { left: -8px; top: 12px; }
    html body #wrap .mobile-nav-dim.on { display: block; position: fixed; inset: 0; z-index: 1001; background: #0005; }
}
