:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #eef1f2;
  color: #17221f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #eef1f2;
}

.login-shell {
  width: min(920px, 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border: 1px solid #cfd7d4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(20, 36, 31, .12);
}

.login-brand {
  padding: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #17352d;
  color: #fff;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  border: 2px solid #ffb443;
  border-radius: 8px;
  color: #ffb443;
  font-size: 30px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 14px;
  color: #9bc2b6;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand-copy {
  max-width: 330px;
  margin: 22px 0 40px;
  color: #d2dfdb;
  font-size: 15px;
  line-height: 1.8;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b7cbc5;
  font-size: 13px;
}

.status-line span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #65c98c;
  box-shadow: 0 0 0 4px rgba(101, 201, 140, .14);
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 56px;
}

form { width: min(330px, 100%); }

.panel-heading { margin-bottom: 34px; }

.panel-heading p {
  margin: 0 0 7px;
  color: #708079;
  font-size: 13px;
}

h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

label {
  display: block;
  margin: 18px 0 8px;
  color: #3f5049;
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #cbd5d1;
  border-radius: 6px;
  background: #fff;
  color: #17221f;
  font: inherit;
  outline: none;
}

input:focus {
  border-color: #27725c;
  box-shadow: 0 0 0 3px rgba(39, 114, 92, .12);
}

button {
  width: 100%;
  height: 46px;
  margin-top: 16px;
  border: 0;
  border-radius: 6px;
  background: #27725c;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover { background: #205f4d; }
button:disabled { cursor: wait; opacity: .65; }

.login-error {
  min-height: 21px;
  margin: 12px 0 0;
  color: #b43a32;
  font-size: 13px;
}

@media (max-width: 720px) {
  body { padding: 0; background: #fff; }
  .login-shell { min-height: 100vh; grid-template-columns: 1fr; border: 0; box-shadow: none; }
  .login-brand { min-height: 245px; padding: 30px; justify-content: flex-end; }
  .brand-mark { width: 46px; height: 46px; margin-bottom: 22px; font-size: 24px; }
  h1 { font-size: 30px; }
  .brand-copy { display: none; }
  .status-line { margin-top: 18px; }
  .login-panel { padding: 38px 30px 48px; place-items: start center; }
}
