/* System page and the app banner (reliability lane). Colours from the shell's tokens. */
.sys .sys-h{font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 8px;color:var(--ink-2,inherit)}
.sys-pill{display:inline-block;font-size:12px;padding:1px 8px;border-radius:999px;border:1px solid currentColor;margin-right:6px;white-space:nowrap}
.sys-pill.ok{color:var(--ok,#2f7d4f)}.sys-pill.warn{color:var(--warn,#9a6a00)}.sys-pill.bad{color:var(--bad,#b3261e)}.sys-pill.muted{color:var(--muted)}
.sys-bad{color:var(--bad,#b3261e)}
.sys-none{color:var(--muted);margin:4px 0}
.sys-sum small,.sys-t small{display:block;color:var(--muted)}
.sys-probs{margin:8px 0 0;padding-left:18px}.sys-probs li{margin:4px 0}.sys-probs pre{white-space:pre-wrap;font-size:12px;max-height:240px;overflow:auto}
.sys-t{width:100%;border-collapse:collapse}.sys-t th,.sys-t td{text-align:left;padding:8px;border-bottom:1px solid var(--line,#ddd);vertical-align:top}.sys-t .sys-d{max-width:280px;overflow-wrap:anywhere}
.sys-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.sys-grid>div{border:1px solid var(--line,#ddd);border-radius:10px;padding:10px 12px}.sys-grid b{display:block;font-size:22px}.sys-grid span{display:block;color:var(--ink-2,inherit)}
.sys-ext{display:flex;gap:8px;align-items:baseline;margin:6px 0}
.sys-hist{list-style:none;padding:0;margin:0}.sys-hist li{padding:6px 0;border-bottom:1px solid var(--line,#ddd)}
.sys-banner{margin:0 0 12px}.sys-b{margin:0 0 6px;padding:8px 12px;border-radius:8px;border:1px solid currentColor}.sys-b.urgent{color:var(--bad,#b3261e)}.sys-b.warn{color:var(--warn,#9a6a00)}
@media (max-width:640px){.sys-t thead{display:none}.sys-t td{display:block;border:0;padding:2px 0}.sys-t tr{display:block;border-bottom:1px solid var(--line,#ddd);padding:8px 0}
  /* the headers are hidden on a phone: each value says what it is (17 Nov click round: "20 h ago" alone meant nothing) */
  .sys-t td[data-l]::before{content:attr(data-l) ": ";color:var(--muted)}}
/* the banner above every page (shell/ui/index.html #sysban, placed by render() in shell/ui/core.js) */
.sysban:empty,.sysban[hidden]{display:none}.sysban{flex:none;padding:12px var(--s6,24px) 0;background:var(--bg)}.sysban .sys-banner{margin:0}.sysban .sys-b:last-child{margin-bottom:0}
@media (max-width:640px){.sysban{padding:8px 12px 0}.sysban .sys-b{font-size:13px;padding:6px 10px}}

/* the page's verdict stays on a phone (the shell hides page-head chips there; owner people, 17 Nov) */
@media (max-width:760px){#view .sys .phead:has(.phead-chip.keep){display:flex!important}#view .sys .phead .phead-chip.keep{display:inline-flex}}
/* a failing job's own words, for Treppan (business owner only): folded, wraps on a phone */
.sys-said{margin-top:4px}.sys-said summary{cursor:pointer;color:var(--muted,#666)}.sys-said code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;margin-top:4px}

/* a phone: "Run the check now" in Today's check, full width, 44 px (the page head is folded into the top bar) */
.sys-run-ph{display:none}
@media (max-width:760px){#view .sys-run-ph{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;height:44px;font-size:15px;margin-top:12px}}

/* the line's test-number limit (walinkfix M1): whole on a phone, never "Limited to 1 tes…" (the lead at 390, 18 Nov) */
.sys-t .sys-limit{display:inline-block;white-space:normal;overflow:visible;text-overflow:clip;max-width:100%;margin-top:4px}
.sys-ai .sys-ext{flex-wrap:wrap;align-items:center}
