/* Poll history archive: calm surfaces, clear results and responsive vote bars. */
.poll-history{padding:.7rem 0 3rem;background:#f5f7fa;color:#263344}
.poll-history__container{width:min(1240px,calc(100% - 2rem));margin-inline:auto}
.poll-history .portal-breadcrumbs{margin:0 0 .8rem;padding:.7rem 1rem}
.poll-history__hero{display:flex;align-items:center;gap:1rem;margin:0 0 .8rem;padding:1.15rem 1.3rem;border:1px solid #e4e8ee;border-radius:15px;background:linear-gradient(110deg,#fff,#fbfaf6);box-shadow:0 5px 18px rgba(20,44,70,.04)}
.poll-history__hero-icon{display:grid;place-items:center;flex:0 0 3rem;width:3rem;height:3rem;border-radius:12px;background:#f3ead5;color:#92702d;font-size:1.2rem}
.poll-history__hero p{margin:0 0 .25rem;color:#6a7481;font-size:.9rem;line-height:1.7}
.poll-history__hero h1{margin:0;color:#213246;font-size:clamp(1.45rem,2.3vw,2rem);font-weight:750;line-height:1.45;text-align:start}
.poll-history__intro{margin:0 0 1.15rem;color:#5d6877;font-size:.95rem;line-height:1.8}
.poll-history__list{display:grid;gap:.9rem}
.poll-history-card{min-width:0;padding:clamp(1rem,2.2vw,1.45rem);border:1px solid #e3e8ee;border-radius:15px;background:#fff;box-shadow:0 5px 20px rgba(20,44,70,.04)}
.poll-history-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin:0 0 1rem;padding:0 0 .85rem;border-bottom:1px solid #edf0f3}
.poll-history-card__header h2{min-width:0;margin:0;color:#26384b;font-size:clamp(1rem,1.55vw,1.18rem);font-weight:700;line-height:1.7;overflow-wrap:anywhere}
.poll-history-card__date{display:inline-flex;align-items:center;flex:0 0 auto;gap:.45rem;padding:.4rem .7rem;border:1px solid #eee4d2;border-radius:999px;background:#fbf8f1;color:#80602a;font-size:.8rem;white-space:nowrap}
.poll-history-card__answers{display:grid;gap:.85rem}
.poll-history-answer{min-width:0}
.poll-history-answer__meta{display:flex;align-items:baseline;justify-content:space-between;gap:.9rem;margin-bottom:.35rem}
.poll-history-answer__label{min-width:0;color:#3b4858;font-size:.92rem;font-weight:600;line-height:1.65;overflow-wrap:anywhere}
.poll-history-answer__stats{display:inline-flex;align-items:baseline;flex:0 0 auto;gap:.55rem;color:#697586;font-size:.78rem;white-space:nowrap}
.poll-history-answer__stats strong{color:#8c6828;font-size:.86rem}
.poll-history-answer__track{height:9px;overflow:hidden;border-radius:999px;background:#edf0f3}
.poll-history-answer__track span{display:block;height:100%;margin-inline-start:auto;border-radius:inherit;background:linear-gradient(90deg,#b28b45,#d2b26c);transition:width .35s ease}
.poll-history__empty{display:grid;justify-items:center;gap:.7rem;padding:2.5rem 1.2rem;border:1px dashed #d6dce4;border-radius:14px;background:#fff;color:#687588;text-align:center}
.poll-history__empty>span{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:#f5eddb;color:#987225;font-size:1.15rem}
.poll-history__empty p{margin:0;line-height:1.7}
@media(max-width:620px){.poll-history{padding-top:.35rem;padding-bottom:2rem}.poll-history__container{width:calc(100% - 1.25rem)}.poll-history .portal-breadcrumbs{margin-bottom:.55rem;padding:.55rem .7rem}.poll-history__hero{align-items:flex-start;gap:.7rem;margin-bottom:.65rem;padding:.9rem}.poll-history__hero-icon{flex-basis:2.55rem;width:2.55rem;height:2.55rem}.poll-history__hero p{font-size:.82rem}.poll-history__intro{margin-bottom:.85rem;font-size:.9rem}.poll-history-card{padding:.95rem;border-radius:12px}.poll-history-card__header{flex-direction:column;gap:.55rem;margin-bottom:.8rem;padding-bottom:.7rem}.poll-history-answer__meta{align-items:flex-start;gap:.55rem}.poll-history-answer__stats{gap:.35rem;font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.poll-history *{scroll-behavior:auto!important;transition:none!important}}
