.congress-people {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border:1px solid #c9d4d5;
  margin:14px 0 24px;
}
.congress-recent > summary {
  cursor:pointer;
  color:#254c5d;
  font-weight:650;
  margin:0 0 20px;
}
.congress-chambers {
  display:flex;
  gap:22px;
  margin-top:28px;
  border-bottom:1px solid #c9d4d5;
}
.congress-chambers a {
  display:flex;
  align-items:center;
  gap:7px;
  padding:10px 2px;
  font-size:14px;
  color:#62747b;
}
.congress-chambers a[aria-current] {
  color:#213c49;
  font-weight:700;
  box-shadow:0 2px #213c49;
}
.congress-chambers span {
  font-size:11px;
  font-weight:450;
}
.congress-source-note {
  margin:16px 0;
  padding:12px 16px;
  border-left:2px solid #b8c7ca;
  background:#edf1f1;
  color:#506670;
  font-size:12px;
  line-height:1.7;
}
.congress-person .congress-stored {
  margin-top:4px;
  color:#806541;
}
.congress-person {
  display:block;
  padding:19px 15px;
  min-width:0;
}
.congress-person {
  border-right:1px solid #c9d4d5;
  border-bottom:1px solid #c9d4d5;
  margin-right:-1px;
  margin-bottom:-1px;
}
.congress-person-heading {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
}
.congress-person-heading>div {
  min-width:0;
}
.congress-person h2 {
  font-size:17px;
  line-height:1.35;
  word-break:keep-all;
  margin:0 0 4px;
}
.congress-person-english {
  display:block;
  font-size:11px;
  line-height:1.4;
  color:#5c6f78;
}
.congress-person .congress-person-meta {
  display:block;
  margin:13px 0 7px;
  font-size:12px;
  line-height:1.55;
  color:#334f5c;
}
.congress-person .congress-person-action {
  display:flex;
  align-items:center;
  gap:5px;
  min-height:0;
  margin-top:12px;
  font-size:11px;
  font-weight:650;
  color:#254c5d;
}
.congress-person p {
  display:flex;
  flex-wrap:wrap;
  gap:4px 10px;
  font-size:13px;
}
.congress-person small,.congress-person time {
  display:block;
  font-size:11px;
  color:#5c6f78;
}
.congress-person .congress-latest-trade {
  margin-top:8px;
  color:#2d4a56;
  font-weight:650;
}
.congress-person:hover {
  background:#eff4f6;
}
.congress-buy {
  color:#1c6867;
}
.congress-sell {
  color:#a34532;
}
.congress-filters {
  display:grid;
  grid-template-columns:1fr .8fr 1.4fr .8fr auto;
  gap:12px;
  align-items:end;
  margin:24px 0;
}
.congress-scroll {
  overflow:auto;
}
.congress-table {
  border-collapse:collapse;
  width:100%;
  font-size:13px;
}
.congress-table caption {
  text-align:left;
  font-size:12px;
  color:#586b75;
  padding:0 0 12px;
}
.congress-table th {
  text-align:left;
  background:#f1f4f4;
  font-size:12px;
}
.congress-table td,.congress-table th {
  padding:12px 10px;
  border-bottom:1px solid #d5dede;
  vertical-align:top;
}
.congress-table td small {
  display:block;
  font-size:11px;
  color:#566b75;
  margin-top:3px;
}
.congress-table td .congress-data-issue {
  color:#a34532;
  font-weight:650;
}
.congress-table .congress-asset-type {
  margin-left:36px;
}
.congress-table .stock-text b {
  font-size:13px;
}
.congress-table .company-mark {
  width:28px;
  height:28px;
}
.congress-table td:nth-child(2) {
  min-width:170px;
}
.congress-table td:nth-child(4),.congress-table td:nth-child(5) {
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.congress-table details {
  font-size:11px;
  margin-top:4px;
  color:#566b75;
}
.congress-table details p {
  max-width:260px;
  margin:7px 0;
  overflow-wrap:anywhere;
}
.congress-table summary {
  cursor:pointer;
}
.congress-research {
  margin: 28px 0;
  border-top: 1px solid #c9d4d5;
  padding-top: 20px;
}
.metrics-table td.congress-negative {
  color:var(--chart-down,#a33137);
}
.congress-research > summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 650;
  padding: 8px 0 18px;
}
.congress-name {
  font-weight:650;
  text-decoration:underline;
  text-decoration-color:#b6c9c6;
  text-underline-offset:4px;
}
.congress-portrait {
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  background:#e8edee;
  color:#63747a;
}
.congress-portrait.portrait-unavailable {
  display:none;
}
.congress-profile-header:not(:has(.congress-portrait:not(.portrait-unavailable))) {
  grid-template-columns:1fr;
}
.congress-portrait img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
}
.congress-person .congress-portrait {
  flex:none;
  width:42px;
  height:52px;
  border-radius:3px;
}
body.profile-open {
  overflow:hidden;
}
.congress-profile {
  width:min(680px,calc(100% - 32px));
  max-height:calc(100dvh - 48px);
  margin:auto;
  padding:0;
  border:1px solid #bdcccf;
  border-radius:6px;
  background:#fff;
  color:#19333f;
  box-shadow:0 22px 90px #10253240;
  overscroll-behavior:contain;
}
.congress-profile::backdrop {
  background:#132731a6;
}
.congress-profile-close {
  display:grid;
  place-items:center;
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#e5ecee;
  color:#213c49;
  font-size:25px;
  line-height:1;
}
.congress-profile-header {
  display:grid;
  grid-template-columns:140px 1fr;
  align-items:center;
  gap:26px;
  padding:36px;
  background:#f0f4f3;
  border-bottom:1px solid #d2dddf;
}
.congress-profile-header .congress-portrait {
  width:140px;
  height:174px;
  border-radius:3px;
}
.congress-profile-header h2 {
  margin:8px 0 5px;
  font-size:29px;
  line-height:1.25;
  letter-spacing:-.035em;
}
.congress-profile-header .congress-official-name {
  font-size:13px;
  color:#5b707a;
}
.congress-profile-facts {
  display:flex;
  flex-wrap:wrap;
  gap:15px 24px;
  margin-top:22px;
}
.congress-profile-facts dt {
  color:#60737c;
  font-size:11px;
  margin-bottom:4px;
}
.congress-profile-facts dd {
  margin:0;
  font-size:15px;
  font-weight:650;
}
.congress-profile-content {
  padding:27px 36px 30px;
}
.congress-profile-content h3 {
  margin:0 0 15px;
  font-size:18px;
}
.congress-committees {
  padding:0;
  margin:0;
  list-style:none;
}
.congress-committees>li {
  padding:14px 0;
  border-top:1px solid #dce3e5;
}
.congress-committee-heading {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  flex-wrap:wrap;
  gap:5px 12px;
  font-size:16px;
  font-weight:650;
}
.congress-committee-heading span {
  color:#416776;
  font-size:12px;
  font-weight:500;
}
.congress-committees small {
  display:block;
  margin-top:4px;
  font-size:11px;
  color:#667b84;
}
.congress-subcommittees {
  margin:12px 0 0;
  padding-left:18px;
  color:#4c626e;
  font-size:13px;
  line-height:1.6;
}
.congress-subcommittees li+li {
  margin-top:5px;
}
.congress-profile-source {
  margin-top:20px;
  font-size:11px;
  line-height:1.7;
  color:#667b84;
}
.congress-profile-source a {
  text-decoration:underline;
  text-underline-offset:3px;
}
.congress-profile-links {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  margin-top:20px;
  font-size:13px;
}
.congress-profile-links .story-button {
  display:inline-flex;
  align-items:center;
  gap:8px;
}
@media(min-width:701px) and (max-width:1000px) {
  .congress-people {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:700px) {
  #congress-transactions .results-heading {
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }
  .congress-people {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .congress-filters {
    grid-template-columns:1fr 1fr;
  }
  .congress-filters label:nth-of-type(3) {
    grid-column:1/-1;
  }
  .congress-table,.congress-table tbody {
    display:block;
  }
  .congress-table thead {
    display:none;
  }
  .congress-table caption {
    display:block;
  }
  .congress-table tr {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:16px 0;
    border-bottom:1px solid #c9d4d5;
  }
  .congress-table td {
    border:0;
    padding:0;
    min-width:0!important;
  }
  .congress-table td:nth-child(2) {
    grid-column:1/-1;
    grid-row:1;
  }
  .congress-table td:nth-child(4),.congress-table td:nth-child(5) {
    white-space:normal;
  }
  .congress-table td[data-label]:before {
    display:block;
    content:attr(data-label);
    font-size:10px;
    color:#667980;
    margin-bottom:3px;
  }
  .congress-table .stock-text b {
    font-size:15px;
  }
  .congress-table details p {
    max-width:140px;
  }
}
@media(max-width:480px) {
  .congress-person {
    padding:15px 12px;
  }
  .congress-person-heading {
    gap:8px;
  }
  .congress-person .congress-portrait {
    width:36px;
    height:46px;
  }
  .congress-person h2 {
    font-size:14px;
  }
  .congress-person-english {
    font-size:10px;
  }
  .congress-profile {
    width:calc(100% - 24px);
    max-height:calc(100dvh - 32px);
  }
  .congress-profile-header {
    grid-template-columns:88px 1fr;
    align-items:start;
    gap:16px;
    padding:52px 20px 24px;
  }
  .congress-profile-header .congress-portrait {
    width:88px;
    height:114px;
  }
  .congress-profile-header h2 {
    font-size:23px;
  }
  .congress-profile-header .kicker {
    font-size:10px;
  }
  .congress-profile-header .congress-official-name {
    font-size:11px;
  }
  .congress-profile-facts {
    gap:12px;
    margin-top:16px;
  }
  .congress-profile-facts dd {
    font-size:13px;
  }
  .congress-profile-content {
    padding:23px 20px;
  }
}
