/* The status page. Reuses .card and .pill from base.css; what is here is the
   verdict panel and the dataset rows. */

/* The verdict: one sentence, large, with the state said in words as well as
   colour. Colour alone would make this page unreadable to a reader who cannot
   see the difference between the amber and the green, which on a page whose
   entire job is "is this broken" is not a detail. */
.verdict {
  border: var(--o); border-radius: 12px; background: var(--panel);
  box-shadow: 6px 6px 0 var(--ink); padding: 16px 18px; margin: 4px 0 28px;
  border-left: 10px solid var(--line);
}
.verdict.ok { border-left-color: var(--good); }
.verdict.warn { border-left-color: var(--warn); }
.verdict.down { border-left-color: var(--red); }
.verdict .state {
  font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px;
}
.verdict .said { font-family: var(--font-display, var(--font-body)); font-size: 25px; line-height: 1.2; margin: 0; }
.verdict .built { color: var(--muted); font-size: 13px; margin: 10px 0 0; }

.ds { list-style: none; margin: 0; padding: 0; background: var(--panel); border: var(--o); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.ds li { border-top: 1px solid var(--line); padding: 12px 14px; }
.ds li:first-child { border-top: 0; }
/* The two halves of a row sit side by side on a desktop and stack on a phone,
   where a 100px label column would wrap every name onto three lines. */
.ds .row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ds .name { font-weight: 600; }
.ds .age { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; margin-left: auto; }
.ds .why { color: var(--muted); font-size: 13px; margin: 6px 0 0; max-width: 62ch; }
.ds .srcs { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ds .src { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }
.ds .src.dead { border-color: var(--red); color: var(--red-ink); }
/* A stale row is marked on its left edge as well as by its pill, so the thing
   that is wrong is findable by scanning rather than by reading every pill. */
.ds li.bad { box-shadow: inset 5px 0 0 var(--red); }
.ds li.stale { box-shadow: inset 5px 0 0 var(--warn); }

.note { margin-top: 28px; }
.note p { max-width: 68ch; }

@media (max-width: 720px) {
  .verdict .said { font-size: 21px; }
  .ds .age { margin-left: 0; width: 100%; }
}
