.documents-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document-card {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--app-shadow);
}

.document-card__toggle {
    width: 100%;
    min-height: 96px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 70px 1fr 24px;
    align-items: center;
    gap: 0;
    cursor: pointer;
}

.document-card__icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.document-card__icon::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 74%;
    background: #d3d3d8;
}

.document-card__icon img {
    width: 54px;
    height: 38px;
    object-fit: contain;
}

.document-card__title-wrap {
    padding: 0 10px 0 14px;
}

.document-card__title {
    display: block;
    font-size: 19px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.document-card__chevron {
    color: #747d89;
    transition: transform 0.2s ease;
}

.document-card__chevron svg {
    width: 20px;
    height: 20px;
}

.document-card.is-open .document-card__chevron {
    transform: rotate(180deg);
}

.document-card__body {
    display: flex;
    flex-direction: column;
}

.document-card__body[hidden] {
    display: none;
}

.document-card__section {
    padding: 20px 22px;
    border-top: 1px solid #d3d3d8;
}

.document-card__section--paywall {
    background: linear-gradient(180deg, rgba(255, 242, 248, 0.92), rgba(255, 255, 255, 0.98));
}

.document-card__primary-btn,
.document-card__secondary-btn {
    width: 100%;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.document-card__primary-btn {
    background: var(--app-purple);
    color: #fff;
}

.document-card__secondary-btn {
    background: #fff;
    color: var(--app-purple);
    border: 4px solid var(--app-purple);
}

.document-card__secondary-btn--link {
    margin-top: 14px;
}

.document-card__kicker,
.document-card__message,
.document-card__source {
    margin: 0;
}

.document-card__kicker,
.document-card__message {
    font-size: 16px;
    line-height: 1.34;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.document-card__source {
    margin-top: 4px;
    color: #74a7df;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.document-card__section--info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.document-card__info-icon {
    width: 48px;
    height: 48px;
    border: 3px solid var(--app-purple);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--app-purple);
    font-size: 30px;
    font-weight: 600;
    font-style: normal;
    flex: 0 0 auto;
}

.document-card__link-btn {
    padding: 0;
    color: var(--app-purple);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-align: left;
    cursor: pointer;
}

.license-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.license-card__status,
.license-card__person {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.license-card__person {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.license-card__label {
    margin: 0 0 6px;
    color: var(--app-text-muted);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 500;
}

.license-card__value {
    margin: 0;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.license-card__value--success {
    color: #2d7f39;
}

@media (max-width: 420px) {
    .document-card__toggle {
        min-height: 92px;
        padding: 14px 16px;
        grid-template-columns: 68px 1fr 24px;
    }

    .document-card__icon img {
        width: 50px;
        height: 34px;
    }

    .document-card__title-wrap {
        padding: 0 8px 0 12px;
    }

    .document-card__title {
        font-size: 18px;
    }

    .document-card__section {
        padding: 18px 18px;
    }

    .document-card__primary-btn,
    .document-card__secondary-btn {
        min-height: 54px;
        font-size: 18px;
    }

    .document-card__kicker,
    .document-card__message,
    .document-card__source,
    .document-card__link-btn {
        font-size: 15px;
    }

    .document-card__info-icon {
        width: 42px;
        height: 42px;
        font-size: 26px;
        border-width: 3px;
    }

    .license-card__status,
    .license-card__person {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
