.v2-rs-page {
    width: 100%;
    padding: 26px 28px 40px;
}

.v2-rs-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
}

.v2-rs-kicker {
    margin-bottom: 7px;
    color: var(--v2-accent-soft);
    font-size: var(--v2-font-label);
    font-weight: 700;
    letter-spacing: .12em;
}

.v2-rs-page-head h1 {
    margin: 0;
    color: var(--v2-text-primary);
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.v2-rs-page-head p {
    max-width: 620px;
    margin: 7px 0 0;
    color: var(--v2-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.v2-rs-periods {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-rs-periods button {
    min-width: 45px;
    height: 32px;
    padding: 0 11px;
    border: 0;
    border-right: 1px solid var(--v2-border);
    background: transparent;
    color: var(--v2-text-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

.v2-rs-periods button:last-child {
    border-right: 0;
}

.v2-rs-periods button:hover {
    background: var(--v2-bg-hover);
    color: var(--v2-text-primary);
}

.v2-rs-periods button.is-active {
    background: rgba(139, 92, 246, .14);
    color: var(--v2-accent-soft);
}

.v2-rs-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    border-top: 1px solid var(--v2-border);
    color: var(--v2-text-faint);
    font-size: 10px;
}

.v2-rs-meta strong {
    color: var(--v2-text-muted);
    font-weight: 600;
}

.v2-rs-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-rs-summary-cell {
    min-width: 0;
    padding: 14px 16px;
    border-right: 1px solid var(--v2-border);
}

.v2-rs-summary-cell:last-child {
    border-right: 0;
}

.v2-rs-summary-cell span {
    display: block;
    margin-bottom: 6px;
    color: var(--v2-text-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.v2-rs-summary-cell strong {
    display: block;
    overflow: hidden;
    color: var(--v2-text-primary);
    font-size: 18px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 620px) {
    .v2-rs-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v2-rs-summary-cell {
        padding: 12px 14px;
    }

    .v2-rs-summary-cell:nth-child(2) {
        border-right: 0;
    }

    .v2-rs-summary-cell:nth-child(-n+2) {
        border-bottom: 1px solid var(--v2-border);
    }

    .v2-rs-summary-cell strong {
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .v2-rs-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .v2-rs-table-panel {
        margin-left: -8px;
        margin-right: -8px;
    }
}

.v2-rs-table-panel {
    margin-top: 16px;
    border: 1px solid var(--v2-border);
    background: var(--v2-bg-surface);
}

.v2-rs-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.v2-rs-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
    table-layout: fixed;
}

.v2-rs-table th,
.v2-rs-table td {
    border-bottom: 1px solid var(--v2-border);
    vertical-align: middle;
}

.v2-rs-table th {
    height: 34px;
    padding: 0 12px;
    background: var(--v2-bg-elevated);
    color: var(--v2-text-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .035em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.v2-rs-table td {
    height: 48px;
    padding: 0 12px;
    color: var(--v2-text-secondary);
    font-size: 12px;
}

.v2-rs-table tbody tr {
    cursor: pointer;
}

.v2-rs-table tbody tr:hover {
    background: var(--v2-bg-hover);
}

.v2-rs-table tbody tr:hover .v2-rs-symbol,
.v2-rs-table tbody tr:hover .v2-rs-symbol a {
    color: var(--v2-accent-soft) !important;
}

.v2-rs-table tbody tr:last-child td {
    border-bottom: 0;
}

.v2-rs-table th:nth-child(1),
.v2-rs-table td:nth-child(1) {
    width: 46px;
}

.v2-rs-table th:nth-child(2),
.v2-rs-table td:nth-child(2) {
    width: 92px;
}

.v2-rs-table th:nth-child(3),
.v2-rs-table td:nth-child(3) {
    width: 280px;
}

.v2-rs-table th:nth-child(4),
.v2-rs-table td:nth-child(4) {
    width: 96px;
}

.v2-rs-table th:nth-child(5),
.v2-rs-table td:nth-child(5),
.v2-rs-table th:nth-child(6),
.v2-rs-table td:nth-child(6) {
    width: 112px;
}

.v2-rs-table th:nth-child(7),
.v2-rs-table td:nth-child(7) {
    width: 92px;
}

.v2-rs-table th:nth-child(8),
.v2-rs-table td:nth-child(8) {
    width: 142px;
}

.v2-rs-table .is-numeric {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.v2-rs-rank,
.v2-rs-rank-value {
    color: var(--v2-text-faint) !important;
    text-align: center !important;
    font-variant-numeric: tabular-nums;
}

.v2-rs-symbol,
.v2-rs-symbol a {
    color: var(--v2-text-primary) !important;
    font-weight: 700;
    letter-spacing: .015em;
    text-decoration: none;
}

.v2-rs-industry {
    display: block;
    overflow: hidden;
    color: var(--v2-text-primary);
    font-weight: 550;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-rs-sector {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: var(--v2-text-faint);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-rs-positive {
    color: var(--v2-positive) !important;
}

.v2-rs-negative {
    color: var(--v2-negative) !important;
}

.v2-rs-neutral {
    color: var(--v2-text-secondary) !important;
}

.v2-rs-trend {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.v2-rs-trend-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--v2-text-muted);
    font-size: 10px;
}

.v2-rs-trend-item.is-up {
    color: var(--v2-positive);
}

.v2-rs-trend-item.is-down {
    color: var(--v2-negative);
}

.v2-rs-loading,
.v2-rs-empty,
.v2-rs-error {
    height: 120px !important;
    color: var(--v2-text-muted) !important;
    text-align: center !important;
}

.v2-rs-error {
    color: var(--v2-negative) !important;
}

.v2-rs-table-footer {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-top: 1px solid var(--v2-border);
    color: var(--v2-text-faint);
    font-size: 10px;
}

.v2-rs-table-footer button {
    min-width: 88px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--v2-border-strong);
    background: var(--v2-bg-elevated);
    color: var(--v2-text-secondary);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
    cursor: pointer;
}

.v2-rs-table-footer button:hover {
    background: var(--v2-bg-hover);
    color: var(--v2-text-primary);
}
