/* JuFi Signal's own pages, on top of Lijnennet (jufi-web, loaded first).
   The signed-in screens follow Paper (file "JuFi", page "Design": the
   boards "Signal — …" and "Components — Signal · status"); the shell and
   the components start below the sign-in pages. The sign-in and notice
   pages take the layout of JuFi ID's: those rules are copied from
   intergalactisch/jufi-id, crates/id-web/static/app.css at commit 86d8764
   (unchanged up to fcf5cb4), with `.id` renamed `.signal`. */

body.signal {
  --gutter: 72px;
  /* Wider than the boards (1440): the content stays in their width. */
  --inline: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
  display: flex; flex-direction: column; min-height: 100vh;
}
body.signal main { flex-grow: 1; max-width: none; margin: 0; padding: 0; }
body.signal h1 {
  margin: 0; font-size: 80px; line-height: 80px; letter-spacing: -0.04em;
  overflow-wrap: break-word;
}
body.signal p { margin: 0; }
.signal .lead { color: var(--text-2); }
.signal .status { gap: 8px; }
.signal .status .icon { width: 16px; height: 16px; }

/* Top bar: the logo and the host. */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px var(--inline); border-bottom: 1px solid var(--line);
}
.top .logo { font-size: 26px; }

/* Sign in: what Signal is on the left, JuFi ID on the right. */
.sign-in {
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 440px);
  column-gap: 96px; row-gap: 48px; align-items: start;
  padding: 112px var(--inline) 144px;
}
.intro { display: flex; flex-direction: column; gap: 20px; }
.intro .lead { max-width: 440px; padding-top: 12px; font-size: 15px; line-height: 22px; }

.step { display: flex; flex-direction: column; gap: 24px; margin: 0; }
.label.rule { padding-bottom: 12px; line-height: 16px; border-bottom: 2px solid var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.step .hint { font-size: 13px; line-height: 18px; }
.step .error {
  display: flex; align-items: flex-start; gap: 8px; margin: 0;
  font-size: 14px; line-height: 18px;
}
.step .error .icon { width: 16px; height: 16px; margin-top: 1px; }

/* A page that only tells something: the start page for now, refusals,
   errors and nothing found. */
.notice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 112px var(--inline) 144px;
}
body.signal .notice h1 { max-width: 1056px; font-size: 64px; line-height: 66px; }
.notice .lead { max-width: 640px; font-size: 17px; line-height: 26px; }
.notice .actions { padding-top: 12px; }

/* Tablet. */
@media (max-width: 1100px) {
  body.signal { --gutter: 40px; }
  .sign-in { column-gap: 56px; padding-block: 80px 96px; }
  body.signal h1 { font-size: 64px; line-height: 64px; }
  .notice { padding-block: 80px 96px; }
  body.signal .notice h1 { font-size: 56px; line-height: 60px; }
}
/* One column. */
@media (max-width: 900px) {
  .sign-in { grid-template-columns: minmax(0, 560px); padding-block: 64px 80px; }
}
/* Phone, as on JuFi ID's 390 boards. */
@media (max-width: 600px) {
  body.signal { --gutter: 20px; }
  .top { padding-block: 16px; }
  .top .host { display: none; }
  body.signal h1 { font-size: 48px; line-height: 50px; }
  .sign-in { row-gap: 28px; padding-block: 40px; }
  .intro { gap: 14px; }
  .notice { gap: 16px; padding-block: 48px 72px; }
  body.signal .notice h1 { font-size: 40px; line-height: 44px; }
  .notice .lead { font-size: 16px; line-height: 24px; }
}

/* ------------------------------------------------------------------ */
/* The shell of signed-in pages (Paper "Signal — Now"): the live bar on
   top, the sidebar, the page. */
.live-bar {
  display: flex; align-items: center; gap: 22px; flex-shrink: 0;
  height: 40px; padding: 0 24px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-label); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; line-height: 14px; text-transform: uppercase;
  white-space: nowrap; overflow: auto hidden; scrollbar-width: none;
}
.live-chip { flex-shrink: 0; padding: 3px 7px; font-weight: 700; color: var(--ink); background: var(--led-green); }
.live-bar .sep { color: #6e6e6e; }
.live-bar .fact { display: inline-flex; align-items: center; gap: 7px; }
.live-bar .dot { width: 7px; height: 7px; flex-shrink: 0; }
.live-bar .dot.fail { background: var(--led-red); }
.live-bar .dot.wait { background: var(--led-amber); }

.nav .count, .nav .badge { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-2); }
.nav .badge.alert { padding: 1px 6px; font-weight: 700; color: var(--paper); background: var(--red); }
main.page { gap: 48px; }
main.page p { margin: 0; }
.lead { font-size: 18px; line-height: 27px; max-width: 760px; }

/* Page heads: the worst first, in display type. */
.now-head, .site-head { display: flex; flex-direction: column; gap: 14px; }
.site-head { padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.now-head h1, .site-head h1 {
  font-size: 80px; line-height: 80px; letter-spacing: -0.045em; overflow-wrap: anywhere;
}
.date-line { font-size: 15px; font-weight: 600; line-height: 20px; color: var(--text-2); }
.summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.summary .sentence {
  max-width: 880px; font-family: var(--font-display); font-size: 28px; font-weight: 800;
  line-height: 38px; letter-spacing: -0.03em;
}
.summary .button, .headline-row .button { flex-shrink: 0; }
.headline-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.headline-row form { margin: 0; }
.headline-row > form, .headline-row > nav { flex-shrink: 0; padding-top: 0; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 20px; color: var(--text-2); }
.crumbs a { font-weight: 700; color: var(--cobalt); text-decoration: none; }
.crumbs .icon { width: 12px; height: 12px; stroke-width: 2.6; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; line-height: 20px; color: var(--text-2); }
.facts .stand { font-size: 15px; line-height: 20px; }
.facts .stand .icon { width: 16px; height: 16px; }
.facts .value { font-size: 13.5px; line-height: 20px; }
.facts > span > .icon { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }

main.page .section-head h2 { font-size: 34px; line-height: 38px; }
.section-head .caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 4px 24px; text-align: right; }
.section-head .more { font-size: 14px; line-height: 18px; }

/* Stand and severity (Components — Signal · status): only Critical is red,
   a Warning is ink, fine is green, pending and paused never look fine. */
.stand { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; line-height: 18px; }
.stand .icon { width: 15px; height: 15px; }
.stand.critical, .mark.critical, .severity.critical { color: var(--red); }
.stand.ok, .mark.ok { color: var(--green); }
.stand.warning, .stand.paused, .mark.warning, .mark.paused { color: var(--ink); }
.stand.pending, .mark.pending { color: var(--text-2); }
.stand.pending { font-weight: 500; }

/* The sites table of Now and Sites. */
.sites { display: flex; flex-direction: column; }
.site-row {
  display: flex; align-items: center; gap: 20px; padding: 14px 0;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
a.site-row:hover { background: var(--surface); }
a.site-row:hover strong { text-decoration: underline; }
.site-row.head {
  padding: 12px 0; font-family: var(--font-label); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; line-height: 14px; text-transform: uppercase; color: var(--text-2);
}
.site-row .mark { width: 18px; flex-shrink: 0; display: flex; }
.site-row .mark .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.site-row .who { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
.site-row .who strong { font-size: 16px; font-weight: 700; line-height: 20px; overflow-wrap: break-word; }
.kinds { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-2); }
.site-row .answer, .site-row .tls { flex-shrink: 0; font-family: var(--font-mono); font-size: 13.5px; line-height: 18px; color: var(--text-2); }
.site-row.head .answer, .site-row.head .tls { font-family: var(--font-label); font-size: 10.5px; line-height: 14px; }
.site-row .answer { width: 120px; }
.site-row .host { width: 90px; flex-shrink: 0; font-family: var(--font-mono); font-size: 13.5px; line-height: 18px; overflow-wrap: anywhere; }
.site-row.head .host { font-family: var(--font-label); font-size: 10.5px; line-height: 14px; }
.site-row .answer.bad { color: var(--ink); }
.site-row .tls { width: 80px; }
.site-row .tls.soon { font-weight: 700; color: var(--ink); }
.site-row .rounds { width: 149px; flex-shrink: 0; display: flex; }
.site-row .end { width: 190px; flex-shrink: 0; display: flex; justify-content: flex-end; text-align: right; }
.site-row .end .tag.now { padding: 5px 10px; }

/* The last 30 rounds: grey is fine, red failed, ink a Warning, an
   outline no round. */
.strip { display: block; flex-shrink: 0; }
.strip .ok { fill: var(--line); }
.strip .critical { fill: var(--red); }
.strip .warning { fill: var(--ink); }
.strip .none { fill: none; stroke: var(--line); }

/* "4 more are fine", folded away. */
.more-fine summary {
  display: flex; align-items: baseline; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--line); cursor: pointer; list-style: none;
}
.more-fine summary::-webkit-details-marker { display: none; }
.more-fine summary > .icon { width: 18px; height: 18px; align-self: center; color: var(--green); }
.more-fine summary strong { flex-shrink: 0; font-size: 16px; line-height: 20px; }
.more-fine summary .kinds { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-fine .show { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--cobalt); }
.more-fine .show .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.more-fine[open] .show .icon { transform: rotate(180deg); }
.more-fine .site-row.head { display: none; }

.archive a { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; color: var(--ink); text-decoration: none; }

/* A site: its checks on the left, what can be done on the right. */
.split { display: flex; align-items: flex-start; gap: 48px; }
.split > .wide { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.split > .side { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 36px; }
.check-row { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.check-row.head {
  padding: 12px 0; font-family: var(--font-label); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; line-height: 14px; text-transform: uppercase; color: var(--text-2);
}
.check-row.head .what { padding-left: 26px; }
.check-row .what { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-start; gap: 10px; }
.check-row .mark { width: 16px; flex-shrink: 0; padding-top: 2px; display: flex; }
.check-row .mark .icon { width: 16px; height: 16px; }
.check-row .name { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.check-row .name strong { font-size: 15px; line-height: 20px; }
.check-row .sub { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-2); overflow-wrap: anywhere; }
.check-row .every, .check-row .last { flex-shrink: 0; font-family: var(--font-mono); font-size: 13.5px; line-height: 18px; }
.check-row.head .every, .check-row.head .last { font-family: var(--font-label); font-size: 10.5px; line-height: 14px; }
.check-row .every { width: 90px; color: var(--text-2); }
.check-row .last { width: 150px; }
.check-row .end { width: 120px; flex-shrink: 0; display: flex; justify-content: flex-end; text-align: right; }
.check-row .tools { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 4px; }
.check-row .tools form { margin: 0; }
button.link {
  display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 13px; font-weight: 700; line-height: 16px; color: var(--cobalt); cursor: pointer;
}
button.link .icon, a.link .icon { width: 13px; height: 13px; }
a.link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; line-height: 16px; text-decoration: none; }
a.link.quiet { color: var(--text-2); }
a.link:hover { text-decoration: underline; }
.settings { display: flex; flex-direction: column; gap: 8px; max-width: 560px; margin: 0; }
.settings label { margin: 0; font-size: 15px; line-height: 20px; }
.settings input[type=text] { height: 48px; margin: 0; padding: 0 14px; }
.settings .choice { margin: 0 0 18px; }
.settings .hint { margin-bottom: 10px; font-size: 13px; line-height: 18px; }
.settings .error { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.settings .error .icon { width: 16px; height: 16px; margin-top: 2px; }
button.link:hover { text-decoration: underline; }
.note { display: flex; align-items: flex-start; gap: 8px; padding-top: 16px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.note .icon { width: 16px; height: 16px; margin-top: 2px; }
.side .hint { font-size: 14px; line-height: 20px; }
.rename { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
.rename label { width: 100%; margin: 0; font-size: 15px; line-height: 20px; }
.runs-on { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
a.danger { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; line-height: 18px; color: var(--red); text-decoration: none; }
a.danger .icon { width: 15px; height: 15px; }
a.danger:hover { text-decoration: underline; }
.button.danger { color: var(--paper); background: var(--red); border-color: var(--red); }
.button.danger:hover { background: var(--red); box-shadow: 3px 3px 0 var(--ink); }
form.actions { margin: 0; }

/* Add a site (Paper "Signal — Add site"): numbered steps on one page, the
   options and the button on the right. */
.add-site { display: flex; align-items: flex-start; gap: 56px; margin: 0; }
.add-site .steps { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.step-n { display: flex; gap: 20px; }
.step-n .n {
  width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--paper); background: var(--ink);
}
.step-n .body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.step-n h2 { font-size: 24px; line-height: 30px; letter-spacing: -0.02em; }
.step-n label, .optional label, .choice-label { margin: 0; font-size: 15px; font-weight: 700; line-height: 20px; }
.add-site input[type=text] { height: 48px; margin: 0; padding: 0 14px; }
.add-site .hint { font-size: 13px; line-height: 18px; }
.add-site .error { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; line-height: 20px; }
.add-site .error .icon { width: 16px; height: 16px; margin-top: 2px; }
.made { list-style: none; margin: 2px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.made li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.made .kind {
  width: 44px; flex-shrink: 0; font-family: var(--font-label); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; line-height: 20px; text-transform: uppercase;
}
.made li > span:nth-child(2) { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.made strong { font-size: 15px; line-height: 20px; }
.made .hint { font-size: 14px; line-height: 20px; }
.made .severity { flex-shrink: 0; font-size: 13px; font-weight: 700; line-height: 20px; }
.add-site .aside { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }
.optional { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--surface); }
.optional .label { margin-bottom: 14px; font-size: 10.5px; line-height: 14px; }
.optional input[type=text] { background: var(--paper); }
.choice { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }

/* A choice of a few fixed values: radio buttons underneath, the chosen
   one solid ink (Components — Signal · servers and setup, .segmented). */
.segmented { display: flex; }
.segmented label { position: relative; margin: 0; font-weight: 600; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented label span {
  display: block; padding: 10px 16px; font-family: var(--font-mono); font-size: 15px; line-height: 20px;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink);
}
.segmented label + label span { border-left: 0; }
.segmented input:checked + span { color: var(--paper); background: var(--ink); }
.segmented input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.segmented.hosts { flex-wrap: wrap; }
.segmented.hosts label span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.segmented.hosts .icon { width: 16px; height: 16px; }
.go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* A setting that is on or off: a square box, solid ink inside when on,
   as the chosen value of .segmented. */
label.toggle { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 6px 0 0; cursor: pointer; }
.toggle input {
  appearance: none; width: 22px; height: 22px; flex-shrink: 0; margin: 0; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 0;
}
.toggle input:checked { background: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
.toggle input:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.settings .toggle { margin-top: 0; }
.go .hint { font-size: 14px; line-height: 20px; }

/* Response time over 24 hours (Components — Signal · status, .response). */
.response { display: flex; flex-direction: column; gap: 12px; padding-top: 36px; }
.response-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 22px; }
.response-head .label { font-size: 10.5px; line-height: 14px; }
.response .numbers { display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--font-mono); font-size: 12.5px; line-height: 16px; }
.chart { display: block; width: 100%; height: 72px; }
.chart .ok { fill: #bdbdb8; }
.chart .critical { fill: var(--red); }
.chart .base { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.response .axis { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; line-height: 14px; color: var(--text-2); }

/* Seen (Components — Signal · status): green once seen, quiet before. */
.seen { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; line-height: 18px; }
.seen .icon { width: 15px; height: 15px; }
.seen.done { color: var(--green); }
.seen.quiet { font-weight: 500; color: var(--text-2); }
.button.now.big { gap: 8px; padding: 12px 18px; font-size: 15px; }
.button.now .icon { width: 14px; height: 14px; }
button.link.quiet { color: var(--text-2); }

/* Open incidents on Now: what needs you first and loud. */
.open-incidents { display: flex; flex-direction: column; }
.open-row { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.open-row.loud { padding: 20px 0; }
.open-row .mark { width: 24px; flex-shrink: 0; display: flex; justify-content: center; }
.open-row .mark .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.open-row.loud .mark .icon { width: 24px; height: 24px; stroke-width: 2.4; }
.open-row .what { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; color: var(--ink); text-decoration: none; }
.open-row .what strong { font-size: 16px; line-height: 20px; }
.open-row.loud .what strong { font-size: 18px; font-weight: 800; line-height: 22px; }
.open-row .what:hover strong { text-decoration: underline; }
.open-row .sub, .incident-row .sub, .incident-card .sub, .earlier .sub { font-size: 14px; line-height: 20px; color: var(--text-2); }
.open-row .sev { width: 110px; flex-shrink: 0; }
.open-row .seen-col { width: 200px; flex-shrink: 0; }
.open-row .act { width: 150px; flex-shrink: 0; display: flex; justify-content: flex-end; }
.open-row form { margin: 0; }

/* The incidents list (Paper "Signal — Incidents"). */
.segmented.links { flex-shrink: 0; }
.segmented.links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  font-size: 15px; font-weight: 700; line-height: 20px; color: var(--ink); text-decoration: none;
  border: 1.5px solid var(--ink); background: var(--paper);
}
.segmented.links a + a { border-left: 0; }
.segmented.links a.active { color: var(--paper); background: var(--ink); }
.segmented.links a:not(.active):hover { background: var(--surface); }
.segmented.links .n { font-family: var(--font-mono); font-size: 13px; font-weight: 400; line-height: 16px; }
.headline-row .stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.incidents { display: flex; flex-direction: column; }
.incident-row { display: flex; align-items: center; gap: 20px; padding: 16px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
a.incident-row:hover { background: var(--surface); }
.incident-row.head {
  padding: 12px 0; font-family: var(--font-label); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; line-height: 14px; text-transform: uppercase; color: var(--text-2);
}
.incidents .group { margin: 0; padding: 22px 0 8px; font-weight: 600; color: var(--ink); font-size: 10.5px; line-height: 14px; }
.incident-row .mark { width: 20px; flex-shrink: 0; display: flex; }
.incident-row .mark .icon { width: 20px; height: 20px; stroke-width: 2.3; }
.incident-row .what { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.incident-row .what strong { font-size: 16px; line-height: 20px; }
.incident-row .what strong.loud { font-weight: 800; }
.incident-row .opened, .incident-row .lasted { flex-shrink: 0; font-family: var(--font-mono); font-size: 13.5px; line-height: 18px; }
.incident-row.head .opened, .incident-row.head .lasted { font-family: var(--font-label); font-size: 10.5px; line-height: 14px; }
.incident-row .opened { width: 150px; }
.incident-row .lasted { width: 120px; }
.incident-row .lasted.bad { font-weight: 700; color: var(--red); }
.incident-row .seen-col { width: 200px; flex-shrink: 0; }

/* One incident: the journey of Send, with the same dots (Components —
   Signal · status, "Incident timeline"). */
.journey { list-style: none; margin: 0; padding: 20px 0 0; }
.journey .step { position: relative; display: grid; grid-template-columns: 72px 14px 1fr; column-gap: 16px; padding-bottom: 22px; }
.journey .step::after {
  content: ""; position: absolute; left: calc(72px + 16px + 6px); top: 20px; bottom: -2px;
  border-left: 2px dashed var(--open-line);
}
.journey .step.fine::after { left: calc(72px + 16px + 5.5px); border-left: 3px solid var(--cobalt); }
.journey .step:last-child::after { display: none; }
.journey .time { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--text-2); }
.journey .now .time { font-weight: 600; color: var(--ink); }
.journey .dot { position: relative; z-index: 1; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--paper); }
.journey .ok .dot { background: var(--green); }
.journey .fail .dot { background: var(--red); }
.journey .seen-step .dot { background: var(--cobalt); }
.journey .wait .dot { border: 2.4px solid var(--ink); }
.journey .none .dot { background: var(--open-line); }
.journey .now .dot { border: 2px dashed var(--ink); }
.journey .next .dot { border: 2px dashed #9a9a9a; }
.journey .what { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.journey .what strong { font-size: 16px; line-height: 20px; }
.journey .fail .what strong { color: var(--red); }
.journey .what span { font-size: 14px; line-height: 20px; color: var(--text-2); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); }
.card .label { font-size: 10.5px; line-height: 14px; }
.card .hint { font-size: 14px; line-height: 21px; }
.card .more { font-size: 15px; }

/* A site's open incident (Paper "Signal — Site"): a frame with a shadow
   in its severity. */
.incident-card {
  display: flex; flex-direction: column; gap: 14px; padding: 20px;
  border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.incident-card.critical { box-shadow: 4px 4px 0 var(--red); }
.incident-card .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.incident-card .top .label { font-size: 10.5px; line-height: 14px; }
.incident-card.critical .top .label { color: var(--red); }
.incident-card .top .value { font-size: 12px; line-height: 16px; color: var(--text-2); }
.incident-card strong { font-size: 18px; font-weight: 800; line-height: 23px; }
.incident-card .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 0; }
.incident-card form { margin: 0; }
.earlier .label.rule { margin: 0; padding-bottom: 10px; font-size: 10.5px; line-height: 14px; }
.earlier .rows a { display: flex; gap: 14px; padding: 11px 0; color: var(--ink); text-decoration: none; }
.earlier .rows a:hover strong { text-decoration: underline; }
.earlier .value { flex-shrink: 0; font-size: 13px; line-height: 20px; color: var(--text-2); }
.earlier .what { display: flex; flex-direction: column; gap: 2px; }
.earlier strong { font-size: 14px; line-height: 20px; }
.earlier .sub { font-size: 13px; line-height: 18px; }

/* Devices (Paper "Signal — Devices"): the devices and the mail, the
   button that turns on push here, and the steps for iOS. */
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.done { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; line-height: 20px; color: var(--green); }
.done .icon { width: 16px; height: 16px; margin-top: 2px; }
.card.off { max-width: 760px; }
.card.off code { font-family: var(--font-mono); font-size: 13px; }
.devices { display: flex; flex-direction: column; }
.device-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.device-row.head {
  padding: 11px 0; font-family: var(--font-label); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; line-height: 14px; text-transform: uppercase; color: var(--text-2);
}
.device-row.head .what { padding-left: 26px; }
.device-row .what { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-start; gap: 10px; }
.device-row .mark { width: 16px; flex-shrink: 0; padding-top: 2px; display: flex; }
.device-row .mark .icon { width: 16px; height: 16px; }
.device-row .name { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.device-row .name strong { font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.device-row .name .tag { margin-left: 6px; vertical-align: 1px; }
.device-row .sub { font-size: 13px; line-height: 18px; color: var(--text-2); }
.device-row .last { width: 160px; flex-shrink: 0; font-family: var(--font-mono); font-size: 13px; line-height: 18px; }
.device-row .last .stand { font-family: var(--font-mono); font-size: 13px; font-weight: 400; }
.device-row .last .stand.fail { color: var(--red); }
.device-row .last .quiet { color: var(--text-2); }
.device-row .end { width: 200px; flex-shrink: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.device-row .end form { margin: 0; }
.device-row .button.compact { white-space: nowrap; }
button.link.danger { color: var(--red); white-space: nowrap; }
.devices .empty { margin: 0; padding: 16px 0; font-size: 14px; line-height: 20px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.add-device {
  display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 20px;
  border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--cobalt);
}
.add-device .label { margin: 0; font-size: 10.5px; line-height: 14px; color: var(--cobalt); }
.add-device strong { font-size: 18px; font-weight: 800; line-height: 23px; }
.add-device .button { justify-content: center; min-height: 48px; font-size: 15px; }
.add-device .button:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.add-device .hint { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.ios-steps .label.rule { margin: 0; padding-bottom: 10px; font-size: 10.5px; line-height: 14px; }
.ios-steps ol { list-style: none; margin: 0; padding: 0; }
.ios-steps li { display: flex; gap: 14px; padding: 11px 0; font-size: 14px; line-height: 20px; border-bottom: 1px solid var(--line); }
.ios-steps .n { width: 22px; flex-shrink: 0; font-family: var(--font-mono); font-weight: 700; }
.ios-steps .hint { margin: 0; padding-top: 12px; font-size: 13px; line-height: 18px; color: var(--text-2); }

/* Notifications in an incident's timeline: cobalt, something Signal did
   (Components — Signal · status). */
.journey .push .dot { background: var(--cobalt); }
.facts .told { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); }
.facts .told .icon { width: 15px; height: 15px; }
.seen.pushed { padding: 1px 6px; font-weight: 700; color: var(--ink); background: var(--highlighter); border: 1.5px solid var(--ink); }

/* Held back (Components — Signal · status, .stand.held-back): waiting
   for its server, grey with a dashed circle; never fine, never red. */
.stand.held-back, .mark.held-back { color: var(--text-2); }
.stand.held-back { font-weight: 600; }
.live-bar .dot.held { background: #8a8a8a; }

/* Servers (Components — Signal · servers and setup). A card: an ink
   frame while it has a Warning or worse, a hairline when fine. */
.server-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.server {
  display: flex; flex-direction: column; gap: 18px; padding: 20px;
  color: var(--ink); text-decoration: none; border: 1.5px solid var(--line);
}
.server.loud { border-color: var(--ink); }
a.server:hover .name strong { text-decoration: underline; }
.server-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.server .who { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.server .name { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.server .name .icon { width: 22px; height: 22px; flex-shrink: 0; }
.server .name strong {
  font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 30px;
  letter-spacing: -0.03em; overflow-wrap: anywhere;
}
.server .line { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-2); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 4px 9px;
  font-size: 13px; font-weight: 700; line-height: 16px; border: 1.5px solid var(--ink);
}
.badge .icon { width: 13px; height: 13px; }
.badge.ok { color: var(--green); border-color: var(--line); }
.badge.critical { color: var(--red); border-color: var(--red); }
.badge.pending, .badge.paused, .badge.held-back { color: var(--text-2); border-color: var(--line); }
.meters { display: flex; gap: 16px; }
.meter { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.meter .label, .runs .label {
  font-family: var(--font-label); font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em;
  line-height: 14px; text-transform: uppercase; color: var(--text-2);
}
.meter .value { font-family: var(--font-mono); font-size: 20px; font-weight: 700; line-height: 24px; }
.meter.critical .value { color: var(--red); }
.meter .bar { display: block; width: 100%; height: 5px; }
.meter .bar .track { fill: var(--line); }
.meter .bar .fill { fill: var(--ink); }
.meter.warning .bar .fill { fill: var(--led-amber); }
.meter.critical .bar .fill { fill: var(--red); }
.runs { display: flex; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.runs .label { flex-shrink: 0; }

/* A server's values (Paper "Signal — Server", .value): now, 24 hours and
   the thresholds; the crossed one turns ink, the number gets the
   highlighter. */
.head-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.head-actions form { margin: 0; }
.site-head > .facts.value { font-family: var(--font-mono); font-size: 13px; }
.values { display: flex; flex-direction: column; }
.value-row { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.value-row.head {
  padding: 12px 0; font-family: var(--font-label); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; line-height: 14px; text-transform: uppercase; color: var(--text-2);
}
.value-row.head .what { padding-left: 26px; }
.value-row .what { flex: 1 1 0; min-width: 160px; display: flex; align-items: flex-start; gap: 10px; }
.value-row .mark { width: 16px; flex-shrink: 0; padding-top: 2px; display: flex; }
.value-row .mark .icon { width: 16px; height: 16px; }
.value-row .name { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.value-row .name strong { font-size: 15px; line-height: 20px; }
.value-row .sub { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-2); overflow-wrap: anywhere; }
.value-row .tools { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 4px; }
.value-row .tools form { margin: 0; }
.value-row .now { width: 90px; flex-shrink: 0; font-family: var(--font-mono); font-size: 15px; font-weight: 700; line-height: 20px; }
.value-row .now mark { padding: 1px 6px; color: var(--ink); background: var(--highlighter); }
.value-row .day { width: 120px; flex-shrink: 0; display: flex; }
.value-row .limit { width: 110px; flex-shrink: 0; font-family: var(--font-mono); font-size: 13px; line-height: 18px; color: var(--text-2); }
.value-row .limit + .limit { width: 130px; }
.value-row .limit.crossed { color: var(--ink); font-weight: 700; }
.value-row.head .now, .value-row.head .day, .value-row.head .limit { font-family: var(--font-label); font-size: 10.5px; font-weight: 500; line-height: 14px; }
.spark { display: block; }
.spark polyline { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.hosted .label.rule { margin: 0; padding-bottom: 10px; font-size: 10.5px; line-height: 14px; }
.hosted .rows a { display: flex; align-items: center; gap: 10px; padding: 11px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.hosted .rows a:hover strong { text-decoration: underline; }
.hosted .mark { display: flex; }
.hosted .mark .icon { width: 16px; height: 16px; }
.hosted strong { flex: 1 1 0; min-width: 0; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.hosted .hint { padding-top: 10px; }
.label.split-label { display: flex; justify-content: space-between; gap: 12px; }
.label.split-label .quiet { color: var(--text-2); text-transform: none; letter-spacing: 0; font-family: var(--font-mono); }
.card .card-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; line-height: 20px; }
.card .card-title .icon { width: 16px; height: 16px; }
.earlier .rows .row { display: flex; gap: 14px; padding: 11px 0; }
.earlier .rows span.what span { font-size: 14px; line-height: 20px; }
.side > a.link { font-size: 14px; line-height: 18px; }

/* Add a server (Paper "Signal — Add server"): the sites as boxes to
   tick, the command once, the page waiting for the first report. */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip > span {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 44px;
  font-size: 15px; font-weight: 700; line-height: 20px; color: var(--ink);
  border: 1.5px solid var(--line); background: var(--paper);
}
.chip > span::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 1.5px solid var(--ink); background: var(--paper);
}
.chip input:checked + span { border-color: var(--ink); }
.chip input:checked + span::before { background: var(--cobalt); box-shadow: inset 0 0 0 3px var(--paper); border-color: var(--cobalt); }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.chip .sub { font-weight: 500; color: var(--text-2); }
.step-n.later { opacity: 0.55; }
.step-n.done-step .n { background: var(--green); }
.once {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700;
  line-height: 20px; background: var(--highlighter); border: 1.5px solid var(--ink);
}
.once .icon { width: 16px; height: 16px; flex-shrink: 0; }
.command { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; color: var(--paper); background: var(--ink); }
.command .label { font-family: var(--font-label); font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; line-height: 14px; text-transform: uppercase; color: #9a9a9a; }
.command pre { margin: 0; padding: 0; overflow-x: auto; background: none; }
.command code {
  font-family: var(--font-mono); font-size: 14px; line-height: 22px; color: var(--paper);
  white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all;
}
.check-first summary { cursor: pointer; font-size: 14px; font-weight: 700; line-height: 20px; color: var(--cobalt); }
.check-first[open] { display: flex; flex-direction: column; gap: 10px; }
code.hash, .step-n code, .site-head code { font-family: var(--font-mono); font-size: 12.5px; overflow-wrap: anywhere; }
.waiting { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1.5px solid var(--ink); }
.waiting .label {
  display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-label); font-size: 10.5px;
  font-weight: 500; letter-spacing: 0.06em; line-height: 14px; text-transform: uppercase;
}
.waiting .led { width: 10px; height: 10px; flex-shrink: 0; background: var(--led-amber); }
.waiting .led.ok { background: var(--led-green); }
.waiting strong { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 30px; }
.waiting .hint { font-size: 14px; line-height: 21px; color: var(--text-2); }
.waiting ul { list-style: none; margin: 0; padding: 0; }
.waiting li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; line-height: 20px; border-top: 1px solid var(--line); }
.waiting li .icon { width: 16px; height: 16px; }
.waiting li.ok .icon { color: var(--green); }
.waiting li.now { font-weight: 700; }
.waiting li.next { color: var(--text-2); }
.waiting .button { justify-content: center; }
.thresholds .label.rule { margin: 0 0 10px; font-size: 10.5px; line-height: 14px; }
.limits { list-style: none; margin: 0; padding: 0; }
.limits li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13.5px; line-height: 18px; border-bottom: 1px solid var(--line); }
.limits li span { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); text-align: right; }
.thresholds .hint { font-size: 14px; line-height: 22px; }
.thresholds .hint + .hint { padding-top: 8px; color: var(--text-2); }

/* Now: servers as cards on a wide screen, as lines on a narrow one
   (Paper "Signal — Now (phone)"); on a tablet beside the sites. */
.now-lower { display: flex; flex-direction: column; gap: 48px; }
.server-lines { display: none; flex-direction: column; }
.server-line { display: flex; align-items: center; gap: 12px; padding: 14px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.server-line .mark { width: 20px; flex-shrink: 0; display: flex; }
.server-line .mark .icon { width: 20px; height: 20px; }
.server-line strong { flex: 1 1 auto; font-size: 16px; line-height: 20px; }
.server-line .short { font-family: var(--font-mono); font-size: 12.5px; line-height: 16px; color: var(--text-2); text-align: right; }
@media (max-width: 1180px) {
  .server-cards { grid-template-columns: minmax(0, 1fr); }
  .site-row .host { display: none; }
}
@media (max-width: 900px) {
  .now-servers .server-cards { display: none; }
  .server-lines { display: flex; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .now-lower:has(.now-servers) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
}
@media (max-width: 900px) {
  .value-row { flex-wrap: wrap; gap: 6px 12px; }
  .value-row.head { display: none; }
  .value-row .what { flex-basis: 100%; }
  .value-row .now { width: auto; margin-left: 26px; }
  .value-row .day { display: none; }
  .value-row .limit, .value-row .limit + .limit { width: auto; }
}
@media (max-width: 600px) {
  .meters { gap: 12px; }
  .meter .value { font-size: 17px; line-height: 22px; }
  .server .name strong { font-size: 22px; line-height: 26px; }
  .head-actions { width: 100%; }
  .head-actions .button { flex: 1 1 auto; justify-content: center; }
  .chip { width: 100%; }
  .chip > span { width: 100%; }
  .command { padding: 16px; }
  .command code { font-size: 13px; line-height: 20px; }
}

/* Laptop: the side column and the fixed columns give way. */
@media (max-width: 1320px) {
  .site-row { gap: 16px; }
  .site-row .host { width: 76px; font-size: 12.5px; }
  .site-row .answer { width: 100px; }
  .site-row .end { width: 168px; }
  .value-row { gap: 12px; }
  .value-row .now { width: 72px; }
  .value-row .day { width: 96px; }
  .value-row .day .spark { width: 96px; }
  .value-row .limit { width: 100px; font-size: 12.5px; }
  .value-row .limit + .limit { width: 116px; }
  .split { gap: 40px; }
  .split > .side { width: 300px; }
  .check-row .every { width: 70px; }
  .check-row .last { width: 130px; }
}

/* Narrower: the side column goes below. */
@media (max-width: 1180px) {
  .split, .add-site { flex-direction: column; align-items: stretch; }
  .split > .side, .add-site .aside { width: auto; max-width: 560px; }
  /* On a phone or tablet, turning on push here comes first. */
  .devices-split > .side { order: -1; }
  .site-row .tls { display: none; }
}

/* Tablet (Paper "Signal — Now (tablet)"): the sidebar is a row of icons
   under the live bar; rows keep the name and the status. */
@media (max-width: 900px) {
  .sidebar { gap: 4px; padding: 10px 40px; }
  .sidebar .logo { margin-right: 8px; }
  .sidebar .lockup { font-size: 20px; }
  .sidebar .lockup-service { display: none; }
  .sidebar .lockup-jufi { width: 44px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0; }
  .nav { gap: 4px; }
  .nav a { min-width: 44px; height: 44px; justify-content: center; gap: 5px; padding: 0 10px; }
  .nav a .icon { width: 20px; height: 20px; }
  .nav a .name {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .nav .count { display: none; }
  main.page { gap: 44px; padding: 32px 40px 40px; }
  .now-head, .site-head { gap: 10px; }
  .now-head h1, .site-head h1 { font-size: 64px; line-height: 64px; letter-spacing: -0.04em; }
  .summary { flex-direction: column; align-items: flex-start; gap: 20px; }
  .summary .sentence { font-size: 21px; line-height: 30px; letter-spacing: -0.02em; }
  .summary mark { padding: 0 6px; }
  main.page .section-head { padding-bottom: 10px; }
  main.page .section-head h2 { font-size: 26px; line-height: 30px; }
  .section-head .caption { display: none; }
  .site-row { gap: 12px; }
  .site-row.head, .site-row .answer, .site-row .rounds, .site-row .kinds { display: none; }
  .site-row .mark .icon { width: 20px; height: 20px; }
  .site-row .end { width: auto; }
  .more-fine summary .kinds { display: none; }
  .check-row .every { display: none; }
  .check-row .last { width: 110px; }
  /* Open incidents (Paper "Signal — Now (tablet)"): the button beside
     the text, the rest in a line under the title. */
  .open-row { flex-wrap: wrap; align-items: flex-start; gap: 6px 12px; }
  .open-row .what { flex-basis: calc(100% - 36px - 190px); }
  .open-row .sev, .open-row .seen-col { width: auto; order: 3; }
  .open-row .sev { margin-left: 36px; }
  .open-row .act { width: auto; margin-left: auto; }
  .incident-row { flex-wrap: wrap; gap: 4px 12px; }
  .incident-row.head { display: none; }
  .incident-row .what { flex-basis: calc(100% - 32px); }
  .incident-row .opened, .incident-row .lasted, .incident-row .seen-col { width: auto; }
  .incident-row .opened { margin-left: 32px; }
  .journey .step { grid-template-columns: 60px 14px 1fr; column-gap: 12px; }
  .device-row { flex-wrap: wrap; gap: 6px 12px; }
  .device-row.head { display: none; }
  .device-row .what { flex-basis: 100%; }
  .device-row .last { width: auto; margin-left: 26px; }
  .device-row .end { width: auto; margin-left: auto; }
  .journey .step::after { left: calc(60px + 12px + 6px); }
  .journey .step.fine::after { left: calc(60px + 12px + 5.5px); }
}

/* Phone (Paper "Signal — Now (phone)"). */
@media (max-width: 600px) {
  .sidebar { padding: 10px 16px; }
  main.page { gap: 36px; padding: 22px 20px 40px; }
  .now-head h1, .site-head h1 { font-size: 44px; line-height: 44px; }
  .headline-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .crumbs { font-size: 14px; line-height: 18px; }
  .facts { gap: 6px 16px; font-size: 14px; }
  .check-row .last { display: none; }
  .step-n { gap: 14px; }
  .segmented { width: 100%; }
  .segmented label { flex: 1 1 0; }
  .segmented label span { text-align: center; padding-inline: 8px; }
  .go .button { width: 100%; justify-content: center; }
  /* Mark as seen: full width on the phone (Components — Signal · status). */
  .open-row .what { flex-basis: calc(100% - 36px); }
  .open-row .act { width: 100%; margin-left: 0; order: 4; }
  .open-row .act .button, .open-row .act form { width: 100%; }
  .open-row .act .button { justify-content: center; min-height: 48px; font-size: 16px; }
  .segmented.links { width: 100%; }
  .segmented.links a { flex: 1 1 0; justify-content: center; padding-inline: 8px; }
  .device-row .end { width: 100%; margin-left: 26px; justify-content: flex-start; }
  .device-row .button.compact { min-height: 44px; font-size: 15px; }
  .add-device .button { min-height: 52px; font-size: 16px; }
}
