/* The front door. A shift changes and a shared tablet gets a new person every few
   hours, so this is deliberately small: two fields, one button, nothing to read. */

.landing-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plane);
}

.landing {
  width: 100%;
  max-width: 760px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ---- sign in ------------------------------------------------------------- */
.signin {
  width: 100%;
  max-width: 380px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: none;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.signin-head { display: flex; align-items: center; gap: 14px; }
.signin-head h1 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.signin-sub { margin: 2px 0 0; color: var(--text-secondary); font-size: 13px; }

.signin-field { display: flex; flex-direction: column; gap: 6px; }
.signin-field > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Big enough to hit with a glove on. */
.signin select,
.signin input {
  height: 52px;
  font-size: 17px;
  padding: 0 14px;
  border: 1px solid var(--axis);
  border-radius: 9px;
  background: var(--surface-1);
  color: var(--text-primary);
  width: 100%;
  box-sizing: border-box;
}
.signin input[type="password"]:not(#setup-secret) { letter-spacing: .3em; }
.signin select:focus-visible,
.signin input:focus-visible {
  outline: none;
  border-color: var(--series-1);
  box-shadow: var(--focus-ring);
}

.signin-go {
  height: 52px;
  font-size: 17px;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-primary);
  cursor: pointer;
}
.signin-go:hover { filter: brightness(1.06); }
.signin-go:disabled { opacity: .55; cursor: default; }
.signin-go:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.signin-error {
  margin: -6px 0 0;
  min-height: 18px;
  font-size: 14px;
  color: var(--critical);
}
.signin-hint { margin: 0; font-size: 13px; color: var(--text-muted); }

/* ---- the admin's choice -------------------------------------------------- */
.choose {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.choose-head { display: flex; align-items: flex-start; gap: 16px; }
.choose-head h1 { margin: 0; font-size: 22px; }
.choose-head > div { flex: 1; }
.choose-out {
  border: 1px solid var(--border);
  background: var(--surface-1);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
}
.choose-out:hover { background: var(--surface-2); color: var(--text-primary); }

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.choose-pref {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 8px; border: 1px solid var(--border); background: var(--surface-1);
  color: var(--text-secondary); font-size: 13px; cursor: pointer;
}
.choose-pref input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); flex: none; }

.area-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.area-tile:hover { background: var(--surface-2); }
.area-tile:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.area-name { font-size: 17px; font-weight: 700; }
.area-blurb { font-size: 13px; color: var(--text-secondary); }

.landing-foot { margin: 0; font-size: 14px; color: var(--text-secondary); max-width: 46ch; text-align: center; }

@media (max-width: 600px) {
  .signin { padding: 22px; }
}
