:root {
  --bg: #0e1116;
  --bg-elevated: #151a22;
  --ink: #e8ecf1;
  --muted: #9aa3b2;
  --line: #2a3140;
  --soft: #1b2230;
  --accent: #5b8def;
  --accent-dark: #3d6fd4;
  --good: #3ecf8e;
  --bad: #f07178;
  --note-bg: #2a1518;
  --note-border: #5c2a32;
  --input-bg: #0b0e13;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(91, 141, 239, 0.14), transparent 55%),
    var(--bg);
  color: var(--ink);
  font: 15px/1.55 "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  min-height: 100vh;
}
input, textarea { -webkit-user-select: text; user-select: text; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
.wrap { width: min(760px, calc(100% - 32px)); margin: 0 auto; }

.btn {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 9px 15px;
  font-weight: 600;
}
.btn:hover { background: var(--soft); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0d12;
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-primary:disabled { background: #3a4456; border-color: #3a4456; color: #9aa3b2; cursor: default; }
.btn-block { width: 100%; padding: 13px; }

.hero { padding: 48px 0 28px; text-align: center; }
.hero img { width: 76px; height: 76px; margin-bottom: 14px; }
.hero h1 { margin: 0; font-size: clamp(34px, 6vw, 52px); line-height: 1.1; letter-spacing: -.03em; }

.card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 60px; background: var(--bg-elevated); }
.tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--soft); }
.tab { flex: 1; border: 0; background: none; padding: 13px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.tab.active { background: var(--bg-elevated); color: var(--ink); border-bottom-color: var(--accent); }
.body { padding: 22px; }

.info { border: 1px solid var(--line); background: var(--soft); border-radius: 9px; padding: 14px 16px; margin-bottom: 20px; }
.info h2 { margin: 0 0 7px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.info ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.info li { margin: 3px 0; }

label.field { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
input[type=url], input[type=text], input[type=email], input[type=password] {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--input-bg); color: var(--ink);
}
input::placeholder { color: #6b7382; }
input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.group { margin-bottom: 18px; }

.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex-wrap: wrap; }
.toggle.wrap { display: flex; width: 100%; }
.toggle button { border: 0; background: var(--input-bg); padding: 9px 20px; font-weight: 600; color: var(--muted); border-right: 1px solid var(--line); }
.toggle.wrap button { flex: 1; min-width: 0; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.toggle button:last-child { border-right: 0; }
.toggle button.on { background: var(--accent); color: #0a0d12; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  -webkit-user-select: text;
  user-select: text;
}
.check input { margin-top: 4px; accent-color: var(--accent); flex-shrink: 0; }
.note.show { display: block; }
.hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.meta { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

.jobs { margin-bottom: 60px; }
.jobs h2 { font-size: 17px; margin: 0 0 12px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 9px; padding: 13px 15px; margin-bottom: 8px; background: var(--bg-elevated); }
.job-name { font-weight: 600; font-size: 14px; }
.job-note { color: var(--muted); font-size: 13px; margin-top: 2px; }
.bar-track { height: 4px; background: var(--soft); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); }
.save { color: var(--good); font-weight: 600; text-decoration: none; white-space: nowrap; }
.state { color: var(--muted); font-size: 13px; white-space: nowrap; }

footer { border-top: 1px solid var(--line); padding: 22px 0 34px; color: var(--muted); font-size: 13px; text-align: center; }
footer a { color: var(--muted); }
.hide { display: none !important; }
@media (max-width: 560px) {
  .hero { padding-top: 32px; }
  .toggle { display: flex; width: 100%; }
  .toggle button { flex: 1; padding: 9px 0; }
}
