.document-files {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.08), 0 1px 0.5px rgba(0, 0, 0, 0.05);
}

.document-files--surface-white {
    background: #fff;
}

.document-files--surface-gray {
    background: #f7fafc;
}

.document-files--variant-content {
    gap: 24px;
    padding: 24px;
    background: #f7fafc;
    border-color: #c1cddb;
    box-shadow: none;
}

.document-files--variant-content .document-files__content {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.document-files__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 0;
    padding: 0;
}

.document-files__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #002d5a;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.document-files__title-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #7663d2;
}

.document-files__toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    width: 76px;
    min-height: 40px;
    padding: 6px 0 6px 12px;
    border: 0;
    background: transparent;
    color: #37506e;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.document-files__toggle:hover,
.document-files__toggle:active {
    background: transparent;
    color: #37506e;
    box-shadow: none;
}

.document-files__toggle img {
    display: block;
    width: 10px;
    height: 5px;
    transition: transform 160ms ease;
    transform: rotate(180deg);
}

.document-files__toggle[aria-expanded="false"] img {
    transform: rotate(0deg);
}

.document-files__content {
    display: grid;
    gap: 0;
    padding: 0 20px;
    background: #f7fafc;
    border: 1px solid #c1cddb;
    border-radius: 12px;
}

.document-files__content--surface-white {
    background: #fff;
}

.document-files__nested-groups {
    display: grid;
    gap: 12px;
}

.document-files__nested-groups--collapsed {
    display: none;
}

.document-files__nested-groups .document-files {
    box-shadow: none;
}

.document-files__content--collapsed {
    display: none;
}

.document-files__table-wrap {
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
}

.document-files__table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    color: #37506e;
}

.document-files__table th {
    padding: 14px 20px;
    background: #1058a1;
    color: #fbfbfb;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.document-files__table td {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.55;
    vertical-align: top;
}

.document-files__table tbody tr:nth-child(even) {
    background: #eef5fc;
}

.document-files__table td:nth-child(1) {
    width: 150px;
}

.document-files__table td:nth-child(2) {
    min-width: 360px;
}

.document-files__table td:nth-child(3),
.document-files__table td:nth-child(4) {
    width: 140px;
}

.document-files__table td:nth-child(3) {
    white-space: nowrap;
}

.document-files__table-description {
    display: grid;
    gap: 8px;
}

.document-files__table-description p {
    margin: 0;
}

.document-files__table-description ol {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 22px;
}

.document-files__table-description li {
    padding-left: 2px;
}

.document-files__formula {
    font-weight: 700;
}

.document-files__formula--2023 {
    color: #800080;
}

.document-files__formula--2015 {
    color: #9a5c00;
}

.document-files__table-size {
    margin-left: 4px;
    color: #516a87;
    font-size: 14px;
    white-space: nowrap;
}

.document-files__table a {
    color: #37506e;
    font-weight: 600;
    text-decoration: underline;
}

.document-files__file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #c1cddb;
    color: #37506e;
    text-decoration: none;
}

.document-files__content--surface-gray > .document-files__file {
    background: #f7fafc;
}

.document-files__file:hover {
    background: transparent;
    color: #37506e;
    text-decoration: none;
}

.document-files__file:last-child {
    border-bottom: 0;
}

.document-files__file-details {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}

.document-files__file-thumbnail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 60px;
    overflow: hidden;
    border: 1px solid #c1cddb;
    border-radius: 4px;
    background: #f7fafc;
}

.document-files__file-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.document-files__file-name {
    overflow: hidden;
    overflow-wrap: anywhere;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #37506E;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    text-decoration: underline;
    text-underline-position: from-font;
}

.document-files__file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    color: #516a87;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}

.document-files__file-format {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 28px;
    padding: 5px 7px;
    border: 0;
    border-radius: 4px;
    background: #e1e8f0;
    color: #0f263b;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
}

.document-files__file-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.document-files__file-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: #004488;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.document-files--variant-content .document-files__file {
    padding: 12px 0;
    background: transparent;
}

.document-files--variant-content .document-files__file:first-child {
    padding-top: 0;
}

.document-files--variant-content .document-files__file:last-child {
    padding-bottom: 0;
}

.document-files--variant-content .document-files__file-name {
    color: #37506e;
}

.document-files--variant-content .document-files__file-download-label {
    display: none;
}

.document-files--variant-content .document-files__file-download {
    gap: 0;
}

.document-files--variant-content .document-files__file-icon {
    width: 28px;
    height: 28px;
}

.document-files__actions {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    flex: 0 0 auto;
}

.document-files__package {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 24px;
    border: 1px solid #004488;
    border-radius: 32px;
    color: #004488;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.document-files__package img {
    width: 24px;
    height: 24px;
}

.document-files__package:hover,
.document-files__package:focus-visible {
    background: #e4f1ff;
    color: #004488;
    text-decoration: none;
}

.document-files__package:focus-visible,
.document-files__toggle:focus-visible {
    outline: 3px solid #f2b84b;
    outline-offset: 3px;
}

@media (max-width: 1000px) {
    .document-files__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .document-files__actions {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .document-files {
        padding: 16px;
    }

    .document-files__content {
        padding: 16px;
    }

    .document-files__header {
        flex-direction: column;
    }

    .document-files__actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .document-files__package {
        max-width: 100%;
        white-space: normal;
        text-align: left;
    }

    .document-files--variant-content {
        padding: 20px;
    }

    .document-files--variant-content .document-files__file-details {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .document-files--variant-content .document-files__file-name {
        white-space: normal;
    }
}
