* { box-sizing: border-box; }
body {
  font-family: -apple-system, system-ui, 'Segoe UI', sans-serif;
  margin: 0; padding: 0; background: #faf8f3; color: #2b2b28;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.login-container {
  width: 100%; max-width: 400px; padding: 20px;
}

.brand {
  text-align: center; margin-bottom: 32px;
}
.brand h1 {
  font-size: 28px; font-weight: 700; color: #4a6b3f; margin: 0 0 4px;
}
.brand .tagline {
  /* s106 b03 — WCAG 2.1 AA contrast fix per Testing Company HIGH-3.
     Previous #888 on white = 3.54:1 contrast (fails AA 4.5:1 minimum).
     #595959 on white = 7.04:1 (passes AAA). */
  font-size: 13px; color: #595959; margin: 0;
}

.card {
  background: #fff; border: 1px solid #ece8dd; border-radius: 14px; padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(43,43,40,0.05), 0 10px 30px rgba(43,43,40,0.05);
}

.card h2 {
  font-size: 18px; font-weight: 700; color: #2b2b28; margin: 0 0 20px;
}

.form-group { margin-bottom: 16px; }

label {
  display: block; font-size: 12px; font-weight: 600; color: #555;
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px;
}

input[type="email"], input[type="password"], input[type="text"] {
  width: 100%; padding: 12px 14px; border: 1px solid #ece8dd; border-radius: 8px;
  font-size: 15px; font-family: inherit; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus {
  outline: none; border-color: #4a6b3f;
  box-shadow: 0 0 0 3px rgba(43,43,40,0.1);
}

.btn {
  display: block; width: 100%; padding: 13px 20px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  text-align: center; transition: background 0.2s;
}
.btn-primary { background: #4a6b3f; color: #fff; }
.btn-primary:hover { background: #3d5a34; }
.btn-primary:disabled { background: #aaa; cursor: not-allowed; }

.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: #aaa; font-size: 12px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: #ddd;
}

.toggle-link {
  text-align: center; margin-top: 16px; font-size: 13px; color: #888;
}
.toggle-link a {
  color: #4a6b3f; text-decoration: none; font-weight: 600; cursor: pointer;
}
.toggle-link a:hover { text-decoration: underline; }

.message {
  padding: 12px 16px; border-radius: 8px; font-size: 13px;
  margin-bottom: 16px; display: none;
}
.message.success { background: #e8f5e9; color: #4a6b3f; display: block; }
.message.error { background: #ffebee; color: #b71c1c; display: block; }

.dev-badge {
  display: inline-block; background: #fff3e0; color: #e65100;
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; margin-left: 8px;
}

.staff-only-hint {
  font-size: 13px; text-align: left; color: #666; margin: 0 0 12px;
}

.brand-tag-line {
  text-align: center; font-size: 10px; color: #888;
  letter-spacing: 0.6px; text-transform: uppercase;
  margin: 12px 0 0;
}
.section-hidden { display: none; }

  /* Extracted utility classes (previously inline styles). */
  ._si1 { position:absolute;top:-40px;left:8px;background:#1f2937;color:#fff;padding:8px 14px;border-radius:0 0 8px 8px;font-size:13px;font-weight:600;z-index:9999;text-decoration:none; }
