/* Poll charts — shared by the on-air screen and the results page */
.pv-bars{position:relative}
.pv-bars .pv-row{position:absolute;left:0;right:0;display:flex;flex-direction:column;justify-content:center;gap:10px;transition:top .7s var(--ease-out)}
.pv-bars.is-flow .pv-row{position:static;padding:12px 0;border-bottom:1.5px dotted color-mix(in oklab,var(--ink) 11%,transparent)}
.pv-bars.is-flow .pv-row:last-child{border-bottom:0}
.pv-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.pv-label{color:var(--ink);font-size:var(--pv-label,16px);line-height:1.3;text-wrap:pretty}
.pv-val{display:flex;align-items:baseline;gap:10px;flex:none;font-variant-numeric:tabular-nums}
.pv-pct{font-family:var(--serif);font-weight:600;font-size:var(--pv-pct,20px);color:var(--green-800)}
.pv-n{font-size:var(--pv-n,13px);color:var(--ink-mute)}
.pv-track{height:var(--pv-bar,12px);border-radius:999px;background:var(--paper-3);overflow:hidden}
.pv-fill{height:100%;border-radius:999px;background:var(--green-500);transition:width .9s var(--ease-out),background .3s}
.pv-row.is-lead .pv-fill{background:var(--green-800)}
.pv-row.is-other .pv-fill{background:var(--cream)}
.pv-row.is-other .pv-label,.pv-row.is-meta .pv-label{color:var(--ink-mute);font-style:italic}

.pv-donut{display:grid;grid-template-columns:auto 1fr;gap:var(--pv-gap,32px);align-items:center;height:100%}
.pv-donut-fig{position:relative;width:var(--pv-donut,240px);aspect-ratio:1}
.pv-donut-fig svg{width:100%;height:100%}
.pv-donut-bg{fill:none;stroke:none}
.pv-seg{fill:none;stroke-width:30;transition:stroke .3s}
.pv-donut-center{position:absolute;inset:22%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.pv-donut-center b{font-family:var(--serif);font-weight:600;font-size:var(--pv-dc,44px);color:var(--green-800);line-height:1;font-variant-numeric:tabular-nums}
.pv-donut-center span{font-size:var(--pv-dcs,13px);color:var(--ink-mute);margin-top:6px;line-height:1.25}
.pv-legend{display:flex;flex-direction:column;gap:2px}
.pv-leg-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:var(--pv-legpad,7px) 0;border-bottom:1.5px dotted color-mix(in oklab,var(--ink) 10%,transparent);font-size:var(--pv-label,15px)}
.pv-leg-row:last-child{border-bottom:0}
.pv-sw{width:.8em;height:.8em;border-radius:3px}
.pv-leg-l{color:var(--ink);line-height:1.3}
.pv-leg-v{font-family:var(--serif);font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}

.pv-est{display:flex;flex-direction:column;height:100%;gap:var(--pv-gap,22px)}
.pv-est-cols{flex:1;display:flex;gap:var(--pv-colgap,14px);min-height:var(--pv-esth,220px)}
.pv-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative}
.pv-col-tag{opacity:0;transform:translateY(6px);font-size:var(--pv-n,12px);font-weight:600;color:#fff;background:var(--ochre);padding:4px 12px;border-radius:999px;transition:opacity .4s,transform .4s var(--ease-out)}
.pv-col-pct{font-family:var(--serif);font-weight:600;font-size:var(--pv-pct,20px);color:var(--ink);font-variant-numeric:tabular-nums}
.pv-col-track{flex:1;width:100%;position:relative;min-height:60px}
.pv-col-bar{position:absolute;left:0;right:0;bottom:0;border-radius:8px 8px 3px 3px;background:var(--green-500);transition:height .9s var(--ease-out),background .4s}
.pv-col.is-lead .pv-col-bar{background:var(--green-800)}
.pv-col.is-actual .pv-col-bar{background:var(--ochre)}
.pv-col.is-actual .pv-col-tag{opacity:1;transform:none}
.pv-col.is-actual .pv-col-pct{color:#7c5414}
.pv-col-l{font-size:var(--pv-label,14px);color:var(--ink-soft);text-align:center;font-variant-numeric:tabular-nums}
.pv-est-call{display:flex;flex-direction:column;gap:4px;padding:var(--pv-callpad,16px 20px);border-radius:12px;background:var(--paper-2);border:1.5px solid var(--cream-200);transition:background .4s,color .4s,border-color .4s}
.pv-call-k{font-family:var(--serif);font-style:italic;font-size:var(--pv-n,14px);color:var(--ink-mute)}
.pv-call-t{font-family:var(--serif);font-size:var(--pv-call,19px);color:var(--ink);line-height:1.35}
.pv-call-t b{font-weight:600}
.pv-est-call.is-revealed{background:var(--ochre-wash);border-color:color-mix(in oklab,var(--ochre) 34%,var(--cream))}
.pv-est-call.is-revealed .pv-call-k{color:#7c5414}
.pv-est-call.is-revealed .pv-call-t b{color:#7c5414}

.pv-cloud{position:relative;overflow:hidden}
.pv-word{position:absolute;font-family:var(--serif);font-weight:600;line-height:1;white-space:nowrap;letter-spacing:-.01em;color:var(--green-800);transition:left .8s var(--ease-out),top .8s var(--ease-out),font-size .8s var(--ease-out),opacity .5s}
.pv-word.is-meta{font-style:italic;font-weight:500;color:var(--ink-mute)}
.pv-meas{visibility:hidden;left:-9999px;top:0;transition:none}
