.employee-notice-nav > a {
    position: relative;
    min-width: 44px;
    text-align: center;
}

.employee-notice-nav .fa-bell-o {
    font-size: 15px;
}

.employee-notice-badge {
    position: absolute;
    top: 6px;
    right: 5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 10px;
    background: #f5222d;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 13px;
    text-align: center;
}

.employee-notice-mobile-label {
    margin-left: 5px;
}

.employee-notice-drawer {
    position: fixed;
    z-index: 1060;
    top: 50px;
    right: 0;
    bottom: 0;
    display: flex;
    width: 380px;
    max-width: 100vw;
    flex-direction: column;
    border-left: 1px solid #e8edf3;
    background: #fff;
    box-shadow: -8px 0 22px rgba(31, 45, 61, .09);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}

.employee-notice-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.employee-notice-drawer-header {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid #edf0f5;
}

.employee-notice-heading {
    display: flex;
    align-items: center;
    color: #1f2d3d;
    font-size: 17px;
}

.employee-notice-count {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    padding: 0 6px;
    border-radius: 10px;
    background: #2878e5;
    color: #fff;
    font-size: 11px;
}

.employee-notice-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.employee-notice-text-btn,
.employee-notice-close,
.employee-notice-view-all {
    border: 0;
    background: transparent;
    color: #2878e5;
    cursor: pointer;
}

.employee-notice-text-btn {
    padding: 5px 4px;
    font-size: 12px;
}

.employee-notice-close {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 4px;
    color: #77808b;
    font-size: 16px;
}

.employee-notice-close:hover,
.employee-notice-close:focus {
    background: #f3f6f9;
    color: #344050;
}

.employee-notice-tabs {
    display: flex;
    gap: 7px;
    padding: 11px 14px;
    border-bottom: 1px solid #edf0f5;
}

.employee-notice-tabs button {
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid #dfe5ec;
    border-radius: 4px;
    background: #fff;
    color: #4d5968;
    font-size: 13px;
    line-height: 20px;
}

.employee-notice-tabs button:hover,
.employee-notice-tabs button:focus {
    border-color: #8bb8ef;
    color: #2878e5;
}

.employee-notice-tabs button.active {
    border-color: #2878e5;
    background: #2878e5;
    color: #fff;
}

.employee-notice-list {
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1;
    padding: 10px 10px 0;
    overscroll-behavior: contain;
}

.employee-notice-loading,
.employee-notice-empty {
    padding: 52px 20px;
    color: #97a0ad;
    font-size: 13px;
    text-align: center;
}

.employee-notice-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid #e7ebf0;
    border-radius: 7px;
    background: #fff;
}

.employee-notice-item.is-expanded {
    border-left: 3px solid #2878e5;
    box-shadow: 0 2px 8px rgba(31, 45, 61, .04);
}

.employee-notice-item-main {
    display: grid;
    width: 100%;
    min-height: 74px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.employee-notice-item-main:hover,
.employee-notice-item-main:focus {
    background: #f8fbff;
    outline: 0;
}

.employee-notice-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eaf3ff;
    color: #2878e5;
    font-size: 16px;
}

.employee-notice-item[data-category="inventory"] .employee-notice-icon {
    background: #fff3e6;
    color: #f08a24;
}

.employee-notice-item[data-category="price"] .employee-notice-icon,
.employee-notice-item[data-severity="critical"] .employee-notice-icon {
    background: #fff0f0;
    color: #e5484d;
}

.employee-notice-copy {
    min-width: 0;
}

.employee-notice-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.employee-notice-title {
    overflow: hidden;
    color: #263445;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-notice-unread-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #f5222d;
}

.employee-notice-summary {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #687386;
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-notice-meta {
    display: block;
    margin-top: 4px;
    color: #9aa3af;
    font-size: 11px;
    line-height: 16px;
}

.employee-notice-item-side {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 2px;
    color: #98a1ad;
    font-size: 11px;
    white-space: nowrap;
}

.employee-notice-item-side .fa {
    transition: transform .18s ease;
}

.employee-notice-item.is-expanded .employee-notice-item-side .fa {
    transform: rotate(180deg);
}

.employee-notice-detail {
    display: none;
    padding: 0 14px 14px 64px;
}

.employee-notice-item.is-expanded .employee-notice-detail {
    display: block;
}

.employee-notice-progress-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #526070;
    font-size: 12px;
}

.employee-notice-progress-track {
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: #e8edf3;
}

.employee-notice-progress-bar {
    height: 100%;
    border-radius: 3px;
    background: #2878e5;
}

.employee-notice-description {
    margin: 9px 0 10px;
    color: #687386;
    font-size: 12px;
    line-height: 19px;
}

.employee-notice-detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.employee-notice-action {
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid #2878e5;
    border-radius: 4px;
    background: #2878e5;
    color: #fff;
    font-size: 12px;
}

.employee-notice-action:hover,
.employee-notice-action:focus {
    border-color: #1768cd;
    background: #1768cd;
    color: #fff;
}

.employee-notice-snooze {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #2878e5;
    font-size: 12px;
}

.employee-notice-drawer-footer {
    min-height: 48px;
    padding: 8px 14px;
    border-top: 1px solid #edf0f5;
    text-align: center;
}

.employee-notice-view-all {
    min-height: 32px;
    font-size: 13px;
}

.employee-notice-toast-stack {
    position: fixed;
    z-index: 1065;
    top: 60px;
    right: 16px;
    width: 320px;
    max-width: calc(100vw - 24px);
}

.employee-notice-toast {
    position: relative;
    margin-bottom: 8px;
    padding: 11px 34px 11px 42px;
    border: 1px solid #dfe8f4;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(31, 45, 61, .15);
    animation: employee-notice-in .18s ease-out;
}

.employee-notice-toast-icon {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #2878e5;
    font-size: 17px;
}

.employee-notice-toast[data-severity="warning"] .employee-notice-toast-icon {
    color: #f08a24;
}

.employee-notice-toast[data-severity="critical"] {
    border-left: 3px solid #e5484d;
}

.employee-notice-toast[data-severity="critical"] .employee-notice-toast-icon {
    color: #e5484d;
}

.employee-notice-toast-title {
    overflow: hidden;
    color: #263445;
    font-size: 13px;
    font-weight: 600;
    line-height: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-notice-toast-summary {
    overflow: hidden;
    margin-top: 2px;
    color: #687386;
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-notice-toast-close {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #98a1ad;
}

@keyframes employee-notice-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    .employee-notice-drawer {
        width: 100vw;
        max-width: 100vw;
    }

    .employee-notice-toast-stack {
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }

    .employee-notice-detail {
        padding-left: 14px;
    }

    .employee-notice-tabs {
        overflow-x: auto;
    }

    .employee-notice-tabs button,
    .employee-notice-action,
    .employee-notice-snooze,
    .employee-notice-view-all {
        min-height: 40px;
    }

    .employee-notice-close {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .employee-notice-drawer,
    .employee-notice-item-side .fa,
    .employee-notice-toast {
        animation: none;
        transition: none;
    }
}
