:root {
  color-scheme: light;
  font-family: 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  color: #202923;
  background: #f1eee8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
}
button,
input {
  font: inherit;
}
.login-layout {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 650;
  margin-bottom: 34px;
  letter-spacing: -1px;
}
.brand-mark {
  display: flex;
  gap: 4px;
  transform: skewY(-12deg);
}
.brand-mark i {
  width: 10px;
  height: 26px;
  border-radius: 4px;
  background: #0f6e5c;
}
.brand-mark i:last-child {
  margin-top: 8px;
}
.login-card {
  width: min(100%, 440px);
  padding: 40px;
  background: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 24px;
  box-shadow: 0 16px 56px #0002;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: #0f6e5c;
}
h1 {
  font-size: clamp(29px, 6vw, 36px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0 0 14px;
  font-weight: 650;
}
.intro {
  margin: 0 0 32px;
  line-height: 1.6;
  color: #626d67;
  font-size: 16px;
}
label {
  display: block;
  margin: 22px 0 8px;
  font-size: 14px;
  font-weight: 600;
}
input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: #f1eee8;
  color: #202923;
  border: 1px solid #b3aaa0;
  border-radius: 12px;
}
input:focus-visible,
button:focus-visible {
  outline: 2px solid #0f6e5c;
  outline-offset: 3px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 75px;
}
.password-toggle {
  position: absolute;
  right: 5px;
  top: 3px;
  min-width: 58px;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #0f6e5c;
  font-size: 14px;
  cursor: pointer;
  border-radius: 9px;
}
.submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 12px 18px;
  margin-top: 28px;
  background: #0f6e5c;
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  font-weight: 650;
  cursor: pointer;
}
.submit:hover {
  background: #095747;
}
.submit:disabled {
  cursor: wait;
  opacity: 0.8;
}
.submit span {
  font-size: 24px;
  line-height: 1;
}
.login-error {
  padding: 14px;
  margin: 0 0 18px;
  background: #38262a;
  border: 1px solid #82545e;
  color: #ffd6dd;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.access-note {
  color: #626d67;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
footer {
  margin-top: 28px;
  color: #626d67;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 420px) {
  .login-card {
    padding: 28px 24px;
  }
  .login-layout {
    padding: 28px 16px;
  }
}
@media (max-height: 700px) {
  .login-layout {
    justify-content: flex-start;
  }
}

.eyebrow {
  color: #0f6e5c;
}
input:focus-visible,
button:focus-visible {
  outline-color: #0f6e5c;
}
.password-toggle {
  color: #0f6e5c;
}
.login-error {
  background: #fbe9ed;
  border-color: #dab7c2;
  color: #a6324e;
}

.login-field-error {
  padding: 12px;
  border: 1px solid #b96b68;
  border-radius: 8px;
  background: #fff1ef;
  color: #822e2a;
}
input[aria-invalid='true'] {
  border-color: #b96b68;
}
