.wfp-poll,
.wfp-poll * { box-sizing: border-box; }
.wfp-poll { --wfp-bg:#f7f9fc; --wfp-surface:#fff; --wfp-text:#202832; --wfp-muted:#677381; --wfp-line:#d9e0e8; --wfp-blue:#147cc1; --wfp-blue-dark:#0d659f; --wfp-bar:#177fc3; max-width:100%; min-width:0; margin:28px 0; padding:22px; overflow:hidden; border:1px solid var(--wfp-line); border-radius:3px; background:var(--wfp-bg); color:var(--wfp-text); }
.wfp-poll__question { margin:0 0 18px; color:var(--wfp-text); font-size:1.18em; line-height:1.35; overflow-wrap:anywhere; }
.wfp-poll__answers { display:grid; gap:9px; min-width:0; }
.wfp-poll__option { display:flex; align-items:center; gap:10px; min-width:0; padding:11px 12px; border:1px solid var(--wfp-line); border-radius:2px; background:var(--wfp-surface); color:var(--wfp-text); cursor:pointer; line-height:1.45; overflow-wrap:anywhere; }
.wfp-poll__option:hover { border-color:var(--wfp-blue); }
.wfp-poll__icon,.wfp-results__icon { flex:0 0 auto; display:block; width:36px; height:36px; object-fit:cover; border-radius:5px; }
.wfp-poll__option input { flex:0 0 auto; width:18px; height:18px; margin:2px 0 0; accent-color:var(--wfp-blue); }
.wfp-poll__answers--disabled .wfp-poll__option { opacity:.62; cursor:not-allowed; }
.wfp-poll__submit { display:inline-block; margin-top:16px; min-height:42px; padding:10px 20px; border:0; border-radius:2px; background:var(--wfp-blue); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
.wfp-poll__submit:hover,.wfp-poll__submit:focus-visible { background:var(--wfp-blue-dark); color:#fff; }
.wfp-poll__submit:focus-visible,.wfp-poll__option:focus-within { outline:2px solid var(--wfp-blue); outline-offset:2px; }
.wfp-poll__login-notice,.wfp-poll__closed { margin:16px 0 0; color:var(--wfp-text); line-height:1.55; overflow-wrap:anywhere; }
.wfp-poll__login-notice a { color:var(--wfp-blue); font-weight:600; text-decoration:underline; }
.wfp-poll__hint { margin:5px 0 0; color:var(--wfp-muted); font-size:.86em; }
.wfp-poll__message { margin:14px 0 0; color:#a92323; font-size:.92em; line-height:1.45; }
html.wf-dark-mode .wfp-poll__message { color:#ff9d9d; }
.wfp-results { display:grid; gap:16px; min-width:0; }
.wfp-results__row { min-width:0; }
.wfp-results__label { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:baseline; min-width:0; margin-bottom:7px; color:var(--wfp-text); font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.wfp-results__label > span { min-width:0; overflow-wrap:anywhere; }
.wfp-results__label small { color:var(--wfp-blue); font-size:.78em; font-weight:600; white-space:nowrap; }
.wfp-results__stats { display:flex; align-items:center; gap:10px; min-width:0; }
.wfp-results__bar { flex:1 1 140px; min-width:0; height:12px; overflow:hidden; border-radius:999px; background:var(--wfp-line); }
.wfp-results__bar span { display:block; width:0; max-width:100%; height:100%; border-radius:inherit; background:var(--wfp-bar); }
.wfp-results__numbers { flex:0 0 auto; max-width:100%; color:var(--wfp-muted); font-size:.88em; line-height:1.3; white-space:nowrap; }
.wfp-results__total { margin:2px 0 0; color:var(--wfp-muted); font-size:.9em; }
.wfp-poll__delete-vote { margin-top:15px; padding:0; border:0; background:transparent; color:var(--wfp-muted); font:inherit; font-size:.82em; text-decoration:underline; cursor:pointer; }
.wfp-poll__delete-vote:hover,.wfp-poll__delete-vote:focus-visible { color:var(--wfp-text); }
html.wf-dark-mode .wfp-poll { --wfp-bg:#171b20; --wfp-surface:#20262d; --wfp-text:#e7edf3; --wfp-muted:#aebac6; --wfp-line:#394551; --wfp-blue:#36a8ee; --wfp-blue-dark:#1988cc; --wfp-bar:#2d9fe4; }
html.wf-dark-mode .wfp-poll__submit { color:#fff; }
@media (max-width: 480px) { .wfp-poll__icon,.wfp-results__icon { width:32px; height:32px; } .wfp-poll { margin:22px 0; padding:16px; } .wfp-results__stats { display:grid; grid-template-columns:minmax(0, 1fr); gap:6px; } .wfp-results__numbers { white-space:normal; } }

/* Pre-vote live result preview: shown only to visitors/users who have not voted yet. */
.wfp-poll__choice { min-width:0; }
.wfp-preview { display:flex; align-items:center; gap:10px; min-width:0; margin:7px 12px 2px; opacity:.7; }
.wfp-preview__bar { flex:1 1 140px; min-width:0; height:8px; overflow:hidden; border-radius:999px; background:var(--wfp-line); }
.wfp-preview__bar span { display:block; width:0; max-width:100%; height:100%; border-radius:inherit; background:var(--wfp-bar); }
.wfp-preview__numbers { flex:0 0 auto; max-width:100%; color:var(--wfp-muted); font-size:.82em; line-height:1.3; white-space:nowrap; }
.wfp-preview__total { margin:12px 0 0; color:var(--wfp-muted); font-size:.86em; line-height:1.4; opacity:.7; }
@media (max-width: 480px) { .wfp-preview { display:grid; grid-template-columns:minmax(0, 1fr); gap:5px; margin-left:8px; margin-right:8px; } .wfp-preview__numbers { white-space:normal; } }
