/* Sized relative to the message body (15px, 17px on phones) */
.pl-poll { margin: 0 0 16px; padding: 16px 18px; border: 1px solid #b9d5f5; border-left: 5px solid var(--pl-color, #2a7ae2);
  border-radius: 10px; background: #eaf3fd; font-size: 1.1em; line-height: 1.45; max-width: 620px; }
.pl-head { margin-bottom: 12px; font-weight: bold; font-size: 1.2em; line-height: 1.3; }
.pl-head .pl-tag { font-size: 11px; vertical-align: 3px; }
.pl-tag { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px;
  text-transform: uppercase; letter-spacing: .04em; background: var(--pl-color, #2a7ae2); color: #fff; vertical-align: 1px; }
.pl-form[hidden], .pl-results[hidden], .pl-btn[hidden] { display: none; }
.pl-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.pl-opt input { margin: 0; }
.pl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.pl-btn { cursor: pointer; border: 1px solid rgba(128,128,128,.45); border-radius: 999px; padding: 4px 14px;
  background: transparent; color: inherit; font: inherit; }
.pl-btn:hover { background: rgba(128,128,128,.15); }
.pl-primary { background: var(--pl-color, #2a7ae2); border-color: var(--pl-color, #2a7ae2); color: #fff; }
.pl-primary:hover { background: var(--pl-color, #2a7ae2); filter: brightness(1.1); }
.pl-link { border-color: transparent; padding-left: 4px; padding-right: 4px; text-decoration: underline; }
.pl-msg { opacity: .8; }
.pl-row { margin: 6px 0 9px; }
.pl-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 3px; }
.pl-pct { flex: none; opacity: .8; }
.pl-track { height: 10px; border-radius: 5px; background: rgba(42,122,226,.15); overflow: hidden; }
.pl-fill { height: 100%; border-radius: 5px; background: rgba(42,122,226,.45); }
.pl-top .pl-fill { background: var(--pl-color, #2a7ae2); }
.pl-mine .pl-label span:first-child { font-weight: bold; }
.pl-mine .pl-label span:first-child::after { content: " \2713"; }
.pl-meta { margin-top: 10px; font-size: .85em; opacity: .75; }

/* posting editor (#phorum fieldset in the theme removes border, padding and margin) */
#phorum fieldset.pl-editor, .pl-editor { margin: 4px 0 14px; padding: 8px 10px; border: 1px solid rgba(128,128,128,.45);
  border-left: 4px solid var(--pl-color, #2a7ae2); border-radius: 6px; background: rgba(42,122,226,.06); }
.pl-editor > label[for="pl-on"] { cursor: pointer; }
.pl-editor > label[for="pl-on"]::before { content: "\1F4CA  "; }
.pl-editor-body { margin-top: 8px; }
#pl-on:not(:checked) ~ .pl-editor-body { display: none; }
.pl-editor-options { margin: 8px 0; }
.pl-option { display: block; margin: 4px 0; max-width: 100%; box-sizing: border-box; }
.pl-option[hidden] { display: none; }
#pl-question { max-width: 100%; box-sizing: border-box; }
.pl-note { margin: 4px 0 8px; font-size: 12px; opacity: .8; }
