.finance-reports-original {
    display: none !important;
}

.finance-reports-page {
    --finance-accent: #6814b8;
    --finance-accent-dark: #52108f;
    box-sizing: border-box;
    min-height: calc(100vh - 4rem);
    margin: -1rem;
    padding: 28px 34px 48px;
    overflow: hidden;
    color: #101828;
    background:
        radial-gradient(circle at 78% 6%, rgba(112, 31, 196, 0.035), transparent 27rem),
        #f9faff;
}

.finance-reports-page *,
.finance-reports-page *::before,
.finance-reports-page *::after {
    box-sizing: border-box;
}

.finance-reports-hero {
    position: relative;
    height: 163px;
}

.finance-reports-heading {
    text-align: right;
}

.finance-reports-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 5px 15px;
    border-radius: 999px;
    color: var(--finance-accent);
    background: #f0e7fb;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.finance-reports-eyebrow svg {
    width: 18px;
    height: 18px;
}

.finance-reports-heading h1 {
    margin: 7px 0 0;
    color: #101114;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.finance-reports-heading > p {
    margin: 8px 0 0;
    color: #72798b;
    font-size: 18px;
    line-height: 1.75;
}

.finance-reports-search {
    position: absolute;
    bottom: 32px;
    left: 0;
    display: block;
    width: 365px;
    max-width: 100%;
    height: 52px;
}

.finance-reports-search input {
    width: 100%;
    height: 100%;
    padding: 0 20px 0 54px;
    border: 1px solid #dde1e9;
    border-radius: 10px;
    outline: 0;
    color: #252936;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.04);
    font: inherit;
    font-size: 16px;
    text-align: right;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.finance-reports-search input::placeholder {
    color: #a1a8b8;
}

.finance-reports-search input::-webkit-search-cancel-button {
    margin-right: 6px;
}

.finance-reports-search input:focus {
    border-color: #a668d8;
    box-shadow: 0 0 0 3px rgba(104, 20, 184, 0.11);
}

.finance-reports-search > svg {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 20px;
    height: 20px;
    color: #7d8698;
    pointer-events: none;
    transform: translateY(-50%);
}

.finance-reports-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.finance-report-card {
    position: relative;
    display: flex;
    height: 278px;
    min-width: 0;
    padding: 25px 22px 17px;
    overflow: hidden;
    align-items: center;
    flex-direction: column;
    border: 1px solid #e2e5eb;
    border-radius: 12px;
    color: inherit;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(23, 31, 51, 0.07);
    text-align: center;
    text-decoration: none;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.finance-report-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--finance-accent);
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 180ms ease, transform 180ms ease;
}

.finance-report-card.is-featured::before,
.finance-report-card:hover::before,
.finance-report-card:focus-visible::before {
    opacity: 1;
    transform: scaleX(1);
}

.finance-report-card:hover,
.finance-report-card:focus-visible {
    border-color: #d6c0ea;
    box-shadow: 0 10px 26px rgba(74, 24, 117, 0.12);
    outline: none;
    transform: translateY(-2px);
}

.finance-report-icon {
    display: grid;
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    place-items: center;
    border-radius: 50%;
    color: var(--finance-accent);
    background: linear-gradient(145deg, #f8f2ff, #f0e7fb);
}

.finance-report-icon svg {
    width: 48px;
    height: 48px;
}

.finance-report-card h2 {
    max-width: 100%;
    margin: 18px 0 0;
    color: #14161c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
}

.finance-report-card > p {
    max-width: 235px;
    min-height: 50px;
    margin: 7px 0 0;
    color: #747b8b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.finance-report-arrow {
    display: grid;
    width: 39px;
    height: 39px;
    margin-top: auto;
    flex: 0 0 39px;
    place-items: center;
    border: 1px solid #ddd3e9;
    border-radius: 50%;
    color: var(--finance-accent);
    background: #fff;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.finance-report-arrow svg {
    width: 18px;
    height: 18px;
}

.finance-report-card:hover .finance-report-arrow,
.finance-report-card:focus-visible .finance-report-arrow {
    color: #fff;
    background: var(--finance-accent);
    transform: translateX(2px);
}

.finance-report-card[hidden] {
    display: none;
}

.finance-reports-empty {
    margin: 32px 0 0;
    padding: 32px;
    border: 1px dashed #d6c0ea;
    border-radius: 12px;
    color: #747b8b;
    background: #fff;
    font-size: 16px;
    text-align: center;
}

.dark .finance-reports-page {
    color: #f8fafc;
    background: #111827;
}

.dark .finance-reports-heading h1,
.dark .finance-report-card h2 {
    color: #f8fafc;
}

.dark .finance-reports-heading > p,
.dark .finance-report-card > p {
    color: #aeb6c5;
}

.dark .finance-report-card,
.dark .finance-reports-search input,
.dark .finance-reports-empty {
    border-color: #374151;
    color: #e5e7eb;
    background: #1f2937;
}

.dark .finance-report-arrow {
    border-color: #5b4b68;
    background: #1f2937;
}

@media (max-width: 1399px) {
    .finance-reports-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .finance-reports-page {
        margin: -1rem 0;
        padding-right: 24px;
        padding-left: 24px;
    }

    .finance-reports-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .finance-reports-page {
        padding: 22px 16px 36px;
    }

    .finance-reports-hero {
        height: auto;
        padding-bottom: 24px;
    }

    .finance-reports-heading h1 {
        font-size: 34px;
    }

    .finance-reports-heading > p {
        font-size: 16px;
    }

    .finance-reports-search {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 24px;
    }

    .finance-reports-grid {
        grid-template-columns: 1fr;
    }

    .finance-report-card {
        height: 266px;
    }
}
