:root { --bg:#f6f7f9; --card:#fff; --text:#1e293b; --muted:#64748b; --line:#e2e8f0; --accent:#2563eb; --ok:#16a34a; --bad:#dc2626; --warn:#f59e0b; }
* { box-sizing: border-box; }
body { margin:0; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background:var(--bg); color:var(--text); }
a { color:var(--accent); text-decoration:none; } a:hover { text-decoration:underline; }
nav.top { display:flex; gap:18px; align-items:center; padding:10px 24px; background:#0f172a; color:#cbd5e1; }
nav.top a { color:#cbd5e1; } nav.top a.brand { color:#fff; font-weight:600; margin-right:12px; } nav.top .spacer { flex:1; }
main { max-width:1400px; margin:0 auto; padding:20px 24px 60px; }
h1 { font-size:22px; margin:0 0 16px; } h1 small { font-size:13px; font-weight:400; } h3 { font-size:14px; margin:18px 0 8px; color:var(--muted); font-weight:600; }
.muted { color:var(--muted); } .small { font-size:12px; } .ok { color:var(--ok); } .bad { color:var(--bad); font-weight:600; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:12px; margin-bottom:18px; }
.tile { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:12px 14px; }
.tile .k { font-size:12px; color:var(--muted); } .tile .v { font-size:24px; font-weight:600; margin:2px 0; } .tile .d { font-size:12px; color:var(--muted); }
table.data { width:100%; border-collapse:collapse; background:var(--card); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
table.data th, table.data td { padding:7px 10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
table.data th { background:#f1f5f9; font-weight:600; font-size:12px; color:var(--muted); } table.data th small { font-weight:400; }
table.data tr:last-child td { border-bottom:0; } table.data .r { text-align:right; white-space:nowrap; }
table.data td .d { font-size:11px; color:var(--muted); margin-left:4px; }
table.data.small td { padding:4px 8px; font-size:13px; }
td.url, td.msg { max-width:420px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tag { font-size:10px; background:#e0e7ff; color:#3730a3; border-radius:4px; padding:1px 6px; margin-left:6px; vertical-align:middle; }
.alert { background:#fef2f2; border:1px solid #fecaca; border-radius:8px; padding:10px 14px; margin-bottom:16px; }
.filters { display:flex; gap:8px; align-items:center; margin-bottom:14px; flex-wrap:wrap; }
.filters input, .filters select, .filters button { font:inherit; padding:6px 10px; border:1px solid var(--line); border-radius:6px; background:#fff; }
.filters button { background:var(--accent); color:#fff; border-color:var(--accent); cursor:pointer; }
.filters a, .subnav a { padding:4px 8px; border-radius:6px; } .filters a.cur, .subnav a.cur { background:#e0e7ff; }
.subnav { margin:-8px 0 14px; color:var(--muted); }
.st { font-size:11px; padding:2px 7px; border-radius:10px; background:#e2e8f0; }
tr.st-ok .st { background:#dcfce7; color:#166534; } tr.st-error .st, .st.st-error { background:#fee2e2; color:#991b1b; }
tr.st-running .st { background:#dbeafe; color:#1e40af; } tr.st-skipped .st { background:#fef3c7; color:#92400e; }
pre.log { background:#0f172a; color:#e2e8f0; padding:14px; border-radius:8px; font-size:12px; overflow:auto; max-height:70vh; white-space:pre-wrap; }
.charts { display:grid; grid-template-columns:repeat(auto-fit, minmax(420px, 1fr)); gap:14px; margin:10px 0 18px; }
.chart { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:10px 14px 6px; } .chart h3 { margin:0 0 6px; }
.cols { display:grid; grid-template-columns:repeat(auto-fit, minmax(320px, 1fr)); gap:14px; }
body.login { display:flex; align-items:center; justify-content:center; min-height:100vh; }
body.login .card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:28px 32px; width:320px; display:flex; flex-direction:column; gap:12px; }
body.login h1 { margin:0 0 6px; font-size:20px; } body.login input, body.login button { font:inherit; padding:9px 12px; border:1px solid var(--line); border-radius:6px; }
body.login button { background:var(--accent); color:#fff; border-color:var(--accent); cursor:pointer; } .err { color:var(--bad); margin:0; }
form.inline { display:inline; } form.inline select { font:inherit; font-size:12px; padding:3px 6px; border:1px solid var(--line); border-radius:6px; background:#fff; }
article.body { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:20px 28px; max-width:820px; line-height:1.6; } article.body h2 { font-size:18px; margin:22px 0 8px; } button.small { font-size:12px; padding:3px 8px; border:1px solid var(--line); border-radius:6px; background:#fff; cursor:pointer; } button.small.muted { color:var(--muted); }
.alert.ok { background:#f0fdf4; border-color:#bbf7d0; }
