:root {
  --bg: #f3f5f9;
  --card: #ffffff;
  --ink: #17212f;
  --muted: #68758a;
  --line: #dbe2ec;
  --blue: #245ea8;
  --blue2: #1b4a86;
  --red: #b42318;
  --green: #1f7a4d;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; background: #14243a; color: #fff; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 38px; height: 38px; border-radius: 10px; background: #2f6fbe; display: grid; place-items: center; font-weight: 700; font-size: 19px; }
.brand-name { font-weight: 700; letter-spacing: .2px; }
.brand-sub { font-size: 12px; opacity: .72; }
.userbox { display: flex; align-items: center; gap: 14px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.row-head h2 { margin-top: 0; }
.navlink { color: #cfe0f5; font-weight: 600; }
.navlink:hover { color: #fff; text-decoration: underline; }
.user { font-weight: 600; }
.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; color: #cfe0f5; cursor: pointer; font-size: 14px; padding: 0; }
.linkbtn:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 26px auto 48px; padding: 0 18px; }
.grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 1px 2px rgba(20, 36, 58, .04); }
h1 { font-size: 23px; margin: 0 0 8px; }
h2 { font-size: 17px; margin: 22px 0 10px; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
label { display: block; margin: 13px 0 0; font-weight: 600; font-size: 13.5px; }
input[type=text], input[type=password], input[type=file], select {
  display: block; width: 100%; margin-top: 6px; padding: 9px 10px; border: 1px solid var(--line);
  border-radius: 9px; background: #fbfcfe; font: inherit; color: var(--ink);
}
input[type=file] { padding: 7px; background: #fff; }
fieldset { border: 1px solid var(--line); border-radius: 11px; margin: 16px 0 0; padding: 4px 14px 14px; }
legend { font-weight: 700; font-size: 13.5px; padding: 0 6px; }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.btn { display: inline-block; border: 0; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.btn.primary { background: var(--blue); color: #fff; margin-top: 18px; }
.btn.primary:hover { background: var(--blue2); }
.flash { padding: 11px 14px; border-radius: 10px; margin: 0 0 16px; font-size: 14px; }
.flash.ok { background: #e6f6ee; color: var(--green); border: 1px solid #b9e3cc; }
.flash.error { background: #fdecea; color: var(--red); border: 1px solid #f3c0bb; }
.flash.wait { background: #eef4fc; color: var(--blue); border: 1px solid #c9dcf5; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge.ok { background: #e6f6ee; color: var(--green); }
.badge.bad { background: #fdecea; color: var(--red); }
.badge.wait { background: #eef4fc; color: var(--blue); }
table { width: 100%; border-collapse: collapse; }
.runs th, .files th, .runs td, .files td, .summary td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.runs th { font-size: 12px; color: var(--muted); font-weight: 600; }
.summary tr.section td { background: #eef3fa; font-weight: 700; }
pre { background: #0f1a29; color: #dce7f5; padding: 14px; border-radius: 10px; overflow: auto; font-size: 12.5px; line-height: 1.45; }
pre.err { background: #2a1113; color: #ffd9d5; }
details { margin-top: 18px; }
summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.loginbox { max-width: 420px; margin: 50px auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; }
