:root {
  --bg: #0E1116; --card: #171B22; --line: #262C36; --text: #F2F4F7; --muted: #A3ADBB;
  --go: #3DDC97; --wait: #F5B94A; --stop: #FF8A80;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the hidden attribute must win over any display rule below */
html, body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.45 Inter, system-ui, sans-serif; }
body { min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 24px 20px 96px; display: flex; flex-direction: column; gap: 16px; }
h1, h2, .big, .num { font-family: "Space Grotesk", Inter, sans-serif; }
h1 { margin: 0; font-size: 30px; font-weight: 700; }
h2 { margin: 8px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
h2.go { color: var(--go); } h2.wait { color: var(--wait); }
p { margin: 0; }
.muted { color: var(--muted); font-size: 15px; }
.go { color: var(--go); } .wait { color: var(--wait); } .stop { color: var(--stop); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card.go { border-color: var(--go); color: var(--text); } .card.stop { border-color: var(--stop); color: var(--text); } .card.wait { border-color: var(--wait); color: var(--text); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row.top { align-items: flex-start; }
.col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.big { font-size: 22px; font-weight: 700; line-height: 1.2; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat span:first-child { font-size: 12px; color: var(--muted); }
.num { font-size: 19px; font-weight: 600; }
.chip { font-size: 12px; font-weight: 600; border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
button, .btn { font: inherit; font-weight: 600; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: none; color: var(--text); padding: 0 16px; cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; text-align: center; }
button.primary, .btn.primary { background: var(--go); border-color: var(--go); color: var(--bg); }
button:disabled { opacity: .5; cursor: default; }
button.link { border: 0; min-height: 44px; padding: 0; color: var(--muted); justify-content: flex-start; }
.list { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; min-height: 64px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.list a:last-child { border-bottom: 0; }
ul.checks { list-style: none; margin: 0; padding: 0; }
ul.checks li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
ul.checks li:last-child { border-bottom: 0; }
ul.checks b { font-weight: 600; white-space: nowrap; }
label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
input, select, textarea { font: inherit; font-size: 16px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 10px 14px; width: 100%; }
input.unclear, select.unclear { border-color: var(--wait); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop { min-height: 96px; border: 1.5px dashed var(--muted); flex-direction: column; gap: 4px; }
nav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
nav[hidden] { display: none; }
nav a { flex: 1; min-width: 0; min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; }
nav a[aria-current="page"] { color: var(--go); }
:focus-visible { outline: 2px solid var(--go); outline-offset: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stop); display: inline-block; flex: none; }
.dot[hidden] { display: none; }
.banner { background: var(--stop); color: var(--bg); font-weight: 600; font-size: 13px; padding: 10px 20px; text-align: center; }
.banner[hidden] { display: none; }
.banner a { color: inherit; }
.verdict { font-family: "Space Grotesk", Inter, sans-serif; font-size: 34px; font-weight: 700; line-height: 1; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wait); }
ul.plain { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.list .item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; min-height: 56px; border-bottom: 1px solid var(--line); }
.list .item:last-child { border-bottom: 0; }
.unread b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--go); margin-right: 8px; }
.right { text-align: right; }
.small { font-size: 12px; }
.stack { gap: 16px; }
a.card { text-decoration: none; }
.calm { font-family: "Space Grotesk", Inter, sans-serif; font-size: 26px; font-weight: 600; line-height: 1.25; }
.sysline { font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.sysline::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; margin-right: 8px; }
a.plainlink { text-decoration: none; color: inherit; }
.card p { font-size: 16px; }
.btn.link { border: 0; min-height: 44px; padding: 0; color: var(--muted); justify-content: flex-start; }
