:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #f7f7fa;
  color: #181b26;
  --text-muted: #565b6c;
  --border: #e3e3ed;
  --link: #4333ac;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: .2em; }
input, button { font: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.shell { width: min(100% - 2.5rem, 75rem); margin: auto; }
.bar { background: white; border-bottom: 1px solid var(--border); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; min-height: 4rem; padding-block: .9rem; }
.wordmark { text-decoration: none; font-size: .94rem; font-weight: 720; color: inherit; }
nav { display: flex; flex-wrap: wrap; gap: .65rem 1rem; font-size: .87rem; }
.main { padding-block: 3.5rem 4.5rem; }
h1 { font-size: clamp(2rem, 7vw, 3.35rem); letter-spacing: -.055em; margin: 0 0 1.3rem; line-height: 1.06; }
h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
p { line-height: 1.5; }
.login, .panel { background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: clamp(1.2rem, 4vw, 2rem); max-width: 38rem; }
.login p { color: var(--text-muted); margin: 0 0 1.2rem; }
.login p.small { margin: .8rem 0 0; }
.panel { margin-block: 1.3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .52rem .88rem; border-radius: .55rem; border: 1px solid var(--link); text-decoration: none; background: var(--link); font-weight: 650; color: white; cursor: pointer; white-space: nowrap; }
.button:hover { filter: brightness(.92); }
.button.quiet, .button.google { border-color: var(--border); color: var(--link); background: white; }
.button.google { color: #182032; padding-inline: 1.25rem; }
.button:disabled { opacity: .5; cursor: default; }
.field { display: grid; gap: .45rem; min-width: 0; }
.field label { font-size: .88rem; font-weight: 650; }
.field input { color: inherit; background: white; border: 1px solid #d6d7e4; min-height: 2.75rem; border-radius: .55rem; padding: .55rem .75rem; width: 100%; }
.panel .field { margin-bottom: 1rem; }
.grant { display: flex; flex-wrap: wrap; max-width: 43rem; gap: .7rem; align-items: flex-end; }
.grant .field { flex: 1 1 15rem; }
.members { margin: 1.5rem 0 0; max-width: 43rem; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: .75rem; background: white; }
.members li { display: flex; align-items: center; gap: .7rem 1rem; justify-content: space-between; flex-wrap: wrap; padding: .8rem 1rem; }
.members li + li { border-top: 1px solid var(--border); }
.member-email { overflow-wrap: anywhere; }
.small { color: var(--text-muted); font-size: .86rem; margin: 0; }
.notice { color: #2d5a44; }
.notice.error { color: #9f2729; }
@media (max-width: 560px) {
  .shell { width: calc(100% - 2rem); }
  .main { padding-top: 2.2rem; }
}
