/* Event results and explicit pick feedback. No motion runs on a timer. */
:is(.eh-page,.eb-election) .eh-results-panel{border:1px solid #d8b97866;background:linear-gradient(135deg,var(--eh-page-tint,#15372d),#14231f);box-shadow:0 16px 48px #0002;overflow:hidden}
:is(.eh-page,.eb-election) .eh-results-panel>summary{padding:22px 24px;color:#f8efd9;min-height:68px;font-size:15px}
:is(.eh-page,.eb-election) .eh-results-panel[open]>summary{border-bottom:1px solid #d8b97838;background:#d8b9780b}
:is(.eh-page,.eb-election) .eh-results-panel>div{padding:22px 24px}
:is(.eh-page,.eb-election) .eh-results-panel [data-event-load]{margin:0 0 12px;min-height:44px;background:#d8b97816;color:#f8efd9;border-color:#d8b97870}
:is(.eh-page,.eb-election) .eh-results-panel [data-event-load]:hover,:is(.eh-page,.eb-election) .eh-results-panel [data-event-load]:focus-visible{background:#d8b978;color:#0c281f}
:is(.eh-page,.eb-election) [data-event-results]:not(:empty){padding:5px 0 0}
:is(.eh-page,.eb-election) [data-event-results] h4{font:600 20px/1.3 var(--body,'Segoe UI',sans-serif);letter-spacing:-.025em;color:#faf3e3;margin:0 0 20px}
:is(.eh-page,.eb-election) .eh-results-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
:is(.eh-page,.eb-election) .eh-results-total{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
:is(.eh-page,.eb-election) .eh-results-total strong{font:600 clamp(36px,4vw,56px)/1 var(--body,'Segoe UI',sans-serif);letter-spacing:-.06em;font-variant-numeric:tabular-nums;color:#e3c480}
:is(.eh-page,.eb-election) .eh-results-total>span{font-size:12px;color:#c6d4ca}
:is(.eh-page,.eb-election) .eh-results-sort{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#c6d4ca;flex:0 0 auto}
:is(.eh-page,.eb-election) .eh-results-sort select{min-height:44px;width:auto;max-width:180px;border:1px solid #789687;border-radius:10px;padding:9px 30px 9px 12px;background:#102c22;color:#fff8e8;font:600 12px/1.4 var(--body,'Segoe UI',sans-serif);color-scheme:dark}
:is(.eh-page,.eb-election) .eh-results-sort select:focus-visible{outline:3px solid #d5bcff;outline-offset:3px}
:is(.eh-page,.eb-election) p.eh-results-snapshot{font-size:11px;color:#d7c8a9;line-height:1.5;margin:0 0 15px}
:is(.eh-page,.eb-election) .eh-results-scroll{max-width:100%;overflow-x:auto;border:1px solid #aec0ac35;border-radius:14px;background:#081a1433;scrollbar-width:thin;scrollbar-color:#9b8555 #112c22}
:is(.eh-page,.eb-election) .eh-results-scroll:focus-visible{outline:3px solid #d5bcff;outline-offset:3px}
:is(.eh-page,.eb-election) .eh-results-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:435px;margin:0;color:#faf3e3;line-height:1.45;font-size:12px}
:is(.eh-page,.eb-election) .eh-results-table th,:is(.eh-page,.eb-election) .eh-results-table td{padding:16px 12px;vertical-align:middle;border:0;border-bottom:1px solid #aec0ac24;background:transparent;overflow-wrap:anywhere}
:is(.eh-page,.eb-election) .eh-results-table thead th{font-size:9px;text-transform:uppercase;letter-spacing:.13em;color:#c6d4ca;text-align:left;background:#d8b97809;padding-block:14px}
:is(.eh-page,.eb-election) .eh-results-table thead th:nth-child(1){width:40px}
:is(.eh-page,.eb-election) .eh-results-table thead th:nth-child(2){width:auto}
:is(.eh-page,.eb-election) .eh-results-table thead th:nth-child(3){width:65px;text-align:right}
:is(.eh-page,.eb-election) .eh-results-table thead th:nth-child(4){width:120px}
:is(.eh-page,.eb-election) .eh-results-table tbody th{text-align:left;font-weight:600}
:is(.eh-page,.eb-election) .eh-results-table tbody tr:last-child>*{border-bottom:0}
:is(.eh-page,.eb-election) .eh-results-table .eh-result-rank{font:700 14px/1.3 var(--body,'Segoe UI',sans-serif);color:#a3bcab;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
:is(.eh-page,.eb-election) .eh-results-table .is-result-top .eh-result-rank{color:#e3c480}
:is(.eh-page,.eb-election) .eh-results-table .is-result-top{background:linear-gradient(90deg,#d8b9780e,transparent)}
:is(.eh-page,.eb-election) .eh-result-person{display:flex;align-items:center;gap:10px;min-width:0}
:is(.eh-page,.eb-election) .eh-result-person>img{width:40px;height:40px;flex:0 0 40px;border-radius:50%;object-fit:cover;object-position:center 25%;border:1px solid #d8b97855;background:#274436}
:is(.eh-page,.eb-election) .eh-result-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
:is(.eh-page,.eb-election) .eh-result-copy>span{font-size:12px;color:#fff5e1;line-height:1.45}
:is(.eh-page,.eb-election) .eh-result-copy>small{font-size:10px;color:#bacbbd;line-height:1.4;font-weight:400}
:is(.eh-page,.eb-election) .eh-results-table .eh-result-count{text-align:right;font:700 16px/1.2 var(--body,'Segoe UI',sans-serif);font-variant-numeric:tabular-nums;color:#fff6e4}
:is(.eh-page,.eb-election) .eh-result-percent{display:block;font-size:11px;font-weight:700;color:#ddc38d;margin-bottom:7px;font-variant-numeric:tabular-nums}
:is(.eh-page,.eb-election) .eh-result-track{display:block;height:6px;position:relative;border-radius:20px;background:#c8dbc31c;overflow:hidden;width:100%}
:is(.eh-page,.eb-election) .eh-result-bar{display:block;height:100%;width:var(--result-share,0%);border-radius:inherit;background:linear-gradient(90deg,#7fb69b,#e3c480);transform-origin:left center}
:is(.eh-page,.eb-election) .is-result-entering .eh-result-bar{animation:eh-result-fill .8s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--result-order,0)*35ms)}
:is(.eh-page,.eb-election) .is-result-entering{animation:eh-result-appear .5s ease-out both;animation-delay:calc(var(--result-order,0)*35ms)}
:is(.eh-page,.eb-election) p.eh-results-updated{margin:14px 0 0;font-size:10px;color:#acbcae;line-height:1.5}
:is(.eh-page,.eb-election) .eh-results-method{margin-top:14px;padding-top:12px;border-top:1px solid #aec0ac28}
:is(.eh-page,.eb-election) .eh-results-method>summary{min-height:34px;cursor:pointer;font-size:11px;color:#dbc38c;line-height:1.6}
:is(.eh-page,.eb-election) .eh-results-method .event-poll-disclaimer{font-size:11px;line-height:1.7;color:#c5d3c8;margin:10px 0 0;max-width:72ch}
:is(.eh-page,.eb-election) p.eh-results-loading,:is(.eh-page,.eb-election) p.eh-results-error{border:1px dashed #b9af8b66;background:#d8b97808;border-radius:12px;padding:18px;font-size:12px;color:#e9ddc2;margin:10px 0}
:is(.eh-page,.eb-election) p.eh-results-error{border-color:#f3ba9c88;color:#ffe0c8}
:is(.eh-page,.eb-election) .eh-nominee.is-pick-selected{border-color:#e3c480;box-shadow:0 0 0 1px #e3c480,0 18px 46px #0003}
:is(.eh-page,.eb-election) .eh-nominee.is-pick-counted{border-color:#9bcba6;box-shadow:0 0 0 1px #9bcba6,0 18px 46px #0003}
:is(.eh-page,.eb-election) .eh-pick-feedback{position:relative;isolation:isolate;display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:10px;align-items:center;gap:1px 10px;padding:13px 16px;margin-top:auto;min-height:64px;color:#faf1d8;background:linear-gradient(110deg,#365447,#243c31);border-top:1px solid #d8b97866;overflow:hidden}
:is(.eh-page,.eb-election) .eh-pick-feedback-icon{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border:1px solid #d8b97888;border-radius:50%;color:#0b281c;background:#e3c480;font-size:16px;font-weight:800;z-index:1}
:is(.eh-page,.eb-election) .eh-pick-feedback strong{font-size:12px;line-height:1.5;font-weight:700;z-index:1}
:is(.eh-page,.eb-election) .eh-pick-feedback small{font-size:10px;line-height:1.5;color:#d0ddcb;z-index:1}
:is(.eh-page,.eb-election) .eh-pick-feedback.is-pick-animated{animation:eh-pick-reveal .5s cubic-bezier(.16,1,.3,1) both}
:is(.eh-page,.eb-election) .eh-pick-feedback.is-pick-animated .eh-pick-feedback-icon{animation:eh-pick-check .7s cubic-bezier(.16,1,.3,1) both}
:is(.eh-page,.eb-election) .eh-pick-burst{position:absolute;left:29px;top:31px;width:0;height:0;pointer-events:none}
:is(.eh-page,.eb-election) .eh-pick-burst i{position:absolute;left:-2px;top:-2px;width:5px;height:5px;border-radius:2px;background:#e3c480;opacity:0;transform:rotate(var(--pick-angle)) translateX(0);animation:eh-pick-particle .8s ease-out both}
:is(.eh-page,.eb-election) .eh-pick-burst i:nth-child(2n){background:#b0d9b5;width:4px;height:7px}
@keyframes eh-result-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes eh-result-appear{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes eh-pick-reveal{from{opacity:.35;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes eh-pick-check{0%{transform:scale(.55)}55%{transform:scale(1.15)}100%{transform:scale(1)}}
@keyframes eh-pick-particle{0%{opacity:0;transform:rotate(var(--pick-angle)) translateX(8px) scale(.3)}20%{opacity:.9}100%{opacity:0;transform:rotate(var(--pick-angle)) translateX(48px) scale(.3)}}
:is(.eh-page,.eb-election)[data-event-motion="0"] .is-result-entering,:is(.eh-page,.eb-election)[data-event-motion="0"] .eh-result-bar,:is(.eh-page,.eb-election)[data-event-motion="0"] .eh-pick-feedback,:is(.eh-page,.eb-election)[data-event-motion="0"] .eh-pick-feedback-icon,:is(.eh-page,.eb-election)[data-event-motion="0"] .eh-pick-burst i,:is(.eh-page,.eb-election) [data-event-motion="0"] .is-result-entering,:is(.eh-page,.eb-election) [data-event-motion="0"] .eh-result-bar,:is(.eh-page,.eb-election) [data-event-motion="0"] .eh-pick-feedback,:is(.eh-page,.eb-election) [data-event-motion="0"] .eh-pick-feedback-icon,:is(.eh-page,.eb-election) [data-event-motion="0"] .eh-pick-burst i,html[data-motion-enabled="0"] :is(.eh-page,.eb-election) .is-result-entering,html[data-motion-enabled="0"] :is(.eh-page,.eb-election) .eh-result-bar,html[data-motion-enabled="0"] :is(.eh-page,.eb-election) .eh-pick-feedback,html[data-motion-enabled="0"] :is(.eh-page,.eb-election) .eh-pick-feedback-icon,html[data-motion-enabled="0"] :is(.eh-page,.eb-election) .eh-pick-burst i{animation:none!important}
@media(max-width:600px){:is(.eh-page,.eb-election) .eh-results-panel>summary{padding:18px;font-size:14px}:is(.eh-page,.eb-election) .eh-results-panel>div{padding:18px 14px}:is(.eh-page,.eb-election) .eh-results-heading{gap:12px}:is(.eh-page,.eb-election) .eh-results-total{gap:7px}:is(.eh-page,.eb-election) .eh-results-total>span{font-size:10px}:is(.eh-page,.eb-election) .eh-results-sort select{font-size:11px;max-width:145px}:is(.eh-page,.eb-election) .eh-results-table th,:is(.eh-page,.eb-election) .eh-results-table td{padding:14px 9px}:is(.eh-page,.eb-election) .eh-result-person>img{width:32px;height:32px;flex-basis:32px}:is(.eh-page,.eb-election) .eh-results-table{min-width:0}:is(.eh-page,.eb-election) .eh-results-table thead th:nth-child(1){width:34px}:is(.eh-page,.eb-election) .eh-results-table thead th:nth-child(3){width:40px}:is(.eh-page,.eb-election) .eh-results-table thead th:nth-child(4){width:76px}:is(.eh-page,.eb-election) .eh-result-copy>span{font-size:11px}}
@media(prefers-reduced-motion:reduce){:is(.eh-page,.eb-election) .is-result-entering,:is(.eh-page,.eb-election) .eh-result-bar,:is(.eh-page,.eb-election) .eh-pick-feedback,:is(.eh-page,.eb-election) .eh-pick-feedback-icon,:is(.eh-page,.eb-election) .eh-pick-burst i{animation:none!important;transition:none!important}}
html.republic-motion-paused :is(.eh-page,.eb-election) .is-result-entering,html.republic-motion-paused :is(.eh-page,.eb-election) .eh-result-bar,html.republic-motion-paused :is(.eh-page,.eb-election) .eh-pick-feedback,html.republic-motion-paused :is(.eh-page,.eb-election) .eh-pick-feedback-icon,html.republic-motion-paused :is(.eh-page,.eb-election) .eh-pick-burst i{animation:none!important;transition:none!important}
.eb-election .fe-results{border:1px solid #d8b97866;border-radius:18px;background:linear-gradient(145deg,#15372d,#10251d);padding:24px;overflow:hidden;min-width:0}
.eb-election .fe-results .fe-section__head{gap:16px;align-items:center}.eb-election .fe-results .fe-section__head h3{font-size:22px;line-height:1.25}.eb-election .fe-results .fe-result-total{font-size:40px;font-weight:700;letter-spacing:-.045em;color:#e3c480;line-height:1.25;margin:24px 0 15px;font-variant-numeric:tabular-nums}
.eb-election .fe-results .eh-results-sort{align-items:start;margin:0 0 18px}.eb-election .fe-results .eh-results-table th{font-size:12px}.eb-election .fe-results .eh-results-table thead th{font-size:9px}
.eb-election .fe-poll-form .eh-pick-feedback{margin-top:18px;border:1px solid #d8b97866;border-radius:12px}
.eb-election .fe-event-window{position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #d8b97855;border-radius:16px;padding:20px 24px;margin:0 0 28px;background:linear-gradient(120deg,#d8b97814,#12392c);color:#f8efd9}
.eb-election .fe-event-window>strong{font-size:15px;line-height:1.4}.eb-election .fe-event-window p{margin:0;font-size:12px;line-height:1.7;color:#d2dfd5}.eb-election .fe-event-window time{color:#e3c480;font-variant-numeric:tabular-nums}.eb-election .fe-window-tag{display:inline-flex;align-items:center;border:1px solid #d8b97866;padding:6px 10px;border-radius:99px;background:#d8b97812;color:#e3c480;font-size:10px;line-height:1.4;font-weight:700}
@media(max-width:600px){.eb-election .fe-results{padding:19px 14px}.eb-election .fe-results .fe-section__head{align-items:start;flex-wrap:wrap}.eb-election .fe-results .fe-section__head h3{font-size:20px}.eb-election .fe-results .fe-result-total{font-size:34px}.eb-election .fe-event-window{display:block;padding:18px}.eb-election .fe-event-window p{margin-top:10px;font-size:11px}.eb-election .fe-window-tag{margin-top:10px}}

/* On a phone every result keeps its name, count and full share bar in one readable row.
   Explicit table roles in the renderers retain table navigation when rows become grids. */
@media(max-width:600px){
  :is(.eh-page,.eb-election) .eh-results-panel>summary{padding:16px 14px;min-height:56px;gap:10px}
  :is(.eh-page,.eb-election) .eh-results-panel>div{padding:16px 12px}
  :is(.eh-page,.eb-election) .eh-results-heading{align-items:stretch;flex-direction:column;gap:15px}
  :is(.eh-page,.eb-election) .eh-results-total strong{font-size:40px}
  :is(.eh-page,.eb-election) .eh-results-total>span{font-size:12px}
  :is(.eh-page,.eb-election) .eh-results-sort,.eb-election .fe-results .eh-results-sort{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:12px}
  :is(.eh-page,.eb-election) .eh-results-sort select{flex:1;max-width:none;min-width:0;min-height:46px;font-size:16px;padding:10px 30px 10px 12px}
  :is(.eh-page,.eb-election) .eh-results-panel [data-event-load]{width:100%;justify-content:center;min-height:46px;font-size:12px}
  :is(.eh-page,.eb-election) .eh-results-scroll{overflow:visible;border-radius:12px;background:#081a1455}
  :is(.eh-page,.eb-election) .eh-results-table{display:block;min-width:0;width:100%;table-layout:auto}
  :is(.eh-page,.eb-election) .eh-results-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;border:0}
  :is(.eh-page,.eb-election) .eh-results-table tbody{display:block;width:100%}
  :is(.eh-page,.eb-election) .eh-results-table tbody tr{display:grid;grid-template-columns:22px minmax(0,1fr) 48px;grid-template-rows:auto auto;gap:10px 9px;padding:16px 12px;border-bottom:1px solid #aec0ac2b;min-width:0}
  :is(.eh-page,.eb-election) .eh-results-table tbody tr:last-child{border-bottom:0}
  :is(.eh-page,.eb-election) .eh-results-table tbody th,:is(.eh-page,.eb-election) .eh-results-table tbody td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere}
  :is(.eh-page,.eb-election) .eh-results-table .eh-result-rank{grid-column:1;grid-row:1/3;padding-top:4px;font-size:14px;text-align:left;line-height:1.5}
  :is(.eh-page,.eb-election) .eh-results-table tbody th[scope=row]{grid-column:2;grid-row:1;align-self:start;font-size:13px!important;line-height:1.55}
  :is(.eh-page,.eb-election) .eh-result-person{align-items:start;gap:8px}
  :is(.eh-page,.eb-election) .eh-result-person>img{width:30px;height:30px;flex:0 0 30px;margin-top:2px}
  :is(.eh-page,.eb-election) .eh-result-copy{gap:4px}
  :is(.eh-page,.eb-election) .eh-result-copy>span{font-size:13px;line-height:1.55}
  :is(.eh-page,.eb-election) .eh-result-copy>small{font-size:11px;line-height:1.5}
  :is(.eh-page,.eb-election) .eh-results-table .eh-result-count{grid-column:3;grid-row:1;text-align:right;font-size:20px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
  :is(.eh-page,.eb-election) .eh-result-count::before{content:'Picks';display:block;font:600 9px/1.4 var(--body,'Segoe UI',sans-serif);letter-spacing:.08em;text-transform:uppercase;color:#b9cbbb;margin-bottom:3px}
  :is(.eh-page,.eb-election) .eh-results-table .eh-result-share{grid-column:2/4;grid-row:2;display:grid;grid-template-columns:48px minmax(0,1fr);gap:9px;align-items:center}
  :is(.eh-page,.eb-election) .eh-result-percent{font-size:12px;line-height:1.5;margin:0;white-space:nowrap}
  :is(.eh-page,.eb-election) .eh-result-track{height:7px;min-width:0}
  :is(.eh-page,.eb-election) p.eh-results-snapshot,:is(.eh-page,.eb-election) p.eh-results-updated{font-size:11px;line-height:1.65}
  :is(.eh-page,.eb-election) .eh-results-method>summary{min-height:44px;display:flex;align-items:center;font-size:12px}
  :is(.eh-page,.eb-election) .eh-results-method .event-poll-disclaimer{font-size:12px;line-height:1.7}
  .eb-election .fe-results .fe-section__head [data-election-results-refresh]{min-height:44px;font-size:12px}
}
