.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--warm, #e8e5df);
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--paper, #faf9f7);
  border: 1px solid var(--rule, #d4cfc7);
  border-radius: 10px;
  padding: 36px 32px 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 0.9rem;
  color: var(--muted, #666);
  margin-bottom: 24px;
}

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

.auth-form label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #666);
  margin-bottom: 6px;
}

.auth-form input {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 11px 12px;
  border: 1px solid var(--rule, #d4cfc7);
  border-radius: 4px;
  background: #fff;
  color: var(--ink, #1c1c1e);
}

.auth-form input:focus {
  outline: 2px solid var(--accent, #c8b99a);
  outline-offset: 1px;
}

.auth-error {
  display: none;
  font-size: 0.85rem;
  color: #c0392b;
  background: #fdecea;
  border: 1px solid #f5c6c6;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.auth-error.visible {
  display: block;
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  font-size: 0.9rem;
}

.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted, #666);
}

.auth-footer a {
  font-weight: 600;
  color: var(--ink, #1c1c1e);
}

.auth-footer a:hover {
  text-decoration: underline;
}

.landing-nav .nav-user {
  font-size: 0.8rem;
  color: var(--muted, #666);
}

.landing-nav .nav-user strong {
  color: var(--ink, #1c1c1e);
  font-weight: 600;
}

.toolbar-user {
  font-size: 11px;
  color: #666;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  background: #fff;
  color: #555;
  border: 1px solid #d4cfc7;
}

.btn-logout:hover {
  background: #f5f3ef;
  color: #1a1a1a;
}
