:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #212124;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #555b67; outline-offset: 4px; }
.mast {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(24px, 2.85vw, 58px) 2.15% 0 3.93%;
}
.brand { display: block; width: clamp(36px, 2.7vw, 55px); height: auto; }
.switch-user {
  --account-padding: clamp(8px, .6vw, 12px);
  display: inline-flex; align-items: center; gap: clamp(8px, .65vw, 14px);
  min-height: 44px; padding: 0 var(--account-padding); margin-inline-end: calc(-1 * var(--account-padding));
  background: transparent; border: 0; border-radius: 10px;
  color: inherit; font-size: clamp(16px, 1.1vw, 22px); font-weight: 550;
}
.switch-icon { flex: none; width: clamp(20px, 1.35vw, 28px); height: auto; }
@media (hover: hover) {
  .switch-user:hover { background-color: #f2f3f5; }
}
.switch-user:focus-visible { background-color: #f2f3f5; }
.switch-user:active { background-color: #e7e8ea; }
@media (prefers-reduced-motion: no-preference) {
  .switch-user { transition: background-color .14s ease-out; }
}
.login {
  width: clamp(440px, 32.65vw, 695px); max-width: calc(100% - 40px);
  margin: clamp(40px, 2.5vw, 54px) auto 40px; position: relative; left: .56%;
}
h1 {
  margin: 0 0 clamp(30px, 2.16vw, 45px);
  font-size: clamp(32px, 2.13vw, 44px); line-height: 1.23; font-weight: 680; letter-spacing: -.018em;
  text-wrap: balance;
}
.report-name { display: inline-block; }
.login-form { display: grid; gap: clamp(20px, 1.62vw, 33px); }
.input-wrap {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(72px, 4.82vw, 99px); padding: 10px clamp(16px, 1.12vw, 23px);
  background: #e7e8ea; border-radius: clamp(13px, .98vw, 20px);
}
.input-wrap:focus-within { box-shadow: inset 0 0 0 2px #575962; }
.input-wrap label { color: #666973; font-size: clamp(14px, .96vw, 19px); line-height: 1.4; cursor: text; }
.input-wrap input { width: calc(100% - 36px); min-width: 0; padding: 2px 0 0; border: 0; outline: none; background: transparent; color: #212124; font-size: clamp(17px, 1.14vw, 23px); line-height: 1.28; }
.input-wrap input::placeholder { color: #777b84; opacity: 1; }
.clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #60636c; font-size: 26px; }
.continue {
  min-height: clamp(56px, 3.8vw, 78px); padding: 12px;
  border: 0; border-radius: clamp(12px, .87vw, 18px); background: #232326; color: #fff;
  font-size: clamp(17px, 1.12vw, 23px); font-weight: 560;
}
.continue:hover:not(:disabled) { background: #37373b; }
.continue:disabled { cursor: default; background: #f2f3f5; color: #898d97; }
.access-help { margin: clamp(24px, 1.72vw, 36px) 0 0; text-align: center; }
.access-help summary { display: inline-block; list-style: none; font-size: clamp(16px, 1.1vw, 22px); font-weight: 540; }
.access-help summary::-webkit-details-marker { display: none; }
.access-help p, .notice { font-size: 16px; line-height: 1.48; }
.access-help p { max-width: 32em; margin: 15px auto 0; color: #555861; }
.notice { margin-top: 10px; color: #8b3731; }
.notice.denied {
  display: flex; align-items: center; gap: 14px; padding: 8px 16px 8px 8px;
  background: #fff5f1; border-radius: 14px; color: #70342d;
}
.deny-character { display: none; }
.denied .deny-character {
  --portrait-size: 96px;
  display: block; flex: 0 0 auto; width: var(--portrait-size); aspect-ratio: 1; overflow: hidden;
}
.deny-character img { display: block; height: 100%; width: auto; image-rendering: pixelated; }
@media (prefers-reduced-motion: no-preference) {
  .deny-character img.ready { animation: finger-wag 1.08s steps(18, end) 3; }
  @keyframes finger-wag { to { transform: translateX(calc(-18 * var(--portrait-size))); } }
}
@media (max-width: 600px) {
  .mast { align-items: center; padding: 22px 20px 0; }
  .switch-user { min-height: 44px; font-size: 15px; }
  .login { left: 0; width: auto; margin: 46px 20px 30px; max-width: none; }
  h1 { font-size: clamp(27px, 7.5vw, 36px); }
  .clear { width: 44px; height: 44px; }
  .notice.denied { gap: 8px; padding-right: 12px; }
  .denied .deny-character { --portrait-size: 84px; }
  .access-help summary { padding: 10px 0; }
}
