/* /status: filled rows and no outlines, and a row does not change colour under the pointer or when opened. */
.st { padding: 40px 0 90px; }
.st h2 { margin: 44px 0 4px; font-size: 18px; font-weight: 650; color: var(--g-text); }
.st-sub { margin: 0 0 16px; color: var(--g-dim); font-size: 13.5px; }
.st-quiet { margin: 0; color: var(--g-dim); }

.st-hero { display: flex; gap: 18px; align-items: flex-start; }
.st-hero .eyebrow {
  font-family: var(--g-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--g-action-text); margin: 4px 0 10px;
}
.st-hero h1 { margin: 0; font-size: clamp(26px, 4.2vw, 36px); line-height: 1.15; font-weight: 675; letter-spacing: -0.02em; }
.st-lede { margin: 10px 0 0; max-width: 64ch; font-size: 16.5px; color: var(--g-muted); }
.st-icon {
  flex: none; width: 46px; height: 46px; margin-top: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 22px; color: var(--g-ink);
  background: var(--g-raise);
}
.st-hero[data-health="ok"] .st-icon { background: var(--g-live); }
.st-hero[data-health="ok"] .st-icon::before { content: "✓"; }
.st-hero[data-health="warn"] .st-icon,
.st-hero[data-health="bad"] .st-icon { background: var(--g-warn); }
.st-hero[data-health="warn"] .st-icon::before,
.st-hero[data-health="bad"] .st-icon::before { content: "!"; }

.st-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; background: var(--g-faint); }
[data-health="ok"] > .st-dot, .st-dot[data-health="ok"] { background: var(--g-live); }
[data-health="warn"] > .st-dot, .st-dot[data-health="warn"] { background: var(--g-warn); }
[data-health="bad"] > .st-dot, .st-dot[data-health="bad"] { background: var(--g-danger); }

/* The providers. */
.st-cols, .st-row {
  display: grid; grid-template-columns: 1.5fr 150px 92px 1.15fr 1.35fr; gap: 18px; align-items: center; padding: 0 20px;
}
.st-cols { color: var(--g-dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; }
.st-list { display: flex; flex-direction: column; gap: 6px; }
.st-item { background: var(--g-panel); border-radius: var(--g-radius-card); }
.st-item[data-health="warn"] { background: linear-gradient(var(--g-warn-dim), var(--g-warn-dim)), var(--g-panel); }
.st-item[data-health="bad"] { background: linear-gradient(var(--g-danger-dim), var(--g-danger-dim)), var(--g-panel); }
.st-row {
  width: 100%; padding-top: 18px; padding-bottom: 18px; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.st-row:focus { outline: none; }
.st-row:focus-visible { outline: 2px solid var(--g-focus); outline-offset: -2px; border-radius: var(--g-radius-card); }
.st-name { display: flex; align-items: center; gap: 10px; color: var(--g-text); font-weight: 600; font-size: 15.5px; }
.st-route { display: block; color: var(--g-dim); font-size: 12.5px; margin-left: 19px; }
.st-num { color: var(--g-text); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 17px; }
.st-num small { display: block; font-weight: 400; color: var(--g-dim); font-size: 11.5px; }
.st-num[data-health="warn"] { color: var(--g-warn-text); }
.st-num[data-health="bad"] { color: var(--g-danger-text); }
.st-num[data-health="none"] { color: var(--g-dim); font-weight: 400; font-size: 14px; }
.st-lat { font-size: 15px; font-weight: 500; }
.st-bars { display: flex; gap: 1px; height: 30px; align-items: flex-end; }
.st-bars i { flex: 1; min-height: 2px; border-radius: 1px; background: var(--g-live); opacity: .5; }
.st-bars i[data-health="warn"] { background: var(--g-warn); opacity: 1; }
.st-bars i[data-health="bad"] { background: var(--g-danger); opacity: 1; }
.st-bars i[data-health="none"] { background: var(--g-faint); opacity: .5; }
.st-says { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.st-src { color: var(--g-dim); font-size: 11.5px; }
.st-pill {
  display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap;
  background: var(--g-wash); color: var(--g-dim);
}
.st-pill[data-health="ok"] { background: var(--g-live-dim); color: var(--g-live-text); }
.st-pill[data-health="warn"] { background: var(--g-warn-dim); color: var(--g-warn-text); }
.st-pill[data-health="bad"] { background: var(--g-danger-dim); color: var(--g-danger-text); }

.st-detail { display: none; grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 20px 20px 39px; }
.st-item[data-open] .st-detail { display: grid; }
.st-detail h3 { margin: 0 0 8px; font-size: 11.5px; color: var(--g-dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.st-detail p { margin: 0 0 10px; color: var(--g-muted); }
.st-detail h3 + .st-bars, .st-detail .st-tags { margin-bottom: 16px; }
.st-bars-wide { max-width: 420px; }
.st-past { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.st-past li { display: flex; align-items: center; gap: 8px; color: var(--g-muted); font-size: 13.5px; }
.st-past time { margin-left: auto; color: var(--g-dim); font-size: 12px; white-space: nowrap; }
.st-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.st-tag { padding: 3px 10px; border-radius: 999px; background: var(--g-wash); font-size: 12px; color: var(--g-text-2); }

/* Selan, as one. */
.st-selan {
  background: var(--g-panel); border-radius: var(--g-radius-card); padding: 18px 20px;
  display: grid; grid-template-columns: auto 1fr 100px; gap: 6px 22px; align-items: center;
}
.st-who { display: flex; align-items: center; gap: 12px; }
.st-who img { width: 30px; height: 30px; }
.st-who b { display: block; color: var(--g-text); font-size: 15.5px; }
.st-who span { font-size: 13px; color: var(--g-muted); }
.st-days { display: flex; gap: 2px; height: 28px; }
.st-days i { flex: 1; border-radius: 2px; background: var(--g-live); opacity: .8; }
.st-days i[data-health="warn"] { background: var(--g-warn); opacity: 1; }
.st-days i[data-health="bad"] { background: var(--g-danger); opacity: 1; }
.st-days i[data-health="none"] { background: var(--g-faint); opacity: .4; }
.st-axis { display: flex; justify-content: space-between; color: var(--g-dim); font-size: 11px; margin-top: 4px; }
.st-pct { text-align: right; color: var(--g-text); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 17px; }
.st-pct small { display: block; color: var(--g-dim); font-weight: 400; font-size: 11.5px; }

/* Incidents: plain text. */
.st-inc { padding: 2px 0 20px; }
.st-inc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-inc-head h3 { margin: 0; color: var(--g-text); font-size: 15px; font-weight: 600; }
.st-inc-head .st-owner { font-size: 12px; color: var(--g-dim); }
.st-inc-head time { margin-left: auto; color: var(--g-dim); font-size: 12.5px; }
.st-inc p { margin: 8px 0 0; color: var(--g-muted); max-width: 80ch; }

.st-foot { margin: 36px 0 0; color: var(--g-dim); font-size: 12.5px; max-width: 80ch; }

@media (max-width: 760px) {
  .st-cols { display: none; }
  .st-row { grid-template-columns: 1fr auto; gap: 8px 12px; padding-left: 16px; padding-right: 16px; }
  .st-row .st-lat, .st-row .st-days { display: none; }
  .st-row .st-says { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 8px; margin-left: 19px; }
  .st-detail { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .st-selan { grid-template-columns: 1fr 90px; }
  .st-selan .st-bars-wrap { grid-column: 1 / -1; grid-row: 2; }
  .st-icon { margin-top: 26px; width: 38px; height: 38px; font-size: 18px; }
}
