/* DEV-1.10B / DEV-1.11 | Shared Home Alert Panels */

.work-home-alerts {
    min-height: 0;

    padding:
        2px
        10px
        8px;
}

.work-home-alerts__list {
    height: 100%;
    min-height: 0;

    overflow: auto;

    scrollbar-width: thin;
}

.work-home-alerts__item {
    display: grid;
    grid-template-columns:
        minmax(86px, auto)
        minmax(0, 1fr);

    align-items: center;
    gap: 8px;

    min-height: 28px;

    padding: 4px 2px;

    border-bottom:
        1px solid #edf2f5;
}

.work-home-alerts__item:last-child {
    border-bottom: 0;
}

.work-home-alerts__badge {
    min-width: 0;
}

.work-home-alerts__text {
    min-width: 0;
}

.work-home-alerts__title,
.work-home-alerts__message {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-home-alerts__title {
    color: #294b5b;

    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
}

.work-home-alerts__message {
    margin-top: 1px;

    color: #82939d;

    font-size: 10px;
    line-height: 1.2;
}

.work-home-alerts__empty {
    display: grid;
    place-items: center;

    min-height: 105px;

    color: #8b9aa4;

    font-size: 12px;
    text-align: center;
}

.work-home-alerts[aria-busy="true"] {
    opacity: 0.75;
}

@media (max-width: 900px) {
    .work-home-alerts__item {
        grid-template-columns:
            minmax(78px, auto)
            minmax(0, 1fr);
    }
}


/* DEV-1.10B1 | 30/32 internal-scroll containment. */

.work-home-alerts {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;

    overflow: hidden;
}

.work-home-alerts__list {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;
}
