.sp-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
}

.sp-card {
  width: min(400px, 90vw);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px 36px;
  box-shadow: 0 12px 32px rgba(43, 38, 34, 0.10);
}

.sp-seal {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  background: var(--seal-red);
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.sp-title {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin: 0 0 6px;
}

.sp-sub {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.5;
}

.sp-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 24px;
}

.sp-field {
  margin-bottom: 18px;
}

.sp-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.sp-input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-ui);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sp-input:focus {
  border-color: var(--seal-red-soft);
  box-shadow: 0 0 0 3px rgba(163, 52, 42, 0.10);
}

.sp-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.sp-strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.2s ease;
}

.sp-strength-bar.weak   { background: #e24b4a; }
.sp-strength-bar.fair   { background: #ef9f27; }
.sp-strength-bar.strong { background: #639922; }

.sp-strength-label {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
  min-height: 16px;
}

.sp-match {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 12px;
  margin-top: 6px;
  min-height: 18px;
  color: var(--ink-soft);
}

.sp-match.ok { color: #3b6d11; }
.sp-match.no { color: #a32d2d; }

.sp-alert {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.sp-alert-error {
  color: var(--seal-red);
  background: rgba(163, 52, 42, 0.07);
  border-color: rgba(163, 52, 42, 0.2);
}

.sp-alert a {
  color: var(--seal-red);
  text-decoration: underline;
}

.sp-alert.hidden { display: none; }

.sp-btn {
  width: 100%;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--seal-red);
  border: none;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.sp-btn:hover:not(:disabled) { background: var(--seal-red-soft); }
.sp-btn:active:not(:disabled) { transform: scale(0.99); }
.sp-btn:disabled { opacity: 0.5; cursor: default; }

.sp-footer {
  text-align: center;
  margin-top: 18px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-soft);
}

.sp-footer a {
  color: var(--seal-red);
  text-decoration: none;
}

.sp-footer a:hover { text-decoration: underline; }

.sp-alert-success {
  color: #1d6b3a;
  background: rgba(29, 107, 58, 0.08);
  border-color: rgba(29, 107, 58, 0.25);
}