:root {
  color-scheme: light;
  --paper: #f4f5f1;
  --surface: #ffffff;
  --ink: #202521;
  --muted: #667067;
  --line: #d8ddd7;
  --accent: #275c45;
  --accent-hover: #1f4b38;
  --error: #9b332f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.login-panel {
  width: min(100%, 420px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(32, 37, 33, 0.08);
}

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

.eyebrow {
  margin: 24px 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.08;
}

.intro {
  margin: 14px 0 26px;
  color: var(--muted);
  line-height: 1.55;
}

.error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--error);
  background: #fbefee;
  color: #6f2522;
  line-height: 1.4;
}

form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
select, input, button { width: 100%; min-height: 46px; border-radius: 6px; font: inherit; }
select, input { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0 12px; }
select:focus, input:focus { outline: 3px solid rgba(39, 92, 69, 0.16); border-color: var(--accent); }
button { border: 0; background: var(--accent); color: #fff; font-weight: 750; cursor: pointer; }
button:hover { background: var(--accent-hover); }

@media (max-width: 520px) {
  .login-shell { padding: 0; place-items: stretch; }
  .login-panel { min-height: 100vh; width: 100%; padding: 28px 22px; border: 0; border-radius: 0; box-shadow: none; }
}
