* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #14161a;
  --panel: #1b1e24;
  --border: #2b2f38;
  --text: #d7dade;
  --muted: #7c828e;
  --accent: #4fae7d;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 50px;
}

header .brand {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

header nav { margin-left: 30px; display: flex; gap: 20px; }
header nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
header nav a:hover { color: var(--text); }

header .status {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }

main { max-width: 780px; margin: 0 auto; padding: 48px 20px 90px; }

h1 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.subtitle { color: var(--muted); font-size: 13px; margin-bottom: 30px; }

.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; }

.svc-row {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.svc-row:last-child { border-bottom: none; }
.svc-name { font-weight: 500; }
.svc-path { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-left: 10px; }
.svc-status { margin-left: auto; font-size: 12px; color: var(--accent); display: flex; align-items: center; gap: 6px; }

.section-title {
  font-size: 12px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin: 34px 0 10px;
}
.section-title:first-child { margin-top: 0; }

.mono { font-family: var(--mono); font-size: 12px; color: var(--muted); }

a.link { color: var(--accent); text-decoration: none; }
a.link:hover { text-decoration: underline; }

pre {
  background: #0f1013; color: #c4c8ce; padding: 14px 16px; border-radius: 5px;
  font-family: var(--mono); font-size: 12px; overflow-x: auto; line-height: 1.6;
  border: 1px solid var(--border);
}

code { font-family: var(--mono); background: #22262e; padding: 1px 5px; border-radius: 3px; font-size: 12px; }

form.login {
  max-width: 320px; margin: 60px auto 0; background: var(--panel);
  border: 1px solid var(--border); border-radius: 6px; padding: 24px;
}
form.login h2 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
form.login p.hint { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; margin-top: 12px; }
label:first-of-type { margin-top: 0; }
input[type="text"], input[type="password"] {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 4px;
  font-size: 13px; background: #101216; color: var(--text);
}
input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
button {
  margin-top: 18px; width: 100%; padding: 9px; border: none; border-radius: 4px;
  background: var(--accent); color: #0f1013; font-size: 13px; font-weight: 600; cursor: pointer;
}
button:hover { filter: brightness(1.1); }

.error-code { font-size: 62px; font-weight: 700; color: #2b2f38; line-height: 1; }

footer { text-align: center; color: var(--muted); font-size: 12px; padding: 30px 0 10px; }
