:root {
  --bm-navy: #173f4d;
  --bm-ink: #1b3039;
  --bm-teal: #1f6d6a;
  --bm-red: #a94d47;
  --bm-amber: #a66c24;
  --bm-blue: #3b6685;
  --bm-violet: #695b80;
  --bm-paper: #f7f5ef;
  --bm-line: #c7d4d7;
}

.bm-page {
  color: var(--bm-ink);
}

.bm-home-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(3.4rem, 8vw, 6.5rem) max(1.25rem, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 86% 18%, rgb(113 184 177 / 24%), transparent 24rem),
    linear-gradient(135deg, #ecf2ee 0%, #f8f5ed 56%, #edf1f3 100%);
  border-bottom: 1px solid var(--bm-line);
}

.bm-home-intro::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgb(23 63 77 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(23 63 77 / 4%) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to right, transparent, #000 45%, #000);
}

.bm-home-intro__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}

.bm-home-intro h1 {
  max-width: 13ch;
  margin: 0.25rem 0 1rem;
  color: var(--bm-navy);
  font-size: clamp(2.75rem, 6.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.bm-lead {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.75;
}

.bm-home-search {
  display: flex;
  max-width: 42rem;
  margin-top: 2rem;
  padding: 0.35rem;
  background: rgb(255 255 255 / 82%);
  border: 1px solid var(--bm-line);
  border-radius: 0.55rem;
  box-shadow: 0 12px 30px rgb(23 63 77 / 9%);
}

.bm-home-search input {
  min-width: 0;
  flex: 1;
  padding: 0.85rem 1rem;
  color: var(--bm-ink);
  background: transparent;
  border: 0;
}

.bm-home-search button {
  padding: 0.75rem 1.15rem;
  color: #fff;
  background: var(--bm-navy);
  border: 0;
  border-radius: 0.38rem;
  font-weight: 700;
}

.bm-positioning {
  padding: 1.4rem;
  background: rgb(23 63 77 / 94%);
  color: #fff;
  border-left: 5px solid #75b9ae;
  box-shadow: 0 20px 45px rgb(23 63 77 / 18%);
}

.bm-positioning__label,
.bm-entry-card__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bm-positioning h2 {
  margin: 0.55rem 0;
  color: #fff;
  font-size: 1.35rem;
}

.bm-positioning p {
  margin: 0;
  color: rgb(255 255 255 / 80%);
  line-height: 1.75;
}

.bm-section-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--bm-line);
  border-top: 0;
  box-shadow: 0 10px 25px rgb(23 63 77 / 8%);
}

.bm-section-nav a {
  padding: 1rem 0.65rem;
  color: var(--bm-navy);
  border-right: 1px solid var(--bm-line);
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.bm-section-nav a:last-child {
  border-right: 0;
}

.bm-section-nav a:hover,
.bm-section-nav a:focus-visible {
  color: #fff;
  background: var(--bm-navy);
}

.bm-entry-section,
.bm-evidence-bridge {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3.2rem, 7vw, 6rem) 1.25rem;
}

.bm-section-heading {
  max-width: 49rem;
  margin-bottom: 2rem;
}

.bm-section-heading h2 {
  margin: 0.25rem 0 0.65rem;
  color: var(--bm-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
}

.bm-section-heading > p:last-child {
  color: #53666e;
  line-height: 1.7;
}

.bm-entry-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}

.bm-entry-card {
  --bm-card-accent: var(--bm-teal);
  position: relative;
  display: flex;
  grid-column: span 2;
  min-height: 21rem;
  flex-direction: column;
  padding: 1.55rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bm-line);
  border-top: 5px solid var(--bm-card-accent);
  box-shadow: 0 14px 36px rgb(23 63 77 / 8%);
}

.bm-entry-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.bm-entry-card--red { --bm-card-accent: var(--bm-red); }
.bm-entry-card--blue { --bm-card-accent: var(--bm-blue); }
.bm-entry-card--amber { --bm-card-accent: var(--bm-amber); }
.bm-entry-card--violet { --bm-card-accent: var(--bm-violet); }

.bm-entry-card__number {
  position: absolute;
  top: 0.55rem;
  right: 0.9rem;
  color: color-mix(in srgb, var(--bm-card-accent) 14%, white);
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1;
}

.bm-entry-card__kicker {
  position: relative;
  margin: 0 0 2.4rem;
  color: var(--bm-card-accent);
}

.bm-entry-card h3 {
  position: relative;
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
  line-height: 1.3;
}

.bm-entry-card h3 a {
  color: var(--bm-navy);
  text-decoration: none;
}

.bm-entry-card > p:not(.bm-entry-card__kicker),
.bm-entry-card li {
  color: #53666e;
  line-height: 1.65;
}

.bm-entry-card__tags {
  color: var(--bm-card-accent) !important;
  font-size: 0.86rem;
  font-weight: 750;
}

.bm-entry-card ul {
  padding-left: 1.2rem;
}

.bm-entry-card__action {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--bm-card-accent);
  border-top: 1px solid var(--bm-line);
  font-weight: 800;
  text-decoration: none;
}

.bm-evidence-bridge {
  max-width: none;
  padding-right: max(1.25rem, calc((100vw - 1180px) / 2));
  padding-left: max(1.25rem, calc((100vw - 1180px) / 2));
  background: var(--bm-paper);
  border-block: 1px solid var(--bm-line);
}

.bm-evidence-bridge ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  margin: 0 0 2rem;
  background: var(--bm-line);
  list-style: none;
  counter-reset: bm-bridge;
}

.bm-evidence-bridge li {
  padding: 1.4rem;
  background: var(--bm-paper);
  line-height: 1.7;
  counter-increment: bm-bridge;
}

.bm-evidence-bridge li::before {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--bm-teal);
  content: "0" counter(bm-bridge);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

@media (max-width: 920px) {
  .bm-home-intro__grid {
    grid-template-columns: 1fr;
  }

  .bm-positioning {
    max-width: 42rem;
  }

  .bm-entry-card,
  .bm-entry-card:nth-child(4) {
    grid-column: span 3;
  }

  .bm-entry-card:last-child {
    grid-column: 2 / span 4;
  }
}

@media (max-width: 680px) {
  .bm-home-intro h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .bm-section-nav {
    position: static;
    grid-template-columns: 1fr;
    margin: 0 1rem;
  }

  .bm-section-nav a {
    border-right: 0;
    border-bottom: 1px solid var(--bm-line);
    text-align: left;
  }

  .bm-section-nav a:last-child {
    border-bottom: 0;
  }

  .bm-entry-grid,
  .bm-evidence-bridge ol {
    grid-template-columns: 1fr;
  }

  .bm-entry-card,
  .bm-entry-card:nth-child(4),
  .bm-entry-card:last-child {
    grid-column: 1;
    min-height: auto;
  }
}

/* Shared bone-marrow level-two pages */
.bm-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.bm-subhero {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
  background: linear-gradient(130deg, #edf4f1, #f8f5ed);
  border-bottom: 1px solid var(--bm-line);
}

.bm-subhero--red { background: linear-gradient(130deg, #f7eeee, #f8f5ed); }
.bm-subhero--blue { background: linear-gradient(130deg, #edf2f6, #f8f5ed); }
.bm-subhero--amber { background: linear-gradient(130deg, #f8f1e7, #f8f5ed); }
.bm-subhero--violet { background: linear-gradient(130deg, #f2eff6, #f8f5ed); }

.bm-subhero h1 {
  max-width: 18ch;
  margin: 0.35rem 0 0.65rem;
  color: var(--bm-navy);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.bm-subhero p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
  color: #53666e;
  font-size: 1.1rem;
}

.bm-breadcrumb {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 2rem;
  color: #65777e;
  font-size: 0.84rem;
}

.bm-breadcrumb a { color: var(--bm-teal); }

.bm-module-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1180px, calc(100% - 2.5rem));
  margin: -1px auto 0;
  background: #fff;
  border: 1px solid var(--bm-line);
  box-shadow: 0 10px 25px rgb(23 63 77 / 7%);
}

.bm-module-nav a {
  padding: 0.95rem 0.55rem;
  color: var(--bm-navy);
  border-right: 1px solid var(--bm-line);
  font-size: 0.88rem;
  font-weight: 720;
  text-align: center;
  text-decoration: none;
}

.bm-module-nav a:last-child { border-right: 0; }
.bm-module-nav a:hover,
.bm-module-nav a:focus-visible,
.bm-module-nav a.is-active { color: #fff; background: var(--bm-navy); }

.bm-content-stack {
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  padding-block: clamp(2.4rem, 6vw, 5rem);
}

.bm-boundary-note {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #eef6f3;
  border-left: 5px solid var(--bm-teal);
  line-height: 1.65;
}

.bm-boundary-note--red { background: #f8eeee; border-color: var(--bm-red); }
.bm-boundary-note--amber { background: #fbf3e8; border-color: var(--bm-amber); }
.bm-boundary-note--violet { background: #f3eff7; border-color: var(--bm-violet); }

.bm-section-heading--compact { margin-bottom: 1.35rem; }
.bm-section-heading--compact h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }

.bm-filter-bar {
  display: grid;
  grid-template-columns: minmax(15rem, 2fr) repeat(2, minmax(10rem, 1fr)) auto;
  gap: 0.8rem;
  align-items: end;
  padding: 1rem;
  background: var(--bm-paper);
  border: 1px solid var(--bm-line);
}

.bm-filter-bar--wide {
  grid-template-columns: repeat(3, minmax(10rem, 1fr));
}

.bm-filter-bar label,
.bm-inline-filter {
  display: grid;
  gap: 0.35rem;
  color: #4a5e66;
  font-size: 0.78rem;
  font-weight: 750;
}

.bm-filter-bar input,
.bm-filter-bar select,
.bm-inline-filter input {
  width: 100%;
  padding: 0.7rem 0.75rem;
  color: var(--bm-ink);
  background: #fff;
  border: 1px solid #aebfc3;
  border-radius: 0.25rem;
}

.bm-filter-bar button {
  padding: 0.75rem 1rem;
  color: var(--bm-navy);
  background: #fff;
  border: 1px solid var(--bm-navy);
  border-radius: 0.25rem;
  font-weight: 750;
}

.bm-result-meta {
  min-height: 1.5rem;
  margin: 0.8rem 0 1rem;
  color: #62757d;
  font-size: 0.86rem;
}

.bm-lineage-list,
.bm-challenge-list,
.bm-source-list {
  display: grid;
  gap: 1rem;
}

.bm-lineage-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bm-line);
}

.bm-lineage-group > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 1.2rem;
  background: #edf3f1;
}

.bm-lineage-group h3 { margin: 0; color: var(--bm-navy); }
.bm-lineage-group header span { color: #64767d; font-size: 0.82rem; }

.bm-stage-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.7fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.2rem;
  border-top: 1px solid #dde5e7;
}

.bm-stage-row h4 { margin: 0 0 0.35rem; color: var(--bm-ink); }
.bm-stage-row p { margin: 0; color: #53666e; line-height: 1.55; }

.bm-chip-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.bm-chip {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: var(--bm-navy);
  background: #edf3f4;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.bm-chip--warn { color: #734719; background: #f8ead5; }
.bm-chip--pending { color: #7b3733; background: #f7e4e3; }

.bm-stage-action {
  min-width: 5rem;
  color: var(--bm-teal);
  font-weight: 750;
  text-align: right;
}

.bm-compact-grid,
.bm-record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bm-info-card,
.bm-record-card,
.bm-challenge-card,
.bm-source-row {
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--bm-line);
  box-shadow: 0 8px 22px rgb(23 63 77 / 5%);
}

.bm-info-card h3,
.bm-record-card h3,
.bm-challenge-card h3 { margin: 0 0 0.55rem; color: var(--bm-navy); }
.bm-info-card p,
.bm-record-card p,
.bm-challenge-card p { color: #53666e; line-height: 1.6; }

.bm-record-card figure { margin: -1.15rem -1.15rem 1rem; }
.bm-record-card img { display: block; width: 100%; height: 13rem; object-fit: contain; background: #e7edef; }
.bm-record-card__meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }

.bm-card-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0.9rem 0;
}

.bm-card-facts > div {
  min-width: 0;
  padding: 0.55rem;
  background: var(--bm-paper);
}

.bm-card-facts dt { color: #6a7a80; font-size: 0.68rem; font-weight: 800; }
.bm-card-facts dd { margin: 0.2rem 0 0; overflow-wrap: anywhere; font-size: 0.78rem; }

.bm-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.bm-card-actions a,
.bm-card-details summary { color: var(--bm-teal); cursor: pointer; font-size: 0.82rem; font-weight: 750; }
.bm-card-details { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed var(--bm-line); }
.bm-card-details p { margin-bottom: 0.35rem; font-size: 0.82rem; }
.bm-card-details small { color: #687980; line-height: 1.5; }
.bm-card-boundary { margin: 0.8rem 0 0 !important; color: #7b3733 !important; font-size: 0.75rem; }
.bm-case-candidate-heading { max-width: none; margin: 2.4rem 0 1rem; }
.bm-case-candidate-heading h3 { margin-bottom: 0.3rem; color: var(--bm-navy); font-size: 1.3rem; }
.bm-case-candidate-heading p { margin: 0; }
.bm-load-more { display: flex; justify-content: center; margin-top: 1.2rem; }
.bm-subsection-title { margin: 2rem 0 0.85rem; color: var(--bm-navy); }

.bm-topic-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--bm-line);
}

.bm-topic-strip a {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.8rem;
  color: var(--bm-navy);
  background: #fff;
  text-decoration: none;
}

.bm-topic-strip a:hover,
.bm-topic-strip a:focus-visible { color: #fff; background: var(--bm-navy); }
.bm-topic-strip strong { font-size: 0.84rem; }
.bm-topic-strip span { font-size: 0.7rem; opacity: 0.72; }

.bm-empty-state {
  grid-column: 1 / -1;
  padding: 2rem;
  color: #53666e;
  background: var(--bm-paper);
  border: 1px dashed #9fb1b6;
  text-align: center;
}

.bm-next-step {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  color: #fff;
  background: var(--bm-navy);
}

.bm-next-step h2 { margin: 0.2rem 0 0; color: #fff; font-size: 1.45rem; }
.bm-next-step .eyebrow { color: #9cd0c7; }
.bm-next-step .button { background: #fff; color: var(--bm-navy); white-space: nowrap; }

.bm-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.8rem;
  background: var(--bm-paper);
  border: 1px solid var(--bm-line);
}

.bm-local-nav a {
  padding: 0.5rem 0.7rem;
  color: var(--bm-navy);
  background: #fff;
  border: 1px solid var(--bm-line);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.bm-step-heading {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--bm-line);
}

.bm-step-heading > span {
  color: #dbe5e7;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
}

.bm-step-heading h2 { margin: 0.15rem 0 0.65rem; color: var(--bm-navy); }

.bm-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.bm-two-column h3 { color: var(--bm-navy); }
.bm-two-column li { margin-bottom: 0.5rem; }
.bm-short-intro { max-width: 48rem; color: #53666e; }
.bm-inline-filter { max-width: 28rem; margin-bottom: 1rem; }
.bm-source-link { margin-top: 1rem; color: #53666e; }
.bm-source-link a { margin-left: 0.25rem; }

.bm-report-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-bottom: 1rem;
  background: var(--bm-line);
  border: 1px solid var(--bm-line);
}

.bm-report-flow span { position: relative; padding: 1rem 0.75rem; background: #fff; text-align: center; font-weight: 700; }
.bm-report-flow span:not(:last-child)::after { position: absolute; top: 50%; right: -0.4rem; z-index: 2; color: var(--bm-teal); content: "→"; transform: translateY(-50%); }

.bm-source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.bm-source-row h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.bm-source-row p { margin: 0.25rem 0; color: #60727a; font-size: 0.84rem; }
.bm-source-row a { color: var(--bm-teal); font-weight: 700; }

.bm-stage-detail {
  grid-column: 1 / -1;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--bm-line);
}

.bm-stage-detail summary { color: var(--bm-teal); cursor: pointer; font-weight: 750; }
.bm-stage-detail__body { padding-top: 1rem; }
.bm-stage-detail dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0 0 1rem; }
.bm-stage-detail dl > div { padding: 0.75rem; background: var(--bm-paper); }
.bm-stage-detail dt { color: #64777e; font-size: 0.72rem; font-weight: 800; }
.bm-stage-detail dd { margin: 0.3rem 0 0; line-height: 1.5; }

.bm-image-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.bm-image-strip figure,
.bm-challenge-card figure { margin: 0; }
.bm-image-strip img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e8edef; }
.bm-image-strip figcaption { padding-top: 0.25rem; color: #66777d; font-size: 0.68rem; }
.bm-muted { color: #65777e; }

.bm-data-drawer {
  background: var(--bm-paper);
  border: 1px solid var(--bm-line);
}

.bm-data-drawer > summary {
  padding: 1rem 1.2rem;
  color: var(--bm-navy);
  cursor: pointer;
  font-weight: 800;
}

.bm-data-drawer > .bm-compact-grid { padding: 1rem; border-top: 1px solid var(--bm-line); }

.bm-table-scroll {
  overflow-x: auto;
  border-top: 1px solid var(--bm-line);
}

.bm-coverage-table {
  width: 100%;
  min-width: 58rem;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.78rem;
}

.bm-coverage-table th,
.bm-coverage-table td {
  padding: 0.65rem;
  border: 1px solid #dde5e7;
  text-align: center;
  vertical-align: top;
}

.bm-coverage-table th { color: var(--bm-navy); background: #edf3f1; }
.bm-coverage-table td:nth-child(-n + 2) { text-align: left; }
.bm-coverage-table small { display: block; color: #65777e; }
.bm-coverage-table .is-filled { color: #1c6b4c; background: #e7f3ed; font-weight: 800; }
.bm-coverage-table .is-candidate { color: #734719; background: #f8ead5; font-weight: 800; }
.bm-coverage-table .is-empty { color: #8a989d; }

.bm-challenge-card figure { margin: -1.15rem -1.15rem 1rem; }
.bm-challenge-card figure img { display: block; width: 100%; height: 15rem; object-fit: cover; background: #e8edef; }

.bm-legacy-page {
  width: min(34rem, calc(100% - 2rem));
  margin: 15vh auto;
  padding: 2rem;
  background: var(--bm-paper);
  border-top: 5px solid var(--bm-teal);
  box-shadow: 0 16px 38px rgb(23 63 77 / 10%);
}

.bm-legacy-page h1 { color: var(--bm-navy); }

.bm-challenge-options { display: grid; gap: 0.5rem; margin: 1rem 0; }
.bm-challenge-options button { padding: 0.65rem; color: var(--bm-navy); background: #fff; border: 1px solid var(--bm-line); text-align: left; }
.bm-challenge-options button:hover,
.bm-challenge-options button:focus-visible { border-color: var(--bm-violet); }
.bm-challenge-feedback { min-height: 1.5rem; margin-top: 0.7rem; color: #52656d; font-size: 0.88rem; }
.bm-challenge-feedback.is-correct { color: #1c6b4c; }
.bm-challenge-feedback.is-wrong { color: #95413c; }

@media (max-width: 900px) {
  .bm-module-nav { grid-template-columns: repeat(2, 1fr); }
  .bm-module-nav a { border-bottom: 1px solid var(--bm-line); }
  .bm-filter-bar,
  .bm-filter-bar--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-compact-grid,
  .bm-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-report-flow { grid-template-columns: 1fr; }
  .bm-image-strip { grid-template-columns: repeat(3, 1fr); }
  .bm-topic-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-report-flow span:not(:last-child)::after { display: none; }
}

@media (max-width: 620px) {
  .bm-shell { width: min(100% - 1.5rem, 1180px); }
  .bm-module-nav { width: min(100% - 1.5rem, 1180px); grid-template-columns: 1fr; }
  .bm-module-nav a { border-right: 0; }
  .bm-boundary-note,
  .bm-stage-row,
  .bm-filter-bar,
  .bm-filter-bar--wide,
  .bm-two-column,
  .bm-compact-grid,
  .bm-record-grid,
  .bm-source-row { grid-template-columns: 1fr; }
  .bm-stage-detail dl,
  .bm-image-strip { grid-template-columns: 1fr 1fr; }
  .bm-topic-strip { grid-template-columns: 1fr; }
  .bm-stage-action { text-align: left; }
  .bm-next-step { align-items: flex-start; flex-direction: column; }
}
