/* Poll aggregate rendering — see layouts/shortcodes/poll-results.html.
   Deliberately plain: this is evidence, not decoration. */

.poll-results { margin: 1.5rem 0 2rem; }

.poll-results__meta { font-size: .95rem; opacity: .85; }

.poll-results__withheld {
  margin-top: 1.5rem;
  padding: .75rem 1rem;
  border-left: 3px solid #011F5B;
  background: rgba(1, 31, 91, .04);
  font-size: .9rem;
  opacity: .9;
}

.poll-q { margin: 1.5rem 0; }
.poll-q__title { margin: 0 0 .35rem; font-size: 1rem; line-height: 1.35; }
.poll-q__summary { margin: 0 0 .6rem; font-size: .9rem; opacity: .8; }

.poll-bars { list-style: none; margin: 0; padding: 0; }
.poll-bars li {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .25rem 0;
  font-size: .9rem;
}
.poll-bars__label {
  flex: 0 0 2ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  opacity: .8;
}
.poll-bars__label--wide { flex: 0 0 16rem; text-align: left; }
.poll-bars__bar {
  height: .85rem;
  min-width: 2px;
  border-radius: 2px;
  background: #011F5B;
  flex: 0 1 auto;
  max-width: 60%;
}
.poll-bars__n { font-variant-numeric: tabular-nums; opacity: .7; }

.poll-terms { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; }
.poll-term {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(1, 31, 91, .07);
  font-size: .9rem;
}
.poll-term[data-n="2"], .poll-term[data-n="3"] { background: rgba(1,31,91,.15); font-weight: 600; }

@media (max-width: 600px) {
  .poll-bars__label--wide { flex: 0 0 100%; }
  .poll-bars li { flex-wrap: wrap; }
}
