:root {
  --bg0: #0f1419;
  --bg1: #1a222c;
  --line: #2a3542;
  --text: #e8eef4;
  --muted: #8b9aab;
  --accent: #3d9a6a;
  --accent-dim: #2d7350;
  --warn: #c9a227;
  --danger: #c45c5c;
  --card: #151c24;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(1200px 600px at 20% -10%, #1c2a24 0%, var(--bg0) 55%);
  color: var(--text);
  font-family: var(--font);
}

.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.brand {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

h1 {
  font-size: 1.55rem;
  font-weight: 650;
  margin: 0 0 8px;
  line-height: 1.3;
}

.lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 22px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 14px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.row:last-child { border-bottom: 0; }
.row .k { color: var(--muted); flex-shrink: 0; }
.row .v {
  text-align: right;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}
.v.mono { font-family: ui-monospace, Consolas, monospace; font-size: 0.82rem; }
.v.ok { color: var(--accent); }
.v.warn { color: var(--warn); }

.notice {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e6d7a2;
  margin-bottom: 14px;
}

.checks {
  margin: 12px 0 18px;
  font-size: 0.9rem;
  color: var(--muted);
}
.checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.checks input { margin-top: 3px; }

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .05s;
}
button:active { transform: scale(0.99); }
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.btn-ghost {
  background: var(--bg1);
  color: var(--text);
  border: 1px solid var(--line);
}

.status {
  margin-top: 14px;
  min-height: 1.4em;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: pre-wrap;
}
.status.err { color: var(--danger); }
.status.ok { color: var(--accent); }

.foot {
  margin-top: 28px;
  font-size: 0.78rem;
  color: #667788;
  text-align: center;
  line-height: 1.5;
}
