:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #173b40;
  background: #f1f6f6;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
.login-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  background: radial-gradient(circle at 50% 0%, #e4f0ee 0, #f1f6f6 52%);
}
.login-card {
  width: min(100%, 430px);
  padding: 38px 40px 30px;
  background: #fff;
  border: 1px solid #d9e5e5;
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(17, 55, 60, .09);
}
.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #174e50;
  border-radius: 13px;
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 25px;
}
.eyebrow { color: #557b78; font-size: 10px; letter-spacing: .16em; font-weight: 800; margin: 0 0 10px; }
h1 { color: #173b40; font-size: 29px; letter-spacing: -.035em; margin: 0; }
.intro { color: #61777a; font-size: 14px; line-height: 1.55; margin: 10px 0 27px; }
form { display: flex; flex-direction: column; }
label { color: #35595d; font-size: 13px; font-weight: 650; margin: 0 0 8px; }
input {
  width: 100%;
  height: 46px;
  border: 1px solid #cbd9d9;
  border-radius: 7px;
  padding: 0 13px;
  color: #183c40;
  background: #fff;
  font: inherit;
  font-size: 14px;
  margin-bottom: 19px;
}
input:focus { outline: 3px solid rgba(38, 119, 108, .16); border-color: #28776c; }
.password-field { position: relative; }
.password-field input { padding-right: 82px; }
.toggle-password {
  position: absolute;
  right: 9px;
  top: 9px;
  height: 28px;
  padding: 0 8px;
  color: #326a65;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
}
.toggle-password:hover { background: #eef5f3; }
.submit-button {
  height: 47px;
  color: #fff;
  background: #17675f;
  border: 1px solid #17675f;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  margin-top: 5px;
}
.submit-button:hover { background: #12574f; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.error { display: none; color: #a62d2d; background: #fff1f0; border: 1px solid #f0ceca; border-radius: 6px; padding: 10px 12px; font-size: 13px; line-height: 1.45; margin: 0 0 13px; }
.error.visible { display: block; }
.security-note { color: #75898b; border-top: 1px solid #edf1f1; padding-top: 17px; margin: 24px 0 0; font-size: 11px; line-height: 1.6; }
footer { color: #7c9293; font-size: 11px; margin-top: 20px; }
@media (max-width: 480px) { .login-card { padding: 30px 24px 24px; } h1 { font-size: 26px; } }
