:root {
  color-scheme: light;
  --ink: #16201f;
  --muted: #65716f;
  --line: #dce4e1;
  --surface: #ffffff;
  --accent: #0f766e;
  --accent-strong: #0b4f4a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef4f1;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.loginPanel {
  width: min(100%, 390px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 18px 45px rgba(21, 32, 31, 0.12);
}

.brand {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

h1,
p {
  margin: 0;
}

h1 {
  margin-top: 3px;
  font-size: 21px;
}

.brand p {
  color: var(--muted);
  font-size: 13px;
}

form,
label {
  display: grid;
  gap: 8px;
}

form {
  gap: 18px;
}

label {
  font-size: 13px;
  font-weight: 700;
}

input,
button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input {
  padding: 0 12px;
}

input:focus {
  border-color: var(--accent);
  outline: 2px solid #dff1ec;
}

button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

button:hover {
  background: var(--accent-strong);
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.error {
  min-height: 18px;
  color: #a23224;
  font-size: 13px;
}

.policyLinks {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  font-size: 12px;
}

a {
  color: var(--accent-strong);
}
