/* Manufacturing case: the backlog status bars and the monthly non-branded clicks chart. */

/* Backlog by status: longer labels than Before / After. */
.ch-chart.mx-status .ch-bar { grid-template-columns: 118px minmax(0, 1fr) auto; }
.ch-chart.mx-status .ch-bar.done i { background: var(--ink); height: 22px; }
.ch-chart.mx-status .mx-total { font-size: 13px; color: var(--muted); margin: 0; }

/* Month by month: one column per month, the value above it. */
.mx-month { margin: 0; display: grid; gap: 14px; }
.mx-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 11), minmax(0, 1fr)); gap: clamp(4px, 1vw, 14px); align-items: end; height: clamp(220px, 30vw, 340px); border-bottom: 1px solid var(--ink); }
.mx-cols li { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 0; }
.mx-cols li b { font: 400 clamp(11px, 1.15vw, 15px)/1 var(--body); font-variant-numeric: tabular-nums; text-align: center; color: var(--muted); padding-bottom: 6px; }
.mx-cols li i { display: block; height: var(--h); background: color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 2px 2px 0 0; transform-origin: 50% 100%; }
.mx-cols li.hi i { background: var(--ink); }
.mx-cols li.hi b { color: var(--ink); font-weight: 600; }
.mx-axis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 11), minmax(0, 1fr)); gap: clamp(4px, 1vw, 14px); }
.mx-axis li { font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.mx-month figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .mx-cols li b { font-size: 9.5px; letter-spacing: -.02em; }
  .mx-axis li { font-size: 9px; letter-spacing: 0; }
  .ch-chart.mx-status .ch-bar { grid-template-columns: 92px minmax(0, 1fr) auto; }
}

/* The logo is a wide lockup: center it across the stage. */
.cm-brand.is-solo .cm-logo { left: 12%; width: 76%; }
@media (max-width: 700px) { .cm-brand.is-solo .cm-logo { left: 8%; width: 84%; top: 50%; } }
