/* Compact employee Home, using the shared mobile design tokens. */
@media screen and (max-width: 760px) {
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign { gap: 20px !important; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-hero-card {
        display: flex !important; justify-content: space-between !important; align-items: flex-start !important; gap: 16px !important;
        min-height: 0 !important; padding: 2px 0 8px !important; overflow: visible !important;
        background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-hero-copy { min-width: 0 !important; width: 100% !important; max-width: none !important; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-home-datetime { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-hero-card h1 {
        font-size: 26px !important; line-height: 1.25 !important; font-weight: 750 !important;
        color: var(--ep-text) !important; margin: 0 0 6px !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-home-subtitle {
        color: var(--ep-muted) !important; font-size: 13px; line-height: 1.5; margin: 0 0 12px;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-hero-line {
        display: inline-flex !important; flex: 0 0 auto !important; width: auto !important; max-width: none !important;
        align-items: center; gap: 6px !important; margin: 0 !important; white-space: nowrap !important;
        color: var(--ep-muted) !important; font-size: 12px !important; font-weight: 400 !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-hero-line span { white-space: nowrap !important; flex-shrink: 0; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-line-icon {
        width: 14px !important; height: 14px !important; background-color: var(--ep-brand) !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-hero-badge {
        position: static !important; inset: auto !important; display: flex !important; align-items: center; justify-content: center;
        flex: 0 0 48px; width: 48px !important; height: 48px !important; margin: 0 !important;
        min-width: 48px !important; min-height: 48px !important; max-width: 48px !important; max-height: 48px !important;
        visibility: visible !important; opacity: 1 !important; pointer-events: auto !important;
        border: 2px solid var(--ep-surface) !important; outline: 1px solid var(--ep-border);
        border-radius: 50% !important; background: var(--ep-soft) !important; color: var(--ep-brand) !important;
        box-shadow: none !important; transform: none !important; overflow: hidden;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-hero-badge img { width: 100%; height: 100%; object-fit: cover; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-hero-badge span { font-size: 16px; color: var(--ep-brand) !important; background: var(--ep-soft) !important; border: 0 !important; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-glance-grid { gap: 10px !important; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-glance-card {
        display: grid !important; grid-template-columns: 34px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important; align-content: center !important; align-items: center !important;
        min-height: 100px !important; padding: 14px 12px !important; gap: 4px 8px !important; border-radius: 14px !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-glance-card > span {
        grid-column: 1; grid-row: 1 / 3; width: 24px !important; height: 24px !important; margin: 0 !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-glance-card strong {
        grid-column: 2; grid-row: 1; font-size: 13px !important; line-height: 1.4 !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-glance-card small {
        grid-column: 2; grid-row: 2; font-size: 11px !important; line-height: 1.4 !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .is-file-leave small {
        justify-self: start; padding: 2px 6px; border-radius: 6px; font-size: 10px !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign :is(.employee-mobile-requests-heading h2, .employee-mobile-announcement-heading h2) {
        color: var(--ep-text) !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.4 !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-request-tabs { margin-top: 4px !important; gap: 8px !important; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-request-tabs button {
        min-height: 84px; display: flex !important; flex-direction: column-reverse; justify-content: center; gap: 6px;
        padding: 12px 6px !important; border: 1px solid var(--ep-border) !important; border-radius: 12px !important;
        background: var(--ep-bg) !important; box-shadow: none !important; color: var(--ep-text) !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-request-tabs button strong { font-size: 24px !important; color: var(--ep-brand) !important; line-height: 1.2; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-request-tabs button span { color: var(--ep-muted) !important; font-size: 10px !important; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-request-tabs button.is-active { border-color: var(--ep-brand) !important; background: var(--ep-soft) !important; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-announcement-card {
        border: 0 !important; border-left: 3px solid var(--ep-brand) !important; border-radius: 8px !important;
        padding: 12px 14px !important; background: var(--ep-bg) !important;
    }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-announcement-card strong { color: var(--ep-text) !important; font-size: 14px !important; }
    .page:has(.employee-mobile-tabbar) .content.content .employee-home-redesign .employee-mobile-announcement-card p { color: var(--ep-muted) !important; font-weight: 400 !important; font-size: 12px !important; line-height: 1.55 !important; }
}
