:root {
  --portal-shell: #ffffff;
  --portal-border: #dfe5ec;
  --portal-bg: #f5f7fa;
  --portal-text: #243447;
  --portal-muted: #6c7a89;
  --portal-primary: #0b5cab;
  --portal-sidebar-navy: #001f3f;
}

.fire-alerts-watch {
  --fire-ink: #172b4d;
  --fire-red: #9b2c2c;
  --fire-orange: #dd6b20;
  --fire-gold: #f6ad55;
  padding-bottom: 1rem;
}

.fire-alerts-hero {
  align-items: center;
  background: linear-gradient(125deg, #7b241c 0%, #a63d2f 48%, #d26828 100%);
  border-radius: 0.45rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  min-height: 245px;
  overflow: hidden;
  padding: 1.65rem;
  position: relative;
}

.fire-alerts-hero::after {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
  height: 330px;
  position: absolute;
  right: -105px;
  top: -160px;
  width: 330px;
}

.fire-alerts-hero-copy {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.fire-alerts-eyebrow {
  color: #8b2f25;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.fire-alerts-hero .fire-alerts-eyebrow {
  color: #ffd7b8;
}

.fire-alerts-hero h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.65rem;
}

.fire-alerts-hero p {
  color: #fff1e6;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}

.fire-alerts-source-row {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.76rem;
  gap: 0.5rem 1rem;
  margin-top: 0.9rem;
}

.fire-alerts-source-row span {
  color: #ffe8d2;
}

.fire-alerts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.fire-alerts-hero-mark {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  flex: 0 0 104px;
  font-size: 3.05rem;
  height: 104px;
  justify-content: center;
  margin-left: 1.5rem;
  position: relative;
  width: 104px;
  z-index: 1;
}

.fire-alerts-stat,
.fire-alerts-card,
.fire-alerts-explainer,
.fire-alerts-data-note {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.4rem;
  box-shadow: none;
}

.fire-alerts-stat {
  border-top: 3px solid var(--fire-orange);
  min-height: 126px;
  padding: 1rem;
}

.fire-alerts-stat > span {
  align-items: center;
  background: #fff3e8;
  border-radius: 50%;
  color: var(--fire-orange);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 0.7rem;
  width: 34px;
}

.fire-alerts-stat strong {
  color: var(--fire-ink);
  display: block;
  font-size: 1.35rem;
  line-height: 1.05;
}

.fire-alerts-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.76rem;
  line-height: 1.4;
  margin-top: 0.28rem;
}

.fire-stat-total,
.fire-stat-peak {
  border-top-color: var(--fire-red);
}

.fire-stat-total > span,
.fire-stat-peak > span {
  background: #fff0ed;
  color: var(--fire-red);
}

.fire-stat-confidence {
  border-top-color: #2f855a;
}

.fire-stat-confidence > span {
  background: #e8f5ec;
  color: #2f855a;
}

.fire-alerts-card.card {
  box-shadow: none;
  margin-bottom: 0;
}

.fire-alerts-card .card-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--portal-border);
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
}

.fire-alerts-card .card-title {
  color: var(--fire-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.fire-alerts-chart {
  height: 310px;
  position: relative;
}

.fire-alerts-chart-doughnut {
  height: 260px;
}

.fire-alerts-chart-note {
  border-top: 1px solid #edf0f2;
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.55;
  margin-top: 0.8rem;
  padding-top: 0.75rem;
}

.fire-alerts-explainer,
.fire-alerts-data-note {
  padding: 1.15rem;
}

.fire-alerts-explainer {
  border-left: 4px solid var(--fire-orange);
}

.fire-alerts-data-note {
  border-left: 4px solid #2f855a;
}

.fire-alerts-explainer h3,
.fire-alerts-data-note h3 {
  color: var(--fire-ink);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
}

.fire-alerts-explainer p,
.fire-alerts-data-note p {
  color: var(--portal-muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.fire-alerts-explainer ul {
  color: #52616f;
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
}

.fire-alerts-explainer a {
  color: var(--fire-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.fire-alerts-data-note dl {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0 0;
}

.fire-alerts-data-note dl > div {
  background: #f7faf8;
  border: 1px solid #e3eee7;
  border-radius: 0.3rem;
  padding: 0.65rem;
}

.fire-alerts-data-note dt {
  color: var(--portal-muted);
  font-size: 0.69rem;
  font-weight: 600;
  margin-bottom: 0.12rem;
}

.fire-alerts-data-note dd {
  color: var(--fire-ink);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.fire-alerts-watch .table thead th {
  border-bottom-width: 1px;
  color: #52616f;
  font-size: 0.72rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.fire-alerts-watch .table td {
  vertical-align: middle;
}

.fire-coverage-badge {
  font-size: 0.68rem;
  min-width: 66px;
}

.fire-recent-table th,
.fire-recent-table td {
  padding: 0.62rem 0.85rem;
}

.fire-alerts-watch .dt-buttons .btn {
  margin-right: 0.2rem;
}

.fire-alerts-watch .dataTables_filter input {
  border: 1px solid #dbe3e8;
  border-radius: 0.25rem;
  margin-left: 0.35rem;
  padding: 0.25rem 0.45rem;
}

@media (max-width: 767.98px) {
  .fire-alerts-hero {
    min-height: 0;
    padding: 1.2rem;
  }

  .fire-alerts-hero-mark {
    display: none;
  }

  .fire-alerts-chart {
    height: 270px;
  }

  .fire-alerts-chart-doughnut {
    height: 235px;
  }

  .fire-alerts-card .card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .fire-alerts-data-note dl {
    grid-template-columns: 1fr;
  }
}

html,
body {
  font-size: 13px;
  color: var(--portal-text);
}

body {
  background: var(--portal-bg);
}

.main-header,
.main-footer,
.main-sidebar {
  background: var(--portal-shell) !important;
}

.main-header {
  border-bottom: 1px solid var(--portal-border);
}

.main-footer {
  border-top: 1px solid var(--portal-border);
  color: var(--portal-muted);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.main-sidebar {
  border-right: 1px solid var(--portal-border);
}

.brand-link {
  border-bottom: 1px solid var(--portal-border) !important;
  min-height: 3.5rem;
  padding: 0.72rem 0.8rem;
}

.brand-link .brand-image {
  background: transparent;
  border-radius: 0;
  display: inline-block;
  height: 26px;
  margin-left: 0.15rem;
  margin-right: 0.55rem;
  margin-top: 0.18rem;
  object-fit: contain;
  width: 26px;
}

.brand-text {
  color: var(--portal-sidebar-navy);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.content-wrapper {
  background: var(--portal-bg);
}

.content-header {
  padding: 0.75rem 0.5rem 0.35rem;
}

.content-header h1 {
  color: #172b4d;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.breadcrumb {
  font-size: 0.78rem;
}

.navbar-nav .nav-link {
  font-size: 0.82rem;
}

.main-header .navbar-nav .nav-link.active {
  background: #e7f1fb;
  border-radius: 0.25rem;
  color: #124f86;
}

.sidebar {
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}

.user-panel {
  border-bottom: 1px solid var(--portal-border) !important;
}

.portal-user-icon {
  align-items: center;
  background: #eef5fc;
  border-radius: 50%;
  color: var(--portal-sidebar-navy);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-sidebar .nav-link {
  border-radius: 0.25rem;
  color: var(--portal-sidebar-navy) !important;
  margin-bottom: 0.08rem;
  padding: 0.43rem 0.58rem;
}

.main-sidebar .brand-link,
.main-sidebar .brand-link:hover,
.main-sidebar .user-panel a,
.main-sidebar .user-panel a:hover,
.main-sidebar .user-panel .text-muted,
.main-sidebar .nav-sidebar .nav-link,
.main-sidebar .nav-sidebar .nav-link:hover,
.main-sidebar .nav-sidebar .nav-link.active,
.main-sidebar .nav-sidebar .nav-link p,
.main-sidebar .nav-sidebar .nav-link i,
.main-sidebar .nav-sidebar .nav-link small {
  color: var(--portal-sidebar-navy) !important;
}

.nav-sidebar .nav-link p {
  font-size: 0.82rem;
}

.nav-sidebar .nav-icon {
  font-size: 0.9rem;
  margin-right: 0.32rem;
  width: 1.25rem;
}

.nav-treeview > .nav-item > .nav-link {
  padding-left: 0.8rem;
}

.nav-treeview .nav-treeview > .nav-item > .nav-link {
  padding-left: 1rem;
}

.nav-sidebar .nav-link.active {
  background: #e7f1fb !important;
  color: var(--portal-sidebar-navy) !important;
}

.nav-sidebar .nav-link:hover {
  background: #f0f4f8;
  color: var(--portal-sidebar-navy) !important;
}

.nav-header hr {
  border-top-color: var(--portal-border);
}

.form-control-sidebar,
.btn-sidebar {
  background: #f7f9fb !important;
  border-color: var(--portal-border) !important;
  color: var(--portal-sidebar-navy) !important;
  font-size: 0.8rem;
}

.form-control-sidebar::placeholder {
  color: var(--portal-sidebar-navy);
  opacity: 0.65;
}

.portal-page-card {
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
  min-height: calc(100vh - 12.6rem);
}

.portal-page-icon {
  align-items: center;
  background: #eef5fc;
  border: 1px solid #d7e8f8;
  border-radius: 50%;
  color: var(--portal-primary);
  display: inline-flex;
  font-size: 1.25rem;
  height: 46px;
  justify-content: center;
  margin-bottom: 0.85rem;
  width: 46px;
}

.portal-page-title {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.portal-page-note {
  color: var(--portal-muted);
  font-size: 0.84rem;
}

.portal-home-description {
  line-height: 1.6;
  margin: 0.15rem auto 1.25rem;
  max-width: 620px;
}

.portal-home-links {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1160px;
  width: 100%;
}

.portal-home-link {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.portal-home-link:hover,
.portal-home-link:focus {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.portal-home-link > span {
  align-items: center;
  background: #eef5fc;
  border-radius: 50%;
  color: var(--portal-primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  margin-bottom: 0.9rem;
  width: 40px;
}

.portal-home-link strong,
.portal-home-link small,
.portal-home-link em {
  display: block;
}

.portal-home-link strong {
  color: #172b4d;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.portal-home-link small {
  color: var(--portal-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.portal-home-link em {
  color: #124f86;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  margin-top: auto;
  padding-top: 0.9rem;
}

@media (max-width: 1199.98px) {
  .portal-home-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .portal-home-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479.98px) {
  .portal-home-links {
    grid-template-columns: 1fr;
  }

  .portal-home-link {
    min-height: 0;
  }
}

.corruption-section {
  padding-bottom: 0.75rem;
}

.corruption-hero,
.corruption-panel,
.corruption-card {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.corruption-hero {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.corruption-hero-compact {
  border-left: 4px solid #0b5cab;
}

.corruption-kicker {
  color: #124f86;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.corruption-hero h2,
.corruption-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.corruption-hero p,
.corruption-panel p {
  color: var(--portal-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.corruption-hero-icon,
.corruption-card span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.corruption-hero-icon {
  background: #eef5fc;
  color: var(--portal-primary);
  font-size: 1.45rem;
  height: 52px;
  width: 52px;
}

.corruption-hero-icon-blue {
  background: #e7f1fb;
  color: #124f86;
}

.corruption-hero-icon-red {
  background: #fdecec;
  color: #b42318;
}

.corruption-card {
  color: inherit;
  display: block;
  height: 100%;
  min-height: 190px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.corruption-card:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.corruption-card span {
  height: 38px;
  margin-bottom: 0.9rem;
  width: 38px;
}

.corruption-card-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.corruption-card-red span {
  background: #fdecec;
  color: #b42318;
}

.corruption-card strong,
.corruption-card small,
.corruption-card em {
  display: block;
}

.corruption-card strong {
  color: #172b4d;
  font-size: 0.98rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.corruption-card small {
  color: var(--portal-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.corruption-card em {
  color: #124f86;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  margin-top: 0.9rem;
}

.corruption-panel {
  padding: 1rem;
}

.corruption-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.corruption-focus-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.corruption-focus-list li {
  align-items: center;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #52616f;
  display: flex;
  font-size: 0.82rem;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
}

.corruption-focus-list i {
  color: #2f855a;
}

.report-corruption-page {
  padding-bottom: 0.75rem;
}

.report-status-pills,
.cr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.report-status-pills {
  margin-top: 0.9rem;
}

.report-status-pills span,
.cr-status-pill,
.cr-meta span {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #52616f;
  font-size: 0.76rem;
  padding: 0.3rem 0.6rem;
}

.cr-shell {
  color: #172b4d;
}

.cr-portal-shell {
  max-width: none;
}

.cr-landing-actions {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cr-action-card {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  color: inherit;
  display: grid;
  gap: 1rem;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 12rem;
  padding: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cr-action-card:hover {
  border-color: #9fb2c7;
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
}

.cr-action-card > span {
  align-items: center;
  background: #fdecec;
  border-radius: 50%;
  color: #b42318;
  display: inline-flex;
  font-size: 1.2rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.cr-action-card-follow > span {
  background: #eaf2f8;
  color: #124f86;
}

.cr-action-card strong,
.cr-action-card em {
  display: block;
}

.cr-action-card strong {
  color: #172b4d;
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.cr-action-card p {
  color: var(--portal-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cr-action-card em {
  color: #124f86;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.cr-action-card-report em {
  color: #b42318;
}

.cr-panel {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.cr-panel-head {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1rem 1rem 0;
}

.cr-panel-head h2,
.cr-panel-head h3,
.cr-detail-title h2 {
  color: #172b4d;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.3rem;
}

.cr-panel-head p {
  color: var(--portal-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

.cr-panel-body {
  padding: 1rem;
}

.cr-form-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-step-strip,
.step-strip.report-step-strip {
  border-bottom: 1px solid var(--portal-border);
  margin-bottom: 1rem;
  padding: 0.85rem 0 0.65rem;
}

.report-step-strip .progress {
  background: #edf2f7;
  border-radius: 999px;
  height: 0.45rem;
  overflow: hidden;
}

.report-step-strip .progress-bar {
  animation: cr-progress-stripes 1s linear infinite;
  background-color: #124f86;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.22) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
  transition: width 0.25s ease;
}

@keyframes cr-progress-stripes {
  from { background-position: 1rem 0; }
  to { background-position: 0 0; }
}

.survey-tools {
  gap: 0.5rem;
}

.btn-icon {
  align-items: center;
  display: inline-flex;
  gap: 0.2rem;
}

.cr-form-grid .full {
  grid-column: 1 / -1;
}

.cr-form-grid label,
.cr-panel label {
  color: #344054;
  font-size: 0.84rem;
  font-weight: 700;
}

.cr-required {
  color: #b42318;
}

.cr-identity-section {
  align-items: flex-start;
  display: grid;
  gap: 1rem;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 0.2rem 0 0.45rem;
}

.cr-identity-mark {
  align-items: center;
  background: #eaf2f8;
  border-radius: 50%;
  color: #124f86;
  display: inline-flex;
  font-size: 1.25rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.cr-identity-visual {
  text-align: center;
}

.cr-participant-image-preview {
  background: #fdecec;
  border: 1px solid var(--portal-border);
  border-radius: 50%;
  height: 92px;
  object-fit: contain;
  padding: 10px;
  width: 92px;
}

.cr-identity-copy h3 {
  color: #172b4d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}

.cr-identity-copy p {
  color: var(--portal-muted);
  line-height: 1.55;
  margin-bottom: 0.6rem;
}

.cr-user-detail-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.75rem 0;
}

.cr-user-detail-grid div {
  border-left: 3px solid #d7e8f8;
  min-width: 0;
  padding-left: 0.65rem;
}

.cr-user-detail-grid small,
.cr-user-detail-grid strong {
  display: block;
}

.cr-user-detail-grid small {
  color: var(--portal-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cr-user-detail-grid strong {
  color: #172b4d;
  overflow-wrap: anywhere;
}

.cr-tracking-preview {
  border: 1px dashed #b8c7d8;
  border-radius: 0.35rem;
  margin-top: 0.75rem;
  padding: 0.65rem;
  text-align: left;
}

.cr-tracking-preview strong,
.cr-tracking-preview small {
  display: block;
}

.cr-tracking-preview code {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #b42318;
  display: inline-block;
  font-size: 0.95rem;
  margin: 0.35rem 0;
  padding: 0.3rem 0.5rem;
}

.cr-tracking-preview + .custom-control {
  margin-top: 0.75rem;
}

.cr-code-reminder {
  align-items: center;
  background: #fff8e6;
  border: 1px solid #efd28b;
  border-radius: 0.35rem;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
}

.cr-code-reminder > span {
  align-items: center;
  background: #ffffff;
  border-radius: 50%;
  color: #9a6700;
  display: inline-flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.cr-code-reminder strong,
.cr-code-reminder small {
  display: block;
}

.cr-code-reminder strong {
  color: #6b4f00;
  font-size: 0.78rem;
}

.cr-code-reminder code {
  background: #ffffff;
  border: 1px solid #efd28b;
  border-radius: 0.25rem;
  color: #9a3412;
  display: inline-block;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0.2rem 0;
  padding: 0.2rem 0.4rem;
}

.cr-code-reminder small {
  color: #775f1a;
  font-size: 0.72rem;
}

.cr-code-lookup-form {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cr-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.cr-account-grid,
.cr-report-list,
.cr-message-list {
  display: grid;
  gap: 0.75rem;
}

.cr-account-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cr-report-item,
.cr-message {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  color: inherit;
  display: block;
  padding: 0.75rem;
}

.cr-report-item:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
}

.cr-report-item strong {
  color: #172b4d;
  display: block;
  font-size: 0.92rem;
}

.cr-report-item small,
.cr-message small {
  color: var(--portal-muted);
}

.cr-code-box {
  background: #f7fafc;
  border: 2px dashed #b8c7d8;
  border-radius: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
}

.cr-code-box code {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #b42318;
  display: inline-block;
  font-size: 1.05rem;
  padding: 0.35rem 0.55rem;
}

.cr-case-progress {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  padding: 0.9rem;
}

.cr-case-progress > .progress {
  background: #e5eaf0;
  border-radius: 999px;
  height: 0.55rem;
  overflow: hidden;
}

.cr-case-progress > .progress .progress-bar {
  animation: cr-progress-stripes 1s linear infinite;
  background-color: #2f855a;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.22) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.cr-status-timeline {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin-top: 0.9rem;
  padding: 0;
}

.cr-status-timeline li {
  align-items: flex-start;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 12px minmax(0, 1fr);
}

.cr-status-dot {
  background: #98a2b3;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #98a2b3;
  display: block;
  height: 10px;
  margin-top: 0.35rem;
  width: 10px;
}

.cr-status-timeline .is-current .cr-status-dot {
  background: #2f855a;
  box-shadow: 0 0 0 1px #2f855a;
}

.cr-status-timeline strong,
.cr-status-timeline small {
  display: block;
}

.cr-status-timeline strong {
  color: #172b4d;
  font-size: 0.86rem;
}

.cr-status-timeline small,
.cr-status-timeline p {
  color: var(--portal-muted);
  font-size: 0.76rem;
}

.cr-status-timeline p {
  margin: 0.15rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .report-step-strip .progress-bar,
  .cr-case-progress > .progress .progress-bar {
    animation: none;
  }
}

.cr-detail-head {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cr-message.staff,
.cr-message.alac_staff {
  border-left: 4px solid #124f86;
}

.cr-message.public_user,
.cr-message.anonymous_reporter {
  border-left: 4px solid #2f855a;
}

.cr-message.system {
  background: #f7fafc;
  border-left: 4px solid #98a2b3;
}

.cr-message strong {
  color: #344054;
  display: block;
  font-size: 0.88rem;
}

.cr-evidence-list {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.cr-evidence-list li {
  margin-bottom: 0.45rem;
}

.cr-footer {
  color: var(--portal-muted);
  font-size: 0.82rem;
  margin-top: 1rem;
  text-align: center;
}

.alac-page {
  padding-bottom: 0.75rem;
}

.alac-hero,
.alac-panel,
.alac-chart-panel,
.alac-demographic-panel,
.alac-stat,
.alac-contact-panel,
.alac-hero-panel,
.alac-global-link,
.alac-report-link,
.alac-spotlight {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.alac-hero {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.32fr);
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.alac-report-hero {
  border-left: 4px solid #b42318;
}

.alac-hero-copy {
  min-width: 0;
}

.alac-hero h2 {
  color: #172b4d;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.55rem;
}

.alac-hero p,
.alac-panel p,
.alac-hero-panel p {
  color: var(--portal-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.alac-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.alac-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
  padding: 1rem;
}

.alac-hero-panel span,
.alac-contact-panel span,
.alac-stat span,
.alac-list-head span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.alac-hero-panel span {
  background: #e7f1fb;
  color: #124f86;
  font-size: 1.25rem;
  height: 46px;
  width: 46px;
}

.alac-hero-panel strong {
  color: #172b4d;
  font-size: 1rem;
}

.alac-panel,
.alac-chart-panel,
.alac-demographic-panel {
  padding: 1rem;
}

.alac-panel h3,
.alac-chart-panel h3 {
  color: #172b4d;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.55rem;
}

.alac-panel-accent {
  border-top: 4px solid #2f855a;
}

.alac-process {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 1rem;
}

.alac-process div {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  min-height: 142px;
  padding: 0.8rem;
}

.alac-process span {
  align-items: center;
  background: #124f86;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  margin-bottom: 0.65rem;
  width: 26px;
}

.alac-process strong,
.alac-process small,
.alac-contact-panel strong,
.alac-contact-panel small,
.alac-report-link strong,
.alac-report-link small,
.alac-report-link em {
  display: block;
}

.alac-process strong {
  color: #172b4d;
  margin-bottom: 0.35rem;
}

.alac-process small {
  color: var(--portal-muted);
  line-height: 1.45;
}

.alac-contact-panel {
  min-height: 124px;
  padding: 1rem;
}

.alac-contact-panel span {
  background: #fff7df;
  color: #b7791f;
  height: 38px;
  margin-bottom: 0.85rem;
  width: 38px;
}

.alac-contact-panel strong {
  color: #172b4d;
  font-size: 0.96rem;
  margin-bottom: 0.3rem;
}

.alac-contact-panel small {
  color: var(--portal-muted);
  line-height: 1.5;
}

.alac-global-panel {
  margin-top: 0.25rem;
}

.alac-global-link {
  color: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
  min-height: 260px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.alac-global-link:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.alac-global-image {
  align-items: center;
  background: #ffffff;
  display: flex;
  min-height: 260px;
  padding: 1rem;
}

.alac-global-image img {
  display: block;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  width: 100%;
}

.alac-global-copy {
  background: #f7fafc;
  border-left: 1px solid var(--portal-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1.1rem;
}

.alac-global-text {
  color: #172b4d;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.alac-global-cta {
  color: #124f86;
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.85rem;
}

.alac-section-head,
.alac-list-head,
.alac-spotlight-head {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.alac-report-link {
  color: inherit;
  display: block;
  height: 100%;
  min-height: 180px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.alac-report-link:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.alac-report-link span {
  align-items: center;
  background: #fdecec;
  border-radius: 50%;
  color: #b42318;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  margin-bottom: 0.9rem;
  width: 40px;
}

.alac-report-link strong {
  color: #172b4d;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.alac-report-link small {
  color: var(--portal-muted);
  line-height: 1.55;
}

.alac-report-link em {
  color: #124f86;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  margin-top: 0.9rem;
}

.alac-stat {
  min-height: 134px;
  padding: 1rem;
}

.alac-stat span {
  height: 38px;
  margin-bottom: 0.85rem;
  width: 38px;
}

.alac-stat strong,
.alac-stat small {
  display: block;
}

.alac-stat strong {
  color: #172b4d;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.alac-stat small {
  color: var(--portal-muted);
  font-size: 0.8rem;
}

.alac-stat-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.alac-stat-red span {
  background: #fdecec;
  color: #b42318;
}

.alac-stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.alac-stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.alac-chart {
  height: 320px;
  position: relative;
}

.alac-chart-compact {
  height: 300px;
}

.alac-demographic-note {
  color: var(--portal-muted);
  line-height: 1.55;
  margin: -0.15rem 0 0.9rem;
}

.alac-demographic-grid {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(360px, 0.58fr) minmax(0, 0.42fr);
}

.alac-demographic-map-wrap {
  background: #edf3f6;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  min-height: 460px;
  overflow: hidden;
  position: relative;
}

.alac-location-map {
  height: 100%;
  min-height: 460px;
  width: 100%;
}

.alac-map-empty {
  align-items: center;
  color: var(--portal-muted);
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 320px;
  padding: 1rem;
  text-align: center;
}

.alac-map-popup {
  display: grid;
  gap: 0.2rem;
  min-width: 130px;
}

.alac-map-popup strong {
  color: #172b4d;
  font-size: 0.88rem;
}

.alac-map-popup span {
  color: #52616f;
  font-size: 0.76rem;
}

.alac-demographic-chart-stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.alac-demographic-chart {
  min-width: 0;
}

.alac-demographic-chart-wide {
  grid-column: 1 / -1;
}

.alac-chart-small {
  height: 215px;
}

.alac-chart-location {
  height: 230px;
}

.alac-list-head {
  justify-content: flex-start;
  margin-bottom: 0.8rem;
}

.alac-list-head span {
  background: #e7f1fb;
  color: #124f86;
  height: 34px;
  width: 34px;
}

.alac-ranked-list {
  display: grid;
  gap: 0.55rem;
}

.alac-ranked-item {
  align-items: center;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  min-height: 50px;
  padding: 0.6rem 0.7rem;
}

.alac-ranked-item strong {
  color: #52616f;
  font-size: 0.82rem;
  line-height: 1.35;
}

.alac-ranked-item span {
  color: #172b4d;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.alac-ranked-item small {
  color: var(--portal-muted);
  display: block;
  font-weight: 600;
}

.alac-pill {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #52616f;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
}

.alac-spotlight {
  height: 100%;
  padding: 1rem;
}

.alac-spotlight-head {
  border-bottom: 1px solid var(--portal-border);
  margin-bottom: 0.8rem;
  padding-bottom: 0.7rem;
}

.alac-spotlight-head strong {
  color: #172b4d;
  font-size: 0.98rem;
}

.alac-spotlight-head span {
  background: #fdecec;
  border-radius: 999px;
  color: #b42318;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
}

.alac-spotlight-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alac-spotlight-grid div {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  min-height: 78px;
  padding: 0.65rem;
}

.alac-spotlight-grid small,
.alac-spotlight-grid strong {
  display: block;
}

.alac-spotlight-grid small {
  color: var(--portal-muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.alac-spotlight-grid strong {
  color: #172b4d;
  font-size: 0.82rem;
  line-height: 1.35;
}

.local-lens {
  padding-bottom: 0.75rem;
}

.local-lens-hero,
.local-lens-panel,
.local-lens-card {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.local-lens-hero {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.local-lens-hero-compact {
  border-left: 4px solid var(--portal-primary);
}

.local-lens-kicker {
  color: #124f86;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.local-lens-hero h2,
.local-lens-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.local-lens-hero p,
.local-lens-panel p {
  color: var(--portal-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.local-lens-hero-icon,
.local-lens-card span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.local-lens-hero-icon {
  background: #eef5fc;
  color: var(--portal-primary);
  font-size: 1.45rem;
  height: 52px;
  width: 52px;
}

.local-lens-hero-icon-green {
  background: #e6f4ea;
  color: #2f855a;
}

.local-lens-hero-icon-blue {
  background: #e7f1fb;
  color: #124f86;
}

.local-lens-hero-icon-warning {
  background: #fff7df;
  color: #b7791f;
}

.local-lens-hero-icon-navy {
  background: #e9eafb;
  color: #070b66;
}

.local-lens-hero-icon-red {
  background: #fdecec;
  color: #c53030;
}

.local-lens-card {
  color: inherit;
  display: block;
  height: 100%;
  min-height: 210px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.local-lens-card:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.local-lens-card span {
  height: 38px;
  margin-bottom: 0.9rem;
  width: 38px;
}

.local-lens-card-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.local-lens-card-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.local-lens-card-warning span {
  background: #fff7df;
  color: #b7791f;
}

.local-lens-card-navy span {
  background: #e9eafb;
  color: #070b66;
}

.local-lens-card-red span {
  background: #fdecec;
  color: #c53030;
}

.local-lens-card strong,
.local-lens-card small,
.local-lens-card em {
  display: block;
}

.local-lens-card strong {
  color: #172b4d;
  font-size: 0.98rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.local-lens-card small {
  color: var(--portal-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.local-lens-card em {
  color: #124f86;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  margin-top: 0.9rem;
}

.local-lens-panel {
  padding: 1rem;
}

.local-lens-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.local-lens-focus-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.local-lens-focus-list li {
  align-items: center;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #52616f;
  display: flex;
  font-size: 0.82rem;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
}

.local-lens-focus-list i {
  color: #2f855a;
}

.sct-watch {
  color: #26364d;
  padding-bottom: 0.75rem;
}

.sct-hero,
.sct-panel,
.sct-stat,
.sct-alert,
.sct-method {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.4rem;
  box-shadow: none;
}

.sct-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.34fr);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}

.sct-hero::before {
  background: linear-gradient(90deg, #070b66 0%, #27a9e1 100%);
  content: '';
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.sct-hero-copy {
  padding: 1.5rem;
}

.sct-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sct-back:hover,
.sct-source-link:hover {
  color: #070b66;
  text-decoration: none;
}

.sct-kicker {
  color: #124f86;
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.sct-hero h2 {
  color: #070b66;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.sct-hero-copy > p {
  color: #52616f;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

.sct-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.sct-hero-tags span {
  align-items: center;
  background: #f3f7fb;
  border: 1px solid #dce7f1;
  border-radius: 999px;
  color: #34495e;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.35rem;
  padding: 0.38rem 0.62rem;
}

.sct-hero-tags i {
  color: #124f86;
}

.sct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.sct-actions .btn-primary {
  background: #070b66;
  border-color: #070b66;
}

.sct-actions .btn-outline-primary {
  border-color: #124f86;
  color: #124f86;
}

.sct-source-panel {
  background: #070b66;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 270px;
  padding: 1.5rem;
  position: relative;
}

.sct-source-panel::after {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: '';
  height: 170px;
  position: absolute;
  right: -85px;
  top: -75px;
  width: 170px;
}

.sct-source-panel .sct-kicker {
  color: #70d6ff;
}

.sct-source-icon {
  align-items: center;
  background: #27a9e1;
  border-radius: 50%;
  display: inline-flex;
  font-size: 1.1rem;
  height: 42px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 42px;
}

.sct-source-panel > strong {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.sct-source-panel > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.sct-source-meta {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.9rem;
}

.sct-source-meta span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
}

.sct-source-meta b {
  color: #ffffff;
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.sct-source-panel > a {
  color: #70d6ff;
  font-size: 0.75rem;
  font-weight: 800;
}

.sct-source-panel > a:hover {
  color: #ffffff;
  text-decoration: none;
}

.sct-stat-row {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.sct-stat-row > [class*='col-'] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.sct-stat {
  align-items: center;
  border-top: 3px solid #070b66;
  display: flex;
  gap: 0.8rem;
  height: 100%;
  min-height: 88px;
  padding: 0.85rem;
}

.sct-stat > span {
  align-items: center;
  background: #eef2fa;
  border-radius: 0.35rem;
  color: #070b66;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.sct-stat strong,
.sct-stat small {
  display: block;
}

.sct-stat strong {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.1;
}

.sct-stat small {
  color: #67788a;
  font-size: 0.7rem;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.sct-stat-blue {
  border-top-color: #124f86;
}

.sct-stat-blue > span {
  background: #e7f1fb;
  color: #124f86;
}

.sct-stat-red {
  border-top-color: #c53030;
}

.sct-stat-red > span {
  background: #fff0f0;
  color: #c53030;
}

.sct-stat-gold {
  border-top-color: #d69e2e;
}

.sct-stat-gold > span {
  background: #fff8e5;
  color: #b7791f;
}

.sct-alert {
  align-items: center;
  background: linear-gradient(90deg, #f2f8fd 0%, #ffffff 80%);
  border-left: 4px solid #27a9e1;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 1rem 1.15rem;
}

.sct-alert > span {
  align-items: center;
  background: #e3f5fd;
  border-radius: 50%;
  color: #124f86;
  display: inline-flex;
  font-size: 1.05rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.sct-alert h3,
.sct-section-head h3,
.sct-method h3 {
  color: #172b4d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.sct-alert p {
  color: #52616f;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0.35rem 0 0;
}

.sct-alert > strong {
  color: #070b66;
  font-size: 1.75rem;
  font-weight: 800;
}

.sct-panel {
  padding: 1rem;
}

.sct-section-head {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.sct-pill {
  background: #eef5fc;
  border: 1px solid #d7e5f2;
  border-radius: 999px;
  color: #124f86;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.32rem 0.55rem;
}

.sct-panel-note {
  color: #6b7c8f;
  font-size: 0.75rem;
  line-height: 1.55;
  margin: -0.25rem 0 0.75rem;
}

.sct-chart {
  position: relative;
  width: 100%;
}

.sct-chart-budget {
  height: 280px;
}

.sct-chart-risks {
  height: 310px;
}

.sct-chart-district {
  height: 455px;
}

.sct-district-map {
  background: #eef3f7;
  border: 1px solid #dbe5ee;
  border-radius: 0.35rem;
  height: 455px;
  overflow: hidden;
  width: 100%;
}

.sct-map-empty {
  align-items: center;
  color: #67788a;
  display: flex;
  font-size: 0.78rem;
  height: 100%;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.sct-map-popup {
  display: grid;
  gap: 0.2rem;
  min-width: 165px;
}

.sct-map-popup strong {
  color: #172b4d;
  font-size: 0.82rem;
}

.sct-map-popup span {
  color: #070b66;
  font-size: 0.76rem;
  font-weight: 800;
}

.sct-map-popup small {
  color: #67788a;
  font-size: 0.66rem;
  line-height: 1.4;
}

.sct-map-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.sct-map-legend > span {
  align-items: center;
  color: #52616f;
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 700;
  gap: 0.3rem;
}

.sct-map-legend i {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.sct-map-legend i.very-low {
  background: #2f855a;
}

.sct-map-legend i.low {
  background: #38a169;
}

.sct-map-legend i.moderate {
  background: #d69e2e;
}

.sct-map-legend i.high {
  background: #dd6b20;
}

.sct-map-legend i.very-high {
  background: #c53030;
}

.sct-map-legend small {
  color: #7b8997;
  font-size: 0.62rem;
  margin-left: auto;
}

.sct-ranked-head {
  border-top: 1px solid #e2e8f0;
  margin-top: 1rem;
  padding-top: 1rem;
}

.sct-ranked-head h4 {
  color: #172b4d;
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0;
}

.sct-risk-scale {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0.7rem;
}

.sct-risk-scale span {
  border-radius: 0.22rem;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.32rem 0.2rem;
  text-align: center;
}

.sct-risk-scale .very-low,
.sct-risk-badge.sct-risk-very-low {
  background: #2f855a;
}

.sct-risk-scale .low,
.sct-risk-badge.sct-risk-low {
  background: #38a169;
}

.sct-risk-scale .moderate,
.sct-risk-badge.sct-risk-moderate {
  background: #d69e2e;
}

.sct-risk-scale .high,
.sct-risk-badge.sct-risk-high {
  background: #dd6b20;
}

.sct-risk-scale .very-high,
.sct-risk-badge.sct-risk-very-high {
  background: #c53030;
}

.sct-district-head {
  align-items: center;
}

.sct-metric-control {
  margin: 0;
  min-width: 235px;
}

.sct-metric-control > span {
  color: #52616f;
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.sct-metric-control select {
  border-color: #c8d5e2;
  color: #34495e;
  font-size: 0.72rem;
  font-weight: 700;
}

.sct-district-summary {
  background: #070b66;
  border-radius: 0.35rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  min-height: 300px;
  padding: 1.2rem;
}

.sct-district-summary .sct-kicker {
  color: #70d6ff;
}

.sct-district-summary > strong {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.sct-district-summary > b {
  color: #70d6ff;
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sct-district-summary > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  margin: 0;
}

.sct-district-summary-metric {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  line-height: 1.45;
  margin-top: 0.55rem;
}

.sct-district-summary hr {
  border-color: rgba(255, 255, 255, 0.16);
  margin: 1.1rem 0;
  width: 100%;
}

.sct-district-summary small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  line-height: 1.55;
}

.sct-table thead th {
  background: #070b66;
  border-color: #070b66;
  color: #ffffff;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  padding: 0.65rem;
  text-transform: uppercase;
  vertical-align: middle;
}

.sct-table tbody td {
  border-color: #e5ebf1;
  color: #52616f;
  font-size: 0.75rem;
  line-height: 1.4;
  padding: 0.65rem;
  vertical-align: middle;
}

.sct-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.sct-table td strong,
.sct-table td b {
  color: #243b53;
}

.sct-risk-badge {
  border-radius: 999px;
  color: #ffffff;
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  min-width: 68px;
  padding: 0.3rem 0.48rem;
  text-align: center;
}

.sct-finding-grid,
.sct-recommendation-list {
  display: grid;
  gap: 0.65rem;
}

.sct-finding-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sct-finding-grid article,
.sct-recommendation-list article {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.35rem;
  display: flex;
  gap: 0.65rem;
  padding: 0.7rem;
}

.sct-finding-grid article > span,
.sct-recommendation-list article > span {
  align-items: center;
  background: #e7f1fb;
  border-radius: 50%;
  color: #124f86;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.sct-recommendation-list article > span {
  background: #070b66;
  color: #ffffff;
}

.sct-finding-grid strong,
.sct-recommendation-list strong {
  color: #243b53;
  display: block;
  font-size: 0.75rem;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.sct-finding-grid p,
.sct-recommendation-list p {
  color: #67788a;
  font-size: 0.69rem;
  line-height: 1.5;
  margin: 0;
}

.sct-method {
  background: #f4f8fc;
  border-left: 4px solid #070b66;
  padding: 1rem;
}

.sct-method > div:first-child > p {
  color: #52616f;
  font-size: 0.76rem;
  line-height: 1.6;
  margin: 0.45rem 0 0.8rem;
}

.sct-method-breakdown {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sct-method-breakdown span {
  background: #ffffff;
  border: 1px solid #dde6ef;
  border-radius: 0.3rem;
  color: #67788a;
  font-size: 0.64rem;
  line-height: 1.35;
  min-height: 55px;
  padding: 0.55rem;
}

.sct-method-breakdown b {
  color: #070b66;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.12rem;
}

.sct-method-note {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #dde6ef;
  border-radius: 0.3rem;
  color: #52616f;
  display: flex;
  font-size: 0.7rem;
  gap: 0.5rem;
  line-height: 1.55;
  margin: 0.75rem 0;
  padding: 0.65rem;
}

.sct-method-note i {
  color: #124f86;
  margin-top: 0.18rem;
}

.sct-source-link {
  color: #124f86;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
}

.sct-docs-hero {
  align-items: center;
  background: linear-gradient(120deg, #ffffff 0%, #eef7fd 100%);
  border: 1px solid var(--portal-border);
  border-left: 4px solid #070b66;
  border-radius: 0.4rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  min-height: 180px;
  padding: 1.35rem;
}

.sct-docs-hero h2 {
  color: #070b66;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}

.sct-docs-hero p {
  color: #52616f;
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}

.sct-docs-hero-icon {
  align-items: center;
  background: #070b66;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.4rem;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.sct-docs-note {
  align-items: flex-start;
  background: #eef7fd;
  border: 1px solid #d2e8f6;
  border-radius: 0.35rem;
  color: #36566f;
  display: flex;
  font-size: 0.73rem;
  gap: 0.55rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  padding: 0.7rem 0.8rem;
}

.sct-docs-note i {
  color: #124f86;
  margin-top: 0.18rem;
}

.sct-document-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sct-document-grid-collections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sct-document-card {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 0.38rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.9rem;
}

.sct-document-card-head {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.sct-document-card-head > span {
  align-items: center;
  background: #e7f1fb;
  border-radius: 0.3rem;
  color: #124f86;
  display: inline-flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.sct-document-card-head small,
.sct-document-card-head b {
  display: block;
}

.sct-document-card-head small {
  color: #67788a;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.sct-document-card-head b {
  color: #070b66;
  font-size: 0.67rem;
  margin-top: 0.1rem;
}

.sct-document-card h4 {
  color: #172b4d;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.sct-document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin-bottom: 0.55rem;
}

.sct-document-meta span {
  color: #52616f;
  font-size: 0.65rem;
  font-weight: 700;
}

.sct-document-meta span + span::before {
  color: #a4b1bd;
  content: '•';
  margin-right: 0.7rem;
}

.sct-document-card > p {
  color: #67788a;
  flex: 1 1 auto;
  font-size: 0.7rem;
  line-height: 1.55;
  margin: 0 0 0.8rem;
}

.sct-document-card .btn {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
}

.sct-document-card .btn-primary {
  background: #070b66;
  border-color: #070b66;
}

.sct-document-card .btn-outline-primary {
  border-color: #124f86;
  color: #124f86;
}

.sct-docs-footer {
  align-items: flex-start;
  color: #67788a;
  display: flex;
  font-size: 0.67rem;
  gap: 0.45rem;
  line-height: 1.5;
  padding: 0.25rem 0.1rem 0;
}

.sct-docs-footer i {
  color: #124f86;
  margin-top: 0.14rem;
}

@media (max-width: 1199.98px) {
  .sct-hero {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.38fr);
  }

  .sct-district-summary {
    min-height: 220px;
  }

  .sct-document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .sct-hero {
    grid-template-columns: 1fr;
  }

  .sct-source-panel {
    min-height: 0;
  }

  .sct-district-head {
    align-items: stretch;
    flex-direction: column;
  }

  .sct-metric-control {
    min-width: 0;
    width: 100%;
  }

  .sct-finding-grid,
  .sct-method-breakdown {
    grid-template-columns: 1fr;
  }

  .sct-district-map {
    height: 390px;
  }

  .sct-map-legend small {
    flex-basis: 100%;
    margin-left: 0;
  }

  .sct-chart-risks {
    height: 360px;
  }

  .sct-document-grid,
  .sct-document-grid-collections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .sct-hero-copy,
  .sct-source-panel {
    padding: 1rem;
  }

  .sct-hero h2 {
    font-size: 1.45rem;
  }

  .sct-alert {
    align-items: flex-start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sct-alert > strong {
    grid-column: 2;
  }

  .sct-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sct-risk-scale {
    grid-template-columns: 1fr;
  }

  .sct-chart-district {
    height: 520px;
  }

  .sct-district-map {
    height: 340px;
  }

  .sct-docs-hero {
    align-items: flex-start;
    min-height: 0;
    padding: 1rem;
  }

  .sct-docs-hero h2 {
    font-size: 1.35rem;
  }

  .sct-docs-hero-icon {
    font-size: 1rem;
    height: 42px;
    width: 42px;
  }
}

.decent-watch {
  padding-bottom: 0.75rem;
}

.decent-hero,
.decent-panel,
.decent-stat,
.decent-source-panel,
.decent-district-card {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.decent-hero {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.decent-hero-copy {
  min-width: 0;
}

.decent-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.decent-kicker {
  color: #124f86;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.decent-hero h2,
.decent-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.decent-hero p,
.decent-panel p {
  color: #52616f;
  line-height: 1.65;
  margin-bottom: 0;
}

.decent-source-note {
  align-items: flex-start;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #465a69;
  display: flex;
  font-size: 0.8rem;
  gap: 0.55rem;
  line-height: 1.55;
  margin-top: 0.9rem;
  padding: 0.7rem;
}

.decent-source-note i {
  color: #2f855a;
  margin-top: 0.2rem;
}

.decent-hero-strip {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.9rem;
}

.decent-hero-strip span {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  min-height: 76px;
  padding: 0.7rem;
}

.decent-hero-strip strong,
.decent-hero-strip small {
  display: block;
}

.decent-hero-strip strong {
  color: #172b4d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.decent-hero-strip small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.decent-source-panel {
  background: #f7fafc;
  border-left: 4px solid #124f86;
  padding: 0.95rem;
}

.decent-source-panel > span,
.decent-stat span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
}

.decent-source-panel > span {
  background: #e7f1fb;
  color: #124f86;
  height: 38px;
  margin-bottom: 0.75rem;
  width: 38px;
}

.decent-source-panel > strong,
.decent-source-panel > small {
  display: block;
}

.decent-source-panel > strong {
  color: #172b4d;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.decent-source-panel > small {
  color: var(--portal-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.decent-source-grid {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.decent-source-grid div {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  padding: 0.65rem 0.75rem;
}

.decent-source-grid strong,
.decent-source-grid small {
  display: block;
}

.decent-source-grid strong {
  color: #172b4d;
  font-size: 0.84rem;
  line-height: 1.35;
}

.decent-source-grid small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.45;
  margin-top: 0.18rem;
}

.decent-stat {
  min-height: 118px;
  padding: 1rem;
}

.decent-stat span {
  height: 34px;
  margin-bottom: 0.8rem;
  width: 34px;
}

.decent-stat strong {
  color: #172b4d;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.decent-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.decent-stat-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.decent-stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.decent-stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.decent-stat-red span {
  background: #fff0f0;
  color: #9b2c2c;
}

.decent-panel {
  padding: 1rem;
}

.decent-section-head {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.decent-section-head h3 {
  margin-bottom: 0;
}

.decent-pill {
  background: #f0f4f8;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #52616f;
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.36rem 0.55rem;
}

.decent-map {
  background: #eef3f7;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  height: 440px;
  overflow: hidden;
  position: relative;
}

.decent-map-small {
  height: 360px;
}

.decent-profile-map {
  height: 360px;
}

.decent-map-empty {
  align-items: center;
  color: var(--portal-muted);
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.decent-chart {
  height: 320px;
  min-height: 320px;
  position: relative;
}

.decent-chart-compact {
  height: 300px;
  min-height: 300px;
}

.decent-chart canvas {
  height: 100% !important;
  width: 100% !important;
}

.decent-rank-list,
.decent-focus-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.decent-rank-item,
.decent-focus-item {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  padding: 0.75rem;
}

.decent-rank-item {
  color: inherit;
  display: grid;
  gap: 0.25rem;
  grid-template-columns: minmax(0, 1fr) auto;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.decent-rank-item:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.decent-rank-item strong,
.decent-rank-item span,
.decent-rank-item small,
.decent-focus-item strong,
.decent-focus-item span,
.decent-focus-item small {
  display: block;
}

.decent-rank-item strong,
.decent-focus-item strong {
  color: #172b4d;
  font-size: 0.84rem;
  line-height: 1.35;
}

.decent-rank-item span,
.decent-focus-item span {
  color: #124f86;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.decent-rank-item small,
.decent-focus-item small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  grid-column: 1 / -1;
  line-height: 1.45;
}

.decent-district-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.decent-district-card {
  color: inherit;
  display: block;
  min-height: 150px;
  padding: 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.decent-district-card:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.decent-card-top {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.decent-card-top strong {
  color: #172b4d;
  font-size: 0.92rem;
  line-height: 1.35;
}

.decent-card-score {
  color: #124f86;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.85rem 0 0.65rem;
}

.decent-card-meta {
  display: grid;
  gap: 0.28rem;
}

.decent-card-meta span {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.decent-status-badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.48rem;
  white-space: nowrap;
}

.decent-status-on-track {
  background: #e6f4ea;
  color: #2f855a;
}

.decent-status-moving {
  background: #e7f1fb;
  color: #124f86;
}

.decent-status-watch {
  background: #fff7df;
  color: #8a5a17;
}

.decent-status-behind {
  background: #fff0f0;
  color: #9b2c2c;
}

.decent-status-no-target {
  background: #f0f4f8;
  color: #52616f;
}

.decent-focus-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.decent-focus-item {
  position: relative;
}

.decent-focus-item span {
  margin: 0.45rem 0 0.2rem;
}

.decent-focus-item em {
  margin-top: 0.55rem;
}

.decent-observation-cell {
  display: grid;
  gap: 0.18rem;
  min-width: 260px;
}

.decent-observation-cell strong {
  color: #172b4d;
  font-size: 0.8rem;
  line-height: 1.35;
}

.decent-observation-cell small {
  color: #52616f;
  font-size: 0.76rem;
  line-height: 1.45;
}

.decent-map-popup strong,
.decent-map-popup span {
  display: block;
}

.decent-map-popup strong {
  color: #172b4d;
  margin-bottom: 0.25rem;
}

.decent-map-popup span {
  color: #52616f;
  font-size: 0.78rem;
}

.decent-map-popup a,
.decent-table-link {
  color: #124f86;
  font-weight: 800;
}

.decent-map-popup a {
  display: inline-block;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.decent-map-legend {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: 0 8px 24px rgba(23, 43, 77, 0.14);
  color: #52616f;
  font-size: 0.74rem;
  line-height: 1.35;
  padding: 0.65rem;
}

.decent-map-legend strong,
.decent-map-legend span {
  display: block;
}

.decent-map-legend strong {
  color: #172b4d;
  margin-bottom: 0.4rem;
}

.decent-map-legend i {
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  margin-right: 0.35rem;
  width: 10px;
}

.decent-watch table.dataTable {
  border-color: var(--portal-border);
}

@media (max-width: 991.98px) {
  .decent-hero {
    grid-template-columns: 1fr;
  }

  .decent-map {
    height: 380px;
  }

  .decent-map-small,
  .decent-profile-map {
    height: 340px;
  }

  .decent-chart,
  .decent-chart-compact {
    height: 300px;
    min-height: 300px;
  }
}

@media (max-width: 575.98px) {
  .decent-hero,
  .decent-panel,
  .decent-stat,
  .decent-source-panel,
  .decent-district-card {
    padding: 0.85rem;
  }

  .decent-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .decent-hero-strip {
    grid-template-columns: 1fr;
  }

  .decent-map,
  .decent-map-small,
  .decent-profile-map {
    height: 320px;
  }

  .decent-chart,
  .decent-chart-compact {
    height: 270px;
    min-height: 270px;
  }
}

.decent-info-lead,
.decent-status-banner,
.decent-page-nav {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
}

.decent-info-lead {
  align-items: flex-start;
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.decent-info-lead-icon {
  align-items: center;
  background: #e7f1fb;
  border-radius: 50%;
  color: #124f86;
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.decent-info-lead h3,
.decent-explainer-card h4,
.decent-policy-card h4,
.decent-participation-grid h4,
.decent-resource-card h3 {
  color: #172b4d;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.decent-info-lead h3 {
  font-size: 1.08rem;
}

.decent-info-lead p,
.decent-explainer-card p,
.decent-level-list p,
.decent-policy-card p,
.decent-responsibility-grid p,
.decent-participation-grid p,
.decent-source-use-grid p,
.decent-resource-card p,
.decent-status-banner p,
.decent-question-list p,
.decent-method-list p,
.decent-caption {
  color: #52616f;
  line-height: 1.6;
  margin-bottom: 0;
}

.decent-explainer-grid,
.decent-principle-grid,
.decent-policy-grid,
.decent-anatomy-grid,
.decent-responsibility-grid,
.decent-participation-grid,
.decent-finding-grid,
.decent-resource-grid,
.decent-source-use-grid,
.decent-hub-grid,
.decent-policy-summary-grid {
  display: grid;
  gap: 0.75rem;
}

.decent-explainer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decent-explainer-card,
.decent-policy-card,
.decent-participation-grid article,
.decent-resource-card,
.decent-responsibility-grid > div,
.decent-source-use-grid > div,
.decent-policy-summary-grid article {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  padding: 0.85rem;
}

.decent-explainer-card > span,
.decent-policy-card > span,
.decent-participation-grid article > span,
.decent-resource-card > span,
.decent-hub-grid > a > span,
.decent-policy-summary-grid article > span {
  align-items: center;
  background: #e7f1fb;
  border-radius: 50%;
  color: #124f86;
  display: inline-flex;
  flex: 0 0 auto;
  height: 36px;
  justify-content: center;
  margin-bottom: 0.65rem;
  width: 36px;
}

.decent-explainer-card h4,
.decent-policy-card h4,
.decent-participation-grid h4 {
  font-size: 0.92rem;
}

.decent-explainer-card p,
.decent-policy-card p,
.decent-participation-grid p {
  font-size: 0.8rem;
}

.decent-level-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.decent-level-list > div {
  border-left: 3px solid #124f86;
  padding-left: 0.75rem;
}

.decent-level-list strong,
.decent-responsibility-grid strong,
.decent-source-use-grid strong {
  color: #172b4d;
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.2rem;
}

.decent-level-list p,
.decent-responsibility-grid p,
.decent-source-use-grid p {
  font-size: 0.78rem;
}

.decent-quote {
  background: #f7fafc;
  border-left: 4px solid #2f855a;
  color: #172b4d;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 0.85rem 0;
  padding: 0.8rem 0.9rem;
}

.decent-principle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.85rem;
}

.decent-principle-grid article {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
}

.decent-principle-grid article > span,
.decent-question-list > div > span,
.decent-method-list li > span {
  align-items: center;
  background: #e7f1fb;
  border-radius: 50%;
  color: #124f86;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.decent-principle-grid strong {
  color: #172b4d;
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.18rem;
}

.decent-principle-grid p {
  color: #52616f;
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
}

.decent-timeline {
  border-left: 2px solid #cbd8e6;
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0 0.6rem;
  padding-left: 1rem;
}

.decent-timeline article {
  align-items: flex-start;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 58px minmax(0, 1fr);
  position: relative;
}

.decent-timeline article::before {
  background: #124f86;
  border: 3px solid #e7f1fb;
  border-radius: 50%;
  content: "";
  height: 12px;
  left: -1.44rem;
  position: absolute;
  top: 0.3rem;
  width: 12px;
}

.decent-timeline article > span {
  color: #124f86;
  font-size: 0.82rem;
  font-weight: 800;
}

.decent-timeline strong {
  color: #172b4d;
  display: block;
  font-size: 0.84rem;
}

.decent-timeline p {
  color: #52616f;
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0.12rem 0 0;
}

.decent-status-banner {
  align-items: flex-start;
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
}

.decent-status-banner > span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.decent-status-banner strong {
  color: #172b4d;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.decent-status-banner p {
  font-size: 0.8rem;
}

.decent-status-banner-blue {
  border-left: 4px solid #124f86;
}

.decent-status-banner-blue > span {
  background: #e7f1fb;
  color: #124f86;
}

.decent-status-banner-green {
  border-left: 4px solid #2f855a;
}

.decent-status-banner-green > span {
  background: #e6f4ea;
  color: #2f855a;
}

.decent-status-banner-gold {
  border-left: 4px solid #b7791f;
}

.decent-status-banner-gold > span {
  background: #fff7df;
  color: #8a5a17;
}

.decent-policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.decent-policy-card {
  display: flex;
  gap: 0.75rem;
}

.decent-policy-card > span {
  margin-bottom: 0;
}

.decent-policy-card ul,
.decent-participation-grid ul {
  color: #52616f;
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.decent-policy-card li + li,
.decent-participation-grid li + li {
  margin-top: 0.28rem;
}

.decent-anatomy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.9rem;
}

.decent-anatomy-grid > div {
  align-items: flex-start;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  display: grid;
  gap: 0.1rem 0.55rem;
  grid-template-columns: 26px minmax(0, 1fr);
  padding: 0.65rem;
}

.decent-anatomy-grid i {
  color: #124f86;
  grid-row: 1 / 3;
  margin-top: 0.15rem;
  text-align: center;
}

.decent-anatomy-grid strong {
  color: #172b4d;
  font-size: 0.8rem;
}

.decent-anatomy-grid small {
  color: var(--portal-muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.decent-inline-link {
  color: #124f86;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.decent-section-head > .decent-inline-link {
  flex: 0 0 auto;
  margin-top: 0;
}

.decent-responsibility-grid,
.decent-source-use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.85rem;
}

.decent-function-search {
  position: relative;
}

.decent-function-search i {
  color: #7b8b99;
  left: 0.85rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.decent-function-search .form-control {
  border-color: #b8c7d8;
  min-height: 44px;
  padding-left: 2.35rem;
}

.decent-search-help,
.decent-caption {
  color: var(--portal-muted);
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0.55rem 0 0;
}

.decent-function-group[hidden],
.decent-function-list li[hidden],
.decent-function-empty[hidden] {
  display: none !important;
}

.decent-function-list {
  column-count: 3;
  column-gap: 1.5rem;
  counter-reset: decentralisation-function;
  list-style: none;
  margin: 0;
  padding: 0;
}

.decent-function-list li {
  break-inside: avoid;
  color: #465a69;
  counter-increment: decentralisation-function;
  font-size: 0.78rem;
  line-height: 1.45;
  margin-bottom: 0.38rem;
  padding-left: 1.55rem;
  position: relative;
}

.decent-function-list li::before {
  align-items: center;
  background: #e7f1fb;
  border-radius: 50%;
  color: #124f86;
  content: counter(decentralisation-function);
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0.05rem;
  width: 18px;
}

.decent-function-empty {
  align-items: center;
  color: #52616f;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: center;
}

.decent-function-empty i {
  color: #124f86;
  font-size: 1.3rem;
}

.decent-function-empty strong {
  color: #172b4d;
}

.decent-function-empty p {
  margin: 0;
}

.decent-participation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.85rem;
}

.decent-participation-grid article {
  display: flex;
  gap: 0.75rem;
}

.decent-participation-grid article > span {
  margin-bottom: 0;
}

.decent-participation-grid article > div > strong {
  color: #172b4d;
  display: block;
  font-size: 0.76rem;
  margin-top: 0.65rem;
  text-transform: uppercase;
}

.decent-question-list,
.decent-method-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.decent-question-list > div,
.decent-method-list li {
  align-items: flex-start;
  display: flex;
  gap: 0.6rem;
}

.decent-question-list p,
.decent-method-list p {
  font-size: 0.78rem;
}

.decent-question-list p strong {
  color: #172b4d;
}

.decent-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.decent-tag-list span {
  background: #eef4fa;
  border: 1px solid #cbd8e6;
  border-radius: 999px;
  color: #40566a;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
}

.decent-monitoring-split {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.decent-monitoring-card {
  border-top: 3px solid #2f855a;
}

.decent-check-list,
.decent-alert-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.decent-check-list li,
.decent-alert-list li {
  align-items: flex-start;
  color: #465a69;
  display: flex;
  font-size: 0.79rem;
  gap: 0.5rem;
  line-height: 1.5;
}

.decent-check-list li::before {
  color: #2f855a;
  content: "\f058";
  flex: 0 0 auto;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-top: 0.08rem;
}

.decent-alert-list i {
  color: #b7791f;
  margin-top: 0.18rem;
}

.decent-finding-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.decent-finding-grid article {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  padding: 0.85rem;
}

.decent-finding-grid strong,
.decent-finding-grid span {
  display: block;
}

.decent-finding-grid strong {
  color: #124f86;
  font-size: 1.35rem;
  font-weight: 800;
}

.decent-finding-grid span {
  color: #52616f;
  font-size: 0.74rem;
  line-height: 1.45;
  margin-top: 0.25rem;
}

.decent-dashboard-cta {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.decent-dashboard-cta p {
  max-width: 760px;
}

.decent-dashboard-cta .btn {
  flex: 0 0 auto;
}

.decent-video-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.decent-video-card {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  overflow: hidden;
}

.decent-video-frame {
  background: #0b1622;
  padding-top: 56.25%;
  position: relative;
}

.decent-video-frame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.decent-video-copy {
  padding: 0.9rem;
}

.decent-video-copy > small {
  color: #9b2c2c;
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 0.28rem;
  text-transform: uppercase;
}

.decent-video-copy h3 {
  color: #172b4d;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 0.35rem;
}

.decent-video-copy p {
  color: #52616f;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0;
}

.decent-video-copy a {
  color: #124f86;
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  margin-top: 0.7rem;
}

.decent-resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decent-resource-card {
  display: flex;
  gap: 0.75rem;
}

.decent-resource-card > span {
  margin-bottom: 0;
}

.decent-resource-card > div > small {
  color: #607487;
  display: block;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.decent-resource-card h3 {
  font-size: 0.94rem;
}

.decent-resource-card p {
  font-size: 0.78rem;
}

.decent-resource-card a {
  color: #124f86;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 0.75rem;
}

.decent-resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.decent-resource-meta span {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #607487;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.42rem;
}

.decent-page-nav {
  margin-top: 1rem;
  padding: 1rem;
}

.decent-page-nav > div {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decent-page-nav a {
  align-items: center;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #40566a;
  display: flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem;
}

.decent-page-nav a:hover {
  border-color: #9fb3c8;
  color: #124f86;
  text-decoration: none;
}

.decent-page-nav i {
  color: #124f86;
  width: 18px;
}

.decent-hub-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decent-hub-grid > a {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 0.85rem;
}

.decent-hub-grid > a:hover {
  border-color: #9fb3c8;
  color: inherit;
  text-decoration: none;
}

.decent-hub-grid strong,
.decent-hub-grid small,
.decent-hub-grid em {
  display: block;
}

.decent-hub-grid strong {
  color: #172b4d;
  font-size: 0.87rem;
}

.decent-hub-grid small {
  color: #52616f;
  font-size: 0.75rem;
  line-height: 1.45;
  margin-top: 0.3rem;
}

.decent-hub-grid em {
  color: #124f86;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  margin-top: auto;
  padding-top: 0.65rem;
}

.decent-policy-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.decent-policy-summary-grid article {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
}

.decent-policy-summary-grid article > span {
  height: 32px;
  margin-bottom: 0;
  width: 32px;
}

.decent-policy-summary-grid strong {
  color: #172b4d;
  display: block;
  font-size: 0.79rem;
  line-height: 1.35;
}

.decent-policy-summary-grid p {
  color: #52616f;
  font-size: 0.72rem;
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.decent-source-panel a {
  color: #124f86;
}

@media (max-width: 1199.98px) {
  .decent-hub-grid,
  .decent-policy-summary-grid,
  .decent-resource-grid,
  .decent-responsibility-grid,
  .decent-source-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decent-finding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decent-function-list {
    column-count: 2;
  }
}

@media (max-width: 767.98px) {
  .decent-explainer-grid,
  .decent-principle-grid,
  .decent-policy-grid,
  .decent-participation-grid,
  .decent-monitoring-split,
  .decent-hub-grid,
  .decent-policy-summary-grid,
  .decent-resource-grid,
  .decent-responsibility-grid,
  .decent-source-use-grid,
  .decent-page-nav > div {
    grid-template-columns: 1fr;
  }

  .decent-function-list {
    column-count: 1;
  }

  .decent-dashboard-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .decent-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .decent-info-lead,
  .decent-status-banner,
  .decent-policy-card,
  .decent-participation-grid article,
  .decent-resource-card,
  .decent-policy-summary-grid article {
    align-items: flex-start;
    flex-direction: column;
  }

  .decent-anatomy-grid,
  .decent-finding-grid {
    grid-template-columns: 1fr;
  }

  .decent-timeline article {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .decent-section-head > .decent-inline-link {
    margin-top: 0.35rem;
  }
}

.proc-watch {
  padding-bottom: 0.75rem;
}

.proc-hero,
.proc-panel,
.proc-stat,
.proc-source-panel {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.proc-hero {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.proc-hero-copy {
  min-width: 0;
}

.proc-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.proc-kicker {
  color: #9a5d00;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.proc-hero h2,
.proc-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.proc-hero p,
.proc-panel p {
  color: #52616f;
  line-height: 1.65;
  margin-bottom: 0;
}

.proc-source-note {
  align-items: flex-start;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #465a69;
  display: flex;
  font-size: 0.8rem;
  gap: 0.55rem;
  line-height: 1.55;
  margin-top: 0.9rem;
  padding: 0.7rem;
}

.proc-source-note i {
  color: #b7791f;
  margin-top: 0.2rem;
}

.proc-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.proc-watch a {
  color: #124f86;
  font-weight: 700;
}

.proc-watch a:hover {
  color: #0b3d66;
}

.proc-source-panel {
  background: #f7fafc;
  border-left: 4px solid #b7791f;
  padding: 0.95rem;
}

.proc-source-panel > span,
.proc-stat span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
}

.proc-source-panel > span {
  background: #fff7df;
  color: #9a5d00;
  height: 38px;
  margin-bottom: 0.75rem;
  width: 38px;
}

.proc-source-panel > strong,
.proc-source-panel > small {
  display: block;
}

.proc-source-panel > strong {
  color: #172b4d;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.proc-source-panel > small {
  color: var(--portal-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.proc-source-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.8rem;
}

.proc-source-grid div,
.proc-signal-grid div,
.proc-risk-summary div,
.proc-value-stack div,
.proc-rank-list article,
.proc-watchlist article {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
}

.proc-source-grid div {
  padding: 0.65rem 0.75rem;
}

.proc-source-grid strong,
.proc-source-grid small {
  display: block;
}

.proc-source-grid strong {
  color: #172b4d;
  font-size: 0.9rem;
  line-height: 1.2;
}

.proc-source-grid small {
  color: var(--portal-muted);
  font-size: 0.74rem;
  line-height: 1.4;
  margin-top: 0.2rem;
}

.proc-detail-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proc-detail-grid div {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  padding: 0.72rem 0.75rem;
}

.proc-detail-grid span,
.proc-detail-grid strong {
  display: block;
}

.proc-detail-grid span {
  color: var(--portal-muted);
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.proc-detail-grid strong {
  color: #172b4d;
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.proc-detail-grid-wide {
  grid-column: span 2;
}

.proc-stat {
  min-height: 118px;
  padding: 1rem;
}

.proc-stat span {
  height: 34px;
  margin-bottom: 0.8rem;
  width: 34px;
}

.proc-stat strong {
  color: #172b4d;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.proc-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.proc-stat-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.proc-stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.proc-stat-gold span {
  background: #fff7df;
  color: #9a5d00;
}

.proc-stat-red span {
  background: #fff0f0;
  color: #9b2c2c;
}

.proc-panel {
  padding: 1rem;
}

.proc-section-head {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.proc-section-head h3 {
  margin-bottom: 0;
}

.proc-pill {
  background: #f0f4f8;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #52616f;
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.36rem 0.55rem;
}

.proc-chart {
  height: 285px;
  min-height: 285px;
  position: relative;
}

.proc-chart-wide {
  height: 330px;
  min-height: 330px;
}

.proc-chart-compact {
  height: 330px;
  min-height: 330px;
}

.proc-chart-risk {
  height: 210px;
  min-height: 210px;
}

.proc-signal-grid,
.proc-risk-summary,
.proc-value-stack,
.proc-rank-list,
.proc-watchlist {
  display: grid;
  gap: 0.55rem;
}

.proc-signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.85rem;
}

.proc-signal-grid div,
.proc-risk-summary div,
.proc-value-stack div {
  padding: 0.75rem;
}

.proc-signal-grid strong,
.proc-risk-summary strong,
.proc-value-stack strong {
  color: #172b4d;
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.proc-signal-grid span,
.proc-risk-summary span,
.proc-value-stack span {
  color: #52616f;
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 0.3rem;
}

.proc-signal-grid small,
.proc-risk-summary small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.74rem;
  line-height: 1.4;
  margin-top: 0.2rem;
}

.proc-risk-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.75rem;
}

.proc-risk-clean strong {
  color: #2f855a;
}

.proc-risk-flagged strong {
  color: #9b2c2c;
}

.proc-value-stack strong {
  font-size: 1.35rem;
  margin-top: 0.2rem;
}

.proc-watchlist article {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.24fr);
  padding: 0.75rem;
}

.proc-watchlist strong,
.proc-watchlist small,
.proc-watchlist em,
.proc-rank-list strong,
.proc-rank-list span,
.proc-rank-list small {
  display: block;
}

.proc-watchlist strong,
.proc-rank-list strong {
  color: #172b4d;
  font-size: 0.84rem;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.proc-watchlist small,
.proc-rank-list small {
  color: var(--portal-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 0.18rem;
}

.proc-watchlist em {
  color: #0b7285;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.proc-rank-list article {
  display: grid;
  gap: 0.2rem 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.72rem 0.75rem;
}

.proc-rank-list strong {
  margin-top: 0;
}

.proc-rank-list span {
  color: #9a5d00;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.proc-rank-list small {
  grid-column: 1 / -1;
}

.proc-badge,
.proc-label {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.1rem 0.12rem 0.1rem 0;
  padding: 0.28rem 0.48rem;
  vertical-align: middle;
  white-space: nowrap;
}

.proc-badge-high {
  background: #fff0f0;
  color: #9b2c2c;
}

.proc-badge-medium {
  background: #fff7df;
  color: #8a5a17;
}

.proc-badge-low {
  background: #e7f1fb;
  color: #124f86;
}

.proc-badge-clear {
  background: #e6f4ea;
  color: #2f855a;
}

.proc-label {
  background: #f0f4f8;
  color: #52616f;
}

.proc-label-muted {
  color: var(--portal-muted);
}

.proc-load-state {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #52616f;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
}

.proc-table-cell {
  display: grid;
  gap: 0.18rem;
  min-width: 260px;
}

.proc-table-cell strong {
  color: #172b4d;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.proc-table-cell small {
  color: var(--portal-muted);
  font-size: 0.74rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.proc-ref {
  color: #124f86;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.proc-muted {
  color: var(--portal-muted);
  font-size: 0.76rem;
}

.proc-watch .card-header,
.proc-watch table.dataTable {
  border-color: var(--portal-border);
}

.proc-watch .table td,
.proc-watch .table th {
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  .proc-hero {
    grid-template-columns: 1fr;
  }

  .proc-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proc-chart,
  .proc-chart-wide,
  .proc-chart-compact,
  .proc-chart-risk {
    height: 300px;
    min-height: 300px;
  }
}

@media (max-width: 575.98px) {
  .proc-hero,
  .proc-panel,
  .proc-stat,
  .proc-source-panel {
    padding: 0.85rem;
  }

  .proc-section-head,
  .proc-watchlist article,
  .proc-rank-list article {
    display: block;
  }

  .proc-source-grid,
  .proc-signal-grid,
  .proc-risk-summary,
  .proc-detail-grid {
    grid-template-columns: 1fr;
  }

  .proc-detail-grid-wide {
    grid-column: auto;
  }

  .proc-watchlist em {
    margin-top: 0.45rem;
    text-align: left;
  }

  .proc-downloads .btn {
    width: 100%;
  }
}

.election-results {
  margin-top: 0.25rem;
}

.election-results-panel {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
  padding: 1rem;
}

.election-results-panel-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.election-results-panel-head h3 {
  color: #172b4d;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}

.election-results-panel-head p {
  color: var(--portal-muted);
  line-height: 1.55;
  margin: 0;
}

.election-results-toolbar {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.45rem;
}

.election-results-toolbar label {
  color: #52616f;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
}

.election-results-toolbar select {
  min-width: 92px;
}

.election-results-stat-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.election-results-stat {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  min-height: 138px;
  padding: 0.85rem;
}

.election-results-stat span {
  align-items: center;
  background: #e7f1fb;
  border-radius: 50%;
  color: #124f86;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 0.75rem;
  width: 34px;
}

.election-results-stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.election-results-stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.election-results-stat-red span {
  background: #fdecec;
  color: #c53030;
}

.election-results-stat strong,
.election-results-stat small,
.election-results-stat em {
  display: block;
}

.election-results-stat strong {
  color: #172b4d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.3rem;
  overflow-wrap: anywhere;
}

.election-results-stat small {
  color: #243447;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.election-results-stat em {
  color: var(--portal-muted);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.4;
}

.election-results-chart {
  height: 340px;
  position: relative;
}

.election-results-chart-small {
  height: 300px;
}

.election-results-chart canvas {
  height: 100% !important;
  width: 100% !important;
}

.election-results-map {
  background: #eef3f7;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  height: 430px;
  overflow: hidden;
  position: relative;
}

.election-results-map-message {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.election-results-map-message > div {
  max-width: 340px;
}

.election-results-map-message i {
  color: #124f86;
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.election-results-map-message strong,
.election-results-map-message span {
  display: block;
}

.election-results-map-message strong {
  color: #172b4d;
  margin-bottom: 0.35rem;
}

.election-results-map-message span {
  color: var(--portal-muted);
}

.election-results-popup strong,
.election-results-popup span {
  display: block;
}

.election-results-popup strong {
  color: #172b4d;
  margin-bottom: 0.25rem;
}

.election-results-popup span {
  color: #52616f;
  font-size: 0.78rem;
}

.election-results-table-wrap {
  max-height: 430px;
  overflow: auto;
}

.election-results-table {
  margin-bottom: 0;
}

.election-results-table th {
  background: #f7fafc;
  color: #172b4d;
  font-size: 0.76rem;
  position: sticky;
  top: 0;
  z-index: 1;
}

.election-results-table td {
  color: #52616f;
  font-size: 0.78rem;
  vertical-align: middle;
}

.election-results-source-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.election-results-source-grid a {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  color: inherit;
  display: block;
  min-height: 112px;
  padding: 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.election-results-source-grid a:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.election-results-source-grid strong,
.election-results-source-grid small {
  display: block;
}

.election-results-source-grid strong {
  color: #172b4d;
  font-size: 0.84rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.election-results-source-grid small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.election-incidents-notice {
  align-items: flex-start;
  background: #fffaf0;
  border: 1px solid #efd89a;
  border-radius: 0.35rem;
  color: #674f12;
  display: flex;
  font-size: 0.78rem;
  gap: 0.65rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
}

.election-incidents-notice i {
  color: #b7791f;
  margin-top: 0.15rem;
}

.election-incidents-notice strong {
  display: block;
  margin-bottom: 0.1rem;
}

.election-incidents-map {
  height: 540px;
}

.election-incidents-chart {
  height: 390px;
}

.election-incidents-chart-wide {
  height: 320px;
}

.election-incidents-tooltip {
  max-width: 285px;
  min-width: 210px;
}

.election-incidents-tooltip strong,
.election-incidents-tooltip span,
.election-incidents-tooltip em,
.election-incidents-tooltip small {
  display: block;
}

.election-incidents-tooltip strong {
  color: #172b4d;
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}

.election-incidents-tooltip span,
.election-incidents-tooltip em {
  color: #52616f;
  font-size: 0.74rem;
  font-style: normal;
}

.election-incidents-tooltip em {
  font-weight: 700;
  margin-top: 0.25rem;
}

.election-incidents-tooltip small {
  color: #172b4d;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.55rem;
  text-transform: uppercase;
}

.election-incidents-tooltip ul {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}

.election-incidents-tooltip li {
  align-items: center;
  color: #52616f;
  display: flex;
  font-size: 0.72rem;
  gap: 0.4rem;
  line-height: 1.35;
  margin-top: 0.18rem;
}

.election-incidents-tooltip li i {
  border-radius: 50%;
  flex: 0 0 8px;
  height: 8px;
  width: 8px;
}

.election-incidents-tooltip li span {
  flex: 1 1 auto;
}

.election-incidents-tooltip li b {
  color: #172b4d;
  flex: 0 0 auto;
  font-size: 0.74rem;
  margin-left: 0.45rem;
  text-align: right;
}

.election-incidents-map-legend {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #ccd6e0;
  border-radius: 0.3rem;
  box-shadow: 0 1px 4px rgba(23, 43, 77, 0.16);
  color: #52616f;
  line-height: 1.25;
  padding: 0.55rem 0.65rem;
}

.election-incidents-map-legend strong,
.election-incidents-map-legend span {
  display: block;
}

.election-incidents-map-legend strong {
  color: #172b4d;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}

.election-incidents-map-legend span {
  font-size: 0.68rem;
  margin-top: 0.2rem;
}

.election-incidents-map-legend i {
  border: 1px solid rgba(23, 43, 77, 0.15);
  display: inline-block;
  height: 10px;
  margin-right: 0.35rem;
  vertical-align: -1px;
  width: 15px;
}

.election-incidents-method {
  background: #f7fafc;
  border-left: 4px solid #124f86;
  border-radius: 0.3rem;
  color: #52616f;
  font-size: 0.78rem;
  line-height: 1.55;
  padding: 0.85rem 1rem;
}

.election-incidents-method strong {
  color: #172b4d;
}

.cdf-watch {
  padding-bottom: 0.75rem;
}

.cdf-hero,
.cdf-panel,
.cdf-stat,
.cdf-source-panel {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.cdf-hero {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.cdf-hero-copy {
  min-width: 0;
}

.cdf-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cdf-kicker {
  color: #0b7285;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.cdf-hero h2,
.cdf-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.cdf-hero p,
.cdf-panel p {
  color: #52616f;
  line-height: 1.65;
  margin-bottom: 0;
}

.cdf-source-note {
  align-items: flex-start;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #465a69;
  display: flex;
  font-size: 0.8rem;
  gap: 0.55rem;
  line-height: 1.55;
  margin-top: 0.9rem;
  padding: 0.7rem;
}

.cdf-source-note i {
  color: #2f855a;
  margin-top: 0.2rem;
}

.cdf-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.cdf-source-panel {
  background: #f7fafc;
  border-left: 4px solid #2f855a;
  padding: 0.95rem;
}

.cdf-source-panel > span,
.cdf-stat span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
}

.cdf-source-panel > span {
  background: #e6f4ea;
  color: #2f855a;
  height: 38px;
  margin-bottom: 0.75rem;
  width: 38px;
}

.cdf-source-panel > strong,
.cdf-source-panel > small {
  display: block;
}

.cdf-source-panel > strong {
  color: #172b4d;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.cdf-source-panel > small {
  color: var(--portal-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.cdf-source-links,
.cdf-report-grid {
  display: grid;
  gap: 0.55rem;
}

.cdf-source-links {
  margin-top: 0.8rem;
}

.cdf-source-links a,
.cdf-report-grid a {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: inherit;
  display: block;
  padding: 0.65rem 0.75rem;
}

.cdf-source-links a:hover,
.cdf-report-grid a:hover {
  border-color: #b8c7d8;
  color: #124f86;
  text-decoration: none;
}

.cdf-source-links strong,
.cdf-source-links small,
.cdf-report-grid strong,
.cdf-report-grid span,
.cdf-report-grid small {
  display: block;
}

.cdf-source-links strong,
.cdf-report-grid strong {
  color: #172b4d;
  font-size: 0.84rem;
  line-height: 1.35;
}

.cdf-source-links small,
.cdf-report-grid small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.45;
  margin-top: 0.18rem;
}

.cdf-report-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 0.85rem;
}

.cdf-report-grid span {
  color: #0b7285;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.cdf-stat {
  min-height: 118px;
  padding: 1rem;
}

.cdf-stat span {
  height: 34px;
  margin-bottom: 0.8rem;
  width: 34px;
}

.cdf-stat strong {
  color: #172b4d;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.cdf-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.cdf-stat-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.cdf-stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.cdf-stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.cdf-stat-red span {
  background: #fff0f0;
  color: #9b2c2c;
}

.cdf-panel {
  padding: 1rem;
}

.cdf-section-head {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.cdf-section-head h3 {
  margin-bottom: 0;
}

.cdf-pill {
  background: #f0f4f8;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #52616f;
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.36rem 0.55rem;
}

.cdf-chart {
  height: 290px;
  min-height: 290px;
  position: relative;
}

.cdf-chart-wide {
  height: 330px;
  min-height: 330px;
}

.cdf-chart-compact {
  height: 330px;
  min-height: 330px;
}

.cdf-panel-note {
  background: #f7fafc;
  border-left: 3px solid #0b7285;
  color: #52616f;
  font-size: 0.82rem;
  margin: 0.8rem 0 1rem;
  padding: 0.7rem 0.85rem;
}

.cdf-map-head {
  align-items: center;
}

.cdf-map-toolbar {
  min-width: 118px;
}

.cdf-map {
  background: #eef2f7;
  border: 1px solid var(--portal-border);
  border-radius: 6px;
  height: 460px;
  overflow: hidden;
  width: 100%;
}

.cdf-map-empty {
  align-items: center;
  color: var(--portal-muted);
  display: flex;
  font-size: 0.9rem;
  height: 100%;
  justify-content: center;
  text-align: center;
}

.cdf-map-legend {
  align-items: center;
  color: #52616f;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.76rem;
  gap: 0.5rem 0.85rem;
  margin-top: 0.7rem;
}

.cdf-map-legend span {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  white-space: nowrap;
}

.cdf-swatch {
  border: 1px solid rgba(23, 43, 77, 0.18);
  border-radius: 3px;
  display: inline-block;
  height: 0.75rem;
  width: 0.75rem;
}

.cdf-swatch-green {
  background: #2f855a;
}

.cdf-swatch-blue {
  background: #124f86;
}

.cdf-swatch-gold {
  background: #b7791f;
}

.cdf-swatch-red {
  background: #9b2c2c;
}

.cdf-swatch-muted {
  background: #cbd5e0;
}

.cdf-utilisation-popup {
  color: #172b4d;
  display: grid;
  gap: 0.35rem;
  min-width: 210px;
}

.cdf-utilisation-popup strong {
  font-size: 0.95rem;
}

.cdf-utilisation-popup span,
.cdf-utilisation-popup small {
  color: #52616f;
}

.cdf-utilisation-popup dl {
  display: grid;
  gap: 0.2rem 0.75rem;
  grid-template-columns: auto 1fr;
  margin: 0.25rem 0;
}

.cdf-utilisation-popup dt {
  color: #52616f;
  font-weight: 600;
}

.cdf-utilisation-popup dd {
  font-weight: 700;
  margin: 0;
}

.cdf-utilisation-popup a {
  color: #124f86;
  font-weight: 700;
}

.cdf-detail-map {
  height: 360px;
}

.cdf-detail-balance {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 6px;
  margin: 0.85rem 0;
  padding: 1rem;
}

.cdf-detail-balance strong {
  color: #172b4d;
  display: block;
  font-size: 1.65rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.cdf-detail-balance span {
  color: #52616f;
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
}

.cdf-overall-list {
  display: grid;
}

.cdf-overall-list article {
  border-top: 1px solid var(--portal-border);
  display: grid;
  gap: 0.18rem;
  grid-template-columns: auto 1fr;
  padding: 0.85rem 0;
}

.cdf-overall-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.cdf-overall-list span {
  color: #0b7285;
  font-size: 0.78rem;
  font-weight: 800;
  grid-row: span 3;
  min-width: 3.2rem;
  text-transform: uppercase;
}

.cdf-overall-list strong {
  color: #172b4d;
  font-size: 1.45rem;
  line-height: 1;
}

.cdf-overall-list small,
.cdf-overall-list em {
  color: #52616f;
  font-size: 0.78rem;
  font-style: normal;
}

.cdf-badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.48rem;
}

.cdf-badge-blue {
  background: #e7f1fb;
  color: #124f86;
}

.cdf-badge-green {
  background: #e6f4ea;
  color: #2f855a;
}

.cdf-badge-gold {
  background: #fff7df;
  color: #8a5a17;
}

.cdf-badge-red {
  background: #fff0f0;
  color: #9b2c2c;
}

.cdf-badge-purple {
  background: #f0ebfa;
  color: #553c9a;
}

.cdf-badge-teal {
  background: #e6fffb;
  color: #0b7285;
}

.cdf-badge-sky {
  background: #e6f7ff;
  color: #1c5d99;
}

.cdf-badge-muted {
  background: #f0f4f8;
  color: #52616f;
}

.cdf-observation-cell {
  display: grid;
  gap: 0.18rem;
  min-width: 260px;
}

.cdf-observation-cell strong {
  color: #172b4d;
  font-size: 0.8rem;
  line-height: 1.35;
}

.cdf-observation-cell strong a {
  color: #124f86;
}

.cdf-observation-cell span,
.cdf-observation-cell small {
  color: #52616f;
  font-size: 0.76rem;
  line-height: 1.45;
}

.cdf-watch .card-header,
.cdf-watch table.dataTable {
  border-color: var(--portal-border);
}

@media (max-width: 991.98px) {
  .election-results-stat-grid,
  .election-results-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .election-results-chart,
  .election-results-chart-small {
    height: 300px;
  }

  .election-results-map {
    height: 380px;
  }

  .election-incidents-map {
    height: 460px;
  }

  .election-incidents-chart,
  .election-incidents-chart-wide {
    height: 310px;
  }

  .cdf-hero {
    grid-template-columns: 1fr;
  }

  .cdf-chart,
  .cdf-chart-wide,
  .cdf-chart-compact {
    height: 300px;
    min-height: 300px;
  }

  .cdf-map {
    height: 380px;
  }
}

@media (max-width: 575.98px) {
  .election-results-panel,
  .election-results-stat {
    padding: 0.85rem;
  }

  .election-results-panel-head {
    flex-direction: column;
  }

  .election-results-toolbar {
    width: 100%;
  }

  .election-results-toolbar select {
    flex: 1 1 auto;
  }

  .election-results-stat-grid,
  .election-results-source-grid {
    grid-template-columns: 1fr;
  }

  .election-results-chart,
  .election-results-chart-small {
    height: 270px;
  }

  .election-results-map {
    height: 320px;
  }

  .election-incidents-map {
    height: 400px;
  }

  .election-incidents-chart,
  .election-incidents-chart-wide {
    height: 280px;
  }

  .cdf-hero,
  .cdf-panel,
  .cdf-stat,
  .cdf-source-panel {
    padding: 0.85rem;
  }

  .cdf-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cdf-downloads .btn {
    width: 100%;
  }

  .cdf-chart,
  .cdf-chart-wide,
  .cdf-chart-compact {
    height: 260px;
    min-height: 260px;
  }

  .cdf-map-toolbar,
  .cdf-map-toolbar select {
    width: 100%;
  }

  .cdf-map {
    height: 320px;
  }

  .cdf-map-legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .cdf-overall-list article {
    grid-template-columns: 1fr;
  }

  .cdf-overall-list span {
    grid-row: auto;
  }
}

.datasets-section {
  padding-bottom: 0.75rem;
}

.datasets-hero,
.datasets-panel,
.datasets-card {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.datasets-hero {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.datasets-hero-compact {
  border-left: 4px solid var(--portal-primary);
}

.datasets-kicker {
  color: #124f86;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.datasets-hero h2,
.datasets-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.datasets-hero p,
.datasets-panel p {
  color: var(--portal-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.datasets-hero-icon,
.datasets-card span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.datasets-hero-icon {
  background: #eef5fc;
  color: var(--portal-primary);
  font-size: 1.45rem;
  height: 52px;
  width: 52px;
}

.datasets-hero-icon-blue {
  background: #e7f1fb;
  color: #124f86;
}

.datasets-hero-icon-green {
  background: #e6f4ea;
  color: #2f855a;
}

.datasets-hero-icon-warning {
  background: #fff7df;
  color: #b7791f;
}

.datasets-card {
  color: inherit;
  display: block;
  height: 100%;
  min-height: 210px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.datasets-card:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.datasets-card span {
  height: 38px;
  margin-bottom: 0.9rem;
  width: 38px;
}

.datasets-card-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.datasets-card-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.datasets-card-warning span {
  background: #fff7df;
  color: #b7791f;
}

.datasets-card strong,
.datasets-card small,
.datasets-card em {
  display: block;
}

.datasets-card strong {
  color: #172b4d;
  font-size: 0.98rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.datasets-card small {
  color: var(--portal-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.datasets-card em {
  color: #124f86;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  margin-top: 0.9rem;
}

.datasets-panel {
  padding: 1rem;
}

.datasets-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.datasets-focus-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.datasets-focus-list li {
  align-items: center;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #52616f;
  display: flex;
  font-size: 0.82rem;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
}

.datasets-focus-list i {
  color: #2f855a;
}

.civic-space-report {
  padding-bottom: 0.75rem;
}

.civic-space-hero,
.civic-space-panel,
.civic-space-overview-card,
.civic-space-stat,
.civic-space-lens {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.civic-space-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.civic-space-hero-copy {
  min-width: 0;
}

.civic-space-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.civic-space-kicker {
  color: #9b2c2c;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.civic-space-hero h2,
.civic-space-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.civic-space-hero p,
.civic-space-panel p {
  color: #52616f;
  line-height: 1.65;
  margin-bottom: 0;
}

.civic-space-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.civic-space-hero-overview {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.32fr);
}

.civic-space-overview-card {
  align-items: flex-start;
  color: inherit;
  display: flex;
  gap: 0.85rem;
  height: 100%;
  min-height: 170px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.civic-space-overview-card:hover {
  border-color: #b8c7d8;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.civic-space-overview-card > span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.civic-space-overview-card-report > span {
  background: #fff0f0;
  color: #9b2c2c;
}

.civic-space-overview-card-surveys > span {
  background: #e6f4ea;
  color: #2f855a;
}

.civic-space-overview-card strong,
.civic-space-overview-card small,
.civic-space-overview-card em {
  display: block;
}

.civic-space-overview-card strong {
  color: #172b4d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.civic-space-overview-card small {
  color: #52616f;
  font-size: 0.8rem;
  line-height: 1.55;
}

.civic-space-overview-card em {
  color: #124f86;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  margin-top: 0.8rem;
}

.civic-space-report-cover {
  align-self: center;
  background: #080468;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  display: block;
  justify-self: end;
  max-width: 280px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
  width: 100%;
}

.civic-space-report-cover:hover {
  border-color: #b8c7d8;
  transform: translateY(-1px);
}

.civic-space-report-cover img {
  display: block;
  height: auto;
  width: 100%;
}

.civic-space-hero-panel {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-left: 4px solid #9b2c2c;
  border-radius: 0.35rem;
  padding: 0.9rem;
}

.civic-space-hero-media {
  align-self: center;
  display: grid;
  gap: 0.85rem;
  justify-items: end;
  min-width: 0;
}

.civic-space-hero-image {
  align-self: center;
  display: block;
  height: auto;
  justify-self: end;
  max-width: 260px;
  object-fit: contain;
  width: 100%;
}

.civic-space-hero-image-small {
  max-width: 180px;
}

.civic-space-hero-panel span,
.civic-space-stat span,
.civic-space-lens > span,
.civic-space-evidence-list span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
}

.civic-space-hero-panel span {
  background: #fff0f0;
  color: #9b2c2c;
  height: 38px;
  margin-bottom: 0.75rem;
  width: 38px;
}

.civic-space-hero-panel strong {
  color: #172b4d;
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.civic-space-hero-panel p {
  color: #52616f;
  font-size: 0.8rem;
  line-height: 1.58;
}

.civic-space-stat {
  min-height: 116px;
  padding: 1rem;
}

.civic-space-stat span {
  height: 34px;
  margin-bottom: 0.8rem;
  width: 34px;
}

.civic-space-stat strong {
  color: #172b4d;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.civic-space-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.civic-space-stat-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.civic-space-stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.civic-space-stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.civic-space-stat-red span {
  background: #fff0f0;
  color: #9b2c2c;
}

.civic-space-panel {
  padding: 1rem;
}

.civic-space-panel-lead {
  border-left: 4px solid #124f86;
}

.civic-space-question-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.civic-space-question-grid > div {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  padding: 0.75rem;
}

.civic-space-question-grid i {
  color: #2f855a;
  margin-bottom: 0.55rem;
}

.civic-space-question-grid strong,
.civic-space-question-grid small {
  display: block;
}

.civic-space-question-grid strong {
  color: #172b4d;
  font-size: 0.86rem;
  line-height: 1.35;
}

.civic-space-question-grid small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.civic-space-link-list {
  display: grid;
  gap: 0.5rem;
}

.civic-space-link-list a {
  align-items: center;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #334e68;
  display: flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.55rem;
  line-height: 1.35;
  padding: 0.62rem 0.7rem;
}

.civic-space-link-list a:hover {
  border-color: #b8c7d8;
  color: #124f86;
  text-decoration: none;
}

.civic-space-link-list i {
  color: #9b2c2c;
  width: 1rem;
}

.civic-space-survey-links {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.civic-space-lens-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 0.95rem;
}

.civic-space-lens {
  min-height: 100%;
  padding: 0.9rem;
}

.civic-space-lens > span {
  background: #e7f1fb;
  color: #124f86;
  height: 36px;
  margin-bottom: 0.75rem;
  width: 36px;
}

.civic-space-lens h4 {
  color: #172b4d;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.civic-space-lens p {
  color: #52616f;
  font-size: 0.8rem;
  line-height: 1.58;
  margin-bottom: 0.7rem;
}

.civic-space-lens ul,
.civic-space-action-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.civic-space-lens li {
  align-items: flex-start;
  color: #465a69;
  display: flex;
  font-size: 0.76rem;
  gap: 0.4rem;
  line-height: 1.45;
  margin-top: 0.35rem;
}

.civic-space-lens li i {
  color: #2f855a;
  margin-top: 0.18rem;
}

.civic-space-evidence-list {
  display: grid;
  gap: 0.65rem;
}

.civic-space-evidence-list > div {
  align-items: flex-start;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  display: flex;
  gap: 0.65rem;
  padding: 0.7rem;
}

.civic-space-evidence-list span {
  background: #e6f4ea;
  color: #2f855a;
  flex: 0 0 auto;
  height: 32px;
  width: 32px;
}

.civic-space-evidence-list strong,
.civic-space-evidence-list small {
  display: block;
}

.civic-space-evidence-list strong {
  color: #172b4d;
  font-size: 0.86rem;
  line-height: 1.35;
}

.civic-space-evidence-list small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  margin-top: 0.2rem;
}

.civic-space-action-list {
  display: grid;
  gap: 0.55rem;
}

.civic-space-action-list li {
  align-items: flex-start;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #465a69;
  display: flex;
  font-size: 0.8rem;
  gap: 0.55rem;
  line-height: 1.5;
  padding: 0.65rem;
}

.civic-space-action-list span {
  align-items: center;
  background: #fff0f0;
  border-radius: 50%;
  color: #9b2c2c;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  width: 24px;
}

@media (max-width: 991.98px) {
  .civic-space-hero,
  .civic-space-question-grid {
    grid-template-columns: 1fr;
  }

  .civic-space-report-cover {
    justify-self: start;
    max-width: 240px;
  }

  .civic-space-hero-image {
    justify-self: start;
    max-width: 240px;
  }

  .civic-space-hero-media {
    justify-items: start;
  }

  .civic-space-hero-image-small {
    max-width: 180px;
  }
}

@media (max-width: 575.98px) {
  .content-header h1,
  .portal-page-title {
    font-size: 1rem;
  }

  .corruption-hero,
  .local-lens-hero,
  .datasets-hero,
  .civic-space-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .civic-space-hero,
  .civic-space-panel,
  .civic-space-stat,
  .civic-space-lens {
    padding: 0.85rem;
  }

  .civic-space-report-cover {
    max-width: 220px;
  }

  .civic-space-hero-image {
    max-width: 220px;
  }

  .civic-space-hero-image-small {
    max-width: 160px;
  }

  .main-footer .float-right {
    display: none !important;
  }
}

.cost-politics {
  padding-bottom: 0.75rem;
}

.cost-politics-hero,
.cost-politics-panel,
.cost-politics-stat,
.cost-politics-priority,
.cost-politics-chart-card {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.cost-politics-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  margin-bottom: 1rem;
}

.cost-politics-hero-copy {
  padding: 1.25rem;
}

.cost-politics-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.cost-politics-kicker {
  color: #124f86;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.cost-politics-hero h2,
.cost-politics-panel h3 {
  color: #172b4d;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.cost-politics-hero p,
.cost-politics-panel p {
  color: #52616f;
  line-height: 1.65;
}

.cost-politics-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.cost-politics-cover {
  align-self: stretch;
  background: #050d3f;
  color: inherit;
  display: flex;
  justify-content: center;
  min-height: 100%;
  padding: 0.6rem;
}

.cost-politics-cover:hover {
  color: inherit;
  text-decoration: none;
}

.cost-politics-cover img {
  align-self: center;
  border-radius: 0.25rem;
  display: block;
  max-height: 520px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.cost-politics-stat {
  min-height: 124px;
  padding: 1rem;
}

.cost-politics-stat span,
.cost-politics-priority > span,
.cost-politics-timeline span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.cost-politics-stat span {
  height: 34px;
  margin-bottom: 0.8rem;
  width: 34px;
}

.cost-politics-stat strong {
  color: #172b4d;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.cost-politics-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.cost-politics-stat-blue span,
.cost-politics-priority > span {
  background: #e7f1fb;
  color: #124f86;
}

.cost-politics-stat-green span,
.cost-politics-timeline span {
  background: #e6f4ea;
  color: #2f855a;
}

.cost-politics-stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.cost-politics-stat-red span {
  background: #fff0f0;
  color: #9b2c2c;
}

.cost-politics-panel {
  padding: 1rem;
}

.cost-politics-panel-lead {
  border-left: 4px solid #124f86;
}

.cost-politics-finding-grid,
.cost-politics-priority-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.cost-politics-finding-grid > div,
.cost-politics-timeline > div {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
}

.cost-politics-finding-grid > div {
  padding: 0.75rem;
}

.cost-politics-finding-grid i {
  color: #2f855a;
  margin-bottom: 0.55rem;
}

.cost-politics-finding-grid strong,
.cost-politics-finding-grid small,
.cost-politics-timeline strong,
.cost-politics-timeline small {
  display: block;
}

.cost-politics-finding-grid strong,
.cost-politics-timeline strong {
  color: #172b4d;
  font-size: 0.86rem;
  line-height: 1.35;
}

.cost-politics-finding-grid small,
.cost-politics-timeline small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.cost-politics-timeline {
  display: grid;
  gap: 0.65rem;
}

.cost-politics-timeline > div {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem;
}

.cost-politics-timeline span {
  height: 32px;
  width: 32px;
}

.cost-politics-priority-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cost-politics-priority {
  padding: 0.9rem;
}

.cost-politics-priority > span {
  height: 36px;
  margin-bottom: 0.75rem;
  width: 36px;
}

.cost-politics-priority h4 {
  color: #172b4d;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.cost-politics-priority p {
  color: #52616f;
  font-size: 0.8rem;
  line-height: 1.58;
  margin-bottom: 0;
}

.cost-politics-section-head {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.cost-politics-section-head h3 {
  margin-bottom: 0;
}

.cost-politics-graph-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cost-politics-chart-card {
  align-self: start;
  overflow: hidden;
}

.cost-politics-chart-card-wide {
  grid-column: 1 / -1;
}

.cost-politics-chart-head {
  padding: 0.85rem 0.85rem 0;
}

.cost-politics-chart-head h4 {
  color: #172b4d;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.cost-politics-chart-head p {
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  margin-bottom: 0.55rem;
}

.cost-politics-chart {
  background: #f7fafc;
  border-top: 1px solid var(--portal-border);
  height: 300px;
  padding: 0.75rem;
  position: relative;
}

.cost-politics-chart-tall {
  height: 430px;
}

.cost-politics-chart-card-wide .cost-politics-chart {
  height: 340px;
}

.cost-politics-chart canvas {
  display: block;
}

.cost-politics-chart-note {
  border-top: 1px solid var(--portal-border);
  color: var(--portal-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  margin: 0;
  padding: 0.65rem 0.85rem;
}

@media (max-width: 991.98px) {
  .cost-politics-hero,
  .cost-politics-finding-grid {
    grid-template-columns: 1fr;
  }

  .cost-politics-cover {
    align-self: start;
    justify-self: start;
    max-width: 260px;
  }
}

@media (max-width: 575.98px) {
  .cost-politics-hero-copy,
  .cost-politics-panel,
  .cost-politics-stat,
  .cost-politics-priority,
  .cost-politics-chart-head {
    padding: 0.85rem;
  }

  .cost-politics-chart {
    height: 280px;
    padding: 0.65rem;
  }

  .cost-politics-chart-tall {
    height: 420px;
  }

  .cost-politics-chart-card-wide .cost-politics-chart {
    height: 300px;
  }

  .cost-politics-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cost-politics-cover {
    max-width: 220px;
  }

  .cost-politics-graph-grid {
    grid-template-columns: 1fr;
  }
}

.deforestation-watch {
  padding-bottom: 0.75rem;
}

.deforestation-panel,
.deforestation-card,
.deforestation-stat,
.deforestation-facts > div {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.deforestation-panel {
  min-height: 100%;
  padding: 1.15rem;
}

.deforestation-panel-lead {
  border-left: 4px solid #2f855a;
}

.mining-watch .deforestation-panel-lead {
  border-left-color: #0b7285;
}

.mining-watch .deforestation-kicker {
  color: #0b7285;
}

.deforestation-kicker {
  color: #124f86;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.deforestation-panel h2,
.deforestation-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.deforestation-panel p,
.deforestation-facts p {
  color: var(--portal-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.deforestation-source {
  align-items: center;
  color: #52616f;
  display: flex;
  font-size: 0.8rem;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.deforestation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.deforestation-stat {
  min-height: 116px;
  padding: 1rem;
  position: relative;
}

.deforestation-stat span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 0.8rem;
  width: 34px;
}

.deforestation-stat strong {
  color: #172b4d;
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.deforestation-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.stat-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.stat-red span {
  background: #fff0f0;
  color: #c53030;
}

.deforestation-card.card {
  box-shadow: none;
  margin-bottom: 0;
}

.deforestation-card .card-header {
  background: #ffffff;
  border-bottom: 1px solid var(--portal-border);
  padding: 0.65rem 0.85rem;
}

.deforestation-card .card-title {
  color: #172b4d;
  font-size: 0.9rem;
  font-weight: 700;
}

#forestReserveMap,
#miningProtectedMap {
  background: #eef4f0;
  height: 540px;
  min-height: 540px;
  width: 100%;
}

#miningProtectedMap {
  background: #eef6f8;
}

.deforestation-map-empty {
  align-items: center;
  color: var(--portal-muted);
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.reserve-popup,
.mine-popup {
  display: grid;
  gap: 0.15rem;
  min-width: 150px;
}

.reserve-popup strong,
.mine-popup strong {
  color: #172b4d;
  font-size: 0.9rem;
}

.reserve-popup span,
.mine-popup span {
  color: #52616f;
  font-size: 0.76rem;
}

.mine-popup a {
  border-top: 1px solid #dbe5ea;
  color: #0b7285;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.25rem;
  padding-top: 0.35rem;
}

.mining-workspace {
  --mining-ink: #17324d;
  --mining-teal: #0b7285;
  --mining-teal-dark: #075766;
  --mining-mist: #eef7f8;
  padding-bottom: 1rem;
}

.mining-page-hero,
.mining-detail-hero {
  align-items: center;
  background: #fff;
  border: 1px solid var(--portal-border);
  border-left: 4px solid #0b7285;
  border-radius: 0.45rem;
  color: var(--mining-ink);
  display: flex;
  justify-content: space-between;
  min-height: 0;
  overflow: hidden;
  padding: 1.15rem;
  position: relative;
}

.mining-page-hero::after,
.mining-detail-hero::after {
  display: none;
}

.mining-page-hero > div:first-child,
.mining-detail-hero > div:first-child {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.mining-eyebrow {
  color: #0b7285;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.mining-page-hero h2,
.mining-detail-hero h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.55rem;
}

.mining-page-hero p,
.mining-detail-hero p {
  color: var(--portal-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

.mining-source-note {
  align-items: center;
  color: #52616f;
  display: flex;
  font-size: 0.76rem;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.mining-hero-mark {
  align-items: center;
  background: #eef7f8;
  border: 1px solid #cde7ea;
  border-radius: 50%;
  display: flex;
  font-size: 2.8rem;
  height: 92px;
  justify-content: center;
  margin-right: 1.25rem;
  position: relative;
  width: 92px;
  z-index: 1;
  color: #0b7285;
}

.mining-stat,
.mining-card,
.mining-map-controls,
.mining-inline-stats,
.mining-section-card {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 0.4rem;
  box-shadow: none;
}

.mining-stat {
  min-height: 118px;
  padding: 1rem;
}

.mining-stat > span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 0.75rem;
  width: 34px;
}

.mining-stat strong {
  color: var(--mining-ink);
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.mining-stat small {
  color: var(--portal-muted);
  display: block;
  margin-top: 0.3rem;
}

.mining-section-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mining-section-card {
  color: var(--mining-ink);
  display: grid;
  gap: 0.35rem;
  min-height: 190px;
  padding: 1rem;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mining-section-card:hover,
.mining-section-card:focus {
  border-color: #93ced6;
  box-shadow: 0 8px 20px rgba(23, 50, 77, 0.09);
  color: var(--mining-ink);
  text-decoration: none;
  transform: translateY(-2px);
}

.mining-section-card > span {
  align-items: center;
  background: var(--mining-mist);
  border-radius: 0.35rem;
  color: var(--mining-teal);
  display: flex;
  font-size: 1.1rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.mining-section-card strong {
  font-size: 0.95rem;
}

.mining-section-card small {
  color: var(--portal-muted);
  line-height: 1.45;
}

.mining-section-card em {
  align-self: end;
  color: var(--mining-teal);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
}

.mining-section-card-primary > span { background: #e7f1fb; color: #124f86; }
.mining-section-card-success > span { background: #e6f4ea; color: #2f855a; }
.mining-section-card-warning > span { background: #fff7df; color: #b7791f; }

.mining-card.card {
  box-shadow: none;
  margin-bottom: 0;
}

.mining-card .card-header {
  background: #fff;
  border-bottom: 1px solid var(--portal-border);
  min-height: 46px;
  padding: 0.72rem 0.9rem;
}

.mining-card .card-title {
  color: var(--mining-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.mining-chart {
  height: 340px;
  position: relative;
}

.mining-chart-tall {
  height: 470px;
}

.mining-workspace #miningProtectedMap.mining-overview-map {
  height: 520px;
  min-height: 520px;
}

.mining-workspace #miningProtectedMap.mining-explorer-map {
  height: 680px;
  min-height: 680px;
}

.mining-workspace #miningProtectedMap.mining-detail-map {
  height: 460px;
  min-height: 460px;
}

.mining-inline-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.mining-inline-stats span {
  color: var(--portal-muted);
  font-size: 0.78rem;
  padding: 0.85rem 1rem;
}

.mining-inline-stats span + span {
  border-left: 1px solid var(--portal-border);
}

.mining-inline-stats strong {
  color: var(--mining-ink);
  display: block;
  font-size: 1.1rem;
}

.mining-map-controls {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1.2fr repeat(3, 1fr) auto;
  padding: 0.9rem;
}

.mining-data-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mining-data-jump-links a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: var(--mining-ink);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
}

.mining-data-jump-links a:hover,
.mining-data-jump-links a:focus {
  border-color: #93ced6;
  color: var(--mining-teal);
  text-decoration: none;
}

.mining-map-controls label {
  color: #52616f;
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.mining-map-legend {
  align-items: center;
  color: var(--portal-muted);
  display: flex;
  font-size: 0.72rem;
  gap: 0.85rem;
}

.mining-map-legend span {
  align-items: center;
  display: flex;
  gap: 0.3rem;
}

.mining-map-legend i {
  background: #ed8936;
  border: 1px solid #c05621;
  border-radius: 50%;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.mining-map-legend i.active {
  background: #20c997;
  border-color: #087f5b;
}

.mining-map-legend strong {
  color: var(--mining-ink);
}

.mining-back-link {
  color: #0b7285;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mining-back-link:hover {
  color: #075766;
}

.mining-detail-status {
  background: #eef7f8;
  border: 1px solid #cde7ea;
  border-radius: 0.4rem;
  display: flex;
  flex-direction: column;
  margin-left: 1.5rem;
  max-width: 300px;
  min-width: 245px;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.mining-detail-status span {
  color: #0b7285;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mining-detail-status strong {
  color: var(--mining-ink);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-top: 0.3rem;
}

.mining-detail-list > div {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(130px, 0.42fr) 1fr;
  padding: 0.7rem 0;
}

.mining-detail-list > div + div {
  border-top: 1px solid #edf1f4;
}

.mining-detail-list dt {
  color: #65758b;
  font-size: 0.73rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.mining-detail-list dd {
  color: var(--mining-ink);
  font-size: 0.84rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.mining-subheading {
  color: var(--mining-ink);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.mining-owner-list {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mining-owner-list li {
  background: #f7fafb;
  border: 1px solid #e7edf1;
  border-radius: 0.3rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.65rem;
}

.mining-owner-list strong {
  color: var(--mining-ink);
  font-size: 0.8rem;
}

.mining-owner-list span {
  color: var(--portal-muted);
  font-size: 0.72rem;
}

.mining-source-details {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 0.4rem;
}

.mining-source-details summary {
  color: var(--mining-ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.85rem 1rem;
}

.mining-source-details pre {
  background: #102a43;
  border-radius: 0 0 0.35rem 0.35rem;
  color: #d9eaf2;
  font-size: 0.72rem;
  margin: 0;
  max-height: 420px;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.mining-workspace .dt-buttons .btn {
  margin-bottom: 0.35rem;
  margin-right: 0.25rem;
}

.mining-workspace .dataTables_filter input,
.mining-workspace .dataTables_length select {
  font-size: 0.8rem;
}

.mining-table-actions .btn {
  min-width: 28px;
}

.mining-company-link {
  color: #0b7285;
  font-weight: 700;
}

.mining-company-link:hover,
.mining-company-link:focus {
  color: #075766;
  text-decoration: underline;
}

@media (max-width: 1199.98px) {
  .mining-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mining-map-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mining-page-hero,
  .mining-detail-hero {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 1.15rem;
  }

  .mining-hero-mark {
    display: none;
  }

  .mining-detail-status {
    margin: 1rem 0 0;
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .mining-inline-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mining-inline-stats span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--portal-border);
  }

  .mining-inline-stats span:nth-child(4) {
    border-top: 1px solid var(--portal-border);
  }

  .mining-map-legend {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-left: 0.75rem;
  }

  .mining-workspace #miningProtectedMap.mining-explorer-map {
    height: 520px;
    min-height: 520px;
  }
}

@media (max-width: 575.98px) {
  .mining-section-grid,
  .mining-map-controls {
    grid-template-columns: 1fr;
  }

  .mining-section-card {
    min-height: 165px;
  }

  .mining-detail-list > div {
    gap: 0.25rem;
    grid-template-columns: 1fr;
  }

  .mining-chart,
  .mining-chart-tall {
    height: 320px;
  }

  .mining-workspace #miningProtectedMap.mining-overview-map,
  .mining-workspace #miningProtectedMap.mining-explorer-map,
  .mining-workspace #miningProtectedMap.mining-detail-map {
    height: 390px;
    min-height: 390px;
  }
}

.deforestation-chart {
  height: 420px;
  position: relative;
}

.deforestation-chart-compact {
  height: 260px;
}

.deforestation-gfw-chart {
  height: 310px;
}

.deforestation-chart-meta {
  align-items: center;
  border-top: 1px solid var(--portal-border);
  color: var(--portal-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.76rem;
  gap: 0.45rem 0.7rem;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
}

.deforestation-chart-meta span {
  color: #172b4d;
  font-weight: 700;
}

.deforestation-chart-meta a {
  color: #124f86;
  font-weight: 600;
}

.deforestation-chart-note {
  color: #52616f;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0.7rem 0 0;
}

.deforestation-highlight {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  padding: 0.75rem;
}

.deforestation-highlight strong,
.deforestation-highlight span {
  display: block;
}

.deforestation-highlight strong {
  color: #172b4d;
  font-size: 0.9rem;
}

.deforestation-highlight span {
  color: var(--portal-muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.deforestation-facts {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 100%;
}

.deforestation-facts > div {
  min-height: 100%;
  padding: 1rem;
}

.deforestation-facts i {
  color: #2f855a;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.deforestation-facts h4 {
  color: #172b4d;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.deforestation-watch .table {
  font-size: 0.8rem;
}

.deforestation-watch .table thead th {
  background: #f7fafc;
  color: #334e68;
  font-weight: 700;
  vertical-align: middle;
}

.deforestation-location-badge {
  border: 1px solid transparent;
  border-radius: 0.25rem;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  padding: 0.22rem 0.45rem;
}

.deforestation-location-province {
  background: #e7f1fb;
  border-color: #cfe3f6;
  color: #124f86;
}

.deforestation-location-province-central {
  background: #fff7df;
  border-color: #f5dc91;
  color: #8a5a00;
}

.deforestation-location-province-copperbelt {
  background: #e8f7f3;
  border-color: #b9e5d9;
  color: #08735f;
}

.deforestation-location-province-eastern {
  background: #fce8ec;
  border-color: #f5bdca;
  color: #9b1c3c;
}

.deforestation-location-province-luapula {
  background: #e7f1fb;
  border-color: #b8d8f2;
  color: #124f86;
}

.deforestation-location-province-lusaka {
  background: #eef0ff;
  border-color: #cfd5ff;
  color: #3841a0;
}

.deforestation-location-province-muchinga {
  background: #e9f8df;
  border-color: #c8eaae;
  color: #3f6f12;
}

.deforestation-location-province-northern {
  background: #f1e9ff;
  border-color: #d9c5fb;
  color: #5f2ca0;
}

.deforestation-location-province-north-western {
  background: #e7f7ff;
  border-color: #bce4f7;
  color: #0b6584;
}

.deforestation-location-province-southern {
  background: #fff0e6;
  border-color: #ffd2b5;
  color: #9a4b12;
}

.deforestation-location-province-western {
  background: #f3f5f7;
  border-color: #cfd8e3;
  color: #344054;
}

.deforestation-location-district {
  background: #e6f4ea;
  border-color: #c9e8d2;
  color: #276749;
}

.deforestation-location-muted {
  background: #f7fafc;
  border-color: var(--portal-border);
  color: #52616f;
}

.deforestation-watch .dt-buttons .btn {
  margin-bottom: 0.35rem;
  margin-right: 0.25rem;
}

.deforestation-watch .dataTables_filter input,
.deforestation-watch .dataTables_length select {
  font-size: 0.8rem;
}

@media (max-width: 991.98px) {
  .deforestation-facts {
    grid-template-columns: 1fr;
  }

  #forestReserveMap,
  #miningProtectedMap {
    height: 440px;
    min-height: 440px;
  }
}

@media (max-width: 575.98px) {
  .deforestation-panel,
  .deforestation-stat,
  .deforestation-facts > div {
    padding: 0.85rem;
  }

  .deforestation-chart {
    height: 340px;
  }

  .deforestation-chart-compact {
    height: 240px;
  }

  .deforestation-gfw-chart {
    height: 300px;
  }

  .deforestation-chart-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  #forestReserveMap,
  #miningProtectedMap {
    height: 360px;
    min-height: 360px;
  }
}

.environmental-corruption {
  padding-bottom: 0.75rem;
}

.environmental-hero,
.environmental-panel,
.environmental-story-card,
.environmental-stat,
.environmental-story-hero,
.environmental-article-panel,
.environmental-side-panel,
.environmental-video-panel,
.environmental-gallery {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.environmental-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin-bottom: 1rem;
  overflow: hidden;
}

.environmental-hero-copy {
  padding: 1.25rem;
}

.environmental-kicker {
  color: #9b2c2c;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.environmental-hero h2,
.environmental-story-hero h2 {
  color: #172b4d;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.environmental-hero p,
.environmental-panel p,
.environmental-story-hero p,
.environmental-article-panel p {
  color: #52616f;
  line-height: 1.65;
}

.environmental-source-note {
  align-items: flex-start;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #465a69;
  display: flex;
  font-size: 0.8rem;
  gap: 0.55rem;
  margin-top: 0.9rem;
  padding: 0.7rem;
}

.environmental-source-note i {
  color: #0b7285;
  margin-top: 0.15rem;
}

.environmental-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.environmental-hero-media {
  color: inherit;
  display: block;
  min-height: 100%;
  position: relative;
}

.environmental-hero-media img,
.environmental-story-media img,
.environmental-story-hero-media img,
.environmental-gallery img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.environmental-hero-media img {
  aspect-ratio: 16 / 10;
  filter: grayscale(1);
}

.environmental-hero-caption {
  background: rgba(23, 43, 77, 0.9);
  bottom: 0;
  color: #ffffff;
  display: block;
  left: 0;
  padding: 0.7rem 0.85rem;
  position: absolute;
  right: 0;
}

.environmental-hero-caption strong,
.environmental-hero-caption small {
  display: block;
}

.environmental-hero-caption small {
  color: #dce5ef;
  font-size: 0.76rem;
  margin-top: 0.15rem;
}

.environmental-stat {
  min-height: 112px;
  padding: 1rem;
}

.environmental-stat span {
  align-items: center;
  background: #e7f1fb;
  border-radius: 50%;
  color: #124f86;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 0.8rem;
  width: 34px;
}

.environmental-stat strong {
  color: #172b4d;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.environmental-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.environmental-stat-red span {
  background: #fff0f0;
  color: #c53030;
}

.environmental-stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.environmental-stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.environmental-panel {
  padding: 1rem;
}

.environmental-panel.environmental-map-panel {
  overflow: hidden;
  padding: 0;
}

.environmental-map-panel .environmental-panel-header {
  padding: 1rem 1rem 0.75rem;
}

.environmental-panel-header h3,
.environmental-video-panel h3,
.environmental-gallery h3 {
  color: #172b4d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.environmental-tag-cloud,
.environmental-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.environmental-tag-cloud span,
.environmental-tags span {
  background: #f4f7fa;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #334e68;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
}

.environmental-tag-cloud strong {
  color: #9b2c2c;
}

.environmental-story-index-chart {
  align-items: center;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0.35rem;
}

.environmental-story-index-panel {
  display: flex;
  flex-direction: column;
}

.environmental-bar-figure {
  margin: 0;
}

.environmental-bar-chart {
  display: grid;
  gap: 0.65rem;
}

.environmental-bar-row {
  display: grid;
  gap: 0.25rem;
}

.environmental-bar-label {
  align-items: baseline;
  color: #334e68;
  display: flex;
  font-size: 0.78rem;
  gap: 0.75rem;
  justify-content: space-between;
}

.environmental-bar-label strong {
  color: #172b4d;
  font-variant-numeric: tabular-nums;
}

.environmental-bar-track {
  background: #edf1f5;
  border-radius: 999px;
  height: 0.65rem;
  overflow: hidden;
}

.environmental-bar-track span {
  background: #9b2c2c;
  border-radius: inherit;
  display: block;
  height: 100%;
}

.environmental-bar-figure figcaption {
  color: var(--portal-muted);
  font-size: 0.75rem;
  margin-top: 0.85rem;
}

.environmental-bar-figure figcaption strong {
  color: #172b4d;
}

.environmental-story-index-actions {
  border-top: 1px solid var(--portal-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
  padding-top: 0.85rem;
}

.environmental-map {
  background: #eef4f0;
  width: 100%;
}

.environmental-map-overview {
  border-top: 1px solid var(--portal-border);
  height: 430px;
  min-height: 430px;
}

.environmental-map-story {
  flex: 1;
  min-height: 300px;
}

.environmental-map-empty {
  align-items: center;
  color: var(--portal-muted);
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.environmental-map-popup {
  display: grid;
  gap: 0.16rem;
  min-width: 170px;
}

.environmental-map-popup strong {
  color: #172b4d;
  font-size: 0.88rem;
  line-height: 1.25;
}

.environmental-map-popup span {
  color: #52616f;
  font-size: 0.74rem;
}

.environmental-map-popup a {
  color: #9b2c2c;
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 0.18rem;
}

.environmental-story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.environmental-story-media {
  background: #f0f4f8;
  color: inherit;
  display: block;
  height: 190px;
  overflow: hidden;
}

.environmental-story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.9rem;
}

.environmental-card-meta,
.environmental-card-footer,
.environmental-story-meta {
  align-items: center;
  color: var(--portal-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.4rem 0.65rem;
}

.environmental-card-meta span,
.environmental-story-meta span {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #465a69;
  padding: 0.15rem 0.48rem;
}

.environmental-story-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0.55rem 0 0.4rem;
}

.environmental-story-card h3 a {
  color: #172b4d;
}

.environmental-story-card p {
  color: #52616f;
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.58;
  margin-bottom: 0.7rem;
}

.environmental-card-footer {
  border-top: 1px solid var(--portal-border);
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
}

.environmental-card-footer a {
  color: #9b2c2c;
  font-weight: 700;
}

.environmental-sketch {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(31, 41, 55, 0.08) 0 1px, transparent 1px 12px),
    linear-gradient(25deg, rgba(31, 41, 55, 0.08) 0 1px, transparent 1px 16px),
    #f7fafc;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 190px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.environmental-sketch::before,
.environmental-sketch::after {
  border: 2px solid rgba(31, 41, 55, 0.38);
  content: "";
  position: absolute;
}

.environmental-sketch::before {
  border-left: 0;
  border-right: 0;
  bottom: 26%;
  height: 28%;
  left: 10%;
  transform: rotate(-8deg);
  width: 80%;
}

.environmental-sketch::after {
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  height: 42%;
  right: 12%;
  top: 17%;
  transform: rotate(9deg);
  width: 32%;
}

.environmental-sketch i {
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 41, 55, 0.25);
  border-radius: 50%;
  color: #172b4d;
  display: inline-flex;
  font-size: 1.65rem;
  height: 58px;
  justify-content: center;
  position: relative;
  width: 58px;
  z-index: 1;
}

.environmental-sketch-toxic {
  background-color: #f8f2ef;
}

.environmental-sketch-forest {
  background-color: #eff7f0;
}

.environmental-sketch-water {
  background-color: #edf6f8;
}

.environmental-sketch-protected {
  background-color: #f6f3ed;
}

.environmental-sketch-land {
  background-color: #f5f3f0;
}

.environmental-sketch-large {
  min-height: 360px;
}

.environmental-story-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  margin-bottom: 1rem;
  overflow: hidden;
}

.environmental-story-hero-with-map {
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 0.72fr) minmax(250px, 0.72fr);
}

.environmental-story-hero-copy {
  padding: 1.25rem;
}

.environmental-back-link {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.environmental-story-hero-media {
  background: #f0f4f8;
  min-height: 360px;
  position: relative;
}

.environmental-story-hero-media img {
  aspect-ratio: 16 / 10;
  filter: grayscale(1);
}

.environmental-story-hero-media small {
  background: rgba(23, 43, 77, 0.9);
  bottom: 0;
  color: #ffffff;
  display: block;
  font-size: 0.75rem;
  left: 0;
  padding: 0.6rem 0.75rem;
  position: absolute;
  right: 0;
}

.environmental-story-location {
  background: #f7fafc;
  border-left: 1px solid var(--portal-border);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.environmental-story-location-header {
  border-bottom: 1px solid var(--portal-border);
  padding: 0.85rem;
}

.environmental-story-location-header strong,
.environmental-story-location-header small {
  display: block;
}

.environmental-story-location-header strong {
  color: #172b4d;
  font-size: 0.92rem;
  line-height: 1.3;
}

.environmental-story-location-header small {
  color: var(--portal-muted);
  font-size: 0.75rem;
  margin-top: 0.18rem;
}

.environmental-article-panel {
  padding: 1.1rem;
}

.environmental-article-panel h3 {
  color: #172b4d;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.environmental-article-panel p {
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.environmental-article-panel p:last-child {
  margin-bottom: 0;
}

.environmental-side-stack {
  display: grid;
  gap: 1rem;
}

.environmental-side-panel {
  padding: 1rem;
}

.environmental-concern-list {
  color: #465a69;
  list-style: none;
  margin: 0;
  padding: 0;
}

.environmental-concern-list li {
  border-bottom: 1px solid var(--portal-border);
  line-height: 1.55;
  padding: 0.52rem 0;
}

.environmental-concern-list li:first-child {
  padding-top: 0;
}

.environmental-concern-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.environmental-source-list {
  display: grid;
  gap: 0.55rem;
}

.environmental-source-list a {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  display: block;
  padding: 0.65rem;
}

.environmental-source-list strong,
.environmental-source-list span {
  display: block;
}

.environmental-source-list strong {
  color: #172b4d;
  font-size: 0.82rem;
  line-height: 1.35;
}

.environmental-source-list span {
  color: #9b2c2c;
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.environmental-gallery {
  padding: 1rem;
}

.environmental-video-panel {
  margin-bottom: 1rem;
  overflow: hidden;
  padding: 1rem;
}

.environmental-video-frame {
  background: #0f172a;
  border-radius: 0.3rem;
  overflow: hidden;
  position: relative;
}

.environmental-video-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.environmental-video-frame iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.environmental-video-link {
  color: #9b2c2c;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.7rem;
}

.environmental-gallery figure {
  background: #f0f4f8;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  height: 220px;
  margin: 0;
  overflow: hidden;
}

.environmental-tags-large span {
  margin-bottom: 0.2rem;
}

@media (max-width: 991.98px) {
  .environmental-hero,
  .environmental-story-hero {
    grid-template-columns: 1fr;
  }

  .environmental-hero-media img,
  .environmental-story-hero-media img,
  .environmental-story-hero-media,
  .environmental-story-location {
    min-height: 300px;
  }

  .environmental-story-location {
    border-left: 0;
    border-top: 1px solid var(--portal-border);
  }

  .environmental-map-overview {
    height: 380px;
    min-height: 380px;
  }
}

@media (max-width: 575.98px) {
  .environmental-hero-copy,
  .environmental-story-hero-copy,
  .environmental-panel,
  .environmental-article-panel,
  .environmental-side-panel,
  .environmental-video-panel,
  .environmental-gallery,
  .environmental-story-location-header,
  .environmental-story-body {
    padding: 0.85rem;
  }

  .environmental-hero h2,
  .environmental-story-hero h2 {
    font-size: 1.12rem;
  }

  .environmental-story-media {
    height: 170px;
  }

  .environmental-map-overview {
    height: 320px;
    min-height: 320px;
  }

  .environmental-map-story {
    min-height: 260px;
  }

  .environmental-gallery figure {
    height: 190px;
  }

  .environmental-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.parliament-watch {
  padding-bottom: 0.75rem;
}

.parliament-watch-hero,
.parliament-watch-panel,
.parliament-watch-card,
.parliament-watch-stat {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.35rem;
  box-shadow: none;
}

.parliament-watch-hero {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.3fr);
  margin-bottom: 1rem;
  padding: 1.15rem;
}

.parliament-watch-back {
  color: #52616f;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.parliament-watch-kicker {
  color: #124f86;
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.parliament-watch-hero h2,
.parliament-watch-panel h3 {
  color: #172b4d;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.parliament-watch-hero p,
.parliament-watch-panel p {
  color: #52616f;
  line-height: 1.65;
  margin-bottom: 0;
}

.parliament-watch-source {
  align-items: flex-start;
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #52616f;
  display: flex;
  font-size: 0.8rem;
  gap: 0.55rem;
  line-height: 1.55;
  margin-top: 0.9rem;
  padding: 0.7rem;
}

.parliament-watch-source i {
  color: #2f855a;
  margin-top: 0.2rem;
}

.parliament-watch-hero-panel {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-left: 4px solid #2f855a;
  border-radius: 0.35rem;
  padding: 0.95rem;
}

.parliament-watch-hero-panel > span,
.parliament-watch-stat span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
}

.parliament-watch-hero-panel > span {
  background: #e6f4ea;
  color: #2f855a;
  height: 38px;
  margin-bottom: 0.75rem;
  width: 38px;
}

.parliament-watch-hero-panel strong,
.parliament-watch-hero-panel small {
  display: block;
}

.parliament-watch-hero-panel strong {
  color: #172b4d;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.parliament-watch-hero-panel small {
  color: var(--portal-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.parliament-watch-profile-card {
  display: grid;
  gap: 0.75rem;
}

.parliament-watch-portrait,
.parliament-watch-party-mark {
  --party-colour: #52616f;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--party-colour);
  border-radius: 50%;
  color: var(--party-colour);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

.parliament-watch-party-upnd {
  --party-colour: #c53030;
}

.parliament-watch-party-pf {
  --party-colour: #2f855a;
}

.parliament-watch-party-ind {
  --party-colour: #b7791f;
}

.parliament-watch-party-pnup {
  --party-colour: #805ad5;
}

.parliament-watch-portrait img,
.parliament-watch-party-mark img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.parliament-watch-party-mark img {
  object-fit: contain;
  padding: 3px;
}

.parliament-watch-portrait-lg {
  height: 132px;
  width: 132px;
}

.parliament-watch-portrait-sm {
  border-width: 1px;
  font-size: 0.78rem;
  height: 42px;
  width: 42px;
}

.parliament-watch-party-mark-lg {
  height: 48px;
  width: 48px;
}

.parliament-watch-party-mark-sm {
  border-width: 1px;
  font-size: 0.68rem;
  height: 32px;
  width: 32px;
}

.parliament-watch-profile-copy {
  border-bottom: 1px solid var(--portal-border);
  padding-bottom: 0.75rem;
}

.parliament-watch-party-card,
.parliament-watch-person-cell,
.parliament-watch-party-cell {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.parliament-watch-party-card {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  padding: 0.65rem;
}

.parliament-watch-person-cell {
  color: #172b4d;
  min-width: 210px;
}

.parliament-watch-person-cell:hover {
  color: #124f86;
  text-decoration: none;
}

.parliament-watch-person-cell strong,
.parliament-watch-person-cell small,
.parliament-watch-party-cell strong,
.parliament-watch-party-cell small {
  display: block;
  line-height: 1.3;
}

.parliament-watch-person-cell strong,
.parliament-watch-party-cell strong {
  color: #172b4d;
  font-size: 0.82rem;
}

.parliament-watch-person-cell small,
.parliament-watch-party-cell small {
  color: var(--portal-muted);
  font-size: 0.72rem;
  margin-top: 0.12rem;
}

.parliament-watch-party-cell {
  min-width: 145px;
}

.parliament-watch-profile-source {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #124f86;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.4rem;
  justify-content: center;
  line-height: 1.35;
  padding: 0.48rem 0.6rem;
}

.parliament-watch-profile-source:hover {
  border-color: #b8c7d8;
  color: #0b4f6c;
  text-decoration: none;
}

.parliament-watch-link-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.parliament-watch-link-list a {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #124f86;
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.45rem;
  line-height: 1.35;
  padding: 0.45rem 0.55rem;
}

.parliament-watch-link-list a:hover {
  border-color: #b8c7d8;
  color: #0b4f6c;
  text-decoration: none;
}

.parliament-watch-anchor {
  scroll-margin-top: 4.5rem;
}

.parliament-watch-stat {
  min-height: 118px;
  padding: 1rem;
}

.parliament-watch-stat span {
  height: 34px;
  margin-bottom: 0.8rem;
  width: 34px;
}

.parliament-watch-stat strong {
  color: #172b4d;
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.parliament-watch-stat small {
  color: var(--portal-muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.parliament-watch-stat.stat-blue span {
  background: #e7f1fb;
  color: #124f86;
}

.parliament-watch-stat.stat-green span {
  background: #e6f4ea;
  color: #2f855a;
}

.parliament-watch-stat.stat-gold span {
  background: #fff7df;
  color: #b7791f;
}

.parliament-watch-stat.stat-red span {
  background: #fff0f0;
  color: #9b2c2c;
}

.parliament-watch-card .card-header {
  background: #ffffff;
  border-bottom-color: var(--portal-border);
}

#parliamentWatchMap {
  height: 540px;
  min-height: 540px;
  width: 100%;
}

.parliament-watch-chart {
  height: 260px;
  min-height: 260px;
  position: relative;
}

.parliament-watch-chart-wide {
  height: 320px;
  min-height: 320px;
}

.parliament-watch-detail-page .parliament-watch-hero-panel a {
  color: #124f86;
  font-weight: 800;
}

.parliament-watch-table-link {
  color: #124f86;
  font-weight: 800;
}

.parliament-watch-table-link:hover {
  color: #0b4f6c;
}

.parliament-watch-highlight {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  padding: 0.7rem;
}

.parliament-watch-highlight strong,
.parliament-watch-highlight span {
  display: block;
}

.parliament-watch-highlight strong {
  color: #172b4d;
  font-size: 0.88rem;
}

.parliament-watch-highlight span {
  color: #52616f;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.parliament-watch-panel {
  padding: 1rem;
}

.parliament-watch-detail {
  border-left: 4px solid #124f86;
  min-height: 360px;
}

.parliament-watch-detail-list,
.parliament-watch-rank-list,
.parliament-watch-source-grid {
  display: grid;
  gap: 0.55rem;
}

.parliament-watch-detail-item,
.parliament-watch-rank-list button,
.parliament-watch-source-grid a {
  background: #f7fafc;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #334e68;
  display: block;
  line-height: 1.45;
  padding: 0.65rem 0.75rem;
  text-align: left;
  width: 100%;
}

.parliament-watch-rank-list button {
  cursor: pointer;
}

.parliament-watch-rank-list button:hover,
.parliament-watch-detail-item:hover,
.parliament-watch-source-grid a:hover {
  border-color: #b8c7d8;
  color: #124f86;
  text-decoration: none;
}

.parliament-watch-detail-item strong,
.parliament-watch-detail-item small,
.parliament-watch-rank-list strong,
.parliament-watch-rank-list small,
.parliament-watch-source-grid strong,
.parliament-watch-source-grid small {
  display: block;
}

.parliament-watch-detail-item strong,
.parliament-watch-rank-list strong,
.parliament-watch-source-grid strong {
  color: #172b4d;
  font-size: 0.84rem;
}

.parliament-watch-detail-item small,
.parliament-watch-rank-list small,
.parliament-watch-source-grid small {
  color: var(--portal-muted);
  font-size: 0.76rem;
  margin-top: 0.2rem;
}

.parliament-watch-badge {
  border-radius: 999px;
  color: #ffffff;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.45rem;
}

.parliament-watch-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  min-width: 150px;
}

.parliament-watch-tag-list span,
.parliament-watch-signal {
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.28rem 0.45rem;
  white-space: nowrap;
}

.parliament-watch-tag-list span {
  background: #eef6ff;
  color: #124f86;
}

.parliament-watch-tag-list .parliament-watch-tag-muted,
.parliament-watch-signal-muted {
  background: #f0f4f8;
  color: #52616f;
}

.parliament-watch-signal-good {
  background: #e6f4ea;
  color: #2f855a;
}

.parliament-watch-signal-info {
  background: #e8f7fb;
  color: #0b7285;
}

.parliament-watch-ratio {
  display: inline-flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 122px;
  vertical-align: middle;
}

.parliament-watch-ratio-count {
  align-items: baseline;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 0.18rem;
  line-height: 1;
  white-space: nowrap;
}

.parliament-watch-ratio-count em {
  color: #718096;
  font-style: normal;
}

.parliament-watch-ratio-relevant-text {
  color: #2f855a;
}

.parliament-watch-ratio-irrelevant-text {
  color: #9b2c2c;
}

.parliament-watch-ratio-bar {
  background: #edf2f7;
  border-radius: 999px;
  display: flex;
  height: 0.38rem;
  overflow: hidden;
  width: 100%;
}

.parliament-watch-ratio-bar i {
  display: block;
  min-height: 100%;
}

.parliament-watch-ratio-relevant {
  background: #2f855a;
}

.parliament-watch-ratio-irrelevant {
  background: #9b2c2c;
}

.parliament-watch-ratio-caption {
  color: #52616f;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.parliament-watch-ratio-topic .parliament-watch-ratio-relevant {
  background: #0b7285;
}

.parliament-watch-ratio-topic .parliament-watch-ratio-relevant-text {
  color: #0b7285;
}

.parliament-watch-ratio-topic .parliament-watch-ratio-irrelevant {
  background: #a0aec0;
}

.parliament-watch-ratio-topic .parliament-watch-ratio-irrelevant-text {
  color: #52616f;
}

.parliament-watch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.65rem 0;
}

.parliament-watch-meta span {
  background: #f0f4f8;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #52616f;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.32rem 0.45rem;
}

.parliament-watch-action-row,
.parliament-watch-table-actions,
.parliament-watch-transcript-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.parliament-watch-table-actions {
  flex-wrap: nowrap;
}

.parliament-watch-table-actions .btn {
  min-width: 28px;
}

.parliament-watch-transcript-meta span,
.parliament-watch-transcript-meta a {
  background: #f0f4f8;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #52616f;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.32rem 0.5rem;
}

.parliament-watch-transcript-meta a {
  color: #124f86;
}

.parliament-watch-transcript-meta a:hover {
  color: #0b4f6c;
  text-decoration: none;
}

.parliament-watch-transcript-card .card-body {
  background: #fbfcfe;
}

.parliament-watch-transcript-body {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  color: #243b53;
  font-family: Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
  overflow-x: auto;
  padding: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.parliament-watch-source-panel {
  margin-bottom: 1rem;
}

.parliament-watch-source-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 0.75rem;
}

.parliament-watch-map-popup strong,
.parliament-watch-map-popup span {
  display: block;
}

.parliament-watch-map-popup strong {
  color: #172b4d;
  margin-bottom: 0.25rem;
}

.parliament-watch-map-popup span {
  color: #52616f;
  font-size: 0.78rem;
}

.parliament-watch-map-popup a {
  color: #124f86;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 0.35rem;
}

.parliament-watch-map-legend {
  background: #ffffff;
  border: 1px solid var(--portal-border);
  border-radius: 0.3rem;
  box-shadow: 0 1px 4px rgba(23, 43, 77, 0.12);
  color: #52616f;
  font-size: 0.76rem;
  line-height: 1.35;
  padding: 0.55rem 0.65rem;
}

.parliament-watch-map-legend strong {
  color: #172b4d;
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.parliament-watch-map-legend span {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.parliament-watch-map-legend i {
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}

@media (max-width: 1199.98px) {
  .alac-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .alac-hero {
    grid-template-columns: 1fr;
  }

  .alac-global-link {
    grid-template-columns: 1fr;
  }

  .alac-global-copy {
    border-left: 0;
    border-top: 1px solid var(--portal-border);
  }

  .alac-demographic-grid {
    grid-template-columns: 1fr;
  }

  .alac-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .corruption-hero,
  .cr-detail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cr-form-grid {
    grid-template-columns: 1fr;
  }

  .cr-landing-actions,
  .cr-code-lookup-form {
    grid-template-columns: 1fr;
  }

  .cr-account-grid {
    grid-template-columns: 1fr;
  }

  .cr-identity-section,
  .cr-user-detail-grid {
    grid-template-columns: 1fr;
  }

  .cr-identity-visual {
    text-align: left;
  }

  .cr-panel-head {
    flex-direction: column;
  }

  .alac-process {
    grid-template-columns: 1fr;
  }

  .alac-section-head,
  .alac-spotlight-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .alac-demographic-chart-stack {
    grid-template-columns: 1fr;
  }

  .alac-location-map,
  .alac-demographic-map-wrap {
    min-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .alac-hero,
  .alac-panel,
  .alac-chart-panel,
  .alac-demographic-panel,
  .alac-stat,
  .alac-contact-panel,
  .alac-global-copy,
  .alac-global-image,
  .alac-spotlight {
    padding: 0.85rem;
  }

  .alac-chart,
  .alac-chart-compact {
    height: 260px;
  }

  .alac-chart-small,
  .alac-chart-location {
    height: 240px;
  }
}

@media (max-width: 991.98px) {
  .parliament-watch-hero {
    grid-template-columns: 1fr;
  }

  #parliamentWatchMap {
    height: 420px;
    min-height: 420px;
  }
}

@media (max-width: 575.98px) {
  .parliament-watch-hero,
  .parliament-watch-panel,
  .parliament-watch-stat {
    padding: 0.85rem;
  }

  #parliamentWatchMap {
    height: 340px;
    min-height: 340px;
  }

  .parliament-watch-chart {
    height: 230px;
    min-height: 230px;
  }

  .parliament-watch-transcript-card .card-header {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 0.5rem;
  }

  .parliament-watch-transcript-body {
    font-size: 0.78rem;
    padding: 0.75rem;
  }
}
