.omh-drive-dashboard {
  background: #fff;
  color: #1b1b1b;
  max-width: 1280px;
  margin: 0 auto;
}

.omh-drive-hero {
  display: grid;
  grid-template-columns: minmax(260px, 40%) 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
  border: 1px solid #dfe1e2;
  border-radius: 14px;
  overflow: hidden;
  background: #f8f9fa;
}

.omh-drive-hero__media {
  min-height: 240px;
  position: relative;
  background-position: center;
  background-size: cover;
}

.omh-drive-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .28));
}

.omh-drive-hero__logo {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: min(240px, 70%);
  height: auto;
  z-index: 1;
  background: rgba(255, 255, 255, .92);
  border-radius: 8px;
  padding: .5rem;
}

.omh-drive-hero__body {
  padding: clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.omh-drive-hero__body h1 {
  margin-top: 0;
  margin-bottom: .75rem;
}

.omh-drive-hero__body p {
  font-size: 1.0625rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.omh-drive-intro {
  padding: 1rem 0 1.5rem;
}

.omh-drive-card-list ul,
.omh-drive-card-list .item-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.omh-drive-card {
  display: grid;
  grid-template-rows: 140px 1fr;
  min-height: 260px;
  border: 1px solid #dfe1e2;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.omh-drive-card:hover,
.omh-drive-card:focus {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
  transform: translateY(-1px);
}

.omh-drive-card__image {
  display: block;
  background-position: center;
  background-size: cover;
}

.omh-drive-card__body {
  display: block;
  padding: 1rem;
}

.omh-drive-card__body strong,
.omh-drive-card__body span {
  display: block;
}

.omh-drive-card__body strong {
  margin-bottom: .35rem;
  font-size: 1.1rem;
}

.omh-drive-card__body span {
  line-height: 1.45;
}

.omh-drive-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  border: 1px solid #dfe1e2;
  border-radius: 8px;
  background: #f8f9fa;
}

.omh-drive-filter-item span {
  display: block;
  margin-bottom: .35rem;
  font-weight: 700;
}

.omh-drive-select {
  width: 100%;
  min-height: 2.5rem;
}

.omh-drive-status {
  min-height: 1.5rem;
  margin-bottom: .5rem;
}

.omh-drive-status.is-error {
  color: #b00020;
  font-weight: 700;
}

.omh-drive-highchart {
  min-height: 460px;
  width: 100%;
}

.omh-drive-empty {
  padding: 1rem;
  border: 1px dashed #aeb0b2;
}

.omh-drive-data-table {
  overflow-x: auto;
  margin-top: 1rem;
}

.omh-drive-table-wrap summary {
  cursor: pointer;
  font-weight: 700;
  margin-bottom: .75rem;
}

.omh-drive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.omh-drive-table th,
.omh-drive-table td {
  border: 1px solid #dfe1e2;
  padding: .5rem;
  text-align: left;
  vertical-align: top;
}

.omh-drive-table th {
  background: #f1f3f6;
  text-transform: capitalize;
}

@media (max-width: 720px) {
  .omh-drive-hero {
    grid-template-columns: 1fr;
  }

  .omh-drive-hero__media {
    min-height: 190px;
  }
}

/* alpha7 comparison explorer refinements */
.omh-drive-filters--explorer {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  align-items: stretch;
}

.omh-drive-filters--explorer .omh-drive-filter-item {
  align-items: stretch;
}

.omh-drive-filters--explorer select[multiple] {
  min-height: 10rem;
  padding: 0.45rem;
}

.omh-drive-filter-help {
  color: #555;
  display: block;
  font-size: 0.78rem;
  line-height: 1.25;
  margin-top: 0.3rem;
}

.omh-drive-highchart {
  min-height: 520px;
}

@media (max-width: 900px) {
  .omh-drive-filters--explorer {
    grid-template-columns: 1fr;
  }
}

/* alpha8 two-column OMH content layout */
.omh-drive-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}

.omh-drive-main {
  min-width: 0;
}

.omh-drive-sidebar {
  border-top: 1px solid #c9c9c9;
  margin-top: 0.25rem;
}

.omh-drive-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid #c9c9c9;
}

.omh-drive-sidebar__nav {
  display: flex;
  flex-direction: column;
}

.omh-drive-sidebar__link {
  display: block;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid #dfe1e2;
  color: #174a7c;
  text-decoration: none;
  line-height: 1.3;
}

.omh-drive-sidebar__link:hover,
.omh-drive-sidebar__link:focus {
  color: #0b2f57;
  background: #f4f6f8;
  text-decoration: underline;
}

.omh-drive-sidebar__link.is-active {
  color: #111;
  font-weight: 700;
  background: #eef5fc;
  border-left: 4px solid #005ea8;
  padding-left: calc(0.55rem - 4px);
}

.omh-drive-methodology {
  max-width: 920px;
}

.omh-drive-source-notes {
  white-space: pre-wrap;
  overflow-x: auto;
  max-height: 620px;
  padding: 1rem;
  border: 1px solid #dfe1e2;
  background: #f8f9fa;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .omh-drive-layout {
    grid-template-columns: 1fr;
  }

  .omh-drive-sidebar {
    border-top: 0;
  }

  .omh-drive-sidebar__nav {
    border: 1px solid #dfe1e2;
    border-bottom: 0;
  }
}

/* alpha11: compact header, OMH-style dashboard cards, light charts, improved compare filters, and 3-column overview grid */
.omh-drive-hero--compact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 0 0 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.omh-drive-hero__compact-logo {
  flex: 0 0 auto;
  max-width: 210px;
  height: auto;
}

.omh-drive-hero--compact .omh-drive-hero__body {
  padding: 0 0 0 1.25rem;
  border-left: 3px solid #1b1b1b;
}

.omh-drive-hero--compact .omh-drive-hero__body h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
}

.omh-drive-hero--compact .omh-drive-hero__body p {
  max-width: 900px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.omh-drive-intro {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  padding: 0;
}

.omh-drive-intro h2 {
  margin: 0 0 1rem;
  line-height: 1.1;
}

.omh-drive-intro h2 span {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #2f6fdf;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.omh-drive-intro p {
  max-width: 900px;
  margin: 0 0 1rem;
}

.omh-drive-card-list ul,
.omh-drive-card-list .item-list ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
}

.omh-drive-card-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.omh-drive-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 390px;
  border: 1px solid #aeb0b2;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
  transition: box-shadow .16s ease, transform .16s ease;
}

.omh-drive-card:hover,
.omh-drive-card:focus {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  transform: translateY(-2px);
  text-decoration: none;
}

.omh-drive-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.omh-drive-card__body strong {
  color: #174a7c;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.omh-drive-card__body span {
  color: #1b1b1b;
  font-size: 1rem;
  line-height: 1.55;
}

.omh-drive-chart {
  background: #fff;
}

.omh-drive-highchart,
.omh-drive-highchart .highcharts-container,
.omh-drive-highchart svg {
  background: #fff !important;
}

.omh-drive-highchart .highcharts-background,
.omh-drive-highchart .highcharts-plot-background {
  fill: #fff !important;
}

.omh-drive-filters--explorer {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-template-areas:
    "year category charttype"
    "metrics regions popgroups";
  gap: 1rem;
  align-items: start;
}

.omh-drive-filters--explorer .omh-drive-filter-item--year { grid-area: year; }
.omh-drive-filters--explorer .omh-drive-filter-item--category { grid-area: category; }
.omh-drive-filters--explorer .omh-drive-filter-item--chart-type { grid-area: charttype; }
.omh-drive-filters--explorer .omh-drive-filter-item--metrics { grid-area: metrics; }
.omh-drive-filters--explorer .omh-drive-filter-item--regions { grid-area: regions; }
.omh-drive-filters--explorer .omh-drive-filter-item--popgroups { grid-area: popgroups; }

.omh-drive-filters--explorer .omh-drive-filter-item--top select {
  min-height: 2.7rem;
}

.omh-drive-filters--explorer .omh-drive-filter-item--multi select[multiple] {
  min-height: 11.5rem;
}

@media (max-width: 780px) {
  .omh-drive-card-list ul,
  .omh-drive-card-list .item-list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .omh-drive-hero--compact {
    align-items: flex-start;
    flex-direction: column;
  }

  .omh-drive-hero--compact .omh-drive-hero__body {
    border-left: 0;
    border-top: 3px solid #1b1b1b;
    padding: 1rem 0 0;
  }

  .omh-drive-filters--explorer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "year"
      "category"
      "charttype"
      "metrics"
      "regions"
      "popgroups";
  }
}

@media (max-width: 640px) {
  .omh-drive-card-list ul,
  .omh-drive-card-list .item-list ul {
    grid-template-columns: 1fr;
  }

  .omh-drive-card {
    grid-template-rows: 180px 1fr;
  }
}


/* alpha12: explicit 3-column dashboard section grid.
   Drupal item_list markup was being affected by the OMH theme, so the cards now
   render in a dedicated grid container instead of relying on item_list output. */
.omh-drive-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 1.25rem 0 2rem;
  padding: 0;
  align-items: stretch;
}

.omh-drive-card-grid .omh-drive-card {
  width: 100%;
  min-width: 0;
}

.omh-drive-card-grid .omh-drive-card__image {
  min-height: 210px;
}

@media (max-width: 1100px) {
  .omh-drive-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .omh-drive-card-grid {
    grid-template-columns: 1fr !important;
  }
}


/* alpha13: restored Power BI-style introduction panel on the dashboard landing page. */
.omh-drive-intro-panel {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem 1.25rem;
  background: #e6e6e6;
  color: #1b1b1b;
  border: 0;
}

.omh-drive-intro-panel h2 {
  margin: 0 0 1rem;
  color: #1b1b1b;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.2;
  font-weight: 700;
}

.omh-drive-intro-panel p {
  margin: 0;
  max-width: none;
  color: #1b1b1b;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.3;
}

/* alpha14: focused dashboard blocks and chart presets. */
.omh-drive-filters--section {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-template-areas:
    "year state popgroup"
    "blocks blocks blocks";
}

.omh-drive-filters--section .omh-drive-filter-item--top:nth-of-type(1) { grid-area: year; }
.omh-drive-filters--section .omh-drive-filter-item--top:nth-of-type(2) { grid-area: state; }
.omh-drive-filters--section .omh-drive-filter-item--top:nth-of-type(3) { grid-area: popgroup; }
.omh-drive-filters--section .omh-drive-filter-item--blocks { grid-area: blocks; }
.omh-drive-filters--section .omh-drive-filter-item--blocks select[multiple] {
  min-height: 7.5rem;
}

.omh-drive-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.omh-drive-chart-card {
  border: 1px solid #dfe1e2;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  padding: 1rem;
  min-width: 0;
}

.omh-drive-chart-card--horizontalBar,
.omh-drive-chart-card--donut {
  min-height: 420px;
}

.omh-drive-chart-card--kpi {
  min-height: 240px;
  display: flex;
}

.omh-drive-highchart--block {
  min-height: 360px;
}

.omh-drive-kpi-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: center;
  border: 1px solid #565c65;
  padding: 1.5rem;
  background: #fff;
}

.omh-drive-kpi-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #1b1b1b;
}

.omh-drive-kpi-card__value {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: #1b1b1b;
  margin-bottom: 0.75rem;
}

.omh-drive-kpi-card__label {
  font-size: 1.15rem;
  color: #374151;
  margin-bottom: 0.75rem;
}

.omh-drive-kpi-card__description {
  margin: 0 auto;
  max-width: 520px;
  color: #454545;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 1050px) {
  .omh-drive-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .omh-drive-filters--section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "year"
      "state"
      "popgroup"
      "blocks";
  }
}

/* alpha15: OMH site-aligned landing page intro and section heading cleanup. */
.omh-drive-dashboard--home .omh-drive-intro-panel {
  margin: 1.5rem 0 2rem;
  padding: 0;
  background: transparent;
  border: 0;
  color: #1b1b1b;
}

.omh-drive-dashboard--home .omh-drive-intro-panel h2,
.omh-drive-dashboard--home .omh-drive-intro h2 {
  margin: 0 0 0.75rem;
  padding: 0;
  color: #1b1b1b;
  background: transparent;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
}

.omh-drive-dashboard--home .omh-drive-intro-panel h2::after,
.omh-drive-dashboard--home .omh-drive-intro h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin-top: 0.55rem;
  background: #1f5c99;
}

.omh-drive-dashboard--home .omh-drive-intro h2 span {
  display: inline;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.omh-drive-dashboard--home .omh-drive-intro-panel p,
.omh-drive-dashboard--home .omh-drive-intro p {
  max-width: 1060px;
  margin: 0;
  color: #1b1b1b;
  font-size: 1rem;
  line-height: 1.55;
}

.omh-drive-dashboard--home .omh-drive-intro {
  margin: 0 0 1.25rem;
  padding: 0;
}


/* alpha16: compact filters and adaptive section dashboard grid. */
.omh-drive-filters--section {
  padding: 0.85rem;
  gap: 0.85rem 1rem;
}

.omh-drive-filters--section .omh-drive-filter-help {
  display: none;
}

.omh-drive-filters--section .omh-drive-filter-item--blocks select[multiple] {
  min-height: 5.5rem;
}

.omh-drive-filters--explorer .omh-drive-filter-help {
  display: none;
}

.omh-drive-section-grid--single {
  grid-template-columns: 1fr;
}

.omh-drive-section-grid--odd:not(.omh-drive-section-grid--single) > .omh-drive-chart-card:last-child {
  grid-column: 1 / -1;
}

.omh-drive-section-grid--single .omh-drive-chart-card {
  width: 100%;
}

/* alpha18: standard OMH-style methodology and source notes page. */
.omh-drive-methodology {
  max-width: 100%;
}

.omh-drive-methodology__intro {
  margin-bottom: 2rem;
}

.omh-drive-methodology__intro h2,
.omh-drive-methodology-section h2 {
  margin: 0 0 0.65rem;
  color: #111;
  font-weight: 700;
  line-height: 1.25;
}

.omh-drive-methodology__intro h2::after,
.omh-drive-methodology-section h2::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 4px;
  margin-top: 0.45rem;
  background: #005ea8;
}

.omh-drive-methodology__intro p,
.omh-drive-methodology-item__body p {
  max-width: 980px;
  margin: 0 0 1rem;
  color: #1b1b1b;
  line-height: 1.6;
}

.omh-drive-methodology-section {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #dfe1e2;
}

.omh-drive-methodology-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.omh-drive-methodology-item {
  margin: 1.15rem 0 0;
}

.omh-drive-methodology-item h3 {
  margin: 0 0 0.35rem;
  color: #174a7c;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.omh-drive-methodology-item__body {
  max-width: 980px;
  color: #1b1b1b;
  font-size: 1rem;
  line-height: 1.6;
}

.omh-drive-methodology-item__body table {
  width: 100%;
  max-width: 980px;
  margin: 0.75rem 0 1rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.omh-drive-methodology-item__body td,
.omh-drive-methodology-item__body th {
  padding: 0.55rem 0.65rem;
  border: 1px solid #dfe1e2;
  vertical-align: top;
}

.omh-drive-methodology-item__body th {
  background: #f5f5f5;
  font-weight: 700;
}

.omh-drive-methodology-item__body a {
  color: #174a7c;
  text-decoration: underline;
}

.omh-drive-alert {
  padding: 1rem;
  border-left: 4px solid #b50909;
  background: #fff3f2;
}

/* alpha21: multi-year comparison explorer refinements. */
.omh-drive-filters .is-hidden {
  display: none !important;
}

.omh-drive-filters--explorer {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  grid-template-areas:
    "mode year category charttype"
    "metrics years regions popgroups";
}

.omh-drive-filters--explorer .omh-drive-filter-item--mode { grid-area: mode; }
.omh-drive-filters--explorer .omh-drive-filter-item--years { grid-area: years; }

.omh-drive-table-actions {
  margin: .75rem 0;
}

.omh-drive-button--small {
  border: 1px solid #005ea8;
  background: #005ea8;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  padding: .45rem .75rem;
  text-decoration: none;
}

.omh-drive-button--small:hover,
.omh-drive-button--small:focus {
  background: #1a4480;
  border-color: #1a4480;
}

@media (max-width: 1100px) {
  .omh-drive-filters--explorer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "mode year"
      "category charttype"
      "metrics years"
      "regions popgroups";
  }
}

@media (max-width: 900px) {
  .omh-drive-filters--explorer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "mode"
      "year"
      "category"
      "charttype"
      "metrics"
      "years"
      "regions"
      "popgroups";
  }
}


/* alpha22: consistent multi-year filter layout across section and compare pages. */
.omh-drive-filters--section {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-template-areas:
    "state popgroup ."
    "years blocks blocks";
  align-items: start;
}

.omh-drive-filters--section .omh-drive-filter-item--state { grid-area: state; }
.omh-drive-filters--section .omh-drive-filter-item--popgroup { grid-area: popgroup; }
.omh-drive-filters--section .omh-drive-filter-item--years { grid-area: years; }
.omh-drive-filters--section .omh-drive-filter-item--blocks { grid-area: blocks; }

.omh-drive-filters--section .omh-drive-filter-item--years select[multiple],
.omh-drive-filters--section .omh-drive-filter-item--blocks select[multiple] {
  min-height: 6.25rem;
}

.omh-drive-filters--explorer {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-template-areas:
    "mode category charttype"
    "years metrics metrics"
    "regions regions popgroups";
  align-items: start;
}

.omh-drive-filters--explorer .omh-drive-filter-item--mode { grid-area: mode; }
.omh-drive-filters--explorer .omh-drive-filter-item--category { grid-area: category; }
.omh-drive-filters--explorer .omh-drive-filter-item--chart-type { grid-area: charttype; }
.omh-drive-filters--explorer .omh-drive-filter-item--years { grid-area: years; }
.omh-drive-filters--explorer .omh-drive-filter-item--metrics { grid-area: metrics; }
.omh-drive-filters--explorer .omh-drive-filter-item--regions { grid-area: regions; }
.omh-drive-filters--explorer .omh-drive-filter-item--popgroups { grid-area: popgroups; }

.omh-drive-filters--explorer .omh-drive-filter-item--multi select[multiple] {
  min-height: 8.5rem;
}

.omh-drive-filter-item--emphasis > span::after {
  content: '  active';
  color: #005ea8;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .omh-drive-filters--explorer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "mode category"
      "charttype years"
      "metrics metrics"
      "regions popgroups";
  }
}

@media (max-width: 900px) {
  .omh-drive-filters--section,
  .omh-drive-filters--explorer {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .omh-drive-filters--section .omh-drive-filter-item,
  .omh-drive-filters--explorer .omh-drive-filter-item {
    grid-area: auto !important;
  }
}


/* alpha28: restore clean section filter layout and make section Year a single-select. */
.omh-drive-filters--section {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-template-areas:
    "year state popgroup"
    "blocks blocks blocks";
  gap: 1rem;
  align-items: start;
}

.omh-drive-filters--section .omh-drive-filter-item--year { grid-area: year !important; }
.omh-drive-filters--section .omh-drive-filter-item--state { grid-area: state !important; }
.omh-drive-filters--section .omh-drive-filter-item--popgroup { grid-area: popgroup !important; }
.omh-drive-filters--section .omh-drive-filter-item--blocks { grid-area: blocks !important; }

.omh-drive-filters--section .omh-drive-filter-item--year select,
.omh-drive-filters--section .omh-drive-filter-item--state select,
.omh-drive-filters--section .omh-drive-filter-item--popgroup select {
  min-height: 2.7rem;
}

.omh-drive-filters--section .omh-drive-filter-item--blocks select[multiple] {
  min-height: 6.25rem;
}

@media (max-width: 900px) {
  .omh-drive-filters--section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "year"
      "state"
      "popgroup"
      "blocks";
  }
}

/* Admin configuration tables. */
.omh-drive-admin-options-table td,
.omh-drive-admin-options-table th {
  vertical-align: top;
}

.omh-drive-admin-options-table small {
  color: #555;
}


/* alpha33: selected-filter context text and OMH color-palette chart refinements. */
.omh-drive-selection-summary {
  margin: -0.25rem 0 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #0055a4;
  background: #f5f9fc;
  color: #1b1b1b;
  font-size: 0.98rem;
  line-height: 1.55;
}

.omh-drive-selection-summary strong {
  color: #1b1b1b;
}

.omh-drive-chart-card {
  border-top: 4px solid #0055a4;
}

.omh-drive-chart-card:nth-child(6n + 1) { border-top-color: #0055a4; }
.omh-drive-chart-card:nth-child(6n + 2) { border-top-color: #7bc143; }
.omh-drive-chart-card:nth-child(6n + 3) { border-top-color: #f78f1e; }
.omh-drive-chart-card:nth-child(6n + 4) { border-top-color: #a54499; }
.omh-drive-chart-card:nth-child(6n + 5) { border-top-color: #aeb0b2; }
.omh-drive-chart-card:nth-child(6n + 6) { border-top-color: #231f20; }

.omh-drive-filters + .omh-drive-selection-summary {
  clear: both;
}


/* alpha34: tighter filter-summary spacing and visible current-selection label. */
.omh-drive-status {
  min-height: 0;
  margin: 0;
}

.omh-drive-status:not(:empty) {
  min-height: 1.5rem;
  margin-bottom: 0.5rem;
}

.omh-drive-selection-summary {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: -0.25rem 0 0.85rem;
  padding: 0.75rem 0.95rem;
}

.omh-drive-selection-summary__title {
  flex: 0 0 auto;
  color: #1b1b1b;
  font-weight: 700;
}

.omh-drive-selection-summary__title::after {
  content: ':';
}

.omh-drive-selection-summary__text {
  display: block;
  min-width: 0;
}

@media (max-width: 640px) {
  .omh-drive-selection-summary {
    display: block;
  }

  .omh-drive-selection-summary__title {
    display: block;
    margin-bottom: 0.25rem;
  }
}


/* alpha35: make the current-selection label its own line and improve summary readability. */
.omh-drive-selection-summary__title {
  display: block;
  margin: 0 0 0.25rem;
  color: #1b1b1b;
  font-weight: 700;
}

.omh-drive-selection-summary__text {
  display: block;
}


/* alpha36: force Current selection heading onto its own line with no inline colon behavior. */
.omh-drive-selection-summary {
  display: block;
}

.omh-drive-selection-summary__title {
  display: block !important;
  margin: 0 0 0.35rem !important;
  padding: 0;
  font-weight: 700;
  line-height: 1.35;
}

.omh-drive-selection-summary__title::after {
  content: none !important;
}

.omh-drive-selection-summary__text {
  display: block !important;
  line-height: 1.5;
}


/* alpha38: emphasize selected values in the Current selection summary. */
.omh-drive-selection-summary__selected {
  font-weight: 700;
}

.omh-drive-selection-summary__selected em {
  font-style: italic;
}


/* alpha39: approved icon-based Dashboard Sections design. */
.omh-drive-card-grid--icons {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.75rem !important;
  max-width: 1040px;
}

.omh-drive-card-grid--icons .omh-drive-card--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 245px;
  padding: 1.75rem 1.35rem 1.5rem;
  border: 1px solid #dfe1e2;
  border-top: 4px solid #0055a4;
  border-radius: 6px;
  background: #fff;
  color: #1b1b1b;
  overflow: visible;
  text-align: center;
  box-shadow: 0 2px 8px rgba(27, 27, 27, 0.08);
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}

.omh-drive-card-grid--icons .omh-drive-card--icon:hover,
.omh-drive-card-grid--icons .omh-drive-card--icon:focus {
  box-shadow: 0 8px 18px rgba(27, 27, 27, 0.16);
  transform: translateY(-2px);
  text-decoration: none;
}

.omh-drive-card--icon .omh-drive-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.75rem;
  height: 6.75rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(0, 85, 164, 0.08);
}

.omh-drive-card--icon .omh-drive-card__icon {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
}

.omh-drive-card--icon .omh-drive-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.omh-drive-card--icon .omh-drive-card__image {
  display: none;
}

.omh-drive-card-grid--icons .omh-drive-card__body {
  display: block;
  padding: 0;
}

.omh-drive-card-grid--icons .omh-drive-card__body strong {
  display: block;
  margin: 0 0 0.65rem;
  color: #0055a4;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.2;
  font-weight: 700;
}

.omh-drive-card-grid--icons .omh-drive-card__body span {
  display: block;
  max-width: 18rem;
  margin: 0 auto;
  color: #1b1b1b;
  font-size: 0.98rem;
  line-height: 1.45;
}

.omh-drive-card--education {
  border-top-color: #0055a4 !important;
}

.omh-drive-card--education .omh-drive-card__icon-wrap {
  background: rgba(0, 85, 164, 0.10);
}

.omh-drive-card--education .primary,
.omh-drive-card--education .secondary {
  fill: #0055a4;
}

.omh-drive-card--housing {
  border-top-color: #a54499 !important;
}

.omh-drive-card--housing .omh-drive-card__icon-wrap {
  background: rgba(165, 68, 153, 0.12);
}

.omh-drive-card--housing .primary {
  fill: #a54499;
}

.omh-drive-card--housing .secondary {
  fill: rgba(165, 68, 153, 0.42);
}

.omh-drive-card--finance {
  border-top-color: #7bc143 !important;
}

.omh-drive-card--finance .omh-drive-card__icon-wrap {
  background: rgba(123, 193, 67, 0.14);
}

.omh-drive-card--finance .primary {
  fill: #7bc143;
}

.omh-drive-card--finance .secondary {
  fill: rgba(123, 193, 67, 0.38);
}

.omh-drive-card--language {
  border-top-color: #f78f1e !important;
}

.omh-drive-card--language .omh-drive-card__icon-wrap {
  background: rgba(247, 143, 30, 0.13);
}

.omh-drive-card--language .primary {
  fill: #f78f1e;
}

.omh-drive-card--language .secondary {
  fill: rgba(247, 143, 30, 0.42);
}

.omh-drive-card--resources {
  border-top-color: #231f20 !important;
}

.omh-drive-card--resources .omh-drive-card__icon-wrap {
  background: rgba(174, 176, 178, 0.24);
}

.omh-drive-card--resources .primary {
  fill: #404040;
}

.omh-drive-card--resources .secondary {
  fill: #737373;
}

.omh-drive-card--compare {
  border-top-color: #0055a4 !important;
}

.omh-drive-card--compare .omh-drive-card__icon-wrap {
  background: rgba(0, 85, 164, 0.09);
}

.omh-drive-card--compare .primary {
  fill: #0055a4;
}

.omh-drive-card--compare .secondary {
  fill: #7bc143;
}

.omh-drive-card--compare .tertiary {
  fill: #a54499;
}

.omh-drive-card--icon .cutout {
  fill: #fff;
}

@media (max-width: 1100px) {
  .omh-drive-card-grid--icons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .omh-drive-card-grid--icons {
    grid-template-columns: 1fr !important;
  }

  .omh-drive-card-grid--icons .omh-drive-card--icon {
    min-height: 220px;
  }
}


/* alpha40: accessibility and responsive hardening pass. */
.omh-drive-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.omh-drive-card:focus,
.omh-drive-card:focus-visible,
.omh-drive-button--small:focus,
.omh-drive-button--small:focus-visible,
.omh-drive-select:focus,
.omh-drive-select:focus-visible {
  outline: 3px solid #f78f1e;
  outline-offset: 3px;
}

.omh-drive-status:empty {
  min-height: 0;
  margin: 0;
  padding: 0;
}

.omh-drive-status:not(:empty) {
  min-height: 1.5rem;
  margin: 0.5rem 0 0.75rem;
}

.omh-drive-select {
  min-height: 44px;
}

.omh-drive-table caption {
  text-align: left;
}

.omh-drive-empty {
  color: #1b1b1b;
}

.omh-drive-selection-summary {
  color: #1b1b1b;
}

.omh-drive-selection-summary__selected {
  color: #1b1b1b;
}

@media (max-width: 480px) {
  .omh-drive-dashboard {
    max-width: 100%;
  }

  .omh-drive-filters {
    padding: 0.75rem;
  }

  .omh-drive-highchart,
  .omh-drive-highchart--block {
    min-height: 360px;
  }

  .omh-drive-kpi-card__value {
    font-size: 2.5rem;
  }
}


/* alpha42: one visible chart title per dashboard card; accessible context retained. */
.omh-drive-chart-card__title {
  margin: 0 0 0.35rem;
  color: #1b1b1b;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.2;
  font-weight: 500;
}

.omh-drive-chart-card__description {
  margin: 0 0 1rem;
  color: #1b1b1b;
  font-size: 0.98rem;
  line-height: 1.45;
}

.omh-drive-chart-card--kpi {
  flex-direction: column;
}

.omh-drive-chart-card--kpi .omh-drive-kpi-card {
  flex: 1 1 auto;
}

.omh-drive-highchart--block {
  min-height: 330px;
}

.omh-drive-chart-card .highcharts-title,
.omh-drive-chart-card .highcharts-subtitle {
  display: none;
}


/* alpha45: client comments, citation treatment, and configured label update support. */
.omh-drive-chart-card--block-education_distribution { border-top-color: #0055a4 !important; }
.omh-drive-chart-card--block-high_school_or_higher { border-top-color: #7bc143 !important; }
.omh-drive-chart-card--block-bachelors_or_higher { border-top-color: #a54499 !important; }
.omh-drive-chart-card--block-poverty_by_age { border-top-color: #0055a4 !important; }
.omh-drive-chart-card--block-income_by_sex { border-top-color: #a54499 !important; }
.omh-drive-chart-card--block-unemployment_rate { border-top-color: #7bc143 !important; }
.omh-drive-chart-card--block-household_income { border-top-color: #0055a4 !important; }

.omh-drive-filter-item--emphasis > span::after {
  content: none !important;
}

.omh-drive-filters--explorer {
  gap: 0.75rem 1rem;
}

.omh-drive-filters--explorer .omh-drive-filter-item--multi select[multiple],
.omh-drive-filters--explorer .omh-drive-filter-item--metrics select[multiple] {
  min-height: 7rem;
}

.omh-drive-citation {
  margin: 1.75rem auto 0;
  padding: 0.5rem 1rem 0;
  color: #4b4b4b;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.5;
}

.omh-drive-citation p {
  margin: 0 auto;
  max-width: 980px;
}

.omh-drive-citation cite,
.omh-drive-citation em {
  font-style: italic;
}


/* alpha48: OMH DRIVE informational pages with simplified module-owned classes. */
.omh-drive-info-page {
  max-width: 980px;
  color: #1b1b1b;
}

.omh-drive-info-page .node__content {
  display: block;
}

.omh-drive-info-page .omh-drive-info-toc {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #e5f3fb;
  border-left: 4px solid #005ea8;
}

.omh-drive-info-page .omh-drive-info-toc ul {
  margin: 0;
  padding-left: 1.25rem;
}

.omh-drive-info-page .omh-drive-info-toc li {
  margin: 0.35rem 0;
}

.omh-drive-info-page h2 {
  margin: 2rem 0 0.75rem;
  color: #1b1b1b;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.25;
}

.omh-drive-info-page h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin-top: 0.45rem;
  background: #005ea8;
}

.omh-drive-info-page h3 {
  margin: 1.4rem 0 0.55rem;
  color: #1b1b1b;
  font-size: 1.2rem;
  line-height: 1.3;
}

.omh-drive-info-page p,
.omh-drive-info-page li {
  font-size: 1rem;
  line-height: 1.6;
}

.omh-drive-info-page figure {
  margin: 1.2rem auto;
  text-align: center;
}

.omh-drive-info-page img {
  max-width: 100%;
  height: auto;
}

.omh-drive-info-page table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.omh-drive-info-page th,
.omh-drive-info-page td {
  padding: 0.65rem 0.75rem;
  border: 1px solid #565c65;
  vertical-align: top;
}

.omh-drive-info-page th {
  background: #f5f5f5;
  font-weight: 700;
}

.omh-drive-info-page a {
  color: #174a7c;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .omh-drive-info-page .omh-drive-info-toc {
    padding: 0.85rem 1rem;
  }

  .omh-drive-info-page table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }
}


/* alpha49: FAQ/User Guide page refinements for icon section, card link, and table alignment. */
.omh-drive-info-page table th {
  text-align: center;
}

.omh-drive-info-page table td {
  text-align: left;
}

.omh-drive-info-page table td:first-child {
  text-align: left;
}

.omh-drive-info-icon-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 1rem;
  align-items: end;
  margin: 1.5rem 0 1.5rem;
  text-align: center;
}

.omh-drive-info-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: #1b1b1b;
}

.omh-drive-info-icon__symbol {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
}

.omh-drive-info-icon__symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}

.omh-drive-info-icon strong {
  display: block;
  font-weight: 700;
}

.omh-drive-info-icon--education .primary,
.omh-drive-info-icon--education .secondary {
  fill: #0055a4;
}

.omh-drive-info-icon--housing .primary {
  fill: #a54499;
}

.omh-drive-info-icon--housing .secondary {
  fill: rgba(165, 68, 153, 0.45);
}

.omh-drive-info-icon--economics .primary {
  fill: #7bc143;
}

.omh-drive-info-icon--economics .secondary {
  fill: rgba(123, 193, 67, 0.4);
}

.omh-drive-info-icon--language .primary {
  fill: #f78f1e;
}

.omh-drive-info-icon--language .secondary {
  fill: rgba(247, 143, 30, 0.45);
}

.omh-drive-info-icon--resources .primary {
  fill: #737373;
}

.omh-drive-info-icon--resources .secondary {
  fill: #aeb0b2;
}

.omh-drive-info-icon .cutout {
  fill: #fff;
}

.omh-drive-info-card-link {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #c9c9c9;
  border-radius: 0.65rem;
  color: #1b1b1b;
  text-decoration: none;
  background: #fff;
}

.omh-drive-info-card-link:hover,
.omh-drive-info-card-link:focus {
  border-color: #0055a4;
  box-shadow: 0 3px 10px rgba(0, 85, 164, 0.18);
  text-decoration: none;
}

.omh-drive-info-card-link:focus,
.omh-drive-info-card-link:focus-visible {
  outline: 3px solid #f78f1e;
  outline-offset: 3px;
}

.omh-drive-info-card-link__media {
  display: block;
}

.omh-drive-info-card-link__mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.55rem;
  border: 1px solid #dfe1e2;
  background: #f8f9fa;
}

.omh-drive-info-card-link__mini span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.25rem;
  border-top: 3px solid #0055a4;
  background: #fff;
  color: #174a7c;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.omh-drive-info-card-link__mini span:nth-child(2) { border-top-color: #a54499; }
.omh-drive-info-card-link__mini span:nth-child(3) { border-top-color: #7bc143; }
.omh-drive-info-card-link__mini span:nth-child(4) { border-top-color: #f78f1e; }
.omh-drive-info-card-link__mini span:nth-child(5) { border-top-color: #737373; }
.omh-drive-info-card-link__mini span:nth-child(6) { border-top-color: #0055a4; }

.omh-drive-info-card-link__body strong {
  display: block;
  margin-bottom: 0.7rem;
  color: #1b1b1b;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.omh-drive-info-card-link__body span {
  display: block;
  color: #1b1b1b;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .omh-drive-info-icon-row {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }
}

@media (max-width: 640px) {
  .omh-drive-info-icon-row {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .omh-drive-info-card-link {
    grid-template-columns: 1fr;
  }
}


/* alpha50: FAQ/User Guide icon assets and informational table alignment fixes. */
.omh-drive-info-page table thead th {
  text-align: center !important;
}

.omh-drive-info-page table tbody th,
.omh-drive-info-page table tbody td {
  text-align: left !important;
}

.omh-drive-info-page table tbody th {
  vertical-align: top;
}

.omh-drive-info-icon-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 1.25rem;
  align-items: end;
  margin: 1.5rem 0 1.75rem;
  text-align: center;
}

.omh-drive-info-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  color: #1b1b1b;
}

.omh-drive-info-icon img {
  display: block;
  width: min(100%, 132px);
  height: auto;
  max-height: 132px;
  object-fit: contain;
}

.omh-drive-info-icon strong {
  display: block;
  font-weight: 700;
}

.omh-drive-info-card-link__media img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  border: 1px solid #dfe1e2;
  background: #fff;
}

@media (max-width: 900px) {
  .omh-drive-info-icon-row {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }
}

@media (max-width: 640px) {
  .omh-drive-info-icon-row {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .omh-drive-info-icon img {
    max-height: 112px;
  }
}


/* alpha51: make the informational dashboard access card behave like the overview cards. */
.omh-drive-info-page .omh-drive-info-card-link,
.omh-drive-info-page .omh-drive-info-card-link:visited {
  color: #1b1b1b;
  text-decoration: none !important;
}

.omh-drive-info-page .omh-drive-info-card-link *,
.omh-drive-info-page .omh-drive-info-card-link:hover *,
.omh-drive-info-page .omh-drive-info-card-link:focus * {
  text-decoration: none;
}

.omh-drive-info-card-link {
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.omh-drive-info-card-link:hover,
.omh-drive-info-card-link:focus,
.omh-drive-info-card-link:focus-visible {
  border-color: #0055a4;
  box-shadow: 0 8px 18px rgba(27, 27, 27, 0.16);
  transform: translateY(-2px);
}

.omh-drive-info-card-link:hover .omh-drive-info-card-link__body strong,
.omh-drive-info-card-link:focus .omh-drive-info-card-link__body strong,
.omh-drive-info-card-link:focus-visible .omh-drive-info-card-link__body strong {
  color: #174a7c;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.omh-drive-info-card-link__body span {
  text-decoration: none !important;
}


/* alpha52: packaged User Guide replacement screenshots. */
.omh-drive-info-page img[src*="drive-guide/screen1-dashboard-sections"],
.omh-drive-info-page img[src*="drive-guide/screen2-side-navigation"] {
  display: block;
  width: 100%;
  max-width: 950px;
  height: auto;
  margin: 0 auto;
  border: 1px solid #dfe1e2;
}
