#management-section [hidden] { display:none !important }
.op-tabs { display:flex; gap:18px; border-bottom:1px solid var(--border); margin-bottom:18px }
.op-tabs button { background:none; color:var(--muted); border:0; border-bottom:3px solid transparent; border-radius:0; padding:10px 3px; font:inherit; cursor:pointer }
.op-tabs button[aria-pressed=true] { color:var(--text); border-color:var(--primary); font-weight:700 }
#votes-section { max-width:940px; margin:0 auto 36px; }
.op-heading { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin:24px 0 16px }
.op-heading h2 { font-size:clamp(19px,3vw,26px); line-height:1.4; margin:4px 0; overflow-wrap:anywhere }
#votes-section small { color:var(--muted) }
.op-download { display:inline-block; white-space:nowrap; color:var(--primary); padding:9px 12px; border:1px solid var(--border); border-radius:8px; text-decoration:none }
.op-analytics { display:grid; grid-template-columns:minmax(245px,.85fr) minmax(0,1.4fr); align-items:start; gap:16px; font-variant-numeric:tabular-nums }
.op-analytics section { min-width:0; padding:20px; background:var(--surface); border-radius:16px }
.op-analytics h3 { margin:0; font:700 1.06rem/1.4 var(--font-heading); letter-spacing:-.025em }
.op-analytics section > small { display:block; margin-top:3px; font-size:.8rem }
.op-results { grid-column:2; grid-row:1 }
.op-turnout { position:relative; width:min(100%,184px); aspect-ratio:2; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; margin:14px auto 8px }
.op-turnout::before { content:""; position:absolute; inset:0; border-radius:100% 100% 0 0 / 200% 200% 0 0; background:conic-gradient(from -90deg at 50% 100%,var(--primary) 0 var(--turnout-angle),var(--gray-200) var(--turnout-angle) 180deg); -webkit-mask:radial-gradient(circle farthest-side at 50% 100%,transparent calc(100% - 10px),black calc(100% - 9px)); mask:radial-gradient(circle farthest-side at 50% 100%,transparent calc(100% - 10px),black calc(100% - 9px)) }
.op-turnout strong { font-size:2rem; font-weight:750; letter-spacing:-.045em; line-height:1.1 }
.op-turnout small { font-size:.8rem }
.op-bar { display:block; min-width:0; height:5px; background:var(--gray-200); border-radius:9px; overflow:hidden }
.op-bar i { display:block; height:100%; border-radius:inherit; background:var(--primary) }
.op-counts { display:flex; justify-content:space-between; gap:10px; margin:3px 0 -8px }
.op-count-link { display:inline-flex; align-items:center; gap:5px; background:transparent; padding:0; color:var(--text); font-size:.88rem }
.op-count-link span { color:var(--muted) }
.op-count-link::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--primary) }
.op-count-link:last-child::before { background:var(--gray-400) }
.op-count-link:hover strong { text-decoration:underline }
.op-choice { display:block; width:100%; padding:12px 0; background:transparent; border-radius:0; text-align:left; color:var(--text); font:inherit }
.op-choice + .op-choice { border-top:1px solid var(--gray-100) }
.op-choice:last-child { padding-bottom:0 }
.op-choice-name { display:block; font-weight:620; line-height:1.45; word-break:keep-all; overflow-wrap:anywhere }
#votes-section .op-choice-name small { display:inline-block; margin-inline-start:7px; font-size:.73rem; font-weight:650; color:var(--blue-600); white-space:nowrap }
.op-choice-metric { display:grid; grid-template-columns:minmax(30px,1fr) minmax(3.5em,auto) 3.4em; align-items:center; column-gap:8px; margin-top:5px; text-align:right }
.op-choice-metric small { font-size:.81rem }
.op-choice-metric .op-bar i { background:var(--gray-400) }
.op-choice-leading .op-bar i { background:var(--primary) }
.op-choice:hover .op-choice-name { color:var(--blue-600) }
.op-analytics button:focus-visible { outline:2px solid var(--focus); outline-offset:2px }
.op-ranks { margin-top:8px; border-top:1px solid var(--border) }
.op-ranks summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding-top:2px; font-size:.9rem; font-weight:650; cursor:pointer; list-style:none }
.op-ranks summary::-webkit-details-marker { display:none }
.op-ranks summary::after { content:""; width:7px; height:7px; border:solid var(--muted); border-width:0 1.5px 1.5px 0; transform:rotate(45deg); margin:-3px 3px 0 0 }
.op-ranks[open] summary::after { transform:rotate(225deg); margin-top:4px }
.op-ranks summary:focus-visible { outline:2px solid var(--focus); outline-offset:2px }
.op-ranks:not([open]) { margin-bottom:-8px }
.op-rank-row { display:grid; grid-template-columns:2em minmax(32px,1fr) auto 3.7em; align-items:center; gap:8px; margin-top:12px; font-size:.87rem }
.op-rank-row strong { text-align:right }
#votes-section .op-tabs { display:grid; grid-template-columns:repeat(4,1fr); gap:3px; border:0; border-radius:11px; padding:3px; background:var(--gray-100) }
#votes-section .op-tabs button { padding:6px 1px; border:0; border-radius:8px; font-size:.9rem }
#votes-section .op-tabs button[aria-pressed=true] { background:var(--surface); color:var(--text) }
@media(max-width:720px) {
  .op-analytics { grid-template-columns:minmax(0,1fr); gap:12px }
  .op-analytics section { padding:16px 18px }
  .op-results { grid-column:auto; grid-row:auto }
}
.op-roster-tools { display:flex; align-items:center; gap:12px }
.op-roster-tools > span { color:var(--muted); overflow-wrap:anywhere }
.op-copy-names { flex:none; margin-inline-start:auto; min-height:44px; padding:6px 12px; border:1px solid var(--border); border-radius:8px; background:var(--surface); color:var(--primary); font-weight:650 }
.op-roster { overflow-x:auto; margin-top:8px }
.op-roster table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums }
.op-roster :is(td,th) { padding:9px; border-bottom:1px solid var(--border); text-align:left }
.op-roster :is(td,th):nth-child(2),.op-roster :is(td,th):nth-child(3) { text-align:right; white-space:nowrap }
@media(max-width:600px) { .op-heading { flex-direction:column; gap:8px } .op-roster table { min-width:520px } }

.op-changes { list-style:none; margin:0; padding:0 }
.op-changes li { display:flex; align-items:baseline; gap:10px; padding:9px 2px; border-bottom:1px solid var(--border) }
.op-changes small { margin-left:auto; white-space:nowrap }
.op-membership { display:inline-block; margin-inline:4px; padding:2px 6px; border:1px solid var(--border); border-radius:5px; font-size:.8rem; white-space:nowrap }

.op-browse,.op-picker-close { min-height:44px; padding:8px 14px; font:inherit; color:var(--text); background:var(--surface); border:1px solid var(--border); border-radius:8px; cursor:pointer }
.op-picker[open] { display:flex; flex-direction:column; gap:12px; width:min(540px,calc(100% - 32px)); padding:20px; overflow:hidden; box-sizing:border-box }
.op-picker header,.op-poll-row small { display:flex; align-items:center; justify-content:space-between; gap:12px }
.op-picker h2,.op-picker h3 { margin:0 }
.op-picker input { box-sizing:border-box; width:100%; min-height:44px; flex:none; border:1px solid var(--border); background:var(--bg); color:var(--text); border-radius:8px; padding:8px 12px; font:inherit }
.op-picker header { position:static; padding:0; background:none; border:0 }
.op-matches { overflow:auto; overscroll-behavior:contain; min-height:0 }
.op-matches h3 { font-size:.86rem; color:var(--muted); padding:14px 8px 5px }
.op-poll-row { display:block; width:100%; color:var(--text); background:transparent; cursor:pointer; border:0; border-bottom:1px solid var(--border); border-radius:0; font:inherit; text-align:left; padding:12px 8px }
.op-poll-row:hover,.op-poll-row[aria-current=true] { background:var(--bg) }
.op-poll-row:focus-visible { outline:2px solid var(--primary); outline-offset:-2px }
.op-poll-row > span { display:block; white-space:normal; overflow-wrap:anywhere; line-height:1.45; font-weight:600 }
.op-poll-row small { margin-top:4px; font-size:.8rem }
.op-poll-row strong { color:var(--primary) }
.op-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%) }
@media(max-width:600px) {
  .op-picker[open] { width:100%; max-width:none; max-height:85dvh; margin:auto 0 0; border-radius:16px 16px 0 0; padding:16px 16px max(16px,env(safe-area-inset-bottom)) }
}

