/* The sign-in pages. Same palette and type as ../app.css, which they cannot
   load: everything outside /_auth/ is behind the gate. */
:root {
  --paper: #f6f1ea;
  --ink: #2b2522;
  --muted: #7a6d64;
  --card: #fffdf9;
  --accent: #b5542f;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }

.auth main {
  max-width: 34rem; margin: 0 auto; text-align: center;
  padding: calc(env(safe-area-inset-top) + 4rem) 1.25rem calc(env(safe-area-inset-bottom) + 2rem);
}
.auth h1 { margin: 0; font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -0.02em; }
#status { color: var(--muted); font-size: 1.1rem; margin: 1.25rem 0; line-height: 1.45; }
.failed #status { color: var(--accent); font-weight: 600; }
.noscript { text-align: center; color: var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.auth button {
  font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--card);
  background: var(--accent); border: 0; border-radius: 999px;
  padding: .75rem 1.4rem; min-height: 48px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 6px 18px rgb(60 40 20 / .12);
}
.auth button:active { transform: scale(.97); }
.auth button:disabled { opacity: .6; cursor: default; }
.auth .actions button + button,
.admin .actions button { background: var(--card); color: var(--ink); }

.back {
  display: inline-block; margin-bottom: 1rem; color: var(--muted); text-decoration: none;
  font-size: 1rem; min-height: 44px; line-height: 44px;
}
.admin main { padding-top: calc(env(safe-area-inset-top) + 1.5rem); text-align: left; }
.admin h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
.admin .actions { justify-content: flex-start; margin-top: 1.5rem; }

/* LandryAuth.mountMembersAdmin */
.landry-members-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.landry-members-list li {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  background: var(--card); border-radius: 14px; padding: .7rem .9rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / .06);
}
.landry-members-email { flex: 1 1 12rem; font-weight: 600; overflow-wrap: anywhere; }
.landry-members-role { color: var(--muted); font-size: .95rem; }
.landry-members-list button,
.landry-members-add button {
  font-size: .92rem; padding: .45rem .9rem; min-height: 40px; box-shadow: none;
}
.landry-members-list button { background: var(--paper); color: var(--ink); }
.landry-members-add { display: flex; flex-wrap: wrap; gap: .5rem; }
.landry-members-add input, .landry-members-add select {
  font: inherit; font-size: 1rem; padding: .55rem .8rem; min-height: 44px;
  border: 1px solid #d9cfc6; border-radius: 12px; background-color: var(--card); color: var(--ink);
}
.landry-members-add select { -webkit-appearance: none; appearance: none; padding-right: 2rem;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a6d64'/%3E%3C/svg%3E") no-repeat right .8rem center; }
.landry-members-add input { flex: 1 1 14rem; }
.landry-members-status { color: var(--muted); min-height: 1.4em; }
