.latest-notes-card {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-top: 4px solid #1e5aa8;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(18, 47, 82, .07);
    transition: box-shadow .25s ease;
}

.latest-notes-card:hover {
    box-shadow: 0 14px 34px rgba(18, 47, 82, .11);
}

.latest-notes-card__toggle {
    display: flex;
    width: 100%;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 20px 24px;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.latest-notes-card__toggle:focus-visible {
    outline: 3px solid rgba(30, 90, 168, .22);
    outline-offset: -3px;
}

.latest-notes-card__main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 17px;
}

.latest-notes-card__icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 14px;
    color: #1e5aa8;
    background: #eef5fc;
}

.latest-notes-card__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.latest-notes-card__copy {
    display: block;
    min-width: 0;
}

.latest-notes-card__copy strong,
.latest-notes-card__copy small {
    display: block;
}

.latest-notes-card__copy strong {
    color: #18365d;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.latest-notes-card__copy small {
    margin-top: 5px;
    color: #718096;
    font-size: .78rem;
    line-height: 1.4;
}

.latest-notes-card__chevron {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid #dce5ef;
    border-radius: 50%;
    color: #63758b;
    background: #fff;
    transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .28s cubic-bezier(.4, 0, .2, 1);
}

.latest-notes-card__chevron svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.latest-notes-card__toggle:hover .latest-notes-card__chevron {
    color: #1e5aa8;
    border-color: #bed0e6;
    background: #f4f8fd;
}

.latest-notes-card.is-open .latest-notes-card__chevron {
    color: #1e5aa8;
    transform: rotate(90deg);
}

.latest-notes-card__panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .28s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, transform .28s cubic-bezier(.4, 0, .2, 1);
}

.latest-notes-card.is-open .latest-notes-card__panel {
    opacity: 1;
    transform: translateY(0);
}

.latest-notes-card__panel-inner {
    border-top: 1px solid #edf1f5;
}

.latest-notes-card__panel .table-responsive {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.latest-notes-card__table {
    width: 100%;
    min-width: 720px;
    margin: 0;
}

.latest-notes-card__table thead th {
    padding: 13px 24px;
    border-bottom: 1px solid #edf1f5;
    color: #758399;
    background: #fbfcfe;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.latest-notes-card__table tbody td {
    padding: 14px 24px;
    border-bottom: 1px solid #eff2f6;
    color: #526174;
    background: #fff;
    font-size: .78rem;
    transition: background-color .15s ease;
}

.latest-notes-card__table tbody tr:last-child td {
    border-bottom: 0;
}

.latest-notes-card__table tbody tr:hover td {
    background: #f8fafc;
}

.admin-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #cbd8e8;
    border-radius: 6px;
    color: #1e5aa8;
    background: #fff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.admin-pdf-download svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .15s ease;
}

.admin-pdf-download:hover {
    color: #143f79;
    border-color: #9db6d5;
    background: #f4f8fd;
}

.admin-pdf-download:hover svg {
    transform: translateY(2px);
}

@media (max-width: 767.98px) {
    .latest-notes-card__toggle {
        min-height: 92px;
        gap: 12px;
        padding: 18px;
    }

    .latest-notes-card__main {
        align-items: flex-start;
    }

    .latest-notes-card__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 12px;
    }

    .latest-notes-card__icon svg {
        width: 23px;
        height: 23px;
    }

    .latest-notes-card__copy strong {
        font-size: .94rem;
    }

    .latest-notes-card__copy small {
        font-size: .72rem;
    }

    .latest-notes-card__chevron {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .latest-notes-card,
    .latest-notes-card__chevron,
    .latest-notes-card__panel {
        transition: none;
    }
}
