
/* meaningful-feature-use figures — loaded article-locally after resources.css.
   Replaces meaningful-use-definition.svg, feature-use-signal-ladder.svg and
   reporting-threshold-comparison.svg (+ their -mobile variants). */

.mu-fig {
  margin: 38px 0;
  padding: 30px 32px 28px;
  border: 1px solid #cfdcf0;
  border-radius: 20px;
  background: #f4f7fb;
  color: #071b3a;
}

h3.mu-h {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #071b3a;
}

p.mu-sub {
  margin: 8px 0 26px;
  font-size: 16px;
  line-height: 1.45;
  color: #4b5b76;
  text-wrap: pretty;
}

p.mu-foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5a6a80;
  text-wrap: pretty;
}

/* ---------- figure 1: phrase to definition ---------- */

.mu-def {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 26px 24px;
  border: 1px solid #d7e2f2;
  border-radius: 16px;
  background: #fff;
}

.mu-def__claim {
  padding-right: 28px;
  border-right: 1px dashed #b0bdcd;
}

p.mu-def__k {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #5a6a80;
}

p.mu-def__vague {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.22;
  color: #5a6a80;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-wrap: pretty;
}

p.mu-def__why {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5a6a80;
  text-wrap: pretty;
}

.mu-def__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
}

.mu-def__grid > p.mu-def__k {
  grid-column: 1 / -1;
  margin: 0;
  color: #2559c9;
}

p.mu-def__a {
  margin: 0;
  padding-top: 12px;
  border-top: 3px solid #2f6df6;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #071b3a;
  text-wrap: pretty;
}

p.mu-def__q {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #5a6a80;
  text-wrap: pretty;
}

.mu-def__q b {
  font-weight: 600;
  color: #4b5b76;
}

/* ---------- figure 2: signal ladder ---------- */

.mu-ladder {
  padding: 18px 20px 14px;
  border: 1px solid #d7e2f2;
  border-radius: 16px;
  background: #fff;
}

.mu-brackets,
.mu-cols {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.mu-brackets {
  margin-bottom: 12px;
  align-items: end;
}

.mu-bracket {
  padding: 6px 10px 7px;
  border-radius: 8px 8px 0 0;
  border-bottom: 3px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}

.mu-bracket--c1 { grid-column: 1; }
.mu-bracket--c57 { grid-column: 5 / 8; }
.mu-bracket--c8 { grid-column: 8; }

.mu-bracket--grey { color: #5a6a80; background: #eef1f5; }
.mu-bracket--green { color: #17693f; background: #e8f3ec; }
.mu-bracket--dash { color: #5a6a80; background: #f4f7fb; border-bottom-style: dashed; }

.mu-barwrap {
  display: flex;
  align-items: flex-end;
  height: 172px;
}

.mu-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: #2f6df6;
}

.mu-bar--grey { background: #8494ab; }
.mu-bar--green { background: #17693f; }

.mu-bar--ghost {
  background: repeating-linear-gradient(-45deg, #d9e3ef 0 5px, #fff 5px 10px);
  border: 1px dashed #8494ab;
  border-bottom: 0;
}

.mu-bar--h1 { height: 26px; }
.mu-bar--h2 { height: 44px; }
.mu-bar--h3 { height: 62px; }
.mu-bar--h4 { height: 84px; }
.mu-bar--h5 { height: 108px; }
.mu-bar--h6 { height: 134px; }
.mu-bar--h7 { height: 158px; }
.mu-bar--h8 { height: 172px; }

.mu-col {
  border-top: 2px solid #071b3a;
  padding-top: 9px;
}

p.mu-col__t {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #071b3a;
  text-wrap: pretty;
}

.mu-col__t span {
  display: grid;
  place-items: center;
  margin: 0 0 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #071b3a;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

p.mu-col__d {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #5a6a80;
  text-wrap: pretty;
}

p.mu-axis {
  display: flex;
  justify-content: space-between;
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6a80;
}

.mu-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

p.mu-note {
  margin: 0;
  padding: 12px 16px;
  border-left: 4px solid #2f6df6;
  border-radius: 0 10px 10px 0;
  background: #fff;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5b76;
  text-wrap: pretty;
}

p.mu-note--amber { border-left-color: #d99b22; }

.mu-note b {
  color: #071b3a;
  font-weight: 700;
}

/* ---------- figure 3: five thresholds, twenty users ---------- */

.mu-sieve {
  padding: 16px 18px 12px;
  border: 1px solid #d7e2f2;
  border-radius: 16px;
  background: #fff;
}

.mu-srow {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 128px;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #e6edf7;
}

.mu-srow--head {
  padding-top: 0;
  border-top: 0;
  align-items: end;
}

p.mu-slab__t {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #071b3a;
}

p.mu-slab__d {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: #5a6a80;
}

.mu-groups {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.mu-group {
  flex: 6;
  display: flex;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 8px;
  background: #f4f7fb;
}

.mu-group--n5 { flex: 5; }
.mu-group--n4 { flex: 4; }
.mu-group--n3 { flex: 3; }
.mu-group--n2 { flex: 2; }

.mu-group--out { background: #eef1f5; }

.mu-srow--head .mu-group {
  display: block;
  padding: 0 2px 6px;
  background: none;
}

p.mu-group__t {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: #071b3a;
  text-wrap: pretty;
}

p.mu-group__n {
  margin: 1px 0 0;
  font-size: 13px;
  line-height: 1.2;
  color: #5a6a80;
  white-space: nowrap;
}

.mu-d {
  flex: 1;
  aspect-ratio: 1;
  min-width: 0;
  max-width: 22px;
  border: 1.5px solid #6b8096;
  border-radius: 50%;
  background: #fff;
}

.mu-d--on {
  border-color: #2f6df6;
  background: #2f6df6;
}

.mu-rail {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

p.mu-rail__h {
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5a6a80;
  text-align: right;
}

p.mu-rail__v {
  flex: 1;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  color: #071b3a;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mu-rail__v span {
  font-size: 14px;
  font-weight: 600;
  color: #5a6a80;
}

.mu-reads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

p.mu-read {
  margin: 0;
  padding: 12px 16px;
  border-left: 4px solid #2f6df6;
  border-radius: 0 10px 10px 0;
  background: #fff;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5b76;
  text-wrap: pretty;
}

p.mu-read--amber { border-left-color: #d99b22; }

.mu-read b {
  color: #071b3a;
  font-weight: 700;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .mu-srow {
    grid-template-columns: 132px minmax(0, 1fr) 122px;
    gap: 12px;
  }

  .mu-col__d { font-size: 14px; }
}

@media (max-width: 920px) {
  .mu-fig { padding: 24px 20px 22px; }

  h3.mu-h { font-size: 22px; }

  .mu-notes,
  .mu-reads {
    grid-template-columns: minmax(0, 1fr);
  }

  .mu-def {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .mu-def__claim {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px dashed #b0bdcd;
  }

  p.mu-def__vague { font-size: 21px; }

  .mu-def__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px 20px;
  }

  .mu-def__grid > p:nth-child(1) { order: 0; }
  .mu-def__grid > p:nth-child(2) { order: 1; }
  .mu-def__grid > p:nth-child(5) { order: 2; }
  .mu-def__grid > p:nth-child(3) { order: 3; }
  .mu-def__grid > p:nth-child(6) { order: 4; }
  .mu-def__grid > p:nth-child(4) { order: 5; }
  .mu-def__grid > p:nth-child(7) { order: 6; }

  p.mu-def__q { margin-bottom: 12px; }

  .mu-brackets { display: none; }

  .mu-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .mu-col {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    gap: 4px 14px;
    padding: 8px 0;
    border-top: 1px solid #e6edf7;
  }

  .mu-col:first-child { border-top: 0; }

  .mu-barwrap {
    grid-column: 2;
    grid-row: 1 / -1;
    align-items: center;
    height: auto;
  }

  .mu-bar {
    height: 20px !important;
    border-radius: 0 5px 5px 0;
  }

  .mu-bar--ghost { border: 1px dashed #8494ab; }

  .mu-bar--h1 { width: 15%; }
  .mu-bar--h2 { width: 26%; }
  .mu-bar--h3 { width: 36%; }
  .mu-bar--h4 { width: 49%; }
  .mu-bar--h5 { width: 63%; }
  .mu-bar--h6 { width: 78%; }
  .mu-bar--h7 { width: 92%; }
  .mu-bar--h8 { width: 100%; }

  p.mu-col__t { grid-column: 1; grid-row: 1; }
  p.mu-col__d { grid-column: 1; grid-row: 2; }

  .mu-srow {
    grid-template-columns: minmax(0, 1fr) 104px;
    align-items: start;
  }

  .mu-slab { grid-column: 1; }

  .mu-groups {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .mu-srow--head .mu-groups { grid-row: 2; }

  .mu-rail { grid-column: 2; grid-row: 1; }
}

@media (max-width: 620px) {
  .mu-srow--head .mu-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .mu-srow--head .mu-group {
    display: block;
    min-width: 0;
  }

  .mu-srow:not(.mu-srow--head) .mu-groups {
    display: grid;
    gap: 6px;
  }

  .mu-srow:not(.mu-srow--head) .mu-group {
    display: flex;
    width: 100%;
    min-width: 0;
    flex: none;
    align-items: center;
    padding: 4px;
    gap: 3px;
  }

  .mu-srow:not(.mu-srow--head) .mu-group::before {
    flex: 0 0 92px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    color: #4b5b76;
  }

  .mu-srow:not(.mu-srow--head) .mu-group:nth-child(1)::before { content: "Atlas Labs"; }
  .mu-srow:not(.mu-srow--head) .mu-group:nth-child(2)::before { content: "Northstar Works"; }
  .mu-srow:not(.mu-srow--head) .mu-group:nth-child(3)::before { content: "Beacon Systems"; }
  .mu-srow:not(.mu-srow--head) .mu-group:nth-child(4)::before { content: "Meridian Group"; }
  .mu-srow:not(.mu-srow--head) .mu-group:nth-child(5)::before { content: "Harbor"; }

  p.mu-group__t { font-size: 13px; }

  p.mu-group__n {
    min-width: 0;
    white-space: normal;
  }

  .mu-col { grid-template-columns: 104px minmax(0, 1fr); }

  .mu-col__t span { display: inline-grid; margin: 0 5px 0 0; vertical-align: 1px; }

  p.mu-def__vague { font-size: 19px; }
  p.mu-def__a { font-size: 17px; }
}
