:root{--page-bg:#fff;--text-main:#000;--text-muted:#666;--line:#ddd;--shadow:0 6px 14px rgba(0,0,0,.14);--card-width:316px;--rail-gap:4px;--meta-width:140px;--party-width:88px}
*{box-sizing:border-box;margin:0;padding:0}
html,body{min-height:100%;background:var(--page-bg);color:var(--text-main);font-family:"Inter",sans-serif}
.page-shell{max-width:1160px;margin:16px auto; padding: 0 16px;}
.widget__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.widget__title{margin:0;font-size:22px;line-height:1;font-weight:800;color:var(--text-main)}
.widget__title-mobile,.widget__mobile-link,.widget__mobile-app-cta{display:none}
.widget__subtitle{margin:4px 0 0;font-size:12px;line-height:1.1;font-weight:500;color:#333}
.widget__actions{display:flex;align-items:center;gap:12px}
.app-cta,.details-cta{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}
.app-cta{min-height:32px;padding:0 8px;border:1px dashed #909090;border-radius:4px;background:#E1F5FF;color:#223556;font-size:11px;font-weight:500;gap:8px}
.app-cta strong{font-weight:700}
.rslticn{position:relative;top:3px;margin:0 1px}
.app-cta__icon{width:24px;height:24px}
.app-cta__icon svg{width:100%;height:100%}
.details-cta{min-height:32px;padding:0 10px;border-radius:4px;background:#EC2027;color:#fff;font-size:11px;font-weight:700;letter-spacing:0;gap:5px}
.details-cta__label{line-height:1}
.details-cta span[aria-hidden="true"]{font-size:14px;line-height:1;margin-top:-1px;font-weight:700}
.widget__rail-wrap{position:relative;margin:8px 0 12px;border-bottom:1px solid #DFDFDF;padding-bottom:12px}
.widget__rail{display:flex;gap:var(--rail-gap);overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;margin:0 16px}
.widget__rail::-webkit-scrollbar{display:none}
.rail-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:24px;height:24px;border:0;border-radius:4px;background:#fff;cursor:pointer;box-shadow:0 4px 4px #00000040}
.rail-nav::before{content:"";position:absolute;width:6px;height:6px;border-top:1.5px solid #000;border-left:1.5px solid #000;transform:rotate(-45deg);top:9px;left:10px}
.rail-nav--prev{left:0}
.rail-nav--next{right:0;transform:scalex(-1) translate(0,-50%)}
.rail-nav[disabled]{opacity:.35;cursor:default}
.poll-card,.poll-card:link,.poll-card:visited,.poll-card:hover,.poll-card:active,.poll-card:focus{color:inherit;text-decoration:none}
.poll-card .meta-cell__state,.poll-card .meta-cell__label,.poll-card .meta-cell__agency,.poll-card .party-cell__name,.poll-card .party-cell__value{text-decoration:none}
.poll-card{display:grid;grid-template-columns:var(--meta-width) repeat(2,var(--party-width));min-width:var(--card-width);background:rgba(70,70,70,.05);border:1px solid #E2E2E2;cursor:pointer}
.poll-card__party-grid{display:grid;grid-template-columns:repeat(2,var(--party-width))}
.meta-cell,.party-cell{min-height:75px}
.meta-cell{padding:8px}
.meta-cell__state{font-size:12px;line-height:1.15;font-weight:700;color:#333;border-bottom:1px solid #DFDFDF;padding-bottom:6px;margin-bottom:8px}
.meta-cell__state span{font-weight:500;color:#666;font-size:10px}
.meta-cell__label{margin:0 0 2px;font-size:10px;font-weight:500;color:#666;text-transform:uppercase}
.meta-cell__agency{font-size:12px;line-height:1.15;font-weight:600;color:#111}
.party-cell{position:relative;border-left:1px solid var(--line)}
.party-cell__bar{height:4px;width:100%}
.party-cell__content{display:flex;min-height:calc(100% - 6px);flex-direction:column;align-items:center;justify-content:center;padding:10px 6px 8px;text-align:center}
.party-cell__name{margin:0 0 6px;font-size:11px;line-height:1.1;font-weight:600;color:#444}
.party-cell__value{font-size:18px;line-height:24px;font-weight:800;color:#222}
.widget__status,.widget__error{padding:26px 30px;border:1px solid var(--line);color:var(--text-muted);font-size:16px;font-weight:500}
.widget__error{color:#b32a22;background:#fff3f2}
.skeleton-card{overflow:hidden}
.skeleton-card .meta-cell,.skeleton-card .party-cell{background:#fff}
.skeleton-block{display:block;border-radius:4px;background:linear-gradient(90deg,#f0f0f0 25%,#f7f7f7 38%,#f0f0f0 55%);background-size:200% 100%;animation:skeleton-shimmer 1.2s linear infinite}
.skeleton-block--state{width:116px;height:24px}
.skeleton-block--label{width:64px;height:14px}
.skeleton-block--agency{width:168px;max-width:100%;height:20px}
.skeleton-block--party-name{width:74px;height:20px}
.skeleton-block--party-value{width:118px;height:28px}
.skeleton-card .meta-cell__state,.skeleton-card .meta-cell__label,.skeleton-card .meta-cell__agency,.skeleton-card .party-cell__name,.skeleton-card .party-cell__value{display:flex;justify-content:flex-start}
.skeleton-card .party-cell__name,.skeleton-card .party-cell__value{justify-content:center}
@keyframes skeleton-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

.skeleton-block {display: inline-block;width: 100%;height: 12px;border-radius: 4px;background: linear-gradient(90deg,#eee 25%,#f5f5f5 37%,#eee 63%);background-size: 400% 100%;animation: skeleton-loading 1.4s ease infinite;}
.skeleton-block--state {width: 80px;height: 14px;}
.skeleton-block--label {width: 60px;height: 10px;}
.skeleton-block--agency {width: 100px;height: 12px;}
.skeleton-block--party-name {width: 70%;height: 10px;}
.skeleton-block--party-value {width: 40px;height: 10px;}
@keyframes skeleton-loading {0% {background-position: 100% 0;}100% {background-position: 0 0;}}

@media(max-width:650px){
.page-shell{padding: 0;}
.widget__title{font-size:20px}
.widget__subtitle{font-size:11px}
.widget__title-desktop{display:none}
.widget__title-mobile,.widget__mobile-link,.widget__mobile-app-cta{display:block}
.widget__header{display:grid;grid-template-columns:1fr auto;align-items:start;padding:0 16px}
.widget__mobile-link{position:relative;width:20px;height:20px}
.widget__mobile-link:before{content:"";position:absolute;width:6px;height:6px;border-top:1.5px solid #000;border-right:1.5px solid #000;top:8px;left:0;font-size:0;transform:translate(10px,-2px) rotate(45deg)}
.widget__actions,.rail-nav{display:none}
.details-cta{display:none}
.widget__rail-wrap{margin-top:12px}
.widget__rail{gap:6px;padding: 0 16px; margin: 0;}
.widget__mobile-app-cta{text-align:center}
}
