:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #191c20;
  background: #faf9f6;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
.signin {
  width: 100%;
  max-width: 408px;
  margin: auto;
  padding: 64px 24px 40px;
}
.brand { display: inline-block; margin-bottom: 36px; }
.brand img { display: block; }
h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.035em;
}
.intro { margin: 0 0 28px; font-size: 15px; line-height: 1.6; color: #50544e; }
label { display: block; font-size: 14px; margin: 24px 0 9px; }
input:not([type=hidden]) {
  width: 100%;
  padding: 14px;
  border: 1px solid #a9ada4;
  border-radius: 4px;
  background: white;
  color: inherit;
  font: 16px Arial, Helvetica, sans-serif;
}
input:read-only { background: #f1f1ec; color: #50544e; }
button {
  width: 100%;
  margin-top: 20px;
  padding: 15px 16px;
  border: 0;
  border-radius: 4px;
  background: #212b23;
  color: white;
  font: 600 14px/1.5 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
button:hover { background: #303e33; }
.secondary { margin-top: 12px; background: transparent; color: #384339; border: 1px solid #c4c9bf; font-weight: 400; font-size: 13px; }
.secondary:hover { background: #eeefe9; }
button:disabled { opacity: .55; cursor: wait; }
.note { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #656960; }
.invitation { margin-top: 24px; }
#login-status { font-size: 14px; line-height: 1.6; color: #50544e; }
#login-status:empty { display: none; }
#login-error { color: #9c2b19; background: #fff0eb; padding: 14px; border-radius: 4px; font-size: 14px; line-height: 1.6; }
footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; padding: 24px; font-size: 13px; color: #656960; }
footer a { padding: 8px 0; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #dc6e41; outline-offset: 4px; }
[hidden] { display: none !important; }

@media (max-width: 480px) {
  .signin { padding-top: 48px; }
  h1 { font-size: 28px; }
}
