/* All poll typography uses the requested font without affecting the site's other elements. */
.ep-poll,
.ep-poll *,
.ep-poll *::before,
.ep-poll *::after {
    font-family: 'Sofia Sans Semi Condensed', sans-serif !important;
}

.ep-poll{--ep-accent:#d41244;--ep-ink:#222;--ep-light:#f3f4f6;--ep-border:#e4e6ea;font-family:inherit;color:var(--ep-ink);width:100%;box-sizing:border-box;border:none;border-radius:6px;padding:0;background:#fff}
.ep-poll *, .ep-poll *::before, .ep-poll *::after{box-sizing:border-box}
.ep-poll .ep-poll-top{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:8px}
.ep-poll .ep-poll-title{font:inherit;font-size:1.3rem;font-weight:750;line-height:1.1;color:#222;margin:0 0 20px}
.ep-poll .ep-poll-options{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:8px;min-width:0}
.ep-poll .ep-poll-options[hidden],.ep-poll .ep-poll-results[hidden],.ep-poll [hidden]{display:none!important}
.ep-poll .ep-poll-option{appearance:none;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-width:0;min-height:56px;aspect-ratio:auto;padding:7px 10px;border:1px solid #e4e6e9;border-radius:6px;color:#222;background:#fafafa;box-shadow:none;font:inherit;font-size:1rem;font-weight:650;line-height:1.2;text-align:left;transition:border-color .18s,background .18s;transform:none!important;cursor:pointer}
.ep-poll .ep-poll-option:not(:disabled):hover,.ep-poll .ep-poll-option:not(:disabled):focus-visible{border-color:var(--ep-accent);background:#fff4f7;transform:none!important;outline-offset:3px}
.ep-poll .ep-poll-option:disabled{cursor:default;opacity:.72}
.ep-poll .ep-poll-logo-box{width:42px;height:42px;aspect-ratio:1/1;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border-radius:4px;background:#fff;border:1px solid #ececef}
.ep-poll .ep-poll-logo{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff}
.ep-poll .ep-poll-logo-letter{font-size:23px;font-weight:800;color:#777;line-height:1}
.ep-poll .ep-poll-option-name{display:block;flex:1 1 auto;min-width:0;overflow-wrap:anywhere;word-break:normal;text-align:left}
.ep-poll .ep-poll-results{display:grid;gap:17px;margin-top:17px}
.ep-poll .ep-poll-result{min-width:0}
.ep-poll .ep-poll-result-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:7px}
.ep-poll .ep-poll-result-info{min-width:0;display:flex;gap:11px;align-items:center}
.ep-poll .ep-poll-result-logo{width:42px;height:42px;border-radius:50%}
.ep-poll .ep-poll-result-logo .ep-poll-logo-letter{font-size:19px}
.ep-poll .ep-poll-result-name{font-size:1rem;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.ep-poll .ep-poll-percent{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px;background:#eee;padding:2px 7px;border-radius:4px;border:1px solid #ddd}
.ep-poll .ep-poll-bar-track{height:10px;width:100%;border-radius:2px;background:#ebedf0;overflow:hidden}
.ep-poll .ep-poll-bar-fill{height:100%;min-width:0;background:repeating-linear-gradient(45deg,#d41244 0,#d41244 6px,#dc4169 6px,#dc4169 12px);border-radius:2px;transition:width .35s ease}
/* Animate actual result values only after submitting or changing a vote. */
.ep-poll .ep-poll-bar-fill.ep-poll-bar-grow{transform-origin:left center;animation:ep-poll-bar-grow 1100ms cubic-bezier(.18,.62,.32,1) both}
@keyframes ep-poll-bar-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.ep-poll .ep-poll-message{display:inline-block;margin:15px 0 0;padding:5px 10px;font-size:13px;color:#555;line-height:1.5;background:#f3f4f6;border-radius:4px}
.ep-poll .ep-poll-message:empty{display:none}
.ep-poll .ep-poll-message.ep-is-info{color:#555;background:#f3f4f6}
.ep-poll .ep-poll-message.ep-is-success{color:#20613a;background:#e6f6e9}
.ep-poll .ep-poll-message.ep-is-error{color:#942b34;background:#fde9eb}
.ep-poll .ep-poll-total{font-size:1rem;color:#666;margin:2px 0 0;padding-top:10px;border-top:1px solid var(--ep-border)}
@media (max-width:560px){.ep-poll .ep-poll-top{display:block}.ep-poll .ep-poll-option{padding:7px 9px;gap:10px}.ep-poll .ep-poll-result-logo{width:38px;height:38px}.ep-poll .ep-poll-result-name{font-size:1rem}}
@media (prefers-reduced-motion:reduce){.ep-poll .ep-poll-option,.ep-poll .ep-poll-bar-fill{transition:none!important}.ep-poll .ep-poll-bar-fill.ep-poll-bar-grow{animation:none!important}}

.ep-poll .ep-poll-footer{display:flex;justify-content:flex-end;margin-top:14px}
.ep-poll .ep-poll-change{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:9px 16px;border:1px solid var(--ep-accent);border-radius:4px;background:#fff;color:var(--ep-accent);font:inherit;font-size:12px;font-weight:750;letter-spacing:.025em;cursor:pointer;transition:background .15s,color .15s}
.ep-poll .ep-poll-change:hover,.ep-poll .ep-poll-change:focus-visible{background:var(--ep-accent);color:#fff}
.ep-poll .ep-poll-change:disabled{opacity:.5;cursor:default}

/* Static poll text and result areas use the default cursor. Keep voting
   tiles and the change-vote button interactive (cursor: pointer). */
.ep-poll .ep-poll-title,
.ep-poll .ep-poll-results,
.ep-poll .ep-poll-results *,
.ep-poll .ep-poll-message {
    cursor: default !important;
}

/* A clickable voting row must show the pointer over its entire surface,
   including the abbreviation, image, and nested logo elements. */
.ep-poll .ep-poll-option:not(:disabled),
.ep-poll .ep-poll-option:not(:disabled) * {
    cursor: pointer !important;
}

/* Voting options are full-width horizontal rows: small logo on the left,
   abbreviation on the right. One answer per line at every container width.
   Logos keep their aspect ratio with object-fit: contain. Result rows are untouched. */

/* Change-vote control: display independently of the responsive tile layout.
   The [hidden] attribute still hides it for visitors who have not voted and
   for closed polls. Scoped rules avoid affecting theme buttons. */
.ep-poll .ep-poll-footer:not([hidden]) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    justify-content: flex-end;
}
.ep-poll .ep-poll-footer:not([hidden]) > .ep-poll-change {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.ep-poll .ep-poll-change:disabled {
    opacity: 1 !important;
    color: #777;
    border-color: #ccc;
    background: #f3f4f6;
    cursor: not-allowed;
}
