:root {
  color-scheme: light;
  --bg: #f3f6f9;
  --surface: #fff;
  --ink: #0d2038;
  --muted: #58697e;
  --line: #dbe3ec;
  --primary: #0a7a86;
  --primary-ink: #fff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0a1626;
    --surface: #0f2038;
    --ink: #e6eef8;
    --muted: #9bb0c8;
    --line: #244062;
    --primary: #22b3c2;
    --primary-ink: #03212a;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
header { background: #0b2545; padding: 1rem max(1rem, calc((100% - 42rem) / 2)); }
header a { color: #fff; text-decoration: none; font-weight: 700; }
main {
  max-width: 42rem;
  margin: 1rem auto;
  padding: clamp(1rem, 5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  overflow-wrap: anywhere;
}
@media (max-width: 44rem) { main { margin: 1rem; } }
nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
a { color: var(--primary); }
h1, h2 { font-family: Manrope, Inter, system-ui, sans-serif; }
form, label { display: grid; gap: 0.45rem; }
form { gap: 0.85rem; }
input, select, textarea, button {
  font: inherit;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}
input, select, textarea { width: 100%; min-width: 0; background: var(--bg); color: var(--ink); }
button { justify-self: start; color: var(--primary-ink); background: var(--primary); cursor: pointer; }
button:disabled { opacity: 0.65; cursor: wait; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
li { padding-block: 0.35rem; }
section, details { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 0.8rem; }
summary { cursor: pointer; margin-bottom: 0.7rem; }
#team-members form + form { margin-top: 0.85rem; }
.confirmation { display: grid; gap: 0.45rem; }

select, option, optgroup { color: #14243b; background: #fff; }
summary, header a { min-height: 44px; align-content: center; }
@media (max-width: 899px) {
  #use-recovery, #use-authenticator {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
