:root {
  color-scheme: light;
  font: 15px/1.55 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: #1c2838;
  background: #f3f5f8;
}
* { box-sizing: border-box; }
body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 24px 16px;
}
.login-card {
  width: min(100%, 400px);
  overflow: hidden;
  border: 1px solid #dce2e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px #18283e0c;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  color: #fff;
  background: #18283e;
}
.seal {
  display: grid;
  place-items: center;
  width: 40px;
  height: 43px;
  border-radius: 11px 11px 18px 18px;
  background: #a9e0d3;
  color: #173d3b;
  font: italic bold 31px Georgia, serif;
}
.brand strong { display: block; font: 700 30px/.95 Georgia, serif; letter-spacing: -1.3px; }
.brand-label { display: block; margin-top: 5px; color: #c6d3e0; font-size: 12px; }
.login-body { padding: 26px 32px 32px; }
h1 { margin: 0 0 20px; font-size: 23px; line-height: 1.35; }
form { display: grid; }
label { margin-bottom: 6px; font-size: 14px; font-weight: 600; }
input, button { min-height: 44px; border-radius: 7px; font: inherit; }
input { width: 100%; margin-bottom: 18px; border: 1px solid #b8c5d1; padding: 8px 12px; color: inherit; }
button { margin-top: 4px; border: 0; background: #087b73; color: #fff; font-weight: 650; cursor: pointer; }
button:hover { background: #05675f; }
:is(input, button):focus-visible { outline: 3px solid #57aeaa; outline-offset: 2px; }
.login-error { margin: -4px 0 18px; color: #a73b36; font-size: 14px; }
@media (max-width: 400px) {
  .brand, .login-body { padding-inline: 22px; }
}
