.system-notifications[hidden] { display: none !important; }
.system-notifications {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 37, 42, .5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.system-notifications-dialog {
    box-sizing: border-box;
    width: 45vw;
    max-height: 75vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 32px 36px 28px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-top: 4px solid #328b8e;
    border-radius: 24px;
    background: linear-gradient(180deg, #f0f9f8 0, #fff 150px);
    box-shadow: 0 24px 80px rgba(10, 40, 45, .25), 0 4px 16px rgba(10, 40, 45, .1);
    color: #31484b;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    scrollbar-width: thin;
    scrollbar-color: #9fc9c7 transparent;
    animation: system-notifications-enter .2s ease-out;
}
.system-notifications-item { white-space: pre-wrap; overflow-wrap: anywhere; }
.system-notifications-item + .system-notifications-item {
    border-top: 1px dashed #c9dedd;
    margin-top: 24px;
    padding-top: 24px;
}
.system-notifications-close {
    display: block;
    min-width: 144px;
    min-height: 44px;
    margin: 28px auto 0;
    padding: 8px 32px;
    border: 1px solid #267d80;
    border-radius: 12px;
    background: #267d80;
    box-shadow: 0 4px 10px rgba(38, 125, 128, .16);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s, box-shadow .15s;
}
.system-notifications-close:hover {
    background: #1e686b;
    box-shadow: 0 5px 14px rgba(38, 125, 128, .25);
}
.system-notifications-close:focus-visible,
.system-notifications-dialog:focus-visible {
    outline: 3px solid #267d80;
    outline-offset: 4px;
}
body.system-notifications-open { overflow: hidden; }
@keyframes system-notifications-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
    .system-notifications-dialog {
        width: 90vw;
        max-height: 60vh;
        padding: 24px 24px 22px;
        border-radius: 22px;
    }
    .system-notifications-close { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .system-notifications-dialog { animation: none; }
    .system-notifications-close { transition: none; }
}
