/* Second-round proposals (runoff-proposals.js). Mobile first. */
#rp-content {--candidate-a: #176b75; --candidate-b: #7054a0;}
#rp-content .candidate-0{--candidate-color:var(--candidate-a)}#rp-content .candidate-1{--candidate-color:var(--candidate-b)}
.rp-head{padding:28px 0 14px}.rp-head h1{font-size:34px;letter-spacing:-.04em;font-weight:550;line-height:1.1}.rp-head p{color:var(--muted);font-size:13px;margin-top:8px}
.rp-contest{display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--muted);margin-bottom:14px}
.rp-contest select{font-size:15px;font-weight:550;color:var(--ink);padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.rp-sources{border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:12px 14px;margin-bottom:14px}
.rp-sources h2{font-size:13px;font-weight:600}.rp-sources>p{font-size:11px;color:var(--muted);margin:3px 0 8px}
.rp-source{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;padding:8px 0 8px 10px;border-left:3px solid var(--candidate-color);margin-top:6px}
.rp-source strong{font-size:12px;font-weight:600}.rp-source span{font-size:11px;color:var(--muted);align-self:center}
.rp-source div{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 12px}
.rp-source a{font-size:11px;color:var(--teal)}
.rp-cands{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.rp-cand{display:flex;gap:10px;align-items:flex-start;text-align:left;padding:12px;border:1px solid var(--line);border-top:3px solid var(--candidate-color);border-radius:9px;background:var(--paper)}
.rp-cand .portrait,.rp-cand img{width:44px;height:52px;flex-shrink:0;border-radius:6px;object-fit:cover}
.rp-cand span{display:flex;flex-direction:column;gap:2px;min-width:0}
.rp-cand strong{font-size:14px;font-weight:600;line-height:1.2}
.rp-cand em{font-style:normal;font-size:20px;font-weight:600;letter-spacing:-.03em;color:var(--candidate-color);margin-top:4px}
.rp-cand small{font-size:10px;color:var(--muted);line-height:1.3}
/* Infographic: one row per theme, one bar per candidate on a shared scale. */
.rp-themes{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:14px 14px 8px;margin-bottom:16px}
.rp-themes h2,.rp-topic-title{font-size:15px;font-weight:600;letter-spacing:-.01em;margin-bottom:8px}
.rp-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:10px;color:var(--muted);margin-bottom:8px}
.rp-legend span{display:flex;align-items:center;gap:5px}
.rp-legend i{width:10px;height:10px;border-radius:2px;background:var(--candidate-color)}
.rp-legend .rp-legend-strong i{background:var(--ink);opacity:.55}
.rp-theme{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;width:100%;text-align:left;padding:8px 6px;border-radius:7px;border:1px solid transparent;background:transparent}
.rp-theme.is-on{background:var(--soft);border-color:var(--line)}
.rp-theme-label{font-size:12px;font-weight:550}
.rp-bar{display:grid;grid-template-columns:1fr 36px;align-items:center;gap:8px}
.rp-bar-track{height:9px;border-radius:5px;background:transparent;overflow:hidden}
.rp-bar-all{display:block;height:100%;border-radius:5px;background:color-mix(in srgb,var(--candidate-color) 35%,transparent);min-width:2px}
.rp-bar-strong{display:block;height:100%;background:var(--candidate-color)}
.rp-bar b{font-size:11px;font-weight:600;text-align:right;color:var(--candidate-color);font-variant-numeric:tabular-nums}
.rp-topic-title{font-size:20px;margin:6px 0 2px}
.rp-filter{display:flex;align-items:center;gap:8px;font-size:12px;margin:4px 0 14px}
.rp-lists{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.rp-list h3{font-size:13px;font-weight:600;padding-bottom:8px;border-bottom:2px solid var(--candidate-color);margin-bottom:8px;display:flex;justify-content:space-between}
.rp-list h3 span{color:var(--muted);font-weight:500}
.rp-item{padding:12px 0;border-bottom:1px solid var(--line)}
.rp-item p{font-size:14px;line-height:1.5}
.rp-item.has-target p{font-weight:550}
.rp-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.rp-tags span{font-size:11px;padding:3px 8px;border-radius:999px;background:var(--soft);color:var(--ink)}
.rp-tags b{font-weight:600;color:var(--muted);margin-right:3px}
.rp-item details{margin-top:6px}.rp-item summary{font-size:11px;color:var(--teal);cursor:pointer}
.rp-item blockquote{margin:8px 0;padding:8px 12px;border-left:3px solid var(--candidate-color,var(--line));font-size:12px;line-height:1.6;color:var(--ink);background:var(--soft);white-space:pre-line}
.rp-item details a{font-size:11px;color:var(--teal)}
.rp-more{width:100%;margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:transparent;font-size:12px;color:var(--teal)}
.rp-none{padding:20px 0;color:var(--muted);font-size:13px}
.rp-method{margin:22px 0 10px;font-size:11px;line-height:1.6;color:var(--muted)}.rp-method a{color:var(--teal)}
.rp-watch{border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:14px;margin-bottom:16px}
.rp-watch-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.rp-watch-head h2{font-size:15px;font-weight:600}.rp-watch-head span{font-size:10px;color:var(--muted)}
.rp-watch-tabs{display:flex;gap:6px;margin:10px 0 4px}
.rp-watch-tab{padding:5px 11px;border:1px solid var(--line);border-radius:999px;background:transparent;font-size:11px}
.rp-watch-tab.is-on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.rp-news{padding:11px 0;border-bottom:1px solid var(--line)}
.rp-news-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;color:var(--muted)}
.rp-news-meta i{width:8px;height:8px;border-radius:50%;background:var(--candidate-color)}
.rp-news-meta strong{color:var(--candidate-color);font-weight:600;font-size:11px}
.rp-news p{font-size:13px;line-height:1.5;margin-top:4px}
.rp-news details{margin-top:4px}.rp-news summary{font-size:11px;color:var(--teal);cursor:pointer}
.rp-news blockquote{margin:6px 0;padding:6px 10px;border-left:3px solid var(--candidate-color);background:var(--soft);font-size:12px}
.rp-news-rel{font-size:11px!important;color:var(--muted)}.rp-news-rel a,.rp-news-link{font-size:11px;color:var(--teal)}
@media(max-width:650px){
  .rp-head h1{font-size:28px}
  .rp-cand{padding:10px;gap:8px}.rp-cand .portrait,.rp-cand img{width:36px;height:44px}
  .rp-cand em{font-size:18px}
  .rp-lists{display:flex;flex-direction:column;gap:22px}
  .rp-list{scroll-margin-top:12px}
}
.rp-projection{border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:14px;margin-bottom:16px}
.rp-proj-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.rp-proj-head h2{font-size:15px;font-weight:600}.rp-proj-head span{font-size:10px;color:var(--muted)}
.rp-proj-label{font-size:11px;color:var(--muted);margin:10px 0 4px}
.rp-proj-bar{display:flex;height:16px;border-radius:8px;overflow:hidden;background:var(--soft)}
.rp-proj-bar span{display:block;background:var(--candidate-color)}
.rp-proj-nums{display:flex;justify-content:space-between;font-size:14px;margin-top:4px}.rp-proj-nums strong{color:var(--candidate-color);font-weight:600}
.rp-proj-line{font-size:12px;margin-top:8px;line-height:1.5}.rp-proj-line span{font-size:11px;color:var(--muted)}
.rp-proj-ev{padding-left:18px;font-size:12px;line-height:1.6}
.rp-proj-link{display:inline-block;margin-top:10px;font-size:12px;color:var(--teal)}
.rp-news-proj{margin:6px 0 0;font-size:12px}.rp-news-proj a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.rp-news-proj::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;border:1.5px solid currentColor;vertical-align:1px}
.rp-news-proj.is-model{font-weight:600}.rp-news-proj.is-model::before{background:currentColor}
.rp-facts{margin:10px 0 14px;padding:10px 12px;border-left:3px solid currentColor;background:color-mix(in srgb,currentColor 4%,transparent)}
.rp-facts h3{font-size:13px;margin:0 0 6px}.rp-facts ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.rp-facts li{font-size:13px}
