.m3-login-body { background: #05070a; }
.m3-login-stage { display: grid; min-height: 100vh; min-height: 100svh; place-items: center; padding: 32px 24px; }
.m3-login-console { width: min(400px, 100%); min-width: 0; }
.m3-login-brand { margin: 0 0 18px; }
.m3-login-brand img { display: block; width: 100%; height: auto; aspect-ratio: 1983 / 793; object-fit: contain; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 45%, transparent 72%); }
.m3-login-access { min-width: 0; }
.m3-login-form { display: grid; gap: 22px; }
.m3-login-form header { margin-bottom: 6px; text-align: center; }
.m3-login-form h1 { margin: 0; color: #f1eee8; font-size: 24px; font-weight: 600; line-height: 1.3; }
.m3-login-field { display: grid; min-width: 0; gap: 9px; color: #d8d6d1; font-size: 15px; font-weight: 500; }
.m3-login-field > div { display: flex; min-width: 0; height: 54px; align-items: center; gap: 12px; border: 1px solid #34373d; border-radius: 6px; background: #0d1015; padding: 0 14px; color: #a8a49c; }
.m3-login-field > div:focus-within { border-color: #c9a45e; outline: 2px solid rgb(201 164 94 / 18%); outline-offset: 2px; }
.m3-login-field > div > svg { flex: 0 0 auto; }
.m3-login-field input { width: 100%; min-width: 0; height: 100%; flex: 1; border: 0; outline: 0; padding: 0; background: transparent; color: #f1eee8; caret-color: #e6c987; font-size: 16px; font-weight: 400; line-height: 1.5; }
.m3-login-field input::placeholder { color: #96979c; opacity: 1; }
.m3-login-field input:is(:autofill, :-webkit-autofill) { -webkit-text-fill-color: #f1eee8; box-shadow: 0 0 0 1000px #0d1015 inset; }
.m3-login-field button { display: grid; flex: 0 0 40px; width: 40px; height: 44px; place-items: center; margin-right: -8px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #b9b7b1; }
.m3-login-field button:hover { color: #e6c987; }
.m3-login-field button:focus-visible, .m3-login-submit:focus-visible { outline: 2px solid #e6c987; outline-offset: 4px; }
.m3-login-field [data-mv1-password-visible] { display: none; }
.m3-login-field button[aria-pressed="true"] [data-mv1-password-hidden] { display: none; }
.m3-login-field button[aria-pressed="true"] [data-mv1-password-visible] { display: inline; }
.m3-login-submit { position: relative; display: flex; min-height: 52px; align-items: center; justify-content: center; margin-top: 4px; padding: 12px 46px; border: 1px solid #c9a45e; border-radius: 6px; background: #c9a45e; color: #151006; font-size: 16px; font-weight: 700; line-height: 1.4; }
.m3-login-submit > svg { position: absolute; right: 17px; }
.m3-login-submit:hover { background: #d6b475; border-color: #d6b475; }
.m3-login-error { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid #713941; border-radius: 6px; background: #251216; color: #ffbbc2; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.m3-login-error > svg { flex: 0 0 auto; margin-top: 2px; }
.m3-login-access > footer { margin-top: 32px; color: #96979c; font-size: 13px; line-height: 1.5; text-align: center; }

@media (max-width: 480px) {
  .m3-login-stage { padding: 24px; }
  .m3-login-brand { margin-bottom: 16px; }
  .m3-login-form { gap: 20px; }
}

@media (max-height: 620px) {
  .m3-login-stage { align-items: start; padding-top: 16px; padding-bottom: 24px; }
  .m3-login-brand { max-width: 260px; margin: 0 auto 12px; }
  .m3-login-form { gap: 16px; }
  .m3-login-access > footer { margin-top: 24px; }
}
