/*
 * status.zecnero.org
 * Built on tokens.css (load it first). Every colour is a --zmr-* token.
 * Classes are prefixed zs-. Dark only: the page is a display surface.
 */

/* ------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--zmr-night);
  color: var(--zmr-text);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--zmr-night);
  font-family: var(--zmr-font-body);
  font-size: var(--zmr-type-body-size);
  line-height: var(--zmr-type-body-line);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--zmr-orange-a24);
}
a {
  color: var(--zmr-text);
  text-decoration-color: var(--zmr-orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--zmr-orange);
}
:focus-visible {
  outline: 2px solid var(--zmr-orange);
  outline-offset: 2px;
}
button {
  font: inherit;
  color: inherit;
}
.zs-vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.zs-wrap {
  max-width: 1696px;
  margin: 0 auto;
  padding: 0 var(--zmr-margin-desktop);
}
.zs-skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 8px 16px;
  background: var(--zmr-orange);
  color: var(--zmr-night);
  font-weight: 600;
  text-decoration: none;
}
.zs-skip:focus {
  top: 12px;
  color: var(--zmr-night);
}

/* ------------------------------------------------------------ glyphs */
/* Status is never colour alone: each state has its own shape. */
.zs-glyph {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  vertical-align: baseline;
  background: var(--zmr-charcoal);
}
.zs-glyph[data-st='up'] {
  background: var(--zmr-orange);
}
.zs-glyph[data-st='down'] {
  background: var(--zmr-white);
  clip-path: polygon(20% 0, 50% 30%, 80% 0, 100% 20%, 70% 50%, 100% 80%, 80% 100%, 50% 70%, 20% 100%, 0 80%, 30% 50%, 0 20%);
}
.zs-glyph[data-st='pending'] {
  background: transparent;
  border: 2px solid var(--zmr-white);
}
.zs-glyph[data-st='maint'] {
  background: var(--zmr-dim);
}
.zs-glyph[data-st='none'] {
  background: transparent;
  border: 1px solid var(--zmr-dim);
}
.zs-glyph-probe {
  position: relative;
  background: transparent;
  border: 2px solid var(--zmr-text);
}
.zs-glyph-probe::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--zmr-text);
}
.zs-glyph-lg {
  width: 24px;
  height: 24px;
}
.zs-glyph-lg[data-st='pending'] {
  border-width: 4px;
}
.zs-glyph-lg[data-st='none'] {
  border-width: 2px;
}

/* ------------------------------------------------------------ header */
.zs-head {
  border-bottom: 1px solid var(--zmr-edge);
}
.zs-head-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--zmr-navbar-height);
}
.zs-brand {
  display: flex;
  align-items: center;
  height: 40px;
}
.zs-brand svg {
  display: block;
  height: 24px;
  width: auto;
}
.zs-product {
  padding-left: 16px;
  border-left: 1px solid var(--zmr-edge);
  font-family: var(--zmr-font-display);
  font-weight: 600;
  font-size: var(--zmr-type-h3-size);
  line-height: 24px;
  letter-spacing: var(--zmr-type-h3-tracking);
  color: var(--zmr-muted);
}
.zs-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.zs-clock {
  margin-right: 8px;
  font-family: var(--zmr-font-mono);
  font-size: var(--zmr-type-data-size);
  font-variant-numeric: tabular-nums;
  color: var(--zmr-muted);
  white-space: nowrap;
}
.zs-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 14px;
  border: 0;
  background: transparent;
  color: var(--zmr-muted);
  font-size: var(--zmr-type-small-size);
  font-weight: 500;
  cursor: pointer;
  clip-path: var(--zmr-clip-button);
}
.zs-tool svg {
  flex: none;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}
.zs-tool svg path[fill='none'] {
  stroke-width: 1.5;
  stroke-linecap: square;
}
.zs-tool:hover {
  background: var(--zmr-white-a04);
  color: var(--zmr-text);
}
.zs-tool:active {
  background: var(--zmr-white-a08);
}
.zs-tool:focus-visible {
  outline-offset: -4px;
}
.zs-tool[aria-pressed='true'] {
  background: var(--zmr-white-a08);
  color: var(--zmr-text);
}
.zs-tool .zs-i-play,
.zs-tool .zs-i-wave {
  display: none;
}
.zs-tool[data-action='pause'][aria-pressed='true'] .zs-i-play,
.zs-tool[data-action='sound'][aria-pressed='true'] .zs-i-wave {
  display: inline;
}
.zs-tool[data-action='pause'][aria-pressed='true'] .zs-i-pause,
.zs-tool[data-action='sound'][aria-pressed='true'] .zs-i-mute {
  display: none;
}

/* ------------------------------------------------------------ banners */
.zs-banners:empty {
  display: none;
}
.zs-banners {
  display: grid;
  gap: 12px;
  padding-top: 24px;
}
.zs-banner {
  position: relative;
  padding: 20px 32px 20px 24px;
  background: var(--zmr-panel);
  clip-path: var(--zmr-clip-panel);
}
.zs-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zmr-accent-rule);
  clip-path: var(--zmr-band-panel-br);
}
.zs-banner[data-tone='quiet']::after {
  background: var(--zmr-charcoal);
}
.zs-banner-title {
  margin: 0;
  font-family: var(--zmr-font-display);
  font-weight: 600;
  font-size: var(--zmr-type-h3-size);
  line-height: 24px;
  letter-spacing: var(--zmr-type-h3-tracking);
}
.zs-banner-body {
  max-width: var(--zmr-measure);
  text-wrap: pretty;
  margin: 8px 0 0;
  color: var(--zmr-text);
}
.zs-banner-body p {
  margin: 0 0 8px;
}
.zs-banner-body p:last-child {
  margin-bottom: 0;
}
.zs-banner-meta {
  margin: 8px 0 0;
  font-family: var(--zmr-font-mono);
  font-size: var(--zmr-type-small-size);
  color: var(--zmr-muted);
}
.zs-banner .zs-btn {
  margin-top: 16px;
}
.zs-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border: 0;
  background: var(--zmr-orange);
  color: var(--zmr-night);
  font-weight: 600;
  font-size: var(--zmr-type-small-size);
  cursor: pointer;
  clip-path: var(--zmr-clip-button);
}
.zs-btn:hover {
  background: var(--zmr-orange-l12);
}
.zs-btn:active {
  background: var(--zmr-orange-d08);
}
.zs-btn:focus-visible {
  outline: 2px solid var(--zmr-night);
  outline-offset: -4px;
}

/* Demo strip: only in ?demo mode. */
.zs-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 16px;
  background: var(--zmr-ink);
  font-size: var(--zmr-type-small-size);
  color: var(--zmr-muted);
}
.zs-demo strong {
  color: var(--zmr-text);
  font-weight: 600;
}
.zs-demo-set {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zs-demo-set button {
  height: 32px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--zmr-muted);
  font-size: var(--zmr-type-small-size);
  cursor: pointer;
}
.zs-demo-set button:hover {
  background: var(--zmr-white-a04);
  color: var(--zmr-text);
}
.zs-demo-set button[aria-pressed='true'] {
  background: var(--zmr-white-a08);
  color: var(--zmr-text);
}

/* ------------------------------------------------------------ status */
.zs-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: 48px 0 32px;
}
.zs-headline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-family: var(--zmr-font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 48px;
  letter-spacing: 0.01em;
}
.zs-sub {
  max-width: 44rem;
  text-wrap: pretty;
  margin: 12px 0 0;
  font-size: var(--zmr-type-body-lg-size);
  line-height: 28px;
  color: var(--zmr-muted);
}
.zs-status-act {
  margin: 20px 0 0;
}
.zs-sub strong {
  color: var(--zmr-text);
  font-weight: 600;
}
.zs-readouts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0 40px;
  margin: 0;
}
.zs-readout dt {
  font-family: var(--zmr-font-mono);
  font-size: var(--zmr-type-label-size);
  font-weight: var(--zmr-type-label-weight);
  line-height: 16px;
  letter-spacing: var(--zmr-type-label-tracking);
  text-transform: uppercase;
  color: var(--zmr-muted);
  white-space: nowrap;
}
.zs-readout dd {
  margin: 4px 0 0;
  font-family: var(--zmr-font-mono);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ------------------------------------------------------------ map */
.zs-map {
  position: relative;
  background: var(--zmr-panel);
  clip-path: var(--zmr-clip-card);
  user-select: none;
  -webkit-user-select: none;
}
.zs-map::before,
.zs-map::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.zs-map::before {
  background: var(--zmr-charcoal);
  clip-path: var(--zmr-band-card-tl);
}
.zs-map::after {
  background: var(--zmr-orange);
  clip-path: var(--zmr-band-card-br);
}
.zs-map-base {
  display: block;
  width: 100%;
  height: auto;
}
.zs-sea {
  fill: var(--zmr-panel);
}
.zs-sea-night {
  fill: var(--zmr-ink);
}
.zs-land-day {
  fill: var(--zmr-edge);
}
.zs-land-night {
  fill: var(--zmr-panel);
}
.zs-lane-ground {
  fill: var(--zmr-ink);
}
.zs-map-live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Overlay marks (drawn in CSS pixels by status.js). */
.zs-route {
  fill: none;
  stroke: var(--zmr-charcoal);
  stroke-width: 1;
}
.zs-route-lane {
  stroke: none;
}
.zs-route[data-lit] {
  stroke: var(--zmr-dim);
}
.zs-route[data-down] {
  stroke: var(--zmr-dim);
  stroke-dasharray: 2 4;
}
.zs-bus {
  fill: none;
  stroke: var(--zmr-charcoal);
  stroke-width: 1;
}
.zs-mk {
  stroke: var(--zmr-ink);
  stroke-width: 2;
  paint-order: stroke;
  fill: var(--zmr-charcoal);
}
.zs-mk[data-st='up'] {
  fill: var(--zmr-orange);
}
.zs-mk[data-st='down'] {
  fill: var(--zmr-white);
}
.zs-mk[data-st='pending'] {
  fill: var(--zmr-ink);
}
.zs-mk-ring {
  fill: none;
  stroke: var(--zmr-white);
  stroke-width: 2;
}
.zs-mk-x {
  fill: none;
  stroke: var(--zmr-night);
  stroke-width: 2;
}
.zs-mk[data-st='maint'] {
  fill: var(--zmr-dim);
}
.zs-mk[data-st='none'] {
  fill: var(--zmr-ink);
}
.zs-mk-none {
  fill: none;
  stroke: var(--zmr-dim);
  stroke-width: 1;
}
.zs-mk-focus {
  fill: none;
  stroke: var(--zmr-text);
  stroke-width: 1;
}
.zs-hit {
  fill: transparent;
  cursor: default;
}
.zs-probe-box {
  fill: var(--zmr-ink);
  stroke: var(--zmr-text);
  stroke-width: 2;
}
.zs-probe-dot {
  fill: var(--zmr-text);
}
.zs-pkt {
  fill: var(--zmr-orange);
}
.zs-pkt[data-miss] {
  fill: var(--zmr-white);
}
.zs-trail {
  fill: none;
  stroke: var(--zmr-orange);
  stroke-width: 2;
}
.zs-trail[data-miss] {
  stroke: var(--zmr-white);
}
.zs-pulse {
  fill: none;
  stroke: var(--zmr-orange);
}
.zs-pulse[data-miss] {
  stroke: var(--zmr-white);
}
.zs-tag {
  font-family: var(--zmr-font-mono);
  font-size: 11px;
  font-weight: 500;
  fill: var(--zmr-text);
  stroke: var(--zmr-ink);
  stroke-width: 4px;
  stroke-linejoin: bevel;
  paint-order: stroke;
}
.zs-tag[data-tone='muted'] {
  fill: var(--zmr-muted);
}
.zs-tag[data-tone='miss'] {
  fill: var(--zmr-white);
}

/* Services lane: one chip per monitor that has no place on the map. */
.zs-lane {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(141 / 153 * 100%);
  height: calc(12 / 153 * 100%);
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.zs-chip {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  padding: 0 10px 0 8px;
  background: var(--zmr-night);
  transform: translate(-50%, -50%);
  font-family: var(--zmr-font-mono);
  font-size: var(--zmr-type-label-size);
  font-weight: var(--zmr-type-label-weight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zmr-muted);
  white-space: nowrap;
  pointer-events: auto;
}
.zs-chip .zs-glyph {
  width: 8px;
  height: 8px;
}
.zs-chip[data-st='down'] {
  color: var(--zmr-white);
}
.zs-chip[data-hot] {
  color: var(--zmr-text);
}

/* Tooltip shared by the map and the bars. */
.zs-tip {
  position: absolute;
  z-index: 5;
  min-width: 168px;
  max-width: 280px;
  padding: 8px 12px 10px;
  background: var(--zmr-ink);
  border: 1px solid var(--zmr-edge);
  font-size: var(--zmr-type-small-size);
  line-height: 20px;
  color: var(--zmr-text);
  pointer-events: none;
}
.zs-tip-title {
  display: block;
  font-weight: 600;
}
.zs-tip-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--zmr-muted);
}
.zs-tip-line b {
  color: var(--zmr-text);
  font-weight: 500;
}
.zs-tip .zs-glyph {
  width: 8px;
  height: 8px;
}
.zs-tip-mono {
  font-family: var(--zmr-font-mono);
  font-variant-numeric: tabular-nums;
}

.zs-mapfoot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 12px 0 0;
  font-size: var(--zmr-type-small-size);
  line-height: 20px;
  color: var(--zmr-muted);
}
.zs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zs-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.zs-mapnote {
  max-width: 46rem;
  margin: 0;
  text-wrap: pretty;
}

/* ------------------------------------------------------------ grid */
.zs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 368px;
  gap: 48px;
  padding: 48px 0 64px;
}
.zs-monitors:focus {
  outline: none;
}
.zs-sechead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 24px;
  margin-bottom: 16px;
}
.zs-h2 {
  margin: 0;
  font-family: var(--zmr-font-display);
  font-weight: 700;
  font-size: var(--zmr-type-h2-size);
  line-height: 32px;
}
.zs-key {
  margin: 0;
  font-size: var(--zmr-type-small-size);
  line-height: 20px;
  color: var(--zmr-muted);
}
.zs-key-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
}
.zs-key-wave i {
  width: 4px;
  background: var(--zmr-orange);
}
.zs-key-wave .zs-key-miss {
  height: 14px;
  background: var(--zmr-white);
}

/* ------------------------------------------------------------ groups and table */
.zs-group + .zs-group {
  margin-top: 40px;
}
.zs-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 8px;
}
.zs-h3 {
  margin: 0;
  font-family: var(--zmr-font-display);
  font-weight: 600;
  font-size: var(--zmr-type-h3-size);
  line-height: 24px;
  letter-spacing: var(--zmr-type-h3-tracking);
}
.zs-count {
  margin: 0;
  font-family: var(--zmr-font-mono);
  font-size: var(--zmr-type-small-size);
  color: var(--zmr-muted);
}
.zs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.zs-table th,
.zs-table td {
  padding: 0 12px;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
}
.zs-table thead th {
  height: 32px;
  border-bottom: 1px solid var(--zmr-edge);
  font-family: var(--zmr-font-mono);
  font-size: var(--zmr-type-label-size);
  font-weight: var(--zmr-type-label-weight);
  letter-spacing: var(--zmr-type-label-tracking);
  text-transform: uppercase;
  color: var(--zmr-muted);
  white-space: nowrap;
}
.zs-table tbody tr {
  height: 52px;
  border-bottom: 1px solid var(--zmr-edge);
}
.zs-table tbody tr:hover,
.zs-table tbody tr[data-hot] {
  background: var(--zmr-white-a04);
}
.zs-table th:first-child,
.zs-table td:first-child {
  padding-left: 0;
}
.zs-table th:last-child,
.zs-table td:last-child {
  padding-right: 0;
}
.zs-c-name {
  width: 30%;
}
.zs-c-st {
  width: 13%;
}
.zs-c-wave {
  width: auto;
}
.zs-c-up {
  width: 120px;
}
.zs-c-ms {
  width: 96px;
}
.zs-num {
  text-align: right !important;
  font-family: var(--zmr-font-mono);
  font-size: var(--zmr-type-data-size);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.zs-mon {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zs-mon-name {
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
}
.zs-mon-place {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--zmr-type-small-size);
  line-height: 18px;
  color: var(--zmr-muted);
}
.zs-mon-name a {
  text-decoration: none;
}
.zs-mon-name a:hover {
  text-decoration: underline;
}
.zs-st {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.zs-st[data-st='down'] {
  font-weight: 600;
}
.zs-st[data-st='none'],
.zs-st[data-st='maint'] {
  color: var(--zmr-muted);
}
.zs-wave {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 24px;
  overflow: visible;
}
.zs-wave rect {
  fill: var(--zmr-orange);
}
.zs-wave .w-down {
  fill: var(--zmr-white);
}
.zs-wave .w-pending {
  fill: none;
  stroke: var(--zmr-white);
  stroke-width: 1;
}
.zs-wave .w-maint {
  fill: var(--zmr-dim);
}
.zs-wave .w-none {
  fill: var(--zmr-dim);
}
.zs-wave .w-live {
  fill: var(--zmr-orange-l44);
}
.zs-wave .w-cursor {
  fill: none;
  stroke: var(--zmr-text);
  stroke-width: 1;
}
.zs-dim {
  color: var(--zmr-muted);
}
.zs-empty {
  margin: 0;
  padding: 24px 0;
  color: var(--zmr-muted);
}

/* Loading blocks */
.zs-skel {
  display: grid;
  gap: 12px;
}
.zs-skel i {
  display: block;
  height: 40px;
  background: var(--zmr-white-a08);
}
.zs-skel i:first-child {
  width: 30%;
  height: 24px;
}

/* ------------------------------------------------------------ log */
.zs-log-in {
  position: sticky;
  top: 24px;
  padding: 24px 24px 20px;
  background: var(--zmr-panel);
  clip-path: var(--zmr-clip-panel);
}
.zs-log .zs-sechead {
  display: block;
  margin-bottom: 12px;
}
.zs-log .zs-key {
  display: block;
  margin-top: 4px;
}
.zs-log-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--zmr-type-small-size);
  line-height: 20px;
}
.zs-log-item {
  display: grid;
  grid-template-columns: 64px 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 10px;
  height: 36px;
  margin: 0 -8px;
  padding: 0 8px;
  border-bottom: 1px solid var(--zmr-edge);
}
.zs-log-item[data-new] {
  background: var(--zmr-orange-a12);
}
.zs-log-item[data-st='down'][data-new] {
  background: var(--zmr-white-a08);
}
.zs-log-time {
  font-family: var(--zmr-font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--zmr-muted);
}
.zs-log-what {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zs-log-what span {
  color: var(--zmr-muted);
}
.zs-log-val {
  font-family: var(--zmr-font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.zs-log-item[data-st='down'] .zs-log-val {
  font-weight: 500;
  color: var(--zmr-white);
}
.zs-log-count {
  margin: 12px 0 0;
  font-size: var(--zmr-type-small-size);
  line-height: 20px;
  color: var(--zmr-muted);
}
.zs-log-empty {
  padding: 8px 0;
  color: var(--zmr-muted);
}

/* ------------------------------------------------------------ footer */
.zs-foot {
  border-top: 1px solid var(--zmr-edge);
  background: var(--zmr-ink);
}
.zs-foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 48px;
}
.zs-foot-note {
  margin: 0;
  font-size: var(--zmr-type-small-size);
  color: var(--zmr-muted);
}
.zs-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

/* ------------------------------------------------------------ states */
.zs[data-state='loading'] .zs-readout dd,
.zs[data-state='error'] .zs-readout dd {
  color: var(--zmr-muted);
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1279px) {
  .zs-status {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .zs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .zs-log {
    order: -1;
  }
  .zs-log-in {
    position: static;
  }
  .zs-log-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
  }
}
@media (max-width: 1023px) {
  .zs-c-st {
    width: 15%;
  }
  .zs-c-name {
    width: 28%;
  }
}
@media (max-width: 767px) {
  .zs-wrap {
    padding: 0 var(--zmr-margin-mobile);
  }
  .zs-head-in {
    height: 56px;
    gap: 12px;
  }
  .zs-brand svg {
    height: 20px;
  }
  .zs-product {
    padding-left: 12px;
    font-size: 16px;
  }
  .zs-clock {
    display: none;
  }
  .zs-tools {
    gap: 4px;
  }
  .zs-tool {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .zs-tool span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .zs-status {
    padding: 32px 0 24px;
  }
  .zs-headline {
    align-items: flex-start;
    gap: 12px;
    font-size: 32px;
    line-height: 36px;
  }
  .zs-glyph-lg {
    width: 20px;
    height: 20px;
    margin-top: 8px;
  }
  .zs-sub {
    font-size: var(--zmr-type-body-size);
    line-height: 24px;
  }
  .zs-readouts {
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 0 24px;
  }
  .zs-readout dd {
    font-size: 16px;
    line-height: 24px;
  }
  .zs-mapblock {
    margin: 0 calc(-1 * var(--zmr-margin-mobile));
  }
  .zs-map {
    clip-path: var(--zmr-clip-panel);
  }
  .zs-map::before {
    clip-path: var(--zmr-band-panel-tl);
  }
  .zs-map::after {
    clip-path: var(--zmr-band-panel-br);
  }
  .zs-mapfoot {
    padding: 12px var(--zmr-margin-mobile) 0;
  }
  .zs-chip {
    height: 16px;
    padding: 0 4px;
    gap: 0;
  }
  .zs-chip .zs-chip-name {
    display: none;
  }
  .zs-grid {
    padding-top: 32px;
  }
  .zs-log-list {
    display: block;
  }
  .zs-log-in {
    padding: 20px 16px 16px;
  }
  .zs-log-item:nth-child(n + 7) {
    display: none;
  }
  .zs-banner {
    padding: 16px 24px 20px 16px;
  }
  .zs-sechead {
    display: block;
  }
  .zs-key {
    margin-top: 4px;
  }

  /* Rows become two-line blocks. */
  .zs-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .zs-table,
  .zs-table tbody {
    display: block;
  }
  .zs-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      'name st st'
      'wave up ms';
    gap: 8px 16px;
    height: auto;
    padding: 12px 0 14px;
  }
  .zs-table tbody th,
  .zs-table tbody td {
    padding: 0;
  }
  .zs-table .zs-t-name {
    grid-area: name;
  }
  .zs-table .zs-t-st {
    grid-area: st;
    justify-self: end;
  }
  .zs-table .zs-t-wave {
    grid-area: wave;
    align-self: end;
  }
  .zs-table .zs-t-up {
    grid-area: up;
    align-self: end;
  }
  .zs-table .zs-t-ms {
    grid-area: ms;
    align-self: end;
    min-width: 56px;
  }
}
@media (max-width: 479px) {
  .zs-readouts {
    grid-template-columns: repeat(2, minmax(0, auto));
    gap: 12px 24px;
  }
  .zs-readout:last-child {
    display: none;
  }
  .zs-legend {
    gap: 4px 16px;
  }
}
