:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #f3f6f8;
  color: #14213d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #edf7f1 48%, #eef3f7 100%);
}

.pc-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.pc-login-panel {
  width: min(420px, 100%);
  background: #ffffff;
  border: 1px solid #d7e1e7;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
  padding: 30px;
}

.pc-login-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.pc-login-heading {
  margin: 18px 0 24px;
}

.pc-login-heading p {
  margin: 0 0 6px;
  color: #047857;
  font-size: 14px;
  font-weight: 700;
}

.pc-login-heading h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.pc-login-form {
  display: grid;
  gap: 16px;
}

.pc-login-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.pc-login-form input {
  width: 100%;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  outline: none;
}

.pc-login-form input:focus {
  border-color: #047857;
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.16);
}

.pc-login-form button,
.pc-login-actions a {
  min-height: 44px;
  border-radius: 6px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.pc-login-form button {
  margin-top: 6px;
  background: #047857;
  color: #ffffff;
}

.pc-login-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.pc-login-actions {
  display: grid;
  margin-top: 12px;
}

.pc-login-actions a {
  border: 1px solid #cbd5df;
  color: #14213d;
  background: #ffffff;
}

.pc-login-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: #475569;
  font-size: 14px;
}

.pc-login-message[data-tone="error"] {
  color: #b91c1c;
}

.pc-login-message[data-tone="success"] {
  color: #047857;
}

.pc-login-filing {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.pc-login-filing a {
  color: #64748b;
  text-decoration: none;
}

.pc-login-filing a:hover {
  color: #047857;
  text-decoration: underline;
}
