.rara-umh-header,
.rara-umh-layer {
    display: none;
}

@media (max-width: 760px) {
    html body > header.rara-legacy-main-header,
    html body #raraPlatformHeader,
    html body #raraMobileOverlay,
    html body #raraMobileMenu {
        display: none !important;
    }

    html body .rara-umh-header,
    html body .rara-umh-header *,
    html body .rara-umh-layer,
    html body .rara-umh-layer * {
        box-sizing: border-box;
        font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    html body .rara-umh-header .material-symbols-rounded,
    html body .rara-umh-layer .material-symbols-rounded {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1em;
        height: 1em;
        overflow: hidden;
        font-family: "Material Symbols Rounded" !important;
        font-style: normal;
        font-weight: 400 !important;
        font-feature-settings: "liga";
        font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
        letter-spacing: normal;
        line-height: 1;
        text-transform: none;
        white-space: nowrap;
    }

    html body .rara-umh-header {
        position: sticky;
        z-index: 100002;
        top: 0;
        display: block !important;
        width: 100%;
        margin: 0;
        padding: env(safe-area-inset-top) 0 0;
        border: 0;
        border-bottom: 1px solid #eceef2;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
        backdrop-filter: blur(12px);
    }

    html body .rara-umh-inner {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 72px;
        margin: 0;
        padding: 0 12px 0 18px;
    }

    html body .rara-umh-brand {
        display: block;
        min-width: 0;
        max-width: 100%;
        margin: 0 12px 0 0;
        overflow: hidden;
        flex: 1 1 auto;
        color: #101828;
        font-size: 22px;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: -0.035em;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html body .rara-umh-brand--medium {
        font-size: 18px;
    }

    html body .rara-umh-brand--long {
        font-size: 16px;
    }

    html body .rara-umh-brand--xlong {
        font-size: 14px;
    }

    html body .rara-umh-toggle,
    html body .rara-umh-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #101828;
        cursor: pointer;
    }

    html body .rara-umh-toggle {
        width: 52px;
        height: 52px;
        border-radius: 15px;
    }

    html body .rara-umh-toggle .material-symbols-rounded {
        width: 26px;
        height: 26px;
        font-size: 26px !important;
    }

    html body .rara-umh-toggle[aria-expanded="true"] {
        border-color: transparent;
        background: transparent;
        color: #101828;
    }

    html body .rara-umh-toggle:focus-visible,
    html body .rara-umh-close:focus-visible,
    html body .rara-umh-panel a:focus-visible,
    html body .rara-umh-panel summary:focus-visible {
        outline: 3px solid rgba(47, 107, 255, 0.24);
        outline-offset: 2px;
    }

    html body .rara-umh-toggle:focus-visible,
    html body .rara-umh-close:focus-visible {
        outline: 0;
    }

    html body .rara-umh-layer {
        position: fixed;
        z-index: 100001;
        inset: 0;
        display: block !important;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
    }

    html body .rara-umh-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(16, 24, 40, 0.36);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    html body .rara-umh-panel {
        position: absolute;
        top: calc(72px + env(safe-area-inset-top));
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: none;
        margin: 0;
        padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
        overflow: auto;
        overscroll-behavior: contain;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
        opacity: 0;
        transform: translateY(-8px);
        transform-origin: top center;
        transition: opacity 0.2s ease, transform 0.2s ease;
        -webkit-overflow-scrolling: touch;
    }

    html body.rara-umh-open {
        overflow: hidden !important;
    }

    html body.rara-umh-open .rara-umh-layer {
        visibility: visible;
        pointer-events: auto;
    }

    html body.rara-umh-open .rara-umh-backdrop,
    html body.rara-umh-open .rara-umh-panel {
        opacity: 1;
    }

    html body.rara-umh-open .rara-umh-panel {
        transform: translateY(0);
    }

    html body .rara-umh-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        margin: -4px 0 8px;
        padding-left: 5px;
    }

    html body .rara-umh-panel-head strong {
        color: #101828;
        font-size: 17px;
        font-weight: 600;
        letter-spacing: -0.025em;
    }

    html body .rara-umh-close {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    html body .rara-umh-close .material-symbols-rounded {
        font-size: 24px !important;
    }

    html body .rara-umh-panel .rara-umh-close {
        display: none;
    }

    html body .rara-umh-write {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 50px;
        margin: 0 0 10px;
        padding: 0 16px;
        border-radius: 12px;
        background: #101828;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }

    html body .rara-umh-write .material-symbols-rounded {
        font-size: 20px !important;
    }

    html body .rara-umh-group {
        margin: 0;
        padding: 0;
        border: 0;
        border-top: 1px solid #eaecf0;
    }

    html body .rara-umh-group > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 50px;
        margin: 0;
        padding: 0 5px;
        color: #344054;
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
        list-style: none;
    }

    html body .rara-umh-group > summary::-webkit-details-marker {
        display: none;
    }

    html body .rara-umh-group > summary > .material-symbols-rounded {
        color: #98a2b3;
        font-size: 20px !important;
        transition: transform 0.18s ease;
    }

    html body .rara-umh-group[open] > summary > .material-symbols-rounded {
        transform: rotate(180deg);
    }

    html body .rara-umh-company-group > summary > a {
        min-width: 0;
        overflow: hidden;
        color: inherit;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html body .rara-umh-links,
    html body .rara-umh-public-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0 0 12px;
    }

    html body .rara-umh-links a,
    html body .rara-umh-public-links a {
        display: flex;
        align-items: center;
        min-width: 0;
        min-height: 46px;
        gap: 8px;
        margin: 0;
        padding: 0 11px;
        border: 1px solid #eaecf0;
        border-radius: 11px;
        background: #f8fafc;
        color: #344054;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.35;
        text-decoration: none;
    }

    html body .rara-umh-links a > span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html body .rara-umh-links a .material-symbols-rounded {
        flex: 0 0 auto;
        color: #667085;
        font-size: 19px !important;
    }

    html body .rara-umh-links a:active,
    html body .rara-umh-public-links a:active,
    html body .rara-umh-public-links a.is-active {
        border-color: #b9ccff;
        background: #edf3ff;
        color: #175cd3;
    }

    html body .rara-umh-links a.rara-umh-logout {
        color: #d92d20;
    }

    html body .rara-umh-auth-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 8px;
    }

    html body .rara-umh-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        gap: 8px;
        margin: 8px 0 0;
        padding: 0 14px;
        border: 1px solid #e4e7ec;
        border-radius: 11px;
        background: #f8fafc;
        color: #101828;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }

    html body .rara-umh-phone .material-symbols-rounded {
        color: #667085;
        font-size: 20px !important;
    }

    html body .rara-umh-auth-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0 12px;
        border: 1px solid #dfe3e8;
        border-radius: 11px;
        background: #fff;
        color: #344054;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }

    html body .rara-umh-auth-links a.is-primary {
        border-color: #101828;
        background: #101828;
        color: #fff;
    }

    html body .rara-umh-company-section {
        margin-top: 12px;
        padding-top: 2px;
        border-top: 2px solid #eaecf0;
    }
}

@media (max-width: 360px) {
    html body .rara-umh-inner {
        padding-right: 10px;
        padding-left: 14px;
    }

    html body .rara-umh-brand {
        margin-right: 8px;
        font-size: 19px;
    }

    html body .rara-umh-brand--medium {
        font-size: 16px;
    }

    html body .rara-umh-brand--long,
    html body .rara-umh-brand--xlong {
        font-size: 14px;
    }

    html body .rara-umh-toggle {
        width: 50px;
        height: 50px;
    }

    html body .rara-umh-links,
    html body .rara-umh-public-links {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rara-umh-backdrop,
    .rara-umh-panel,
    .rara-umh-group > summary > .material-symbols-rounded {
        transition: none !important;
    }
}
