/* ── Enquete no site ── */
.ne-poll-front {
    max-width: 580px;
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--ne-color, #2563eb);
    border-radius: 12px;
    padding: 24px 28px;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 24px 0;
}

.ne-poll-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.5;
}

.ne-poll-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 18px;
    line-height: 1.6;
}

.ne-poll-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.ne-poll-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: border-color .15s, background .15s;
    line-height: 1.5;
}

.ne-poll-option:hover { border-color: var(--ne-color, #2563eb); background: #f0f7ff; }
.ne-poll-option input[type="radio"] { margin-top: 2px; accent-color: var(--ne-color, #2563eb); flex-shrink: 0; }
.ne-poll-option:has(input:checked) { border-color: var(--ne-color, #2563eb); background: #eff6ff; }

.ne-poll-submit {
    display: inline-block;
    padding: 10px 24px;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}
.ne-poll-submit:hover { opacity: .88; }
.ne-poll-submit:disabled { opacity: .5; cursor: not-allowed; }

.ne-poll-msg {
    font-size: 13px;
    margin: 10px 0 0;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fef2f2;
    color: #dc2626;
}
.ne-poll-msg.ne-msg-ok { background: #f0fdf4; color: #166534; }

.ne-voted-msg { font-size: 14px; color: #166534; background: #f0fdf4; padding: 10px 14px; border-radius: 8px; margin: 0 0 16px; }

.ne-results-front { display: flex; flex-direction: column; gap: 14px; }

.ne-results-front .ne-result-label  { font-size: 13px; color: #374151; margin-bottom: 5px; }
.ne-results-front .ne-result-bar-wrap { height: 18px; background: #f3f4f6; border-radius: 9px; overflow: hidden; margin-bottom: 3px; }
.ne-results-front .ne-result-bar    { height: 100%; border-radius: 9px; transition: width .5s ease; }
.ne-results-front .ne-result-meta   { font-size: 12px; color: #9ca3af; }

.ne-result-total { font-size: 12px; color: #9ca3af; margin: 8px 0 0; border-top: 1px solid #f3f4f6; padding-top: 10px; }

.ne-closed { color: #9ca3af; font-size: 14px; font-style: italic; }
