/* ═══════════════════════════════════════════════════════════════════════════
   CozyMon Dashboard — layout and the few widgets Opal Design has no component
   for. Everything visual (colour, surface, control, typography) comes from
   _content/Opal.Design; palette and status vocabulary from cozymon-theme.css.
   Nothing here may hard-code a colour: use var(--…).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── App shell ─────────────────────────────────────────────────────────────
   Sidebar plus an independently scrolling content column. The content column
   owns the scroll (not the document) so the .ds-stage background, which is
   viewport-attached, never repaints while a long table scrolls. */
.cm-shell {
  display: flex;
  min-height: 100vh;
}

.cm-sidebar {
  /* .ds-sidenav is sticky with a max-height; the explicit height is what lets
     .cm-sidebar__foot sit at the bottom on short viewports. */
  height: calc(100vh - var(--sidenav-top));
  display: flex;
  flex-direction: column;
  --sidenav-w: 232px;
}
.cm-shell.is-collapsed .cm-sidebar {
  --sidenav-w: 64px;
  padding-inline: var(--space-2);
}
.cm-shell.is-collapsed .cm-nav-label {
  display: none;
}
/* Collapsed rail: with its label hidden a link is only its icon — a square centred in the rail,
   like the icon buttons above and below it. Left as the full-width row it is when expanded, it kept
   its left padding, and its highlight showed the icon pinned left and an empty strip where the label
   had been. The toggle in the head is centred for the same reason. */
.cm-shell.is-collapsed .ds-sidenav__link {
  justify-content: center;
  gap: 0;
  padding: 0;
  width: 2.25rem;            /* the DS link's min-height: a square, still a ≥24px touch target */
  margin-inline: auto;
}
.cm-shell.is-collapsed .cm-sidebar__head {
  justify-content: center;
}
.cm-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--control-h-sm);
  margin-bottom: var(--space-4);
}
.cm-sidebar__foot {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
  display: flex;
  /* The collapsed rail is 64px wide, 48px of it content — narrower than two
     icon buttons side by side. Without wrapping, the second one (sign out)
     spills past the rail and is clipped, i.e. unreachable below 880px. */
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}
.cm-shell:not(.is-collapsed) .cm-sidebar__foot {
  justify-content: flex-start;
}
/* The server version on a line of its own under the buttons; short enough ("v0.3.1") for the 48px of
   the collapsed rail. */
.cm-version {
  flex-basis: 100%;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cm-shell:not(.is-collapsed) .cm-version {
  text-align: start;
}

/* Icon-only control. Opal has no general icon button (only component-scoped
   closers), so this is a geometry modifier on .ds-pill--ghost — the material,
   ring and focus ring stay the design system's. */
.cm-icon-btn {
  padding: 0.45em;
  min-width: var(--control-h-sm);
  justify-content: center;
}

.cm-main {
  flex: 1;
  min-width: 0;              /* lets wide tables scroll inside instead of stretching the shell */
  max-height: 100vh;
  overflow-y: auto;
  padding: var(--space-5) var(--space-6) var(--space-8);
}

/* ── Page scaffolding ──────────────────────────────────────────────────────
   Opal's .ds-section/.ds-container are built for centred marketing-width pages;
   a dashboard column is already inside the shell's padding and wants full width. */
.cm-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
/* The column's gap already sets the rhythm; .ds-title's own margin would add to it. */
.cm-page > h1 {
  margin: 0;
}

/* The card grid every listing page uses: services, map nodes, templates, the
   detail widgets. Columns only — .ds-grid supplies the gap. */
.cm-cards {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* A design-system component whose display is set by an author rule ignores the
   UA [hidden] rule, so an element toggled with `el.hidden` stays visible. Opal
   patches this per component (.ds-sidenav__link, .ds-datagrid__empty); the login
   page's error banner needs the same. */
.ds-alert[hidden] {
  display: none;
}

/* Horizontal scroll for tables wider than the column: the shell must never
   scroll sideways. */
.cm-table-wrap {
  overflow-x: auto;
}
/* A number column of a table (host processes, sensors): right-aligned, digits of one width. */
.cm-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cm-nowrap {
  white-space: nowrap;
}
/* One line with an ellipsis. */
.cm-cell-clip {
  max-width: 22rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Audit Log details: the clipped line is the <summary>, so the full value opens
   in place from the keyboard and on touch. The marker stays (a <summary> is a
   list-item, which still clips) — it is the only cue that the line opens. */
.cm-audit-details {
  max-width: 22rem;
}
.cm-audit-details > summary {
  cursor: pointer;
}
.cm-audit-details > .cm-code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ── Heartbeat bar ─────────────────────────────────────────────────────────
   30 daily segments, worst-status per day. No Opal component covers this; the
   colour comes from --cm-status (cozymon-theme.css) so the bar and the badges
   can never disagree. Each segment carries its own tooltip and aria-label —
   colour alone is not the message (WCAG 1.4.1). */
.cm-heartbeat {
  display: flex;
  gap: 2px;
}
/* 8px at most, narrower when the card is: thirty fixed 8px segments were the bar's minimum width, and on a
   phone that minimum set the width of the card column — Service Detail ran off the screen (RV-013). */
.cm-heartbeat__seg {
  flex: 0 1 8px;
  min-width: 2px;
  height: 24px;
  border-radius: 2px;
  background: var(--cm-status, var(--cm-empty));
}
/* Card variant: segments flex to the card width instead of a fixed 8px each. */
.cm-heartbeat--card {
  gap: 1px;
}
.cm-heartbeat--card .cm-heartbeat__seg {
  flex: 1 1 0;
  width: auto;
  min-width: 2px;
  height: 14px;
}

/* ── Status rows ───────────────────────────────────────────────────────────
   One shape for every "badge + label + optional message + trailing time" list:
   check states, containers, service events. */
.cm-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--fs-sm);
}
.cm-row:last-child {
  border-bottom: 0;
}
.cm-row__msg {
  flex: 1 1 10rem;
  min-width: 0;
  color: var(--muted);
}
.cm-row__meta {
  margin-left: auto;
  color: var(--muted);
  font-size: var(--fs-xs);
  white-space: nowrap;
}
/* A second list inside one card (containers under the metric meters). */
.cm-rows {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--hairline);
}

/* ── Filter bar ────────────────────────────────────────────────────────────
   Labelled .ds-field controls that wrap. Capped so three selects and two dates
   do not stretch to a quarter of a wide screen each. */
.cm-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: var(--space-3);
}
.cm-filters .ds-field {
  flex: 1 1 10rem;
  max-width: 15rem;
}

/* ── Inline form row (maintenance window, incident update) ─────────────────*/
.cm-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: var(--space-3);
}
.cm-form-row__grow {
  flex: 1 1 12rem;
}
/* The validation message belongs under the row, not beside the button. */
.cm-form-row .ds-hint {
  flex-basis: 100%;
}

/* ── Overview ──────────────────────────────────────────────────────────────*/
.cm-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cm-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
/* A summary strip, not four posters: number and label on one line, so the services start on the first
   screen (UI-005). */
.cm-counter {
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-3);
  padding-block: var(--space-4);
}
.cm-counter .ds-stat__num {
  color: var(--cm-status, var(--text));
  font-size: var(--fs-2xl);
}
.cm-counter .ds-stat__label {
  margin: 0;
  font-size: var(--fs-sm);
}
.cm-counter--zero .ds-stat__num {
  color: var(--muted);
}
/* Column, so .ds-card__foot (margin-top:auto) can push the heartbeat to the
   bottom and every card in a row ends at the same height. */
.cm-service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-decoration: none;
  color: inherit;
}
.cm-service-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.cm-service-card__head h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
}

/* Recent alerts (Overview) and the Alert History list share this row. The list owns the columns and every
   row takes them through subgrid, so the service, check and message line up down the list whatever the
   width of the badge or the name before them (UI-002). */
.cm-alert-list {
  display: grid;
  grid-template-columns:
    max-content minmax(6rem, max-content) max-content minmax(0, 1fr) max-content;
  column-gap: var(--space-3);
}
.cm-alert-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--fs-sm);
}
.cm-alert-row:last-child {
  border-bottom: 0;
}
.cm-alert-row > .ds-badge {
  justify-self: start;
}
.cm-alert-row__service {
  font-weight: 600;
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-alert-row__check {
  color: var(--muted);
}
.cm-alert-row__msg {
  min-width: 0;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-2);
}
.cm-alert-row__time {
  color: var(--muted);
  font-size: var(--fs-xs);
  white-space: nowrap;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

/* ── Service detail ────────────────────────────────────────────────────────*/
.cm-detail-cards {
  align-items: start;
}

.cm-detail-head {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: var(--space-3);
}
.cm-detail-head__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.cm-detail-head__title h1 {
  margin: 0;
}
/* .cm-page stretches its children; the back pill must keep its own width. */
.cm-back {
  align-self: start;
}
.cm-meters {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
/* Meters carry the check status, not Opal's default cobalt→cyan gradient. */
.cm-meter {
  --meter-color: var(--cm-status, var(--success-color));
}

/* ── Incidents ─────────────────────────────────────────────────────────────*/
.cm-incident {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cm-incident__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.cm-incident__head h2 {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.cm-incident__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* Update log, newest first. Opal's .ds-timeline is an astrological axis with
   aspect bands — same word, different object. */
.cm-timeline {
  list-style: none;
  margin: 0;
  padding-left: var(--space-3);
  border-left: 2px solid var(--border);
}
.cm-timeline__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  font-size: var(--fs-sm);
}
.cm-timeline__msg {
  flex: 1 1 12rem;
  min-width: 0;
}
.cm-timeline__time {
  margin-left: auto;
  color: var(--muted);
  font-size: var(--fs-xs);
  white-space: nowrap;
}

/* ── Service map ───────────────────────────────────────────────────────────*/
.cm-map-node {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: var(--space-2);
}
/* Suppression is said in words on the card ("alerts suppressed"), never by a
   visual treatment alone. Dimming the card was tried and dropped: opacity on the
   subtree composites the text toward the page behind it, and measurement put the
   badge at 2.91:1 in light and the dependency line at 3.38:1 — under 4.5:1 for
   the one card an operator most needs to read. A cue that costs legibility on a
   status board is not worth its glance value.
   AC-DASH-SM-03 still asks for a translucent node, so the translucency goes on
   the card's own fill and nothing else: the fill lets the page through, while
   the text and the badges keep their full colour. */
.cm-map-node.is-suppressed {
  background: color-mix(in srgb, var(--card-veil-solid) 45%, transparent);
}
/* The "alerts suppressed" badge is a tint over whatever is beneath it, and over
   the see-through fill its silver text fell from 4.62:1 to 4.22:1 in the light
   theme (rendered pixels). An opaque underlay of the solid card's own colour puts
   it back on the surface it was measured on. Measured on the rendered page with
   the fill above, median pixel under the glyphs, light / dark: name 13.8 / 17.1,
   this badge 4.63 / 8.07 (unchanged from the opaque card), dependency line
   5.12 / 9.25, status badge 7.0 / 7.65 (operational) and 4.85 / 5.47 (down). */
.cm-map-node.is-suppressed > .ds-badge--unknown {
  --badge-bg: var(--card-veil-solid);
  background-color: var(--card-veil-solid);
}
.cm-map-node__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  width: 100%;
}
.cm-map-node__link {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.cm-map-node__link:hover {
  text-decoration: underline;
}
/* A dependency pill carries its status badge inline with the name, so the two read as one control
   rather than a badge that happens to sit nearby. */
.cm-dep {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.cm-map-node__deps {
  color: var(--muted);
  font-size: var(--fs-xs);
}
.cm-map-node__dep {
  display: block;
}

/* ── Code block (check-template definitions) ───────────────────────────────
   Opal has no code component; this is its field material plus a mono face. */
.cm-code {
  margin: var(--space-3) 0 0;
  padding: var(--space-3);
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text);
}

/* ── Check templates: editor, cards, a service's profile ───────────────────
   .ds-card is a flex column without a gap; these cards stack fields, tags and
   rows, so the rhythm is set once here (as for .cm-incident). */
.cm-editor,
.cm-template,
.cm-profile,
.cm-profile__part {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cm-profile__part {
  gap: var(--space-2);
}
/* .cm-profile keeps the title margin: it sits in a row with the other Service
   Detail cards, whose titles carry it. */
.cm-editor > h2,
.cm-template h2 {
  margin: 0;
}
/* The name field carries a standing hint, the title none: aligned to the end, as
   the inline forms are, the title input would sit lower than the name input. */
.cm-editor .cm-form-row {
  align-items: start;
}
/* The card's gap spaces the block; the block's own top margin would add to it. */
.cm-template > .cm-code {
  margin: 0;
}
/* Inline links in the muted hint: the text colour with an underline, as the map's names are links — not
   the browser's default blue, which no token of the system produces. */
.cm-template__users a {
  color: var(--text);
  text-underline-offset: 2px;
}
.cm-slug {
  font-family: var(--font-mono, monospace);
  font-size: var(--fs-xs);
  color: var(--muted);
}
/* A check in a set is a label, not a control: tinted, without the frame and the inset highlight that made
   it read as a button beside Edit and Delete (UI-008). */
.cm-check-tag {
  --tag-bg: var(--accent-fill);
  border-color: transparent;
  box-shadow: none;
}
/* A native fieldset groups the check chips for assistive tech; its UA frame and
   padding are not part of the design system's form look. */
.cm-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.cm-fieldset > legend {
  padding: 0;
  margin-bottom: var(--space-2);
}
.cm-fieldset > .ds-hint {
  margin-top: var(--space-2);
}
/* JSON is read by its structure: a mono face, as in the stored-definition block. */
.cm-code-input {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  min-height: 10em;
}
.cm-profile__value {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text);
}

/* ── Login (static page, no shell) ─────────────────────────────────────────*/
.cm-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-4);
}
.cm-login__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: min(360px, 100%);
}
.cm-login__card h1 {
  margin: 0;
}
.cm-login form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ── Responsive (Opal breakpoints only: 560 / 880 / 1080) ──────────────────*/
@media (max-width: 1080px) {
  .cm-counters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  /* The narrow rail is the DEFAULT here, not a lock. Applied unconditionally it also overrode an
     expand, so the toggle changed nothing below this breakpoint while still announcing "Expand
     sidebar" — a control that promises an action it cannot perform. `.is-expanded` is stamped only
     once the user has explicitly expanded, so the default survives until then. */
  .cm-shell:not(.is-expanded) .cm-sidebar { --sidenav-w: 64px; padding-inline: var(--space-2); }
  .cm-shell:not(.is-expanded) .cm-nav-label { display: none; }
  .cm-shell:not(.is-expanded) .ds-sidenav__link {
    justify-content: center; gap: 0; padding: 0; width: 2.25rem; margin-inline: auto;
  }
  .cm-shell:not(.is-expanded) .cm-sidebar__head,
  .cm-shell:not(.is-expanded) .cm-sidebar__foot { justify-content: center; }
  .cm-shell:not(.is-expanded) .cm-version { text-align: center; }
  /* minmax(0, …): a bare 1fr is never narrower than its widest card's content. */
  .cm-cards { grid-template-columns: minmax(0, 1fr); }
  .cm-main { padding: var(--space-4); }
  /* No room for five columns (the badge, a capped name, the check and the time alone take ~500px): the
     row wraps on its own — badge, service, check and time on the first line, the message under them. */
  .cm-alert-list { display: block; }
  .cm-alert-row { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
  .cm-alert-row__time { margin-inline-start: auto; }
  .cm-alert-row__msg { flex-basis: 100%; order: 1; }
}
@media (max-width: 560px) {
  .cm-counters { grid-template-columns: 1fr; }
  .cm-filters .ds-field { max-width: none; }
}

/* ── Time-series charts (10-01) ─────────────────────────────────────────────
   uPlot draws into .cm-chart; uPlot.min.css lays its parts out, this dresses
   them in the theme: text tokens for every word and number, the legend key a
   short line in the series colour (uPlot's inline border carries the colour),
   values in tabular figures so the live readout does not jitter. */
.cm-chart {
  width: 100%;
  min-width: 0;
}
/* uPlot sizes its root to the plot (min-content); the readout under it must not run past the card. */
.cm-chart .uplot {
  width: 100%;
}
/* The legend is uPlot's live readout: values at the crosshair. Away from it it would only say "—" beside the
   summary below, so it shows while a crosshair is on the chart (charts.js sets .is-reading) — on one line of
   its own height, so nothing under it moves while it changes. */
.cm-chart .u-legend {
  visibility: hidden;
  display: block;
  height: 1.5em;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text);
  font-size: var(--fs-sm);
  text-align: left;
  margin-top: var(--space-2);
}
.cm-chart.is-reading .u-legend {
  visibility: visible;
}
.cm-chart .u-legend th {
  font-weight: 400;
  color: var(--muted);
}
.cm-chart .u-legend .u-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.cm-chart .u-legend .u-marker {
  width: 14px;
  height: 0;
  margin-right: 6px;
  border-width: 2px 0 0 0 !important;
  background: none !important;
  vertical-align: middle;
}
.cm-chart .u-select {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.cm-chart .u-cursor-x {
  border-right: 1px solid var(--muted);
}
.cm-chart .u-cursor-y {
  display: none;
}
.cm-chart--compact .u-legend {
  display: none;
}
/* Refetch keeps the frame: the chart holds its previous render, dimmed, until the new data lands. */
.cm-chart.is-loading {
  opacity: 0.55;
  transition: opacity 120ms ease;
}
.cm-chart-figure {
  margin: 0;
  min-width: 0;
}
/* One row per series and one column per figure, so now / avg / peak line up from row to row. The name gives
   way first (cut short, whole in its title); a figure never breaks inside its unit ("133 B/" + "s"). */
.cm-chart-summary {
  display: grid;
  grid-template-columns: auto minmax(0, max-content) repeat(3, max-content);
  justify-content: start;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
}
.cm-chart-summary__item {
  display: contents;
}
.cm-chart-summary__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-chart-summary__value {
  white-space: nowrap;
}
.cm-chart-summary__value--none {
  grid-column: span 3;
}
.cm-chart-summary strong {
  font-variant-numeric: tabular-nums;
}
/* The series key: a short line in the series colour beside the words, never coloured text. */
.cm-chart-summary__key {
  display: inline-block;
  width: 14px;
  border-top: 2px solid var(--cm-key);
  align-self: center;
}

/* ── Hosts (10-02) ──────────────────────────────────────────────────────── */
.cm-host-card {
  gap: var(--space-3);
}
.cm-host-card__machine {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-host-card__nospark {
  min-height: 48px;
  margin: 0;
}
.cm-host-card__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: var(--fs-sm);
}

/* ── Host page (10-03) ─────────────────────────────────────────────────── */
.cm-host-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  font-size: var(--fs-sm);
}
.cm-host-facts dt {
  color: var(--muted);
}
.cm-host-facts dd {
  margin: 0;
}
.cm-host-facts__service + .cm-host-facts__service::before {
  content: ", ";
  color: var(--muted);
}
.cm-host-range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
}
/* Two charts a row where there is room: a chart narrower than ~420px loses its time axis to crowding. */
/* Every card as tall as the tallest, in every row: a chart with three series in its key no longer stands
   taller than the one beside it with one, and the rows tile evenly. */
.cm-host-charts {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
}
