/*
 * Deliberately minimal / theme-agnostic. q52-theme-child's single-post
 * template (templates/legacy-systems-post.html) wraps this block in its own
 * spacing and dark-background context — this file only styles the poll's
 * own internals, not its placement on the page.
 */
.q52-legacy-systems-poll:empty {
    display: none;
}

.q52-ls-poll-question {
    font-weight: 600;
    margin: 0 0 0.75em;
}

.q52-ls-poll-options {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.q52-ls-poll-btn {
    text-align: left;
    padding: 0.6em 1em;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.q52-ls-poll-btn:hover,
.q52-ls-poll-btn:focus-visible {
    background: rgba(127, 127, 127, 0.15);
}

.q52-ls-poll-result {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    padding: 0.4em 0.2em;
    border-bottom: 1px solid rgba(127, 127, 127, 0.25);
    opacity: 0.85;
}

.q52-ls-poll-result--picked {
    opacity: 1;
    font-weight: 600;
}

.q52-ls-poll-count {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
