:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, sans-serif;
  color: #20312b;
  background: #f3f6f3;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.auth-card {
  width: min(100%, 440px);
  padding: clamp(22px, 6vw, 38px);
  background: white;
  border: 1px solid #dce4de;
  border-radius: 20px;
  box-shadow: 0 14px 38px #20312b0d;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #d5e8b5;
  color: #20312b;
}
h1 { margin: 25px 0 4px; font-size: clamp(1.55rem, 6vw, 1.9rem); line-height: 1.2; }
p { margin: 0 0 20px; color: #4c6255; }
label { display: block; margin: 14px 0 5px; font-weight: 650; }
input, button { font: inherit; }
input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #829a8d;
  border-radius: 9px;
  color: inherit;
  background: white;
}
small { display: block; margin: 4px 0 0; color: #4c6255; }
button {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
}
button:disabled { cursor: wait; opacity: .7; }
.primary { background: #24584a; color: white; }
.primary:hover:not(:disabled) { background: #1a483b; }
.secondary { background: white; color: #24584a; border-color: #b1c2b7; margin-top: 12px; }
.secondary:hover:not(:disabled) { background: #edf4ef; }
.error, .success { margin: 12px 0; }
.error { color: #9c302b; }
.success { color: #24584a; }
.error:empty, .success:empty { margin: 8px 0; }
.back { display: inline-block; margin-top: 22px; color: #24584a; }
.auth-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
[hidden] { display: none !important; }
.employee-admin { margin-top: 24px; border-top: 1px solid #dce4de; }
.employee-admin h2 { margin-bottom: 4px; font-size: 1.25rem; }
.employee-admin fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.employee-admin fieldset button, #request-reset-form button, #complete-access-form button, #registration-form button { margin-top: 12px; }
.employee-list { margin: 0; padding: 0; list-style: none; }
.employee-list li { padding: 12px 0; border-top: 1px solid #dce4de; overflow-wrap: anywhere; }
.registration-actions { display: flex; gap: 8px; margin-top: 8px; }
.registration-actions button { margin: 0; }
:focus-visible { outline: 3px solid #306b57; outline-offset: 3px; }
