:root {
  color-scheme: light;
  --bg: #eef2f6;
  --panel: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #d9e0ea;
  --field: #f9fafc;
  --accent: #126a63;
  --accent-strong: #0b514b;
  --danger: #9a3412;
  --shadow: 0 18px 42px rgba(20, 31, 48, .12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(100%, 430px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.brand span {
  font-weight: 800;
  color: var(--accent);
}
.brand strong {
  padding: 6px 10px;
  border: 1px solid #c8ddd9;
  border-radius: 999px;
  color: #315f59;
  background: #edf7f5;
  font-size: 12px;
}
h1 {
  margin: 0 0 8px;
  font-size: 30px;
}
p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.45;
}
.field {
  margin-bottom: 14px;
}
label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}
input, button {
  width: 100%;
  min-height: 42px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font: inherit;
}
input {
  padding: 0 12px;
  background: var(--field);
}
input:focus {
  outline: 2px solid rgba(18, 106, 99, .2);
  border-color: var(--accent);
}
button {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  cursor: pointer;
  font-weight: 800;
}
button:hover {
  background: var(--accent-strong);
}
.status {
  min-height: 40px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  background: #f0f3f8;
  line-height: 1.35;
}
.status.error {
  color: var(--danger);
  background: #fff1e8;
}
.status.ok {
  color: #145c38;
  background: #e8f5ee;
}
@media (max-width: 520px) {
  .login-shell { padding: 14px; }
  .login-card { padding: 18px; }
}
