/* Reuse auth semantic tokens and native checkbox/radio keyboard behaviour. */
.auth-login-page .auth-remember-choice,
.auth-login-page .auth-device-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  cursor: pointer;
  line-height: 1.5;
}
.auth-login-page .auth-remember-choice span,
.auth-login-page .auth-device-option span {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  white-space: normal;
  min-width: 0;
  overflow-wrap: anywhere;
}
.auth-login-page .auth-remember-choice input,
.auth-login-page .auth-device-option input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.auth-login-page .auth-remember-help {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
  margin: -4px 0 0;
}
.auth-device-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.auth-device-fieldset legend { color: var(--text); font-weight: 700; margin-bottom: 12px; }
.auth-device-list { display: grid; gap: 10px; }
.auth-login-page .auth-device-option { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--panel2); }
.auth-device-option:has(input:checked) { border-color: var(--blue); }
.auth-device-option strong, .auth-device-option small { display: block; }
.auth-device-option small { color: var(--muted); font-weight: 400; margin-top: 4px; }
.auth-remember-choice:focus-within, .auth-device-option:focus-within { outline: 2px solid var(--blue2); outline-offset: 3px; }
#rememberedDevicesForm button { width: 100%; white-space: normal; line-height: 1.5; margin-top: 0; }
#rememberedDevicesForm button:focus-visible, #rememberedDevicesForm a:focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; }
#rememberedDevicesForm button:disabled { opacity: .55; cursor: default; }
#rememberedDevicesForm > a { text-align: center; color: var(--blue2); line-height: 1.5; }
