:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #f8f8f5;
  background: #080808;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
[hidden] { display: none !important; }
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(5vw, env(safe-area-inset-left));
  border-bottom: 3px solid #f8f8f5;
}
.wordmark, h1, label, button, .masthead-label {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 900;
}
.wordmark { font-size: clamp(1.65rem, 4vw, 2.65rem); letter-spacing: -.045em; }
.masthead-label { color: #c5c5bd; font-size: .75rem; letter-spacing: .14em; }
main {
  display: grid;
  place-items: start center;
  padding: clamp(2rem, 7vmin, 5rem) max(1rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom));
}
.auth-panel {
  width: min(100%, 30rem);
  border: 1px solid #66665f;
  border-top: 4px solid #ffdf26;
  background: #101010;
}
.panel-heading, form, .secondary-actions, noscript { padding-inline: clamp(1.1rem, 4vw, 2rem); }
.panel-heading { padding-top: 1.6rem; }
h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.05em; line-height: 1.02; }
.panel-heading p { margin: .65rem 0 1.45rem; color: #c7c7c1; line-height: 1.5; }
form { padding-bottom: 1.5rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { margin-bottom: 1.15rem; }
label { display: block; font-size: .78rem; letter-spacing: .075em; margin-bottom: .45rem; }
input, button, a { border-radius: 0; }
input, button { font: inherit; }
input {
  display: block; width: 100%; min-width: 0; min-height: 3rem;
  padding: .65rem .85rem; color: #fff; background: #080808; border: 1px solid #85857f;
  font-size: 1rem;
}
.password-entry { display: flex; align-items: stretch; }
.password-entry input { flex: 1; }
button { cursor: pointer; touch-action: manipulation; font-weight: bold; }
button:disabled { opacity: .55; cursor: wait; }
.reveal {
  min-width: 4.9rem; padding: .45rem .7rem; color: #fff; border: 1px solid #85857f; border-left: 0;
  background: #222220; font-size: .76rem; letter-spacing: .045em;
}
.primary {
  width: 100%; min-height: 3.05rem; padding: .55rem .85rem; border: 2px solid #ffdf26;
  background: #ffdf26; color: #151400; text-transform: uppercase; font-weight: 900; letter-spacing: .06em;
}
.primary:hover { background: #ffea72; }
.secondary-actions { border-top: 1px solid #54544e; padding-block: .25rem; }
.secondary {
  display: inline-flex; align-items: center; text-align: left; min-height: 44px;
  padding: .5rem 0; border: 0; background: transparent; color: #f4f4ed; font: inherit;
  text-decoration: underline; text-decoration-color: #86867b; text-underline-offset: .2em; text-transform: none;
}
.secondary + .secondary:not([hidden]) { display: flex; }
.hint { display: block; margin-top: .4rem; font-size: .84rem; line-height: 1.4; color: #bcbcb4; }
.notice { border-left: 3px solid #ffb348; padding: .4rem .75rem; color: #ffe3bc; line-height: 1.45; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid #8dda50; outline-offset: 2px; position: relative; z-index: 1;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
@media (max-width: 360px) { .masthead-label { display: none; } }
