:root { color-scheme: light; }

body {
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #1c1917;
  background: #f3f4f6;
}

main.porklog-page { max-width: 42rem; }

.porklog-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex: none;
}

.porklog-nav-brand {
  min-width: 0;
}

.porklog-bill-search {
  position: relative;
  flex: 1 1 12rem;
  max-width: 18rem;
  min-width: 0;
}

.porklog-bill-search-input {
  font-family: inherit;
  font-size: 0.98rem;
  color: #1c1917;
  background-color: #fff;
  border-color: #d6d3d1;
  box-shadow: none;
}

.porklog-bill-search-input:focus {
  border-color: #a8a29e;
  box-shadow: 0 0 0 0.2rem rgba(28, 25, 23, 0.08);
}

.porklog-bill-search .dropdown-menu {
  top: calc(100% + 0.25rem);
  left: 0;
  display: none;
  width: 100%;
  min-width: 100%;
  max-height: 16rem;
  overflow-y: auto;
  background-color: #fff;
  border-color: #e7e5e4;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.porklog-bill-search .dropdown-menu.show {
  display: block;
}

.porklog-bill-search .dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  color: #000;
  white-space: normal;
  overflow-wrap: anywhere;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.porklog-bill-search .dropdown-item:hover,
.porklog-bill-search .dropdown-item:focus,
.porklog-bill-search .dropdown-item.active,
.porklog-bill-search .dropdown-item:active {
  background-color: #f3f4f6;
  color: #000;
}

.porklog-bill-search-citation {
  font-size: 0.8rem;
  line-height: 1.2;
  color: #78716c;
}

.porklog-bill-search-title {
  font-size: 0.95rem;
  line-height: 1.3;
}

.porklog-header-actions {
  flex: none;
}

.list-filter-empty {
  color: #44403c;
  margin: 0;
}

.porklog-title a,
.porklog-card .card-title a,
.porklog-nav-link {
  --bs-link-color-rgb: 0, 0, 0;
  --bs-link-hover-color-rgb: 0, 0, 0;
  color: #000;
  text-decoration: none;
}

.porklog-title a:hover,
.porklog-title a:focus,
.porklog-card .card-title a:hover,
.porklog-card .card-title a:focus,
.porklog-nav-link:hover,
.porklog-nav-link:focus {
  color: #000;
}

.porklog-title a:hover,
.porklog-card .card-title a:hover,
.porklog-nav-link:hover {
  text-decoration: underline;
}

.porklog-account-nav,
.porklog-filter-menu,
.porklog-sort-menu,
.porklog-version-menu {
  font-size: 0.98rem;
}

.porklog-icon-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.25rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background-color: transparent;
  color: #1c1917;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
}

.porklog-icon-menu-btn:hover,
.porklog-icon-menu-btn:focus-visible,
.porklog-icon-menu-btn.show {
  background-color: #fff;
  color: #1c1917;
  border-color: #d6d3d1;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.06);
}

.porklog-icon-menu-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(28, 25, 23, 0.15);
}

.porklog-icon-menu-btn .bi {
  font-size: 1.15rem;
}

.porklog-account-nav .dropdown-menu,
.porklog-filter-menu .dropdown-menu,
.porklog-sort-menu .dropdown-menu,
.porklog-version-menu .dropdown-menu {
  min-width: 10.5rem;
  background-color: #fff;
  border-color: #e7e5e4;
}

.porklog-version-menu .dropdown-menu {
  /* Grow with labels, then wrap before overflowing the viewport. */
  min-width: 16rem;
  width: max-content;
  max-width: min(28rem, calc(100vw - 2rem));
}

.porklog-account-nav .dropdown-item,
.porklog-filter-menu .dropdown-item,
.porklog-sort-menu .dropdown-item,
.porklog-version-menu .dropdown-item {
  color: #000;
}

/* Bootstrap dropdown-items are nowrap; long version labels must wrap inside the panel. */
.porklog-version-menu .dropdown-item {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.porklog-account-nav .dropdown-item:hover,
.porklog-account-nav .dropdown-item:focus,
.porklog-filter-menu .dropdown-item:hover,
.porklog-filter-menu .dropdown-item:focus,
.porklog-sort-menu .dropdown-item:hover,
.porklog-sort-menu .dropdown-item:focus,
.porklog-version-menu .dropdown-item:hover,
.porklog-version-menu .dropdown-item:focus {
  background-color: #f3f4f6;
  color: #000;
}

.porklog-sort-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.porklog-sort-menu .dropdown-item.active,
.porklog-sort-menu .dropdown-item:active,
.porklog-version-menu .dropdown-item.active,
.porklog-version-menu .dropdown-item:active {
  background-color: #f3f4f6;
  color: #000;
}

.porklog-account-nav .dropdown-divider {
  border-color: #d6d3d1;
}

.porklog-filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin: 0;
}

.porklog-filter-check {
  margin: 0;
  flex: none;
  float: none;
}

.porklog-filter-menu .dropdown-item:active {
  background-color: #f3f4f6;
  color: #000;
}

/* Outside-click to close must not also follow a card stretched-link. */
body.porklog-filter-menu-open .porklog-card .stretched-link {
  pointer-events: none;
}

.legislator-bills-actions {
  flex: none;
}

.porklog-logout-form {
  display: block;
  margin: 0;
}

.porklog-profile-saved {
  color: #166534;
  margin-bottom: 1rem;
}

.porklog-auth-card.card {
  max-width: 24rem;
}

.porklog-abilities-card.card {
  max-width: 36rem;
}

.porklog-ability-editor h3 {
  margin: 0.25rem 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.porklog-ability-choice {
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid #e7e5e4;
  min-inline-size: 0;
}

.porklog-ability-choice:last-of-type {
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.porklog-ability-name {
  float: none;
  width: auto;
  margin: 0 0 0.15rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.porklog-ability-name code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: #1c1917;
}

.porklog-ability-desc {
  margin: 0 0 0.55rem;
  color: #44403c;
  font-size: 0.95rem;
}

.porklog-ability-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.porklog-ability-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.98rem;
}

.porklog-ability-radio input {
  margin: 0;
  accent-color: #1c1917;
}

.porklog-email-suggest {
  position: relative;
}

/* Same panel as the account / filter menus, anchored under the email field. */
.porklog-email-suggest .dropdown-menu {
  top: calc(100% + 0.25rem);
  left: 0;
  display: none;
  width: 100%;
  min-width: 100%;
  max-height: 12rem;
  overflow-y: auto;
  background-color: #fff;
  border-color: #e7e5e4;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.porklog-email-suggest .dropdown-menu.show {
  display: block;
}

.porklog-email-suggest .dropdown-item {
  color: #000;
  white-space: normal;
  overflow-wrap: anywhere;
}

.porklog-email-suggest .dropdown-item:hover,
.porklog-email-suggest .dropdown-item:focus,
.porklog-email-suggest .dropdown-item.active,
.porklog-email-suggest .dropdown-item:active {
  background-color: #f3f4f6;
  color: #000;
}

.porklog-auth-error {
  color: #991b1b;
  margin-bottom: 1rem;
}

.porklog-auth-switch {
  color: #44403c;
  font-size: 0.98rem;
}

.porklog-card.card {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.15s ease;
}

.porklog-card.card:hover {
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.07), 0 14px 32px rgba(15, 23, 42, 0.1);
}

.porklog-card .citation {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.porklog-card .card-title {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0.2rem 0 0.55rem;
}

.porklog-card .updated,
.porklog-card .sponsors,
.porklog-card .bill-counts {
  color: #44403c;
  font-size: 0.98rem;
}

/* Sit above .stretched-link so expand/collapse does not navigate. */
.porklog-card .sponsors,
.porklog-card .sponsors-toggle,
.porklog-card .sponsors-panel {
  position: relative;
  z-index: 2;
}

.porklog-card .sponsors-toggle {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  cursor: pointer;
}

.porklog-card .sponsors-toggle:hover,
.porklog-card .sponsors-toggle:focus-visible {
  text-decoration-color: currentColor;
}

.porklog-card .sponsors-toggle:focus-visible {
  outline: 2px solid #1f2937;
  outline-offset: 2px;
}

.porklog-card .sponsor-link {
  --bs-link-color-rgb: 68, 64, 60;
  --bs-link-hover-color-rgb: 28, 25, 23;
  position: relative;
  z-index: 2;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
}

.porklog-card .sponsor-link:hover,
.porklog-card .sponsor-link:focus {
  color: inherit;
  text-decoration-color: currentColor;
}

.porklog-card .sponsors-panel {
  margin-top: 0.45rem;
}

.porklog-card .sponsors-list {
  list-style-type: none;
  padding-left: 1.1rem;
  color: #44403c;
  font-size: 0.95rem;
}

.porklog-card .sponsors-list li + li {
  margin-top: 0.2rem;
}

.porklog-card .sponsors-role {
  font-weight: 600;
  color: #6b7280;
}

.porklog-card .sponsor-role-badge,
.porklog-card .bipartisan-badge {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  background: #e5e7eb;
  color: #374151;
}

.legislator-name {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
}

.legislator-subline,
.legislator-age,
.legislator-meta,
.legislator-bills-empty {
  color: #44403c;
  font-size: 0.98rem;
}

.legislator-age {
  margin: 0;
}

.legislator-bills-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.legislator-bills-header {
  min-width: 0;
}

.legislator-portrait {
  display: block;
  width: 6rem;
  height: 6rem;
  object-fit: cover;
  object-position: top center;
  border-radius: 0.35rem;
  background: #e5e7eb;
}

.legislator-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  background: #e5e7eb;
  color: #374151;
}

.legislators-directory-title {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
}

.legislators-state-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.legislators-chamber-heading {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
  color: #44403c;
}

/* Party squares: real span markers (not ::marker/::before) so colors always paint. */
ul.legislators-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
  color: #1c1917;
}

ul.legislators-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

ul.legislators-list > li + li {
  margin-top: 0.25rem;
}

ul.legislators-list > li > .legislator-party-marker {
  flex: none;
  display: block;
  width: 0.55em;
  height: 0.55em;
  margin-top: 0.45em;
  background-color: #9ca3af;
}

ul.legislators-list > li.party-r > .legislator-party-marker {
  background-color: #b91c1c;
}

ul.legislators-list > li.party-d > .legislator-party-marker {
  background-color: #1d4ed8;
}

.legislators-directory-empty {
  color: #44403c;
  font-size: 0.98rem;
}

.porklog-card .bill-counts,
.porklog-card .pork-count,
.porklog-card .comment-count {
  color: #9f1239;
}

.porklog-card .enactment {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  background: #e5e7eb;
  color: #374151;
}

.porklog-card .enactment.is-law {
  background: #d1fae5;
  color: #065f46;
}

.pagination .page-link {
  color: #1f2937;
  border-color: #e5e7eb;
  background: #fff;
}

.pagination .page-link:hover {
  color: #111827;
  background: #f9fafb;
  border-color: #e5e7eb;
}

.pagination .page-item.active .page-link {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}

.pagination .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(31, 41, 55, 0.15);
}

.bill-text-placeholder {
  color: #6b7280;
}

.bill-text-heading {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.bill-text p {
  margin: 0 0 0.85rem;
}

.bill-text p:last-child {
  margin-bottom: 0;
}

.bill-text::selection,
.bill-text *::selection {
  background: #fbcfe8;
  color: #1c1917;
}

.bill-text .pork-mark {
  background: #fbcfe8;
  color: inherit;
  padding: 0.05em 0;
  border-radius: 0.1em;
  cursor: pointer;
}

.pork-mark-popup {
  position: fixed;
  z-index: 20;
  transform: translate(-50%, calc(-100% - 0.5rem));
  padding: 0.35rem 0.65rem;
  border: 0;
  border-radius: 0.4rem;
  background: #1f2937;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.pork-mark-popup:hover,
.pork-mark-popup:focus {
  background: #111827;
}

.pork-mark-popup[hidden] {
  display: none;
}

.bill-text-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  column-gap: 1rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.bill-text-nav-side {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.bill-text-nav-side:last-child {
  justify-content: flex-end;
}

.bill-text-nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.bill-summary-meta {
  color: #6b7280;
  font-size: 0.95rem;
}

.bill-text-status {
  color: #44403c;
  font-size: 0.95rem;
}

.bill-text-error {
  color: #991b1b;
  font-size: 0.95rem;
}

.bill-text-nav .page-link.disabled {
  pointer-events: none;
}

.bill-text-nav .pagination {
  margin-bottom: 0.75rem;
}

.bill-text-jump .form-control,
.list-pager-jump .form-control {
  width: 5.5rem;
}

@media (max-width: 575.98px) {
  .bill-text-nav {
    grid-template-columns: 1fr;
    row-gap: 0.85rem;
  }

  .bill-text-nav-side:last-child {
    display: none;
  }

  .bill-text-nav-center {
    order: 2;
  }
}

.list-pager-status {
  color: #44403c;
  font-size: 0.95rem;
}

/* Keep the centered list pager from stretching full width in either mode. */
.list-pager .pagination,
.list-pager .list-pager-jump {
  width: auto;
}

.bill-comments-heading {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.bill-comments-empty,
.bill-comments-login,
.bill-comment-max-depth {
  color: #6b7280;
  font-size: 0.98rem;
}

.bill-comments-list,
.bill-comment-replies {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bill-comment {
  margin: 0 0 1rem;
  padding: 0;
}

.bill-comment:last-child {
  margin-bottom: 0;
}

.bill-comment-replies {
  margin: 0.75rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid #e5e7eb;
}

.bill-comment-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0.75rem 0.2rem 0;
  font-size: 0.92rem;
  vertical-align: middle;
}

.bill-comment-author {
  font-weight: 600;
  color: #1c1917;
}

.bill-comment-time {
  color: #6b7280;
}

.bill-comment-meta .bill-comment-vote,
.bill-comment > .bill-comment-vote {
  margin: 0;
  vertical-align: middle;
}

.bill-comment-body {
  margin: 0 0 0.35rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bill-comment-reply-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  color: #374151;
  text-decoration: underline;
  cursor: pointer;
}

.bill-comment-reply-btn:hover,
.bill-comment-reply-btn:focus {
  color: #111827;
}

.bill-comment-reply-form {
  margin-top: 0.5rem;
  max-width: 36rem;
}

.bill-comment-compose {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.bill-comment-error {
  color: #991b1b;
  font-size: 0.95rem;
}

.pork-comments-heading {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.pork-comments-lead {
  color: #6b7280;
  font-size: 0.95rem;
}

.pork-comments-excerpt {
  max-height: 8rem;
  overflow: auto;
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  background: #fdf2f8;
  border-left: 3px solid #f9a8d4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.98rem;
}

.pork-comments-empty,
.pork-comments-login,
.pork-comment-max-depth {
  color: #6b7280;
  font-size: 0.98rem;
}

.pork-comments-list,
.pork-comment-replies {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pork-comment {
  margin: 0 0 1rem;
  padding: 0;
}

.pork-comment:last-child {
  margin-bottom: 0;
}

.pork-comment-replies {
  margin: 0.75rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid #e5e7eb;
}

.pork-comment-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0.75rem 0.2rem 0;
  font-size: 0.92rem;
  vertical-align: middle;
}

.pork-comment-author {
  font-weight: 600;
  color: #1c1917;
}

.pork-comment-time {
  color: #6b7280;
}

.pork-comment-meta .pork-comment-vote,
.pork-comment > .pork-comment-vote {
  margin: 0;
  vertical-align: middle;
}

.pork-comment-body {
  margin: 0 0 0.35rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pork-comment-reply-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

.pork-comment-reply-btn:hover,
.pork-comment-reply-btn:focus {
  color: #111827;
}

.pork-comment-reply-form {
  margin-top: 0.5rem;
  max-width: 36rem;
}

.pork-comment-compose {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.pork-comment-error {
  color: #991b1b;
  font-size: 0.95rem;
}

.bill-comment-vote,
.pork-comment-vote,
.pork-vote {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0.15rem 0 0.35rem;
  font-size: 0.92rem;
  color: #374151;
}

.bill-comment-vote [data-vote-up],
.bill-comment-vote [data-vote-down],
.pork-comment-vote [data-vote-up],
.pork-comment-vote [data-vote-down],
.pork-vote [data-vote-up],
.pork-vote [data-vote-down] {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  line-height: 1;
  color: #4b5563;
  cursor: pointer;
}

.bill-comment-vote [data-vote-up]:hover,
.bill-comment-vote [data-vote-down]:hover,
.pork-comment-vote [data-vote-up]:hover,
.pork-comment-vote [data-vote-down]:hover,
.pork-vote [data-vote-up]:hover,
.pork-vote [data-vote-down]:hover,
.bill-comment-vote [data-vote-up]:focus,
.bill-comment-vote [data-vote-down]:focus,
.pork-comment-vote [data-vote-up]:focus,
.pork-comment-vote [data-vote-down]:focus,
.pork-vote [data-vote-up]:focus,
.pork-vote [data-vote-down]:focus {
  color: #111827;
}

.bill-comment-vote [aria-pressed="true"],
.pork-comment-vote [aria-pressed="true"],
.pork-vote [aria-pressed="true"] {
  color: #111827;
  font-weight: 700;
}

.bill-vote-score,
.pork-vote-score,
.bill-comment-vote-score,
.pork-comment-vote-score,
[data-vote-score-label] {
  min-width: 1.25rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #1c1917;
}

.vote-error {
  flex-basis: 100%;
  margin: 0;
  color: #991b1b;
  font-size: 0.88rem;
}

.pork-vote-score {
  color: #6b7280;
  font-size: 0.95rem;
}

/* Match .pork-mark-popup (Mark Pork): centered above the anchor, dark chip, white type. */
.pork-mark-popover {
  position: fixed;
  z-index: 30;
  transform: translate(-50%, calc(-100% - 0.5rem));
  min-width: 5.5rem;
  padding: 0.35rem 0.65rem;
  border: 0;
  border-radius: 0.4rem;
  background: #1f2937;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.pork-mark-popover[hidden] {
  display: none;
}

.pork-mark-popover-meta {
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.pork-mark-popover .pork-mark-popover-vote,
.pork-mark-popover .pork-vote {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: #fff;
}

.pork-mark-popover [data-vote-up],
.pork-mark-popover [data-vote-down] {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

.pork-mark-popover [data-vote-up]:hover,
.pork-mark-popover [data-vote-down]:hover,
.pork-mark-popover [data-vote-up]:focus,
.pork-mark-popover [data-vote-down]:focus {
  color: #fff;
  opacity: 0.85;
}

.pork-mark-popover [aria-pressed="true"] {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pork-mark-popover [data-vote-score-label],
.pork-mark-popover .pork-vote-score {
  min-width: 1.25rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.pork-mark-popover .vote-error {
  color: #fecaca;
  text-align: center;
}

.modal-header .pork-vote {
  margin-top: 0.35rem;
}

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95em; }
