.isms-whats-new-modal,
.whats-new-confirm-modal {
    --whats-new-blue: var(--isms-nav-blue, #054cd4);
    --whats-new-blue-dark: var(--isms-nav-blue-dark, #043da9);
    --whats-new-blue-soft: var(--isms-nav-blue-soft, #edf3ff);
    --whats-new-heading: var(--isms-nav-heading, #212832);
    --whats-new-text: var(--isms-nav-text, #4a515b);
    --whats-new-muted: var(--isms-nav-muted, #69707a);
    --whats-new-border: var(--isms-nav-border, #d4dae3);
    --whats-new-surface: var(--isms-nav-surface, #ffffff);
    --whats-new-focus: var(--isms-nav-focus, rgba(5, 76, 212, 0.18));
}

.isms-topbar .whats-new-topbar-trigger {
    position: relative;
    margin-right: 0.25rem;
}

.isms-topbar .whats-new-topbar-trigger .mdi {
    line-height: 1;
}

.isms-whats-new-modal .modal-dialog {
    width: min(43rem, calc(100% - 1.25rem));
    max-width: 43rem;
    margin-inline: auto;
}

.isms-whats-new-modal .modal-content,
.whats-new-confirm-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--whats-new-border);
    border-radius: 0.9rem;
    background-color: var(--whats-new-surface);
    box-shadow: 0 22px 55px rgba(33, 40, 50, 0.2);
}

.whats-new-modal-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.8rem;
    padding: 1rem 1.1rem 0.9rem;
    border-bottom: 1px solid var(--whats-new-border);
    background-color: #f5f8fe;
}

.whats-new-modal-icon {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border-radius: 0.72rem;
    background-color: var(--whats-new-blue-soft);
    color: var(--whats-new-blue);
    font-size: 1.35rem;
}

.whats-new-modal-header small,
.whats-new-confirm-modal .modal-header small {
    color: var(--whats-new-blue);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.whats-new-modal-header h2,
.whats-new-confirm-modal .modal-title {
    margin: 0.08rem 0 0;
    color: var(--whats-new-heading);
    font-size: 1.05rem;
    font-weight: 750;
}

.whats-new-modal-header p {
    margin: 0.2rem 0 0;
    color: var(--whats-new-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.whats-new-close {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    background-color: transparent;
    color: var(--whats-new-muted);
    font-size: 1.15rem;
}

.whats-new-close:hover {
    border-color: var(--whats-new-border);
    background-color: #ffffff;
    color: var(--whats-new-heading);
}

.whats-new-close:focus-visible {
    border-color: var(--whats-new-blue);
    box-shadow: 0 0 0 0.2rem var(--whats-new-focus);
    outline: 0;
}

.isms-whats-new-modal .whats-new-modal-body {
    max-height: min(64vh, 34rem);
    padding: 1rem 1.1rem;
}

.whats-new-loading {
    display: flex;
    min-height: 9rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: var(--whats-new-muted);
    font-size: 0.75rem;
}

.whats-new-intro {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.72rem;
    border: 1px solid #cbdaf8;
    border-radius: 0.65rem;
    background-color: #f5f8fe;
    color: #24467f;
    font-size: 0.7rem;
    font-weight: 650;
}

.whats-new-timeline {
    display: grid;
    gap: 0.75rem;
}

.whats-new-entry {
    position: relative;
    padding: 0.85rem 0.9rem 0.85rem 1rem;
    border: 1px solid #e3e8ef;
    border-radius: 0.72rem;
    background-color: #ffffff;
}

.whats-new-entry::before {
    position: absolute;
    top: 0.85rem;
    bottom: 0.85rem;
    left: 0;
    width: 0.2rem;
    border-radius: 0 0.2rem 0.2rem 0;
    background-color: var(--whats-new-blue);
    content: "";
}

.whats-new-entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.42rem;
}

.whats-new-entry-meta time {
    margin-left: auto;
    color: var(--whats-new-muted);
    font-size: 0.65rem;
    font-weight: 650;
}

.whats-new-category,
.whats-new-version {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    font-size: 0.61rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
}

.whats-new-category.is-feature {
    background-color: #eaf1ff;
    color: #064bc8;
}

.whats-new-category.is-fix {
    background-color: #fdf0ee;
    color: #b83b2e;
}

.whats-new-category.is-improvement {
    background-color: #edf8ea;
    color: #26780d;
}

.whats-new-version {
    border: 1px solid #dce2ea;
    background-color: #f7f9fb;
    color: var(--whats-new-text);
}

.whats-new-entry h3 {
    margin: 0.58rem 0 0.25rem;
    color: var(--whats-new-heading);
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.35;
}

.whats-new-description {
    color: var(--whats-new-text);
    font-size: 0.72rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.whats-new-empty {
    display: grid;
    min-height: 12rem;
    place-items: center;
    align-content: center;
    padding: 1rem;
    text-align: center;
}

.whats-new-empty > span {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 0.8rem;
    background-color: var(--whats-new-blue-soft);
    color: var(--whats-new-blue);
    font-size: 1.4rem;
}

.whats-new-empty h3 {
    margin: 0.7rem 0 0.18rem;
    color: var(--whats-new-heading);
    font-size: 0.87rem;
    font-weight: 750;
}

.whats-new-empty p {
    margin: 0;
    color: var(--whats-new-muted);
    font-size: 0.7rem;
}

.whats-new-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.78rem 1.1rem;
    border-top: 1px solid var(--whats-new-border);
    background-color: #fbfcfd;
}

.whats-new-footer-note {
    color: var(--whats-new-muted);
    font-size: 0.64rem;
}

.isms-whats-new-modal .cc-button {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.82rem;
    border: 1px solid var(--whats-new-blue);
    border-radius: 0.58rem;
    background-color: var(--whats-new-blue);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 750;
}

.isms-whats-new-modal .cc-button:hover {
    border-color: var(--whats-new-blue-dark);
    background-color: var(--whats-new-blue-dark);
}

.whats-new-admin-toolbar {
    grid-template-columns: repeat(3, minmax(10rem, 1fr)) minmax(5rem, 0.4fr) auto !important;
}

.whats-new-filter-field {
    width: auto !important;
}

.whats-new-admin-table {
    min-width: 68rem;
}

.whats-new-admin-table .cc-actions-heading,
.whats-new-admin-table td:last-child {
    position: sticky;
    right: 0;
    width: 7rem;
    min-width: 7rem;
    z-index: 2;
    box-shadow: -0.55rem 0 0.8rem -0.75rem rgba(33, 40, 50, 0.35);
}

.whats-new-admin-table .cc-actions-heading {
    z-index: 3;
    background-color: var(--record-page, #f2f6fc);
}

.whats-new-admin-table td:last-child {
    background-color: var(--record-surface, #ffffff);
}

.whats-new-admin-table tbody tr:hover td:last-child {
    background-color: #fafbfd;
}

.whats-new-edit-action {
    width: auto !important;
    min-width: 3.85rem;
    gap: 0.28rem;
    padding: 0 0.55rem;
    color: var(--record-blue-dark, #043da9) !important;
    font-size: 0.67rem !important;
    font-weight: 750;
}

.whats-new-admin-title {
    display: grid;
    max-width: 30rem;
    gap: 0.16rem;
}

.whats-new-admin-title strong {
    color: var(--record-heading, #212832);
    font-size: 0.75rem;
}

.whats-new-admin-title span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--record-muted, #69707a);
    font-size: 0.67rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.whats-new-admin-title small {
    color: var(--record-blue, #054cd4);
    font-size: 0.61rem;
    font-weight: 700;
}

.cc-action-button.is-danger {
    color: #bd3427;
}

.cc-action-button.is-danger:hover {
    border-color: #efc8c4;
    background-color: #fdf1f0;
    color: #9c2e25;
}

.whats-new-description-input {
    min-height: 10rem;
    resize: vertical;
}

.whats-new-published-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding: 0.65rem 0.72rem;
    border: 1px solid #cbdaf8;
    border-radius: 0.62rem;
    background-color: #f5f8fe;
    color: #38527d;
    font-size: 0.68rem;
    line-height: 1.5;
}

.whats-new-confirm-modal .modal-header {
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-bottom-color: var(--whats-new-border);
    background-color: #fdf8f7;
}

.whats-new-confirm-modal .modal-body,
.whats-new-confirm-modal .modal-footer {
    padding: 0.9rem 1rem;
}

.whats-new-confirm-modal .modal-body p {
    margin: 0 0 0.15rem;
    color: var(--whats-new-muted);
    font-size: 0.72rem;
}

.whats-new-confirm-modal .modal-body > strong {
    color: var(--whats-new-heading);
    font-size: 0.78rem;
}

.whats-new-delete-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding: 0.62rem;
    border: 1px solid #efc8c4;
    border-radius: 0.58rem;
    background-color: #fdf1f0;
    color: #8f3027;
    font-size: 0.67rem;
    line-height: 1.45;
}

.whats-new-delete-button {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid #c43a2d;
    border-radius: 0.58rem;
    background-color: #c43a2d;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 750;
}

.whats-new-delete-button:hover {
    border-color: #9f2f25;
    background-color: #9f2f25;
}

@media (max-width: 991.98px) {
    .whats-new-admin-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    .whats-new-modal-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding-inline: 0.85rem;
    }

    .isms-whats-new-modal .whats-new-modal-body,
    .whats-new-modal-footer {
        padding-inline: 0.85rem;
    }

    .whats-new-modal-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .whats-new-footer-note {
        text-align: center;
    }

    .whats-new-entry-meta time {
        width: 100%;
        margin-left: 0;
    }

    .whats-new-admin-toolbar {
        grid-template-columns: 1fr !important;
    }
}
