.cmn-vote-campaign {
    --cmn-vote-accent: #8f0011;
    --cmn-vote-accent-hover: #72000d;
    --cmn-vote-accent-soft: #fbf2f3;
    --cmn-vote-ink: #171717;
    --cmn-vote-muted: #6b6660;
    --cmn-vote-line: #e2d8d6;
    --cmn-vote-line-strong: #cfbdbc;
    --cmn-vote-paper: #fffdfb;
    --cmn-vote-paper-soft: #faf6f3;
    --cmn-vote-white: #ffffff;

    margin: 2.25rem 0;
    padding: 1.35rem;
    border: 1px solid var(--cmn-vote-line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(250, 246, 243, 0.72), rgba(255, 255, 255, 0.96)),
        var(--cmn-vote-paper);
    color: var(--cmn-vote-ink);
}

.cmn-vote-campaign * {
    box-sizing: border-box;
}

.cmn-vote-campaign__header {
    margin-bottom: 1.45rem;
}

.cmn-vote-campaign__title {
    margin: 0 0 0.45rem;
    color: var(--cmn-vote-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    font-weight: 500;
    line-height: 1.14;
}

.cmn-vote-campaign__description {
    max-width: 46rem;
    margin: 0.7rem 0 1rem;
    color: var(--cmn-vote-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.cmn-vote-campaign__description p:last-child {
    margin-bottom: 0;
}

.cmn-vote-campaign__prompt {
    max-width: 46rem;
    margin: 0.75rem 0 0;
    color: var(--cmn-vote-ink);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
}

.cmn-vote-campaign__notice,
.cmn-vote-notice,
.cmn-vote-campaign__empty {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--cmn-vote-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--cmn-vote-muted);
    line-height: 1.45;
}

.cmn-vote-campaign__notice-vote_success,
.cmn-vote-campaign__notice-vote_changed,
.cmn-vote-campaign__notice-vote_unchanged,
.cmn-vote-campaign__notice-code_sent {
    border-color: rgba(143, 0, 17, 0.24);
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-ink);
}

.cmn-vote-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.cmn-vote-option {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--cmn-vote-line);
    border-radius: 16px;
    background: var(--cmn-vote-white);
    box-shadow: 0 8px 24px rgba(40, 22, 22, 0.04);
    overflow: hidden;
}

.cmn-vote-option__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cmn-vote-paper-soft);
}

.cmn-vote-option__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmn-vote-option__body {
    flex: 1 1 auto;
    padding: 0.95rem;
}

.cmn-vote-option__choice {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    padding: 0.36rem 0.66rem;
    border: 1px solid rgba(143, 0, 17, 0.22);
    border-radius: 999px;
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-accent);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.cmn-vote-option__choice input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--cmn-vote-accent);
}

.cmn-vote-option__title {
    margin: 0 0 0.35rem;
    color: var(--cmn-vote-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.25;
}

.cmn-vote-option__meta {
    margin: 0 0 0.5rem;
    color: var(--cmn-vote-muted);
    font-size: 0.94rem;
}

.cmn-vote-option__description {
    color: var(--cmn-vote-muted);
    font-size: 0.94rem;
    line-height: 1.48;
}

.cmn-vote-option__description p:last-child {
    margin-bottom: 0;
}

.cmn-vote-vote-form,
.cmn-vote-confirm-form,
.cmn-vote-session-change-form {
    margin-top: 1.5rem;
}

.cmn-vote-vote-form__footer {
    margin-top: 1.2rem;
    padding: 1rem;
    border: 1px solid var(--cmn-vote-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
}

.cmn-vote-vote-form__email {
    display: block;
    margin-bottom: 0.85rem;
    color: var(--cmn-vote-ink);
    font-weight: 700;
}

.cmn-vote-vote-form__email span {
    display: block;
    margin-bottom: 0.35rem;
}

.cmn-vote-vote-form__email input {
    width: 100%;
    max-width: 28rem;
    padding: 0.66rem 0.75rem;
    border: 1px solid var(--cmn-vote-line-strong);
    border-radius: 10px;
    background: var(--cmn-vote-white);
    color: var(--cmn-vote-ink);
    font: inherit;
}

.cmn-vote-vote-form__email input:focus {
    border-color: var(--cmn-vote-accent);
    outline: 2px solid rgba(143, 0, 17, 0.14);
    outline-offset: 1px;
}

.cmn-vote-vote-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.68rem 1.1rem;
    border: 1px solid var(--cmn-vote-accent);
    border-radius: 999px;
    background: var(--cmn-vote-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.cmn-vote-vote-form__submit:hover,
.cmn-vote-vote-form__submit:focus {
    background: var(--cmn-vote-accent-hover);
    border-color: var(--cmn-vote-accent-hover);
    color: #fff;
}

.cmn-vote-vote-form__note {
    max-width: 42rem;
    margin: 0.75rem 0 0;
    color: var(--cmn-vote-muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.cmn-vote-confirm-form__selected {
    margin-bottom: 1rem;
}

.cmn-vote-confirm-form__label {
    margin: 0 0 0.75rem;
    color: var(--cmn-vote-ink);
    font-weight: 700;
}

.cmn-vote-options-confirm {
    display: block;
}

.cmn-vote-options-confirm .cmn-vote-option {
    max-width: 34rem;
}

.cmn-vote-options-confirm .cmn-vote-option__image {
    max-width: 18rem;
}

.cmn-vote-vote-form__email-display strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--cmn-vote-ink);
    font-weight: 700;
}

.cmn-vote-current-choice {
    margin: 1.45rem 0;
}

.cmn-vote-current-choice__label {
    margin: 0 0 0.75rem;
    color: var(--cmn-vote-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.cmn-vote-current-choice__card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(143, 0, 17, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(40, 22, 22, 0.05);
}

.cmn-vote-current-choice__image {
    flex: 0 0 118px;
    max-width: 118px;
}

.cmn-vote-current-choice__image .cmn-vote-option__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.cmn-vote-current-choice__body {
    flex: 1 1 auto;
    min-width: 0;
}

.cmn-vote-current-choice__title {
    margin: 0 0 0.25rem;
    color: var(--cmn-vote-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1.22;
}

.cmn-vote-current-choice__meta,
.cmn-vote-current-choice__confirmed,
.cmn-vote-current-choice__close,
.cmn-vote-current-choice__locked,
.cmn-vote-current-choice__change-note {
    margin: 0.35rem 0;
    line-height: 1.4;
}

.cmn-vote-current-choice__meta,
.cmn-vote-current-choice__close,
.cmn-vote-current-choice__locked,
.cmn-vote-current-choice__change-note {
    color: var(--cmn-vote-muted);
}

.cmn-vote-current-choice__confirmed {
    color: var(--cmn-vote-ink);
    font-weight: 700;
}

.cmn-vote-current-choice__change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--cmn-vote-accent);
    border-radius: 999px;
    color: var(--cmn-vote-accent);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.cmn-vote-current-choice__change:hover,
.cmn-vote-current-choice__change:focus {
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-accent);
}

/* Compact prediction campaign block. */
.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) {
    max-width: 780px;
}

.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-campaign__title {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-campaign__prompt {
    font-size: 1rem;
}

.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-options {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 0.75rem;
}

.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-option__body {
    padding: 0.82rem;
}

.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-option__title {
    font-size: 1rem;
}

.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-option__description {
    display: none;
}

.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-vote-form__footer,
.cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-current-choice__card {
    background: var(--cmn-vote-white);
}

@media (max-width: 640px) {
    .cmn-vote-campaign {
        margin: 1.5rem 0;
        padding: 1rem;
        border-radius: 14px;
    }

    .cmn-vote-options,
    .cmn-vote-campaign-prediction:not(.cmn-vote-campaign--feature) .cmn-vote-options {
        grid-template-columns: 1fr;
    }

    .cmn-vote-current-choice__card {
        display: block;
    }

    .cmn-vote-current-choice__image {
        max-width: 180px;
        margin-bottom: 0.75rem;
    }
}

/* Keep form controls stable inside WordPress themes. */
.cmn-vote-vote-form__email input {
    color: var(--cmn-vote-ink);
    font-weight: 400;
}

.cmn-vote-vote-form__email input::placeholder {
    color: #9b928e;
    font-weight: 400;
    opacity: 1;
}

.cmn-vote-vote-form__selected-note {
    margin: 0 0 0.75rem;
    padding: 0.62rem 0.78rem;
    border: 1px solid rgba(143, 0, 17, 0.22);
    border-radius: 12px;
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-ink);
    font-size: 0.94rem;
    line-height: 1.4;
}

.cmn-vote-vote-form__selected-note[hidden] {
    display: none;
}

.cmn-vote-vote-form__submit,
.cmn-vote-current-choice__change {
    transform: none;
    box-shadow: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cmn-vote-vote-form__submit:hover,
.cmn-vote-vote-form__submit:focus,
.cmn-vote-current-choice__change:hover,
.cmn-vote-current-choice__change:focus {
    transform: none;
    box-shadow: none;
}

/* Neutralize theme hover movement for CMN Vote buttons only. */
.cmn-vote-campaign .cmn-vote-vote-form__submit,
.cmn-vote-campaign .cmn-vote-vote-form__submit:hover,
.cmn-vote-campaign .cmn-vote-vote-form__submit:focus,
.cmn-vote-campaign .cmn-vote-vote-form__submit:active,
.cmn-vote-campaign .cmn-vote-current-choice__change,
.cmn-vote-campaign .cmn-vote-current-choice__change:hover,
.cmn-vote-campaign .cmn-vote-current-choice__change:focus,
.cmn-vote-campaign .cmn-vote-current-choice__change:active {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

.cmn-vote-campaign .cmn-vote-vote-form__submit {
    line-height: 1.2 !important;
    vertical-align: middle;
}

/* Final scoped reset for submit buttons affected by the active WordPress theme. */
.cmn-vote-campaign button.cmn-vote-vote-form__submit,
.cmn-vote-campaign button.cmn-vote-vote-form__submit:hover,
.cmn-vote-campaign button.cmn-vote-vote-form__submit:focus,
.cmn-vote-campaign button.cmn-vote-vote-form__submit:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    inset: auto !important;
    min-height: 2.65rem !important;
    margin: 0 !important;
    padding: 0.68rem 1.1rem !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 999px !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    vertical-align: middle !important;
}

.cmn-vote-campaign button.cmn-vote-vote-form__submit {
    border-color: var(--cmn-vote-accent) !important;
    background: var(--cmn-vote-accent) !important;
    color: #fff !important;
}

.cmn-vote-campaign button.cmn-vote-vote-form__submit:hover,
.cmn-vote-campaign button.cmn-vote-vote-form__submit:focus,
.cmn-vote-campaign button.cmn-vote-vote-form__submit:active {
    border-color: var(--cmn-vote-accent-hover) !important;
    background: var(--cmn-vote-accent-hover) !important;
    color: #fff !important;
}

.cmn-vote-clear-session-form {
    margin-top: 0.9rem;
}

.cmn-vote-current-choice__other {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8f1f1f;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.cmn-vote-current-choice__other:hover,
.cmn-vote-current-choice__other:focus {
    text-decoration-thickness: 2px;
}

.cmn-vote-current-choice__other-note {
    margin: 0.35rem 0 0;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Public result snapshots. */
.cmn-vote-snapshots {
    --cmn-vote-snapshots-border: #eadfd7;
    --cmn-vote-snapshots-border-strong: #dcc8b8;
    --cmn-vote-snapshots-soft: #fbf7f2;
    --cmn-vote-snapshots-soft-2: #fff8ef;
    --cmn-vote-snapshots-card: #fffdfa;
    --cmn-vote-snapshots-ink: #2b211d;
    --cmn-vote-snapshots-muted: #746963;
    --cmn-vote-snapshots-accent: #8f1f1f;
    --cmn-vote-snapshots-accent-soft: #f8eaea;
    --cmn-vote-snapshots-gold: #b48a45;
    --cmn-vote-snapshots-shadow: 0 18px 45px rgba(63, 36, 22, 0.08);

    margin: 2.6rem 0;
    padding: clamp(1.1rem, 2.6vw, 2rem);
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(251, 247, 242, 0.92)),
        #fffdfa;
    box-shadow: var(--cmn-vote-snapshots-shadow);
    color: var(--cmn-vote-snapshots-ink);
}

.cmn-vote-snapshots,
.cmn-vote-snapshots * {
    box-sizing: border-box;
}

.cmn-vote-snapshots--notice {
    box-shadow: none;
}

.cmn-vote-snapshots__header {
    position: relative;
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cmn-vote-snapshots-border);
}

.cmn-vote-snapshots__header::after {
    content: "";
    display: block;
    width: 5rem;
    height: 2px;
    margin-top: 0.95rem;
    background: var(--cmn-vote-snapshots-gold);
}

.cmn-vote-snapshots__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--cmn-vote-snapshots-gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cmn-vote-snapshots__title {
    margin: 0 0 0.55rem;
    max-width: 48rem;
    color: var(--cmn-vote-snapshots-ink);
    font-size: clamp(1.55rem, 2.7vw, 2.25rem);
    line-height: 1.12;
}

.cmn-vote-snapshots__lead,
.cmn-vote-snapshots__empty,
.cmn-vote-snapshots__disclaimer,
.cmn-vote-snapshots__scroll-note {
    max-width: 54rem;
    color: var(--cmn-vote-snapshots-muted);
    line-height: 1.58;
}

.cmn-vote-snapshots__lead {
    margin: 0;
    font-size: 1rem;
}

.cmn-vote-snapshots__empty {
    margin: 0;
    padding: 1rem 1.1rem;
    border: 1px dashed var(--cmn-vote-snapshots-border-strong);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.72);
}

.cmn-vote-snapshots__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1rem 0 1.55rem;
}

.cmn-vote-snapshots__tab {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--cmn-vote-snapshots-accent);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.cmn-vote-snapshots__tab:hover,
.cmn-vote-snapshots__tab:focus {
    border-color: var(--cmn-vote-snapshots-accent);
    background: var(--cmn-vote-snapshots-accent-soft);
    color: var(--cmn-vote-snapshots-accent);
    text-decoration: none;
}

.cmn-vote-snapshots__view {
    min-width: 0;
    max-width: 100%;
    margin-top: 1.55rem;
}

.cmn-vote-snapshots__subtitle {
    margin: 0 0 0.9rem;
    color: var(--cmn-vote-snapshots-ink);
    font-size: 1.18rem;
    line-height: 1.25;
}

.cmn-vote-snapshots__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 1rem;
}

.cmn-vote-snapshot-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    min-height: 100%;
    padding: 1.05rem;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 1.05rem;
    background: var(--cmn-vote-snapshots-card);
    box-shadow: 0 10px 24px rgba(63, 36, 22, 0.05);
}

.cmn-vote-snapshot-card__header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--cmn-vote-snapshots-border);
}

.cmn-vote-snapshot-card__title {
    margin: 0 0 0.25rem;
    color: var(--cmn-vote-snapshots-ink);
    font-size: 1.08rem;
    line-height: 1.25;
}

.cmn-vote-snapshot-card__date,
.cmn-vote-snapshot-card__total,
.cmn-vote-snapshot-card__empty {
    margin: 0.35rem 0;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.93rem;
    line-height: 1.45;
}

.cmn-vote-snapshot-card__source {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 0.55rem;
    padding: 0.18rem 0.55rem;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 999px;
    background: #fff;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-transform: uppercase;
}

.cmn-vote-snapshot-card__source--manual {
    border-color: var(--cmn-vote-snapshots-border-strong);
    background: var(--cmn-vote-snapshots-soft-2);
    color: var(--cmn-vote-snapshots-accent);
}

.cmn-vote-snapshot-card__source--auto {
    background: var(--cmn-vote-snapshots-soft);
}

.cmn-vote-snapshot-card__total {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 0.8rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 999px;
    background: var(--cmn-vote-snapshots-soft);
    color: var(--cmn-vote-snapshots-ink);
    font-weight: 700;
}

.cmn-vote-snapshot-card__top {
    margin: 0.25rem 0 0;
    padding: 0;
    counter-reset: cmn-vote-snapshot-rank;
    list-style: none;
}

.cmn-vote-snapshot-card__top li {
    position: relative;
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    margin: 0;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(234, 223, 215, 0.78);
    counter-increment: cmn-vote-snapshot-rank;
}

.cmn-vote-snapshot-card__top li:last-child {
    border-bottom: 0;
}

.cmn-vote-snapshot-card__top li::before {
    content: counter(cmn-vote-snapshot-rank);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--cmn-vote-snapshots-border-strong);
    border-radius: 999px;
    background: var(--cmn-vote-snapshots-soft-2);
    color: var(--cmn-vote-snapshots-accent);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

.cmn-vote-snapshot-card__top-name {
    display: block;
    color: var(--cmn-vote-snapshots-ink);
    font-weight: 800;
    line-height: 1.32;
}

.cmn-vote-snapshot-card__top-meta {
    display: block;
    margin-top: 0.12rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.cmn-vote-snapshot-card__details {
    min-width: 0;
    max-width: 100%;
    margin-top: auto;
    padding-top: 0.85rem;
}

.cmn-vote-snapshot-card__details summary {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 999px;
    background: #fff;
    color: var(--cmn-vote-snapshots-accent);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.cmn-vote-snapshot-card__details summary:hover,
.cmn-vote-snapshot-card__details summary:focus {
    border-color: var(--cmn-vote-snapshots-accent);
    background: var(--cmn-vote-snapshots-accent-soft);
}

.cmn-vote-snapshot-table-wrap,
.cmn-vote-snapshots-heatmap-wrap {
    max-width: 100%;
    min-width: 0;
    margin-top: 0.85rem;
    overflow-x: auto;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.86);
    -webkit-overflow-scrolling: touch;
}

.cmn-vote-snapshot-table,
.cmn-vote-snapshots-heatmap {
    width: 100%;
    min-width: 38rem;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
}

.cmn-vote-snapshot-table th,
.cmn-vote-snapshot-table td,
.cmn-vote-snapshots-heatmap th,
.cmn-vote-snapshots-heatmap td {
    padding: 0.62rem 0.7rem;
    border-bottom: 1px solid var(--cmn-vote-snapshots-border);
    text-align: left;
    vertical-align: top;
}

.cmn-vote-snapshots-heatmap__heading,
.cmn-vote-snapshots-heatmap__source {
    display: block;
}

.cmn-vote-snapshots-heatmap__source {
    margin-top: 0.2rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.25;
}

.cmn-vote-snapshot-table tbody tr:last-child td,
.cmn-vote-snapshots-heatmap tbody tr:last-child th,
.cmn-vote-snapshots-heatmap tbody tr:last-child td {
    border-bottom: 0;
}

.cmn-vote-snapshot-table th,
.cmn-vote-snapshots-heatmap th {
    background: rgba(251, 247, 242, 0.92);
    color: var(--cmn-vote-snapshots-muted);
    font-weight: 800;
}

.cmn-vote-snapshots__view--percent {
    padding-top: 0.25rem;
}

.cmn-vote-snapshots__limit-note {
    margin: 0.85rem 0 0;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.93rem;
    line-height: 1.45;
}

.cmn-vote-snapshots__scroll-note {
    margin: -0.25rem 0 0.85rem;
    font-size: 0.93rem;
}

.cmn-vote-snapshots-heatmap {
    min-width: 34rem;
}

.cmn-vote-snapshots-heatmap th:first-child {
    min-width: 10rem;
}

.cmn-vote-snapshots-heatmap tbody th {
    color: var(--cmn-vote-snapshots-ink);
}

.cmn-vote-snapshots-heatmap th span {
    display: block;
    margin-top: 0.15rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.3;
}

.cmn-vote-snapshots-heatmap__cell {
    min-width: 5.6rem;
    border-left: 1px solid rgba(234, 223, 215, 0.55);
}

.cmn-vote-snapshots-heatmap__cell strong,
.cmn-vote-snapshots-heatmap__cell span {
    display: block;
}

.cmn-vote-snapshots-heatmap__cell strong {
    color: var(--cmn-vote-snapshots-ink);
    font-size: 0.98rem;
}

.cmn-vote-snapshots-heatmap__cell span {
    margin-top: 0.12rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.82rem;
    line-height: 1.3;
}

.cmn-vote-snapshots-heatmap__cell--empty {
    background: #fff;
    color: var(--cmn-vote-snapshots-muted);
}

.cmn-vote-snapshots-heatmap__cell--level-0 {
    background: #fff;
}

.cmn-vote-snapshots-heatmap__cell--level-1 {
    background: #fff8ef;
}

.cmn-vote-snapshots-heatmap__cell--level-2 {
    background: #fbefd9;
}

.cmn-vote-snapshots-heatmap__cell--level-3 {
    background: #f6dfbd;
}

.cmn-vote-snapshots-heatmap__cell--level-4 {
    background: #edc998;
}

.cmn-vote-snapshots-heatmap__cell--level-5 {
    background: #e0ad6a;
}

.cmn-vote-snapshots__disclaimer {
    margin: 1.35rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--cmn-vote-snapshots-border);
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .cmn-vote-snapshots {
        margin: 2rem 0;
        padding: 1rem;
        border-radius: 1rem;
    }

    .cmn-vote-snapshots__header {
        margin-bottom: 1rem;
    }

    .cmn-vote-snapshots__title {
        font-size: 1.45rem;
    }

    .cmn-vote-snapshots__tabs {
        gap: 0.45rem;
        margin-bottom: 1.2rem;
    }

    .cmn-vote-snapshots__tab {
        min-height: 2.1rem;
        padding: 0.42rem 0.75rem;
        font-size: 0.9rem;
    }

    .cmn-vote-snapshots__cards {
        grid-template-columns: 1fr;
    }

    .cmn-vote-snapshot-card {
        padding: 0.9rem;
        border-radius: 0.95rem;
    }

    .cmn-vote-snapshot-card__top li {
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: 0.55rem;
    }

    .cmn-vote-snapshot-table,
    .cmn-vote-snapshots-heatmap {
        font-size: 0.88rem;
    }

    .cmn-vote-snapshot-table {
        min-width: 32rem;
    }

    .cmn-vote-snapshots-heatmap {
        min-width: 28rem;
    }

    .cmn-vote-snapshots-heatmap th:first-child {
        min-width: 8.5rem;
    }

    .cmn-vote-snapshots-heatmap__cell {
        min-width: 5rem;
    }

    .cmn-vote-snapshot-table th,
    .cmn-vote-snapshot-table td,
    .cmn-vote-snapshots-heatmap th,
    .cmn-vote-snapshots-heatmap td {
        padding: 0.52rem 0.55rem;
    }
}


.cmn-vote-snapshots__tabs-label {
    align-self: center;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.92rem;
    line-height: 1.3;
}

/* Public snapshot dynamics chart. */
.cmn-vote-snapshots__view--chart {
    padding-top: 0.25rem;
}

.cmn-vote-snapshots__chart-note {
    max-width: 58rem;
    margin: -0.25rem 0 1rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.cmn-vote-snapshots-chart-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    -webkit-overflow-scrolling: touch;
}

.cmn-vote-snapshots-chart {
    display: block;
    width: 100%;
    min-width: 52rem;
    height: auto;
}

.cmn-vote-snapshots-chart__grid,
.cmn-vote-snapshots-chart__x-grid {
    stroke: rgba(116, 105, 99, 0.18);
    stroke-width: 1;
}

.cmn-vote-snapshots-chart__x-grid {
    stroke-dasharray: 3 7;
}

.cmn-vote-snapshots-chart__x-label,
.cmn-vote-snapshots-chart__y-label {
    fill: var(--cmn-vote-snapshots-muted);
    font-size: 18px;
    font-weight: 700;
}

.cmn-vote-snapshots-chart__line {
    fill: none;
    stroke: var(--cmn-vote-snapshots-accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.86;
}

.cmn-vote-snapshots-chart__line--muted {
    opacity: 0.18;
}

.cmn-vote-snapshots-chart__line--focus {
    stroke-width: 7;
    opacity: 1;
}

.cmn-vote-snapshots-chart__point {
    fill: #fff;
    stroke: var(--cmn-vote-snapshots-accent);
    stroke-width: 3;
}

.cmn-vote-snapshots-chart__line--1,
.cmn-vote-snapshots-chart-legend__item--1 {
    color: #8f1f1f;
    stroke: #8f1f1f;
}

.cmn-vote-snapshots-chart__line--2,
.cmn-vote-snapshots-chart-legend__item--2 {
    color: #b48a45;
    stroke: #b48a45;
}

.cmn-vote-snapshots-chart__line--3,
.cmn-vote-snapshots-chart-legend__item--3 {
    color: #476a6f;
    stroke: #476a6f;
}

.cmn-vote-snapshots-chart__line--4,
.cmn-vote-snapshots-chart-legend__item--4 {
    color: #6d597a;
    stroke: #6d597a;
}

.cmn-vote-snapshots-chart__line--5,
.cmn-vote-snapshots-chart-legend__item--5 {
    color: #2f6f4e;
    stroke: #2f6f4e;
}

.cmn-vote-snapshots-chart__line--6,
.cmn-vote-snapshots-chart-legend__item--6 {
    color: #9a5a2f;
    stroke: #9a5a2f;
}

.cmn-vote-snapshots-chart__line--7,
.cmn-vote-snapshots-chart-legend__item--7 {
    color: #345995;
    stroke: #345995;
}

.cmn-vote-snapshots-chart__line--8,
.cmn-vote-snapshots-chart-legend__item--8 {
    color: #7d4f50;
    stroke: #7d4f50;
}

.cmn-vote-snapshots-chart-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.cmn-vote-snapshots-chart-legend__item {
    display: grid;
    grid-template-columns: 0.9rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.75);
    color: inherit;
    text-decoration: none;
}

.cmn-vote-snapshots-chart-legend__item:hover,
.cmn-vote-snapshots-chart-legend__item:focus,
.cmn-vote-snapshots-chart-legend__item--focus {
    border-color: currentColor;
    background: var(--cmn-vote-snapshots-accent-soft);
    color: currentColor;
}

.cmn-vote-snapshots-chart-legend__item--muted {
    opacity: 0.46;
}

.cmn-vote-snapshots-chart-legend__dot {
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 0.25rem;
    border-radius: 999px;
    background: currentColor;
}

.cmn-vote-snapshots-chart-legend__body strong,
.cmn-vote-snapshots-chart-legend__body span {
    display: block;
}

.cmn-vote-snapshots-chart-legend__body strong {
    color: var(--cmn-vote-snapshots-ink);
    font-size: 0.96rem;
    line-height: 1.3;
}

.cmn-vote-snapshots-chart-legend__body span {
    margin-top: 0.15rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.82rem;
    line-height: 1.3;
}

.cmn-vote-snapshots-chart-legend__reset {
    align-self: center;
    color: var(--cmn-vote-snapshots-accent);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 640px) {
    .cmn-vote-snapshots-chart {
        min-width: 44rem;
    }

    .cmn-vote-snapshots-chart-legend {
        grid-template-columns: 1fr;
    }
}


/* Snapshot chart shared point and badge styles. */
.cmn-vote-snapshots .cmn-vote-snapshots-chart__point {
    fill: #fff;
    stroke-width: 3;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-legend__dot {
    background: currentColor;
}

.cmn-vote-snapshots-chart-legend__badge {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.35rem;
    padding: 0.16rem 0.45rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: currentColor;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.15;
}

.cmn-vote-snapshots__cards-note {
    margin: -0.25rem 0 0.9rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.93rem;
    line-height: 1.45;
}

.cmn-vote-snapshots-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin: 1rem 0 0;
}

.cmn-vote-snapshots-pagination__link,
.cmn-vote-snapshots-pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    min-height: 2.15rem;
    padding: 0.35rem 0.72rem;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 999px;
    background: #fff;
    color: var(--cmn-vote-snapshots-accent);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.cmn-vote-snapshots-pagination__link:hover,
.cmn-vote-snapshots-pagination__link:focus,
.cmn-vote-snapshots-pagination__current {
    border-color: var(--cmn-vote-snapshots-accent);
    background: var(--cmn-vote-snapshots-accent-soft);
    color: var(--cmn-vote-snapshots-accent);
}

.cmn-vote-snapshots__chart-reset {
    margin: -0.45rem 0 0.95rem;
    font-size: 0.93rem;
    line-height: 1.45;
}

.cmn-vote-snapshots__chart-reset a {
    color: var(--cmn-vote-snapshots-accent);
    font-weight: 800;
    text-decoration: none;
}

.cmn-vote-snapshots__chart-reset a:hover,
.cmn-vote-snapshots__chart-reset a:focus {
    text-decoration: underline;
}

.cmn-vote-snapshot-table {
    width: auto;
    min-width: 24rem;
}

.cmn-vote-snapshot-table th:first-child,
.cmn-vote-snapshot-table td:first-child {
    width: 4.2rem;
    white-space: nowrap;
}

.cmn-vote-snapshot-table th:nth-child(3),
.cmn-vote-snapshot-table td:nth-child(3),
.cmn-vote-snapshot-table th:nth-child(4),
.cmn-vote-snapshot-table td:nth-child(4) {
    width: 5.2rem;
    white-space: nowrap;
}

/* Participant share card. */
.cmn-vote-participant-card {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin: 1.35rem 0 1.6rem;
    padding: 1rem;
    border: 1px solid rgba(143, 0, 17, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(251, 242, 243, 0.72), rgba(255, 255, 255, 0.94)),
        var(--cmn-vote-white);
    box-shadow: 0 12px 30px rgba(40, 22, 22, 0.06);
}

.cmn-vote-participant-card__media {
    min-width: 0;
}

.cmn-vote-participant-card__media .cmn-vote-option__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.cmn-vote-participant-card__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--cmn-vote-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.cmn-vote-participant-card__title {
    margin: 0 0 0.35rem;
    color: var(--cmn-vote-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    font-weight: 500;
    line-height: 1.16;
}

.cmn-vote-participant-card__meta,
.cmn-vote-participant-card__description {
    color: var(--cmn-vote-muted);
    line-height: 1.48;
}

.cmn-vote-participant-card__meta {
    margin: 0 0 0.65rem;
    font-weight: 700;
}

.cmn-vote-participant-card__description p:last-child {
    margin-bottom: 0;
}

.cmn-vote-participant-card__links,
.cmn-vote-option__share {
    margin: 0.85rem 0 0;
}

.cmn-vote-participant-card__share,
.cmn-vote-participant-card__official,
.cmn-vote-option__share a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin: 0.25rem 0.35rem 0.25rem 0;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(143, 0, 17, 0.24);
    border-radius: 999px;
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-accent);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.cmn-vote-participant-card__share:hover,
.cmn-vote-participant-card__share:focus,
.cmn-vote-participant-card__official:hover,
.cmn-vote-participant-card__official:focus,
.cmn-vote-option__share a:hover,
.cmn-vote-option__share a:focus {
    border-color: var(--cmn-vote-accent);
    color: var(--cmn-vote-accent);
    text-decoration: none;
}

.cmn-vote-option--focused {
    border-color: rgba(143, 0, 17, 0.58);
    box-shadow: 0 12px 34px rgba(143, 0, 17, 0.12);
}

@media (max-width: 640px) {
    .cmn-vote-participant-card {
        grid-template-columns: 1fr;
    }

    .cmn-vote-participant-card__media {
        max-width: 14rem;
    }
}

/* Participant card layout polish. */
.cmn-vote-campaign .cmn-vote-participant-card {
    display: block;
    margin: 1.35rem 0 1.6rem;
    padding: 1.1rem;
    border: 1px solid rgba(143, 0, 17, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(251, 242, 243, 0.72), rgba(255, 255, 255, 0.94)),
        var(--cmn-vote-white);
    box-shadow: 0 12px 30px rgba(40, 22, 22, 0.06);
}

.cmn-vote-participant-card__title {
    margin: 0 0 0.35rem;
    color: var(--cmn-vote-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    font-weight: 500;
    line-height: 1.14;
}

.cmn-vote-participant-card__campaign {
    margin: 0 0 0.8rem;
    color: var(--cmn-vote-muted);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.cmn-vote-participant-card__media {
    width: min(100%, 18rem);
    margin: 0.7rem 0 1rem;
}

.cmn-vote-participant-card__media .cmn-vote-option__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 14rem;
    border-radius: 14px;
    object-fit: cover;
}

.cmn-vote-participant-card__facts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.35rem 0.75rem;
    margin: 0.75rem 0 0;
    color: var(--cmn-vote-muted);
    line-height: 1.42;
}

.cmn-vote-participant-card__facts dt {
    margin: 0;
    color: var(--cmn-vote-ink);
    font-weight: 800;
}

.cmn-vote-participant-card__facts dd {
    margin: 0;
}

.cmn-vote-participant-card__description {
    max-width: 46rem;
    margin-top: 0.9rem;
    color: var(--cmn-vote-muted);
    line-height: 1.5;
}

.cmn-vote-participant-card__description p:last-child {
    margin-bottom: 0;
}

.cmn-vote-participant-card__links,
.cmn-vote-option__share {
    margin: 0.95rem 0 0;
}

.cmn-vote-participant-card__copy,
.cmn-vote-participant-card__close,
.cmn-vote-participant-card__official,
.cmn-vote-option__share a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin: 0.25rem 0.35rem 0.25rem 0;
    padding: 0.38rem 0.75rem;
    border: 1px solid rgba(143, 0, 17, 0.24);
    border-radius: 999px;
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-accent);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.cmn-vote-participant-card__copy:hover,
.cmn-vote-participant-card__copy:focus,
.cmn-vote-participant-card__close:hover,
.cmn-vote-participant-card__close:focus,
.cmn-vote-participant-card__official:hover,
.cmn-vote-participant-card__official:focus,
.cmn-vote-option__share a:hover,
.cmn-vote-option__share a:focus {
    border-color: var(--cmn-vote-accent);
    color: var(--cmn-vote-accent);
    text-decoration: none;
}

.cmn-vote-option__title-link {
    color: inherit;
    text-decoration: none;
}

.cmn-vote-option__title-link:hover,
.cmn-vote-option__title-link:focus {
    color: var(--cmn-vote-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.cmn-vote-option--focused {
    border-color: rgba(143, 0, 17, 0.58);
    box-shadow: 0 12px 34px rgba(143, 0, 17, 0.12);
}

@media (max-width: 640px) {
    .cmn-vote-participant-card__media {
        width: min(100%, 16rem);
    }

    .cmn-vote-participant-card__facts {
        grid-template-columns: 1fr;
    }

    .cmn-vote-participant-card__facts dt {
        margin-top: 0.35rem;
    }
}

.cmn-vote-participant-card__vote {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin: 0.25rem 0.35rem 0.25rem 0;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--cmn-vote-accent);
    border-radius: 999px;
    background: var(--cmn-vote-accent);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.cmn-vote-participant-card__vote:hover,
.cmn-vote-participant-card__vote:focus {
    border-color: var(--cmn-vote-accent-hover);
    background: var(--cmn-vote-accent-hover);
    color: #fff;
    text-decoration: none;
}

.cmn-vote-option--picked {
    border-color: var(--cmn-vote-accent);
    box-shadow: 0 0 0 3px rgba(143, 0, 17, 0.12), 0 12px 34px rgba(143, 0, 17, 0.12);
}

/* Participant card CTA stability overrides. */
.cmn-vote-campaign .cmn-vote-participant-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    align-items: center;
    margin-top: 0.95rem;
}

.cmn-vote-campaign .cmn-vote-participant-card__vote,
.cmn-vote-campaign .cmn-vote-participant-card__copy,
.cmn-vote-campaign .cmn-vote-participant-card__close,
.cmn-vote-campaign .cmn-vote-participant-card__official {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    margin: 0;
    padding: 0.46rem 0.85rem;
    border-style: solid !important;
    border-width: 1px !important;
    border-radius: 999px;
    box-shadow: none !important;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transform: none !important;
    vertical-align: middle;
    cursor: pointer;
}

.cmn-vote-campaign .cmn-vote-participant-card__vote {
    border-color: var(--cmn-vote-accent) !important;
    background: var(--cmn-vote-accent);
    color: #fff !important;
}

.cmn-vote-campaign .cmn-vote-participant-card__vote:hover,
.cmn-vote-campaign .cmn-vote-participant-card__vote:focus {
    border-color: var(--cmn-vote-accent-hover) !important;
    background: var(--cmn-vote-accent-hover);
    color: #fff !important;
    transform: none !important;
}

.cmn-vote-campaign .cmn-vote-participant-card__copy,
.cmn-vote-campaign .cmn-vote-participant-card__close,
.cmn-vote-campaign .cmn-vote-participant-card__official {
    border-color: rgba(143, 0, 17, 0.24) !important;
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-accent) !important;
}

.cmn-vote-campaign .cmn-vote-participant-card__copy:hover,
.cmn-vote-campaign .cmn-vote-participant-card__copy:focus,
.cmn-vote-campaign .cmn-vote-participant-card__close:hover,
.cmn-vote-campaign .cmn-vote-participant-card__close:focus,
.cmn-vote-campaign .cmn-vote-participant-card__official:hover,
.cmn-vote-campaign .cmn-vote-participant-card__official:focus {
    border-color: var(--cmn-vote-accent) !important;
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-accent) !important;
    transform: none !important;
}

.cmn-vote-campaign .cmn-vote-option--picked {
    border-color: var(--cmn-vote-accent);
    box-shadow: 0 0 0 3px rgba(143, 0, 17, 0.12), 0 12px 34px rgba(143, 0, 17, 0.12);
}

/* Focused participant card in feature presentation. */
.cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__body {
    display: grid;
    grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
    grid-template-areas:
        "media title"
        "media campaign"
        "media facts"
        "description description"
        "links links";
    column-gap: 1.15rem;
    align-items: start;
}

.cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__title {
    grid-area: title;
    margin-top: 0.05rem;
}

.cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__campaign {
    grid-area: campaign;
    margin-bottom: 0.45rem;
}

.cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__media {
    grid-area: media;
    width: 100%;
    margin: 0;
}

.cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__media .cmn-vote-option__img {
    max-height: 12.5rem;
}

.cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__facts {
    grid-area: facts;
    margin-top: 0.35rem;
}

.cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__description {
    grid-area: description;
    max-width: none;
    margin-top: 0.85rem;
}

.cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__links {
    grid-area: links;
}

@media (max-width: 720px) {
    .cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__body {
        display: block;
    }

    .cmn-vote-campaign--feature .cmn-vote-participant-card--has-image .cmn-vote-participant-card__media {
        width: min(100%, 16rem);
        margin: 0.7rem 0 1rem;
    }
}

/* Current choice and snapshot table polish. */
.cmn-vote-current-choice__participant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    margin-right: 0.55rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(143, 0, 17, 0.24);
    border-radius: 999px;
    background: var(--cmn-vote-accent-soft);
    color: var(--cmn-vote-accent);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.cmn-vote-current-choice__participant:hover,
.cmn-vote-current-choice__participant:focus {
    border-color: var(--cmn-vote-accent);
    color: var(--cmn-vote-accent);
    text-decoration: none;
}

.cmn-vote-snapshots-heatmap__date,
.cmn-vote-snapshots-heatmap__time,
.cmn-vote-snapshots-heatmap__source {
    display: block;
    white-space: nowrap;
}

.cmn-vote-snapshots-heatmap__date,
.cmn-vote-snapshots-heatmap__time {
    color: var(--cmn-vote-snapshots-ink);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.25;
}

.cmn-vote-snapshots-heatmap__source {
    margin-top: 0.18rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
}

.cmn-vote-snapshots-participant-surname {
    display: block;
    margin-top: 0.08rem;
}

.cmn-vote-snapshots-heatmap tbody th,
.cmn-vote-snapshot-table__participant {
    min-width: 9rem;
    white-space: normal;
}

/* Keep participant names visible while scrolling percent table. */
.cmn-vote-snapshots-heatmap th:first-child,
.cmn-vote-snapshots-heatmap tbody th {
    position: sticky;
    left: 0;
    z-index: 4;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: 1px 0 0 var(--cmn-vote-snapshots-border);
}

.cmn-vote-snapshots-heatmap thead th:first-child {
    z-index: 6;
    background: rgba(251, 247, 242, 1);
}

.cmn-vote-snapshots-heatmap tbody th {
    background: rgba(255, 253, 250, 0.98);
}

/* Keep surname visually equal to first name in snapshot tables. */
.cmn-vote-snapshots-heatmap tbody th .cmn-vote-snapshots-participant-surname,
.cmn-vote-snapshot-table__participant .cmn-vote-snapshots-participant-surname {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Snapshot chart interaction states. */
.cmn-vote-snapshots-chart__series--muted {
    opacity: 0.12;
}

.cmn-vote-snapshots-chart__line.cmn-vote-snapshots-chart__series--focus {
    stroke-width: 7;
    opacity: 1;
}

.cmn-vote-snapshots-chart__point.cmn-vote-snapshots-chart__series--focus {
    stroke-width: 5;
    opacity: 1;
}

.cmn-vote-snapshots-chart-legend__reset--hidden {
    display: none;
}

.cmn-vote-snapshots-chart-legend__item[aria-pressed="true"] {
    border-color: currentColor;
    background: var(--cmn-vote-snapshots-accent-soft);
}

/* Snapshot chart legend selection states. */
.cmn-vote-snapshots-chart-legend__item:not([aria-pressed="true"]):hover,
.cmn-vote-snapshots-chart-legend__item:not([aria-pressed="true"]):focus {
    border-color: var(--cmn-vote-snapshots-border-strong);
    background: rgba(255, 255, 255, 0.86);
    color: inherit;
}

.cmn-vote-snapshots-chart-legend__item:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.cmn-vote-snapshots-chart-legend__item[aria-pressed="true"],
.cmn-vote-snapshots-chart-legend__item--focus {
    border-color: currentColor;
    background: var(--cmn-vote-snapshots-accent-soft);
    color: currentColor;
}

/* Snapshot chart visual polish. */
.cmn-vote-snapshots-chart-wrap {
    border-color: var(--cmn-vote-snapshots-border-strong);
    background: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 26px rgba(63, 36, 22, 0.045);
}

.cmn-vote-snapshots-chart {
    min-width: 58rem;
}

.cmn-vote-snapshots-chart__grid,
.cmn-vote-snapshots-chart__x-grid {
    stroke: rgba(116, 105, 99, 0.14);
    stroke-width: 1;
}

.cmn-vote-snapshots-chart__x-grid {
    stroke-dasharray: 2 8;
}

.cmn-vote-snapshots-chart__x-label,
.cmn-vote-snapshots-chart__y-label {
    fill: var(--cmn-vote-snapshots-muted);
    font-size: 15px;
    font-weight: 700;
}

.cmn-vote-snapshots-chart__line {
    stroke-width: 3.5;
    opacity: 0.74;
    transition: opacity 0.18s ease, stroke-width 0.18s ease;
}

.cmn-vote-snapshots-chart__line--muted,
.cmn-vote-snapshots-chart__series--muted {
    opacity: 0.1;
}

.cmn-vote-snapshots-chart__line--focus,
.cmn-vote-snapshots-chart__line.cmn-vote-snapshots-chart__series--focus {
    stroke-width: 6.5;
    opacity: 1;
}

.cmn-vote-snapshots-chart__point {
    opacity: 0.86;
    transition: opacity 0.18s ease, stroke-width 0.18s ease;
}

.cmn-vote-snapshots-chart__point.cmn-vote-snapshots-chart__series--focus {
    opacity: 1;
    stroke-width: 4.5;
}

.cmn-vote-snapshots-chart-legend {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.55rem;
    margin-top: 1.05rem;
}

.cmn-vote-snapshots-chart-legend__item {
    padding: 0.58rem 0.68rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.72);
    transition: background 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

.cmn-vote-snapshots-chart-legend__item--muted {
    opacity: 0.42;
}

.cmn-vote-snapshots-chart-legend__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(143, 0, 17, 0.24);
    border-radius: 999px;
    background: var(--cmn-vote-snapshots-accent-soft);
    color: var(--cmn-vote-snapshots-accent);
    font-size: 0.88rem;
    line-height: 1.2;
}

.cmn-vote-snapshots-chart-legend__reset:hover,
.cmn-vote-snapshots-chart-legend__reset:focus {
    border-color: var(--cmn-vote-snapshots-accent);
    color: var(--cmn-vote-snapshots-accent);
    text-decoration: none;
}

.cmn-vote-snapshots-chart-legend__reset--hidden {
    display: none;
}

@media (max-width: 640px) {
    .cmn-vote-snapshots-chart {
        min-width: 48rem;
    }
}

/* Latest snapshot summary. */
.cmn-vote-snapshots__latest-summary {
    display: inline-flex;
    align-items: center;
    margin: 0.95rem 0 0;
    padding: 0.38rem 0.75rem;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--cmn-vote-snapshots-ink);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
}

/* Public participants shortcode. */
.cmn-vote-participants {
    --cmn-vote-participants-accent: #8f0011;
    --cmn-vote-participants-accent-soft: #fbf2f3;
    --cmn-vote-participants-ink: #171717;
    --cmn-vote-participants-muted: #6b6660;
    --cmn-vote-participants-line: #e2d8d6;
    --cmn-vote-participants-paper: #fffdfb;

    margin: 2.25rem 0;
    color: var(--cmn-vote-participants-ink);
}

.cmn-vote-participants * {
    box-sizing: border-box;
}

.cmn-vote-participants__header {
    margin-bottom: 1rem;
}

.cmn-vote-participants__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    font-weight: 500;
    line-height: 1.14;
}

.cmn-vote-participants__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.cmn-vote-participants--feature .cmn-vote-participants__grid,
.cmn-vote-participants--editorial .cmn-vote-participants__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.1rem;
}

.cmn-vote-participants-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--cmn-vote-participants-line);
    border-radius: 18px;
    background: var(--cmn-vote-participants-paper);
    box-shadow: 0 10px 28px rgba(40, 22, 22, 0.05);
    overflow: hidden;
}

.cmn-vote-participants-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #faf6f3;
}

.cmn-vote-participants-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmn-vote-participants-card__body {
    flex: 1 1 auto;
    padding: 1rem;
}

.cmn-vote-participants-card__title {
    margin: 0 0 0.45rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.22;
}

.cmn-vote-participants-card__meta {
    margin: 0 0 0.65rem;
    color: var(--cmn-vote-participants-muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.cmn-vote-participants-card__description {
    color: var(--cmn-vote-participants-muted);
    font-size: 0.94rem;
    line-height: 1.48;
}

.cmn-vote-participants-card__description p:last-child {
    margin-bottom: 0;
}

.cmn-vote-participants-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin: 0.9rem 0 0;
}

.cmn-vote-participants-card__support,
.cmn-vote-participants-card__link,
.cmn-vote-participants-card__official {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.38rem 0.75rem;
    border: 1px solid rgba(143, 0, 17, 0.24);
    border-radius: 999px;
    background: var(--cmn-vote-participants-accent-soft);
    color: var(--cmn-vote-participants-accent);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.cmn-vote-participants-card__support {
    border-color: var(--cmn-vote-participants-accent);
    background: var(--cmn-vote-participants-accent);
    color: #fff;
}

.cmn-vote-participants-card__support:hover,
.cmn-vote-participants-card__support:focus {
    background: #72000d;
    border-color: #72000d;
    color: #fff;
    text-decoration: none;
}

.cmn-vote-participants-card__link:hover,
.cmn-vote-participants-card__link:focus,
.cmn-vote-participants-card__official:hover,
.cmn-vote-participants-card__official:focus {
    border-color: var(--cmn-vote-participants-accent);
    color: var(--cmn-vote-participants-accent);
    text-decoration: none;
}

@media (max-width: 640px) {
    .cmn-vote-participants__grid,
    .cmn-vote-participants--feature .cmn-vote-participants__grid,
    .cmn-vote-participants--editorial .cmn-vote-participants__grid {
        grid-template-columns: 1fr;
    }
}

/* Campaign promo slots. */
.cmn-vote-promo {
    margin: 1rem 0 0;
    padding: 0.95rem;
    border: 1px solid var(--cmn-vote-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--cmn-vote-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.cmn-vote-promo:empty {
    display: none;
}

.cmn-vote-promo--participant_card {
    margin-top: 1rem;
}

.cmn-vote-promo--after_vote {
    margin-top: 1.35rem;
}

.cmn-vote-promo > :first-child {
    margin-top: 0;
}

.cmn-vote-promo > :last-child {
    margin-bottom: 0;
}

/* Mobile snapshot header refinements. */
.cmn-vote-snapshots__header::after {
    display: none;
}

.cmn-vote-snapshots__latest-summary {
    display: block;
    width: fit-content;
    max-width: 100%;
    border-radius: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .cmn-vote-snapshots__latest-summary {
        width: 100%;
        padding: 0.65rem 0.8rem;
        border-radius: 14px;
    }

    .cmn-vote-snapshots__tabs {
        gap: 0.45rem;
    }

    .cmn-vote-snapshots__tab {
        border-radius: 14px;
    }
}

/* Snapshot mobile/table UX refinements. */
.cmn-vote-snapshots__view:focus,
.cmn-vote-snapshots__view:focus-visible {
    outline: none;
}

.cmn-vote-snapshots__tabs {
    gap: 0.42rem;
}

.cmn-vote-snapshots__tab {
    border-radius: 14px;
}

.cmn-vote-snapshot-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: center;
    margin-bottom: 0.55rem;
}

.cmn-vote-snapshot-card__source {
    margin: 0;
}

.cmn-vote-snapshot-card__date {
    margin: 0;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.cmn-vote-snapshots-chart-wrap {
    position: relative;
}

.cmn-vote-snapshots-chart-axis {
    position: sticky;
    left: 0;
    z-index: 6;
    float: left;
    width: 62px;
    height: 470px;
    margin-right: -62px;
    background: linear-gradient(90deg, rgba(255, 253, 250, 0.98) 72%, rgba(255, 253, 250, 0));
    pointer-events: none;
}

.cmn-vote-snapshots-chart-axis span {
    position: absolute;
    right: 11px;
    transform: translateY(-50%);
    color: var(--cmn-vote-snapshots-muted);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.cmn-vote-snapshots-heatmap-wrap {
    position: relative;
}

.cmn-vote-snapshots-scroll-hint {
    position: sticky;
    left: 50%;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.5rem;
    margin: 0.55rem 0 -2.45rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--cmn-vote-snapshots-border-strong);
    border-radius: 999px;
    background: rgba(255, 253, 250, 0.94);
    color: var(--cmn-vote-snapshots-accent);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(63, 36, 22, 0.08);
}

.cmn-vote-scroll-hint-hidden .cmn-vote-snapshots-scroll-hint {
    display: none;
}

.cmn-vote-snapshots-heatmap__participant-head {
    vertical-align: middle !important;
    color: var(--cmn-vote-snapshots-ink) !important;
    font-size: 0.98rem;
}

.cmn-vote-snapshots-heatmap tbody th .cmn-vote-snapshots-participant-surname,
.cmn-vote-snapshot-table__participant .cmn-vote-snapshots-participant-surname {
    margin-top: 0.02rem;
}

.cmn-vote-snapshots-participant-country {
    display: block;
    margin-top: 0.24rem;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.3;
}

.cmn-vote-snapshots-heatmap__date,
.cmn-vote-snapshots-heatmap__source {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.cmn-vote-snapshots-heatmap__date {
    margin-right: 0.35rem;
}

@media (max-width: 640px) {
    .cmn-vote-snapshots__tabs {
        gap: 0.3rem;
    }

    .cmn-vote-snapshots__tab {
        min-height: 2rem;
        padding: 0.36rem 0.62rem;
        font-size: 0.86rem;
    }

    .cmn-vote-snapshots-scroll-hint {
        min-width: 7.5rem;
        font-size: 0.74rem;
    }
}

/* Snapshot chart legend rank layout. */
.cmn-vote-snapshots-chart-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.cmn-vote-snapshots-chart-legend__item {
    position: relative;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.65rem;
    min-height: 4.5rem;
    padding: 0.72rem 0.78rem;
    overflow: hidden;
}

.cmn-vote-snapshots-chart-legend__item--top {
    border-color: currentColor;
}

.cmn-vote-snapshots-chart-legend__item--top::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.32rem;
    background: currentColor;
}

.cmn-vote-snapshots-chart-legend__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.78rem;
    height: 1.78rem;
    margin-top: 0.05rem;
    border-radius: 999px;
    color: currentColor;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.cmn-vote-snapshots-chart-legend__rank--podium {
    background: currentColor;
}

.cmn-vote-snapshots-chart-legend__rank--podium span {
    color: #fff;
}

.cmn-vote-snapshots-chart-legend__rank--regular {
    background: transparent;
}

.cmn-vote-snapshots-chart-legend__rank--regular span {
    color: currentColor;
}

.cmn-vote-snapshots-chart-legend__body {
    min-width: 0;
}

.cmn-vote-snapshots-chart-legend__meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.15rem 0.35rem;
    align-items: baseline;
    margin-top: 0.18rem !important;
}

.cmn-vote-snapshots-chart-legend__percent {
    color: var(--cmn-vote-snapshots-ink) !important;
    font-weight: 800;
}

.cmn-vote-snapshots-chart-legend__status::before {
    content: "·";
    margin-right: 0.35rem;
}

.cmn-vote-snapshots-chart-legend__stage {
    margin-top: 0.12rem !important;
}

.cmn-vote-snapshots-chart-legend__dot,
.cmn-vote-snapshots-chart-legend__badge {
    display: none;
}

@media (max-width: 900px) {
    .cmn-vote-snapshots-chart-legend {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cmn-vote-snapshots-chart-legend {
        grid-template-columns: 1fr;
    }
}

/* Snapshot chart legend selection fixes. */
.cmn-vote-snapshots-chart-legend__item {
    color: var(--cmn-vote-chart-series-color) !important;
    background: rgba(255, 255, 255, 0.82) !important;
}

.cmn-vote-snapshots-chart-legend__item:hover,
.cmn-vote-snapshots-chart-legend__item:focus,
.cmn-vote-snapshots-chart-legend__item:active,
.cmn-vote-snapshots-chart-legend__item[aria-pressed="true"],
.cmn-vote-snapshots-chart-legend__item--focus {
    border-color: var(--cmn-vote-chart-series-color) !important;
    background: rgba(255, 253, 250, 0.96) !important;
    color: var(--cmn-vote-chart-series-color) !important;
    text-decoration: none;
}

.cmn-vote-snapshots-chart-legend__item[aria-pressed="true"],
.cmn-vote-snapshots-chart-legend__item--focus {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--cmn-vote-chart-series-color) 24%, transparent);
}

.cmn-vote-snapshots-chart-legend__item--muted {
    opacity: 0.36;
    filter: none;
}

.cmn-vote-snapshots-chart-legend__item--top {
    border-color: var(--cmn-vote-chart-series-color) !important;
}

.cmn-vote-snapshots-chart-legend__item--top::before {
    width: 0.36rem;
    background: var(--cmn-vote-chart-series-color);
}

.cmn-vote-snapshots-chart-legend__rank {
    align-self: center;
    width: 2.15rem;
    height: 2.15rem;
    margin-top: 0;
    font-size: 1.05rem;
}

.cmn-vote-snapshots-chart-legend__rank--podium {
    background: var(--cmn-vote-chart-series-color);
    color: #fff;
}

.cmn-vote-snapshots-chart-legend__rank--podium span {
    color: #fff;
}

.cmn-vote-snapshots-chart-legend__rank--regular {
    color: var(--cmn-vote-chart-series-color);
    font-size: 1rem;
}

.cmn-vote-snapshots-chart-legend__rank--regular span {
    color: var(--cmn-vote-chart-series-color);
}

.cmn-vote-snapshots-chart-legend__body strong {
    color: var(--cmn-vote-snapshots-ink) !important;
}

.cmn-vote-snapshots-chart-legend__status,
.cmn-vote-snapshots-chart-legend__stage {
    color: var(--cmn-vote-snapshots-muted) !important;
}

/* Snapshot chart extended 16-color palette. */
.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--1 {
    --cmn-vote-chart-series-color: #d71920;
    color: #d71920;
    stroke: #d71920;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--2 {
    --cmn-vote-chart-series-color: #1f78ff;
    color: #1f78ff;
    stroke: #1f78ff;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--3 {
    --cmn-vote-chart-series-color: #2ca02c;
    color: #2ca02c;
    stroke: #2ca02c;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--4 {
    --cmn-vote-chart-series-color: #8a2be2;
    color: #8a2be2;
    stroke: #8a2be2;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--5 {
    --cmn-vote-chart-series-color: #ff7f0e;
    color: #ff7f0e;
    stroke: #ff7f0e;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--6 {
    --cmn-vote-chart-series-color: #00a6a6;
    color: #00a6a6;
    stroke: #00a6a6;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--7 {
    --cmn-vote-chart-series-color: #e83e8c;
    color: #e83e8c;
    stroke: #e83e8c;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--8 {
    --cmn-vote-chart-series-color: #7a5c00;
    color: #7a5c00;
    stroke: #7a5c00;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--9 {
    --cmn-vote-chart-series-color: #6f42c1;
    color: #6f42c1;
    stroke: #6f42c1;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--10 {
    --cmn-vote-chart-series-color: #00875a;
    color: #00875a;
    stroke: #00875a;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--11 {
    --cmn-vote-chart-series-color: #c23b22;
    color: #c23b22;
    stroke: #c23b22;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--12 {
    --cmn-vote-chart-series-color: #3f51b5;
    color: #3f51b5;
    stroke: #3f51b5;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--13 {
    --cmn-vote-chart-series-color: #b58900;
    color: #b58900;
    stroke: #b58900;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--14 {
    --cmn-vote-chart-series-color: #008fb3;
    color: #008fb3;
    stroke: #008fb3;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--15 {
    --cmn-vote-chart-series-color: #9c27b0;
    color: #9c27b0;
    stroke: #9c27b0;
}

.cmn-vote-snapshots .cmn-vote-snapshots-chart-color--16 {
    --cmn-vote-chart-series-color: #556b2f;
    color: #556b2f;
    stroke: #556b2f;
}

/* Public presentation variant foundations. */
.cmn-vote-campaign--feature {
    padding: clamp(1.25rem, 2.4vw, 1.85rem);
}

.cmn-vote-campaign--feature .cmn-vote-campaign__header {
    margin-bottom: 1.65rem;
}

.cmn-vote-campaign--feature .cmn-vote-options {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.1rem;
}

.cmn-vote-campaign--feature .cmn-vote-option,
.cmn-vote-campaign--feature .cmn-vote-current-choice__card {
    border-radius: 18px;
}

.cmn-vote-campaign--editorial {
    border-color: rgba(143, 0, 17, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(255, 255, 255, 0.98)),
        var(--cmn-vote-paper);
}

.cmn-vote-campaign--compact {
    max-width: 780px;
    margin: 1.35rem 0;
    padding: 1rem;
    border-radius: 14px;
    background: var(--cmn-vote-white);
}

.cmn-vote-campaign--compact .cmn-vote-campaign__header {
    margin-bottom: 0.95rem;
}

.cmn-vote-campaign--compact .cmn-vote-campaign__title {
    margin-bottom: 0.3rem;
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.cmn-vote-campaign--compact .cmn-vote-campaign__description {
    margin: 0.45rem 0 0.7rem;
    font-size: 0.94rem;
    line-height: 1.45;
}

.cmn-vote-campaign--compact .cmn-vote-campaign__prompt {
    margin-top: 0.45rem;
    font-size: 0.98rem;
}

.cmn-vote-campaign--compact .cmn-vote-options {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 0.65rem;
}

.cmn-vote-campaign--compact .cmn-vote-option {
    border-radius: 13px;
    box-shadow: none;
}

.cmn-vote-campaign--compact .cmn-vote-option__image {
    aspect-ratio: 16 / 10;
}

.cmn-vote-campaign--compact .cmn-vote-option__body {
    padding: 0.72rem;
}

.cmn-vote-campaign--compact .cmn-vote-option__title {
    font-size: 0.98rem;
    line-height: 1.2;
}

.cmn-vote-campaign--compact .cmn-vote-vote-form__footer,
.cmn-vote-campaign--compact .cmn-vote-current-choice__card,
.cmn-vote-campaign--compact .cmn-vote-promo {
    padding: 0.75rem;
    border-radius: 12px;
}

.cmn-vote-snapshots--feature {
    padding: clamp(1.25rem, 2.8vw, 2.2rem);
}

.cmn-vote-snapshots--feature .cmn-vote-snapshots__view {
    margin-top: 1.75rem;
}

.cmn-vote-snapshots--feature .cmn-vote-snapshots__cards {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}

.cmn-vote-snapshots--editorial {
    border-color: rgba(180, 138, 69, 0.32);
    background:
        linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(251, 247, 242, 0.92)),
        #fffdfa;
}

.cmn-vote-snapshots--compact {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: none;
}

.cmn-vote-snapshots--compact .cmn-vote-snapshots__header {
    margin-bottom: 0.95rem;
    padding-bottom: 0.75rem;
}

.cmn-vote-snapshots--compact .cmn-vote-snapshots__eyebrow {
    font-size: 0.7rem;
}

.cmn-vote-snapshots--compact .cmn-vote-snapshots__title {
    margin-bottom: 0.35rem;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.cmn-vote-snapshots--compact .cmn-vote-snapshots__lead,
.cmn-vote-snapshots--compact .cmn-vote-snapshots__disclaimer,
.cmn-vote-snapshots--compact .cmn-vote-snapshots__scroll-note {
    font-size: 0.92rem;
    line-height: 1.45;
}

.cmn-vote-snapshots--compact .cmn-vote-snapshots__view {
    margin-top: 1rem;
}

.cmn-vote-snapshots--compact .cmn-vote-snapshots__subtitle {
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
}

.cmn-vote-snapshots--compact .cmn-vote-snapshot-card {
    border-radius: 0.85rem;
    box-shadow: none;
}

.cmn-vote-snapshots--compact .cmn-vote-snapshot-card__header {
    margin-bottom: 0.55rem;
    padding-bottom: 0.55rem;
}

.cmn-vote-snapshots--compact .cmn-vote-snapshot-card__top li {
    gap: 0.5rem;
    padding: 0.42rem 0;
}

@media (max-width: 640px) {
    .cmn-vote-campaign--feature,
    .cmn-vote-campaign--compact {
        padding: 1rem;
    }

    .cmn-vote-campaign--compact .cmn-vote-options,
    .cmn-vote-campaign--feature .cmn-vote-options {
        grid-template-columns: 1fr;
    }

    .cmn-vote-snapshots--feature,
    .cmn-vote-snapshots--compact {
        padding: 1rem;
    }
}

/* Public current results shortcode. */
.cmn-vote-current-results {
    --cmn-vote-results-accent: #8f0011;
    --cmn-vote-results-accent-soft: #fbf2f3;
    --cmn-vote-results-ink: #171717;
    --cmn-vote-results-muted: #6b6660;
    --cmn-vote-results-line: #e2d8d6;
    --cmn-vote-results-paper: #fffdfb;

    margin: 2rem 0;
    padding: 1.2rem;
    border: 1px solid var(--cmn-vote-results-line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(250, 246, 243, 0.7), rgba(255, 255, 255, 0.96)),
        var(--cmn-vote-results-paper);
    color: var(--cmn-vote-results-ink);
}

.cmn-vote-current-results,
.cmn-vote-current-results * {
    box-sizing: border-box;
}

.cmn-vote-current-results--notice {
    box-shadow: none;
}

.cmn-vote-current-results__header {
    margin-bottom: 1rem;
}

.cmn-vote-current-results__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--cmn-vote-results-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.cmn-vote-current-results__title {
    margin: 0 0 0.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.1vw, 1.85rem);
    font-weight: 500;
    line-height: 1.16;
}

.cmn-vote-current-results__meta,
.cmn-vote-current-results__empty,
.cmn-vote-current-results__note {
    margin: 0;
    color: var(--cmn-vote-results-muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.cmn-vote-current-results__list {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.cmn-vote-current-results__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.72rem;
    border: 1px solid rgba(226, 216, 214, 0.86);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
}

.cmn-vote-current-results__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--cmn-vote-results-accent-soft);
    color: var(--cmn-vote-results-accent);
    font-weight: 800;
}

.cmn-vote-current-results__body,
.cmn-vote-current-results__value {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.cmn-vote-current-results__name {
    font-weight: 800;
    line-height: 1.25;
}

.cmn-vote-current-results__country,
.cmn-vote-current-results__value span {
    color: var(--cmn-vote-results-muted);
    font-size: 0.86rem;
    line-height: 1.25;
}

.cmn-vote-current-results__bar {
    display: block;
    height: 0.42rem;
    margin-top: 0.25rem;
    border-radius: 999px;
    background: rgba(143, 0, 17, 0.09);
    overflow: hidden;
}

.cmn-vote-current-results__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--cmn-vote-results-accent);
}

.cmn-vote-current-results__value {
    justify-items: end;
    text-align: right;
}

.cmn-vote-current-results__value strong {
    font-size: 1.05rem;
    line-height: 1.1;
}

.cmn-vote-current-results__note {
    margin-top: 0.9rem;
}

.cmn-vote-current-results__cta {
    margin: 1rem 0 0;
}

.cmn-vote-current-results__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.58rem 1rem;
    border: 1px solid var(--cmn-vote-results-accent);
    border-radius: 999px;
    background: var(--cmn-vote-results-accent);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.cmn-vote-current-results__button:hover,
.cmn-vote-current-results__button:focus {
    background: #72000d;
    border-color: #72000d;
    color: #fff;
    text-decoration: none;
}

.cmn-vote-current-results--compact {
    max-width: 680px;
    margin: 1.35rem 0;
    padding: 1rem;
    border-radius: 14px;
}

.cmn-vote-current-results--compact .cmn-vote-current-results__title {
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.cmn-vote-current-results--compact .cmn-vote-current-results__item {
    padding: 0.58rem;
}

.cmn-vote-current-results--compact .cmn-vote-current-results__item {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    column-gap: 0.55rem;
    align-items: start;
}

.cmn-vote-current-results--compact .cmn-vote-current-results__rank {
    width: auto;
    height: auto;
    margin-top: 0.18rem;
    border-radius: 0;
    background: transparent;
    color: var(--cmn-vote-results-accent);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
}

.cmn-vote-current-results--compact .cmn-vote-current-results__body,
.cmn-vote-current-results--compact .cmn-vote-current-results__value {
    grid-column: 2;
}

.cmn-vote-current-results--compact .cmn-vote-current-results__value {
    justify-items: start;
    text-align: left;
}

.cmn-vote-current-results--compact .cmn-vote-current-results__button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.cmn-vote-current-results--feature {
    padding: clamp(1.2rem, 2.6vw, 1.85rem);
}

.cmn-vote-current-results--editorial {
    border-color: rgba(143, 0, 17, 0.18);
    background: #fffdfb;
}

@media (max-width: 640px) {
    .cmn-vote-current-results {
        padding: 1rem;
        border-radius: 14px;
    }

    .cmn-vote-current-results__item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .cmn-vote-current-results__value {
        grid-column: 2;
        justify-items: start;
        text-align: left;
    }
}

/* Feature voting blocks use the same large special-page layout for all campaign types. */
.cmn-vote-campaign--feature {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cmn-vote-campaign--feature .cmn-vote-options {
    grid-template-columns: repeat(var(--cmn-vote-feature-columns, 5), minmax(0, 1fr));
    gap: 1rem;
}

.cmn-vote-campaign--feature .cmn-vote-option {
    min-width: 0;
}

.cmn-vote-campaign--feature .cmn-vote-option__image {
    margin: 0;
}

.cmn-vote-campaign--feature .cmn-vote-option__img {
    width: 100%;
    height: 12.5rem;
    object-fit: cover;
}

.cmn-vote-campaign--feature .cmn-vote-option__body {
    padding: 1rem 1rem 1.05rem;
}

.cmn-vote-campaign--feature .cmn-vote-option__choice {
    margin-bottom: 0.65rem;
}

.cmn-vote-campaign--feature .cmn-vote-vote-form__footer,
.cmn-vote-campaign--feature .cmn-vote-current-choice__card,
.cmn-vote-campaign--feature .cmn-vote-promo {
    max-width: none;
}

@media (max-width: 1180px) {
    .cmn-vote-campaign--feature .cmn-vote-options {
        grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    }
}

@media (max-width: 760px) {
    .cmn-vote-campaign--feature .cmn-vote-options {
        grid-template-columns: 1fr;
    }

    .cmn-vote-campaign--feature .cmn-vote-option__img {
        height: auto;
        max-height: 18rem;
    }
}

/* Force prediction campaigns in feature variant to use the same grid as feature voting. */
.cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-options,
.cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-options {
    display: grid !important;
    grid-template-columns: repeat(var(--cmn-vote-feature-columns, 5), minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-option,
.cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-option {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-option__image,
.cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-option__image {
    width: 100% !important;
    margin: 0 !important;
}

.cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-option__img,
.cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-option__img {
    display: block !important;
    width: 100% !important;
    height: 12.5rem !important;
    object-fit: cover !important;
}

.cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-option__body,
.cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-option__body {
    padding: 1rem 1rem 1.05rem !important;
}

.cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-option__title,
.cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-option__title {
    font-size: 1.08rem !important;
}

.cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-vote-form__footer,
.cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-vote-form__footer,
.cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-current-choice__card,
.cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-current-choice__card {
    max-width: none !important;
}

@media (max-width: 1180px) {
    .cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-options,
    .cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-options {
        grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-options,
    .cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-options {
        grid-template-columns: 1fr !important;
    }

    .cmn-vote-campaign-prediction.cmn-vote-campaign--feature .cmn-vote-option__img,
    .cmn-vote-campaign-prediction[data-variant="feature"] .cmn-vote-option__img {
        height: auto !important;
        max-height: 18rem !important;
    }
}

/* Column class overrides for feature campaign grids. */
.cmn-vote-campaign--feature.cmn-vote-campaign--columns-1 .cmn-vote-options {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.cmn-vote-campaign--feature.cmn-vote-campaign--columns-2 .cmn-vote-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.cmn-vote-campaign--feature.cmn-vote-campaign--columns-3 .cmn-vote-options {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.cmn-vote-campaign--feature.cmn-vote-campaign--columns-4 .cmn-vote-options {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.cmn-vote-campaign--feature.cmn-vote-campaign--columns-5 .cmn-vote-options {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.cmn-vote-campaign--feature.cmn-vote-campaign--columns-6 .cmn-vote-options {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

@media (max-width: 960px) {
    .cmn-vote-campaign--feature.cmn-vote-campaign--columns-4 .cmn-vote-options,
    .cmn-vote-campaign--feature.cmn-vote-campaign--columns-5 .cmn-vote-options,
    .cmn-vote-campaign--feature.cmn-vote-campaign--columns-6 .cmn-vote-options {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .cmn-vote-campaign--feature.cmn-vote-campaign--columns-2 .cmn-vote-options,
    .cmn-vote-campaign--feature.cmn-vote-campaign--columns-3 .cmn-vote-options,
    .cmn-vote-campaign--feature.cmn-vote-campaign--columns-4 .cmn-vote-options,
    .cmn-vote-campaign--feature.cmn-vote-campaign--columns-5 .cmn-vote-options,
    .cmn-vote-campaign--feature.cmn-vote-campaign--columns-6 .cmn-vote-options {
        grid-template-columns: 1fr !important;
    }
}

.cmn-vote-restart-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cmn-vote-restart-form__note {
  margin: 0 0 10px;
  font-size: 0.95em;
  opacity: 0.82;
}

.cmn-vote-campaign button.cmn-vote-restart-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid rgba(120, 45, 35, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #7f261f;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.cmn-vote-campaign button.cmn-vote-restart-form__submit:hover,
.cmn-vote-campaign button.cmn-vote-restart-form__submit:focus {
  background: rgba(127, 38, 31, 0.07);
  color: #641d18;
}

/* Compact mini view for narrow snapshot teasers. */
.cmn-vote-snapshots--view-mini {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 18px 18px 16px;
    border-radius: 20px;
}

.cmn-vote-snapshots--view-mini .cmn-vote-snapshots-mini {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
    width: 100%;
}

.cmn-vote-snapshots-mini__header {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cmn-vote-snapshots-mini__title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.18;
    color: var(--cmn-vote-snapshots-ink);
}

.cmn-vote-snapshots-mini__meta,
.cmn-vote-snapshots-mini__empty {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.35;
    color: var(--cmn-vote-snapshots-muted);
}

.cmn-vote-snapshots-mini-chart-wrap {
    flex: 0 0 150px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.78);
}

.cmn-vote-snapshots-mini-chart {
    display: block;
    width: 100%;
    height: 150px;
}

.cmn-vote-snapshots-mini-chart__grid {
    stroke: rgba(116, 105, 99, 0.18);
    stroke-width: 1;
}

.cmn-vote-snapshots-mini-chart__line {
    stroke-width: 2.35;
    fill: none;
    vector-effect: non-scaling-stroke;
}

.cmn-vote-snapshots-mini-chart__point {
    stroke-width: 1.5;
}

.cmn-vote-snapshots-mini-chart__label {
    fill: var(--cmn-vote-snapshots-muted);
    font-size: 10px;
}

.cmn-vote-snapshots-mini-current {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.cmn-vote-snapshots-mini-current__title {
    margin: 0;
    color: #6b4a4a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.cmn-vote-snapshots-mini-current__list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    min-width: 0;
    list-style: none;
}

.cmn-vote-snapshots-mini-current__item {
    display: grid;
    grid-template-columns: auto 8px minmax(90px, 1fr) auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.cmn-vote-snapshots-mini-current__rank {
    color: #9a8a8a;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.cmn-vote-snapshots-mini-current__dot {
    display: block;
    width: 7px;
    height: 7px;
    min-width: 7px;
    border-radius: 999px;
    background: var(--cmn-vote-chart-series-color, currentColor);
}

.cmn-vote-snapshots-mini-current__name {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--cmn-vote-snapshots-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: normal;
}

.cmn-vote-snapshots-mini-current__percent {
    justify-self: end;
    color: var(--cmn-vote-snapshots-ink);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    white-space: nowrap;
}

.cmn-vote-snapshots-mini-current__bar {
    grid-column: 3 / 5;
    display: block;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(132, 31, 39, 0.10);
}

.cmn-vote-snapshots-mini-current__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--cmn-vote-chart-series-color, currentColor);
}

.cmn-vote-snapshots-mini__link {
    justify-self: start;
    margin-top: auto;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--cmn-vote-snapshots-accent);
    text-decoration: none;
}

.cmn-vote-snapshots-mini__link:hover,
.cmn-vote-snapshots-mini__link:focus {
    text-decoration: underline;
}

/* Snapshot cards details panel mode. */
.cmn-vote-snapshots__view--cards-details-panel .cmn-vote-snapshot-card {
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.cmn-vote-snapshot-card--active {
    border-color: var(--cmn-vote-snapshots-accent);
    background: #fffaf7;
    box-shadow: 0 12px 28px rgba(111, 40, 28, 0.10);
}

.cmn-vote-snapshot-card__details-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    margin-top: 12px;
    padding: 8px 13px;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 999px;
    background: #fff;
    color: var(--cmn-vote-snapshots-accent);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.cmn-vote-snapshot-card__details-trigger:hover,
.cmn-vote-snapshot-card__details-trigger:focus {
    border-color: var(--cmn-vote-snapshots-accent);
    background: var(--cmn-vote-snapshots-accent-soft);
}

.cmn-vote-snapshot-card--active .cmn-vote-snapshot-card__details-trigger {
    border-color: var(--cmn-vote-snapshots-accent);
    background: var(--cmn-vote-snapshots-accent-soft);
}

.cmn-vote-snapshot-card-panel {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--cmn-vote-snapshots-border-strong);
    border-radius: 18px;
    background: #fffdfa;
    box-shadow: 0 16px 38px rgba(63, 36, 22, 0.08);
}

.cmn-vote-snapshot-card-panel[hidden] {
    display: none;
}

.cmn-vote-snapshot-card-panel__header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cmn-vote-snapshot-card-panel__title {
    margin: 0;
    color: var(--cmn-vote-snapshots-ink);
    font-size: 1.05rem;
    line-height: 1.25;
}

.cmn-vote-snapshot-card-panel__close {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid var(--cmn-vote-snapshots-border);
    border-radius: 999px;
    background: #fff;
    color: var(--cmn-vote-snapshots-muted);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.cmn-vote-snapshot-card-panel__close:hover,
.cmn-vote-snapshot-card-panel__close:focus {
    border-color: var(--cmn-vote-snapshots-accent);
    color: var(--cmn-vote-snapshots-accent);
}

.cmn-vote-snapshot-card-panel__body {
    min-width: 0;
}

.cmn-vote-snapshot-card-panel__templates {
    display: none;
}

.cmn-vote-snapshots__view--cards-details-none .cmn-vote-snapshot-card__details,
.cmn-vote-snapshots__view--cards-details-none .cmn-vote-snapshot-card__details-trigger {
    display: none;
}

@media (max-width: 640px) {
    .cmn-vote-snapshot-card-panel {
        padding: 14px;
        border-radius: 14px;
    }

    .cmn-vote-snapshot-card-panel__header {
        display: grid;
        gap: 10px;
    }

    .cmn-vote-snapshot-card-panel__close {
        justify-self: start;
    }
}

/* Small public frontend polish. */
.cmn-vote-participants .cmn-vote-participants-card__support,
.cmn-vote-participants .cmn-vote-participants-card__link,
.cmn-vote-participants .cmn-vote-participants-card__official {
    box-sizing: border-box;
    border-style: solid !important;
    border-width: 1px !important;
    background-clip: padding-box;
    text-decoration: none !important;
    transform: none !important;
}

.cmn-vote-participants .cmn-vote-participants-card__support {
    border-color: var(--cmn-vote-participants-accent) !important;
}

.cmn-vote-participants .cmn-vote-participants-card__link,
.cmn-vote-participants .cmn-vote-participants-card__official {
    border-color: var(--cmn-vote-participants-line) !important;
}

.cmn-vote-participants .cmn-vote-participants-card__support:hover,
.cmn-vote-participants .cmn-vote-participants-card__support:focus,
.cmn-vote-participants .cmn-vote-participants-card__link:hover,
.cmn-vote-participants .cmn-vote-participants-card__link:focus,
.cmn-vote-participants .cmn-vote-participants-card__official:hover,
.cmn-vote-participants .cmn-vote-participants-card__official:focus {
    border-color: var(--cmn-vote-participants-accent) !important;
    text-decoration: none !important;
}

.cmn-vote-campaign:target,
.cmn-vote-campaign:focus,
.cmn-vote-campaign:focus-visible,
.cmn-vote-participants:target,
.cmn-vote-participants:focus,
.cmn-vote-participants:focus-visible,
.cmn-vote-snapshots:target,
.cmn-vote-snapshots:focus,
.cmn-vote-snapshots:focus-visible,
.cmn-vote-snapshots__view:target,
.cmn-vote-snapshots__view:focus,
.cmn-vote-snapshots__view:focus-visible,
.cmn-vote-current-results:target,
.cmn-vote-current-results:focus,
.cmn-vote-current-results:focus-visible {
    outline: none !important;
}
