
.quarterly-holdings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99999;
}

.quarterly-holdings-modal[hidden] {
    display: none;
}

.quarterly-holdings-dialog {
    width: 92%;
    max-width: 1600px;
    height: 90vh;
    background: #fff;
    margin: 2vh auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.quarterly-holdings-header {
    display: flex;
    justify-content: space-between;
    padding: 32px 48px 24px;
}

.quarterly-holdings-title {
    font-size: 56px;
    font-weight: 400;
    margin: 0;
}

.quarterly-holdings-date {
    margin-top: 10px;
    font-size: 24px;
}

.quarterly-holdings-close {
    border: none;
    background: none;
    font-size: 60px;
    cursor: pointer;
}

.quarterly-holdings-tabs {
    display: flex;
    justify-content: center;
    gap: 70px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.quarterly-holdings-tabs .tab {
    border: none;
    background: none;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    padding-bottom: 8px;
}

.quarterly-holdings-tabs .tab.active {
    background: none;
    border-bottom: 3px solid #d62f85;
    box-shadow: none;
    color: inherit;
}

.quarterly-holdings-tabs .tab:focus {
    outline: none;
}

.quarterly-holdings-tabs .tab:focus-visible {
    outline: 2px solid #d62f85;
    outline-offset: 2px;
}

.quarterly-holdings-table-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 0 40px;
}

.quarterly-holdings-table {
    width: 100%;
    border-collapse: collapse;
}

.quarterly-holdings-table thead th {
    text-transform: uppercase;
    font-size: 18px;
    border-bottom: 3px solid #222;
    text-align: left;
    padding: 20px;
}

.quarterly-holdings-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #d8d8d8;
    font-size: 20px;
}

.quarterly-holdings-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-top: 3px solid #222;
    padding: 20px 40px;
}

.quarterly-pagination {
    grid-column: 2;
    font-size: 26px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quarterly-pagination-btn {
    font-size: 22px;
    font-weight: 600;
    background: none;
    border: 1px solid #222;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px 12px;
}

.quarterly-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.download-link {
    grid-column: 3;
    justify-self: end;
    font-size: 24px;
    font-weight: 600;
    text-decoration: underline;
}

.top-holdings-section {
    width: 100%;
}

.top-holdings-section__bottom-padding {
    padding-bottom: 48px;
}

.top-holdings-section__top-line {
    width: 100%;
    height: 5px;
    background: #009cdc;
}

#portfolio-top-holdings .ix-category-chart-legend-link,
#portfolio-top-holdings .ix-top-holdings a[href="#"] {
    display: flex;
    flex-direction: row;
    width: fit-content;
    margin-left: auto;
    font: 600 14px / 20px AvenirNextLTCom-Regular, Arial, sans-serif;
    text-transform: uppercase;
    text-decoration: underline;
    cursor: pointer;
}

#portfolio-top-holdings {
    padding-top: 24px;
}