/* Compact sign-in screen. These rules do not affect the profile pages. */
body:has(.signin-page) {
  background: #edf1ee;
  color: #15201b;
}

.signin-page {
  min-height: min(540px, 100svh);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signin-content { width: 340px; max-width: 100%; }
.signin-form { display: grid; gap: 16px; }

.signin-field input {
  height: 48px;
  padding: 8px 10px;
  border: 1px solid #e2e8e4;
  border-radius: 14px;
  background: #fff;
  color: #15201b;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.signin-field input::placeholder { color: #15201b; opacity: 1; }
.signin-field input:focus { border-color: #82a99b; box-shadow: 0 0 0 2px #17614a12; }

.signin-submit {
  width: 100%;
  min-height: 48px;
  padding: 9px 16px;
  border: 1px solid #17614a;
  border-radius: 999px;
  background: #17614a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.signin-submit:hover { background: #124e3c; }
.signin-submit:focus-visible { outline: 3px solid #82a99b; outline-offset: 3px; }
.signin-help { margin-top: 20px; font-size: 12px; line-height: 1.6; color: #53665c; }
.signin-help strong { font-weight: 400; }
.signin-help p { margin: 2px 0 0; color: inherit; }
.passkey-login { margin-top: 14px; }
.passkey-button { background: transparent; color: #17614a; border-color: #acc4b9; }
.passkey-button:hover { background: #e1eae4; }
.passkey-status { font-size: 12px; line-height: 1.6; color: #53665c; margin: 10px 0 0; }
.passkey-status:empty { display: none; }
.signin-submit:disabled { cursor: wait; opacity: .6; }
.signin-help a { color: #15201b; text-decoration: underline; text-underline-offset: 4px; }
.recovery-content h1 { font-size: 23px; line-height: 1.3; letter-spacing: -.5px; margin-bottom: 12px; }
.recovery-content p { color: #53665c; font-size: 14px; line-height: 1.6; }
.recovery-content .signin-field label:not(.visually-hidden) { display: block; font-size: 13px; margin-bottom: 6px; }
.recovery-button { display: block; text-align: center; }
.signin-error { padding: 12px; border: 1px solid #e9bfc4; border-radius: 14px; background: #fff4f5; }
.signin-error .errorlist { margin: 0; }
.signin-field .error { margin: 6px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
