.register-shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: calc(100vh - 140px);
  padding: 24px 0;
}
.register-illustration {
  max-width: 360px;
  width: 100%;
}
.register-card {
  max-width: 420px;
  width: 100%;
  padding: 24px;
}
.register-heading {
  margin: 0 0 8px 0;
}
.register-form {
  display: grid;
  gap: 16px;
}
.register-button {
  width: 100%;
  margin-top: 8px;
}
.register-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.password-hint {
  margin: 4px 0 6px;
  font-size: 12px;
  color: var(--muted);
}
.password-rules {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.password-rule {
  display: flex;
  align-items: center;
  gap: 6px;
}
.password-rule::before {
  content: '•';
  font-size: 10px;
  color: var(--muted);
}
.password-rule.valid {
  color: #bbf7d0;
}
.password-rule.valid::before {
  content: '✓';
  color: #22c55e;
}
.password-rule.invalid {
  color: #fecaca;
}
.password-rule.invalid::before {
  content: '•';
  color: #fecaca;
}
.error-message,
.success-message {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  display: none;
}
.error-message {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.5);
}
.success-message {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.5);
}
@media (max-width: 640px) {
  .register-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 0 32px 0;
  }
  .register-illustration .cartoon-panel {
    min-height: auto;
  }
}
