/* Futures Default 25: stylesheet for the iMedia Polls plugin (the plugin loads this file instead of its own when it is in the theme folder). */
/* poll plugin (imedia-polls / wp-polls) in the right rail, shown as rings by fd-poll.js */
.wp-polls{margin:0}
.wp-polls form{margin:0}
.wp-polls-form p{margin:0 0 10px}
.wp-polls ul{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:6px}
.wp-polls li{margin:0}
.wp-polls-ans li{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--line);min-height:42px;background:var(--panel2);cursor:pointer}
.wp-polls-ans li label{flex:1;min-width:0;cursor:pointer;overflow-wrap:anywhere}
.wp-polls-ans li input{accent-color:var(--accent);width:18px;height:18px;margin:0;flex:0 0 auto}
.wp-polls-ans li:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--panel2))}
.wp-polls .Buttons,.wp-polls input[data-poll-action="vote"]{background:var(--accent);color:var(--onacc);border:0;font-weight:700;padding:9px 16px;cursor:pointer;min-height:38px;margin-right:6px}
.wp-polls a[href*="pollresult"],.wp-polls-links a{color:var(--acc-text);font-size:13px}
.wp-polls-bar{height:8px;background:var(--panel2);margin-top:4px}.wp-polls-bar-fill{height:100%;background:var(--accent)}
.wp-polls-loading{display:none}
.wp-polls-loading img{height:16px}
.wp-polls small{color:var(--muted)}
.fd-pollring{margin:0 0 6px}
.fd-pollring ul.wp-polls-ans-r{display:none}
.wp-polls.fd-rings .wp-polls-res-list{display:none}

.wp-polls-ans.fd-rings>ul{display:none}
.wp-polls p[style*="text-align"]{text-align:left!important}

/* 25.16: Vote (left) and View Results (right) as two proper buttons side by side */
.wp-polls .wp-polls-ans:has(>p>[data-poll-action]){display:flex;flex-wrap:wrap;gap:8px}
.wp-polls .wp-polls-ans:has(>p>[data-poll-action])>ul{flex:0 0 100%;margin:0}
.wp-polls .wp-polls-ans:has(>p>[data-poll-action])>p{flex:1 1 0;min-width:0;margin:0}
.wp-polls .wp-polls-ans>p>input[data-poll-action="vote"],.wp-polls .wp-polls-ans>p>a[data-poll-action="result"],.wp-polls .wp-polls-ans>p>a[href="#ViewPollResults"]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:40px;margin:0;padding:8px 10px;font:700 14px/1.2 inherit;font-family:inherit;text-align:center;text-decoration:none;cursor:pointer;border:1px solid var(--accent);transition:background .15s,color .15s}
.wp-polls .wp-polls-ans>p>input[data-poll-action="vote"]{background:var(--accent);color:var(--onacc,#111)}
.wp-polls .wp-polls-ans>p>input[data-poll-action="vote"]:hover{filter:brightness(1.08)}
.wp-polls .wp-polls-ans>p>a[data-poll-action="result"],.wp-polls .wp-polls-ans>p>a[href="#ViewPollResults"]{background:transparent;color:var(--acc-text)}
.wp-polls .wp-polls-ans>p>a[data-poll-action="result"]:hover,.wp-polls .wp-polls-ans>p>a[href="#ViewPollResults"]:hover{background:color-mix(in srgb,var(--accent) 14%,transparent)}
.wp-polls .wp-polls-ans>p>input[data-poll-action="vote"]:focus-visible,.wp-polls .wp-polls-ans>p>a[data-poll-action="result"]:focus-visible{outline:2px solid var(--acc-text);outline-offset:2px}

/* 25.52: results view. The 25.16 rule above makes .wp-polls-ans a wrapping row whenever it holds a data-poll-action link; the ring replaces the answer list that normally takes the full first row, so ring, "Total Voters" and the link to the voting form sat side by side. Give the ring and the total a full row and style the link to the voting form like View Results. */
.wp-polls .wp-polls-ans.fd-rings>.fd-pollring{flex:0 0 100%}
.wp-polls .wp-polls-ans.fd-rings>p:not(:has([data-poll-action])){flex:0 0 100%}
.wp-polls .wp-polls-ans>p>a[data-poll-action="booth"]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:40px;margin:0;padding:8px 10px;font:700 14px/1.2 inherit;font-family:inherit;text-align:center;text-decoration:none;cursor:pointer;border:1px solid var(--accent);background:transparent;color:var(--acc-text);transition:background .15s,color .15s}
.wp-polls .wp-polls-ans>p>a[data-poll-action="booth"]:hover{background:color-mix(in srgb,var(--accent) 14%,transparent)}
.wp-polls .wp-polls-ans>p>a[data-poll-action="booth"]:focus-visible{outline:2px solid var(--acc-text);outline-offset:2px}
/* 25.53: the poll box is dimmed while the beacon asks whether this visitor has voted (5 s at most) */
.fd-pollwait{opacity:.35;pointer-events:none;transition:opacity .15s}
@media (prefers-reduced-motion:reduce){.fd-pollwait{transition:none}}
