.v5-settings-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.v5-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.v5-settings-card {
    background: var(--v5-card-alt);
    border: 1px solid var(--v5-border);
    border-radius: var(--v5-radius);
    padding: 20px;
}

.v5-settings-card-title {
    color: var(--v5-green);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.v5-settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--v5-border);
    color: var(--v5-muted);
}

.v5-settings-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.v5-settings-row strong {
    color: var(--v5-text);
    text-align: right;
    font-size: 14px;
}

.v5-settings-section {
    width: 100%;
}

.v5-settings-weights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
}

.v5-weight-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--v5-muted);
    font-size: 14px;
}

.v5-weight-label strong {
    color: var(--v5-text);
}

.v5-weight-track {
    height: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}

.v5-weight-fill {
    height: 100%;
    background: var(--v5-green);
    border-radius: inherit;
}

.v5-settings-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: var(--v5-radius);
    background: rgba(76,152,69,.10);
    border: 1px solid rgba(76,152,69,.22);
    color: var(--v5-muted);
}

.v5-settings-note i {
    color: var(--v5-green);
    margin-top: 3px;
}

.v5-settings-note strong {
    color: var(--v5-text);
}

.v5-settings-note p {
    margin: 5px 0 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .v5-settings-grid,
    .v5-settings-weights {
        grid-template-columns: 1fr;
    }
}
