
:root {
  --paper: #f6f3ed;
  --card: #fffdf9;
  --ink: #23251f;
  --muted: #777a72;
  --line: #ded9cf;
  --accent: #455345;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.brand {
  color: inherit;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}
.login-wrap {
  min-height: calc(100dvh - 64px);
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(420px, 100%);
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1 {
  margin: 10px 0 8px;
  font: 400 2.65rem/1 Georgia, serif;
}
.muted { color: var(--muted); line-height: 1.5; }
form { display: grid; gap: 15px; margin-top: 24px; }
label { font-size: .88rem; font-weight: 600; }
input {
  width: 100%;
  height: 48px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  outline: none;
}
input:focus { border-color: #8b9388; }
.primary-button {
  height: 47px;
  margin-top: 3px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  cursor: pointer;
}
.primary-button:disabled { opacity: .62; }
.service-error {
  margin-top: 16px;
  padding: 12px 13px;
  border-radius: 11px;
  background: #f8eeee;
  color: #754646;
  font-size: .88rem;
}
[hidden] { display: none !important; }
