/* Preview sign-in page. Self-contained on purpose: nothing else on the preview host is reachable
   before sign-in, so it uses system fonts and inlines the few design-token colours it needs. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6f5f1;
  color: #16140f;
  font: 400 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.login { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.login__card {
  width: 100%;
  max-width: 400px;
  padding: 28px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(24, 20, 10, 0.09);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.login__mark { width: 12px; height: 12px; transform: rotate(45deg); border-radius: 2px; background: #d8b35a; }
.login__title { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.login__lede { margin: 0; color: rgba(22, 20, 15, 0.64); font-size: 15px; }
.login__label { font-weight: 500; font-size: 15px; }
.login__input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(22, 20, 15, 0.49); /* = --field-line: 3.36:1 on white (WCAG 1.4.11); was 0.16, 1.4:1 */
  background: #fff;
  color: inherit;
  font: inherit;
}
.login__input:focus-visible, .login__button:focus-visible { outline: 2px solid #8c6a1f; outline-offset: 2px; }
.login__button {
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: #d8b35a;
  color: #16140f;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.login__button:disabled { opacity: 0.6; cursor: progress; }
.login__error { margin: 0; color: #b3261e; font-weight: 500; font-size: 14px; }
.login__status { margin: 0; min-height: 1.5em; color: rgba(22, 20, 15, 0.64); font-size: 14px; }
.login__note { margin: 0; color: rgba(22, 20, 15, 0.64); font-size: 13px; }
