:root {
  --ink: #081a33;
  --muted: #637992;
  --line: #dbe7f6;
  --blue: #2f6bff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  padding: 40px 24px;
  background:
    radial-gradient(760px 520px at 88% 5%, rgba(47, 107, 255, .14), transparent 65%),
    linear-gradient(145deg, #fbfdff, #eef5ff);
  color: var(--ink);
  font-family: "SF Pro Display", "Avenir Next", "Yuanti SC", "YouYuan", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.install-shell { width: 100%; max-width: 760px; margin: 0 auto; }
.install-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 80px rgba(27, 74, 144, .14);
}
.install-head { margin-bottom: 28px; }
.install-logo { width: 172px; height: auto; margin-bottom: 24px; }
.install-eyebrow {
  display: block;
  color: var(--blue);
  font-family: var(--mono, monospace);
  font-size: 10px;
  letter-spacing: .18em;
}
.install-head h1 { margin: 10px 0 0; font-size: 34px; font-weight: 400; letter-spacing: -.04em; }
.install-head p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.install-section { padding: 22px 0; border-top: 1px solid #e7eef8; }
.install-section-head { display: flex; gap: 13px; margin-bottom: 17px; }
.install-section-head > span {
  display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 9px; background: #edf5ff; color: var(--blue);
  font-family: var(--mono, monospace); font-size: 10px;
}
.install-section-head h2 { margin: 0; font-size: 17px; font-weight: 500; }
.install-section-head p { margin: 3px 0 0; color: #8497ad; font-size: 11.5px; line-height: 1.6; }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.install-field { display: flex; flex-direction: column; gap: 6px; }
.install-field-wide { grid-column: 1 / -1; }
.install-field > span { color: #445b75; font-size: 12px; }
.install-field input {
  width: 100%; height: 42px; padding: 0 12px;
  border: 1px solid #d9e5f4; border-radius: 8px;
  outline: 0; background: #fbfdff; color: var(--ink); font: inherit; font-size: 13px;
}
.install-field input:focus { border-color: #7aa8ff; box-shadow: 0 0 0 3px rgba(47, 107, 255, .1); background: #fff; }
.install-field small { color: #91a2b6; font-size: 10px; line-height: 1.6; }
.install-note { margin: 14px 0 0; color: #7d91a8; font-size: 11.5px; }
.install-note strong { color: #3e5874; font-weight: 500; }
.install-error {
  margin: 18px 0 0; padding: 10px 12px; border: 1px solid #ffd6d6; border-radius: 8px;
  background: #fff4f4; color: #b53b3b; font-size: 12px; line-height: 1.6;
}
.install-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 48px; margin-top: 18px; border: 0; border-radius: 9px;
  background: linear-gradient(135deg, #2f6bff, #1b9bff); color: #fff;
  font: inherit; font-size: 14px; cursor: pointer;
  box-shadow: 0 12px 28px rgba(47, 107, 255, .28);
}
.install-submit:disabled { opacity: .65; cursor: wait; }
.install-success { padding: 18px 0 4px; text-align: center; }
.install-success-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px;
  border-radius: 50%; background: #e4f8ee; color: #0f9f6e; font-size: 25px;
}
.install-success h2 { margin: 0; font-size: 27px; font-weight: 400; }
.install-success p { margin: 10px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.install-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  background: #081a33; color: #fff; text-decoration: none; font-size: 12.5px;
}
.install-foot { margin: 20px 0 0; text-align: center; color: #8ba0b7; font-size: 11px; }
@media (max-width: 640px) {
  body { padding: 18px 12px; }
  .install-card { padding: 25px 18px; }
  .install-head h1 { font-size: 28px; }
  .install-grid { grid-template-columns: 1fr; }
  .install-field-wide { grid-column: auto; }
}
