.tgc-poll-builder__toggle {
    padding: 12px 14px;
    border: 1px solid var(--usp-color-border, #dfe3e8);
    border-radius: 8px;
    background: var(--usp-color-surface-2, #f4f6f8);
}

.tgc-poll-builder__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
}

.tgc-poll-builder__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.tgc-poll-builder__option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tgc-poll-builder__option input {
    flex: 1;
    min-width: 0;
}

.tgc-poll-builder__remove {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--usp-color-border, #dfe3e8);
    border-radius: 6px;
    background: #fff;
    color: #b32d2e;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.tgc-poll-builder__remove:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.usp-poll {
    padding: 20px;
    border: 1px solid var(--usp-color-border, #dfe3e8);
    border-radius: var(--usp-border-radius, 8px);
    background: var(--usp-color-surface, #fff);
}

.usp-poll__question {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.25;
}

.usp-poll__options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.usp-poll__option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid var(--usp-color-border, #dfe3e8);
    border-radius: 7px;
    cursor: pointer;
}

.usp-poll__option:has(input:checked) {
    border-color: var(--tgc-accent, #3390ec);
    background: var(--tgc-accent-soft, #e7f2fd);
}

.usp-poll__option-label {
    flex: 1;
    min-width: 0;
}

.usp-poll__option-result {
    display: inline-flex;
    gap: 8px;
    color: var(--usp-color-text-secondary, #707579);
    font-size: 13px;
    font-weight: 700;
}

.usp-poll__bar {
    display: block;
    height: 4px;
    margin: -2px 12px 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--usp-color-surface-2, #f4f6f8);
}

.usp-poll__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--tgc-accent, #3390ec);
}

.usp-poll__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.usp-poll__status,
.usp-poll__notice,
.usp-poll__total {
    margin: 12px 0 0;
    color: var(--usp-color-text-secondary, #707579);
    font-size: 13px;
}

.tgc-poll-builder__fields[hidden] {
    display: none !important;
}

.usp-poll [hidden] {
    display: none !important;
}
