.account-page {
  margin: 0;
  color: #203a2d;
  background: #f4f6f5;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.account-page [hidden] { display: none !important; }
.account-wrapper { min-height: 100vh; min-height: 100svh; padding: 40px 20px; }
.account-shell { position: relative; z-index: 1; width: 100%; max-width: 460px; }
.account-brand { margin-bottom: 26px; font-size: 23px; }
.account-brand i { animation: none; }
.account-brand:hover, .account-brand:hover i { color: #137b50; }
.account-card { max-width: none; padding: 34px; border-radius: 22px; }
.account-card:hover { transform: none; }
.account-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: #edf5e7;
  color: #226b3e;
  font-size: 25px;
}
.account-card .login-title { font-size: 26px; line-height: 1.3; }
.account-card .login-subtitle { margin: 12px 0 28px; line-height: 1.65; color: #596e61; }
.account-page a { color: #126b46; text-underline-offset: 3px; }
.account-page a:hover { color: #08482d; }
.account-card fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.account-card .login-form-label { font-size: 14px; margin-bottom: 8px; }
.account-input {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #ccd9d0;
  border-radius: 10px;
  background: #fafcf9;
  color: #203a2d;
  font-size: 16px;
}
.account-input:focus { border-color: #137b50; box-shadow: 0 0 0 3px #137b501f; }
.account-password { position: relative; }
.account-password .account-input { padding-right: 86px; }
.account-toggle {
  position: absolute;
  inset: 3px 3px 3px auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #365d47;
  font-size: 13px;
  font-weight: 600;
}
.account-toggle:hover { background: #e8f0e8; }
.account-hint { margin: 8px 0 0; color: #596e61; font-size: 12px; line-height: 1.6; }
.account-forgot { margin: -2px 0 22px; text-align: right; font-size: 14px; }
.account-page .account-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #137b50;
  border-radius: 10px;
  background: #137b50;
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
}
.account-page .account-submit:hover { background: #0c603d; border-color: #0c603d; color: #fff; }
.account-submit:disabled, fieldset:disabled .account-submit { opacity: .65; cursor: wait; }
.account-message { padding: 13px 15px; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.account-message.alert-danger { color: #8b2525; background: #fff1f1; border-color: #f1cccc; }
.account-message.alert-success { color: #1c5837; background: #edf8ef; border-color: #c6e2cf; }
.account-back { margin: 24px 0 0; text-align: center; font-size: 14px; }
.account-text-button { display: block; margin: 18px auto 0; padding: 8px; border: 0; background: transparent; color: #126b46; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.account-note { margin: 24px 0 16px; text-align: center; color: #596e61; font-size: 12px; line-height: 1.7; }
.account-credit { text-align: center; color: #596e61; font-size: 11px; line-height: 1.8; }
.account-page :is(a, button, input):focus-visible { outline: 3px solid #278253; outline-offset: 3px; }
#sessionName { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .account-wrapper { padding: 28px 16px; }
  .account-card { padding: 26px 22px; border-radius: 18px; }
  .account-card .login-title { font-size: 23px; }
  .account-brand { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-page *, .account-page *::before, .account-page *::after { animation: none !important; transition: none !important; }
}
