/* Schnellwahl und Live-Vorschau der Gewichtung (gewicht-profile.js, seit 04.10.2026). */
.gewicht-profile-bereich {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-block: var(--space-12);
}

.gewicht-profile-titel {
    margin: 0;
    font-weight: 600;
}

.gewicht-profile {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.gewicht-profil {
    min-height: 44px;
    padding: var(--space-8) var(--space-12);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--card);
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.gewicht-profil[aria-pressed="true"] {
    border-color: var(--accent-text);
    background: var(--accent-soft);
    color: var(--accent-text);
    font-weight: 600;
}

.gewicht-profil:focus-visible {
    outline: 2px solid var(--accent-text);
    outline-offset: 2px;
}

.gewicht-vorschau {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-block: var(--space-16);
    padding: var(--space-12) var(--space-16);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.gewicht-vorschau-titel {
    margin: 0;
    font-size: var(--text-16);
}

.gewicht-vorschau-hinweis {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--text-13);
}

.gewicht-vorschau-liste {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gewicht-vorschau-zeile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-4) var(--space-8);
    align-items: baseline;
}

.gewicht-vorschau-name {
    overflow-wrap: anywhere;
}

.gewicht-vorschau-wert {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.gewicht-vorschau-balken {
    grid-column: 1 / -1;
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--border);
    overflow: hidden;
}

.gewicht-vorschau-balken > span {
    display: block;
    height: 100%;
    background: var(--accent);
    transition: width 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    .gewicht-vorschau-balken > span {
        transition: none;
    }
}
