/* ========================================================================== */
/* INTEGRATED: W-NOMINATE */
/* ========================================================================== */

/* Isolated calm-civic W-NOMINATE redesign. Shared primitives come from
   /index-iv.css and /districts/district-iv.css. */

.iv-wnominate {
  --iv-wn-data-max: 1000px;
  min-width: 0;
  overflow-x: clip;
}

.iv-wnominate h1,
.iv-wnominate h1 * {
  font-family: var(--iv-font-sans);
}

.iv-wnominate .iv-site-header {
  position: relative;
  top: auto;
}

.iv-wnominate .section-nav.computer {
  position: sticky;
  top: 0;
  z-index: 850;
}

.iv-wnominate .section-nav .more_div a[aria-current="page"] {
  box-shadow: inset 5px 0 0 var(--iv-orange);
}

.iv-wnominate .section-nav :is(.ideology_link, .votes_link) {
  display: inline-flex !important;
}

.iv-wnominate .section-nav.computer .district_summary_link:not(:hover) {
  border-bottom-color: transparent;
  color: var(--iv-neutral);
  font-weight: inherit;
}

.iv-wnominate .section-nav.computer .more_button {
  border-bottom: 2px solid var(--iv-orange);
  color: var(--iv-ink);
  font-weight: 750;
}

.iv-wnominate .section-nav.phone .page-option {
  border-bottom-color: transparent !important;
  color: var(--iv-neutral) !important;
}

.iv-wnominate .section-nav.phone .page-option[aria-current="page"] {
  border-bottom-color: var(--iv-orange) !important;
  color: var(--iv-ink) !important;
}

body.iv-page.iv-district-summary.iv-wnominate
  .section-nav.phone
  .district_summary_link:not([aria-current="page"]) {
  border-bottom-color: transparent !important;
  color: var(--iv-neutral) !important;
}

.iv-wnominate :is(a, button, input, select):focus-visible {
  outline: 3px solid var(--iv-blue);
  outline-offset: 3px;
}

.iv-wn-main {
  min-height: 72vh;
  padding: 40px 0;
  overflow: clip;
  background: var(--iv-paper);
  color: var(--iv-ink);
}

.iv-votes-page .iv-wn-main {
  min-height: 100vh;
}

#section_nav_info {
  display: none !important;
}

.iv-wnominate .iv-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 56px;
  color: var(--iv-neutral);
  font-family: var(--iv-font-mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.iv-wnominate .iv-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.iv-wnominate .iv-breadcrumb a:hover {
  color: var(--iv-accent-text);
}

.iv-wn-hero {
  padding-bottom: 20px;
}

.iv-wn-controls p,
.iv-wn-section-head > div > p,
.iv-wn-method > p,
.iv-vote-results-meta,
.iv-vote-query label {
  margin: 0;
  color: var(--iv-neutral);
  font-family: var(--iv-font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.iv-wn-hero h1,
.iv-vote-story-head h1 {
  max-width: 900px;
  margin: 0;
  color: var(--iv-ink);
}

.iv-wn-hero > p {
  max-width: 800px !important;
  margin: 10px 0 4px;
  color: var(--iv-neutral);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.iv-wn-view-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  border: 2px solid var(--iv-ink);
}

.iv-wn-view-switch a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
  padding: 17px 20px;
  color: var(--iv-ink);
  text-decoration: none;
}

.iv-wn-view-switch a + a {
  border-left: 2px solid var(--iv-ink);
}
.iv-wn-view-switch a[aria-current="page"] {
  background: var(--iv-orange);
  color: var(--iv-dark);
}
.iv-wn-view-switch a:hover:not([aria-current="page"]) {
  background: var(--iv-panel);
}

.iv-wn-view-switch span {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--iv-accent-text);
  font-family: var(--iv-font-mono);
  font-size: 12px;
  font-weight: 800;
}

.iv-wn-view-switch a[aria-current="page"] span {
  color: var(--iv-dark);
}
.iv-wn-view-switch strong {
  font-size: 18px;
  line-height: 1.1;
}
.iv-wn-view-switch small {
  color: var(--iv-neutral);
  font-family: var(--iv-font-mono);
  font-size: 11px;
}
.iv-wn-view-switch a[aria-current="page"] :is(strong, small) {
  color: var(--iv-on-accent);
}

.iv-wn-controls {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
  padding: 0 0 30px;
  border-bottom: 2px solid var(--iv-ink);
}

.iv-wn-chambers,
#session_blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.iv-wnominate .chamber_button,
.iv-wnominate .session_button,
.iv-wnominate #double-sort-button,
.iv-wnominate .iv-pagination button {
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1.5px solid var(--iv-ink);
  border-radius: 0;
  background: transparent;
  color: var(--iv-ink);
  font-family: var(--iv-font-mono);
  cursor: pointer;
  font-weight:600;
}

.iv-wnominate .chamber_button + .chamber_button,
.iv-wnominate .session_button + .session_button {
  margin-left: -1.5px;
}

.iv-wnominate :is(.chamber_button, .session_button).active {
  position: relative;
  z-index: 1;
  border-color: var(--iv-orange-2);
  background: var(--iv-orange-2);
  color: var(--iv-dark);
}

.iv-wnominate :is(.chamber_button, .session_button):hover:not(.active) {
  background: var(--iv-panel);
}

.iv-wn-workspace,
.iv-wn-table-section,
.iv-wn-vote-explorer,
.iv-vote-breakdown {
  padding: 50px 0;
  border-bottom: 1px solid var(--iv-ink);
}

.iv-wn-section-head {
  align-items: end;
  margin-bottom: 30px;
}

.iv-wn-section-head h2,
.iv-wn-method h2 {
  margin: 0px;
  color: var(--iv-ink);
}

.iv-wn-section-head > p {
  margin: 0;
  color: var(--iv-neutral);
  font-family: var(--iv-font-sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.iv-wnominate #svg_outer.iv-wn-chart {
  width: 100%;
  max-width: var(--iv-wn-data-max);
  margin-inline: auto;
  min-height: 320px;
  overflow-x: auto;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}

.iv-wnominate #svg_outer.iv-wn-chart > svg {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.iv-wn-chart text {
  font-family: var(--iv-font-mono);
}
.iv-wn-chart :is(line, ellipse) {
  stroke: var(--iv-ink);
}

.iv-wn-axis-notes {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: var(--iv-wn-data-max);
  margin-inline: auto;
  padding-top: 10px;
  color: var(--iv-neutral);
  font-family: var(--iv-font-mono);
  font-size: 12px;
  letter-spacing: -0.025em;
}

.iv-wn-table-head {
  align-items: center;
}
.iv-wn-sort-control {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--iv-neutral);
  font-family: var(--iv-font-mono);
  font-size: 13px;
  font-weight: 800;
}
.iv-wnominate #double-sort-button {
  min-width: 70px;
}
.iv-wnominate #double-sort-button[aria-pressed="true"],
.iv-wnominate #double-sort-button:hover {
  background: var(--iv-ink);
  color: var(--iv-paper);
}

.iv-wn-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  border-top: 2px solid var(--iv-ink);
  border-bottom: 1px solid var(--iv-rule);
  height:600px
}

.iv-wn-table-wrap table {
  display: table !important;
  width: 100%;
  min-width: 650px;
  margin: 0 !important;
  border-collapse: collapse !important;
  background: transparent;
  color: var(--iv-ink);
}

.iv-wnominate #leg-table-index > #leg-table-index1 {
  width: 100% !important;
  margin: 0 !important;
}

.iv-wnominate #leg-table-index1 {
  border-collapse: collapse;
  color: var(--iv-ink);
  font-family: var(--iv-font-mono);
  font-size: 13px;
  text-align: right;
}

.iv-ideology-page #leg-table-index1 tbody td {
  padding: 5px 3px;
}
.iv-ideology-page #leg-table-index1 tbody td:first-child {
  text-align: left;
}
.iv-ideology-page
  #leg-table-index1
  tbody
  :is(td:nth-child(2), td:nth-child(3)) {
  text-align: center;
}
.iv-ideology-page
  #leg-table-index1
  tbody
  :is(td:nth-child(4), td:nth-child(5)) {
  text-align: right;
}


.iv-vote-detail-page #leg-table-index1 tbody p {
  margin: 0;
  padding: 5px 4px;
  font-size: 12px;
  font-weight: 400;
}
.iv-vote-detail-page #leg-table-index1 tbody p.iv-party-badge {
  margin: 0;
  padding: 0;
  font-weight: 800;
}
.iv-vote-detail-page #leg-table-index1 tbody td:first-child {
  text-align: left;
}
.iv-vote-detail-page
  #leg-table-index1
  tbody
  :is(td:nth-child(2), td:nth-child(3), td:nth-child(4)) {
  text-align: center;
}
.iv-vote-detail-page #leg-table-index1 tbody td:nth-child(4) p {
  padding-inline: 10px;
}
.iv-vote-detail-page #leg-table-index1 tbody td:nth-child(5) {
  padding: 0;
  text-align: right;
}
.iv-vote-detail-page #leg-table-index1 tbody td:nth-child(5) p {
  margin-right: 2px;
}
.iv-vote-detail-page #leg-table-index1 tbody tr.highlight {
  background: var(--iv-ink);
  color: var(--iv-paper);
  font-weight: 600;
}
.iv-vote-detail-page
  #leg-table-index1
  tbody
  tr.highlight
  p:not(.iv-party-badge) {
  color: var(--iv-paper);
  font-weight: 800;
}

.iv-ideology-page #leg-table-index.iv-wn-table-wrap {
  max-width: var(--iv-wn-data-max);
  margin-inline: auto;
}

.iv-wn-table-wrap :is(th, td) {
  border-radius: 0 !important;
}
.iv-wn-table-wrap thead {
  background: var(--iv-paper) !important;
  box-shadow: none !important;
}
.iv-wn-table-wrap thead :is(th, td) {
  border: 0 !important;
  border-bottom: 1.5px solid var(--iv-ink) !important;
}
.iv-wn-table-wrap tbody td {
  border-bottom: 1px solid var(--iv-rule);
}
.iv-wn-table-wrap :is(p, .iv-vote-table-sort) {
  color: inherit;
  font-family: var(--iv-font-mono);
}
.iv-vote-table-sort {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--iv-font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}
.iv-wn-table-wrap th:first-child .iv-vote-table-sort {
  text-align: left;
}
.iv-wn-table-wrap th:not(:first-child) .iv-vote-table-sort {
  text-align: center;
}
.iv-wn-table-wrap th:last-child .iv-vote-table-sort {
  text-align: right;
}
.iv-wn-table-wrap .iv-vote-table-sort.is-active {
  background: var(--iv-ink);
  color: var(--iv-paper);
}

.iv-wn-method {
  display: grid;
  grid-template-columns: 0.42fr 1fr 1.25fr;
  gap: clamp(34px, 6vw, 78px);
  padding-top: clamp(60px, 8vw, 104px);
}

.iv-wn-method > div {
  border-top: 2px solid var(--iv-ink);
}
.iv-wn-method > div p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--iv-rule);
  color: var(--iv-neutral);
  font-size: 14px;
  line-height: 1.55;
}
.iv-wn-method > div strong {
  color: var(--iv-ink);
}

/* Vote explorer */
.iv-vote-query {
  border: 0;
}
.iv-wnominate #vote-query-wrapper {
  position: relative;
  top: auto;
  z-index: 5;
  margin-bottom: 0;
}

.iv-wnominate #vote-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.iv-vote-search-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  border: 1.5px solid var(--iv-ink);
  background: var(--iv-paper);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.iv-vote-search-control:focus-within {
  border-color: var(--iv-orange);
  box-shadow: 0 0 0 2px var(--iv-focus-orange-ring);
}

.iv-vote-search-icon {
  width: 18px;
  height: 18px;
  margin-left: 15px;
  fill: none;
  stroke: var(--iv-neutral);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.iv-wnominate #vote-search-bar input,
.iv-wnominate #vote-search-bar button,
.iv-vote-filters :is(input, select, button) {
  min-height: 44px;
  margin: 0;
  border: 0;
  font-family: var(--iv-font-mono);
  font-size: 11px;
}

.iv-wnominate #vote-search-bar #vote-search {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  min-width: 0;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--iv-ink);
  font-family: var(--iv-font-sans);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  box-shadow: none !important;
}

.iv-wnominate #vote-search-bar #vote-search::-webkit-search-cancel-button {
  appearance: none;
}
.iv-wnominate #vote-search-bar input::placeholder {
  color: var(--iv-neutral);
  opacity: 0.82;
}
.iv-wnominate #vote-search-bar button {
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}
.iv-wnominate #vote-search-bar #clear-search {
  display: none;
  place-items: center;
  width: 40px;
  min-height: 40px;
  margin-right: 4px;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--iv-neutral);
}

.iv-wnominate #vote-search-bar #clear-search[style*="inline"],
.iv-wnominate #vote-search-bar #clear-search[style*="block"] {
  display: grid !important;
}
.iv-wnominate #vote-search-bar #clear-search svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}
.iv-wnominate #vote-search-bar #clear-search:hover {
  background: var(--iv-panel);
  color: var(--iv-ink);
}

.iv-wnominate #vote-search-bar #filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 126px;
  min-height: 54px;
  padding: 0 15px;
  border: 1.5px solid var(--iv-ink);
  background: var(--iv-ink);
  color: var(--iv-paper);
  font-family: var(--iv-font-mono);
  font-size: 11px;
}

.iv-wnominate #vote-search-bar #filter-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 140ms ease;
}

.iv-wnominate #vote-search-bar .iv-filter-icon {
  width: 16px;
  height: 16px;
}
.iv-wnominate #vote-search-bar .iv-filter-chevron {
  width: 13px;
  height: 13px;
}
.iv-wnominate #vote-search-bar #filter-toggle[aria-expanded="true"] {
  border-color: var(--iv-orange);
  background: var(--iv-orange);
  color: var(--iv-dark);
}
.iv-wnominate
  #vote-search-bar
  #filter-toggle[aria-expanded="true"]
  .iv-filter-chevron {
  transform: rotate(180deg);
}
.iv-wnominate #vote-search-bar #filter-toggle:hover {
  background: var(--iv-orange);
  color: var(--iv-dark);
}

.iv-vote-filters {
  position: static !important;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
  width: 100% !important;
  max-width: none !important;
  margin-top: 10px;
  padding: 20px;
  border: 1.5px solid var(--iv-ink);
  border-radius: 7px !important;
  background: var(--iv-panel);
  box-shadow: 2px 2px 0 var(--iv-dark-wash) !important;
  inset: auto !important;
}

.iv-wnominate #vote-filter-panel.iv-vote-filters {
  padding: 20px !important;
  border-color: var(--iv-ink) !important;
  background: var(--iv-panel) !important;
  color: var(--iv-ink);
  text-align: left;
}

.iv-vote-filters[style*="block"] {
  display: grid !important;
}
.iv-vote-filters > div {
  min-width: 0;
}
.iv-filter-heading {
  grid-column: 1 / -1;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--iv-rule);
}

.iv-filter-heading > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.iv-filter-heading p {
  margin: 0;
  color: var(--iv-ink);
  font-family: var(--iv-font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.iv-filter-heading span {
  color: var(--iv-neutral);
  font-family: var(--iv-font-mono);
  font-size: 11px;
}
.iv-vote-filters#vote-filter-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--iv-neutral);
  font-size: 11px;
  text-align: left;
}

.iv-vote-filters#vote-filter-panel :is(input, select) {
  width: 100%;
  padding: 0 11px;
  border: 1.5px solid var(--iv-rule);
  background: var(--iv-paper);
  color: var(--iv-ink) !important;
  font-size: 11px;
  text-align: left;
  margin: 0;
}
.iv-filter-pair {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
}
.iv-filter-pair select {
  border-right: 0;
}
.iv-filter-close {
  display: flex;
  align-items: end;
}
.iv-vote-filters #filter-close {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-inline: 15px;
  border: 1.5px solid var(--iv-ink);
  background: var(--iv-orange);
  color: var(--iv-dark);
  font-weight: 800;
  cursor: pointer;
}
.iv-vote-filters #filter-close:hover {
  background: var(--iv-ink);
  color: var(--iv-paper);
}

.iv-vote-results-meta {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 12px;
  border-bottom: 2px solid var(--iv-ink);
}
.iv-wnominate .iv-vote-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 0 !important;
  column-gap: 28px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.iv-vote-grid .vote_div {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  margin: 0 !important;
  padding: 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--iv-rule) !important;
  border-radius: 0 !important;
  color: var(--iv-ink) !important;
  box-shadow: none !important;
  cursor: pointer;
  text-decoration: none;
}



.iv-vote-grid .vote_div:hover h4,
.iv-vote-grid .vote_div:hover p,
.iv-vote-grid .vote_div:hover span,
.iv-vote-grid .vote_div:hover #text {
  color: var(--iv-paper) !important;
}

.iv-vote-grid .vote_div > p {
  padding: 4px 0 !important;
  text-align: left !important;
}
.iv-vote-grid .vote_div > p.lt-grey {
  margin: 0px !important;
  background: transparent !important;
}
.iv-vote-grid .vote_div > p:nth-of-type(2) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.iv-vote-grid .vote_div h4 {
  margin: 0;
  padding: 5px 0px;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.035em;
  text-align:left
}
.iv-vote-grid .vote_div .iv-vote-card-meta {
  margin: 0;
  padding: 5px;
  font-size: 12px;
  text-align: center;
  font-weight: 500;
  font-family: var(--iv-font-mono);
}
.iv-vote-grid .vote_div .iv-vote-card-date {
  color: var(--iv-ink);
  font-weight: 600;
}
.iv-vote-grid .vote_div .iv-vote-card-abstract {
  margin: 0;
  padding: 5px;
  color: var(--iv-ink);
  font-size: 16px;
  text-align: center;
  letter-spacing:-0.03em
}
.iv-vote-grid .vote_div .vote-count {
  margin: 0;
  padding: 5px;
  color: var(--iv-ink);
  font-size: 13px;
  font-family:var(--iv-font-mono);
  font-weight:550

}
.iv-vote-grid .vote_div .vote-count .vote-outcome-text {
  margin-left: 5px;
}
.iv-vote-grid .vote_div .iv-vote-card-status {
  margin: 2px;
  font-size:14px
}

.iv-vote-card-outcome {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
}
.iv-vote-card-outcome > p {
  margin: 0 !important;
  padding: 0 !important;
}
.iv-vote-card-status {
  flex: 1 0 100%;
}
.iv-vote-card-status .vote-outcome-text {
  margin-left: 0 !important;
}

.iv-vote-empty {
  grid-column: 1 / -1;
  padding: 30px 0;
  border-bottom: 1px solid var(--iv-rule);
}
.iv-vote-empty h3 {
  margin: 0;
  color: var(--iv-ink);
}
.iv-vote-empty p {
  margin: 7px 0 0;
  color: var(--iv-neutral);
  font-family: var(--iv-font-mono);
  font-size: 11px;
}

.iv-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--iv-rule);
  background: transparent;
  color: var(--iv-ink);
  font-family: var(--iv-font-mono);
  font-size: 11px;
}
.iv-wnominate .iv-pagination button:hover:not(:disabled) {
  background: var(--iv-ink);
  color: var(--iv-paper);
}
.iv-wnominate .iv-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Vote detail */
.iv-vote-detail-back {
  margin: 0px;
}
.iv-vote-detail-back a {
  display: inline-flex;
  align-items: center;
  color: var(--iv-ink);
  font-family: var(--iv-font-mono);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: var(--iv-orange-2);
  padding: 8px 12px;
  letter-spacing: -0.025em;
}
.iv-vote-detail-back a span {
  margin-right: 8px;
}

.iv-vote-detail-back a:hover {
  background: var(--iv-ink);
  color: var(--iv-paper);
}

.iv-vote-detail-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.iv-vote-detail-bill {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.iv-vote-outcome-line {
  display: inline-block;
  margin: 0 10px 8px 0;
  font-size: 12px;
}
.iv-vote-outcome-text {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 5px;
  color: var(--iv-on-party, var(--brand_white));
  font-family: var(--iv-font-mono);
  font-size: 12px;
  font-weight: 500;
  border-radius: 3px;
}
.iv-vote-outcome-yea {
  background: var(--yea_color);
}
.iv-vote-outcome-nay {
  background: var(--nay_color);
}
.iv-vote-outcome-other,
.vote-status-other {
  background: var(--iv-ink);
}
.vote-status-yea {
  background: var(--yea_color);
  color: var(--iv-paper);
  padding: 6px 8px;
}
.vote-status-nay {
  background: var(--nay_color);
  color: var(--iv-paper);
  padding: 6px 8px;
}
.iv-vote-tooltip {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
  width: min(280px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 14px 16px 15px;
  border: 1.5px solid var(--iv-light) !important;
  border-top: 5px solid var(--iv-orange) !important;
  border-radius: 4px !important;
  background: var(--iv-dark) !important;
  color: var(--iv-light) !important;
  box-shadow: 7px 7px 0 var(--iv-dark-shadow-strong);
}
.iv-vote-tooltip p {
  margin: 0;
  color: inherit;
  font-family: var(--iv-font-mono);
  line-height: 1.35;
}
.iv-vote-tooltip-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--iv-ink);
  font-size: 16px;
  font-weight: 750;
}
.iv-vote-tooltip-name .iv-party-badge { flex: 0 0 auto; min-width: 30px; height: 30px; border-color: currentColor; font-size: 15px; }
.iv-vote-tooltip-district {
  display: inline-block;
  margin-bottom: 13px !important;
  padding: 0;
  background: transparent;
  color: var(--iv-light);
  font-size: 13px;
  font-weight: 600;
}
.iv-vote-tooltip p:has(.iv-vote-tooltip-vote) { margin-bottom: 13px; font-size: 14px; }
.iv-vote-tooltip-vote {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}
.iv-vote-tooltip-prob {
  padding: 0;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
}
.iv-vote-party-label {
  font-size: 16px;
  font-weight: 500;
}
.iv-vote-axis-label {
  fill: var(--iv-ink);
  font-size: 16px;
}
.iv-vote-map-wrap {
  margin-top: 30px;
}
.iv-vote-regression-stat {
  display: inline-block;
  margin: 10px 10px;
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--iv-ink);
  color: var(--iv-paper);
  font-family: var(--iv-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.iv-vote-regression-pre {
  margin-top: 20px;
}
.iv-vote-load-error #data-div,
.iv-vote-load-error .title-bar.black.bottom-border.hero,
.iv-vote-load-error .tab-row.container.hero {
  opacity: 0.1;
}
.iv-vote-load-error-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 10px;
  background: var(--iv-orange);
  color: var(--iv-paper);
  font-family: var(--iv-font-sans);
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}
.iv-vote-axis-y {
  font-size: 16px;
}
.iv-vote-chart {
  margin-top: 0;
  border-radius: 10px;
}
.iv-vote-map-wrap svg path.district {
  vector-effect: non-scaling-stroke;
}

.iv-vote-story {
  padding: 24px 0 !important;
  border-bottom: 2px solid var(--iv-ink);
}
.iv-vote-story-head > p:last-child {
  max-width: 460px;
  margin: 28px 0 0;
  color: var(--iv-neutral);
  font-size: 17px;
  line-height: 1.5;
}
.iv-vote-summary {
  min-width: 0;
  align-self: start;
}
.iv-vote-summary :is(h1, h2, h3, h4, p) {
  text-align: left !important;
}
.iv-vote-summary #vote-info {
  padding-bottom: 6px;
}
.iv-vote-summary #vote-info h4 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px) !important;
}
.iv-vote-summary #vote-abstract {
  padding: 6px 0;
  color: var(--iv-neutral);
  line-height: 1.55;
}
.iv-vote-summary #vote-abstract .iv-vote-abstract-text {
  display: -webkit-box !important;
  overflow: hidden;
  width: min(72ch, 100%) !important;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow-wrap: anywhere;
}

.iv-vote-summary #vote-abstract .iv-vote-abstract-text.is-expanded {
  display: block !important;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.iv-vote-abstract-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 14px 0 0;
  padding: 7px 12px;
  border: 1.5px solid var(--iv-ink);
  border-radius: 5px;
  background: transparent;
  color: var(--iv-ink);
  font-family: var(--iv-font-mono);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.iv-vote-abstract-toggle:hover {
  background: var(--iv-orange);
  color: var(--iv-dark);
}
.iv-vote-abstract-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 140ms ease;
}
.iv-vote-abstract-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.iv-vote-summary #vote-outcome {
  padding-top: 12px;
}
.iv-vote-summary #vote-outcome > p {
  margin: 0 12px 8px 0 !important;
  letter-spacing: -0.025em;
  font-size: 16px;
  font-family: var(--iv-font-mono);
  font-weight:650
}

.iv-vote-breakdown-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}
.iv-vote-map {
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
}
.iv-vote-map > div {
  margin-top: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.iv-vote-map svg {
  display: block;
  width: 100% !important;
  max-width: 600px;
  height: auto !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.iv-vote-geometry .iv-wn-chart > p {
  margin: 10px 18px 0 0 !important;
  padding: 7px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--iv-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--iv-ink) !important;
  box-shadow: none !important;
}

.iv-vote-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-top: 18px;
}
.iv-vote-geometry .iv-wn-chart > .iv-vote-stats > p {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 !important;
  padding: 8px 4px !important;
  border: 0 !important;
  border: 1px solid var(--iv-ink) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--iv-ink) !important;
  box-shadow: none !important;
  text-align: center !important;
}

#tooltip {
  max-width: min(310px, calc(100vw - 24px));
  border: 1.5px solid var(--iv-light) !important;
  border-top: 5px solid var(--iv-orange) !important;
  border-radius: 4px !important;
  background: var(--iv-dark) !important;
  color: var(--iv-light) !important;
  box-shadow: 7px 7px 0 var(--iv-dark-shadow-strong);
}

#tooltip :is(p, span) {
  color: inherit !important;
  font-family: var(--iv-font-mono);
}

#tooltip .iv-party-badge {
  color: var(--iv-on-party) !important;
}
#tooltip .iv-party-badge[data-party="IND"] {
  color: var(--iv-ink) !important;
}

@media (max-width: 1300px) {
  .iv-vote-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .iv-vote-map {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .iv-wnominate .iv-civic-footer-shell {
    width: min(calc(100% - 40px), var(--iv-max));
  }
}

@media (max-width: 1080px) {
  .iv-wnominate .iv-header-nav {
    display: none;
  }
  .iv-wnominate .iv-header-inner {
    grid-template-columns: 1fr auto;
  }
  .iv-wn-controls {
    grid-template-columns: 1fr;
  }
  .iv-vote-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .iv-filter-heading,
  .iv-filter-page-size,
  .iv-filter-close {
    grid-column: 1 / -1;
  }
}

@media (max-width: 799px) {
  .iv-wnominate .iv-district-shell {
    width: min(calc(100% - 30px), var(--iv-max)) !important;
  }
  .iv-wnominate .iv-civic-footer-shell {
    width: min(calc(100% - 30px), var(--iv-max));
  }
  .iv-wnominate .iv-site-header {
    position: sticky;
    top: 0;
  }
  .iv-wnominate .section-nav.computer {
    display: none !important;
  }
  .iv-wnominate .section-nav.phone {
    position: sticky;
    top: 72px;
    z-index: 840;
    display: flex !important;
  }
  .iv-wnominate .iv-header-actions .iv-account-link {
    display: none;
  }
  .iv-wn-main {
    padding-top: 24px;
  }
  .iv-wnominate .iv-breadcrumb {
    margin-bottom: 38px;
  }
  .iv-wn-hero,
  .iv-wn-section-head,
  .iv-vote-story,
  .iv-wn-method {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .iv-wn-hero > p {
    font-size: 15px;
  }
  .iv-wn-view-switch {
    grid-template-columns: 1fr;
  }
  .iv-wn-view-switch a + a {
    border-top: 2px solid var(--iv-ink);
    border-left: 0;
  }
  .iv-wn-controls {
    gap: 30px;
  }
  #session_blocks {
    flex-wrap: nowrap;
    padding-bottom: 5px;
    overflow-x: auto;
  }
  .iv-wnominate .session_button {
    flex: 0 0 auto;
  }
  .iv-wn-section-head > p {
    max-width: 560px;
  }
  .iv-wn-workspace,
  .iv-wn-table-section,
  .iv-wn-vote-explorer,
  .iv-vote-breakdown {
    padding: 36px 0;
  }
  .iv-wn-section-head {
    margin-bottom: 24px;
  }
  .iv-wn-table-head .iv-wn-sort-control {
    width: 100%;
    justify-content: space-between;
    margin-top:15px;
  }
  .iv-wn-table-wrap{
    height: auto !important;
  }
  .iv-vote-filters {
    grid-template-columns: 1fr 1fr;
  }
  .iv-wnominate .iv-vote-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .iv-wn-method {
    padding-top: 60px;
  }
  .iv-vote-detail-back {
    margin-top: -4px;
  }

  .iv-wnominate #svg_outer.iv-wn-chart {
    min-height: 0;
  }
  .iv-wnominate #svg_outer.iv-wn-chart > svg,
  .iv-wnominate .iv-vote-map svg {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .iv-wnominate #leg-table-index.iv-wn-table-wrap {
    overflow: hidden;
  }
  .iv-wnominate #leg-table-index > #leg-table-index1 {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    font-size: 11px !important;
  }
  .iv-wnominate #leg-table-index #leg-table-index1 thead tr {
    position: static !important;
    top: auto !important;
    background: var(--iv-paper) !important;
    box-shadow: none !important;
  }
  .iv-wnominate #leg-table-index #leg-table-index1 :is(th, td) {
    min-width: 0 !important;
    padding: 9px 4px !important;
    overflow: hidden;
    font-size: 11px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .iv-wnominate
    #leg-table-index
    #leg-table-index1
    th
    :is(p, .iv-vote-table-sort) {
    overflow: visible;
    font-size: 11px !important;
    line-height: 1.15 !important;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
  }
  .iv-wnominate
    #leg-table-index
    #leg-table-index1
    th:first-child
    .iv-vote-table-sort {
    text-align: left;
  }
  .iv-wnominate #leg-table-index #leg-table-index1 :is(th, td):nth-child(1) {
    width: 34%;
    text-align: left !important;
  }
  .iv-wnominate #leg-table-index #leg-table-index1 td:nth-child(1) {
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .iv-wnominate #leg-table-index #leg-table-index1 :is(th, td):nth-child(2) {
    width: 11%;
  }
  .iv-wnominate #leg-table-index #leg-table-index1 :is(th, td):nth-child(3) {
    width: 17%;
  }
  .iv-wnominate #leg-table-index #leg-table-index1 :is(th, td):nth-child(4),
  .iv-wnominate #leg-table-index #leg-table-index1 :is(th, td):nth-child(5) {
    width: 19%;
  }

  .iv-vote-detail-page #leg-table.iv-wn-table-wrap {
    overflow: hidden;
  }
  .iv-vote-detail-page #leg-table > #leg-table-index1 {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    table-layout: fixed !important;
    font-size: 11px !important;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 thead tr {
    position: static !important;
    top: auto !important;
    background: var(--iv-paper) !important;
    box-shadow: none !important;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td) {
    min-width: 0 !important;
    padding: 8px 3px !important;
    overflow: hidden;
    font-size: 11px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .iv-vote-detail-page
    #leg-table
    #leg-table-index1
    :is(th, td)
    :is(p, .iv-vote-table-sort) {
    max-width: 100%;
    padding: 0 2px !important;
    overflow: hidden;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .iv-vote-detail-page
    #leg-table
    #leg-table-index1
    thead
    :is(th, td)
    :is(p, .iv-vote-table-sort) {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(1) {
    width: 31%;
    text-align: left !important;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 td:nth-child(1) p {
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(2) {
    width: 17%;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 td:nth-child(2) p {
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(3) {
    width: 10%;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(4) {
    width: 18%;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 td:nth-child(4) p {
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(5) {
    width: 24%;
  }

  .iv-vote-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .iv-vote-geometry .iv-wn-chart > .iv-vote-stats > p + p {
    border-top: 0 !important;
  }
  .iv-wn-chart text {
    font-size:14px;
  }
}

@media (min-width: 800px) {
  .iv-wnominate .section-nav.computer {
    display: flex !important;
  }
}

@media (max-width: 520px) {
  .iv-wnominate .section-nav.phone {
    top: 64px;
  }
  .iv-wnominate .iv-header-actions {
    gap: 2px;
  }
  .iv-wnominate .iv-theme-toggle {
    font-size: 11px !important;
  }
  .iv-wn-controls {
    padding-bottom: 24px;
  }
  .iv-wn-chambers {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .iv-wnominate .chamber_button {
    min-width: 0;
    padding-inline: 8px;
  }
  .iv-wnominate #vote-search-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }
  .iv-wnominate #vote-search-bar #filter-toggle {
    min-width: 104px;
    padding-inline: 11px;
  }
  .iv-wnominate #vote-search-bar .iv-filter-icon {
    display: none;
  }
  .iv-vote-search-icon {
    margin-left: 12px;
  }
  .iv-wnominate #vote-search-bar #vote-search {
    padding-inline: 9px;
    font-size: 14px;
  }
  .iv-vote-filters {
    grid-template-columns: 1fr 1fr;
    gap: 17px 10px;
  }
  .iv-wnominate #vote-filter-panel.iv-vote-filters {
    padding: 15px !important;
  }
  .iv-filter-heading,
  .iv-filter-page-size,
  .iv-filter-close {
    grid-column: 1 / -1;
  }
  .iv-filter-heading > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .iv-filter-pair {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .iv-vote-results-meta span:last-child {
    display: none;
  }
  .iv-wn-chart {
    min-height: 220px;
  }
  .iv-vote-map {
    overflow-x: auto;
  }

  .iv-wnominate #svg_outer.iv-wn-chart,
  .iv-wnominate #svg_outer.iv-wn-chart > svg,
  .iv-wnominate .iv-vote-map,
  .iv-wnominate .iv-vote-map svg {
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  .iv-wnominate #svg_outer.iv-wn-chart {
    overflow: visible;
  }

  .iv-vote-detail-page #leg-table.iv-wn-table-wrap {
    overflow: hidden;
  }

  .iv-vote-detail-page #leg-table > #leg-table-index1 {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    table-layout: fixed !important;
    font-size: 11px !important;
  }

  .iv-vote-detail-page #leg-table-index1 thead tr {
    position: static !important;
    top: auto !important;
    background: var(--iv-paper) !important;
    box-shadow: none !important;
  }

  .iv-vote-detail-page #leg-table-index1 :is(th, td) {
    min-width: 0 !important;
    padding: 7px 2px !important;
    overflow: hidden;
    font-size: 11px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .iv-vote-detail-page
    #leg-table-index1
    :is(th, td)
    :is(p, .iv-vote-table-sort) {
    max-width: 100%;
    padding: 0 2px !important;
    overflow: hidden;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .iv-vote-detail-page
    #leg-table-index1
    thead
    :is(th, td)
    :is(p, .iv-vote-table-sort) {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .iv-vote-detail-page #leg-table-index1 :is(th, td):nth-child(1) {
    width: 31%;
    text-align: left !important;
  }
  .iv-vote-detail-page #leg-table-index1 :is(th, td):nth-child(2) {
    width: 17%;
  }
  .iv-vote-detail-page #leg-table-index1 :is(th, td):nth-child(3) {
    width: 10%;
  }
  .iv-vote-detail-page #leg-table-index1 :is(th, td):nth-child(4) {
    width: 18%;
  }
  .iv-vote-detail-page #leg-table-index1 :is(th, td):nth-child(5) {
    width: 24%;
  }
}

@media (max-width: 370px) {
  .iv-wnominate #vote-search-bar #filter-toggle {
    min-width: 50px;
    width: 50px;
    padding: 0;
  }
  .iv-wnominate #vote-search-bar #filter-toggle > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .iv-wnominate #vote-search-bar .iv-filter-icon {
    display: block;
  }
  .iv-wnominate #vote-search-bar .iv-filter-chevron {
    display: none;
  }
}

@media (max-width: 330px) {
  .iv-vote-filters {
    grid-template-columns: 1fr;
  }
  .iv-filter-heading,
  .iv-filter-page-size,
  .iv-filter-close {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iv-wnominate *,
  .iv-wnominate *::before,
  .iv-wnominate *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Keep both W-NOMINATE tables readable and contained at phone widths. */
@media (max-width: 799px) {
  .iv-wnominate #leg-table-index1 {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }
  .iv-wnominate #leg-table-index1 :is(th, td) {
    box-sizing: border-box;
    vertical-align: middle;
  }
  .iv-wnominate #leg-table-index1 tbody td:first-child {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .iv-wnominate #leg-table-index1 .iv-party-badge {
    margin-inline: auto;
  }

  /* Keep sortable labels inside their own cells instead of clipping or
     overlapping adjacent headers at narrow widths. */
  .iv-wnominate #leg-table-index1 thead :is(th, td) {
    overflow: visible !important;
  }
  .iv-wnominate #leg-table-index1 thead .iv-vote-table-sort {
    width: 100% !important;
    max-width: 100%;
    padding: 6px 3px !important;
    overflow: visible !important;
    text-overflow: clip;
    white-space: normal;
    word-break: normal;
  }

  .iv-ideology-page #leg-table-index #leg-table-index1 :is(th, td):nth-child(1) {
    width: 33% !important;
  }
  .iv-ideology-page #leg-table-index #leg-table-index1 :is(th, td):nth-child(2) {
    width: 14% !important;
  }
  .iv-ideology-page #leg-table-index #leg-table-index1 :is(th, td):nth-child(3) {
    width: 17% !important;
  }
  .iv-ideology-page #leg-table-index #leg-table-index1 :is(th, td):nth-child(4),
  .iv-ideology-page #leg-table-index #leg-table-index1 :is(th, td):nth-child(5) {
    width: 18% !important;
  }

  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(1) {
    width: 29% !important;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(2) {
    width: 17% !important;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(3) {
    width: 11% !important;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(4) {
    width: 19% !important;
  }
  .iv-vote-detail-page #leg-table #leg-table-index1 :is(th, td):nth-child(5) {
    width: 24% !important;
  }
}
