.mes-notification-stack {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 10070;
    display: flex;
    width: 620px;
    max-width: 100vw;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 60px 60px;
    gap: 0;
    box-sizing: border-box;
    pointer-events: none;
}

.mes-notification-stack__items {
    display: flex;
    width: 620px;
    max-height: calc(100vh - 60px - var(--mes-toast-action-height, 0px));
    max-height: calc(100dvh - 60px - var(--mes-toast-action-height, 0px));
    flex: 0 1 auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    margin-bottom: -60px;
    padding: 0 60px 60px;
    box-sizing: border-box;
    pointer-events: none;
    transform: translateX(60px);
}

.mes-notification-stack__items.has-overflow {
    mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.58) 32px, #000000 72px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.58) 32px, #000000 72px);
}

.mes-notification-stack.has-dismiss-action {
    --mes-toast-action-height: 52px;
}

.mes-notification {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: 500px;
    max-width: 500px;
    height: 72px;
    margin-top: 12px;
    padding: 15px;
    gap: 16px;
    color: #1f1f1f;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 20px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
    overflow: hidden;
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
    transition:
        height 240ms ease-out,
        margin-top 240ms ease-out,
        padding-top 240ms ease-out,
        padding-bottom 240ms ease-out,
        border-color 150ms ease-out,
        transform 240ms cubic-bezier(0.4, 0, 0.2, 1),
        opacity 200ms ease-in;
}

.mes-notification:first-child {
    margin-top: 0;
}

.mes-notification-stack__dismiss {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 500px;
    max-width: 500px;
    height: 40px;
    margin-top: 12px;
    padding: 0 18px;
    gap: 10px;
    color: #1f1f1f;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 20px;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    overflow: hidden;
    transition:
        height 180ms ease-out,
        margin-top 180ms ease-out,
        border-color 150ms ease-out,
        opacity 150ms ease-out,
        transform 180ms ease-out;
}

.mes-notification-stack__dismiss:hover {
    border-color: #a3a3a3;
}

.mes-notification-stack__dismiss:focus-visible {
    border-color: #a3a3a3;
    outline: 2px solid #1f1f1f;
    outline-offset: 2px;
}

.mes-notification-stack__dismiss.is-hidden {
    height: 0;
    margin-top: 0;
    border-width: 0;
    border-color: transparent;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
}

.mes-notification-stack__dismiss-icon {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url('/soto-icons/close.svg') center / contain no-repeat;
    -webkit-mask: url('/soto-icons/close.svg') center / contain no-repeat;
}

.mes-notification:hover,
.mes-notification:focus {
    color: #1f1f1f;
    text-decoration: none;
}

.mes-notification:hover,
.mes-notification:focus-visible {
    border-color: #a3a3a3;
}

.mes-notification:focus {
    outline: none;
}

.mes-notification.is-entering {
    height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
    transform: translateY(24px);
    opacity: 0;
}

.mes-notification.is-leaving {
    pointer-events: none;
    transform: translateX(44px);
    opacity: 0;
}

.mes-notification.is-obscured {
    pointer-events: none;
}

.mes-notification.is-collapsing {
    height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.mes-notification__icon-button {
    position: relative;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(31, 31, 31, 0.07);
}

.mes-notification__leading-image {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

.mes-notification__icon {
    display: block;
    width: 16px;
    height: 16px;
    background: #1f1f1f;
    mask: url('/soto-icons/group.svg') center / contain no-repeat;
    -webkit-mask: url('/soto-icons/group.svg') center / contain no-repeat;
}

.mes-notification--hr .mes-notification__icon-button {
    background: rgba(46, 187, 122, 0.12);
}

.mes-notification--hr .mes-notification__icon {
    background: #2ebb7a;
}

.mes-notification--hr-scheduled .mes-notification__icon-button {
    background: rgba(46, 187, 122, 0.12);
}

.mes-notification--hr-scheduled .mes-notification__icon {
    background: #2ebb7a;
}

.mes-notification--hr-manual .mes-notification__icon-button {
    background: rgba(91, 110, 225, 0.12);
}

.mes-notification--hr-manual .mes-notification__icon {
    background: #5b6ee1;
}

.mes-notification--hr-callback .mes-notification__icon-button {
    background: rgba(15, 159, 143, 0.12);
}

.mes-notification--hr-callback .mes-notification__icon {
    background: #0f9f8f;
}

.mes-notification--hr-ai .mes-notification__icon-button {
    background: rgba(139, 92, 246, 0.12);
}

.mes-notification--hr-ai .mes-notification__icon {
    background: #8b5cf6;
}

.mes-notification--payment-approval .mes-notification__icon-button,
.mes-notification--payment .mes-notification__icon-button {
    background: rgba(183, 121, 31, 0.13);
}

.mes-notification--payment-approval .mes-notification__icon,
.mes-notification--payment .mes-notification__icon {
    background: #b7791f;
}

.mes-notification--payment-approved .mes-notification__icon-button {
    background: rgba(32, 106, 93, 0.12);
}

.mes-notification--payment-approved .mes-notification__icon {
    background: #206a5d;
}

.mes-notification--chat-message .mes-notification__icon-button {
    background: rgba(47, 128, 237, 0.1);
}

.mes-notification--chat-message .mes-notification__icon {
    background: #2f80ed;
}

.mes-notification--chat-mention .mes-notification__icon-button {
    background: rgba(209, 128, 67, 0.12);
}

.mes-notification--chat-mention .mes-notification__icon {
    background: #d18043;
}

.mes-notification--task-move .mes-notification__icon-button {
    background: rgba(91, 110, 225, 0.12);
}

.mes-notification--task-move .mes-notification__icon {
    background: #5b6ee1;
}

.mes-notification--task-completed .mes-notification__icon-button {
    background: rgba(46, 187, 122, 0.12);
}

.mes-notification--task-completed .mes-notification__icon {
    background: #2ebb7a;
}

.mes-notification--task-status .mes-notification__icon-button {
    background: rgba(31, 31, 31, 0.07);
}

.mes-notification--task-status .mes-notification__icon {
    background: #737373;
}

.mes-notification--task-assignees .mes-notification__icon-button {
    background: rgba(15, 159, 143, 0.12);
}

.mes-notification--task-assignees .mes-notification__icon {
    background: #0f9f8f;
}

.mes-notification--task-deadline .mes-notification__icon-button {
    background: rgba(183, 121, 31, 0.13);
}

.mes-notification--task-deadline .mes-notification__icon {
    background: #b7791f;
}

.mes-notification--task-column .mes-notification__icon-button {
    background: rgba(139, 92, 246, 0.12);
}

.mes-notification--task-column .mes-notification__icon {
    background: #8b5cf6;
}

.mes-notification--error .mes-notification__icon-button {
    background: rgba(224, 54, 54, 0.1);
}

.mes-notification--error .mes-notification__icon {
    background: #e03636;
    mask: url('/soto-icons/remove_user.svg') center / contain no-repeat;
    -webkit-mask: url('/soto-icons/remove_user.svg') center / contain no-repeat;
}

.mes-notification__content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.mes-notification__title {
    width: 100%;
    overflow: hidden;
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mes-notification__meta {
    display: flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    gap: 4px;
    overflow: hidden;
    font-size: 12px;
    line-height: 14px;
}

.mes-notification__avatar {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 10px;
    object-fit: cover;
    background: #f0f0f0;
}

.mes-notification__actor {
    flex: 0 0 auto;
    max-width: 120px;
    overflow: hidden;
    color: #1f1f1f;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mes-notification__body {
    min-width: 0;
    overflow: hidden;
    color: #a3a3a3;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mes-notification__emphasis {
    flex: 0 0 auto;
    max-width: 160px;
    overflow: hidden;
    color: #1f1f1f;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mes-notification--error .mes-notification__actor,
.mes-notification--error .mes-notification__body,
.mes-notification--error .mes-notification__emphasis {
    color: #e03636;
}

.mes-notification--chat .mes-notification__body {
    color: #1f1f1f;
}

.notification-panel {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding-top: var(--notification-filter-height, 71px);
    padding-bottom: var(--notification-actions-height, 71px);
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    overscroll-behavior: contain;
}

.notification-panel-filter {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 20px;
    overflow: visible;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
    scrollbar-width: none;
}

.notification-panel-filter::-webkit-scrollbar {
    display: none;
}

.notification-panel-filter__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 30px;
    min-width: 0;
    padding: 0 14px;
    gap: 8px;
    color: #1f1f1f;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
    cursor: pointer;
}

.notification-panel-filter__button:hover,
.notification-panel-filter__button:focus-visible {
    background: #ffffff;
    border-color: #a3a3a3;
}

.notification-panel-filter__button.is-active {
    color: #ffffff;
    background: #1f1f1f;
    border-color: #1f1f1f;
}

.notification-panel-filter__button.is-active:hover,
.notification-panel-filter__button.is-active:focus-visible {
    background: #1f1f1f;
    border-color: #1f1f1f;
}

.notification-panel-filter__icon,
.notification-panel-filter__icon .soto-icon,
.notification-panel-filter__icon svg {
    display: block;
    width: 14px;
    height: 14px;
}

.notification-panel-filter__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-panel-filter__unread-dot {
    display: block;
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    background: #d18043;
    border-radius: 50%;
}

.notification-panel__list {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    overflow: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
}

.notification-panel-actions {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.notification-panel-actions__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
}

.notification-panel-action,
.notification-settings-modal__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 30px;
    padding: 0 14px;
    gap: 8px;
    color: #1f1f1f;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
}

.notification-panel-action {
    width: 100%;
    border-radius: 8px;
}

.notification-panel-action:hover,
.notification-panel-action:focus-visible,
.notification-settings-modal__button:hover,
.notification-settings-modal__button:focus-visible {
    background: #ffffff;
    border-color: #a3a3a3;
}

.notification-panel-action:focus-visible,
.notification-settings-modal__button:focus-visible,
.notification-settings-modal__close:focus-visible {
    outline: 2px solid #1f1f1f;
    outline-offset: 2px;
}

.notification-panel-action.is-active,
.notification-settings-modal__button--primary {
    color: #ffffff;
    background: #1f1f1f;
    border-color: #1f1f1f;
}

.notification-panel-action.is-active:hover,
.notification-panel-action.is-active:focus-visible,
.notification-settings-modal__button--primary:hover,
.notification-settings-modal__button--primary:focus-visible {
    color: #ffffff;
    background: #1f1f1f;
    border-color: #1f1f1f;
}

.notification-panel-action--dnd.is-active {
    color: #ffffff;
    background: #e03736;
    border-color: #e03736;
}

.notification-panel-action--dnd.is-active:hover,
.notification-panel-action--dnd.is-active:focus-visible {
    color: #ffffff;
    background: #b32c2b;
    border-color: #b32c2b;
}

.notification-panel-action:disabled,
.notification-settings-modal__button:disabled {
    cursor: default;
    opacity: 0.55;
}

.notification-settings-modal__button {
    border-radius: 8px;
}

.notification-panel-action__icon,
.notification-panel-action__icon .soto-icon,
.notification-panel-action__icon svg {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.notification-panel-action__icon--disable-dnd {
    display: none;
}

.notification-panel-action.is-active .notification-panel-action__icon--enable-dnd {
    display: none;
}

.notification-panel-action.is-active .notification-panel-action__icon--disable-dnd {
    display: block;
}

.notification-panel-preference-status {
    color: #737373;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
}

.notification-panel-preference-status.is-error {
    color: #e03636;
}

.notification-panel-preference-status[hidden] {
    display: none;
}

.notification-settings-modal {
    position: absolute;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    padding: 0;
    box-sizing: border-box;
}

.notification-settings-modal[hidden] {
    display: none;
}

.notification-settings-modal__backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(31, 31, 31, 0.35);
    border: 0;
    cursor: default;
}

.notification-settings-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: none;
    max-height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.notification-settings-modal__header {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 14px 16px 14px 20px;
    gap: 12px;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.notification-settings-modal__title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #1f1f1f;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
}

.notification-settings-modal__close {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #1f1f1f;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
    cursor: pointer;
}

.notification-settings-modal__close:hover {
    border-color: #a3a3a3;
}

.notification-settings-modal__close-icon,
.notification-settings-modal__close-icon .soto-icon,
.notification-settings-modal__close-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.notification-settings-modal__body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    overflow: auto;
    overscroll-behavior: contain;
}

.notification-settings-modal__sources {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-settings-push {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.notification-settings-push__button {
    width: auto;
    max-width: 100%;
}

.notification-settings-push__button.is-active {
    color: #1f1f1f;
    background: #ffffff;
    border-color: #a3a3a3;
}

.notification-settings-push__button-icon,
.notification-settings-push__button-icon .soto-icon,
.notification-settings-push__button-icon svg {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.notification-settings-push__status {
    max-width: 100%;
    color: #737373;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    overflow-wrap: anywhere;
}

.notification-settings-push__status.is-success {
    color: #52962a;
}

.notification-settings-push__status.is-error {
    color: #e03736;
}

.notification-settings-source {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
}

.notification-settings-source:hover {
    border-color: #d6d6d6;
}

.notification-settings-source__main {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.notification-settings-source__icon-svg,
.notification-settings-source__icon-svg .soto-icon,
.notification-settings-source__icon-svg svg {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.notification-settings-source__label {
    min-width: 0;
    overflow: hidden;
    color: #1f1f1f;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-settings-source__control {
    position: relative;
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.notification-settings-source__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    opacity: 0;
}

.notification-settings-source__checkbox {
    display: block;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 1px solid #a3a3a3;
    border-radius: 5px;
    box-sizing: border-box;
}

.notification-settings-source__input:checked + .notification-settings-source__checkbox {
    background: #1f1f1f;
    border-color: #1f1f1f;
}

.notification-settings-source__input:checked + .notification-settings-source__checkbox::after {
    display: block;
    width: 10px;
    height: 6px;
    margin: 5px 0 0 4px;
    content: '';
    border-bottom: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.notification-settings-source__input:focus-visible + .notification-settings-source__checkbox {
    outline: 2px solid #1f1f1f;
    outline-offset: 2px;
}

.notification-settings-modal__status {
    margin: 0 20px;
}

.notification-settings-modal__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    padding: 16px 20px 20px;
    gap: 10px;
    border-top: 1px solid #e5e5e5;
}

.notification-panel__empty-filter {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 24px;
    color: #737373;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.notification-panel__empty-filter[hidden] {
    display: none;
}

.notification-panel__scroll-sentinel {
    flex: 0 0 1px;
    width: 100%;
    min-height: 1px;
    pointer-events: none;
}

.notification-panel__scroll-sentinel[hidden] {
    display: none;
}

.notification-panel-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-panel-section__title {
    margin: 0;
    color: #a3a3a3;
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    text-transform: uppercase;
}

.notification-panel-section__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.notification-panel-card {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 10px;
    gap: 10px;
    color: #1f1f1f;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    box-sizing: border-box;
    text-decoration: none;
    transition: border-color 150ms ease-out;
}

.notification-panel-group {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 64px;
    box-sizing: border-box;
    cursor: pointer;
    transition: height 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-panel-group[hidden] {
    display: none !important;
}

.notification-panel-group > .notification-panel-card {
    position: absolute;
    z-index: var(--notification-group-z, 100);
    top: var(--notification-group-collapsed-top, 0);
    left: var(--notification-group-collapsed-left, 0);
    width: calc(100% - var(--notification-group-collapsed-inset, 0px));
    min-height: 64px;
    height: 64px;
    overflow: hidden;
    transition:
        top 280ms cubic-bezier(0.4, 0, 0.2, 1),
        left 280ms cubic-bezier(0.4, 0, 0.2, 1),
        width 280ms cubic-bezier(0.4, 0, 0.2, 1),
        background-color 220ms ease-out,
        border-color 150ms ease-out,
        opacity 200ms ease-out;
}

.notification-panel-group:not(.is-expanded) > .notification-panel-card:not(.is-group-primary) {
    pointer-events: none;
}

.notification-panel-group:not(.is-expanded) > .notification-panel-card.is-group-layer-one {
    background: #fafafa;
    border-color: #e5e5e5;
}

.notification-panel-group:not(.is-expanded) > .notification-panel-card.is-group-layer-two {
    background: #f5f5f5;
    border-color: #e5e5e5;
}

.notification-panel-group > .notification-panel-card.is-group-hidden {
    pointer-events: none;
    opacity: 0;
}

.notification-panel-group.is-expanded {
    cursor: default;
}

.notification-panel-group.is-expanded > .notification-panel-card {
    top: var(--notification-group-expanded-top, 42px);
    left: 14px;
    width: calc(100% - 28px);
    background: #ffffff;
    border-color: #e5e5e5;
    pointer-events: auto;
    opacity: 1;
}

.notification-panel-group__collapse {
    position: absolute;
    z-index: 160;
    top: 0;
    right: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 30px;
    padding: 0 14px;
    gap: 8px;
    color: #1f1f1f;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 16px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        border-color 150ms ease-out,
        opacity 180ms ease-out,
        transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-panel-group.is-expanded > .notification-panel-group__collapse {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.notification-panel-group__collapse:hover,
.notification-panel-group__collapse:focus-visible {
    background: #ffffff;
    border-color: #a3a3a3;
}

.notification-panel-group__collapse:focus-visible {
    outline: 2px solid #1f1f1f;
    outline-offset: 2px;
}

.notification-panel-group__collapse-icon {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url('/soto-icons/dropdown_close.svg') center / contain no-repeat;
    -webkit-mask: url('/soto-icons/dropdown_close.svg') center / contain no-repeat;
}

.notification-panel-card[hidden] {
    display: none !important;
}

.notification-panel-card:hover,
.notification-panel-card:focus-visible,
.notification-panel-group.is-expanded > .notification-panel-card:hover,
.notification-panel-group.is-expanded > .notification-panel-card:focus-visible {
    border-color: #a3a3a3;
    text-decoration: none;
}

.notification-panel-card:focus {
    outline: none;
    text-decoration: none;
}

.notification-panel-card__icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #1f1f1f;
    background: rgba(31, 31, 31, 0.07);
    border-radius: 8px;
}

.notification-panel-card__leading {
    position: relative;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.notification-panel-card__group-count {
    position: absolute;
    z-index: 4;
    top: -6px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    color: #ffffff;
    background: #d18043;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 0;
    pointer-events: none;
    opacity: 1;
    transform: scale(1);
    transform-origin: center;
    transition:
        opacity 150ms ease-out,
        transform 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-panel-card__group-count.is-hidden {
    opacity: 0;
    transform: scale(0.75);
}

.notification-panel-card__icon .soto-icon,
.notification-panel-card__icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.notification-panel-card__leading-image {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

.notification-panel-card__content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.notification-panel-card__head {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
}

.notification-panel-card__title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-panel-card__time {
    flex: 0 0 auto;
    color: #a3a3a3;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    white-space: nowrap;
}

.notification-panel-card__meta {
    display: flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    gap: 4px;
    overflow: hidden;
    font-size: 12px;
    line-height: 14px;
}

.notification-panel-card__avatar {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 10px;
    object-fit: cover;
    background: #f0f0f0;
}

.notification-panel-card__actor {
    flex: 0 0 auto;
    max-width: 120px;
    overflow: hidden;
    color: #1f1f1f;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-panel-card__body {
    min-width: 0;
    overflow: hidden;
    color: #a3a3a3;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-panel-card__emphasis {
    flex: 0 0 auto;
    max-width: 160px;
    overflow: hidden;
    color: #1f1f1f;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-panel-card__status,
.notification-panel-card__separator {
    flex: 0 0 auto;
    font-weight: 500;
    white-space: nowrap;
}

.notification-panel-card__status--success {
    color: #2ebb7a;
}

.notification-panel-card__status--error {
    color: #e03636;
}

.notification-panel-card__separator {
    color: #a3a3a3;
}

.notification-panel-card--vacation .notification-panel-card__icon {
    color: #d18043;
    background: rgba(209, 128, 67, 0.12);
}

.notification-panel-card--document .notification-panel-card__icon {
    color: #2f80ed;
    background: rgba(47, 128, 237, 0.1);
}

.notification-panel-card--hr .notification-panel-card__icon {
    color: #2ebb7a;
    background: rgba(46, 187, 122, 0.12);
}

.notification-panel-card--hr-scheduled .notification-panel-card__icon {
    color: #2ebb7a;
    background: rgba(46, 187, 122, 0.12);
}

.notification-panel-card--hr-manual .notification-panel-card__icon {
    color: #5b6ee1;
    background: rgba(91, 110, 225, 0.12);
}

.notification-panel-card--hr-callback .notification-panel-card__icon {
    color: #0f9f8f;
    background: rgba(15, 159, 143, 0.12);
}

.notification-panel-card--hr-ai .notification-panel-card__icon {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
}

.notification-panel-card--payment .notification-panel-card__icon,
.notification-panel-card--payment-approval .notification-panel-card__icon {
    color: #b7791f;
    background: rgba(183, 121, 31, 0.13);
}

.notification-panel-card--payment-approved .notification-panel-card__icon {
    color: #206a5d;
    background: rgba(32, 106, 93, 0.12);
}

.notification-panel-card--chat-message .notification-panel-card__icon {
    color: #2f80ed;
    background: rgba(47, 128, 237, 0.1);
}

.notification-panel-card--chat-mention .notification-panel-card__icon {
    color: #d18043;
    background: rgba(209, 128, 67, 0.12);
}

.notification-panel-card--task-move .notification-panel-card__icon {
    color: #5b6ee1;
    background: rgba(91, 110, 225, 0.12);
}

.notification-panel-card--task-completed .notification-panel-card__icon {
    color: #2ebb7a;
    background: rgba(46, 187, 122, 0.12);
}

.notification-panel-card--task-status .notification-panel-card__icon {
    color: #737373;
    background: rgba(31, 31, 31, 0.07);
}

.notification-panel-card--task-assignees .notification-panel-card__icon {
    color: #0f9f8f;
    background: rgba(15, 159, 143, 0.12);
}

.notification-panel-card--task-deadline .notification-panel-card__icon {
    color: #b7791f;
    background: rgba(183, 121, 31, 0.13);
}

.notification-panel-card--task-column .notification-panel-card__icon {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
}

.notification-panel-card--error .notification-panel-card__icon {
    color: #e03636;
    background: rgba(224, 54, 54, 0.1);
}

.notification-panel-card--error .notification-panel-card__actor,
.notification-panel-card--error .notification-panel-card__body,
.notification-panel-card--error .notification-panel-card__emphasis {
    color: #e03636;
}

.notification-panel-card--chat .notification-panel-card__body {
    color: #1f1f1f;
}

@media (max-width: 640px) {
    .mes-notification-stack {
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        align-items: stretch;
        padding: 0 16px 16px;
    }

    .mes-notification-stack__items {
        width: calc(100% + 32px);
        max-height: calc(100vh - 16px - var(--mes-toast-action-height, 0px));
        max-height: calc(100dvh - 16px - var(--mes-toast-action-height, 0px));
        align-items: stretch;
        margin-bottom: -16px;
        margin-left: -16px;
        padding: 0 16px 16px;
        transform: none;
    }

    .mes-notification {
        width: 100%;
        max-width: none;
        border-radius: 16px;
    }

    .mes-notification-stack__dismiss {
        width: 100%;
        max-width: none;
        border-radius: 16px;
    }

    .notification-panel-card {
        align-items: flex-start;
        min-height: 64px;
        border-radius: 16px;
    }

    .notification-panel-card__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .notification-panel-group > .notification-panel-card {
        align-items: center;
    }

    .notification-panel-group .notification-panel-card__head {
        align-items: center;
        flex-direction: row;
        gap: 12px;
    }

    .notification-panel-actions {
        padding: 16px;
    }

    .notification-panel-actions__buttons {
        align-items: stretch;
    }

    .notification-settings-modal__dialog {
        border-radius: 16px 16px 0 0;
    }

    .notification-settings-modal__footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .notification-settings-modal__footer .notification-settings-push {
        grid-column: 1 / -1;
    }

    .notification-settings-modal__footer .notification-settings-modal__button {
        width: 100%;
    }
}
