.vote-card {scroll-margin-top:15px}
.vote-card h2{line-height:1.4;margin-top:.3em;overflow-wrap:anywhere}
.vote-jumps{display:flex;flex-wrap:wrap;gap:.45rem;margin:15px 0 23px}
.vote-jumps a{border:1px solid #baac91;background:#fffbf1;padding:.25em .65em;border-radius:9px;display:flex;min-height:44px;align-items:center}
.vote-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:.75rem 0}
.vote-counts div{background:#efe5cd;border-radius:10px;padding:.4em .65em;color:#263e53}
.vote-counts dt{font-size:.78rem}
.vote-counts dd{font-size:1.4rem;font-weight:780;line-height:1.25;margin:0;font-variant-numeric:tabular-nums}
.vote-counts dd span{font-size:.78rem;font-weight:600;margin-left:.18em}
.vote-controls{display:flex;flex-wrap:wrap;gap:.38rem;margin:.75rem 0}
.vote-controls[hidden]{display:none}
.vote-controls button{background:#fffdf9;color:#234761;border:1px solid #948a76;border-radius:7px;min-height:44px;padding:.25em .62em;font:inherit;font-size:.88rem;cursor:pointer}
.vote-controls button[aria-pressed="true"]{color:white;background:#2f526c;border-color:#2f526c}
.vote-controls button:focus-visible{outline:3px solid #325e9a;outline-offset:2px}
.vote-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:clamp(.8rem,2vw,.95rem)}
.vote-table caption{text-align:left;font-weight:650;margin:.2em 0}
.vote-table :is(th,td){border-bottom:1px solid #dcd2ba;text-align:right;padding:.28rem .43rem;font-variant-numeric:tabular-nums}
.vote-table tr :first-child{text-align:left;width:65%;overflow-wrap:anywhere}
.vote-table tbody tr:nth-child(even){background:#f7f2e7}
.vote-table thead,.vote-table tfoot{background:#ece6d7;font-weight:700}
.vote-card[data-vote-mark="yea"] .yea,.vote-card[data-vote-mark="nay"] .nay{background:#cde2ef;color:#132d44;font-weight:800}
.vote-person-panel h2{margin-block:0 .4em}
.vote-person-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.5rem;margin:.8rem 0}
.vote-person-form[hidden]{display:none}
.vote-person-form label{display:grid;gap:.2rem;flex:1 1 15rem}
.vote-person-form :is(input,select,button){box-sizing:border-box;min-height:44px;padding:.4em .65em;font:inherit;border:1px solid #948a76;border-radius:.45rem;background:#fffcf5;color:#193b53}
.vote-person-form :is(input,select){width:100%}
.vote-person-form button{cursor:pointer;font-weight:700}
.vote-person-form button[type=submit]{background:#2f526c;color:#fff}
.vote-person-results{list-style:none;padding:0;margin:.6rem 0 0;display:grid;gap:.6rem}
.vote-person-result{border:1px solid #cfc4a9;border-radius:.6rem;background:#fffcf6;padding:.65rem .85rem;overflow-wrap:anywhere}
.vote-person-result h3{display:inline;margin:0 .65rem 0 0;font-size:1.08rem}
.vote-person-badge{display:inline-block;border-radius:99px;background:#e9e2ce;color:#4c4240;padding:.1rem .6rem;font-size:.9rem}
.vote-person-badge[data-vote=Y]{background:#def0e1;color:#1b4832}
.vote-person-badge[data-vote=N]{background:#f2e0dc;color:#732b29}
.vote-person-result p{margin:.35em 0}
.vote-person-meta{font-size:.9rem;color:#455b6a}
.vote-person-result a{display:inline-flex;min-height:44px;align-items:center}

.vote-recent summary{cursor:pointer;font-weight:740}
.vote-recent li{margin-block:.35rem}
.vote-recent li a{overflow-wrap:anywhere}
#house-votes{scroll-margin-top:1rem}
.vote-case-links li+li{margin-top:.3rem}
.vote-case-links a{overflow-wrap:anywhere}
.vote-person-badge[data-vote=P]{background:#e2eaf0;color:#21425b}
#vote-compare{scroll-margin-top:1rem}
.vote-case-compare-link{margin-inline-start:.85rem}
.vote-compare-form{display:grid;gap:.55rem}
.vote-compare-form[hidden]{display:none}
.vote-compare-form label{display:grid;gap:.24rem;min-width:0}
.vote-compare-form select,.vote-compare-form button,.vote-compare-open{min-height:44px;border:1px solid #948a76;border-radius:.45rem;background:#fffcf5;padding:.42rem .62rem;color:#193b53;font:inherit;box-sizing:border-box}
.vote-compare-form select{width:100%;min-width:0;max-width:100%}
.vote-compare-form button,.vote-compare-open{justify-self:start;cursor:pointer;font-weight:700;background:#2f526c;color:#fff}
.vote-compare-form button:disabled,.vote-compare-open:disabled{filter:grayscale(.65);cursor:default}
.vote-compare-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.55rem}
.vote-compare-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;list-style:none;margin:.5rem 0;padding:0}
.vote-compare-results[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.vote-compare-results li{min-width:0;padding:.52rem .57rem}
.vote-compare-results h3{display:block;margin:0 0 .38em}
.vote-compare-results .vote-person-badge{word-break:normal;overflow-wrap:anywhere;max-width:100%}
