:root {
  color-scheme: dark;
  --bg: #052329;
  --panel: #103a40;
  --edge: #528184;
  --mint: #9ce8df;
  --gold: #ffd470;
  --white: #f4f8f6;
  --soft: #c2d7d7;
  font:
    100%/1.45 system-ui,
    sans-serif;
  color: var(--white);
  background: #041e24;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #042126;
  border-bottom: 1px solid #366268;
}
.mast,
main,
footer {
  max-width: 75rem;
  margin: auto;
}
.brand {
  font-size: 1.9rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.065em;
  text-decoration: none;
}
.brand span {
  color: #4ed8ca;
}
.mast nav,
footer,
.actions,
.shortcuts,
.toolbar,
.toolbar > div,
.filterbar,
#chips,
.badges,
.source-links,
.member-tools,
.subject-list,
.chart-key,
.personal-people {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.mast nav a,
footer a {
  padding: 0.65rem 0.5rem;
  text-decoration: none;
}
.mast [aria-current] {
  color: var(--gold);
  box-shadow: inset 0 -3px var(--gold);
}
a {
  color: var(--mint);
  text-underline-offset: 0.16em;
}
button,
select,
input,
summary {
  font: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
button,
select,
.action,
.mode {
  min-height: 44px;
  border: 1px solid var(--edge);
  border-radius: 0.55rem;
  color: var(--white);
  background: #10353c;
  padding: 0.44rem 0.86rem;
}
button:hover,
a.action:hover,
.mode:hover {
  border-color: var(--mint);
  background: #195059;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
.action {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gold,
button.gold:hover {
  border-color: #ffe29d;
  color: #172a27;
  background: linear-gradient(#ffe29b, #f7c252);
  font-weight: 750;
}
.quiet {
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
  color: var(--mint);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.searchbox form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #749b9e;
  border-radius: 0.72rem;
  background: #173e46;
  padding: 0 0 0 0.8rem;
}
.glass {
  border: 2px solid #dbeceb;
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  position: relative;
  flex: none;
}
.glass:after {
  content: '';
  position: absolute;
  width: 0.48rem;
  height: 2px;
  background: #dbeceb;
  right: -0.35rem;
  bottom: -0.12rem;
  transform: rotate(45deg);
}
input,
select {
  min-width: 0;
}
input {
  font-size: 1rem;
  border: 1px solid var(--edge);
  border-radius: 0.5rem;
  background: #08282e;
  color: white;
  padding: 0.6rem 0.75rem;
  min-height: 44px;
}
input::placeholder {
  color: #bdced0;
}
.searchbox input {
  flex: 1;
  width: 100%;
  border: 0;
  background: transparent;
}
.searchbox .gold {
  padding-inline: clamp(0.9rem, 3vw, 2.2rem);
}
.shortcuts {
  gap: 0.2rem 0.8rem;
  font-size: 0.84rem;
}
.shortcuts button {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mint);
  text-decoration: underline;
}
.filterbar,
#path-panel,
#billContext,
.coverage {
  border: 1px solid #42676e;
  border-radius: 0.8rem;
  padding: 0.45rem 0.75rem;
  background: #12343b;
}
.filterbar {
  gap: 0.45rem;
}
.filterbar details[open] {
  width: 100%;
}
summary {
  font-weight: 700;
  min-height: 44px;
  align-content: center;
}
.filtergrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
  gap: 0.65rem;
  padding: 0.6rem 0;
}
.filtergrid label,
.member-tools label {
  display: grid;
  gap: 0.2rem;
  color: var(--soft);
  font-size: 0.83rem;
}
.filtergrid select,
.filtergrid input {
  width: 100%;
}
#reset {
  margin-left: auto;
}
.chip {
  background: #a3e6dd;
  color: #0c363a;
  font-size: 0.82rem;
  font-weight: 650;
  min-height: 36px;
}
#path-panel,
#billContext {
  margin: 0 0 0.7rem;
  padding: 0.85rem;
}
#path-panel h2,
#billContext h2 {
  font-size: 1.1rem;
}
#path-panel p,
.coverage p {
  margin: 0.4rem 0;
}
.toolbar {
  justify-content: space-between;
  margin: 0.8rem 0;
}
.toolbar h2 {
  font-size: clamp(1rem, 2.2vw, 1.32rem);
  letter-spacing: -0.025em;
}
.toolbar button,
.toolbar select {
  font-size: 0.87rem;
}
.fine,
.context,
.coverage {
  color: var(--soft);
  font-size: 0.88rem;
}
.context {
  margin-top: 0.4rem;
}
.actions,
.source-links {
  margin-top: 0.65rem;
}
.actions > * {
  font-size: 0.87rem;
}
.source-links {
  gap: 0.3rem 1rem;
  font-size: 0.84rem;
}
.source-links a {
  padding: 0.34rem 0;
}
.summary-details {
  margin: 0.3rem 0;
}
.summary-details p {
  margin-bottom: 0.5rem;
}
.inside {
  margin-top: 0.95rem;
  background: #071f264f;
  border: 1px solid #3d696f;
  border-radius: 0.75rem;
  padding: 0.85rem;
}
.inside h4 {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}
.breakdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.3rem;
}
.bar {
  height: 0.78rem;
  display: flex;
  overflow: hidden;
  border-radius: 1rem;
  background: #365055;
  margin: 0.6rem 0;
}
.bar span {
  min-width: 1px;
}
.tone0 {
  --tone: #56d3c5;
}
.tone1 {
  --tone: #efc365;
}
.tone2 {
  --tone: #a8b5c3;
}
.tone3 {
  --tone: #c0aede;
}
.bar span,
.swatch {
  background: var(--tone);
}
.swatch {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.3rem;
}
.chart-key {
  gap: 0.35rem;
}
.chart-key button {
  font-size: 0.8rem;
  padding: 0.3rem 0.55rem;
}
.chart-key [aria-pressed='true'] {
  outline: 2px solid var(--gold);
}
.party-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.83rem;
}
.party-table th,
.party-table td {
  padding: 0.23rem;
  text-align: left;
  border-bottom: 1px solid #3b5c61;
}
.member-tools {
  margin: 0.55rem 0;
}
.member-tools input {
  width: 100%;
}
.person {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  border-top: 1px solid #3d6266;
  padding: 0.48rem 0;
}
.photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 3rem;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #21474c;
  font-weight: 800;
  flex: none;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.who {
  flex: 1;
  min-width: 0;
}
.who strong,
.who small {
  display: block;
}
.who small {
  color: var(--soft);
}
.person .position {
  color: var(--tone);
  font-weight: 700;
}
.person button {
  font-size: 0.8rem;
}
.coverage {
  margin-top: 1rem;
}
.coverage li {
  margin: 0.28rem 0;
}
footer {
  justify-content: center;
  border-top: 1px solid #3d6266;
  font-size: 0.87rem;
}
.personal-people {
  margin: 0.5rem 0;
}
.mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.empty {
  padding: 1rem;
  border: 1px dashed var(--edge);
  border-radius: 0.7rem;
}
#feedback:not(:empty) {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.65rem 1rem;
  border: 1px solid var(--mint);
  border-radius: 0.6rem;
  background: #102e38;
  z-index: 9;
  max-width: 90vw;
}
.party-select {
  background: transparent;
  padding: 0.15rem 0.3rem;
  color: var(--mint);
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  font-size: inherit;
}
.party-select[aria-pressed='true'] {
  color: var(--gold);
}
.phone-nav {
  display: none;
}
@media (max-width: 68rem) {
  html {
    scroll-padding-bottom: 5rem;
  }
  body {
    padding-bottom: calc(3.7rem + env(safe-area-inset-bottom));
  }
  .phone-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.12rem;
    padding: 0.35rem 1.8% calc(0.35rem + env(safe-area-inset-bottom));
    background: #021e23fa;
    border-top: 1px solid #598887;
  }
  .phone-nav a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.1rem;
    min-height: clamp(46px, 8vw, 82px);
    font-size: clamp(0.68rem, 1.9vw, 1.16rem);
    font-weight: 650;
    color: #e2efec;
    text-decoration: none;
    line-height: 1.2;
    border-radius: 0.6rem;
  }
  .phone-nav svg {
    width: clamp(1.25rem, 3.5vw, 2.25rem);
    height: clamp(1.25rem, 3.5vw, 2.25rem);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }
  .phone-nav [aria-current] {
    background: var(--gold);
    color: #162d2b;
  }
  #feedback:not(:empty) {
    bottom: clamp(4.4rem, 11vw, 7rem);
  }
}

:root {
  --gutter: clamp(0.7rem, 3.2vw, 2.5rem);
  --edge: #618f93;
  background: #031e22;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
body {
  background: linear-gradient(110deg, #041e22, #031b20 72%, #07252a);
}
header {
  position: relative;
  z-index: 3;
  background: #031e23;
  border: 0;
}
header:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(50px, 6.55vw, 67px);
  border-bottom: 1px solid #345356;
}
.mast {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 var(--gutter);
  max-width: 75rem;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: clamp(50px, 6.55vw, 67px);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1;
  margin-left: 0.6rem;
}
.mast-tools {
  display: flex;
  align-items: center;
  gap: clamp(0.3rem, 1.6vw, 1.1rem);
}
.mast-tools > * {
  background: transparent;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
}
.mast-tools > :last-child {
  color: #80e3d9;
}
.mast svg,
.filterbar svg,
.toolbar svg,
.actions svg,
.decision-meta svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mast-tools svg {
  width: clamp(22px, 2.9vw, 31px);
  height: auto;
}
.mast nav {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 0 clamp(0px, 1.6vw, 17px);
  border-bottom: 1px solid #456368;
}
.mast nav > a,
.more-nav > summary {
  font-size: clamp(0.85rem, 2vw, 1.25rem);
  padding: 0.55rem 0;
  min-height: clamp(44px, 4.9vw, 51px);
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: var(--white);
  letter-spacing: -0.035em;
}
.mast nav [aria-current] {
  color: var(--gold);
  font-weight: 750;
  box-shadow: inset 0 -4px var(--gold);
}
.more-nav {
  position: relative;
}
.more-nav > summary {
  font-weight: 500;
  gap: 0.35rem;
  list-style: none;
}
.more-nav summary::-webkit-details-marker,
#advanced summary::-webkit-details-marker {
  display: none;
}
.more-nav > div {
  position: absolute;
  top: 100%;
  right: 0;
  background: #082b30;
  border: 1px solid var(--edge);
  border-radius: 0.7rem;
  min-width: 14rem;
  padding: 0.3rem;
  box-shadow: 0 5px 15px #00171b66;
}
.more-nav a {
  display: block;
}
.hero {
  padding: 0 var(--gutter);
  background: linear-gradient(#082e32, #031e22);
  isolation: isolate;
}
.hero-copy {
  margin-inline: calc(0px - var(--gutter));
  padding: clamp(18px, 2.25vw, 30px) calc(var(--gutter) + clamp(3px, 1.45vw, 16px));
  background: #083238 url('/images/vote-explorer/capitol.webp') center center/100% 100% no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(165px, 22.2vw, 266px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 0.42em;
  letter-spacing: 0.2em;
  font-size: clamp(0.64rem, 1.52vw, 1rem);
  font-weight: 820;
  text-transform: uppercase;
}
.kicker b {
  color: var(--gold);
}
.kicker:after {
  content: '';
  height: 2px;
  width: clamp(35px, 10vw, 106px);
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero h1 {
  font-size: clamp(1.5rem, 4.35vw, 3.55rem);
  font-weight: 820;
  line-height: 1.015;
  letter-spacing: -0.05em;
  margin: 0.18em 0;
}
.hero em {
  color: var(--gold);
  font-style: normal;
}
.hero-copy p {
  max-width: 69%;
  font-size: clamp(0.91rem, 2.04vw, 1.35rem);
  line-height: 1.32;
  text-wrap: pretty;
}
.searchbox {
  border: 1px solid #69afad;
  border-radius: clamp(0.8rem, 1.75vw, 1.15rem);
  background: linear-gradient(112deg, #103c43, #072d33);
  padding: clamp(6px, 1.25vw, 14px) clamp(7px, 1.45vw, 16px) clamp(3px, 0.65vw, 8px);
}
.searchbox form {
  background: #183d45;
  padding-left: clamp(0.55rem, 1.85vw, 1.2rem);
  border-radius: clamp(0.55rem, 1.4vw, 1rem);
}
.searchbox input {
  font-size: clamp(1rem, 2.25vw, 1.48rem);
  padding: 0.25rem 0.4rem;
}
.searchbox .gold {
  align-self: stretch;
  min-height: clamp(44px, 4.65vw, 52px);
  font-size: clamp(0.9rem, 1.9vw, 1.25rem);
  border-radius: inherit;
}
.glass {
  width: clamp(14px, 1.9vw, 21px);
  height: clamp(14px, 1.9vw, 21px);
  margin-right: 0.25rem;
}
.shortcuts {
  padding-left: clamp(2px, 1.6vw, 16px);
  gap: 0 0.45em;
  min-height: clamp(33px, 4vw, 41px);
  font-size: clamp(0.78rem, 1.9vw, 1.22rem);
}
.shortcuts button {
  font-weight: 530;
  min-height: 32px;
  text-underline-offset: 0.15em;
}
.shortcuts button:not(:last-child):after {
  content: ',';
  display: inline;
  color: var(--soft);
}
.workspace {
  padding: 0 var(--gutter) 1rem;
}
#modes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(4px, 1.45vw, 16px);
  padding: clamp(9px, 1.7vw, 18px) 0;
}
.mode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.7vw, 7px);
  padding: 5px 2px;
  min-height: clamp(62px, 9.1vw, 94px);
  background: linear-gradient(122deg, #103b43, #062e33);
  border: 1px solid #548387;
  border-radius: clamp(0.55rem, 1.8vw, 1.2rem);
  font-size: clamp(0.68rem, 1.94vw, 1.22rem);
  line-height: 1.06;
  font-weight: 680;
  letter-spacing: -0.045em;
}
.mode span {
  max-width: 9ch;
  text-wrap: balance;
}
.mode svg {
  width: clamp(1.05rem, 3.2vw, 2.15rem);
  height: clamp(1.05rem, 3.2vw, 2.15rem);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mode[aria-pressed='true'] {
  border: 2px solid var(--gold);
  box-shadow: inset 0 -2px var(--gold);
  color: white;
}
.filterbar {
  min-height: clamp(50px, 6.45vw, 66px);
  padding: 0.36rem clamp(0.45rem, 1.5vw, 1rem);
  background: linear-gradient(110deg, #183e47, #12353b);
}
#advanced > summary {
  display: flex;
  align-items: center;
  gap: 0.55em;
  border: 1px solid #638589;
  border-radius: 0.55rem;
  background: #1e444a;
  padding: 0.15rem 0.8rem;
  min-height: clamp(36px, 3.9vw, 44px);
  width: fit-content;
  font-size: clamp(0.9rem, 1.9vw, 1.25rem);
}
#filter-icon,
#export-icon {
  display: inline-flex;
}
#filter-number:not(:empty) {
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #173335;
  border-radius: 50%;
  min-width: 1.5em;
}
.chip {
  border-radius: 4rem;
}
.toolbar {
  margin: clamp(8px, 1.2vw, 13px) 0.2rem;
  flex-wrap: nowrap;
  gap: 0.4rem;
}
.toolbar h2 {
  font-size: clamp(0.9rem, 2.25vw, 1.55rem);
  line-height: 1.15;
}
.toolbar h2 small {
  display: block;
  font-size: 0.7em;
  font-weight: 500;
  color: var(--soft);
  margin-top: 0.2em;
}
.toolbar > div {
  flex-wrap: nowrap;
}
.toolbar button,
.toolbar select {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: clamp(0.78rem, 1.7vw, 1.08rem);
  min-height: 44px;
  padding: 0.3rem 0.65rem;
}
.card {
  border: 2px solid #7ad7d1;
  border-radius: clamp(0.85rem, 2.3vw, 1.55rem);
  background:
    radial-gradient(ellipse at 32% 0%, #15464a 0, transparent 56%),
    linear-gradient(120deg, #0a3239, #06292f);
  padding: clamp(12px, 1.65vw, 20px) clamp(12px, 2vw, 25px) clamp(13px, 1.9vw, 23px);
  margin-bottom: clamp(12px, 1.8vw, 20px);
  overflow-wrap: anywhere;
}
.card > :is(.badges, h3, .description, .decision-meta) {
  margin-left: clamp(0px, 1.35vw, 15px);
  margin-right: 0.15rem;
}
.badges {
  gap: 0.45em 0.7em;
  align-items: center;
  font-size: clamp(0.74rem, 1.82vw, 1.13rem);
  line-height: 1.2;
}
.badges .id,
.badges .outcome {
  padding: 0.27em 0.65em;
  border-radius: 0.35em;
  font-weight: 760;
}
.badges .id {
  color: #082d33;
  background: #8be2da;
}
.badges .outcome {
  background: #326061;
  color: #f4ffff;
}
.when {
  margin-left: auto;
  color: #e0eeeb;
  font-size: 0.91em;
}
.card h3 {
  font-size: clamp(1.16rem, 2.7vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-block: 0.32em 0.18em;
}
.description {
  font-size: clamp(0.92rem, 1.95vw, 1.24rem);
  line-height: 1.32;
  max-width: 62ch;
  color: #e4f0ed;
}
.decision-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45em 0.75em;
  margin-block: 0.2em 0.4em;
  font-size: clamp(0.75rem, 1.68vw, 1.08rem);
}
.decision-meta > *,
.actions > * {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.decision-meta a {
  color: #e0eeed;
  text-decoration: none;
  border-left: 1px solid #638383;
  padding-left: 0.75em;
}
.decision-meta button {
  margin-left: auto;
  min-height: clamp(36px, 4.3vw, 44px);
  color: #ffdc82;
  border-color: var(--gold);
  background: #092e34;
  font-weight: 650;
}
.actions {
  display: grid;
  grid-template-columns: 1.38fr 1.16fr 1.35fr 0.81fr;
  border-top: 1px solid #537a7d;
  padding: 0.65em 0.35em 0.1em;
  gap: clamp(5px, 1.4vw, 15px);
  margin: 0;
}
.actions > * {
  justify-content: center;
  text-align: center;
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.028em;
  padding: 0.3rem 0.25rem;
  font-size: clamp(0.76rem, 1.8vw, 1.18rem);
  min-height: clamp(44px, 4.6vw, 50px);
}
.vote-preview {
  background: linear-gradient(135deg, #163c43, #0b3036);
  border: 1px solid #527d80;
  border-radius: clamp(0.7rem, 1.8vw, 1.15rem);
  margin-top: clamp(10px, 1.6vw, 17px);
  padding: clamp(9px, 1.25vw, 14px) clamp(9px, 1.75vw, 19px) 0.18rem;
}
.vote-preview h4 {
  margin: 0 0 0.42em;
  font-size: clamp(0.96rem, 2.14vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.preview-row {
  display: grid;
  grid-template-columns: auto 1fr auto 8%;
  align-items: center;
  gap: clamp(7px, 1.65vw, 18px);
  padding: 0.32em clamp(2px, 0.85vw, 9px);
  border-top: 1px solid #46696e;
  color: var(--white);
  text-decoration: none;
}
.preview-row:hover,
.preview-row:focus-visible {
  background: #16454a;
}
.preview-row .photo {
  width: clamp(2.6rem, 7vw, 4.55rem);
  height: clamp(2.65rem, 6.4vw, 4.2rem);
  border-radius: 0.5em;
}
.preview-row .photo img {
  object-position: center 20%;
}
.preview-name strong,
.preview-name small {
  display: block;
  line-height: 1.22;
}
.preview-name strong {
  font-size: clamp(0.89rem, 1.96vw, 1.23rem);
  letter-spacing: -0.03em;
}
.preview-name small {
  font-size: clamp(0.76rem, 1.65vw, 1.05rem);
  color: var(--soft);
}
.vote-badge {
  border: 1px solid var(--tone);
  border-radius: 0.43em;
  color: var(--tone);
  background: #183b40;
  padding: 0.24em 0.6em;
  text-align: center;
  font-weight: 740;
  font-size: clamp(0.79rem, 1.7vw, 1.12rem);
}
.profile-arrow {
  justify-self: end;
  font-size: 1.6rem;
  line-height: 1;
}
.view-members {
  border: 0;
  border-top: 1px solid #41676a;
  background: transparent;
  color: var(--mint);
  width: 100%;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  font-weight: 640;
  font-size: clamp(0.81rem, 1.78vw, 1.14rem);
  padding: 0.23rem 0.4rem;
  border-radius: 0;
  min-height: 40px;
}
.inside > .source-links {
  padding-block: 0.35rem 0.65rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #42696d;
}
.full-description {
  margin-top: 0.6rem;
}
@media (max-width: 68rem) {
  body {
    padding-bottom: calc(clamp(56px, 9.5vw, 98px) + env(safe-area-inset-bottom));
  }
  .phone-nav [aria-current] {
    margin-inline: 7%;
    background: linear-gradient(#ffdb82, #f3c153);
  }
}
@media (max-width: 40rem) {
  .mast nav > a,
  .more-nav > summary {
    font-size: clamp(0.7rem, 3.1vw, 0.96rem);
  }
  .mast nav .accountable {
    display: none;
  }
  .mast-tools {
    gap: 0.12rem;
  }
  .brand {
    margin-left: 0.15rem;
  }
  .hero-copy {
    padding: 0.9rem var(--gutter);
    min-height: 141px;
    background-size: auto 100%;
    background-position: right center;
  }
  .hero h1 {
    font-size: clamp(1.37rem, 5.8vw, 2rem);
    margin: 0.25em 0;
  }
  .hero-copy p {
    max-width: 78%;
    font-size: clamp(0.77rem, 3.28vw, 0.95rem);
    text-shadow: 0 1px 4px #00262b;
  }
  .kicker {
    font-size: 0.62rem;
    gap: 0.4em;
  }
  .kicker:after {
    width: 2.5rem;
  }
  .searchbox input {
    padding-inline: 0.1rem;
  }
  .shortcuts {
    font-size: clamp(0.73rem, 3.1vw, 0.85rem);
    gap: 0 0.4em;
  }
  .toolbar h2 small {
    font-size: 0.74em;
  }
  .toolbar > div {
    gap: 0.3rem;
  }
  .toolbar button,
  .toolbar select {
    padding-inline: 0.4rem;
  }
  .csv-format {
    display: none;
  }
  .card > :is(.badges, h3, .description, .decision-meta) {
    margin-left: 0;
  }
  .when {
    font-size: 0.83em;
  }
  .actions {
    grid-template-columns: 1.25fr 1fr;
    padding-inline: 0;
  }
  .actions > * {
    font-size: 0.83rem;
    min-height: 44px;
  }
  .filtergrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .breakdown {
    grid-template-columns: 1fr;
  }
  .person {
    flex-wrap: wrap;
  }
  .person button {
    font-size: 0.75rem;
  }
  .phone-nav a {
    font-size: clamp(0.65rem, 2.7vw, 0.84rem);
  }
}
@media (max-width: 24rem) {
  .when {
    flex-basis: 100%;
    margin-left: 0;
  }
  .mode {
    font-size: 0.64rem;
  }
  .decision-meta {
    gap: 0.35rem;
  }
  .decision-meta button {
    padding-inline: 0.42rem;
  }
  .hero-copy {
    background-image:
      linear-gradient(90deg, #072e3280 70%, transparent), url('/images/vote-explorer/capitol.webp');
  }
}
.brand {
  font-size: clamp(1.9rem, 4.28vw, 2.8rem);
}
.hero h1 {
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4.68vw, 3.68rem);
  letter-spacing: -0.045em;
}
.hero-copy {
  padding-block: clamp(16px, 1.85vw, 25px);
}
.mode span {
  max-width: 100%;
}
.mode[data-mode='mine'] span {
  max-width: 7.2ch;
}
.mode small {
  display: block;
  font-size: inherit;
}
.vote-badge {
  min-width: 4.65em;
}
@media (max-width: 40rem) {
  .hero-copy {
    padding-block: 10px;
    background-position: calc(100% + 34px) center;
    background-size: auto 100%;
    background-image:
      linear-gradient(90deg, #072e32 0%, #072e32e8 48%, #072e3270 71%, transparent 88%),
      url('/images/vote-explorer/capitol.webp');
    background-position:
      center,
      calc(100% + 34px) center;
  }
  .hero h1 {
    font-size: clamp(1.39rem, 6.05vw, 2.05rem);
  }
  .hero-copy p {
    max-width: 76%;
  }
  .searchbox {
    padding-block: 4px 0;
  }
  .mode small {
    font-size: 0.9em;
    letter-spacing: -0.04em;
  }
  .filterbar {
    padding-block: 1px;
  }
  .actions {
    grid-template-columns: 1.25fr 1fr 1.1fr 0.7fr;
  }
  .actions > * {
    font-size: 0.75rem;
  }
  .actions svg {
    display: none;
  }
  .preview-row {
    grid-template-columns: auto 1fr auto 3%;
  }
}
.quick-filters {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.quick-filters button {
  background: #a0dad4;
  color: #103639;
  border: 0;
  border-radius: 2rem;
  font-size: clamp(0.75rem, 1.58vw, 1rem);
  font-weight: 650;
  min-height: 34px;
  padding: 0.22rem 0.8rem;
}
#chips:empty {
  display: none;
}
#chips:not(:empty) + .quick-filters,
.filterbar details[open] ~ .quick-filters {
  display: none;
}
@media (min-width: 41rem) {
  .hero h1 {
    transform: scaleX(1.055);
    transform-origin: left;
    width: 94%;
  }
}
@media (max-width: 40rem) {
  .quick-filters {
    gap: 0.25rem;
  }
  .quick-filters button {
    min-height: 36px;
    padding: 0.22rem 0.48rem;
  }
  #reset {
    padding-inline: 0.24rem;
  }
}
@media (max-width: 23rem) {
  #advanced > summary {
    padding-inline: 0.4rem;
  }
  .quick-filters button {
    font-size: 0.69rem;
    padding-inline: 0.32rem;
  }
}
@media (max-width: 40rem) {
  .filterbar:has(#chips:empty):not(:has(details[open])) {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.3rem;
  }
  #advanced > summary {
    font-size: 0.83rem;
    gap: 0.25rem;
    padding-inline: 0.45rem;
  }
  #filter-number:empty {
    display: none;
  }
  #reset {
    font-size: 0.8rem;
    white-space: nowrap;
  }
}
