:root {
    --imh-paper: #ffffff;
    --imh-graphite: #17191f;
    --imh-blue: #2864dc;
    --imh-blue-dark: #1947aa;
    --imh-yellow: #ffd633;
    --imh-yellow-soft: #fff8d8;
    --imh-mist: #f5f7fa;
    --imh-canvas: #eceff3;
    --imh-sage: #247b68;
    --imh-muted: #697181;
    --imh-line: #e8eaee;
    --imh-danger: #c43232;
    --imh-radius-sm: 12px;
    --imh-radius-md: 18px;
    --imh-radius-lg: 24px;
    --imh-safe-top: env(safe-area-inset-top, 0px);
    --imh-safe-bottom: env(safe-area-inset-bottom, 0px);
    --imh-page-gutter: 18px;
    --imh-topbar-height: 54px;
    --imh-service-nav-height: 0px;
    --imh-bottom-nav-height: 60px;
    --imh-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    min-width: 0;
    background: var(--imh-canvas);
    color-scheme: light;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--imh-topbar-height) + var(--imh-service-nav-height) + var(--imh-safe-top));
    scroll-padding-bottom: calc(var(--imh-bottom-nav-height) + var(--imh-safe-bottom));
    scroll-snap-type: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.is-mobile-home,
body.is-mobile-home * {
    box-sizing: border-box;
}

body.is-mobile-home {
    min-width: 0;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--imh-canvas);
    color: var(--imh-graphite);
    font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont,
        "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-mobile-home.imh-scroll-locked {
    position: fixed;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

:where(body.is-mobile-home) :where(a, button, input, textarea, select) {
    font: inherit;
}

:where(body.is-mobile-home) :where(button, input, textarea, select) {
    color: inherit;
}

:where(body.is-mobile-home) :where(button, [type="button"], [type="submit"]) {
    border: 0;
    cursor: pointer;
}

:where(body.is-mobile-home) :where(a) {
    color: inherit;
    text-decoration: none;
}

body.is-mobile-home img,
body.is-mobile-home svg {
    display: block;
    max-width: 100%;
}

body.is-mobile-home :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.is-mobile-home :where(h1, h2, h3, h4, p, figure) {
    margin: 0;
}

body.is-mobile-home :where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid rgba(36, 87, 214, 0.34);
    outline-offset: 3px;
}

body.is-mobile-home [hidden] {
    display: none !important;
}

.imh-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.imh-svg {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

.imh-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.imh-app {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding-bottom: calc(var(--imh-bottom-nav-height) + var(--imh-safe-bottom) + 20px);
    overflow-x: clip;
    background: var(--imh-paper);
}

.imh-topbar {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(var(--imh-topbar-height) + var(--imh-safe-top));
    padding: var(--imh-safe-top) var(--imh-page-gutter) 0;
    border-bottom: 1px solid rgba(232, 234, 238, 0.88);
    background: rgba(255, 255, 255, 0.96);
}

@supports (backdrop-filter: blur(12px)) {
    .imh-topbar,
    .imh-service-nav,
    .imh-bottom-nav {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: saturate(160%) blur(16px);
        -webkit-backdrop-filter: saturate(160%) blur(16px);
    }
}

.imh-brand {
    display: inline-flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    color: var(--imh-graphite);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.imh-brand img {
    width: auto;
    max-width: 148px;
    height: 28px;
    object-fit: contain;
}

.imh-brand-mark {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: var(--imh-yellow);
    color: var(--imh-graphite);
    font-size: 15px;
    font-weight: 900;
}

.imh-brand-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: var(--imh-yellow);
    color: var(--imh-graphite);
}

.imh-brand-icon svg {
    width: 17px;
    height: 17px;
}

.imh-top-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0;
}

.imh-icon-button {
    display: inline-grid;
    width: 42px;
    min-width: 42px;
    height: 44px;
    padding: 0;
    place-items: center;
    border-radius: 12px;
    background: transparent;
    color: var(--imh-graphite);
    -webkit-tap-highlight-color: transparent;
}

.imh-icon-button :where(svg, img) {
    width: 22px;
    height: 22px;
}

.imh-service-nav {
    display: none;
    position: sticky;
    z-index: 39;
    top: calc(var(--imh-topbar-height) + var(--imh-safe-top));
    min-height: var(--imh-service-nav-height);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid var(--imh-line);
    background: rgba(255, 255, 255, 0.96);
}

.imh-service-nav__item {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: var(--imh-service-nav-height);
    place-items: center;
    padding: 0 4px;
    color: #667085;
    font-size: 14px;
    font-weight: 550;
    letter-spacing: -0.03em;
    -webkit-tap-highlight-color: transparent;
}

.imh-service-nav__item::after {
    position: absolute;
    right: 24%;
    bottom: -1px;
    left: 24%;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: transparent;
    content: "";
}

.imh-service-nav__item.is-active {
    color: var(--imh-graphite);
    font-weight: 700;
}

.imh-service-nav__item.is-active::after {
    background: var(--imh-blue);
}

.imh-search-section {
    position: relative;
    padding: 11px var(--imh-page-gutter) 12px;
    background: #fff;
    scroll-margin-top: calc(var(--imh-topbar-height) + var(--imh-service-nav-height) + var(--imh-safe-top));
}

.imh-search-copy {
    margin-bottom: 9px;
}

.imh-search-copy > span {
    display: none;
}

.imh-search-section h1,
.imh-search-title {
    max-width: 390px;
    margin: 0;
    font-size: clamp(19px, 5.2vw, 23px);
    font-weight: 850;
    line-height: 1.32;
    letter-spacing: -0.045em;
}

.imh-search-section h1 strong,
.imh-search-title strong {
    color: var(--imh-blue);
    font-weight: inherit;
}

.imh-search-form {
    position: relative;
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 6px;
    padding: 4px 5px 4px 17px;
    border: 2px solid #252932;
    border-radius: 22px;
    background: var(--imh-paper);
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.imh-search-form .search-suggestions {
    top: calc(100% + 7px);
    max-height: min(320px, 46vh);
    border: 1px solid var(--imh-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.13);
}

.imh-search-input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--imh-graphite);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

body.is-mobile-home .imh-search-input:focus,
body.is-mobile-home .imh-search-input:focus-visible {
    outline: 0;
    box-shadow: none;
}

.imh-search-input::placeholder {
    color: #7c8492;
    font-weight: 500;
    opacity: 1;
}

.imh-search-input::-webkit-search-cancel-button {
    width: 18px;
    height: 18px;
    margin-right: 2px;
}

.imh-search-submit {
    display: inline-grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    background: var(--imh-yellow);
    color: var(--imh-graphite);
    box-shadow: none;
    transition: background-color 160ms ease, transform 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.imh-search-submit :where(svg, img) {
    width: 21px;
    height: 21px;
}

.imh-ad-section {
    position: relative;
    padding: 0 var(--imh-page-gutter) 10px;
}

.imh-ad-meta {
    display: flex;
    min-height: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
    color: #7a8290;
    font-size: 10px;
    font-weight: 550;
    letter-spacing: -0.02em;
}

.imh-ad-meta > span:first-child {
    display: inline-flex;
    min-width: 23px;
    height: 15px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9dde4;
    border-radius: 4px;
    background: #fff;
    color: #687180;
    font-size: 9px;
    letter-spacing: 0;
}

.imh-ad-review {
    position: relative;
    z-index: 8;
}

.imh-ad-review summary {
    min-height: 20px;
    padding: 3px 0 3px 8px;
    cursor: pointer;
    list-style: none;
    color: #7a8290;
}

.imh-ad-review summary::-webkit-details-marker {
    display: none;
}

.imh-ad-review-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    right: 0;
    width: min(326px, calc(100vw - (var(--imh-page-gutter) * 2)));
    padding: 11px 12px;
    border: 1px solid #dfe3e9;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 30px rgba(23, 25, 31, 0.14);
}

.imh-ad-review-panel p {
    color: #596170;
    font-size: 9.5px;
    font-weight: 450;
    line-height: 1.55;
    word-break: keep-all;
}

.imh-ad-review-panel p + p {
    margin-top: 4px;
}

.imh-direct-ad {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 108px;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 40%);
    overflow: hidden;
    border: 1px solid #e5e9ef;
    border-radius: 17px;
    background: #f4f7fb;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.imh-ad-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 0 12px 15px;
}

.imh-ad-copy > em {
    color: var(--imh-blue);
    font-size: 10.5px;
    font-style: normal;
    font-weight: 620;
    letter-spacing: -0.02em;
}

.imh-ad-copy > strong {
    display: block;
    margin-top: 2px;
    font-size: clamp(16px, 4.4vw, 18px);
    font-weight: 650;
    line-height: 1.28;
    letter-spacing: -0.045em;
    word-break: keep-all;
}

.imh-ad-copy > small {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    color: #646d7b;
    font-size: 11px;
    font-weight: 450;
    line-height: 1.4;
    letter-spacing: -0.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-ad-copy > b {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    gap: 3px;
    margin-top: 5px;
    color: var(--imh-blue-dark);
    font-size: 11px;
    font-weight: 620;
}

.imh-ad-copy > b svg {
    width: 13px;
    height: 13px;
}

.imh-ad-car {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.imh-ad-car img {
    width: 150%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translateX(-3px);
}

.imh-core-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 var(--imh-page-gutter) 10px;
    border-top: 1px solid var(--imh-line);
    border-bottom: 1px solid var(--imh-line);
    background: #fff;
}

.imh-core-actions > a {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 74px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    text-align: center;
}

.imh-core-actions > a + a {
    border-left: 1px solid var(--imh-line);
}

.imh-core-actions > a > svg:last-child {
    display: none;
}

.imh-core-actions > a > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0;
}

.imh-core-actions em {
    color: #858d9a;
    font-size: 9.5px;
    font-style: normal;
    font-weight: 500;
}

.imh-ready-badge {
    display: inline-flex;
    min-height: 16px;
    align-items: center;
    margin-left: 3px;
    padding: 1px 5px;
    border-radius: 999px;
    background: #eef2f7;
    color: #667085;
    font-size: 9px;
    font-weight: 650;
    line-height: 1;
    vertical-align: 1px;
}

.imh-core-actions strong {
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.imh-core-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: var(--imh-yellow-soft);
    color: #3d392b;
}

.imh-core-actions > a:nth-child(2) .imh-core-icon {
    background: #edf3ff;
    color: var(--imh-blue);
}

.imh-core-actions > a:nth-child(3) .imh-core-icon {
    background: #eef8f5;
    color: var(--imh-sage);
}

.imh-core-icon svg {
    width: 17px;
    height: 17px;
}

.imh-quick-section {
    padding: 22px var(--imh-page-gutter) 24px;
    border-top: 8px solid #f2f4f7;
    background: #fff;
}

.imh-quick-section h2,
.imh-quick-title {
    margin: 0;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.04em;
}

.imh-quick-section .imh-section-head--compact {
    min-height: 24px;
    margin-bottom: 8px;
}

.imh-section-head--compact h2 {
    font-size: 17px;
}

.imh-scroll-hint,
.imh-service-count {
    color: #8a93a3;
    font-size: 10.5px;
    font-weight: 650;
    white-space: nowrap;
}

.imh-card-rail {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

.imh-card-rail::-webkit-scrollbar {
    display: none;
}

.imh-quick-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 8px;
    overflow: visible;
    padding: 0;
}

.imh-quick-link {
    display: flex;
    min-width: 0;
    min-height: 84px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 0 2px;
    color: #344054;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.imh-bottom-item > span:last-child {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
}

.imh-quick-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    background: #fff;
    color: var(--imh-blue);
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.imh-quick-icon :where(svg, img) {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.imh-quick-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.imh-quick-copy em {
    overflow: hidden;
    max-width: 100%;
    color: #8a93a3;
    font-size: 9px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imh-quick-copy strong {
    color: #344054;
    font-size: 11.5px;
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.imh-quick-link[data-tone="clay"] .imh-quick-icon {
    border-color: #f0ded2;
    background: #fff3ec;
    color: #a5552f;
}

.imh-quick-link[data-tone="blue"] .imh-quick-icon {
    border-color: #dbe5f6;
    background: #edf3ff;
    color: var(--imh-blue);
}

.imh-quick-link[data-tone="sage"] .imh-quick-icon {
    border-color: #dcebe4;
    background: #edf8f4;
    color: var(--imh-sage);
}

.imh-quick-link[data-tone="sand"] .imh-quick-icon {
    border-color: #eee1bd;
    background: #fff7e4;
    color: #8a6417;
}

.imh-quick-link[data-tone="graphite"] .imh-quick-icon {
    border-color: #dde1e7;
    background: #eff1f4;
    color: #4b5565;
}

.imh-feed {
    min-width: 0;
    padding: 0 var(--imh-page-gutter);
    border-top: 9px solid #f2f4f7;
    background: #fff;
}

.imh-quick-section[data-page-section],
.imh-section[data-page-section] {
    scroll-margin-top: 10px;
}

.imh-section {
    min-width: 0;
    padding: 25px 0 27px;
    border-bottom: 1px solid var(--imh-line);
    scroll-margin-top: calc(var(--imh-topbar-height) + var(--imh-service-nav-height) + var(--imh-safe-top) + 12px);
}

.imh-section:last-child {
    border-bottom: 0;
}

.imh-section--soft {
    margin-inline: calc(var(--imh-page-gutter) * -1);
    padding-inline: var(--imh-page-gutter);
    background: #f8fafc;
}

.imh-section-head {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.imh-section-head h2,
.imh-section-title {
    color: var(--imh-graphite);
    font-size: 21px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.05em;
}

.imh-section-more,
.imh-section-head > a,
.imh-text-link {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    gap: 3px;
    margin: -6px -7px -6px 0;
    padding: 6px 7px;
    color: #737b89;
    font-size: 12.5px;
    font-weight: 550;
}

.imh-text-link svg {
    width: 15px;
    height: 15px;
}

.imh-kicker,
.imh-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--imh-sage);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.imh-meta {
    color: var(--imh-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.imh-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--imh-blue);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.imh-lead-story {
    display: block;
    min-width: 0;
    margin-bottom: 15px;
    color: var(--imh-graphite);
}

.imh-lead-story > :where(img, picture),
.imh-lead-story .imh-story-image,
.imh-lead-visual {
    display: block;
    width: 100%;
    margin-bottom: 11px;
    overflow: hidden;
    border: 1px solid #eceef2;
    border-radius: 15px;
    background: var(--imh-mist);
    aspect-ratio: 16 / 9;
}

.imh-lead-story > picture img,
.imh-lead-story .imh-story-image img,
.imh-lead-story > img,
.imh-lead-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imh-lead-visual .imh-image-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--imh-blue);
}

.imh-lead-visual .imh-image-fallback svg {
    width: 42px;
    height: 42px;
}

.imh-lead-copy {
    display: block;
}

.imh-lead-copy > span {
    display: block;
    color: var(--imh-sage);
    font-size: 12px;
    font-weight: 600;
}

.imh-lead-copy > strong {
    display: block;
    margin-top: 5px;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.38;
    letter-spacing: -0.045em;
}

.imh-lead-copy > em {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: var(--imh-muted);
    font-size: 13.5px;
    font-style: normal;
    line-height: 1.55;
    letter-spacing: -0.025em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-lead-story :where(h3, .imh-story-title) {
    margin-top: 5px;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.38;
    letter-spacing: -0.045em;
}

.imh-lead-story :where(p, .imh-story-summary) {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: var(--imh-muted);
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: -0.025em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-news-list,
.imh-inquiry-list,
.imh-talk-list,
.imh-guide-list {
    border-top: 1px solid var(--imh-line);
}

.imh-news-item {
    display: flex;
    min-width: 0;
    min-height: 88px;
    align-items: center;
    gap: 13px;
    padding: 12px 0;
    border-bottom: 1px solid var(--imh-line);
}

.imh-news-item:last-child {
    border-bottom: 0;
}

.imh-news-item > :where(img, picture),
.imh-news-thumb {
    order: 2;
    width: 92px;
    min-width: 92px;
    height: 66px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 12px;
    background: var(--imh-mist);
    object-fit: cover;
}

.imh-news-item > picture img,
.imh-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imh-news-thumb .imh-image-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #607087;
    background: #eef2f6;
}

.imh-news-thumb .imh-image-fallback svg {
    width: 24px;
    height: 24px;
}

.imh-news-copy {
    min-width: 0;
    flex: 1 1 auto;
    order: 1;
}

.imh-news-item :where(h3, h4, .imh-item-title) {
    display: -webkit-box;
    overflow: hidden;
    color: var(--imh-graphite);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -0.035em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-news-item :where(time, .imh-meta) {
    display: block;
    margin-top: 5px;
}

.imh-news-item > span:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.imh-news-item > span:first-child strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -0.035em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-news-item > span:first-child em {
    display: block;
    margin-top: 5px;
    color: var(--imh-muted);
    font-size: 12px;
    font-style: normal;
}

.imh-news-item > svg:last-child {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #98a2b3;
}

.imh-inquiry-item,
.imh-talk-item,
.imh-guide-item {
    min-width: 0;
    border-bottom: 0;
}

.imh-inquiry-list > li,
.imh-talk-list > li,
.imh-guide-list > li {
    border-bottom: 1px solid var(--imh-line);
}

.imh-inquiry-list > li:last-child,
.imh-talk-list > li:last-child,
.imh-guide-list > li:last-child {
    border-bottom: 0;
}

.imh-inquiry-item > a,
a.imh-inquiry-item,
.imh-talk-item > a,
a.imh-talk-item,
.imh-guide-item > a,
a.imh-guide-item {
    display: flex;
    min-width: 0;
    min-height: 68px;
    align-items: center;
    gap: 11px;
    padding: 12px 0;
}

.imh-inquiry-item > a,
a.imh-inquiry-item {
    justify-content: space-between;
}

.imh-inquiry-copy,
.imh-talk-copy,
.imh-guide-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.imh-inquiry-item :where(h3, h4, .imh-item-title),
.imh-talk-item :where(h3, h4, .imh-item-title),
.imh-guide-item :where(h3, h4, .imh-item-title) {
    display: -webkit-box;
    overflow: hidden;
    color: var(--imh-graphite);
    font-size: 15px;
    font-weight: 720;
    line-height: 1.45;
    letter-spacing: -0.035em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-inquiry-item :where(.imh-meta, time),
.imh-talk-item :where(.imh-meta, time),
.imh-guide-item :where(.imh-meta, time) {
    display: block;
    margin-top: 4px;
}

.imh-inquiry-status {
    display: inline-flex;
    min-width: 48px;
    min-height: 27px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #ebf8f4;
    color: var(--imh-sage);
    font-size: 11px;
    font-weight: 800;
}

.imh-list-index {
    display: inline-flex;
    width: 33px;
    min-width: 33px;
    height: auto;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: var(--imh-blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.imh-list-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.imh-list-copy > strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -0.035em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-list-copy > em {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: var(--imh-muted);
    font-size: 12px;
    font-style: normal;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imh-notice-badge {
    display: inline-flex;
    min-width: 39px;
    min-height: 26px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff7d2;
    color: #765f00;
    font-size: 11px;
    font-weight: 850;
}

.imh-inquiry-item > svg:last-child,
.imh-talk-item > svg:last-child,
.imh-guide-item > svg:last-child {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #98a2b3;
}

.imh-talk-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #eef3ff;
    color: var(--imh-blue);
    font-size: 14px;
    font-weight: 850;
}

.imh-talk-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imh-talk-count {
    display: inline-flex;
    min-width: 34px;
    min-height: 26px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--imh-mist);
    color: var(--imh-muted);
    font-size: 11px;
    font-weight: 750;
}

.imh-card-rail {
    gap: var(--imh-page-gutter);
    margin-inline: calc(var(--imh-page-gutter) * -1);
    padding: 0 var(--imh-page-gutter) 4px;
    scroll-padding-inline: var(--imh-page-gutter);
    scroll-snap-type: x mandatory;
    /* 가로는 카드 레일, 세로는 페이지 스크롤에 네이티브로 넘긴다. */
    touch-action: pan-x pan-y;
}

.imh-card-item {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    overflow: visible;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.imh-card-item > :where(img, picture),
.imh-card-image,
.imh-card-visual {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e2ded5;
    border-radius: 14px;
    background: #f3f0e9;
    aspect-ratio: 4 / 5;
}

.imh-card-item > img,
.imh-card-item > picture img,
.imh-card-image img,
.imh-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.imh-card-position {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 24, 32, 0.75);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.imh-card-visual .imh-image-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--imh-blue);
}

.imh-card-visual .imh-image-fallback svg {
    width: 38px;
    height: 38px;
}

.imh-card-copy {
    padding: 10px 2px 2px;
}

.imh-card-item :where(h3, h4, .imh-item-title) {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.42;
    letter-spacing: -0.04em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-card-item .imh-meta {
    display: block;
    margin-top: 6px;
}

.imh-card-copy > em {
    display: block;
    margin-bottom: 4px;
    color: var(--imh-blue);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.imh-card-copy > strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.42;
    letter-spacing: -0.04em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-card-copy > small {
    display: block;
    margin-top: 5px;
    color: var(--imh-muted);
    font-size: 11px;
    font-weight: 500;
}

.imh-card-controls {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.imh-card-control {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #dfe3e9;
    border-radius: 50%;
    color: var(--imh-graphite);
    background: #fff;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.imh-card-control svg {
    width: 17px;
    height: 17px;
}

.imh-card-control.is-prev svg {
    transform: rotate(180deg);
}

.imh-card-control.is-next:not(:disabled) {
    border-color: var(--imh-blue);
    color: #fff;
    background: var(--imh-blue);
}

.imh-card-control:disabled {
    color: #b8bec8;
    background: #f5f6f8;
    opacity: 0.68;
    cursor: default;
}

.imh-card-control-status {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
}

.imh-card-control-status > span {
    color: var(--imh-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.imh-card-control-status > span strong {
    color: var(--imh-graphite);
    font-size: 14px;
    font-weight: 700;
}

.imh-card-control-status small {
    margin-top: 3px;
    color: var(--imh-muted);
    font-size: 10px;
    font-weight: 500;
}

.imh-guide-icon {
    display: grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    place-items: center;
    border-radius: 14px;
    background: var(--imh-mist);
    color: var(--imh-sage);
}

.imh-guide-icon :where(svg, img) {
    width: 22px;
    height: 22px;
}

.imh-guide-arrow {
    display: grid;
    width: 28px;
    height: 28px;
    min-width: 28px;
    place-items: center;
    color: #98a2b3;
}

.imh-guide-meta {
    display: block;
    margin-bottom: 2px;
    color: var(--imh-sage);
    font-size: 11px;
    font-weight: 600;
}

.imh-guide-item.is-locked .imh-list-index {
    background: transparent;
    color: #667085;
}

.imh-consult-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--imh-line);
}

.imh-consult-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 74px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--imh-line);
    border-radius: 0;
    background: transparent;
    color: var(--imh-graphite);
    transition: border-color 160ms ease, transform 160ms ease;
}

.imh-consult-item:nth-child(even) {
    border-color: var(--imh-line);
    background: transparent;
}

.imh-consult-item :where(h3, strong, .imh-item-title) {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.imh-consult-item p {
    color: var(--imh-muted);
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.imh-consult-item > span:not(.imh-consult-icon) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
    padding-right: 28px;
}

.imh-consult-item > span:not(.imh-consult-icon) em {
    color: var(--imh-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.imh-consult-item > span:not(.imh-consult-icon) strong {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.imh-consult-item > svg:last-child {
    position: absolute;
    right: 2px;
    bottom: 50%;
    width: 18px;
    height: 18px;
    color: #98a2b3;
    transform: translateY(50%);
}

.imh-consult-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 13px;
    background: #f1f5ff;
    color: var(--imh-blue);
    box-shadow: none;
}

.imh-consult-item:nth-child(even) .imh-consult-icon {
    background: #eef8f5;
    color: var(--imh-sage);
}

/* Mobile home common footer: compact, legible company and legal information. */
@media (max-width: 768px) {
    body.is-mobile-home .footer {
        --footer-ink: #20242c;
        --footer-muted: #667085;
        --footer-line: #e4e7ec;
        --footer-line-strong: #d7dce3;
        --footer-accent: var(--imh-blue);
        margin-top: 18px;
        overflow: visible;
        border-top: 1px solid var(--footer-line);
        background: #f7f8fa;
        color: var(--footer-ink);
    }

    body.is-mobile-home .footer::before {
        display: none;
    }

    body.is-mobile-home .footer-shell {
        width: 100%;
        margin: 0;
        padding-right: 20px;
        padding-left: 20px;
    }

    body.is-mobile-home .footer-band {
        display: block;
        overflow: hidden;
        border-bottom: 1px solid var(--footer-line);
        background: #ffffff;
        color: #6d7480;
    }

    body.is-mobile-home .footer-band__inner {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        gap: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: -0.015em;
        text-transform: none;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    body.is-mobile-home .footer-band__inner::-webkit-scrollbar {
        display: none;
    }

    body.is-mobile-home .footer-band__inner span {
        position: relative;
        flex: 0 0 auto;
        padding: 13px 13px 13px 0;
    }

    body.is-mobile-home .footer-band__inner span + span {
        padding-left: 13px;
    }

    body.is-mobile-home .footer-band__inner span + span::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 2px;
        height: 2px;
        border-radius: 50%;
        background: #aeb5c0;
        content: "";
        transform: translate(-1px, -50%);
    }

    body.is-mobile-home .footer-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-top: 28px;
        padding-bottom: 8px;
    }

    body.is-mobile-home .footer-brand,
    body.is-mobile-home .footer-links,
    body.is-mobile-home .footer-notices {
        min-width: 0;
        max-width: none;
    }

    body.is-mobile-home .footer-kicker,
    body.is-mobile-home .footer-link-title,
    body.is-mobile-home .footer-notice__eyebrow {
        color: var(--footer-accent);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: none;
    }

    body.is-mobile-home .company-name {
        margin-top: 7px;
        font-family: inherit;
        font-size: 24px;
        font-weight: 750;
        line-height: 1.25;
        letter-spacing: -0.045em;
    }

    body.is-mobile-home .footer-summary {
        max-width: none;
        margin-top: 10px;
        color: #596273;
        font-size: 13px;
        line-height: 1.7;
        letter-spacing: -0.025em;
    }

    body.is-mobile-home .footer-address {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px 16px;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid var(--footer-line);
    }

    body.is-mobile-home .footer-address p {
        min-width: 0;
        color: #697281;
        font-size: 12px;
        line-height: 1.62;
        letter-spacing: -0.025em;
    }

    body.is-mobile-home .footer-address p:nth-child(3),
    body.is-mobile-home .footer-address p:nth-child(4),
    body.is-mobile-home .footer-address p:nth-child(5),
    body.is-mobile-home .footer-address p:nth-child(6) {
        grid-column: 1 / -1;
    }

    body.is-mobile-home .footer-links {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 24px;
        border-top: 1px solid var(--footer-line);
    }

    body.is-mobile-home .footer-link-group,
    body.is-mobile-home .footer-link-group--cta {
        grid-column: auto;
        padding: 15px 0;
        border-top: 0;
        border-bottom: 1px solid var(--footer-line);
    }

    body.is-mobile-home .footer-link-list {
        display: flex;
        flex-flow: row wrap;
        gap: 8px 18px;
        margin-top: 9px;
    }

    body.is-mobile-home .footer-link-list a {
        position: relative;
        color: #3f4753;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.5;
    }

    body.is-mobile-home .footer-link-list a + a::before {
        position: absolute;
        top: 50%;
        left: -10px;
        width: 1px;
        height: 10px;
        background: #d6dae0;
        content: "";
        transform: translateY(-50%);
    }

    body.is-mobile-home .footer-link-list a:hover {
        color: var(--imh-blue);
        transform: none;
    }

    body.is-mobile-home .footer .footer-contact-link,
    body.is-mobile-home .footer .footer-contact-link:visited {
        min-height: 46px;
        margin-top: 10px;
        padding: 0 14px;
        border: 1px solid #ccd5e4;
        border-radius: 10px;
        background: #ffffff;
        color: #2357bd;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: -0.025em;
    }

    body.is-mobile-home .footer-contact-link::after {
        color: #7f8da5;
        content: "\2192";
        font-size: 15px;
    }

    body.is-mobile-home .footer-contact-link:hover {
        border-color: #9fb4da;
        background: #f7faff;
        transform: none;
    }

    body.is-mobile-home .footer-contact-copy {
        margin-top: 9px;
        color: #7a8290;
        font-size: 12px;
        line-height: 1.65;
    }

    body.is-mobile-home .footer-notices {
        display: grid;
        gap: 10px;
        margin-top: 18px;
    }

    body.is-mobile-home .footer-notice {
        padding: 16px;
        border: 1px solid #e1e5eb;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: none;
    }

    body.is-mobile-home .footer-notice.ai-notice {
        border-color: #dfe6f2;
        background: #f3f6fb;
    }

    body.is-mobile-home .footer-notice__body {
        margin-top: 8px;
    }

    body.is-mobile-home .footer-notice__body strong {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.55;
        letter-spacing: -0.025em;
    }

    body.is-mobile-home .footer-notice__body p {
        margin-top: 6px;
        color: #697281;
        font-size: 12px;
        line-height: 1.68;
        letter-spacing: -0.02em;
    }

    body.is-mobile-home .public-data-source-inline {
        gap: 8px;
        margin-top: 12px;
        padding-top: 11px;
        border-top: 1px solid #e8ebef;
    }

    body.is-mobile-home .public-data-source-inline span {
        width: 100%;
        color: #7a8290;
        font-size: 10.5px;
        font-weight: 600;
    }

    body.is-mobile-home .source-mark-inline {
        height: 24px;
    }

    body.is-mobile-home .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        margin-top: 18px;
        padding-top: 16px;
        padding-bottom: 20px;
        border-top: 1px solid var(--footer-line);
    }

    body.is-mobile-home .copyright {
        color: #6d7480;
        font-size: 11.5px;
        font-weight: 600;
        line-height: 1.55;
        letter-spacing: -0.01em;
    }

    body.is-mobile-home .footer-bottom-links {
        justify-content: flex-start;
        gap: 8px 16px;
    }

    body.is-mobile-home .footer-bottom-links a {
        color: #434b57;
        font-size: 11.5px;
        font-weight: 650;
    }
}

@media (max-width: 359px) {
    body.is-mobile-home .footer-address {
        grid-template-columns: minmax(0, 1fr);
    }

    body.is-mobile-home .footer-address p {
        grid-column: 1 / -1;
    }
}

.imh-bottom-nav {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    width: 100%;
    max-width: 520px;
    min-height: calc(var(--imh-bottom-nav-height) + var(--imh-safe-bottom));
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    margin: 0 auto;
    padding: 4px 8px max(4px, var(--imh-safe-bottom));
    border-top: 1px solid rgba(216, 222, 231, 0.94);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -6px 22px rgba(17, 24, 39, 0.055);
}

.imh-bottom-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 51px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 3px;
    border-radius: 0;
    background: transparent;
    color: #7b8493;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    transition: color 160ms ease, background-color 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.imh-bottom-item :where(svg, img) {
    width: 22px;
    height: 22px;
}

.imh-bottom-item.is-active,
.imh-bottom-item[aria-current="page"] {
    background: transparent;
    color: var(--imh-graphite);
}

.imh-bottom-item.is-active::before,
.imh-bottom-item[aria-current="page"]::before {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--imh-yellow);
    content: "";
    transform: translateX(-50%);
}

.imh-weather-backdrop,
.imh-notification-backdrop,
.imh-profile-backdrop {
    position: fixed;
    z-index: 70;
    inset: 0;
    visibility: hidden;
    background: rgba(17, 24, 39, 0.48);
    opacity: 0;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
    overscroll-behavior: contain;
    -webkit-tap-highlight-color: transparent;
}

.imh-weather-backdrop.is-open,
.imh-notification-backdrop.is-open,
.imh-profile-backdrop.is-open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.imh-notification-backdrop,
.imh-profile-backdrop {
    z-index: 90;
    background: rgba(17, 24, 39, 0.34);
    backdrop-filter: blur(2px);
}

.imh-top-panel {
    position: fixed;
    z-index: 91;
    top: calc(var(--imh-safe-top) + var(--imh-topbar-height));
    left: 50%;
    width: min(100%, 520px);
    max-height: calc(100dvh - var(--imh-safe-top) - var(--imh-topbar-height) - 12px);
    padding: 17px 20px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    border: 1px solid rgba(228, 231, 236, 0.92);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 22px 52px rgba(17, 24, 39, 0.19);
    opacity: 0;
    transform: translate(-50%, calc(-100% - var(--imh-topbar-height)));
    transition: transform 280ms var(--imh-ease), opacity 180ms ease, visibility 0s linear 280ms;
}

.imh-top-panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.imh-top-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.imh-top-panel-head > div > span {
    display: block;
    margin-bottom: 2px;
    color: var(--imh-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.imh-top-panel-head strong {
    color: var(--imh-graphite);
    font-size: 19px;
    font-weight: 760;
    letter-spacing: -0.045em;
}

.imh-notification-ready {
    display: flex;
    min-height: 108px;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #f7f9fc;
}

.imh-notification-ready > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #eaf0ff;
    color: var(--imh-blue);
}

.imh-notification-ready > span svg {
    width: 22px;
    height: 22px;
}

.imh-notification-ready strong {
    display: block;
    color: var(--imh-graphite);
    font-size: 16px;
    font-weight: 740;
    letter-spacing: -0.035em;
}

.imh-notification-ready p {
    margin: 5px 0 0;
    color: #667085;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.025em;
}

.imh-profile-panel {
    padding: 0;
}

.imh-profile-panel > .mobile-profile-modal-content {
    width: 100%;
    max-width: none;
    max-height: none;
    padding: 20px;
    overflow: visible;
    border-radius: 0 0 22px 22px;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.imh-weather-sheet {
    position: fixed;
    z-index: 71;
    bottom: 0;
    left: 50%;
    width: min(100%, 520px);
    max-height: min(82vh, 720px);
    max-height: min(82dvh, 720px);
    padding: 10px 20px max(24px, calc(var(--imh-safe-bottom) + 16px));
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    border-radius: 26px 26px 0 0;
    background: #fff;
    box-shadow: 0 -20px 52px rgba(17, 24, 39, 0.2);
    opacity: 0;
    transform: translate(-50%, 105%);
    transition: transform 280ms var(--imh-ease), opacity 180ms ease, visibility 0s linear 280ms;
}

.imh-weather-sheet.is-open {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.imh-sheet-handle {
    display: block;
    width: 40px;
    height: 4px;
    margin: 0 auto 17px;
    border-radius: 999px;
    background: #d0d5dd;
}

.imh-weather-sheet :where(h2, h3) {
    color: var(--imh-graphite);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: -0.05em;
}

.imh-weather-sheet [data-weather-close] {
    min-width: 44px;
    min-height: 44px;
}

.imh-weather-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.imh-weather-head > div > span {
    display: block;
    margin-bottom: 2px;
    color: var(--imh-blue);
    font-size: 12px;
    font-weight: 800;
}

.imh-weather-current {
    display: flex;
    min-height: 112px;
    align-items: center;
    gap: 13px;
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef3ff, #f6f9ff);
}

.imh-weather-symbol {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 17px;
    background: #fff;
    color: var(--imh-blue);
    box-shadow: 0 5px 16px rgba(36, 87, 214, 0.1);
}

.imh-weather-symbol svg {
    width: 29px;
    height: 29px;
}

.imh-weather-current > strong {
    font-size: 40px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.05em;
}

.imh-weather-current > span:last-child {
    color: #475467;
    font-size: 14px;
    font-weight: 700;
}

.imh-weather-detail {
    margin-top: 12px;
    color: var(--imh-muted);
    font-size: 13px;
}

.imh-weather-more {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 16px;
    border-radius: 15px;
    background: var(--imh-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 780;
}

.imh-weather-more svg {
    width: 16px;
    height: 16px;
}

.imh-empty {
    padding: 22px 0;
    color: var(--imh-muted);
    font-size: 14px;
    text-align: center;
}

.imh-empty-action {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 15px;
    background: var(--imh-mist);
}

.imh-empty-action p {
    color: #475467;
    font-size: 13px;
}

.imh-empty-action a {
    display: inline-flex;
    min-height: 40px;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border-radius: 12px;
    background: var(--imh-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}

.imh-empty-action a svg {
    width: 16px;
    height: 16px;
}

.imh-toast {
    position: fixed;
    z-index: 100;
    bottom: calc(var(--imh-bottom-nav-height) + var(--imh-safe-bottom) + 14px);
    left: 50%;
    width: max-content;
    max-width: min(calc(100vw - 36px), 484px);
    padding: 11px 15px;
    border-radius: 13px;
    background: rgba(17, 24, 39, 0.94);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 10px 32px rgba(17, 24, 39, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 180ms ease, transform 220ms var(--imh-ease);
}

.imh-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (hover: hover) and (pointer: fine) {
    .imh-icon-button:hover {
        background: var(--imh-mist);
    }

    .imh-search-submit:hover {
        background: #ffcd00;
        transform: translateY(-1px);
    }

    .imh-direct-ad:hover {
        border-color: #d7dce5;
        box-shadow: none;
    }

    .imh-core-actions > a:hover,
    .imh-consult-item:hover {
        background: #fafbfc;
        transform: translateY(-2px);
    }

    .imh-quick-link:hover .imh-quick-icon {
        background: #eaf0ff;
        color: var(--imh-blue-dark);
        transform: translateY(-2px);
    }

    .imh-bottom-item:hover {
        color: var(--imh-blue);
    }
}

/* Mobile service flow: one continuous vertical scroll with clear section breaks. */
.imh-stage-stack {
    position: relative;
    min-width: 0;
    background: var(--imh-canvas);
}

.imh-search-results-shell {
    display: none;
    min-width: 0;
    min-height: calc(100svh - var(--imh-topbar-height) - var(--imh-service-nav-height) - var(--imh-safe-top));
    padding: 14px var(--imh-page-gutter) 32px;
    background: #fff;
    scroll-margin-top: calc(var(--imh-topbar-height) + var(--imh-service-nav-height) + var(--imh-safe-top));
}

body.is-mobile-home.imh-search-mode .imh-stage-stack > .imh-stage {
    display: none;
}

body.is-mobile-home.imh-search-mode .imh-search-results-shell {
    display: block;
}

body.is-mobile-home.imh-search-mode .imh-bottom-nav {
    display: none;
}

body.is-mobile-home .imh-search-results-shell .search-results-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.is-mobile-home .imh-search-results-shell .results-header {
    position: sticky;
    z-index: 4;
    top: calc(var(--imh-topbar-height) + var(--imh-service-nav-height) + var(--imh-safe-top));
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.96);
}

body.is-mobile-home .imh-search-results-shell .results-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

body.is-mobile-home .imh-search-results-shell .close-results {
    min-height: 40px;
    padding: 0 11px;
    border: 1px solid var(--imh-line);
    border-radius: 10px;
    background: #fff;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

body.is-mobile-home .imh-search-results-shell .close-results svg {
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
}

body.is-mobile-home .imh-search-results-shell .results-content {
    padding: 4px 0 0;
}

/* Mobile search results: flat feed rows instead of nested card boxes. */
body.is-mobile-home .imh-search-results-shell {
    padding: 10px 15px 32px;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .results-header {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    margin: 0;
    padding: 6px 0 10px;
    border: 0 !important;
    border-bottom: 1px solid #dfe4ea !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: none !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .results-title {
    gap: 6px;
    color: #17191f;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.035em;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .close-results {
    width: auto;
    min-width: 82px;
    min-height: 44px;
    padding: 0 10px;
    border: 0 !important;
    border-radius: 9px;
    background: #f3f5f7 !important;
    color: #475467;
    font-size: 12.5px;
    box-shadow: none !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .results-content {
    display: block;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .service-group {
    margin: 0 !important;
    padding: 0 0 20px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: visible;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .service-group + .service-group {
    margin-top: 8px !important;
    border-top: 8px solid #f3f5f7 !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .service-group > h3,
body.is-mobile-home .imh-search-results-shell .search-results-section .result-category-title {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 48px;
    margin: 0 !important;
    padding: 13px 2px 10px !important;
    border: 0 !important;
    border-bottom: 2px solid #20252c !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #17191f !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .service-group > h3 i,
body.is-mobile-home .imh-search-results-shell .search-results-section .result-category-title i {
    width: 17px;
    margin-right: 0 !important;
    color: #5b6675 !important;
    text-align: center;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .service-group > p,
body.is-mobile-home .imh-search-results-shell .search-results-section .comp-info-section-note {
    margin: 0 !important;
    padding: 10px 2px 8px;
    color: #697386 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .items-container,
body.is-mobile-home .imh-search-results-shell .search-results-section .search-result-items-container,
body.is-mobile-home .imh-search-results-shell .search-results-section .service-result-group .items-container {
    display: block !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .result-item,
body.is-mobile-home .imh-search-results-shell .search-results-section .disease-result-item,
body.is-mobile-home .imh-search-results-shell .search-results-section .surgery-result-item,
body.is-mobile-home .imh-search-results-shell .search-results-section .silson24-result-item,
body.is-mobile-home .imh-search-results-shell .search-results-section .comp-info-card {
    margin: 0 !important;
    padding: 15px 2px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e9ee !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #17191f !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .result-item:last-child {
    border-bottom: 0 !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .result-item:hover {
    background: #fafbfc !important;
    transform: none !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .disease-result-item > div {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start !important;
    gap: 0 11px !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .disease-result-item .disease-code-badge {
    display: grid;
    place-items: center;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid #e1e6eb !important;
    border-radius: 10px !important;
    background: #f6f8fa !important;
    color: #26313d !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    box-shadow: none !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .disease-result-item > div > div:last-child {
    display: grid !important;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 !important;
    width: 100%;
    margin: 11px 0 0 !important;
    padding: 3px;
    border-radius: 10px;
    background: #f4f6f8;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .disease-stats-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    gap: 4px !important;
    padding: 5px 2px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    font-size: 10.5px !important;
    box-shadow: none !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .disease-stats-btn + .disease-stats-btn {
    border-left: 1px solid #dde2e8 !important;
    border-radius: 0 !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .disease-stats-btn:hover {
    background: #ffffff !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .disease-stats-btn span {
    overflow: hidden;
    min-width: 0;
    color: inherit !important;
    font-size: 10.5px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .comp-info-card > div {
    gap: 10px !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .comp-info-card > div > div:first-child {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .comp-info-card h4 {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .comp-info-card > div > div:last-child > p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    white-space: normal !important;
}

body.is-mobile-home .imh-search-results-shell .search-results-section .comp-info-toggle {
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 12px !important;
    border-color: #efd36b !important;
    border-radius: 9px !important;
    background: #fff9da !important;
    color: #6f5700 !important;
}

/* Disease statistics: mobile bottom-sheet modal with readable data cards. */
body.is-mobile-home.disease-stats-modal-open {
    overflow: hidden;
}

body.is-mobile-home .disease-stats-modal__backdrop {
    align-items: flex-end !important;
    padding: 44px 0 0 !important;
    background: rgba(15, 23, 42, 0.54) !important;
}

body.is-mobile-home .disease-stats-modal__panel {
    position: relative;
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    max-height: calc(100svh - 44px) !important;
    border-radius: 20px 20px 0 0 !important;
    background: #f4f6f8 !important;
    box-shadow: 0 -16px 42px rgba(15, 23, 42, 0.2) !important;
}

body.is-mobile-home .disease-stats-modal__panel::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 7px;
    left: 50%;
    width: 34px;
    height: 4px;
    border-radius: 999px;
    background: #c8ced6;
    transform: translateX(-50%);
}

body.is-mobile-home .disease-stats-modal__header {
    flex: 0 0 auto;
    gap: 12px;
    padding: 20px 15px 13px !important;
    border-bottom: 1px solid #dfe4ea !important;
    background: #ffffff !important;
    color: #17191f !important;
}

body.is-mobile-home .disease-stats-modal__title {
    min-width: 0;
    color: #17191f !important;
    font-size: 16px !important;
    font-weight: 650 !important;
    letter-spacing: -0.035em;
    line-height: 1.35;
}

body.is-mobile-home .disease-stats-modal__title i {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff3a8;
    color: #5d4a00;
    font-size: 14px;
}

body.is-mobile-home .disease-stats-modal__header .close-disease-stats-modal {
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: #f1f3f5 !important;
    color: #374151 !important;
    font-size: 18px !important;
}

body.is-mobile-home .disease-stats-modal__header .close-disease-stats-modal:focus-visible {
    outline: 3px solid rgba(255, 214, 51, 0.78) !important;
    outline-offset: 1px;
    box-shadow: none !important;
}

body.is-mobile-home .disease-stats-modal__body {
    padding: 0 15px calc(24px + env(safe-area-inset-bottom)) !important;
    background: #f4f6f8;
    overscroll-behavior: contain;
}

body.is-mobile-home .disease-stats-modal__toolbar {
    position: sticky;
    z-index: 1;
    top: 0;
    justify-content: space-between;
    min-height: 58px;
    margin: 0 -15px 12px !important;
    padding: 8px 15px;
    border-bottom: 1px solid #e1e5ea;
    background: rgba(255, 255, 255, 0.96);
}

body.is-mobile-home .disease-stats-modal__toolbar select {
    min-width: 112px;
    min-height: 44px;
    padding: 0 34px 0 12px !important;
    border: 1px solid #cfd5dc !important;
    border-radius: 10px !important;
    background: #ffffff;
    color: #20252c;
    font-size: 14px !important;
    font-weight: 600;
}

body.is-mobile-home .disease-stats-modal__toolbar span {
    padding: 7px 10px !important;
    border-radius: 999px !important;
    background: #eceff2 !important;
    color: #667085 !important;
    font-size: 11px !important;
}

body.is-mobile-home #disease-stats-content {
    margin: 0 !important;
}

body.is-mobile-home .disease-stats-cards {
    display: grid;
    gap: 10px;
}

body.is-mobile-home .disease-stats-card {
    overflow: hidden;
    border: 1px solid #dfe4ea;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

body.is-mobile-home .disease-stats-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px 11px;
    border-bottom: 1px solid #edf0f3;
}

body.is-mobile-home .disease-stats-card__head > div {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

body.is-mobile-home .disease-stats-card__head span {
    flex: 0 0 auto;
    color: #7a8492;
    font-size: 11px;
    font-weight: 600;
}

body.is-mobile-home .disease-stats-card__head strong {
    overflow: hidden;
    color: #17191f;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.is-mobile-home .disease-stats-card__head em {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7c7;
    color: #665100;
    font-size: 11px;
    font-style: normal;
    font-weight: 650;
}

body.is-mobile-home .disease-stats-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 4px 14px 9px;
}

body.is-mobile-home .disease-stats-card__metric {
    min-width: 0;
    padding: 10px 4px 8px;
    border-bottom: 1px solid #edf0f3;
}

body.is-mobile-home .disease-stats-card__metric:nth-last-child(-n + 2) {
    border-bottom: 0;
}

body.is-mobile-home .disease-stats-card__metric dt {
    margin-bottom: 4px;
    color: #778190;
    font-size: 11px;
    line-height: 1.25;
}

body.is-mobile-home .disease-stats-card__metric dd {
    overflow: hidden;
    margin: 0;
    color: #20252c;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.is-mobile-home .disease-stats-card__metric dd small {
    margin-left: 3px;
    color: #7a8492;
    font-size: 10px;
    font-weight: 500;
}

body.is-mobile-home .disease-stats-modal__footnote {
    margin-top: 12px !important;
    padding: 12px 2px 0 !important;
    border-top: 1px solid #dfe4ea !important;
}

body.is-mobile-home .disease-stats-modal__footnote p {
    color: #697386 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}

.imh-stage {
    position: relative;
    width: 100%;
    min-height: 0;
    scroll-margin-top: 10px;
}

.imh-stage--home {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 0;
    border-radius: 0;
    background: #fff;
}

.imh-stage--home .imh-search-section {
    flex: 0 0 auto;
    padding-top: 11px;
}

.imh-stage--home .imh-ad-section {
    flex: 0 0 auto;
}

.imh-core-actions {
    display: grid;
    width: auto;
    max-height: 218px;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(88px, 1fr));
    overflow: hidden;
    margin: 5px var(--imh-page-gutter) 16px;
    border: 1px solid #e1e5eb;
    border-radius: 21px;
    background: #fbfcfe;
}

.imh-core-actions > a {
    min-height: 88px;
    gap: 5px;
    padding: 10px 6px;
    background: transparent;
}

.imh-core-actions > a + a {
    border-left: 0;
}

.imh-core-actions > a:nth-child(even) {
    border-left: 1px solid #e5e8ed;
}

.imh-core-actions > a:nth-child(n + 3) {
    border-top: 1px solid #e5e8ed;
}

.imh-core-actions em {
    color: #7a8290;
    font-size: 10.5px;
    font-weight: 450;
}

.imh-core-actions strong {
    font-size: 14px;
    font-weight: 620;
}

.imh-core-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
}

.imh-core-icon svg {
    width: 18px;
    height: 18px;
}

.imh-core-actions > a:nth-child(1) .imh-core-icon {
    background: var(--imh-yellow-soft);
    color: #514a2b;
}

.imh-core-actions > a:nth-child(2) .imh-core-icon {
    background: #edf3ff;
    color: var(--imh-blue);
}

.imh-core-actions > a:nth-child(3) .imh-core-icon {
    background: #fff1e8;
    color: #a85514;
}

.imh-core-actions > a:nth-child(4) .imh-core-icon {
    background: #edf8f4;
    color: var(--imh-sage);
}

.imh-talk-stage {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
    padding: 24px var(--imh-page-gutter) 20px;
}

.imh-talk-stage-head {
    flex: 0 0 auto;
    margin-bottom: 12px;
}

.imh-talk-stage-list {
    display: grid;
    min-height: 0;
    flex: 0 0 auto;
    grid-auto-rows: minmax(64px, auto);
    border-top: 1px solid #dde2e9;
}

.imh-talk-stage-list li {
    min-height: 0;
    border-bottom: 1px solid #e8ebef;
}

.imh-talk-stage-list a {
    display: grid;
    height: 100%;
    min-height: 64px;
    grid-template-columns: 12px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    padding: 9px 2px;
}

.imh-talk-stage-dot {
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--imh-sage);
    box-shadow: 0 0 0 1px rgba(36, 123, 104, 0.28);
}

.imh-talk-stage-list li:nth-child(3n + 2) .imh-talk-stage-dot {
    background: var(--imh-blue);
    box-shadow: 0 0 0 1px rgba(40, 100, 220, 0.24);
}

.imh-talk-stage-list li:nth-child(3n) .imh-talk-stage-dot {
    background: #d99d1e;
    box-shadow: 0 0 0 1px rgba(217, 157, 30, 0.26);
}

.imh-talk-stage-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.imh-talk-stage-meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
}

.imh-talk-stage-category {
    display: inline-flex;
    max-width: 88px;
    min-height: 20px;
    align-items: center;
    padding: 2px 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef3fb;
    color: #4b658b;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imh-talk-stage-category.is-notice {
    background: #fff5cf;
    color: #775f00;
}

.imh-talk-stage-meta time {
    color: #8a929f;
    font-size: 11px;
    font-weight: 450;
    white-space: nowrap;
}

.imh-talk-stage-copy strong {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: #202733;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.36;
    letter-spacing: -0.035em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-talk-stage-author {
    overflow: hidden;
    color: #737c8a;
    font-size: 11.5px;
    font-weight: 450;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imh-talk-stage-list a > svg:last-child {
    width: 16px;
    height: 16px;
    color: #a1a8b3;
}

.imh-talk-stage[data-visible-rows="3"] .imh-talk-stage-list li:nth-child(n + 4),
.imh-talk-stage[data-visible-rows="4"] .imh-talk-stage-list li:nth-child(n + 5),
.imh-talk-stage[data-visible-rows="5"] .imh-talk-stage-list li:nth-child(n + 6) {
    display: none;
}

.imh-talk-stage-empty {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #dde2e9;
    color: #697181;
    font-size: 14px;
}

.imh-talk-stage-empty svg {
    width: 16px;
    height: 16px;
}

.imh-layer-stage {
    overflow: visible;
    padding: 25px var(--imh-page-gutter) 28px;
    border: 0;
    border-top: 10px solid var(--imh-canvas);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.imh-layer-stage::before {
    display: none;
}

#insurance-tasks {
    background: #f7f8fb;
}

#talk-timeline {
    background: #fff;
}

#daily-board {
    background: #fff;
}

#card-news {
    background: #f5f7fb;
}

#consumer-info {
    background: #fff;
}

.imh-lifestyle-stage {
    padding: 22px var(--imh-page-gutter) 24px;
    border-top: 10px solid var(--imh-canvas);
    background: #fffdf8;
}

.imh-lifestyle-stage .imh-section-head {
    margin-bottom: 14px;
}

.imh-lifestyle-stage .imh-section-head h2 {
    font-weight: 620;
}

.imh-lifestyle-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.imh-lifestyle-link {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 132px;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 14px 13px;
    border: 1px solid #e2e8e5;
    border-radius: 17px;
    color: inherit;
    text-decoration: none;
}

.imh-lifestyle-link--psychological_tests {
    background: #f3f8f5;
}

.imh-lifestyle-link--today_fortune {
    border-color: #eee2c4;
    background: #fff7df;
}

.imh-lifestyle-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff;
    color: #47675f;
    box-shadow: inset 0 0 0 1px rgba(45, 70, 63, 0.08);
}

.imh-lifestyle-link--today_fortune .imh-lifestyle-icon {
    color: #9a6a12;
    box-shadow: inset 0 0 0 1px rgba(154, 106, 18, 0.12);
}

.imh-lifestyle-icon svg {
    width: 20px;
    height: 20px;
}

.imh-lifestyle-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.imh-lifestyle-copy em {
    color: #77847f;
    font-size: 10px;
    font-style: normal;
    font-weight: 520;
}

.imh-lifestyle-copy strong {
    margin-top: 3px;
    color: #212a28;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.035em;
    word-break: keep-all;
}

.imh-lifestyle-copy small {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    color: #6f7976;
    font-size: 10.5px;
    line-height: 1.4;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.imh-lifestyle-link > svg:last-child {
    position: absolute;
    top: 17px;
    right: 12px;
    width: 15px;
    height: 15px;
    color: #9aa5a0;
}

.imh-layer-stage.imh-section,
.imh-layer-stage.imh-quick-section {
    border-bottom: 0;
}

.imh-layer-stage .imh-section-head {
    flex: 0 0 auto;
}

.imh-layer-stage .imh-kicker {
    color: #7a8290;
    font-weight: 500;
}

.imh-layer-stage .imh-section-head h2,
.imh-layer-stage .imh-quick-title {
    font-weight: 620;
}

#insurance-tasks .imh-quick-rail {
    margin-top: 16px;
}

@media (max-height: 700px) {
    .imh-direct-ad {
        min-height: 98px;
    }

    .imh-ad-copy {
        padding-block: 9px;
    }

    .imh-core-actions {
        grid-template-rows: repeat(2, minmax(80px, 1fr));
        margin-top: 2px;
        margin-bottom: 8px;
    }

    .imh-core-actions > a {
        min-height: 80px;
        padding-block: 7px;
    }

    .imh-layer-stage {
        padding-top: 26px;
        padding-bottom: 22px;
    }

    .imh-talk-stage {
        padding-top: 22px;
        padding-bottom: 18px;
    }

    #insurance-tasks .imh-quick-rail {
        margin-top: 14px;
    }
}

@media (min-width: 561px) {
    .imh-app {
        min-height: 100vh;
        box-shadow: 0 0 48px rgba(17, 24, 39, 0.12);
    }

    .imh-bottom-nav {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

}

@media (min-width: 640px) and (max-width: 1024px) {
    :root {
        --imh-page-gutter: 28px;
    }

    .imh-app {
        max-width: 860px;
    }

    .imh-bottom-nav {
        max-width: 860px;
    }

    .imh-core-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .imh-core-actions > a {
        min-height: 96px;
    }

    .imh-news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 20px;
    }
}

@media (max-width: 560px) {
    body.is-mobile-home,
    .imh-app {
        width: 100%;
        max-width: none;
        background: #fff;
    }
}

@media (max-width: 359px) {
    :root {
        --imh-page-gutter: 15px;
    }

    .imh-ad-copy {
        padding-left: 16px;
    }

    .imh-ad-copy p {
        display: none;
    }

    .imh-primary-link {
        padding: 4px 1px;
        font-size: 11px;
    }

    .imh-consult-grid {
        grid-template-columns: 1fr;
    }

    .imh-lifestyle-link {
        min-height: 126px;
        padding-right: 11px;
        padding-left: 11px;
    }

    .imh-lifestyle-copy strong {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body.is-mobile-home *,
    body.is-mobile-home *::before,
    body.is-mobile-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .imh-search-form,
    .imh-direct-ad,
    .imh-primary-link,
    .imh-consult-item,
    .imh-card-item,
    .imh-lifestyle-link {
        border: 1px solid CanvasText;
    }

    .imh-bottom-item.is-active,
    .imh-bottom-item[aria-current="page"] {
        outline: 2px solid Highlight;
    }
}
