.vp-wsf-field {
    border: 1px solid #e0e0e0;
    padding: 1rem;
    border-radius: 6px;
}

.vp-wsf-control {
    margin-bottom: 0.75rem;
}

.vp-wsf-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.vp-wsf-select {
    width: 100%;
    max-width: 320px;
}

.vp-wsf-voices-block {
    margin-top: 1rem;
}

.vp-wsf-voices-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.vp-wsf-status {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.vp-wsf-status[data-status="error"] {
    color: #b30000;
}

.vp-wsf-voices {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 600px) {
    .vp-wsf-voices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .vp-wsf-voices {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.vp-wsf-voice {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vp-wsf-voice-label {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    font-weight: 500;
}

.vp-wsf-voice-title {
    font-size: 1rem;
    line-height: 1.3;
    margin-right: auto;
}

.vp-wsf-badge {
    background-color: #f0f4ff;
    color: #1f3f71;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-size: 0.75rem;
}

.vp-wsf-audio-button {
    background: #f7f7f7;
    border: 1px solid #cbd0d6;
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.vp-wsf-audio-button[aria-pressed="true"] {
    background: #1f3f71;
    color: #fff;
}

.vp-wsf-retry {
    margin-top: 0.4rem;
    border: 1px solid #1f3f71;
    background: transparent;
    color: #1f3f71;
    border-radius: 3px;
    padding: 0.15rem 0.4rem;
    cursor: pointer;
}
